summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure b/configure
index 0013e53..ce3939d 100755
--- a/configure
+++ b/configure
@@ -47,6 +47,7 @@ Optional features:
--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]
+ --enable-pedantic-posix use pedantically POSIX-compatible binaries [disabled]
EOF
exit 0
@@ -152,6 +153,7 @@ allpic=true
slashpackage=false
abspath=false
usensss=false
+pposix=false
sproot=
home=
exthome=
@@ -196,6 +198,9 @@ 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-pedantic-posix|--enable-pedantic-posix=yes) pposix=true ;;
+ --disable-pedantic-posix|--enable-pedantic-posix=no) pposix=false ;;
+ --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;;
--enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;;
--host=*|--target=*) target=${arg#*=} ;;
--build=*) build=${arg#*=} ;;
@@ -455,7 +460,11 @@ else
echo "LIBNSSS :="
echo "MAYBEPTHREAD_LIB :="
fi
-
+if $pposix ; then
+ echo "PEDANTIC_POSIX := 1"
+else
+ echo "PEDANTIC_POSIX :="
+fi
exec 1>&3 3>&-
echo " ... done."