Commit Graph

644 Commits

Author SHA1 Message Date
Andi Gutmans
82ad916386 - Roll Beta 4 2004-02-12 15:59:18 +00:00
Zeev Suraski
3221aea978 Update configure 2004-02-12 11:47:53 +00:00
Andi Gutmans
eca1fdc821 - Go with b4 RC 1 (Sanity package) 2004-02-12 08:46:02 +00:00
Andi Gutmans
d93f899271 - Change to b4 2004-02-11 11:53:45 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
Derick Rethans
0041a5798b - Fix version number so that people are not mistaking our development
version for RC1.
2003-12-21 18:57:59 +00:00
Zeev Suraski
6ac233f975 B3 here we go (away) 2003-12-21 18:30:57 +00:00
Zeev Suraski
bb531436c8 B3 here we come 2003-12-21 18:26:29 +00:00
Andi Gutmans
d53caa9618 - Make the world a better place.
- Will roll b3 tomorrow.
2003-12-20 21:27:49 +00:00
Andi Gutmans
e7bdc15148 - Prepare for RC2 2003-12-19 13:36:38 +00:00
Andi Gutmans
3573c13552 Roll RC1 of B3 2003-12-17 20:20:34 +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
bdfb58f6c6 - Fixed "make install" when INSTALL_IT is empty, like when configured
with "./configure --disable-cgi" (CLI has it's own build target)
2003-12-04 13:41:48 +00:00
Jon Parise
20658020bd Removing the DB extension warning message. The DB extension is no longer
included in the PHP distribution.
2003-12-03 05:06:04 +00:00
Jon Parise
4f51656de9 Improving the wording of the "don't use the DB extension" warning. 2003-12-02 16:50:02 +00:00
foobar
e01ab8c9cf - Made --program-prefix and --program-suffix work. (See bug #23030) 2003-12-01 15:17:13 +00:00
foobar
f7830195c0 - Fixed bug #26462 (phpize + ext/bcmath -> compile error) 2003-11-29 13:33:34 +00:00
Ilia Alshanetsky
127ed194b7 Added configure check for nanosleep() availability. 2003-11-12 23:43:46 +00:00
foobar
9e0da5e741 Next is beta3.. 2003-10-30 15:14:31 +00:00
Andi Gutmans
b72364ccc1 - Beta 2 2003-10-30 10:00:44 +00:00
Marko Karppinen
074ca45399 Workaround for bug #25955
Generalized a Darwin check in dns.c to a check for inet_pton() (kalowsky)
2003-10-24 17:09:36 +00:00
Ilia Alshanetsky
6fa9efaf4c Don't forget to compile zend_interfaces.c 2003-10-22 21:43:39 +00:00
Marcus Boerger
de8847fc74 We don't have this yet 2003-10-21 08:29:22 +00:00
Marcus Boerger
2c454d7a1f Bugfix #25930 Can't compile snprintf.c 2003-10-21 07:36:43 +00:00
Marcus Boerger
25aa8b715e Added c-api for iterators
# After 4 Month work and endless discussions...
2003-10-17 17:19:44 +00:00
Marcus Boerger
f57043e093 Fix version test 2003-10-07 09:40:39 +00:00
Marcus Boerger
2c2af7c7ef Bugfix #25770 Segfault with PHP and bison 1.875 2003-10-07 09:33:20 +00:00
foobar
db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
Marcus Boerger
a5d829f928 Remove this (part from another patch) 2003-09-14 09:54:19 +00:00
Marcus Boerger
9b98e42f35 - Add length modifiers(ll, j, t, h, hh)
# Still missing formats (%a, %A)
# Still missing modifier (l) in (%lc, %ls)
# Still missing modifier (L) in (%La, %LA, %Le, %LE, %Lf, %LF, %Lg, %LG)
# C99 requires any conversion to be able to produce at least 4095
# characters. Implementation only allows less then 512.
#
# Only inside ext/mbstring etc. we could use %lc and %ls. And none of the
# rest should affect us until we stay with double and avoid long double.
2003-09-14 09:12:54 +00:00
foobar
7429aadf30 - Should fix bug #25295 2003-09-08 13:15:22 +00:00
foobar
ca18b631fd - Should fix some CLI build problems on some systems. 2003-09-08 13:10:10 +00:00
Sascha Schumann
7382178f73 enable re2c check for self-contained extensions 2003-09-02 19:42:17 +00:00
Sascha Schumann
e090d2ddb9 Never overwrite .c files when re2c does not exist. 2003-08-30 07:27:05 +00:00
Jon Parise
34821ed474 Under FreeBSD, statfs(2) requires both <sys/mount.h> _and_ <sys/param.h>.
The autoconf check for <sys/mount.h> was failing because <sys/param.h>
wasn't being universally included.

This gets disk_total_space() and disk_free_space() working again under
FreeBSD.
2003-08-21 06:24:17 +00:00
foobar
296f6f3340 dlfcn.h was not found on Solaris when using forte cc 2003-08-07 12:04:27 +00:00
Sascha Schumann
1b50ca4df6 Fix install-sapi dependency - it should depend on OVERALL_TARGET, of course. 2003-07-02 01:08:26 +00:00
foobar
e5af63a7d5 - Separate CGI build from regular SAPI build
# Creating the libphp5.a lib is not necessary for CGI build.
#
# btw. It would be quite easy to build CGI, CLI and for example Apache SAPI
# the same time.. :)
2003-07-01 17:01:21 +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
George Schlossnagle
9995daebd2 add support for end_reflection_api.c 2003-06-30 20:04:39 +00:00
foobar
8dca948cf9 - Moved the PEAR check after the extensions.
. added checks for the dependancies PEAR has.
- Moved PHP_REGEX checks to ext/standard/config.m4

# If someone knows the reason for PHP_REGEX macro being where it was,
# please tell..
2003-06-30 16:33:50 +00:00
Derick Rethans
913cec6551 - Remove register_globals warning, and "built-in MySQL lib" warning 2003-06-29 15:07:03 +00:00
Edin Kadribasic
2e9c9427ec Move along, nothing to see. 2003-06-27 22:18:06 +00:00
Sterling Hughes
1135af7340 beta 1 2003-06-27 22:09:12 +00:00
Sascha Schumann
dc324648fe Try to link the getaddrinfo test, so that one can disable it using
-Dgetaddrinfo=NO_getaddrinfo.
2003-06-27 07:12:54 +00:00
foobar
e3cd8fac9b - Unified PHP_SETUP_OPENSSL with other PHP_SETUP_* macros. 2003-06-24 14:05:26 +00:00
Wez Furlong
0f971485ac Fix build when builddir != srcdir. 2003-06-23 16:06:37 +00:00
Stanislav Malyshev
e64dbbfda6 default_classes belongs to ZE2 part 2003-06-16 08:32:35 +00:00
Marcus Boerger
de0d3366c1 Fix speling found by Allowee <php@allowee.no-ip.com> 2003-05-24 12:00:03 +00:00
foobar
73415c9e01 - Unbundle libxml and expat. Now this compiles too.. 2003-05-19 15:33:19 +00:00
Sterling Hughes
eab8227e7c beginnings of php5/bundle support 2003-05-02 03:14:00 +00:00
Sascha Schumann
887dfeefec cygwin ships with bison 1.875b, so we need to remove that b here 2003-04-13 20:09:32 +00:00
foobar
b0f630470b --enable-all is not useful at all, removed from help 2003-04-05 17:47:03 +00:00
foobar
392f3c2d7c - Checks specific to some extension belong in the extension's config.m4 2003-04-04 15:42:54 +00:00
Moriyoshi Koizumi
b78e3c5155 Added cmsghdr check. Now sockets extension can be built under cygwin. 2003-04-04 13:02:43 +00:00
Marcus Boerger
f0290a7815 Check for flex version 2.5.4 2003-04-03 20:59:42 +00:00
Marcus Boerger
a90ea73ef8 For now only bison 1.28, 1.35 and 1.75 are working properly 2003-04-02 21:17:16 +00:00
foobar
caac35954b Fixed bug #22987 (missing perror() check in configure) 2003-04-01 15:35:57 +00:00
Moriyoshi Koizumi
f5929a95b2 Improved bison check; now configure accepts 1.28, 1.35, and 1.75 only. 2003-03-29 15:54:19 +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
David Hill
b7bb820782 Correcting checking of flex version (dave) 2003-03-27 18:02:00 +00:00
foobar
2f67648512 Made "--with-pear" "--disable-all"-aware. Plus some cosmetics fixes. 2003-03-25 13:43:13 +00:00
Sterling Hughes
e6dfbc9565 add a standard Exception class. 2003-03-23 04:32:24 +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
70f97c1713 - Always use the shtool mkdir. 2003-03-10 14:32:47 +00:00
foobar
3cfc8a1ecc Create php_version.h in the correct directory 2003-03-07 06:18:17 +00:00
Wez Furlong
1b53a2d12e New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
  . stream_socket_server() - Creates a server socket.
  . stream_socket_accept() - Accept a client connection.
  . stream_socket_get_name() - Get local or remote name of socket.

Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.
2003-02-28 19:53:21 +00:00
Wez Furlong
fd61f69077 Another big commit (tm).
Main Changes:
- Implement a socket transport layer for use by all code that needs to open
  some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
  (currently only supports OpenSSL, but could support other SSL toolkits,
  and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
  removing the link-time requirement for ssl:// and https:// sockets and
  streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
  there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.
2003-02-27 17:43:38 +00:00
foobar
7bd710a658 - Fixed bug #21224 (apache configure fails when using --enable-versioning) 2003-02-25 11:23:09 +00:00
foobar
3efd2b1317 typofix 2003-02-25 07:40:51 +00:00
foobar
e9b5e34005 - Fixed bug #14245 ('make install' fails on AIX when using --with-apxs). 2003-02-25 06:35:43 +00:00
Wez Furlong
e52aac940f Implement simple stream support in the ZE scanners. 2003-02-18 09:37:54 +00:00
Wez Furlong
2cc68ad7ad Move streams files around a bit, to ease maintenance.
I will update the win32 .dsp in a moment.
2003-02-16 22:19:28 +00:00
foobar
f9f4644a84 - Don't add libcrypt if the crypt() function is provided already.
(by libc, like in HP-UX)
2003-02-14 01:27:15 +00:00
Sascha Schumann
1fc7f0d937 supply mandir to makefile 2003-02-11 23:46:39 +00:00
foobar
fdba676769 - Fixed some weird crashes causd by the new default behaviour
of libtool 1.4.3
- Require libtool 1.4.3 or newer from now on.
2003-02-11 21:11:42 +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
foobar
20c43285f7 - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) 2003-01-28 10:59:12 +00:00
Ilia Alshanetsky
d59d500af7 Moved the scandir code into it's own files so that it can be used by other
OSes where libc does not have a native scandir() implementation.
2003-01-27 20:39:31 +00:00
foobar
9b2525f96e remove this stupid highlight which causes trouble. 2003-01-23 06:42:43 +00:00
Zeev Suraski
4c8473d619 relabel 2003-01-19 21:37:40 +00:00
foobar
32eb31719a Fix bug: #21511, config.status warning 2003-01-09 16:37:45 +00:00
Zeev Suraski
d35ddb740e Time for an update 2003-01-09 10:03:26 +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
Edin Kadribasic
d29309eb68 MFB:
Making build system changes according to proposal:
http://news.php.net/article.php?group=php.dev&article=92682
2002-12-19 17:02:40 +00:00
Marcus Boerger
c633abdc7f Fix cli build for cygwin 2002-12-13 10:32:03 +00:00
foobar
8635af07d5 Fixed bug #20298: LDFLAGS were not passed to the static apache module build 2002-12-11 08:41:45 +00:00
Wez Furlong
58210f9232 Centralize fopencookie test 2002-12-09 18:29:07 +00:00
Wez Furlong
5029c73096 Emulate fopencookie on *BSD systems.
Patch mostly from Melvyn Sopacua <msopacua@idg.nl>
2002-12-09 16:14:28 +00:00
Ilia Alshanetsky
467a5f44ec Fixed flex version check. Some lex scanners like Sun's SGU do not appear
to support -V flag, so by passing them data on stdin we prevent them from
sitting idle waiting for stdin data. I've also added some common version
retrieval flags, that may be supported by various lex scanners.
2002-12-02 07:03:00 +00:00
Marcus Boerger
f88aa8045a Highlight "Thank you" 2002-11-26 11:30:08 +00:00
Shane Caraveo
95b4045f48 configure now supports building the cgi-fcgi module
configure --enable-fastcgi
2002-11-26 05:51:16 +00:00
Marcus Boerger
483502fe10 Speling (found by Andi) 2002-11-15 15:35:11 +00:00
Marcus Boerger
4ef6a3af03 db is deprecated now 2002-11-15 11:49:58 +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
Andrei Zmievski
0eea23a4f8 Change version to 4.4.0-dev. 2002-11-13 19:19:05 +00:00
Ilia Alshanetsky
a4e7793e51 Added a flex version check. In the event required flex version is not
available, an advisory warning (similar to bison one) will be given to the
user. This is needed for systems such as Sun OS, where the existing lex
parser cannot be used to regenerate Zend/PHP lexical parsers.
2002-11-11 16:12:56 +00:00
David Reid
e66a760f6b Not all systems have sys/ipc.h so let's check and only include it if we
have it.
2002-11-04 20:08:09 +00:00
Wez Furlong
e95f0f12d1 Don't use autoconf 2.52 macros. 2002-10-29 16:21:53 +00:00
Wez Furlong
f8486bc344 Fix for #19508 by poleson@verio.net. 2002-10-29 14:57:12 +00:00
foobar
af52de3430 - Enable the sed check. (and moved earlier so we can use the $SED everywhere) 2002-10-28 02:13:43 +00:00
Andrei Zmievski
615c033ea8 Back to 4.3.0-dev. 2002-10-27 19:51:17 +00:00
Andrei Zmievski
939de5b8d3 Update to -pre2. 2002-10-27 19:07:45 +00:00
Sascha Schumann
65b79b3595 Define HAVE_LIBDL, if dlopen() was found.
It was tempting to do a complete s/HAVE_LIBDL/HAVE_DLOPEN/ over the
whole code base.  I defer that to a later point in time for now.
2002-10-26 21:28:35 +00:00
Sascha Schumann
2909e5c9c9 centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
2002-10-24 13:15:49 +00:00
Sascha Schumann
6bf422d62e Make PHP compile out-of-the-box with uClibc 2002-10-24 12:21:07 +00:00
foobar
9b72793d03 Possible fix for cygwin detection. 2002-10-23 00:21:43 +00:00
foobar
9d21dd450d - Moved CGI specific lines from configure.in to sapi/cgi/config9.m4
which is 'executed' last of the SAPI config.m4's.
- Added --disable-cgi option. (was possible only with above change)
- Made the sed check to not test for the possibly working sed on Solaris
  since that would make the test quite useless. (compile would still fail)

# That sed check is not enabled yet..need to know whether we fail
# during configure or just put out a warning about possible non-working
# sed. As even plain ./configure doesn't work in most cases, I think
# it would be better to just fail during configure and let the users
# fix their paths/install GNU sed.
2002-10-21 03:12:27 +00:00
Wez Furlong
8d9963b0d8 Add the actual ftok check for Derick :-) 2002-10-20 13:45:59 +00:00
Andrei Zmievski
3b32aa7d33 Back to 4.3.0-dev. 2002-10-10 19:07:12 +00:00
Andrei Zmievski
bb4aefacd0 Update to 4.3.0-pre1. 2002-10-10 17:34:12 +00:00
Andrei Zmievski
6882bdc24b Revert to 4.3.0. 2002-10-08 17:41:18 +00:00
Sascha Schumann
2ad1a1e746 add support for adding /usr/lib to the linkline by default 2002-10-08 02:27:53 +00:00
Andrei Zmievski
f7ef0ccd17 Change HEAD version to 4.4.0-dev. 2002-10-05 20:37:12 +00:00
Rasmus Lerdorf
989a61ed98 As discussed, add --with-config-file-scan-dir compile-time switch defining
a directory which will be scanned for *.ini files after the main php.ini
file has been parsed.  This makes it much easier to automatically deploy
a modular PHP since adding extensions which have their own ini switches can
now be done by simply dropping a foo.ini file in the right directory and
restarting.  A list of parsed ini files is maintained and shown on the
phpinfo page.
2002-10-04 04:47:35 +00:00
Marcus Boerger
614d10a8cb Check for C99 conformance of snprintf.
#This way we force using internal version if a broken library is used.
#E.g. length parameter is broken, return value or default precision wrong.
2002-10-02 12:52:53 +00:00
foobar
47ca8127bb - Revert the removal of dlopen check here.
# Left HAVE_LIBDL undefined for some reason
2002-10-01 02:47:52 +00:00
foobar
8634346e73 - Removed unnecessary dlopen checks. (this is done in Zend.m4 already) 2002-10-01 01:47:09 +00:00
Sascha Schumann
e6e54605b7 Follow Yasuo's suggestion and build sapi program's under the sapi-specific
directory.

Move sapi-specific makefile fragments to their respective directory.

Create an embed sapi module which resides in its own dir now.
2002-09-29 16:22:49 +00:00
Edin Kadribasic
946206f0d2 Added php/embed toolkit for embedding PHP engine into C/C++ applications.
See my post to php-dev on the subject.
2002-09-29 02:45:25 +00:00
foobar
1a747ada4f Fix the errors reported by Melvyn 2002-09-06 17:18:16 +00:00
foobar
3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
Ilia Alshanetsky
116b06d6a5 Added a check for monetary.h needed for strfmon inside string.c 2002-08-21 12:40:40 +00:00
Stig Venaas
c0be355cec Default is enable, so better --disable-ipv6 I guess 2002-08-17 15:53:02 +00:00
Stig Venaas
fcc0380588 Added --enable-ipv6 and only look up AAAA in DNS when enabled 2002-08-17 13:56:39 +00:00
Wez Furlong
ccb5c84b6c Centralize some blocking socket related code.
# It's been a while since I wrote this!
2002-08-09 21:02:36 +00:00
Marko Karppinen
107a9efbd9 Fix the framework support 2002-08-06 22:05:38 +00:00
Marko Karppinen
5611c2fc78 Support compiling and linking against Darwin / Mac OS X frameworks 2002-08-06 16:01:34 +00:00
foobar
6a088a2e3c Fix bug: #18308. (uname -a sometimes has extra linefeeds) 2002-07-23 01:58:52 +00:00
foobar
2fcd502522 This should fix those solaris+gcc bugs when --enable-libgcc is not used 2002-07-23 01:58:02 +00:00
Sascha Schumann
aef27e37e1 Improve/fix handling of --disable-rpath
Might or might not fix #18374
2002-07-20 01:28:56 +00:00
foobar
60ad61def7 We have a macro for checking -R, etc. switches. (exactly same code) 2002-07-17 21:56:40 +00:00
Sascha Schumann
30ed0ca993 Fix the Solaris issue where CPP was set wrongly to "cc -E", because
the AIX macro invoked the CPP check before the CC check, so that
autoconf did not know which $CC to use.

You can now close all those bug reports about unix.h and misdetected
headers.
2002-07-05 06:07:53 +00:00
Sascha Schumann
af3871e44c Remove remainings of bsd_makefile 2002-07-05 06:02:19 +00:00
Sascha Schumann
ad198758ed 1. PHP_CHECK_FUNC(func, lib1, lib2, ..., libn) searches for
func and __func using LIBS, and if unsuccessful, searches
   each specified lib.  Defines HAVE_FUNC, if found.  If func/__func is
   found in library foo, HAVE_LIBFOO is defined.

   (Jani, me)

2. Autoconf 2.5x is more pedantic regarding locating header files.
   We include the proper header files now in the check. (me)

3. The nsl/bind/socket/etc checks have been rewritten using PHP_CHECK_FUNC.
   This ensures that no extra library is used, if the symbol is
   available in libc which avoids issues on BSD/OS, OpenBSD and others.
   (Jani)
2002-07-04 21:07:08 +00:00
Sascha Schumann
03c034b6d6 Avoid error messages, if the variable is empty.
./config.status: test: !=: unary operator expected
2002-07-02 09:31:33 +00:00
Marko Karppinen
7cd7c55148 In Darwin we have this thing called two-level namespace 2002-07-01 18:19:27 +00:00
foobar
08b1d08008 - gethostname() is found in glibc (at least on Linux) and the yp_* funcs
are in libnsl. Fixes bug: #17941
2002-06-24 14:36:09 +00:00
Andi Gutmans
faa4f23a68 - Add zend_mm.c 2002-06-16 17:38:19 +00:00
Edin Kadribasic
acae873a6b Disable installing pear when --disable-cli is used since pear installer
needs cli to function.
2002-06-11 09:35:59 +00:00
Stig Bakken
40ab700677 @New constants: PHP_PREFIX and PHP_SHLIB_SUFFIX (Stig) 2002-06-07 12:19:26 +00:00
Stig Bakken
2bc921c60a * get rid of pearize 2002-06-07 10:17:25 +00:00
Andi Gutmans
f8a3bc3fdd - Fix build with Engine 2 2002-06-01 11:38:41 +00:00
Sascha Schumann
9d17c42d77 some versions of autoconf pad CONFIG_FILES with a single space.
accomodate that

Thanks to Cliff Woolley
2002-05-14 20:53:33 +00:00
Edin Kadribasic
3e42446692 Fixed "make install" when compiled with --disable-cli option. 2002-05-10 18:38:21 +00:00
foobar
1d4753755d Fix 'php-config --version' 2002-05-09 12:06:44 +00:00
Rui Hirokawa
a627c674c5 Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto. 2002-05-08 13:47:39 +00:00
Zeev Suraski
d0ae80a9de Update comment 2002-05-02 14:05:26 +00:00
Sascha Schumann
830f094933 Readd warning
If Mr. Taskinen feels like removing it again, he can commence a
discussion.  Otherwise, I'll personally disable his CVS account
immediately.
2002-05-02 13:21:38 +00:00
Sascha Schumann
a79e2de3a7 in6addr_any is defined as extern in IRIX header files, but is not actually
contained in any library (sigh).

Make this check fail, if the link stage does not succeed.  Also avoid
GCC optimization which drops the reference to ip6addr_any.

Tested on IRIX 6.5.15.
2002-05-02 13:12:44 +00:00
foobar
5035904efc Remove bogus warning. 2002-05-02 08:31:55 +00:00
Sascha Schumann
303b62ae47 Add a big disclaimer regarding register_globals. It just bit me again
but now on a live customer site :-/
2002-05-01 13:34:05 +00:00
Sascha Schumann
5662171f0c reuse known values 2002-04-26 10:17:40 +00:00
foobar
5aed99b456 ws fix 2002-04-23 22:45:51 +00:00
foobar
50f91c18fb Part 2 of static apache build fixes:
- Added 2 variables to be used in libphp4.module
  o Apparently autoconf 2.53 screws abs_srcdir
- Made INCLUDES and EXTRA_INCLUDES available to be used with AC_OUTPUT()
  o Not related to the static apache build issues
2002-04-23 02:51:17 +00:00
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