summaryrefslogtreecommitdiff
path: root/ext/mysqli
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-10-31 13:48:34 +0000
committerfoobar <sniper@php.net>2003-10-31 13:48:34 +0000
commit2c9f29b9b624d73a2bd5184f171d53919e4e3fde (patch)
treed44be09639dafce91a86f15de1f4415578573d0b /ext/mysqli
parent4dca199a98fcf6f90b49d992d00f3648d22b3a49 (diff)
downloadphp-git-2c9f29b9b624d73a2bd5184f171d53919e4e3fde.tar.gz
cosmetics
Diffstat (limited to 'ext/mysqli')
-rw-r--r--ext/mysqli/config.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/mysqli/config.m4 b/ext/mysqli/config.m4
index 65c1e1ede0..6c1bee819b 100644
--- a/ext/mysqli/config.m4
+++ b/ext/mysqli/config.m4
@@ -7,10 +7,11 @@ PHP_ARG_WITH(mysqli, for MySQLi support,
pathname to mysql_config.])
PHP_ARG_WITH(embedded_mysqli, for embedded MySQLi support,
-[ --with-embedded-mysqli[=FILE] Include embedded MySQLi support. FILE is the optional
+[ --with-embedded-mysqli[=FILE]
+ Include embedded MySQLi support. FILE is the optional
pathname to mysql_config.])
-if test "$PHP_MYSQLI" != "no" '-o' "$PHP_EMBEDDED_MYSQLI" != "no"; then
+if test "$PHP_MYSQLI" != "no" || test "$PHP_EMBEDDED_MYSQLI" != "no"; then
if test "$PHP_MYSQL" = "yes"; then
AC_MSG_ERROR([--with-mysql (using bundled libs) can not be used together with --with-mysqli.])
@@ -29,7 +30,7 @@ if test "$PHP_MYSQLI" != "no" '-o' "$PHP_EMBEDDED_MYSQLI" != "no"; then
if test "$PHP_MYSQLI" != "no"; then
MYSQL_LIB_CFG='--libs'
else
- AC_DEFINE([HAVE_EMBEDDED_MYSQLI],[1], [embedded MySQL support enabled])
+ AC_DEFINE(HAVE_EMBEDDED_MYSQLI, 1, [embedded MySQL support enabled])
MYSQL_LIB_CFG='--libmysqld-libs'
fi