From: foobar Date: Thu, 13 Mar 2003 17:27:28 +0000 (+0000) Subject: Prevent using both --with-sybase and --with-sybase-ct in same build X-Git-Tag: RELEASE_0_5~492 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce4bf275c96461080a1a6374b04035ace72a2998;p=php Prevent using both --with-sybase and --with-sybase-ct in same build --- diff --git a/ext/sybase_ct/config.m4 b/ext/sybase_ct/config.m4 index eb8f529ca5..8663d64dde 100644 --- a/ext/sybase_ct/config.m4 +++ b/ext/sybase_ct/config.m4 @@ -6,6 +6,10 @@ 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 AC_DEFINE(HAVE_SYBASE_CT,1,[ ]) PHP_NEW_EXTENSION(sybase_ct, php_sybase_ct.c, $ext_shared)