Commit Graph

281 Commits

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