Changeset 0153ba9
- Timestamp:
- 2012-06-04T11:01:50Z (13 years ago)
- Branches:
- master
- Children:
- a338faa
- Parents:
- c43f488
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rc43f488 r0153ba9 39 39 40 40 events=glib 41 ldap=042 41 ssl=auto 43 42 … … 316 315 ret=0; 317 316 fi; 318 }319 320 detect_ldap()321 {322 TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX)323 if $CC -o $TMPFILE -shared -lldap 2>/dev/null >/dev/null; then324 cat<<EOF>>Makefile.settings325 EFLAGS+=-lldap326 CFLAGS+=327 EOF328 ldap=1329 rm -f $TMPFILE330 ret=1331 else332 ldap=0333 ret=0334 fi335 317 } 336 318 … … 470 452 STORAGES="xml" 471 453 472 if [ "$ldap" = "auto" ]; then473 detect_ldap474 fi475 476 if [ "$ldap" = 0 ]; then477 echo "#undef WITH_LDAP" >> config.h478 elif [ "$ldap" = 1 ]; then479 echo480 echo 'LDAP support is a work in progress and does NOT work AT ALL right now.'481 echo482 exit 1483 484 echo "#define WITH_LDAP 1" >> config.h485 STORAGES="$STORAGES ldap"486 fi487 488 454 for i in $STORAGES; do 489 455 STORAGE_OBJS="$STORAGE_OBJS storage_$i.o"
Note: See TracChangeset
for help on using the changeset viewer.