ID: 9391 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Description: compilation error when configured with DBMaker support diff -ur php-4.0.4pl1old/ext/odbc/config.m4 php-4.0.4pl1/ext/odbc/config.m4 --- php-4.0.4pl1old/ext/odbc/config.m4 Wed Nov 22 23:31:04 2000 +++ php-4.0.4pl1/ext/odbc/config.m4 Wed Feb 21 12:20:01 2001 @@ -407,8 +407,8 @@ # check DBMaker version (from 5.0 to 2.0) DBMAKER_VERSION=5.0 - while [[ test ! -d $DBMAKER_HOME/$DBMAKER_VERSION -a \ - "$DBMAKER_VERSION" != "2.9" ]]; do + while test ! -d $DBMAKER_HOME/$DBMAKER_VERSION -a \ + "$DBMAKER_VERSION" != "2.9"; do DM_VER=`echo $DBMAKER_VERSION | sed -e 's/\.//' | awk '{ print $1-1;}'` MAJOR_V=`echo $DM_VER | awk '{ print $1/10; }' \ | awk -F. '{ print $1; }'` @@ -416,7 +416,7 @@ DBMAKER_VERSION=$MAJOR_V.$MINOR_V done - if [[ "$DBMAKER_VERSION" = "2.9" ]]; then + if test "$DBMAKER_VERSION" = "2.9"; then withval=$DBMAKER_HOME else DBMAKER_PATH=$DBMAKER_HOME/$DBMAKER_VERSION Previous Comments: --------------------------------------------------------------------------- [2001-02-21 21:10:16] [EMAIL PROTECTED] I have sent a patch to fix this problem. Since if I copy-paste my patch here, there will be some incorrect word wrap, I won't put it here. Steps to reproduce the bug: (1) Download php source (2) Untar php source (3) ./configure --with-dbmaker --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9391 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]