summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-08-01 20:59:32 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-08-01 20:59:32 +0000
commit86b0b6c8d30ef4f3ec156514c625ba1f05a0a62d (patch)
treec60c52395ee3f6d21544e935b61f1f295bb74034 /configure
parent809b32358228e2991a487044edc612466db35951 (diff)
downloads6-networking-86b0b6c8d30ef4f3ec156514c625ba1f05a0a62d.tar.xz
Add nsss support
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 2e692cc..7331583 100755
--- a/configure
+++ b/configure
@@ -44,6 +44,7 @@ Optional features:
--enable-slashpackage[=ROOT] assume /package installation at ROOT [disabled]
--enable-absolute-paths do not rely on PATH to access this package's binaries,
hardcode absolute BINDIR/foobar paths instead [disabled]
+ --enable-nsss use the nsss library for user information [disabled]
SSL support:
--enable-ssl=libressl|bearssl build SSL tools, w/ libtls or bearssl implementation [disabled]
@@ -150,6 +151,7 @@ static=true
allpic=detect
slashpackage=false
abspath=false
+usensss=false
sproot=
home=
exthome=
@@ -192,6 +194,8 @@ for arg ; do
--disable-slashpackage) sproot= ; slashpackage=false ;;
--enable-absolute-paths|--enable-absolute-paths=yes) abspath=true ;;
--disable-absolute-paths|--enable-absolute-paths=no) abspath=false ;;
+ --enable-nsss|--enable-nsss=yes) usensss=true ;;
+ --disable-nsss|--enable-nsss=no) usensss=false ;;
--enable-ssl=libressl) ssl=tls ;;
--enable-ssl=bearssl) ssl=bearssl ;;
--disable-ssl|--enable-ssl=none) ssl= ;;
@@ -437,6 +441,13 @@ if $allpic ; then
else
echo "STATIC_LIBS_ARE_PIC :="
fi
+if $usensss ; then
+ echo "LIBNSSS := -lnsss"
+ echo "MAYBEPTHREAD_LIB := -lpthread"
+else
+ echo "LIBNSSS :="
+ echo "MAYBEPTHREAD_LIB :="
+fi
if test -n $ssl ; then
echo "SSL_IMPL := $ssl"
else