This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New packge: lighttpd-1.3.0


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
--- 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)

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]