diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-04-27 01:36:39 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-04-27 01:36:39 +0000 |
| commit | 83115bc06793c68f460ea05fc2d8182751e86c35 (patch) | |
| tree | 9910ad3babb43525b706f2ee291760efaef8a360 /configure | |
| parent | 9d79ca45023c6e24534386ef7a52a0bad0396275 (diff) | |
| download | execline-83115bc06793c68f460ea05fc2d8182751e86c35.tar.gz | |
Document pkg-config options in INSTALL; a few small changes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -45,9 +45,9 @@ Optional features: --disable-allstatic do not prefer linking against static libraries [enabled] --enable-static-libc make entirely static binaries [disabled] --disable-all-pic do not build executables or static libs as PIC [enabled] + --enable-pkgconfig Build and install .pc files for pkg-config [disabled] --enable-slashpackage[=ROOT] assume /package installation at ROOT [disabled] --enable-absolute-paths hardcode absolute BINDIR/foobar paths in binaries [disabled] - --enable-pkgconfig Build and install .pc files for pkg-config [disabled] --enable-nsss use the nsss library for user information [disabled] --enable-pedantic-posix use pedantically POSIX-compatible binaries [disabled] --enable-multicall build a multicall binary [disabled] @@ -203,13 +203,13 @@ for arg ; do --disable-static-libc|--enable-static-libc=no) evenmorestatic=false ;; --enable-all-pic|--enable-all-pic=yes) allpic=true ;; --disable-all-pic|--enable-all-pic=no) allpic=false ;; + --enable-pkgconfig|--enable-pkgconfig=yes) pcw=true ;; + --disable-pkgconfig|--enable-pkgconfig=no) pcw=false ;; --enable-slashpackage=*) sproot=${arg#*=} ; slashpackage=true ; ;; --enable-slashpackage) sproot= ; slashpackage=true ;; --disable-slashpackage) sproot= ; slashpackage=false ;; --enable-absolute-paths|--enable-absolute-paths=yes) abspath=true ;; --disable-absolute-paths|--enable-absolute-paths=no) abspath=false ;; - --enable-pkgconfig|--enable-pkgconfig=yes) pcw=true ;; - --disable-pkgconfig|--enable-pkgconfig=no) pcw=false ;; --enable-nsss|--enable-nsss=yes) usensss=true ;; --disable-nsss|--enable-nsss=no) usensss=false ;; --enable-pedantic-posix|--enable-pedantic-posix=yes) pposix=true ;; @@ -231,12 +231,12 @@ if test -z "$prefix" ; then if test "$libdir" = '$prefix/lib' ; then libdir=/usr/lib fi - if test "$pkgconfdir" = '$prefix/lib/pkgconfig' ; then - pkgconfdir=/usr/lib/pkgconfig - fi if test "$includedir" = '$prefix/include' ; then includedir=/usr/include fi + if test "$pkgconfdir" = '$prefix/lib/pkgconfig' ; then + pkgconfdir=/usr/lib/pkgconfig + fi if test "$sysdeps" = '$prefix/lib/skalibs/sysdeps' ; then sysdeps=/usr/lib/skalibs/sysdeps fi @@ -498,16 +498,16 @@ if $shared ; then else echo "DO_SHARED :=" fi -if $allpic ; then - echo "STATIC_LIBS_ARE_PIC := 1" -else - echo "STATIC_LIBS_ARE_PIC :=" -fi if $pcw ; then echo "DO_PKGCONFIG := 1" else echo "DO_PKGCONFIG :=" fi +if $allpic ; then + echo "STATIC_LIBS_ARE_PIC := 1" +else + echo "STATIC_LIBS_ARE_PIC :=" +fi if $usensss ; then echo "LIBNSSS := -lnsss" echo "MAYBEPTHREAD_LIB := -lpthread" |
