summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-03-14 10:40:34 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-03-14 10:40:34 +0000
commit1c666ca77c146316bc661cb391f7a8fde3d9505b (patch)
treee7fd8b5499be56c6d265c7f57e93e4a29ff6c4f4 /configure
parent616f4c8a7870e80c5c1dcf0bdfeb152d94275158 (diff)
downloads6-frontend-1c666ca77c146316bc661cb391f7a8fde3d9505b.tar.xz
Add --disable-alias-symlinks option
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 449eabd..f8e1fc3 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,7 @@ Optional features:
--enable-nsss use the nsss library for user information [disabled]
--enable-aliases-daemontools build emulation of daemontools programs [disabled]
--enable-aliases-runit build emulation of runit programs [disabled]
+ --disable-aliases-symlinks do not create daemontools/runit multicall symlinks [enabled]
EOF
exit 0
@@ -164,6 +165,7 @@ vpathd=''
build=
adaemontools=false
arunit=false
+asymlinks=true
for arg ; do
case "$arg" in
@@ -200,6 +202,8 @@ for arg ; do
--disable-aliases-daemontools|--enable-aliases-daemontools=no) adaemontools=false ;;
--enable-aliases-runit|--enable-aliases-runit=yes) arunit=true ;;
--disable-aliases-runit|--enable-aliases-runit=no) arunit=false ;;
+ --enable-aliases-symlinks|--enable-aliases-symlinks=yes) asymlinks=true ;;
+ --disable-aliases-symlinks|--enable-aliases-symlinks=no) asymlinks=false ;;
--enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;;
--host=*|--target=*) target=${arg#*=} ;;
--build=*) build=${arg#*=} ;;
@@ -465,6 +469,11 @@ if $arunit ; then
else
echo "WRAP_RUNIT :="
fi
+if $asymlinks ; then
+ echo "WRAP_SYMLINKS := 1"
+else
+ echo "WRAP_SYMLINKS :="
+fi
exec 1>&3 3>&-
echo " ... done."