]>
Commit | Line | Data |
---|---|---|
d62cf923 AG |
1 | diff -burN php-pecl-sasl-1.0.orig/sasl-0.1.0/config.m4 php-pecl-sasl-1.0/sasl-0.1.0/config.m4 |
2 | --- php-pecl-sasl-1.0.orig/sasl-0.1.0/config.m4 2004-08-08 12:18:32.613760384 +0200 | |
3 | +++ php-pecl-sasl-1.0/sasl-0.1.0/config.m4 2004-08-08 12:19:41.814240312 +0200 | |
4 | @@ -29,9 +29,9 @@ | |
5 | AC_MSG_ERROR(Please specify path to SASL installation) | |
6 | fi | |
7 | ||
8 | - AC_MSG_CHECKING(for SASL library in $SASL_DIR/lib) | |
9 | + AC_MSG_CHECKING(for SASL library in $SASL_DIR/lib64) | |
10 | for i in $SEARCH_LIBS; do | |
11 | - if test -r $SASL_DIR/lib/lib$i.a; then | |
12 | + if test -r $SASL_DIR/lib64/lib$i.so; then | |
13 | SASL_LIB=$i | |
14 | AC_MSG_RESULT(found -l$i) | |
15 | fi | |
16 | @@ -39,12 +39,12 @@ | |
17 | ||
18 | if test -z "$SASL_LIB"; then | |
19 | AC_MSG_RESULT(not found) | |
20 | - AC_MSG_ERROR(Failed to locate a compatible SASL library in $SASL_DIR/lib) | |
21 | + AC_MSG_ERROR(Failed to locate a compatible SASL library in $SASL_DIR/lib64) | |
22 | fi | |
23 | ||
24 | LIBSYMBOL=sasl_server_init | |
25 | old_LIBS=$LIBS | |
26 | - LIBS="$LIBS -L$SASL_DIR/lib" | |
27 | + LIBS="$LIBS -L$SASL_DIR/lib64" | |
28 | AC_CHECK_LIB($SASL_LIB, $LIBSYMBOL, [AC_DEFINE(HAVE_SASL_LIB,1,[ ])], | |
29 | [AC_MSG_ERROR(unknown SASL library or library not found)]) | |
30 | LIBS=$old_LIBS |