Mail Archives: cygwin/2004/09/24/10:06:44
--------------020406090801070605050106
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Reini Urban wrote:
> Gerrit P. Haase schrieb:
>> Are the fixes in the config.m4 file really needed? Which of our
>> libraries are not available as static archive so they are not found?
>> I have a fix (cygwin-special) for the DBA / BDB4 issue.
>> I will try to figure out how to get all the shared modules with the
>> built-in methods (no automake & libtool).
> Gerrit, I'd need your dba/db4 patch.
diff attached.
Gerrit
--------------020406090801070605050106
Content-Type: text/plain;
name="ext_dba_config_m4.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ext_dba_config_m4.diff"
--- php-5.0.1-orig/ext/dba/config.m4 2004-03-08 00:45:31.000000000 +0100
+++ php-5.0.1/ext/dba/config.m4 2004-09-22 13:31:04.537193600 +0200
@@ -168,7 +168,7 @@
dnl parameters(version, library list, function)
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
+ if test -e $THIS_PREFIX/lib/lib$LIB.a -o -e $THIS_PREFIX/lib/lib$LIB.dll.a; then
PHP_TEMP_LDFLAGS(-L$THIS_PREFIX/lib -l$LIB,[
AC_TRY_LINK([
#include "$THIS_INCLUDE"
@@ -188,6 +188,10 @@
])
fi
done
+dnl Fails on Cygwin, so hardcode this here
+ if test -z "$THIS_LIBS"; then
+ THIS_LIBS=db
+ fi
if test -z "$THIS_LIBS"; then
AC_MSG_CHECKING(for db$1 major version)
AC_MSG_ERROR(Header contains different version)
--------------020406090801070605050106
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--------------020406090801070605050106--
- Raw text -