From:             php-bugs at i dot org dot ua
Operating system: 
PHP version:      4.3.2RC1
PHP Bug Type:     Sybase-ct (ctlib) related
Bug description:  configure fail on sybase-ct check if defined enable-sybase

Hi

Branch: PHP_4_3, updated at 03/17/2003.

configure script failed if defined --enable-sybase directive with error
'You can not use both --with-sybase and --with-sybase-ct in same build'.

this patch fix the problem... maybe.

--- ext/sybase_ct/config.m4.old 2003-03-17 17:20:59.479999000 +0200
+++ ext/sybase_ct/config.m4     2003-03-17 17:21:56.159999000 +0200
@@ -6,11 +6,11 @@
 [  --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

PS: don't forget run ./buildconf

-- 
Edit bug report at http://bugs.php.net/?id=22745&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22745&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22745&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22745&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22745&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22745&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22745&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22745&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22745&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22745&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22745&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22745&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22745&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22745&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22745&r=gnused

Reply via email to