Hartmut Holzgraefe
f5bf3c10fd
make HAVE_FOPENCOOKIE available for other extensions besides zlib
2000-11-21 08:38:20 +00:00
Stanislav Malyshev
1884518cf4
Revert the patch - people don't like it
2000-11-02 18:24:43 +00:00
Stanislav Malyshev
d949733c70
Fix issue with Sun CC not detecting readdir_r
...
# This was once fixed in the code, but not in the configure
2000-11-02 16:50:40 +00:00
Andi Gutmans
b74d02dbe4
- Fix from Sascha. It fixes errorneous inclusion of bz2
2000-10-28 10:48:32 +00:00
foobar
83b3818e67
Fix the fix as Sascha suggested.
2000-10-15 00:58:29 +00:00
foobar
5db1090dff
Fix to #7162 .
2000-10-14 22:13:18 +00:00
Sascha Schumann
e07e515a1b
Ignore trailing slashes
2000-10-12 23:17:21 +00:00
Sascha Schumann
23a96536fa
Fix the readdir_r POSIX check
2000-10-11 14:35:45 +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
d9b4f90969
Revert controversial patch
2000-09-21 23:18:25 +00:00
foobar
83987c17ac
This fix prevents adding an empty -l to LIBS
2000-09-19 23:52:24 +00:00
Sascha Schumann
2e0ae6d25f
Solaris-readdir_r-wants-large-buffer fix
...
Libc5-readdir_r workaround
2000-09-11 15:25:06 +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
Stig Bakken
abe372481d
forgot to commit this one last night
2000-07-25 10:57:57 +00:00
Sascha Schumann
4f71062551
Lift the add-once limit for libraries, because there are valid reasons
...
against it. When dealing with static libraries, the link order is
important and it might be necessary to add a library multiple times to
satisfy mutual symbol requirements.
2000-07-10 10:26:13 +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
Andrei Zmievski
eb6f625d83
Wrong number of commas.
2000-06-17 16:13:11 +00:00
Sascha Schumann
d3d350e7ce
Suppress AC_ADD_LIBRARY(x) where x is matched by /^(c|c_r|pthread*)$/
2000-06-17 10:53:08 +00:00
Sascha Schumann
9a63d8af7f
Add PHP_EVAL_LIBLINE and PHP_EVAL_INCLINE
2000-06-17 10:50:42 +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
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
01ecd47a05
Fix test for php_always_shared
2000-06-07 19:13:28 +00:00
Sascha Schumann
1e56dd781a
Make use of already existing macro PHP_PROG_SENDMAIL
2000-05-31 20:44:04 +00:00
Sascha Schumann
7bb2af41e3
Use sed instead of tr. The tr regexp syntax does not seem to be portable
...
enough to make wide use of it. This should fix problems on Solaris 8
and possibly on older SysV-derivatives.
2000-05-31 20:30:16 +00:00
Sascha Schumann
2bd6846adc
Solve conflict with mysql's readdir_r check. Both defined HAVE_READDIR_R,
...
but with different values.
2000-05-27 19:30:36 +00:00
Sascha Schumann
25df65b0b8
Support old-style readdir_r()
2000-05-24 11:06:57 +00:00
Sascha Schumann
f1eefa64ec
A couple of cleanups and shared-libadd additions
2000-05-23 23:13:13 +00:00
Sascha Schumann
417f74451f
Cosmetic changes
2000-05-23 15:43:29 +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
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
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
Sascha Schumann
c2279a0217
s/normal/SUSV2/
2000-05-16 23:24:39 +00:00
Thies C. Arntzen
62d5504706
AC_ADD_LIBRARY_WITH_PATH now always prepends new libraries.
2000-05-08 08:55:45 +00:00
Thies C. Arntzen
3ee9304cd9
support empty libpath in AC_ADD_LIBRARY_WITH_PATH
...
make sure the link-order for shared and static builds are the same
2000-05-08 08:27:48 +00:00
Sascha Schumann
b345acb577
Never tell link editor to libc. Some systems use thread-safe
...
replacements for libc in Pthreads mode.
2000-05-07 05:32:54 +00:00
Sascha Schumann
dc91d47014
Remove trailing slash(es) from pathnames
2000-05-04 16:08:10 +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
cae3b7dff5
Pear Changes:
...
Store EXTENSION_DIR in php-config
Ignore errors during header installation
Automatically enable modules in self-contained mode
Create empty .deps in builddir
2000-05-02 20:56:03 +00:00
Sascha Schumann
0b516602fd
Add shared-libadd option to AC_ADD_LIBRARY_WITH_PATH.
...
This lets you replace
if test "$ext_shared" = "yes"; then
FOO_SHARED_LIBADD="-R$LIBDIR -L$LIBDIR -l$LIB"
else
AC_ADD_LIBRARY_WITH_PATH($LIB, $LIBDIR)
fi
with
AC_ADD_LIBRARY_WITH_PATH($LIB, $LIBDIR, FOO_SHARED_LIBADD)
2000-05-02 04:00:14 +00:00
Sascha Schumann
113b87736b
Use GCC's --print-libgcc-file-name flag to find libgcc's path.
...
Obtained from: mod_ssl
2000-05-01 18:32:09 +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
Martin Kraemer
06e504d32a
Test for EBCDIC platform
2000-04-13 12:24:28 +00:00
Sascha Schumann
179672a980
Fix the HPUX 10.20 check for non-standard reentrant time functions
2000-04-01 16:00:34 +00:00
Sascha Schumann
1e31b7755c
* Add --enable-libgcc which explicitly links against libgcc.
...
* Some cleanup and increased use of PHP_ARG_[ENABLE|WITH]
2000-03-30 15:00:30 +00:00
Sascha Schumann
1f822b98ce
Welcome PHP_ARG_ENABLE and PHP_ARG_WITH. They are there to replace the common
...
AC_MSG_CHECKING, AC_ARG_[ENABLE,WITH], AC_MSG_RESULT trio.
2000-03-27 23:33:38 +00:00
Sascha Schumann
a2d42419a5
Revamp session's config.m4 and reenable support for mm. The shared memory
...
module works now successfully again under Apache and other web servers.
2000-03-26 02:47:00 +00:00
Kristian Köhntopp
1aba4ea9d0
- Added additional DEFER macro.
...
- First stab at porting the recode module. Still having problems
with the _ex() functions, they core - why?
2000-03-11 22:05:41 +00:00
Sascha Schumann
f6460bfe6f
VPATH builds were broken, if the user specified the path to configure
...
using an absolute path. With this change, absolute and relative paths
are accepted and processed correctly.
2000-03-09 22:07:10 +00:00
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