please patch for DBMaker

From: Date: Sat, 21 Oct 2000 09:47:34 +0000
Subject: please patch for DBMaker
Groups: php.dev 
Request: Send a blank email to php-dev+get-35715@lists.php.net to get a copy of this message
Hey there, We would like to add a patch to php CVS specifically for our database driver - DBMaker. The modification is made only in one file: ext/odbc/config.m4. This patch is to fix some quoting problem and to correct some library location for DBMaker. Would you please include this patch to php CVS so that it will take effect in the future releases? Thanks for your help!! --chihfeng ************************ BEGIN PATCH **************************** diff -ur php-4.0.3/ext/odbc/config.m4 php-4.0.3-new/ext/odbc/config.m4 --- php-4.0.3/ext/odbc/config.m4 Sat Oct 21 17:19:24 2000 +++ php-4.0.3-new/ext/odbc/config.m4 Sat Oct 21 17:23:56 2000 @@ -405,8 +405,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; }'` @@ -414,7 +414,7 @@ DBMAKER_VERSION=$MAJOR_V.$MINOR_V done - if [ "$DBMAKER_VERSION" = "2.9" ]; then + if [[ "$DBMAKER_VERSION" = "2.9" ]]; then withval=$DBMAKER_HOME else DBMAKER_PATH=$DBMAKER_HOME/$DBMAKER_VERSION @@ -436,8 +436,9 @@ if test "$shared" = "yes"; then AC_MSG_RESULT(yes (shared)) - ODBC_LFLAGS="-L$withval/driver/JDBC" - ODBC_LIBS="-ldmjdbc -lc -lm" +# ODBC_LFLAGS="-L$withval/driver/JDBC" +# ODBC_LIBS="-ldmjdbc -lc -lm" + ODBC_LIBS="-ldmapic -lc -lm" ODBC_SHARED="odbc.la" else AC_MSG_RESULT(yes (static)) ************************ END PATCH ****************************

« previous php.dev (#35715) next »