Commit Graph

339 Commits

Author SHA1 Message Date
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