summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/sybase_ct/config.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/sybase_ct/config.m4 b/ext/sybase_ct/config.m4
index 8663d64dde..dcceab32e8 100644
--- a/ext/sybase_ct/config.m4
+++ b/ext/sybase_ct/config.m4
@@ -6,11 +6,12 @@ PHP_ARG_WITH(sybase-ct, for Sybase-CT support,
[ --with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home
directory. Defaults to /home/sybase.])
-if test "$PHP_SYBASE" != "no"; then
- AC_MSG_ERROR([You can not use both --with-sybase and --with-sybase-ct in same build!])
-fi
-
if test "$PHP_SYBASE_CT" != "no"; then
+
+ if test "$PHP_SYBASE" != "no"; then
+ AC_MSG_ERROR([You can not use both --with-sybase and --with-sybase-ct in same build!])
+ fi
+
AC_DEFINE(HAVE_SYBASE_CT,1,[ ])
PHP_NEW_EXTENSION(sybase_ct, php_sybase_ct.c, $ext_shared)
PHP_SUBST(SYBASE_CT_SHARED_LIBADD)