#50303 [Bgs]: A few different autotools issues
| From: | galtgendo at o2 dot pl | Date: | Thu, 26 Nov 2009 11:07:29 +0000 |
| Subject: | #50303 [Bgs]: A few different autotools issues | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145103@lists.php.net to get a copy of this message | ||
ID: 50303
User updated by: galtgendo at o2 dot pl
Reported By: galtgendo at o2 dot pl
Status: Bogus
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 5.2.11
New Comment:
As for 1 - I could quote a part of autoconf info page
at you once again, but ...oh,well
As for 2 - in ext/curl/interface.c you have:
# if defined(HAVE_GCRYPT_H)
# define PHP_CURL_NEED_GNUTLS_TSL
# include <gcrypt.h>
# else
...
# endif
But if you use AC_CHECK_HEADER, HAVE_GCRYPT_H
never gets defined, even if the header gets properly detected.
And I don't see how any of AC_TRY_RUN in ext/curl/config.m4
could succeed without libcurl being added to LIBS
for those tests.
Previous Comments:
------------------------------------------------------------------------
[2009-11-26 10:05:46] jani@php.net
1. Wont fix
2. No idea what bug that is.
And last but not least: DO NOT report multiple issues in one report.
------------------------------------------------------------------------
[2009-11-26 00:35:42] galtgendo at o2 dot pl
Description:
------------
Seeing that bug 50291 got accepted,
I'd like to readdress a few issues,
some of which I already address here
(some of them were bogus, other were not).
1. Gentoo bug 151444 - '--as-needed' problem
a.k.a. using LDFLAGS instead of libs
while Gentoo is using a different fix now,
I still keep a patch (quite a bit reduced,
compared to the one in the bug), that modifies
PHP_CHECK_LIBRARY to use LIBS instead of
LDFLAGS - it modifies a few other ext specific
macros too; it "works for me" for over a year now,
but I'm not building all exts, so it could use some polishing
2. Gentoo bug 275240 - curl.m4
while changing from curl-config
to pkg-config is just an idea (curl, just as php
needs to be kept up to date, due to security,
so it shouldn't be a big problem),
AC_CHECK_HEADER -> AC_CHECK_HEADERS
is required for things to work
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50303&edit=1