Commit Graph

387 Commits

Author SHA1 Message Date
Wez Furlong
ae37223657 Apply patch for MAJOR_VERSION etc. by Joseph Tate 2002-04-11 15:15:33 +00:00
Marcus Boerger
3e70f373ce make (v)spprintf available 2002-04-10 01:13:18 +00:00
Sterling Hughes
c89623d27f apply jan's configure check for apache2 and freebsd (relating to the use
of tsrm-pth).
2002-04-07 16:16:47 +00:00
Sascha Schumann
8fae36cbd1 Improve the life of external extension maintainers by
not plaguing them with "./" in absolute paths.

Requested by: Andrei, Wez
2002-04-06 13:42:40 +00:00
foobar
97ba30ba5c - OS X support for dynamically loaded extensions. (patch by Marko)
# NEWS entry coming up..
2002-04-04 00:24:34 +00:00
foobar
46d42968a4 Fix for bug: #5499 (no need to MFH this one) 2002-04-01 23:25:48 +00:00
Stanislav Malyshev
ee3a873863 Fix ZE2 builds 2002-03-31 13:02:36 +00:00
Stig Bakken
03c82d38ef * added sys/utsname.h test 2002-03-30 23:44:50 +00:00
Derick Rethans
0887298bd4 - Back out broken patch 2002-03-28 11:21:47 +00:00
Derick Rethans
b0088fd883 - MFB for fix build for BSD: BSD_MAKEFILE and resolver functions. (Patch by
Melvyn Sopacua <msopacua@idg.nl>)
2002-03-28 07:59:42 +00:00
Hartmut Holzgraefe
0fa0ae051d manual is fixed to have static anchors generated from ids for the faq part 2002-03-22 11:19:12 +00:00
Markus Fischer
b199615ed2 - Fix #16206. 2002-03-21 23:12:10 +00:00
foobar
9ef9a18d2c The changes to build system and the streams stuff alone are big enough
reason to make next release 4.3.0
2002-03-21 20:55:55 +00:00
Sascha Schumann
a188fac946 Support systems without NIS functions, but with non-working libnsl 2002-03-21 17:05:47 +00:00
foobar
4a0291d238 - Make it possible to build ext/openssl as shared extension 2002-03-20 02:07:11 +00:00
Wez Furlong
9e14ed0255 add sys/poll.h header detection 2002-03-19 03:49:26 +00:00
Jon Parise
aceb7a3c2e Give one last reference to pear-get. 2002-03-19 01:19:24 +00:00
foobar
d568b5c87b Fix build. 2002-03-17 17:30:55 +00:00
Wez Furlong
0f65280cb5 New PHP streams... 2002-03-15 21:03:08 +00:00
Zeev Suraski
d3256ecf00 Good suggestion, but I'm not sure we want to start receiving bug
reports with that version
2002-03-14 14:15:26 +00:00
Sterling Hughes
6489b9c316 update version 2002-03-14 14:00:04 +00:00
Zeev Suraski
fb837bddaf Childish, are we? 2002-03-14 13:42:58 +00:00
foobar
186651bd06 - Fixed version 2002-03-14 13:39:36 +00:00
Zeev Suraski
075dc0ccc6 Fix version number 2002-03-14 13:27:43 +00:00
Yasuo Ohgaki
cbc1cd802c Include/enable assert.h/assert() when it is available 2002-03-14 02:17:23 +00:00
Sascha Schumann
2ea99fe17a a bit of refactoring and making always_shared a nop in every day life 2002-03-13 12:30:49 +00:00
Sascha Schumann
e10ca10084 Provide context-specific functions which yield the directories
of extensions (PHP 4 configure vs. self-contained module)
2002-03-13 09:20:49 +00:00
Sascha Schumann
9c3b0c752e Invoke pear-related targets conditionally and
rename install-data-local target to install-pear.
Also remove PEAR_DIR, because it is unused.
2002-03-11 13:17:44 +00:00
Sascha Schumann
26715ba4f6 Use standard PHP shell check syntax 2002-03-11 12:56:19 +00:00
Sascha Schumann
a0a857b9c8 You don't need a C++ compiler to build 100% of PHP (and the largest part of
the extensions), so I don't see a reason why PHP should not build on
a system without a C++ compiler.

If your extension uses C++ objects, put PHP_REQUIRE_CXX into your
config.m4.

This should also be removed from the 4.2.0 branch, because it will
cause portability problems otherwise.
2002-03-11 12:50:18 +00:00
Sascha Schumann
4928259fa9 ze2 handling 2002-03-07 19:56:53 +00:00
Sascha Schumann
5745f86187 Build libphp4.la as a module which can be dlopened.
This should not make a difference on common platforms,
but maybe esoteric ones.
2002-03-07 19:21:02 +00:00
Sascha Schumann
b2cc18212f From APR CVS.
fitz        02/03/07 07:37:09

  Modified:    build    apr_hints.m4
  Log:
  update for Mac OS X. -traditional-cpp is no longer recommended.
2002-03-07 15:40:39 +00:00
Sascha Schumann
9d9d39a0de Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net
directly.

An introduction can be found on

http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Derick Rethans
d1db2071fc - Bump version numbers on HEAD 2002-03-06 22:26:02 +00:00
Zeev Suraski
e9ec537aba Fix version number 2002-03-02 14:33:25 +00:00
foobar
8439b0691d Fixed minor typo. 2002-02-27 12:11:09 +00:00
Derick Rethans
5921ac0de3 - Update version number 2002-02-27 11:30:06 +00:00
foobar
53cfce6bc5 The extensions build as shared were installed into wrong place
even as the layout was PHP.
2002-02-05 01:27:00 +00:00
Adam Dickmeiss
c4d84aa333 Zend config sets ZEND_EXTRA_LIBS. Bugs 14452, 14602, 14616, 14824 2002-02-03 20:00:27 +00:00
Jon Parise
1e5e93a63d Revert revision 1.294.
This commit broke things in interesting ways under FreeBSD.  By adding these
default header files to every header check, a number of subsequent checks
failed (due to unsatisfied header file dependencies).  This occured because
<netinet/in.h>, for example, requires <sys/types.h>.  In other words, these
default includes are not autonomous and don't make workable defaults.
2002-02-02 06:21:58 +00:00
Edin Kadribasic
13ca332184 Enable extensions to specify that they are not supposed to be
built with the CLI SAPI. This is done by passing "nocli" as the
3rd parameter to PHP_EXTENSION macro.
2002-01-30 23:46:44 +00:00
Marko Karppinen
e9111e53f6 - Reorganized stuff in configure.in and added a few comments
# This isn't nearly as big a change as the diff would lead one to believe.
# I've tested this on all my machines and its working for sniper too.
- Added a check for ApplicationServices/ApplicationServices.h (Mac OS X)
- Added AC_PROG_CPP, AC_PROG_CXX and AC_PROG_CXXCPP
# (the bundled libmysql build was failing without them with ac2.52/OSX)
- Improved the IPv6 check to fail on Mac OS X (there's no IPv6 there yet)
2002-01-26 23:57:17 +00:00
Marko Karppinen
14b6678d2b Improve detection of resolv.h on versions of Darwin, FreeBSD and Solaris
(this requires post-2.13 autoconf, but 2.13 ignores it gracefully)
2002-01-25 23:42:23 +00:00
Marko Karppinen
aca369774c Relying only on host_alias is wrong 2002-01-25 23:38:58 +00:00
Sascha Schumann
ede07e3a84 fix typo, found by edin 2002-01-24 16:48:53 +00:00
Sascha Schumann
c0b8ac1142 Don't build CLI, if an extension requests that.
In this case, the ircg extension refers to thttpd-specific symbols
which causes the build of the cli sapi module to fail.
2002-01-24 12:55:08 +00:00
Edin Kadribasic
f5790b0a7c Modified the build system to make certain extensions (pcntl, ncurses,
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
2002-01-20 02:30:18 +00:00
Edin Kadribasic
db8647203c Modified the build system to always build CLI SAPI. 2002-01-12 14:51:54 +00:00
foobar
6ec98d5d74 - Fixed the creation of pear-get script. 2002-01-09 03:41:48 +00:00
foobar
fa41fe8646 Reverted Hartmut's patch as it caused more trouble than it solved.
# Broke my build totally. The 'correct' fix is to make the checks better
# everywhere. ie. to check for existance of the library/symbol in some lib.
2002-01-09 03:40:51 +00:00
Stig Venaas
6e1878b0fc Added some consts for arguments in network.c declarations. Moved
php_sockaddr_storage to php_network.h and added check for struct
sockaddr_storage
2002-01-06 11:54:19 +00:00
Hartmut Holzgraefe
597c0d5d4e first PHP_EXTENSION_LIBS casualty :( 2002-01-04 15:00:26 +00:00
Hartmut Holzgraefe
d63edeba21 make configure more robust if extensions add libraries without
checking for their existance first

old behaviour was to fail on the next library check with misleading
messages, now configure will work but make will fail with a
'lib not found' message
2002-01-03 20:30:07 +00:00
foobar
5d1040309c - Fixed the version detection of Bison.
# The nice people who work on Bison decided to change the --version output.
2001-12-10 01:44:17 +00:00
foobar
8a8741a1fe This makes the configure --help output more readable. 2001-12-01 00:59:43 +00:00
David Reid
4f0eab7f6c s/\t/ / 2001-11-16 17:31:13 +00:00
foobar
f73ee14bd9 Check that realpath is available. Bug: #9469
# TSRM still uses it without checking. I can't fix that.
2001-10-23 11:14:51 +00:00
Stig Bakken
b5e6cabb8e * bump version 2001-10-15 18:58:48 +00:00
Sascha Schumann
b14cb5c3ff Remove obselete message and drop "divert(6)" which caused
problems with autoconf 2.5x.
2001-09-11 07:30:45 +00:00
foobar
acb7d69ff7 Always quote the messages. 2001-09-06 20:55:24 +00:00
Sebastian Bergmann
452c41ec9e HEAD has been 4.0.8-dev for some time now, so name it accordingly. 2001-08-30 15:33:43 +00:00
Sascha Schumann
95347cd868 Further work on autoconf-2.5x support 2001-08-21 11:45:33 +00:00
Sascha Schumann
9350a23b8f Move PHP_SUBSTs to configure.in. 2001-08-21 11:03:45 +00:00
Sascha Schumann
8ab1c2aa44 nuke some apparently harmful spaces 2001-08-21 11:02:42 +00:00
foobar
929424032e Keep crypt() working even if SNMP needs OpenSSL. 2001-08-20 14:04:21 +00:00
Stig Bakken
b96e13a99d Added "phptar" command as proof that the Archive_Tar class works.
# Great work, Vincent!
2001-08-19 00:34:08 +00:00
foobar
e74c4e0a45 Added a check for libdmalloc whether it works (is found..) or not.
# We should always test every library (when possible) before
# adding them..
2001-08-18 18:14:22 +00:00
foobar
24187f2e05 Fix --with-pear=path too. 2001-08-15 21:39:32 +00:00
foobar
5b2f8a0c22 Fixed bug: #12726. If --with-xxx is used in configure line without any
value, it gets value 'yes'.
2001-08-14 08:49:39 +00:00
Zeev Suraski
35de326b0e Compile fix for oldie Linux systems (possibly others too) 2001-08-12 21:23:15 +00:00
foobar
8b4c4c87e6 This did not work as expected. Reverted. 2001-08-07 17:29:11 +00:00
foobar
895c75e23c This was not supposed to be removed. 2001-08-07 13:29:09 +00:00
foobar
beac42e3dc Fix bug: #12604. Also made the configure script shown a little nicer in phpinfo() 2001-08-06 18:43:02 +00:00
foobar
5bdc64c505 Fix bug: #9177 2001-08-04 04:47:24 +00:00
Rasmus Lerdorf
6e41650e52 Revert this change - if you want to do this, do it in a 'make clean' 2001-08-02 21:20:20 +00:00
foobar
17e6295fbb Delete config.cache always. This makes config.nice a bit more useful. 2001-08-02 18:22:57 +00:00
Sascha Schumann
28b0a3167b Fix build and add a mips-related preprocessor directive. 2001-07-28 00:49:56 +00:00
Zeev Suraski
cd3acbd785 Fix broken text 2001-07-20 12:22:43 +00:00
Wez Furlong
f1364ebf3e (PHP nl_langinfo) Added function when provided by OS
(PHP htmlentities, htmlspecialchars) Uses nl_langinfo to determine charset
@- Added nl_langinfo() (when OS provides it) that returns locale
   information. (Wez Furlong)
# There are a lot of constants used by nl_langinfo; should we do something
# along the lines of what we do for syslog?
2001-07-04 10:10:30 +00:00
foobar
d3eff417f6 fix bug: #11693. Some systems have crypt() in libc. 2001-06-26 14:36:45 +00:00
foobar
c15af25cd4 Check for PHP_SIGCHILD only if any of oracle libs is enabled. 2001-06-24 03:29:50 +00:00
foobar
cc6a1b20fd Moved some messages to the end of configure process so they are easier
to notice.
2001-06-23 10:21:00 +00:00
foobar
4d17d05d31 Fixed bug: #9239, check for IPV6 on netbsd, maybe others 2001-06-14 19:04:57 +00:00
Stig Bakken
fc7d897490 @Added "pearize" script to generate Makefile.in files for PEAR extensions 2001-05-28 11:15:19 +00:00
Jon Parise
311278f273 @ - Fix disk_free_space() and disk_total_space() under FreeBSD. (jon)
FreeBSD defines statfs(2) in <sys/mount.h>.  Teach PHP to look for it there.
2001-05-22 02:45:04 +00:00
foobar
16b94858b6 Fixed bug #10964 2001-05-19 22:21:40 +00:00
Sascha Schumann
e5176fe60a First step towards full libtool 1.4 portability 2001-05-12 12:22:34 +00:00
Sascha Schumann
cf8d1563c2 Remove ltconfig which is not used anymore by libtool 1.4 2001-05-12 11:19:46 +00:00
Sascha Schumann
afdaee9e47 Nuke more quotes 2001-05-12 11:09:05 +00:00
Sascha Schumann
9982ff568a Nuke some unneccessary quotes 2001-05-12 10:33:52 +00:00
Sascha Schumann
7566cf7f27 Fix special treatment of zlib by introducing the Apache concept
of config.m4 hierarchies.
2001-05-11 20:09:31 +00:00
Thies C. Arntzen
25003ea668 4.0.6 is tagged, HEAD is now 4.0.7-dev 2001-05-11 18:03:42 +00:00
foobar
5f20be7315 Moved the zlib configure before other extensions. 2001-05-10 00:57:36 +00:00
Sascha Schumann
dca18dd68b Also remove -L/usr/lib/? from LDFLAGS. 2001-05-09 13:58:31 +00:00
Sascha Schumann
8f3ebfe4a9 Remove -L/usr/lib/? from PHP_LDFLAGS. 2001-05-09 13:57:56 +00:00
foobar
128df6ead7 Fixed: http://www.php.net/bugs.php?id=10733&edit=1 2001-05-08 20:11:46 +00:00
Stig Bakken
dd9792bfae use $PHP_LAYOUT, not $libdir, to determine the extension install layout 2001-05-06 23:16:33 +00:00
Stig Bakken
553df412f2 @Added --with-layout configure option (Stig)
Changed the default php.ini path back to /usr/local/lib.  Use
"--with-layout=GNU" for now to get the new behaviour.
2001-05-06 23:11:58 +00:00
foobar
6398de5a8f Fixed bugs: #10194, #9177. 2001-04-23 07:32:35 +00:00