diff options
| author | foobar <sniper@php.net> | 2003-03-17 15:56:17 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2003-03-17 15:56:17 +0000 |
| commit | 6443ce1fc5cf2bbaadc3ca55f8fbc00cc73af6a7 (patch) | |
| tree | eba541ec0feabdac5213fbfdfa49f0550cc65713 /ext | |
| parent | b4b661ae0a25cda5a6150e3a51d361ca144e1efb (diff) | |
| download | php-git-6443ce1fc5cf2bbaadc3ca55f8fbc00cc73af6a7.tar.gz | |
Fix the bad logic..
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/sybase_ct/config.m4 | 9 |
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) |
