]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Mon, 17 Mar 2003 15:56:31 +0000 (15:56 +0000)
committerfoobar <sniper@php.net>
Mon, 17 Mar 2003 15:56:31 +0000 (15:56 +0000)
ext/sybase_ct/config.m4

index 8663d64dded2e90356c090983b1a6c0233b3b9d9..dcceab32e8bea3b8eb8cda3476b9af257e9dfdd3 100644 (file)
@@ -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)