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
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
Rasmus Lerdorf
fd57b9e15f
Uh, weird typo. Wonder when that crept in.
2001-04-23 06:00:43 +00:00
Stig Bakken
39796b7613
* don't override $libdir and $datadir if they are specified on the
...
commandline
2001-04-22 01:16:25 +00:00
Stig Bakken
2cf1b8d345
* expanded the following constants and made them available in PHP:
...
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
2001-04-22 01:09:14 +00:00
Wez Furlong
2a26be63a0
Added --enable-php-streams option for experimental file abstraction
2001-04-17 17:01:33 +00:00
Sascha Schumann
466c226415
Revert mega patch.
...
This patch has at least the following deficiences:
- the CGI is built using objects from another SAPI module.
This usually results in unsatisfied symbol references.
- the CGI makefile is not created properly
- building CGI cannot be disabled
2001-04-09 15:47:19 +00:00
Sascha Schumann
846d6b1536
Fix current CVS breakage
2001-04-09 11:35:10 +00:00
Stig Bakken
a4877d7afd
* CGI version is always installed!
...
* replaced --disable-pear with --with-pear=DIR (or --without-pear),
is backwards compatible
* use --datadir, --libdir and --sysconfdir configure options to determine
where PEAR files, shared extensions and php.ini goes
* simplified the extension version directory name
2001-04-08 22:30:17 +00:00
Jon Parise
1f451daf54
Fix expansion of PEAR_INSTALLDIR.
2001-04-06 16:01:20 +00:00
foobar
d9b309fdfa
This branch is 4.0.6-dev..
2001-04-04 20:52:44 +00:00
Wilfredo Sanchez
0df6e8dd88
Add INSTALL_ROOT variable to specify install location.
2001-04-03 20:59:50 +00:00
foobar
6c55672dfd
Make file() work again.
...
# For some reason if libbind is linked with PHP the file() function
# won't work with URLs. Do we even need libbind?
2001-03-28 22:30:21 +00:00
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
foobar
badb701caf
Fixed the problem with libbind (again).
2001-03-26 21:34:59 +00:00
Stephen van Egmond
cd1b11d2b7
Added configuration for detecting the BeOS thread implementation
...
(which will be used once I get my patches into Zend to use bthreads).
Also, a check for a library distributed with the new BeOS networking
environment.
2001-03-23 04:56:51 +00:00
Ben Mansell
08df6f9b67
@ New FastCGI server module
...
New FastCGI server module. Based on the thttpd server module with
large chunks of code ripped from the cgi module. Also modifies
Makefile.in and configure.in in order to make it build properly.
# This initial checkin has been tested with the Zeus web server,
# but should work with any server that has a correct FastCGI
# implementation.
2001-03-19 11:03:29 +00:00
foobar
ab560941ee
This should fix problems in systems without libbind.
2001-03-16 07:13:06 +00:00
foobar
85980139b2
Check for inet_aton only if libbind is not found (or inet_aton is not in
...
libbind). Fixes bug: #8814
2001-03-11 03:46:24 +00:00
Sascha Schumann
34cb5dff68
Replace AM_PROG_LEX with a separated call to AC_PROG_LEX and AC_DECL_YYTEXT.
...
The latter is only called, if lex was found, so that PHP configures now
on setups without (f)lex.
2001-03-06 16:51:53 +00:00
Andi Gutmans
a0d3c5a88e
- Finally rename modules.h to zend_modules.h for consistency (first try
...
was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
are included via zend_API.h
2001-02-26 18:14:50 +00:00
Sascha Schumann
637e8e14aa
There might be more systems which do not support chroot, so we check
...
for the existence of it.
Additionally, if chroot is not supported, the warn_not_available function
is invoked now.
2001-02-15 05:21:27 +00:00
Stephen van Egmond
b2067a1839
Added tests for arpa/nameser.h and resolv.h, which don't exist on the BeOS.
2001-02-06 00:03:44 +00:00
John Donagher
c256b323a2
PR:
...
Remove --with-pfpro warning. Verisign has released a beta SDK which corrects
the problem.
2001-01-28 00:16:55 +00:00
John Donagher
01f800b740
PR:
...
Submitted by:
Reviewed by:
Obtained from:
Add configure warning message when compiling --with-pfpro
2001-01-27 21:05:40 +00:00
Rasmus Lerdorf
83cf6629ec
@BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
...
BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
2001-01-21 17:29:15 +00:00
Sascha Schumann
91b0e1a7a8
Fix vpath builds on freebsd
2001-01-17 12:32:45 +00:00
Sean Bright
19689013de
Updated configure.in to look for strcoll()
...
# Woopsie.
2001-01-17 01:15:11 +00:00
Sean Bright
40f3524247
Added localeconv() function. Operates similarly to localeconv() defined in
...
locale.h. Should work well under non-ZTS as well as ZTS.
2001-01-14 16:36:30 +00:00
Stig Venaas
30441cda5b
Simplified code a bit, added detailed error reporting, and fixed a bug
...
when getaddrinfo returned a non-IP family before IP families
2001-01-13 11:48:47 +00:00
Stig Bakken
a929ef223b
* renamed PEAR scripts
...
* set localstatedir
2001-01-10 01:34:40 +00:00
Stig Venaas
742d339d93
Changed OpenSSL requirements from 0.9.6 to 0.9.5
2001-01-07 21:21:12 +00:00
Jon Parise
7c4e41f855
Fix the substitution of PEAR_INSTALLDIR. (@PEAR_INSTALLDIR@ in pear/PEAR.php.in)
2001-01-05 18:37:01 +00:00
foobar
3cb57374a8
Added missing ieeefp.h. (This is needed e.g. by nsapi on some systems)
2001-01-05 11:07:52 +00:00
Sascha Schumann
9defdc6fbb
Pass some more variables to AC_SUBST as those are needed for Apache 1.3's
...
libphp4.module.in.
2000-12-23 13:17:36 +00:00
Sascha Schumann
e6f9ea5158
Some AC_SUBST substitutions were removed which are still needed.
...
Submitted by: Andrei Zmievski
2000-12-21 05:26:45 +00:00
Sascha Schumann
7f96af83b2
Stop automatically passing vars to AC_SUBST through PHP_SUBST.
...
There are some variables which are needed for Makefiles and files
created by AC_OUTPUT; we use PHP_SUBST_OLD for those now.
genif.sh was moved to an appropiate place.
2000-12-20 17:21:37 +00:00
Sascha Schumann
060e647e5e
Speed up the genif.sh script a little bit. Whereas it took three seconds
...
previously, it takes now about 100ms on a P233.
2000-12-20 16:29:07 +00:00
Sascha Schumann
80e1124c21
New m4 macros should go into acinclude.m4.
2000-12-14 17:29:38 +00:00
Sascha Schumann
6c0ed47a6c
Enable libgcc, if we are building on Solaris with GCC.
2000-12-07 16:34:37 +00:00
foobar
5e4817ec5d
Added note that openssl 0.9.6 is required.
2000-12-07 10:44:16 +00:00
foobar
417309262b
The new openssl extension requires OpenSSL version >= 0.9.6
2000-12-07 00:22:36 +00:00
Sascha Schumann
15c53ba23c
Use the hardly-documented third parameter of AM_INIT_AUTOMAKE to suppress
...
defining PACKAGE/VERSION.
2000-12-02 13:26:03 +00:00
Sascha Schumann
182724f477
Branched off 4.0.4. This trunk becomes 4.0.5-dev.
2000-12-02 08:21:10 +00:00
Sascha Schumann
84f8310e9a
Always add top_srcdir to the header file search path.
2000-11-28 01:20:21 +00:00
Sascha Schumann
0644641616
Move build-defs.h(.in) and php_config.h to main
2000-11-27 13:27:51 +00:00
Stig Venaas
5d7a485cd7
OpenSSL checking didn't work well, should be better now. Removed check
...
for include/evp.h, are there versions around that put it there? Recent
versions have it in include/openssl.
2000-11-13 19:13:41 +00:00
Stig Venaas
273422f277
Moving --with-openssl to global configure, want OpenSSL for not just snmp
2000-10-28 18:26:45 +00:00
Stig Venaas
b3ab7b8948
Removed a warning in getaddrinfo check, not really needed
2000-10-26 20:39:57 +00:00
Sascha Schumann
5b7ff6f72a
Provide name of libtool archive.
...
Apache 2.0's apxs prefers that.
2000-10-26 18:00:30 +00:00
Stig Venaas
5fc85205d9
Check that AF_INET6 is defined before using IPv6
2000-10-19 12:18:02 +00:00
Daniel Beulshausen
afef79762d
step to 4.0.4-dev
2000-10-13 09:29:49 +00:00
Hartmut Holzgraefe
cae27179ce
fopen wrappers cleanup
...
- comfiguration is now done by an ini parameter
instead of a compile time option
- the implementations of the three standard wrappers
now live in seperate files in ext/standard
- the compiler is happy again, no more warnings
2000-10-13 00:09:31 +00:00
Zeev Suraski
57a5bbd387
Go with 4.0.3
2000-10-11 17:31:34 +00:00
Andi Gutmans
acc4a8ed6d
- Package RC2
2000-10-03 17:08:41 +00:00
Rasmus Lerdorf
b189759bcd
Clean up the alignment of configure --help output
2000-10-02 17:36:01 +00:00
Sascha Schumann
a2f126c351
Build compat bridge for makes which support only the BSD .include command.
...
This is only required for BSD/OS, because BSDI did not merge in changes
from 4.4BSD Lite 1.
2000-09-26 11:19:38 +00:00
Sascha Schumann
ade9a02eef
Don't restore timestamp on internal_functions.c, otherwise rerunning
...
configure will cause config.status to be run again during make
(due to the rule in main/Makefile.in).
2000-09-19 17:36:36 +00:00
Stig Venaas
6ccbc0d37d
A tiny fix to the getaddrinfo check
2000-09-10 09:35:48 +00:00
Stig Venaas
b32ff568e6
refining getaddrinfo check further, checking that struct addrinfo is there
2000-09-10 08:09:21 +00:00
Stig Venaas
f802468c2a
More restrictive getaddrinfo check, better not find it than breaking builds
2000-09-09 12:09:43 +00:00
Zeev Suraski
67f59f7b40
Check for mkstemp()
2000-09-09 11:54:04 +00:00
Stig Venaas
f68fb8fad2
Better IPv6 checking
2000-09-07 17:56:12 +00:00
Stig Venaas
504d44366c
Added check for getaddrinfo()
2000-09-05 15:35:52 +00:00
Andi Gutmans
622b72086b
- indent before someone shoots me
2000-09-02 15:26:13 +00:00
Andi Gutmans
5f3d935920
- Change TSRM_OTHER macro to TSRM_THREADS as it should be only to check
...
for threads
2000-09-02 15:24:18 +00:00
Andi Gutmans
7ee05bc6b0
- Always include TSRM in PHP build. This will enable us to move virtual
...
- cwd to TSRM.
- BTW, if I comile with --enable-experimental-zts not from php4/ but from
- php4/cgi (ran ../configure there) then the build doesn't work also b4
- this patch.
2000-08-31 23:43:51 +00:00
Andrei Zmievski
ee222667e3
Start on 4.0.3-dev. [placeholder] in NEWS is for automated nightly NEWS
...
file update script, it'll be removed after the first entry is there.
2000-08-29 19:44:44 +00:00
Zeev Suraski
3a10285392
Go 4.0.2
2000-08-29 15:49:44 +00:00
Stig Bakken
fad9bab629
* Added "test" make target so you can do "make test" in any directory.
...
* Added copyright header to run-test.php
2000-08-29 09:12:44 +00:00
Sascha Schumann
e0818297f1
Add autoconf check for awk and use proper macro $(AWK)
2000-08-25 08:15:10 +00:00
Rasmus Lerdorf
cb3ffd56eb
Slight Darwin tweak from Fred
2000-08-22 00:27:17 +00:00
Sascha Schumann
55801d5330
Set abs_srcdir before SAPI modules' configure stuff is run.
2000-08-07 13:24:06 +00:00
Sascha Schumann
23ebf6e916
Include <utime.h> in php_virtual_cwd.h.
2000-08-06 17:42:54 +00:00
Sascha Schumann
2c42094494
Clean up the mess WRT rebuilding a limited set of files.
...
Earlier changes were based upon a wrong assumption (that CONFIG_FILES
could be relied upon).
2000-07-26 14:53:54 +00:00
Joey Smith
017a843f0a
OK, got ahead of myself. Go back to where we started this morning.
2000-07-26 11:33:56 +00:00
Joey Smith
4e3f7a44da
OK, the fastgen stuff should be working OK, and normal configure should, too.
...
There is an annoying warning being generated due to null 1st arg to AC_OUTPUT,
but I don't know what to do a/b that.
2000-07-26 11:04:07 +00:00
Joey Smith
69a075136f
Make configure work again.
...
CONFIG_FILES is broken again, tho. (I think).
Will work with Stig to try and figure this out.
2000-07-26 10:43:40 +00:00
Stig Bakken
bf470dfe6c
Finally fixed so config.status can regenerate single files without
...
doing the whole fastgen and warning message whoopla again. Whee!
2000-07-25 11:25:05 +00:00
Stig Bakken
fbc947f43f
* generate pear scripts properly with configure
2000-07-24 23:55:34 +00:00
Stig Bakken
7bb67a6200
@Set default include_path so PEAR files can be reached (Stig)
2000-07-18 11:02:28 +00:00
Sascha Schumann
1722999310
Substitute CXX_PHP_COMPILE. Compiling C++ source files works now.
2000-07-10 09:10:40 +00:00
Sascha Schumann
e51571595c
Add support for building C++ sources.
...
In your extension's config.m4, you need to use the m4 macro
PHP_REQUIRE_CXX
This shall be called only, if your extension is enabled.
C++ source files shall not be put into the LTLIBRARY_SOURCES macro.
Instead, the filename of the object shall be put into
LTLIBRARY_OBJECTS_X. I.e. if your extension foo consists of foo.cxx, use
LTLIBRARY_OBJECTS_X = foo.lo
2000-07-09 20:39:18 +00:00
Thies C. Arntzen
4e5597e061
welcome 4.0.2-dev
2000-06-29 17:37:58 +00:00
Zeev Suraski
16c363182d
TRACK_VARS is really no longer necessary...
2000-06-26 17:11:28 +00:00
Zeev Suraski
3998034acb
Update to 4.0.1
2000-06-22 18:35:09 +00:00
Sascha Schumann
de5e2a58df
Add alloca.h check
...
Remove some unused header checks
2000-06-21 21:49:33 +00:00
Zeev Suraski
35e3efbd41
Warn about using the built-in MySQL library
2000-06-20 22:12:22 +00:00
Hartmut Holzgraefe
21785afbe8
fix for BUG #5066
2000-06-16 22:08:50 +00:00
Andrei Zmievski
59b455cf2f
@- Updated strtotime() to handle many more formats. It now has complete
...
@ feature parity with GNU date command. (Andrei)
2000-06-15 16:24:10 +00:00
Egon Schmid
190e2e73e9
Fix for #5028 .
2000-06-14 11:51:43 +00:00
Sascha Schumann
6ebdd64d3c
Fix spelling
2000-06-13 07:49:17 +00:00
Zeev Suraski
c250702c40
Lets not offend anyone :)
2000-06-12 15:55:15 +00:00
Sascha Schumann
fd7153b0f3
Change directory name from core to main.
2000-06-11 18:51:17 +00:00
Sascha Schumann
6df3a21309
Prepare move of the top-level source files to the core directory.
2000-06-11 18:16:37 +00:00
Sascha Schumann
b8063c342c
Separate creating config_vars.mk and generating Makefiles.
...
This change enables you to regenerate Makefiles by running config.status.
2000-06-11 10:38:37 +00:00
Sascha Schumann
8e3fdccb8d
Define _POSIX_PTHREAD_SEMANTICS on Solaris by default.
2000-06-10 10:10:23 +00:00
Sascha Schumann
8f58728e2b
Real fix for std_syslog issue on OpenServer. This is limited to the native
...
development system (/bin/cc and icc) and does not show up with the UDK.
2000-06-09 17:21:40 +00:00
Sascha Schumann
e49ad341bd
Wipe out acconfig.h.in and rewrite some checks to use PHP_ARG_ENABLE.
2000-06-08 06:14:58 +00:00
Sascha Schumann
950e7224ad
Back out the last change by Andi which caused TSRM to be always configured.
...
This needs to be refined. It caused breakage on several platforms.
2000-06-04 15:34:31 +00:00
Andi Gutmans
45cfada9a1
- Make TSRM always compile into PHP. We can now move virtual_cwd over here.
...
- We might not want to compile TSRM.c in case we are on a platform which
- doesn't support threads. Sascha? What do you think?
2000-06-02 08:51:50 +00:00
Sascha Schumann
1e56dd781a
Make use of already existing macro PHP_PROG_SENDMAIL
2000-05-31 20:44:04 +00:00
Andi Gutmans
0ebb7335c9
- This should have been done for 4.0.0.
...
- Default build is without debug now. Use --enable-debug if you want a
- debug build which includes leak/memory overwrite etc. detection
2000-05-28 17:39:30 +00:00
Sascha Schumann
c3bff72209
Add -traditional-cpp for Rhapsody and -D_BSD_TIMEOFDAY_FLAVOR for DG/UX.
...
Also fix the search path for sendmail.
2000-05-24 17:31:16 +00:00
Sascha Schumann
25df65b0b8
Support old-style readdir_r()
2000-05-24 11:06:57 +00:00
Sascha Schumann
2aaa538aef
Use reentrant version of readdir. If the target platform does not support
...
the POSIX-like readdir_r, we fall back to readdir. In ZTS mode, this will
cause php_readdir_r calls to be serialized.
2000-05-23 15:13:16 +00:00
Thies C. Arntzen
61ceb9e5ab
bump version to 4.0.1-dev
2000-05-23 07:49:23 +00:00
Thies C. Arntzen
674f4bac47
added new option "--enable-sigchild" (default is off)
...
when using this option php will setup it's own SIGCHLD handler.
when using oracle-libraries >= 8.1 on linux you need this option
if you are connecting using the BEQ interface - elsewise you will
see <defunc> processes whenever a php-script disconnects from oracle.
2000-05-18 19:45:34 +00:00
Zeev Suraski
7e0a18d014
Package 4.0.0
2000-05-18 17:43:19 +00:00
Sascha Schumann
f04936f8a1
Make the shared library suffix dynamic. Improve workaround for libtool's
...
inflexibility WRT -avoid-version to support various numbers of .0
2000-05-18 11:35:17 +00:00
Sascha Schumann
b458902704
Fix workaround for systems where libtool cannot handle -avoid-version
...
correctly.
2000-05-18 10:36:35 +00:00
Sascha Schumann
db3d16dca1
Add debug.log facility. If there are any obscure bugs in our build system,
...
this will give us enough information to find and fix it.
2000-05-17 19:08:44 +00:00
Andrei Zmievski
08ff225a46
@- Improved round() to allow specification of rounding precision.
...
@ (Andrei, Todd Kirby <kirbyt@yahoo.com>)
2000-05-17 12:50:04 +00:00
Sascha Schumann
c20fb0c22d
Fix pointer to FAQ entry.
...
PR: #4451
2000-05-15 17:13:03 +00:00
Sascha Schumann
8ab33a4d13
Use "mkdir -p" instead of "test -d || mkdir" where possible
2000-05-15 16:02:43 +00:00
Sascha Schumann
873df0ae89
Libtool creates libphp4.so.0.0 on at least AIX and FreeBSD 2.2.
...
This hack will catch the resulting shared library anyway.
The Right Way to approach this is to fix libtool to properly
handle -module on all platforms.
2000-05-07 04:42:04 +00:00
Sascha Schumann
ec9612aa44
This change addresses an issue on systems which cannot link against libnsl
...
and libsocket, resulting in segfaults. If yp_get_default_domain is
available after checking for libsocket, we assume we do not need libnsl
anymore.
2000-05-06 23:26:41 +00:00
Sascha Schumann
17b84ad7e7
Planning for 4.0RC2 on Monday
2000-05-06 01:48:35 +00:00
Sascha Schumann
30f6031bfa
Fix a bug introduced when the SAPI checks were moved.
...
INCLUDES were overwritten, so i.e. APXS builds failed.
2000-05-05 11:39:41 +00:00
Sascha Schumann
f51b56cfed
Move dlopen in -ldl check to configure.in. This should ensure that if libdl
...
exists, it will be always found. We define HAVE_LIBDL now always, if the
function dlopen is found.
2000-05-05 11:23:12 +00:00
Sascha Schumann
a88946c70d
Install extensions in different directories, so that users can have
...
various PHP installations with different parameters.
2000-05-04 11:57:59 +00:00
Sascha Schumann
d0f3764ee2
Change reentrancy API to always use the php prefix.
...
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
2000-05-04 10:38:17 +00:00
Sascha Schumann
b6e4841ec7
Determine first whether we will use ZTS mode or not.
...
This is important, because the system checks will yield different
results depending on whether POSIX threads are enabled or not.
We also use PTHREADS_CFLAGS only in ZTS mode now. Using these flags
in non-ZTS mode causes complete build failures on some platforms
(i.e. FreeBSD 2.2.x). This will cause harmless warnings on some
platforms (i.e. Solaris 2).
2000-05-04 09:42:27 +00:00
Sascha Schumann
fca9539d63
Preset extension_dir to the installation directory of PHP modules.
...
This effectively means that dl() will work without having an installed
configuration file.
2000-05-02 14:46:20 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00