- Timestamp:
- 2016-11-20T08:40:36Z (8 years ago)
- Children:
- 3f44e43
- Parents:
- ba52ac5 (diff), 9f03c47 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rba52ac5 r537d9b9 54 54 ssl=auto 55 55 56 pam=0 57 ldap=0 58 56 59 pie=1 57 60 58 61 arch=$(uname -s) 59 cpu=$(uname -m)60 62 61 63 GLIB_MIN_VERSION=2.16 … … 138 140 --rpc=0/1 Disable/enable RPC plugin interface $rpc 139 141 142 --pam=0/1 Disable/enable PAM authentication $pam 143 --ldap=0/1 Disable/enable LDAP authentication $ldap 144 140 145 --doc=0/1 Disable/enable help.txt generation $doc 141 146 --debug=0/1 Disable/enable debugging $debug … … 200 205 201 206 TARGET=$target 202 ARCH=$arch203 CPU=$cpu204 207 205 208 INSTALL=install -p … … 249 252 #define PIDFILE "$pidfile" 250 253 #define IPCSOCKET "$ipcsocket" 251 #define ARCH "$arch"252 #define CPU "$cpu"253 254 EOF 254 255 … … 348 349 fi 349 350 350 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then 351 if ! $PKG_CONFIG --version > /dev/null 2>/dev/null; then 352 echo 353 echo 'Cannot find pkg-config, aborting.' 354 exit 1 355 fi 356 357 if $PKG_CONFIG glib-2.0; then 351 358 if $PKG_CONFIG glib-2.0 --atleast-version=$GLIB_MIN_VERSION; then 352 359 cat<<EOF >>Makefile.settings … … 641 648 done 642 649 echo "STORAGE_OBJS="$STORAGE_OBJS >> Makefile.settings 650 651 authobjs= 652 authlibs= 653 if [ "$pam" = 0 ]; then 654 echo '#undef WITH_PAM' >> config.h 655 else 656 if ! echo '#include <security/pam_appl.h>' | $CC -E - >/dev/null 2>/dev/null; then 657 echo 'Cannot find libpam development libraries, aborting. (Install libpam0g-dev?)' 658 exit 1 659 fi 660 echo '#define WITH_PAM' >> config.h 661 authobjs=$authobjs'auth_pam.o ' 662 authlibs=$authlibs'-lpam ' 663 fi 664 if [ "$ldap" = 0 ]; then 665 echo '#undef WITH_LDAP' >> config.h 666 else 667 if ! echo '#include <ldap.h>' | $CC -E - >/dev/null 2>/dev/null; then 668 echo 'Cannot find libldap development libraries, aborting. (Install libldap2-dev?)' 669 exit 1 670 fi 671 echo '#define WITH_LDAP' >> config.h 672 authobjs=$authobjs'auth_ldap.o ' 673 authlibs=$authlibs'-lldap ' 674 fi 675 echo AUTH_OBJS=$authobjs >> Makefile.settings 676 echo EFLAGS+=$authlibs >> Makefile.settings 643 677 644 678 if [ "$strip" = 0 ]; then
Note: See TracChangeset
for help on using the changeset viewer.