delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/24/10:06:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <415429DA.9050108@familiehaase.de>
Date: Fri, 24 Sep 2004 16:06:18 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT 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 AT x-ray DOT at>
CC: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
Subject: Re: New packge: lighttpd-1.3.0
References: <E1CA4ul-0006CO-00 AT mailhub-04 DOT inode DOT at> <41519C77 DOT 4080201 AT x-ray DOT at> <1656566026 DOT 20040922215552 AT familiehaase DOT de> <41520175 DOT AA068400 AT dessent DOT net> <618153225 DOT 20040923011821 AT familiehaase DOT de> <41521CB9 DOT CCEFB0B AT dessent DOT net> <675000566 DOT 20040923034336 AT familiehaase DOT de> <415230DB DOT 83A3B87E AT dessent DOT net> <906379301 DOT 20040923144500 AT familiehaase DOT de> <4152D1C9 DOT 46BB656A AT dessent DOT net> <1649495088 DOT 20040923162439 AT familiehaase DOT de> <4153FBDB DOT 1060803 AT x-ray DOT at>
In-Reply-To: <4153FBDB.1060803@x-ray.at>
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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019