Changes in configure [9ae8f82:2f8e3ca]
Legend:
- Unmodified
- Added
- Removed
-
configure
r9ae8f82 r2f8e3ca 52 52 ssl=auto 53 53 54 pam=055 ldap=056 57 54 pie=1 58 55 59 56 arch=$(uname -s) 57 cpu=$(uname -m) 60 58 61 59 GLIB_MIN_VERSION=2.16 … … 135 133 --purple=0/1 Disable/enable libpurple support $purple 136 134 (automatically disables other protocol modules) 137 138 --pam=0/1 Disable/enable PAM authentication $pam139 --ldap=0/1 Disable/enable LDAP authentication $ldap140 135 141 136 --doc=0/1 Disable/enable help.txt generation $doc … … 199 194 200 195 TARGET=$target 196 ARCH=$arch 197 CPU=$cpu 201 198 202 199 INSTALL=install -p … … 245 242 #define PIDFILE "$pidfile" 246 243 #define IPCSOCKET "$ipcsocket" 244 #define ARCH "$arch" 245 #define CPU "$cpu" 247 246 EOF 248 247 … … 336 335 fi 337 336 338 if ! $PKG_CONFIG --version > /dev/null 2>/dev/null; then 339 echo 340 echo 'Cannot find pkg-config, aborting.' 341 exit 1 342 fi 343 344 if $PKG_CONFIG glib-2.0; then 337 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then 345 338 if $PKG_CONFIG glib-2.0 --atleast-version=$GLIB_MIN_VERSION; then 346 339 cat<<EOF >>Makefile.settings … … 635 628 done 636 629 echo "STORAGE_OBJS="$STORAGE_OBJS >> Makefile.settings 637 638 authobjs=639 authlibs=640 if [ "$pam" = 0 ]; then641 echo '#undef WITH_PAM' >> config.h642 else643 if ! echo '#include <security/pam_appl.h>' | $CC -E - >/dev/null 2>/dev/null; then644 echo 'Cannot find libpam development libraries, aborting. (Install libpam0g-dev?)'645 exit 1646 fi647 echo '#define WITH_PAM' >> config.h648 authobjs=$authobjs'auth_pam.o '649 authlibs=$authlibs'-lpam '650 fi651 if [ "$ldap" = 0 ]; then652 echo '#undef WITH_LDAP' >> config.h653 else654 if ! echo '#include <ldap.h>' | $CC -E - >/dev/null 2>/dev/null; then655 echo 'Cannot find libldap development libraries, aborting. (Install libldap2-dev?)'656 exit 1657 fi658 echo '#define WITH_LDAP' >> config.h659 authobjs=$authobjs'auth_ldap.o '660 authlibs=$authlibs'-lldap '661 fi662 echo AUTH_OBJS=$authobjs >> Makefile.settings663 echo EFLAGS+=$authlibs >> Makefile.settings664 630 665 631 if [ "$strip" = 0 ]; then
Note: See TracChangeset
for help on using the changeset viewer.