From 31694907dde18fc70d7b3e3813e5183d35f0e5db Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 9 Oct 2019 17:24:15 +0000 Subject: Add --enable-pedantic-posix, posix-cd, prepare for 2.5.3.0 Also make wait posix-compliant and update doc. --- configure | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'configure') 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." -- cgit v1.2.3