Commit Graph

445 Commits

Author SHA1 Message Date
Felipe Pena
2b4539fcef - Fixed bug #51740 (acinclude.m4 macro PHP_CHECK_SIZEOF is not properly quoted)
Patch by: dave dot mulford at gmail dot com
2010-05-05 21:55:44 +00:00
David Soria Parra
e44d409472 Make sure we search the source dir for the dtrace files 2010-04-30 00:07:39 +00:00
David Soria Parra
08b9fdc8a3 Add DTrace probes 2010-04-24 13:32:30 +00:00
Kalle Sommer Nielsen
62f087df75 Rename the HAVE_LIBICONV_IN_LIBICONV macro to ICONV_ALIASED_LIBICONV, making it less cryptic 2010-03-08 15:51:08 +00:00
Moriyoshi Koizumi
8481fd7c3b - Fixed bug #49267 (linking fails for iconv) 2010-03-05 09:12:13 +00:00
Rasmus Lerdorf
937358ebc7 Revert attempt at supporting both autoconf 2.13 and
modern versions in the same build chain.  There are
simply too many broken things in 2.13 to make it work.
Cache handling is broken as well which is why I need
to revert the pdo_inc_path cache fix as well.

trunk is now 2.60+ only and I'll work on cleaning out
all the legacy cruft from there.
2009-11-29 06:13:22 +00:00
Rasmus Lerdorf
deec59ab2c Last attempt to get this stuff right before punting it
and being stuck on 1996 autoconf for eternity
2009-11-29 03:32:54 +00:00
Rasmus Lerdorf
7cdd773081 More work on the autoconf 2.13->2.60+ transition code.
2.13 should be working again with one weird libtool issue
left to solve.  It doesn't seem directly related to this
stuff.
2009-11-28 23:06:54 +00:00
Rasmus Lerdorf
5a2b41a627 Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Sriram Natarajan
c35177b6a4 - Simplify default flags for Sun C compiler. 2009-08-11 23:45:35 +00:00
Jani Taskinen
558f3861ec MFH:- Fixed bug #47468 (enable cli|cgi-only extensions for embed sapi) 2009-05-09 20:26:51 +00:00
David Soria Parra
fe8d326d57 Fix test for auto_cflags and explictly set GCC="no" if we detect suncc 2008-12-03 19:53:45 +00:00
David Soria Parra
47e909faed MFH: Detect Sun C compiler and set default flags if it is used 2008-11-06 20:42:11 +00:00
Antony Dovgal
4126e2d8f1 add missing file 2008-09-08 10:24:25 +00:00
Antony Dovgal
91ca9b7d53 MFH: set GCC to "no" if ICC was detected 2008-07-24 14:17:54 +00:00
Jani Taskinen
0f9e2b1753 MFH: sync acinclude.m4 (leave the PHP_PROG_LEX for BC!) 2008-07-21 10:31:37 +00:00
Antony Dovgal
856c19c67c make --enable-zend-multibyte known to configure 2008-07-03 07:46:17 +00:00
Derick Rethans
0fe9a18758 - Reset back to 0.13.4 now that it released. 2008-04-07 17:55:21 +00:00
Derick Rethans
2facb4e240 - Don't rely on a version that doesn't exist - that breaks snapshots. 2008-03-31 10:08:57 +00:00
Marcus Boerger
0893c3e2c9 - Another re2c version bump and scanner regeneration
# It appears no one has used re2c in the way we do
2008-03-22 17:59:52 +00:00
Marcus Boerger
a9b9062980 - Require 0.13.3 2008-03-22 15:39:53 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Marcus Boerger
2633dcab46 - MFH Allow zend_extensions to be build inside ext and tested with 'make test' 2008-02-17 20:50:03 +00:00
Jani Taskinen
c6a7e4cad4 MFH:- Part 1 of fixing problems with runpath switch (make --disable-rpath work for real) 2007-08-20 14:28:45 +00:00
Jani Taskinen
82559ff7e5 - Hopefully this fixes the "test: argument expected" error on solaris.. 2007-08-03 10:45:23 +00:00
Jani Taskinen
8684e7495f MFH: - Made build system less major version dependant to ease MFB/MFH 2007-07-26 22:45:59 +00:00
Jani Taskinen
5a1c39f71d MFH: - Allow using extra headers in PHP_CHECK_SIZEOF 2007-07-25 22:49:39 +00:00
Jani Taskinen
a547182c79 MFH:- Stop configure if scanner files are not found and invalid/no flex is found 2007-07-19 12:36:06 +00:00
Jani Taskinen
76b92b6d5d - Fix issue in differentiating between --with-* and --enable-* 2007-07-16 10:00:44 +00:00
Johannes Schlüter
dc8d09bbbd - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
Jani Taskinen
90b9d6241e - Introducing 1st part of "show unknown configure options" and nuked PHP_REGEX macro for good 2007-07-11 15:16:56 +00:00
Jani Taskinen
b0ef04af84 MFH: Removed --enable-versioning 2007-07-10 10:18:48 +00:00
foobar
4d63c09661 MFH:- Improved php-config:
MFH:  . Added --configure-options option to get configure line for current build
MFH:  . Added --php-sapis option which shows SAPIs available
MFH:  . Fixed problem with missing php binary when CLI is not build but CGI is.
MFH:- Fixed broken sed issues in phpize script
2007-06-29 01:10:35 +00:00
foobar
3d88f40d51 MFH:- Added PHP_CHECK_SIZEOF macro (special version of AC_CHECK_SIZEOF) 2007-06-27 14:40:08 +00:00
foobar
efcdcd80b6 - Allow build without flex/bison installed (fixes builddir != srcdir build
when using distributed sources which inlude pre-generated bison/flex
  output. See bug #38762 for more..)
2007-05-24 21:40:41 +00:00
foobar
5603bef272 - Fix previous fix. (just revert of Stefan's bad fix..) 2007-05-24 19:52:03 +00:00
foobar
91d98d2986 - Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! 2007-05-24 19:35:46 +00:00
foobar
f5d9f9cd27 - Check if Makefile.frag actually exists before running sed on it. 2007-03-25 10:21:02 +00:00
Antony Dovgal
43d788ec33 MFH: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in 2007-02-20 20:11:11 +00:00
Nuno Lopes
f3d0a26e13 add EXTRA_LDFLAGS_PROGRAM to config.nice (as LDFLAG is quite useless) 2007-01-01 20:10:01 +00:00
Antony Dovgal
24b312f8d5 MFH: missing part of the fix for #39795 2006-12-12 12:06:37 +00:00
Antony Dovgal
53f89fad03 MFH 2006-12-12 10:16:06 +00:00
Antony Dovgal
a74c36a335 MFH: fix #39795 (build fails on AIX because crypt_r() uses different data struct) 2006-12-12 07:38:04 +00:00
Antony Dovgal
ebef6661df MFH: fix build with Sun compiler, which doesn't support -O0 2006-12-04 18:28:49 +00:00
Antony Dovgal
b8fc77bd13 MFH: the last part of the fix for #39004 2006-10-02 20:49:23 +00:00
Antony Dovgal
9c1b3c6d88 fix the fix for #39004 2006-10-02 19:17:53 +00:00
Ilia Alshanetsky
cb312d43bf Fixed bug #39004 (Fixed generation of config.nice with autoconf 2.60). 2006-10-02 15:34:38 +00:00
Stefan Esser
6320ee11cf MFH: Only care about wrong flex version, when needed. 2006-06-16 08:01:03 +00:00
Ilia Alshanetsky
b8c7ecc061 Fixed bug #37413 (Rejected versions of flex that don't work). 2006-05-11 22:04:51 +00:00
foobar
12346d64eb MFH: fix typo 2006-04-10 12:17:36 +00:00
foobar
276171f871 MFH: - Determine the shared/link lib suffixes in one macro. 2006-04-10 12:16:17 +00:00
Andrei Zmievski
9e5655387a MFH 2006-04-08 17:53:11 +00:00
Andrei Zmievski
0dded18b33 On Mac OSX, our extensions are actually "bundles" and should not have
.dylib extension. Read this:

http://www.sm.luth.se/~alapaa/file_fetch/unixcdbookshelf/mac/ch05_03.htm
2006-03-27 04:59:36 +00:00
Marcus Boerger
477f503b9e - MFH Fix dependency checks 2006-02-28 12:26:03 +00:00
Marcus Boerger
6c2ebc6d76 - MFH Require re2c 0.9.11 and use correct version notation 2005-12-24 11:38:05 +00:00
Wez Furlong
046bff25fb Fix bugs #35379 and #35432 by erroring out when the user configures PHP
extensions with conflicting options.

Jani, feel free to refine the way that extensions are detected as shared :)

For this to be foolproof, we either need to guarantee that the extensions have
their PHP_NEW_EXTENSION invoked in the right sequence.  Eg: PDO should be
handled in the configure script before any of the extensions that depend on it
are handled... tricky.

By happy coincidence, the alphabet ensures that pdo is configured before all
the pdo_ extensions, and also before sqlite, so this works for now.
2005-11-30 04:47:24 +00:00
foobar
7243d31ae0 MFH: - Fixed header installing under phpize builds 2005-11-21 23:08:02 +00:00
Rob Richards
1e0494a714 MFH: bump libxml min version to 2.6.11 2005-10-13 20:33:40 +00:00
foobar
09f0161160 ws fix 2005-09-23 09:40:24 +00:00
Anantha Kesari H Y
5337c02684 In NetWare two binaries with the same name can not be loaded in kernel address space(This is the default behaviour for NetWare apache webserver and hence PHP extensions also get loaded in kernel address space) simultaneoulsy. As the current autoconf built mysql extension is built as mysql.nlm this forbids the loading of mysql client binary. To work around this NetWare idiosyncrasy prefixing all the extensions with "php" except php5lib(phpts.dll eqivalent of Windows). I could have named this extensions prefixed with "php_" but "_" is eaten from the exported symbol prefix by the GCC cross compiler for NetWare so sticking to "php".
This fixes the issue of not needing "PHP_SUBST(EXTENSIONNAME_SHARED_LIBADD)" in all the extensions especially when they need to be built shared.

--Kamesh
2005-09-23 09:25:18 +00:00
foobar
655cb3aaf7 MFH 2005-09-01 08:25:52 +00:00
foobar
e46cd60d89 - Fixed bug #33326 (Cannot build extensions with phpize on Macosx). 2005-08-12 15:15:17 +00:00
foobar
b31f168184 - Fixed bug #34097 (configure failed to initize RE2C="exit 0;" when re2c is not found) 2005-08-12 13:53:27 +00:00
foobar
a9cd02c033 fix macro 2005-07-18 17:20:24 +00:00
foobar
ec940d4d5a - Fixed cacheing bug in PHP_SOCKADDR_SA_LEN macro
- Removed duplicate sa_len check from configure.in
- Unified the sockaddr tests into PHP_SOCKADDR_CHECKS macro
2005-07-14 00:12:26 +00:00
foobar
29894e4446 Fix the re_magic test by adding missing #include <sys/types.h> 2005-07-14 00:08:13 +00:00
foobar
bc9bc3972c typofix 2005-07-13 14:34:46 +00:00
foobar
df44615339 - Added check whether re_magic exists in struct regex_t
# per Andrei's request
2005-07-13 14:33:38 +00:00
foobar
71d28a82cf - Fixed stupid bug in PHP_INSTALL_HEADERS() macro: "foo bar" != foo bar
- ext/date/lib/timelib_config.h is also installed now
2005-07-07 23:18:22 +00:00
Dmitry Stogov
8de3367453 Fixed support for shared extensions on AIX 2005-07-07 05:54:43 +00:00
foobar
faa3fd4ae0 re2c 0.98 is the current working version 2005-06-28 20:58:34 +00:00
foobar
e04f5603f7 - Cache the xml2-config path 2005-06-27 18:30:14 +00:00
foobar
a0ab6b7160 - Never ever add /usr/lib as libpath, even if --with-libdir is used 2005-06-22 06:50:24 +00:00
foobar
9f2c906e80 Fix configure problem in braindead systems like Solaris. 2005-06-21 10:20:03 +00:00
foobar
4dfa3fc731 Some netware related build issues fixed (patch by: Kamesh Jayachandran <kameshj at fastmail dot fm> 2005-06-20 11:06:54 +00:00
foobar
a892e4874f fix PHP_INSTALL_HEADERS() macro when 2 params are used 2005-06-20 00:20:45 +00:00
foobar
8d91c1a46d Make this usable for header files too 2005-06-14 02:18:44 +00:00
foobar
334f5d87ff Allow different things to be done when found / not-found 2005-06-14 01:43:53 +00:00
foobar
15cf2a60b0 - Added PHP_CHECK_PDO_INCLUDES macro (caches the result) 2005-06-14 00:00:53 +00:00
foobar
54d85cbfda - Fixed bug #31256 (PHP_EVAL_LIBLINE configure macro does not handle -pthread) 2005-06-13 08:44:47 +00:00
foobar
8e2efc351b - Show "none" when nothing is found 2005-06-07 16:47:33 +00:00
foobar
2fa74dab0e - Revert previous change in build/libtool.m4 and make sure
the PATH_SEPARATOR check is only done under autoconf 2.13.
# fixes also the php-gtk buildconf probs
2005-06-02 21:36:38 +00:00
foobar
abfc90fb60 - Use libtool also for completely static builds 2005-05-30 10:56:13 +00:00
foobar
5fee97ca33 - Changed the PATH_SEPARATOR check to a macro
- Made sure we're generating aclocal.m4 in same way with both buildconf
  and phpize.
# Bug #33177
2005-05-30 06:55:20 +00:00
Hartmut Holzgraefe
522159468c simplify flex version test 2005-05-29 19:28:34 +00:00
Hartmut Holzgraefe
af14bbe455 avoid code duplication in bison version test 2005-05-29 18:04:35 +00:00
Hartmut Holzgraefe
10f21b3bca added .cxx extension for C++ for completeness reasons 2005-05-29 16:59:58 +00:00
foobar
9ef2ea19e5 - Use $SED and $EGREP where possible 2005-05-27 13:10:01 +00:00
Rasmus Lerdorf
4688093cdc Avoid syntax errors on some operating systems 2005-05-21 18:42:39 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
foobar
073188c832 - Fix problems with phpized ext/imap 2005-04-30 09:29:09 +00:00
foobar
e8f715af59 - No need to iterate through the options twice 2005-04-30 01:52:22 +00:00
foobar
b85f0897a2 re2c 0.96 is the one that works (tm) 2005-04-30 00:15:07 +00:00
foobar
bf85fd4f2b We do allow 2.0 now too. 2005-04-30 00:12:42 +00:00
foobar
6e0da82528 Netware stuff 2005-04-26 08:20:44 +00:00
Marcus Boerger
965b70c0bd - Change bison check to positive logic and allow bison 2.0 2005-04-23 11:30:11 +00:00
Brian France
e836164570 Added support for .cc files in extensions. 2005-04-20 20:48:19 +00:00
foobar
aea6208e9e - Cleanup a bit. And make use of shtool mkdir 2005-04-07 20:39:02 +00:00
Rob Richards
e6034763ca require libxml 2.6.0 or higher 2005-03-10 22:35:18 +00:00
foobar
ba5479a099 This did not work for some reason, better revert it 2005-03-04 15:13:03 +00:00