Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <415429DA.9050108@familiehaase.de>
Date: Fri, 24 Sep 2004 16:06:18 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: Reini Urban <rurban@x-ray.at>
CC: "Gerrit @ cygwin" <cygwin@cygwin.com>
Subject: Re: New packge: lighttpd-1.3.0
References: <E1CA4ul-0006CO-00@mailhub-04.inode.at> <41519C77.4080201@x-ray.at> <1656566026.20040922215552@familiehaase.de> <41520175.AA068400@dessent.net> <618153225.20040923011821@familiehaase.de> <41521CB9.CCEFB0B@dessent.net> <675000566.20040923034336@familiehaase.de> <415230DB.83A3B87E@dessent.net> <906379301.20040923144500@familiehaase.de> <4152D1C9.46BB656A@dessent.net> <1649495088.20040923162439@familiehaase.de> <4153FBDB.1060803@x-ray.at>
In-Reply-To: <4153FBDB.1060803@x-ray.at>
Content-Type: multipart/mixed; boundary="------------020406090801070605050106"
X-IsSubscribed: yes

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