#22745 [Opn->Csd]: configure fail on sybase-ct check if defined enable-sybase

From: Date: Mon, 17 Mar 2003 15:57:02 +0000
Subject: #22745 [Opn->Csd]: configure fail on sybase-ct check if defined enable-sybase
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35750@lists.php.net to get a copy of this message
ID: 22745 Updated by: sniper@php.net Reported By: php-bugs at i dot org dot ua -Status: Open +Status: Closed Bug Type: Sybase-ct (ctlib) related -PHP Version: 4.3.2RC1 +PHP Version: 4.3.2RC New Comment: Oops. That was my mistake, thanks for catching this. (fixed in CVS now) Previous Comments: ------------------------------------------------------------------------ [2003-03-17 09:41:47] php-bugs at i dot org dot ua 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 this bug report at http://bugs.php.net/?id=22745&edit=1

« previous php.bugs (#35750) next »