- Timestamp:
- 2013-04-20T13:05:55Z (12 years ago)
- Branches:
- master
- Children:
- dd95ce4
- Parents:
- 9b2a8c1 (diff), bfafb99 (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
r9b2a8c1 re31e5b8 39 39 40 40 events=glib 41 ldap=042 41 ssl=auto 43 42 … … 325 324 ret=0; 326 325 fi; 327 }328 329 detect_ldap()330 {331 TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX)332 if $CC -o $TMPFILE -shared -lldap 2>/dev/null >/dev/null; then333 cat<<EOF>>Makefile.settings334 EFLAGS+=-lldap335 CFLAGS+=336 EOF337 ldap=1338 rm -f $TMPFILE339 ret=1340 else341 ldap=0342 ret=0343 fi344 326 } 345 327 … … 457 439 STORAGES="xml" 458 440 459 if [ "$ldap" = "auto" ]; then460 detect_ldap461 fi462 463 if [ "$ldap" = 0 ]; then464 echo "#undef WITH_LDAP" >> config.h465 elif [ "$ldap" = 1 ]; then466 echo467 echo 'LDAP support is a work in progress and does NOT work AT ALL right now.'468 echo469 exit 1470 471 echo "#define WITH_LDAP 1" >> config.h472 STORAGES="$STORAGES ldap"473 fi474 475 441 for i in $STORAGES; do 476 442 STORAGE_OBJS="$STORAGE_OBJS storage_$i.o"
Note: See TracChangeset
for help on using the changeset viewer.