summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-05 04:37:51 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-05 04:37:51 +0000
commit4676457df2c8a73b4f589a66315b9b137ee89202 (patch)
treec9bc5310ed2930a9aa5c0b73b19cd174b8a7d43d /configure
parent26152eb4dfe9b6ebb2360f855663d0e30177eba1 (diff)
downloadexecline-4676457df2c8a73b4f589a66315b9b137ee89202.tar.xz
Simplify build system, add --enable-multicall
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index e977c7d..2cfe80e 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,7 @@ Optional features:
hardcode absolute BINDIR/foobar paths instead [disabled]
--enable-nsss use the nsss library for user information [disabled]
--enable-pedantic-posix use pedantically POSIX-compatible binaries [disabled]
+ --enable-multicall build a multicall binary (EXPERIMENTAL) [disabled]
EOF
exit 0
@@ -154,6 +155,7 @@ slashpackage=false
abspath=false
usensss=false
pposix=false
+multicall=false
sproot=
home=
exthome=
@@ -200,6 +202,8 @@ for arg ; do
--disable-nsss|--enable-nsss=no) usensss=false ;;
--enable-pedantic-posix|--enable-pedantic-posix=yes) pposix=true ;;
--disable-pedantic-posix|--enable-pedantic-posix=no) pposix=false ;;
+ --enable-multicall|--enable-multicall=yes) multicall=true ;;
+ --disable-multicall|--enable-multicall=no) multicall=false ;;
--enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;;
--enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;;
--host=*|--target=*) target=${arg#*=} ;;
@@ -465,6 +469,11 @@ if $pposix ; then
else
echo "PEDANTIC_POSIX :="
fi
+if $multicall ; then
+ echo "MULTICALL := 1"
+else
+ echo "MULTICALL :="
+fi
exec 1>&3 3>&-
echo " ... done."