diff --git a/ext/mysqli/config.m4 b/ext/mysqli/config.m4 index 74b6f52e7fe..545f6100070 100644 --- a/ext/mysqli/config.m4 +++ b/ext/mysqli/config.m4 @@ -47,7 +47,7 @@ if test "$PHP_MYSQLI" != "no"; then PHP_CHECK_LIBRARY(mysqlclient, mysql_stmt_field_count, [ ],[ AC_MSG_ERROR([MySQLI doesn't support versions < 4.1.3 (for MySQL 4.1.x) and < 5.0.1 for (MySQL 5.0.x) anymore. Please update your libraries.]) - ],[]) + ],[$MYSQLI_LIBLINE]) ],[ AC_MSG_ERROR([wrong mysql library version or lib not found. Check config.log for more information.]) ],[