Date: 10/21/00
- Next message: Sebastian Bergmann: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysql/libmysql config-win.h libmysql.dsp"
- Previous message: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #7379: compiler fatal error building network.c"
- Next in thread: Andreas Karajannis: "Re: [PHP-DEV] please patch for DBMaker"
- Reply: Andreas Karajannis: "Re: [PHP-DEV] please patch for DBMaker"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ****************************
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sebastian Bergmann: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysql/libmysql config-win.h libmysql.dsp"
- Previous message: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #7379: compiler fatal error building network.c"
- Next in thread: Andreas Karajannis: "Re: [PHP-DEV] please patch for DBMaker"
- Reply: Andreas Karajannis: "Re: [PHP-DEV] please patch for DBMaker"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

