cvs: php4 /ext/sybase_ct config.m4
| From: | Jani Taskinen | Date: | Mon, 17 Mar 2003 15:56:18 +0000 |
| Subject: | cvs: php4 /ext/sybase_ct config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19644@lists.php.net to get a copy of this message | ||
sniper Mon Mar 17 10:56:18 2003 EDT
Modified files:
/php4/ext/sybase_ct config.m4
Log:
Fix the bad logic..
Index: php4/ext/sybase_ct/config.m4
diff -u php4/ext/sybase_ct/config.m4:1.12 php4/ext/sybase_ct/config.m4:1.13
--- php4/ext/sybase_ct/config.m4:1.12 Thu Mar 13 12:27:28 2003
+++ php4/ext/sybase_ct/config.m4 Mon Mar 17 10:56:17 2003
@@ -1,16 +1,17 @@
dnl
-dnl $Id: config.m4,v 1.12 2003/03/13 17:27:28 sniper Exp $
+dnl $Id: config.m4,v 1.13 2003/03/17 15:56:17 sniper Exp $
dnl
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)