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
5 AC_MSG_ERROR(Please specify path to SASL installation)
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
14 AC_MSG_RESULT(found -l$i)
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)
24 LIBSYMBOL=sasl_server_init
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)])