--- embedaddon/php/ext/mysql/config.m4 2012/05/29 12:34:41 1.1.1.2 +++ embedaddon/php/ext/mysql/config.m4 2013/07/22 01:31:55 1.1.1.3 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.1.1.2 2012/05/29 12:34:41 misho Exp $ +dnl $Id: config.m4,v 1.1.1.3 2013/07/22 01:31:55 misho Exp $ dnl AC_DEFUN([MYSQL_LIB_CHK], [ @@ -95,6 +95,13 @@ Note that the MySQL client library is not bundled anym for i in $PHP_LIBDIR $PHP_LIBDIR/mysql; do MYSQL_LIB_CHK($i) done + + if test -z "$MYSQL_LIB_DIR"; then + MYSQL_LIB_CHK(lib/x86_64-linux-gnu) + fi + if test -z "$MYSQL_LIB_DIR"; then + MYSQL_LIB_CHK(lib/i386-linux-gnu) + fi if test -z "$MYSQL_LIB_DIR"; then AC_MSG_ERROR([Cannot find lib$MYSQL_LIBNAME under $MYSQL_DIR.