From 690439a295a00a754b76b73980262ee4108abc91 Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 13 Mar 2003 17:27:40 +0000 Subject: [PATCH] MFH --- ext/sybase_ct/config.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/sybase_ct/config.m4 b/ext/sybase_ct/config.m4 index eb8f529ca5c..8663d64dded 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)