summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-03-17 15:56:17 +0000
committerfoobar <sniper@php.net>2003-03-17 15:56:17 +0000
commit6443ce1fc5cf2bbaadc3ca55f8fbc00cc73af6a7 (patch)
treeeba541ec0feabdac5213fbfdfa49f0550cc65713 /ext
parentb4b661ae0a25cda5a6150e3a51d361ca144e1efb (diff)
downloadphp-git-6443ce1fc5cf2bbaadc3ca55f8fbc00cc73af6a7.tar.gz
Fix the bad logic..
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)