cvs: php4 /ext/odbc config.m4

From: Date: Sat, 21 Oct 2000 11:11:14 +0000
Subject: cvs: php4 /ext/odbc config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2191@lists.php.net to get a copy of this message
kara Sat Oct 21 04:11:14 2000 EDT Modified files: /php4/ext/odbc config.m4 Log: Config Patch for DBMaker Index: php4/ext/odbc/config.m4 diff -u php4/ext/odbc/config.m4:1.28 php4/ext/odbc/config.m4:1.29 --- php4/ext/odbc/config.m4:1.28 Tue Oct 17 08:23:17 2000 +++ php4/ext/odbc/config.m4 Sat Oct 21 04:11:11 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,7 @@ if test "$shared" = "yes"; then AC_MSG_RESULT(yes (shared)) - 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))

« previous php.cvs (#2191) next »