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
Marcus Boerger
f7d2317ce7
- Fix typo
2005-02-28 00:07:16 +00:00
foobar
0ec872a153
- Cache the version check results
...
# ..and prepare for --enable-developer-mode
2005-02-27 12:42:28 +00:00
foobar
34805e8d39
- Fixed all buildconf warnings + cross-compiling issues
2005-02-24 19:27:10 +00:00
foobar
2a6da0f24c
- Restructured and added a few comments here and there.
...
- Made macros of couple of tests previously littering configure.in
(e.g. PHP_PROG_AWK, PHP_PROG_LEX, PHP_PROG_BISON..)
- Moved all PHP_SUBST() calls into their respective macros.
(no point adding empty entries in Makefile if macro is not used)
2005-02-24 18:11:36 +00:00
Moriyoshi Koizumi
352fc43ec9
- Complement for Jani's fix. Likely fix the iconv issue.
2005-02-09 00:49:45 +00:00
foobar
25ab28c48f
- Fix macosx shared extension build
2005-01-25 13:02:25 +00:00
foobar
f8a540d105
- Typofix + removed unnecessary unsets caused by it
2005-01-22 01:31:54 +00:00
foobar
6faa433d58
- Fix the pic patch
2005-01-19 17:35:55 +00:00
Antony Dovgal
c71c8e7604
fix PHP_CHECK_64BIT macro (finally got 64bit machine to test it)
2005-01-07 16:57:23 +00:00
foobar
7a3d9addb8
- Make sure $host_alias is never empty
2005-01-07 06:12:42 +00:00
foobar
a3943d9be5
- Fix buildconf failure with autoconf versions > 2.13
2004-12-30 14:56:00 +00:00
foobar
5ac375a40d
- Fixed bug #31101 (missing kerberos header file path with --with-openssl)
2004-12-30 14:50:06 +00:00
foobar
69eec3f3b9
MFB_4_3: Quote macro names in AC_DEFUN()
2004-12-30 07:08:39 +00:00
Edin Kadribasic
ea07d448a5
MFB: Avoid autoheader warning
2004-12-21 15:41:22 +00:00
foobar
4157e50c00
Better fix for endian compile problems.
2004-12-20 20:37:45 +00:00
Derick Rethans
b68803c08e
- Generate all iconv headers by default
2004-12-11 11:16:55 +00:00
Derick Rethans
1266735cd0
- MF43: Fixed bug #31034 (Problem with non-existing iconv header file).
2004-12-09 09:06:06 +00:00
Joe Orton
7b547a393a
Fix VPATH build again.
2004-12-08 12:50:00 +00:00
Derick Rethans
48b118968f
- MF43: Install the iconv extension headers to <installpath>/ext/iconv so that
...
external extensions can use them.
2004-12-06 20:39:20 +00:00
Andrei Zmievski
c2f8c1a79b
.dylib extension are Mach-O shared libraries that meant for linking
...
against. Loadable modules (aka bundles) can have any extension, so we
should probably stick with .so
http://fink.sourceforge.net/doc/porting/shared.php?phpLang=en#lib-and-mod
2004-11-09 20:58:24 +00:00
Joe Orton
557cda47a0
Core changes to support multi-ABI platforms with libraries in
...
/usr/lib64 rather than /usr/lib.
* configure.in: Add --with-libdir flag; define PHP_LIBDIR.
* acinclude.m4 (PHP_REMOVE_USR_LIB, PHP_RUNPATH_SWITCH,
PHP_ADD_LIBPATH): Check for /usr/$PHP_LIBDIR rather than /usr/lib.
(PHP_SETUP_OPENSSL, PHP_SETUP_ICONV): Use /path/to/$PHP_LIBDIR in
place of /path/to/lib.
2004-11-03 14:07:09 +00:00
Joe Orton
2469701b87
Fix extraction of httpd version if httpd is linked against -lefence.
2004-11-03 13:04:10 +00:00
Antony Dovgal
0e2100ca58
add PHP_CHECK_64BIT macro to be able to detect 64-bit platform in ./configure
2004-09-12 06:35:51 +00:00
Wez Furlong
ed682e570a
Implement extension load-order deps.
2004-07-18 12:03:51 +00:00
Ard Biesheuvel
437840e85d
Put AC_DEFINE in correct place so caching will work properly
2004-03-27 02:03:44 +00:00
foobar
0bf907b1e6
- Added PHP_TEST_BUILD macro which can be used to test whether build
...
works / would work with current LIBS (+ additional extra-libs)
2004-02-23 03:24:58 +00:00
foobar
d2e8751f86
- Fixed Bug #26969 (shared openssl build fails)
2004-01-20 01:11:04 +00:00
Wez Furlong
57e2ef89e4
support for building asm in the unix buildsys.
...
Also, when ZEND_ACCONFIG_H_NO_C_PROTOS is defined,
omit the C prototypes from the configuration header
so that it can be included into asm files.
2004-01-09 23:37:29 +00:00
foobar
c3ea5b122e
Fixed bug #26461 (-lssl missing from LIBS)
2003-12-12 05:19:30 +00:00
foobar
e13e315a10
- Only add 'install-modules' into install targets when there are such
...
modules to install.
2003-12-04 15:57:55 +00:00
foobar
4eab4158cd
- Fixed build of shared extensions which require openssl and when you only
...
have static openssl libraries.
2003-11-13 14:17:47 +00:00
foobar
09b8fdc2bb
Really fixed bug #25719 .
...
(basically reverted to the original style of openssl checks found in 4.3.3)
2003-10-03 04:29:13 +00:00
foobar
8ba1bcb252
Should fix bug #25719
2003-10-02 00:35:09 +00:00
foobar
3f415b2c4b
Fixed bug #25703 (openssl checks failed)
2003-09-30 18:08:12 +00:00
foobar
54a2a2ad2e
ws
2003-09-24 14:24:18 +00:00
foobar
4c31afd23b
- Fixed some compile failures with e.g. RH9 + openssl by
...
making use of pkg-config
2003-09-24 14:22:57 +00:00
foobar
edfd3e7c6a
Cleanup after ourselves.
2003-09-03 22:53:21 +00:00
Sascha Schumann
7382178f73
enable re2c check for self-contained extensions
2003-09-02 19:42:17 +00:00
foobar
bd09eb171a
libxml 2.5.10 or greater required from now on
2003-09-01 04:48:40 +00:00
foobar
98c6a4fec0
MFB
2003-08-13 23:45:42 +00:00
Sascha Schumann
320a86b7a5
MFB quoting of )
2003-07-03 22:54:57 +00:00
Sascha Schumann
4239cc4256
MFB PHP_CHECK_LIBRARY fix
2003-07-02 03:04:35 +00:00
Sascha Schumann
ae03f44694
Sync PHP_CHECK_LIBRARY change
2003-07-02 00:04:12 +00:00
foobar
d215b040b7
- Changed 'grep -E' back to 'egrep'.
...
#
# whatever some posix standard says, there's no use to change this in
# two places and possibly break stuff, like said in bug #22604 .
#
# Grep for 'egrep' in autoconf 2.13 generated configure to find
# several hundred 'egrep's..
#
2003-07-01 00:16:23 +00:00
Sascha Schumann
423c16befd
MFB snprintf test
2003-06-28 12:29:43 +00:00
Sterling Hughes
f783d06d65
ilia points out this is ok
2003-06-28 06:32:02 +00:00
Sterling Hughes
5e0bc7c133
bump up to 2.5.7
2003-06-28 05:18:11 +00:00
foobar
7a24772485
Fix configure failure with static openssl libs
2003-06-24 16:39:52 +00:00
foobar
e3cd8fac9b
- Unified PHP_SETUP_OPENSSL with other PHP_SETUP_* macros.
2003-06-24 14:05:26 +00:00
foobar
755eccf82a
- Moved scan_makefile_in.awk to better suitable place for it.
...
(other build related scripts are under build/ too..)
2003-06-09 00:17:03 +00:00
foobar
1a32b09995
Left-overs from testing.
2003-05-19 21:11:44 +00:00
foobar
73415c9e01
- Unbundle libxml and expat. Now this compiles too..
2003-05-19 15:33:19 +00:00
Sascha Schumann
0b6d0fefc4
MFB $AWK->awk
2003-05-19 01:33:58 +00:00
Moriyoshi Koizumi
ca0bbb7d4e
Fixed typo: this should have been withval
2003-05-07 19:13:54 +00:00
Sterling Hughes
a0351b093f
Bundle libxml and add compatibility layer
2003-05-06 19:38:49 +00:00
Sterling Hughes
eab8227e7c
beginnings of php5/bundle support
2003-05-02 03:14:00 +00:00
foobar
fcf3384af9
Allow PHP_CHECK_LIBRARY to use same function name in checks if a check fails.
2003-04-25 08:54:02 +00:00
Sascha Schumann
baa54b3b80
add missing check
2003-04-16 05:22:04 +00:00
Sascha Schumann
d2afc64fed
don't remove config.nice directly, so that we don't lose it on
...
inferior systems like windows.
2003-04-13 20:13:06 +00:00
Sascha Schumann
8a9e45a27a
Don't need shtool
2003-04-01 08:05:01 +00:00
foobar
d38d39a46c
Fixed bug #22989 (sendmail not found by configure)
2003-03-31 23:21:41 +00:00
Sterling Hughes
3f700e58ab
update php module name to php5, not php4.
...
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
2003-03-29 04:52:46 +00:00
foobar
2f67648512
Made "--with-pear" "--disable-all"-aware. Plus some cosmetics fixes.
2003-03-25 13:43:13 +00:00
Wez Furlong
cfd0466389
Fix for Bug #21310 , based on a patch by jflemer@php.net.
2003-03-17 13:40:45 +00:00
foobar
5e26cd4293
prevent warning
2003-03-12 02:26:46 +00:00
foobar
70f97c1713
- Always use the shtool mkdir.
2003-03-10 14:32:47 +00:00
Sascha Schumann
90e5afe8a2
Allow shared modules to be built using $(CXX)
2003-03-05 22:00:45 +00:00
foobar
866fb82484
fix quotes
2003-02-24 15:11:54 +00:00
foobar
a7132f74fd
Always use the libtool which is build in the top_builddir.
2003-02-24 04:37:04 +00:00
foobar
011229ef15
- Updated libtool to 1.4.3 which has test for the sed problem..
2003-02-10 17:09:48 +00:00
Zeev Suraski
4c8473d619
relabel
2003-01-19 21:37:40 +00:00
Alex Waugh
ef8d954a0d
Provide alternative for glibc brokenness test when cross compiling
2003-01-03 22:05:12 +00:00
Ilia Alshanetsky
b46352043c
Raise required OpenSSL version to 0.9.6.
2003-01-02 19:20:57 +00:00
Wez Furlong
a28eaf64d0
Workaround for glibc 2.2.9x and later "a+" bug that does not seek to EOF for
...
files fopen()ed with that mode.
2003-01-01 09:58:17 +00:00
Wez Furlong
ca58966a0d
Merge streams changes from branch.
2002-11-18 11:39:42 +00:00
Sascha Schumann
04e564dec5
use grep -E instead of egrep. the latter is not defined by POSIX anymore
2002-11-15 00:20:17 +00:00
Sascha Schumann
46a99e9022
- Remove PHP_DISABLE_CLI
...
- Streamline ircg build: thttpd-dependent part moved into separate source
file, so that it can be added to the SAPI-only object list.
2002-11-14 01:09:46 +00:00
foobar
e77c7ee46b
- Remove the "which" call and just expect sed to be in PATH
2002-10-29 11:24:26 +00:00
foobar
c82799be32
- Only test the sed in PATH. (testing others is useless)
2002-10-28 23:42:47 +00:00
Sascha Schumann
6bf422d62e
Make PHP compile out-of-the-box with uClibc
2002-10-24 12:21:07 +00:00
Sascha Schumann
938ba73be7
Quote macro names in AC_DEFUN() and prefix the internal macros using
...
a single underscore. Also rename AC_PHP_ONCE as PHP_RUN_ONCE.
2002-10-24 10:41:36 +00:00
foobar
b26f6233d8
remove the remains of that comment.
2002-10-21 03:31:52 +00:00