--- config.m4 2012-07-14 17:36:22.000000000 -0700 +++ config.m4.thomas 2012-07-14 17:38:35.000000000 -0700 @@ -31,7 +31,7 @@ AC_MSG_CHECKING(for SASL library in $SASL_DIR/$PHP_LIBDIR) for i in $SEARCH_LIBS; do - if test -r $SASL_DIR/$PHP_LIBDIR/lib$i.a; then + if test -r $SASL_DIR/$PHP_LIBDIR/lib$i.so; then SASL_LIB=$i AC_MSG_RESULT(found -l$i) fi