|
@@ -0,0 +1,56 @@
+--- ext/dba/config.m4.orig 2008-10-29 13:02:39.000000000 +0100
++++ ext/dba/config.m4 2008-10-29 13:03:32.000000000 +0100
+@@ -21,7 +21,7 @@
+ dnl Assign INCLUDE/LFLAGS from PREFIX
+ AC_DEFUN([PHP_DBA_STD_ASSIGN],[
+ if test -n "$THIS_PREFIX" && test "$THIS_PREFIX" != "/usr"; then
+- THIS_LFLAGS=$THIS_PREFIX/lib
++ THIS_LFLAGS=$THIS_PREFIX/lib64
+ fi
+ ])
+
+@@ -85,7 +85,7 @@
+ AC_DEFINE_UNQUOTED(GDBM_INCLUDE_FILE, "$THIS_INCLUDE", [ ])
+ AC_DEFINE(DBA_GDBM, 1, [ ])
+ THIS_LIBS=gdbm
+- ], [], [-L$THIS_PREFIX/lib])
++ ], [], [-L$THIS_PREFIX/lib64])
+ fi
+
+ PHP_DBA_STD_ASSIGN
+@@ -117,7 +117,7 @@
+ AC_DEFINE_UNQUOTED(NDBM_INCLUDE_FILE, "$THIS_INCLUDE", [ ])
+ AC_DEFINE(DBA_NDBM, 1, [ ])
+ THIS_LIBS=$LIB
+- ], [], [-L$THIS_PREFIX/lib])
++ ], [], [-L$THIS_PREFIX/lib64])
+ if test -n "$THIS_LIBS"; then
+ break
+ fi
+@@ -136,7 +136,7 @@
+ AC_DEFUN([PHP_DBA_DB_CHECK],[
+ for LIB in $2; do
+ if test -f $THIS_PREFIX/lib/lib$LIB.a -o -f $THIS_PREFIX/lib/lib$LIB.$SHLIB_SUFFIX_NAME; then
+- PHP_TEMP_LDFLAGS(-L$THIS_PREFIX/lib, -l$LIB,[
++ PHP_TEMP_LDFLAGS(-L$THIS_PREFIX/lib64, -l$LIB,[
+ AC_TRY_LINK([
+ #include "$THIS_INCLUDE"
+ ],[
+@@ -328,7 +328,7 @@
+ fi
+ AC_DEFINE(DBA_DBM, 1, [ ])
+ THIS_LIBS=$LIB
+- ], [], [-L$THIS_PREFIX/lib])
++ ], [], [-L$THIS_PREFIX/lib64])
+ if test -n "$THIS_LIBS"; then
+ break
+ fi
+@@ -370,7 +370,7 @@
+ AC_DEFINE_UNQUOTED(CDB_INCLUDE_FILE, "$THIS_INCLUDE", [ ])
+ AC_DEFINE(DBA_CDB, 1, [ ])
+ THIS_LIBS=$LIB
+- ], [], [-L$THIS_PREFIX/lib])
++ ], [], [-L$THIS_PREFIX/lib64])
+ if test -n "$THIS_LIBS"; then
+ break
+ fi
|