summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-12 02:15:32 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-12 02:15:32 +0000
commit72b6d428af4925e7064c6166b732301c8918e8c4 (patch)
tree29cb0582e44ed5c7cd05ddce2542cf213a0e9ec5 /configure
parent4d41f0d5e871b86b8f56339a99cfb1b80fbb420c (diff)
downloads6-linux-utils-72b6d428af4925e7064c6166b732301c8918e8c4.tar.xz
Add multicall configuration
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 f407635..359d7fc 100755
--- a/configure
+++ b/configure
@@ -47,6 +47,7 @@ Optional features:
hardcode absolute BINDIR/foobar paths instead [disabled]
--enable-nsss use the nsss library for user information [disabled]
--with-seed-dir=DIR make DIR the default rngseed directory [/var/lib/rngseed]
+ --enable-multicall build a multicall binary [disabled]
EOF
exit 0
@@ -150,6 +151,7 @@ allpic=true
slashpackage=false
abspath=false
usensss=false
+multicall=false
sproot=
home=
exthome=
@@ -194,6 +196,8 @@ for arg ; do
--disable-absolute-paths|--enable-absolute-paths=no) abspath=false ;;
--enable-nsss|--enable-nsss=yes) usensss=true ;;
--disable-nsss|--enable-nsss=no) usensss=false ;;
+ --enable-multicall|--enable-multicall=yes) multicall=true ;;
+ --disable-multicall|--enable-multicall=no) multicall=false ;;
--with-seed-file=*) seed=${arg#*=} ;;
--enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;;
--host=*|--target=*) target=${arg#*=} ;;
@@ -451,6 +455,11 @@ else
echo "LIBNSSS :="
echo "MAYBEPTHREAD_LIB :="
fi
+if $multicall ; then
+ echo "MULTICALL := 1"
+else
+ echo "MULTICALL :="
+fi
exec 1>&3 3>&-
echo " ... done."