]> git.pld-linux.org Git - packages/php-pecl-sasl.git/blame - php-pecl-sasl-lib64_fix.patch
add module load test
[packages/php-pecl-sasl.git] / php-pecl-sasl-lib64_fix.patch
CommitLineData
3230199c
ER
1--- php55-pecl-sasl-0.2.0/config.m4~ 2014-06-11 10:48:45.000000000 +0300
2+++ php55-pecl-sasl-0.2.0/config.m4 2014-06-11 10:49:37.519596338 +0300
3@@ -30,9 +30,9 @@
d62cf923
AG
4 AC_MSG_ERROR(Please specify path to SASL installation)
5 fi
6
7- AC_MSG_CHECKING(for SASL library in $SASL_DIR/lib)
8+ AC_MSG_CHECKING(for SASL library in $SASL_DIR/lib64)
9 for i in $SEARCH_LIBS; do
3230199c
ER
10- if test -r $SASL_DIR/lib/lib$i.a -o -r $SASL_DIR/lib/lib$i.$SHLIB_SUFFIX_NAME; then
11+ if test -r $SASL_DIR/lib64/lib$i.a -o -r $SASL_DIR/lib64/lib$i.$SHLIB_SUFFIX_NAME; then
d62cf923
AG
12 SASL_LIB=$i
13 AC_MSG_RESULT(found -l$i)
3230199c 14 break
d62cf923
AG
15@@ -39,12 +39,12 @@
16
17 if test -z "$SASL_LIB"; then
18 AC_MSG_RESULT(not found)
19- AC_MSG_ERROR(Failed to locate a compatible SASL library in $SASL_DIR/lib)
20+ AC_MSG_ERROR(Failed to locate a compatible SASL library in $SASL_DIR/lib64)
21 fi
22
23 LIBSYMBOL=sasl_server_init
24 old_LIBS=$LIBS
25- LIBS="$LIBS -L$SASL_DIR/lib"
26+ LIBS="$LIBS -L$SASL_DIR/lib64"
27 AC_CHECK_LIB($SASL_LIB, $LIBSYMBOL, [AC_DEFINE(HAVE_SASL_LIB,1,[ ])],
28 [AC_MSG_ERROR(unknown SASL library or library not found)])
29 LIBS=$old_LIBS
This page took 0.064838 seconds and 4 git commands to generate.