diff options
author | Andrey Hristov <andrey@php.net> | 2012-10-17 16:35:36 +0200 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2012-10-17 16:35:36 +0200 |
commit | d62702851ca7012cf4b635e6379cb4de383dc7ac (patch) | |
tree | 0ec6173999c2c5ea8a2688bd57cca39762e77cd9 | |
parent | 54cbf5315c11172eeba9231d0f0f7f3174dee210 (diff) | |
download | php-git-d62702851ca7012cf4b635e6379cb4de383dc7ac.tar.gz |
fix build with libmysql on Ubuntu 12.04 x64 probably other mixed 32/64 systems
-rw-r--r-- | ext/mysql/config.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/mysql/config.m4 b/ext/mysql/config.m4 index fa7a46f853..5968c43346 100644 --- a/ext/mysql/config.m4 +++ b/ext/mysql/config.m4 @@ -97,6 +97,13 @@ Note that the MySQL client library is not bundled anymore!]) 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. Note that the MySQL client library is not bundled anymore!]) fi |