diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-06 21:07:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-06 21:07:44 +0000 |
commit | 46b44d5f433764fb7976da47f449b35d31b04098 (patch) | |
tree | 5ad4103bc63ec63867434a2a65b355dcf27b5d87 /configure | |
parent | 84a2d25e5995a55729b27cbd0502b5cb2745e554 (diff) | |
download | utmps-46b44d5f433764fb7976da47f449b35d31b04098.tar.gz utmps-46b44d5f433764fb7976da47f449b35d31b04098.tar.xz utmps-46b44d5f433764fb7976da47f449b35d31b04098.zip |
Prepare for 0.1.0.0; don't install utmpx.h by default
New --enable-libc-includes configure option to overwrite the system utmpx.h
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure index 545c3c6..fcd5d2a 100755 --- a/configure +++ b/configure @@ -46,6 +46,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-libc-includes overwrite utmpx.h in includedir [disabled] --with-utmpd-socket=PATH assume the utmpd socket is at PATH [/run/utmps/.utmpd-socket] --with-wtmpd-socket=PATH assume the wtmpd socket is at PATH [/run/utmps/.wtmpd-socket] @@ -163,6 +164,7 @@ addlibdpath='' vpaths='' vpathd='' build= +libcincludes=false utmpdpath=/run/utmps/.utmpd-socket wtmpdpath=/run/utmps/.wtmpd-socket @@ -195,6 +197,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-libc-includes|--enable-libc-includes=yes) libcincludes=true ;; + --disable-libc-includes|--enable-libc-includes=no) libcincludes=false ;; --enable-nsss|--enable-nsss=yes) usensss=true ;; --disable-nsss|--enable-nsss=no) usensss=false ;; --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;; @@ -448,6 +452,11 @@ if $allpic ; then else echo "STATIC_LIBS_ARE_PIC :=" fi +if $libcincludes ; then + echo "DO_LIBC_INCLUDES := 1" +else + echo "DO_LIBC_INCLUDES :=" +fi if $usensss ; then echo "LIBNSSS := -lnsss" echo "MAYBEPTHREAD_LIB := -lpthread" |