Sascha Schumann
77fb7d2b64
Write configuration parameters into `config.nice', so you can redo the
...
same configuration with exactly one command.
2000-03-07 18:05:16 +00:00
Sascha Schumann
1ceb19f196
Use threads.m4
2000-03-07 13:27:37 +00:00
Sascha Schumann
3bfe29fddb
Support HP-UX 10.x non-standard time-related reentrant functions
2000-03-03 16:10:38 +00:00
Sascha Schumann
c5977f6503
AD_ADD_LIBRARY_DEFER allows people to add libraries in a deferred way
...
(needed for imap and recode)
2000-02-29 13:02:29 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Stig Bakken
d23e5d837a
@- Implemented default_charset and default_mimetype config directives (Stig)
...
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
2000-02-25 21:27:03 +00:00
Thies C. Arntzen
a8c7a9deb8
bump version number
2000-02-23 18:57:08 +00:00
Sascha Schumann
da8c6bea46
Proper check for getrusage(), it somehow disappeared.
2000-02-23 13:57:06 +00:00
Zeev Suraski
a763da63ad
Prepare a package
2000-02-21 16:34:50 +00:00
Thies C. Arntzen
ef1ea9c895
the next baby is likely to be RC1, but...
2000-02-21 11:02:02 +00:00
Zeev Suraski
021836efcb
Go B4, go!
2000-02-20 21:30:33 +00:00
Zeev Suraski
43819ff6b2
*** empty log message ***
2000-02-19 22:45:49 +00:00
Sam Ruby
e6c203832e
First step to restoring the ability to build Java support on Unix:
...
1) Restore the ability to build CGI as a shared library
2) Correct make dependency rule so that the jar files are included
3) Search for jar executable, and use it, if found
Left TODO: actually build the shared libraries
2000-01-19 14:45:26 +00:00
Sascha Schumann
c658fc5cbd
Only suppress including dlfcn.h when we are in PHP.
2000-01-12 19:56:12 +00:00
Sascha Schumann
da67577ed3
Avoid including dlfcn.h, if we are compiling as an Apache module.
2000-01-12 19:44:35 +00:00
Sascha Schumann
2fd8cbff2a
Declare timezone only, if the system fails to do so.
2000-01-01 02:22:01 +00:00
Sascha Schumann
48c35eaeaa
Define to 1
1999-12-30 08:03:55 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Sascha Schumann
0ef049d707
Remove --enable-low-memory, and preserve LIBS from TSRM
1999-12-24 15:47:44 +00:00
Sascha Schumann
81913fc35c
Clear LIBS as well, otherwise later linking checks (TSRM) might fail
1999-12-22 22:38:10 +00:00
Sascha Schumann
a1160a3eb9
Add TSRM's LDFLAGS to EXTRA_LDFLAGS
1999-12-22 22:24:20 +00:00
Sascha Schumann
23f92bfa20
Limit _POSIX_PTHREAD_SEMANTICS to Solaris, and stop appending -O2. This
...
is automatically done by autoconf's AC_PROG_CC.
1999-12-22 21:02:31 +00:00
Sascha Schumann
23e5aedd37
Move TSRM checks, so that additional flags can be considered
...
@- Added GNU Pth support (Sascha, TSRM library)
1999-12-21 18:04:31 +00:00
Sascha Schumann
a31237a21f
Only add additional include paths, if building in a separate directory
...
(cosmetic change)
1999-12-21 02:35:07 +00:00
Sascha Schumann
2e07f02451
Propagate ZTS setting correctly
1999-12-21 00:15:51 +00:00
Sascha Schumann
724e4e2259
Fix typo
1999-12-20 08:10:38 +00:00
Zeev Suraski
4d2b0715d1
libzend -> Zend
1999-12-19 21:02:54 +00:00
Sascha Schumann
b4b39c6886
Fix broken sprintf handling in PHP
1999-12-19 20:08:40 +00:00
Sascha Schumann
48fb8ba3cd
Refine PEAR option. Since it does not reference anything external, it should be
...
AC_ARG_ENABLE instead of AC_ARG_WITH.
1999-12-19 13:59:29 +00:00
Andrei Zmievski
ce10927efb
Added --without-pear option.
1999-12-18 23:25:55 +00:00
Sascha Schumann
13b2c79f6a
Remove passthru, it is not needed anymore
1999-12-17 14:36:53 +00:00
Sascha Schumann
a4c484a4d8
Build structure change. Instead of using an external configure for libzend
...
and TSRM, the core code of these configures was separated into extra m4
files which we can now include into PHP's configure. Advantages:
- better integrated
- faster
- distribution becomes smaller (only one set of libtool files)
1999-12-17 14:28:35 +00:00
Sascha Schumann
7365698268
Moving APXS-specific checks into respective config.m4. The placement of
...
`%APXS -q..` caused error messages, if APXS was not used.
1999-12-11 17:48:41 +00:00
Andrei Zmievski
be197551c7
Revert the patch.
1999-12-07 18:18:17 +00:00
Rasmus Lerdorf
7284ec7ab4
Add check for broken apxs script
1999-12-07 16:52:13 +00:00
Andrei Zmievski
4f52bab52f
Need to check for __inet_aton on Solaris.
1999-12-07 16:26:42 +00:00
Sascha Schumann
7ac99e5aa3
Move it to the right place
1999-12-07 15:22:49 +00:00
Sascha Schumann
b47cb50ccd
Separate libpaths into PHP_LDFLAGS, so that we can address them
...
separately (required for Apache build).
1999-12-06 15:32:01 +00:00
Sascha Schumann
f2a090c6f1
Add rpaths to LDFLAGS during configure, drop them later.
1999-12-05 22:41:08 +00:00
Sascha Schumann
9417570dc1
Prepend added libraries and separate LDFLAGS handling
1999-12-05 16:24:20 +00:00
Sascha Schumann
68aa4997e3
Create ``libs'' subdirectory as the current user and add /usr/ucblib
...
always to the libpath, if it exists (#2752 ).
1999-12-04 19:56:08 +00:00
Sascha Schumann
7fc583f7ff
Don't overwrite EXTRA_LIBS, some ext config.m4s access it directly
1999-12-04 18:20:55 +00:00
Sascha Schumann
d1820e47af
Use LIBS instead of EXTRA_LIBS, so that inter-library dependences can
...
be tested for using standard autoconf macros.
1999-12-04 18:03:00 +00:00
Sascha Schumann
b978a64ebb
Check for htonl in libsocket (sol251), and move inet_aton check in libbind to configure.in, so that our later AC_CHECK_FUNCS(inet_aton) will find inet_aton in libbind (if it is there).
1999-12-04 13:16:04 +00:00
Sascha Schumann
689265145a
Fix for #2909
1999-12-03 22:08:32 +00:00
Sascha Schumann
7c43bda4fb
inet_aton is in libresolv on Solaris 2.5.1
1999-12-03 18:53:41 +00:00
Sascha Schumann
f19426e412
Solaris needs -D_REENTRANT to define prototypes for localtime_r etc.
1999-12-03 15:12:20 +00:00
Sascha Schumann
ebaeb919da
Add check for socklen_t (we cannot use AC_CHECK_TYPE, because socklen_t
...
is defined in sys/socket.h).
1999-12-03 14:50:32 +00:00
Stig Bakken
a8f71d621f
Add configure command to phpinfo() output (Stig)
1999-12-03 13:31:41 +00:00
Stig Bakken
2467dd6d05
@Fix some warnings when compiling in maintainer-mode (Stig)
...
@Made mysql and gd work as shared extensions again (Stig)
- Fixed some warnings in maintainer-mode.
- Made mysql and gd work as shared extensions again by defining
COMPILE_DL if PIC is defined.
# We need a better solution for building .so extensions than this
# PIC/COMPILE_DL hack!
1999-12-01 22:59:45 +00:00
Sascha Schumann
adf12b60d3
Add '--enable-low-memory' option.
1999-11-30 21:22:02 +00:00
Stig Bakken
d9eb533c80
@Renamed "PECL" to "PEAR" (PHP Extension and Add-on Repository).
...
Renamed "PECL" to "PEAR" (PHP Extension and Add-on Repository).
New name courtesy of Peter Bowen <pzb@ARISTOTLE.ORG>.
1999-11-28 23:01:57 +00:00
Sascha Schumann
64a9858874
Test for PHP_THREAD_SAFETY
1999-11-27 12:04:14 +00:00
Sascha Schumann
c73e2731c7
PERL_PATH is used nowhere
1999-11-27 11:58:16 +00:00
Sascha Schumann
e4812c0fa3
Add --enable-experimental-zts
1999-11-27 11:33:13 +00:00
Sascha Schumann
56a9e10b73
Enable _POSIX_THREAD_SEMANTICS for all configurations testwise
1999-11-26 21:45:57 +00:00
Sascha Schumann
524f0b1b0a
- move strtok_r into reentrancy.c
...
- add rand_r()
1999-11-26 17:33:53 +00:00
Sascha Schumann
35b30a8d0c
Add reentrant versions of ctime, localtime, gmtime, asctime.
...
These cannot be implemented platform-independent, so we fall back to the native
non-reentrant versions, but lock during each access (only if ZTS is used).
To initialize/destroy the used data structures, you need to call
reentrancy_startup() before sapi_startup(), and reentrancy_shutdown() after
sapi_shutdown().
1999-11-26 17:07:41 +00:00
Sascha Schumann
9fc9502ecc
Add strtok_r replacement function from FreeBSD-current.
1999-11-26 13:34:02 +00:00
Sascha Schumann
6a25e05d95
Only create regex/Makefile, if we use the bundled regex library
1999-11-23 19:54:51 +00:00
Stig Bakken
541087d17a
@Introduced PECL - PHP Extension and Code Library (prounounced "picke")
...
Introduced PECL - PHP Extension and Code Library (prounounced "picke"), in
the "pecl" subdir. "make install" will now install the database abstraction
layer in PREFIX/lib/php.
I hereby dedicate this part of PHP to my daughter-of-yesterday Malin. :-)
1999-11-22 11:00:53 +00:00
Sascha Schumann
51c83e9f4b
--enable-versioning can now be used with CGI/AOLserver as well. Note that
...
we do not use versioning per se anymore, but export only the required
symbols.
1999-11-20 19:00:17 +00:00
Sascha Schumann
b416e57770
Remove --enable-thread-safety. There is no reason people should be able
...
to set this manually; most likely, they will burn themselves by using it.
1999-11-17 21:06:32 +00:00
Thies C. Arntzen
927260bf57
b3 is already tagged in CVS
1999-11-17 09:38:21 +00:00
Stig Bakken
65557ffe88
4.0b3 coming up
1999-11-16 15:37:31 +00:00
Stig Bakken
5f8f410e51
@Added tmpfile() function (Stig)
...
Removed the mkstemp stuff and added tmpfile() function instead.
1999-11-14 11:05:37 +00:00
Sascha Schumann
bcb2214e99
Improve regex library selection. It lets user specify whether they want
...
system, apache, or php's regex library by using the --with-regex option.
"php" is the default; if you use --with-apache in combination with
Apache 1.3.x, the default is "apache".
1999-11-13 16:51:33 +00:00
Sascha Schumann
117ebf3ca6
- remove extra CPPFLAGS from top-level Makefile
...
- HSREGEX defaults to what the user wants, but can be changed now internally
1999-11-13 13:27:49 +00:00
Sascha Schumann
942c0b3521
Export CPPFLAGS to propagate additional flags
1999-11-13 12:55:47 +00:00
Sascha Schumann
194d75c3a8
Fix typo (escape sign was one off)
1999-11-13 12:51:25 +00:00
Sascha Schumann
c810659379
preparing 4.0b3-RC5
1999-11-13 12:48:57 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Sascha Schumann
ceae3847b8
Enable selective regex library compilation.
1999-11-12 20:56:30 +00:00
Stig Bakken
ef941dd700
4.0b3-RC4
1999-11-09 17:03:46 +00:00
Stig Bakken
9e1cfb4f6e
Bump version to 4.0b3-RC3.
...
# We release RC2 just minutes before Sam Ruby commits his Java extension.
# What timing!
1999-11-09 12:20:34 +00:00
Stig Bakken
ecf83739f4
Cleaned up makedist a bit more.
...
# Also changed 4.0B3-RC2 to 4.0b3-RC2. I don't see why we should start
# using capital letters in 4.0.
1999-11-08 16:17:53 +00:00
Stig Bakken
63d47b7735
(PHP tempnam) now uses mkstemp() if available
...
@- tempnam() now uses mkstemp() if available (Stig)
1999-11-08 09:18:57 +00:00
Zeev Suraski
512f4519c6
Version update
1999-11-06 10:06:37 +00:00
Stig Bakken
f2099fccfb
# First shot at 4.0b3.
1999-11-04 09:40:44 +00:00
Sascha Schumann
11287bba4d
Additional check for concurrent use of --with-{apache,apxs}
1999-11-02 18:27:38 +00:00
Sascha Schumann
3f1c010615
Remove SAPI_TARGET and use PHP_SAPI completely.
...
The target filename is now available as SAPI_PROGRAM, SAPI_SHARED, and
SAPI_STATIC.
1999-10-07 21:04:26 +00:00
Sascha Schumann
9b654728ef
PHP_SHOW_LD_LIBRARY_PATH leaked out of my test environment.
1999-10-07 16:47:53 +00:00
Sascha Schumann
712105cd5d
Pass -avoid-version when building a shared library to avoid problems
...
with "installing" symbolic links. We need to do this conditional, since
some libtool versions imply --disable-static with this option.
1999-10-07 10:03:24 +00:00
Sascha Schumann
2e32234461
Build program static.
1999-10-05 09:51:25 +00:00
Sascha Schumann
337541636b
-module is already set in Makefile.am
1999-10-04 19:31:36 +00:00
Sascha Schumann
7aed3d51fc
* Fix header("HTTP/..") behaviour
...
* Fix leak WRT http_status_line
* Update sapi/README
* Remove %PHP_OUTPUT_FILES sort
1999-10-04 18:07:46 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Sascha Schumann
27fb752fce
*_config are executable, thus we don't need %(SHELL)
1999-10-03 15:07:41 +00:00
Sascha Schumann
079d9711ac
Fix Apache-module build
1999-10-03 14:06:06 +00:00
Sascha Schumann
5320c897f5
Automatically add the SAPI target's Makefile to the list. This
...
frees us from doing this in each config.m4.
1999-09-30 12:56:24 +00:00
Sascha Schumann
cf4afd61f0
* create Makefiles for ext, pcrelib, sapi/*
...
* copy files for Apache from $(srcdir)
1999-09-29 22:18:43 +00:00
Sascha Schumann
4db370ab9c
* VPATH work
...
* add "--local" switch to buildconf which only recrates the local
autoconf scripts.
1999-09-29 21:49:32 +00:00
Stig Bakken
1cb0d88186
Decent configure speedup. Makefiles are now generated only for the
...
extensions you are including. Got rid of configure.in.in.
Moved the last Apache-specific files into sapi/apache and made both
static and DSO build work again (it still doesn't run properly).
1999-09-29 15:17:02 +00:00
Stig Bakken
74fb12efd5
this file is now generated
1999-04-17 00:43:21 +00:00
Stig Bakken
257de2bade
First commit of re-structuring phase one. We have started using automake in
...
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
1999-04-17 00:37:12 +00:00
Stig Bakken
d0738c2bc3
get rid of extra and doc dirs, more cvs ignore stuff
1999-04-08 00:04:44 +00:00
Stig Bakken
9bc17ac6b2
fix configure warnings
1999-04-07 23:59:51 +00:00
Zeev Suraski
aceaabceff
PHP 4.0
1999-04-07 21:05:13 +00:00