1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00
Commit Graph

193 Commits

Author SHA1 Message Date
James Cox 799cc612b4 "-" is not acceptable in a #define (i have since discovered). converting all - to _ is the right thing to do.
# should we issue a warning here too?
2002-07-01 01:01:06 +00:00
James Cox 8c49132266 fixes extensions with "-"
# thanks Rasmus for pointing out.
2002-06-29 02:34:36 +00:00
James Cox 3ec40a8d32 really fix it.
# can anyone recommend an optician?
2002-06-29 01:58:07 +00:00
James Cox 3ef1fe2b68 fixes bug #17453 2002-06-29 01:41:03 +00:00
foobar 3d799b5db4 Fixed PHP_ADD_LIBRARY_DEFER_WITH_PATH to work with shared builds. 2002-06-24 11:36:21 +00:00
Stefan Roehrich 506282af5c WS change to make very old compilers/preprocessors (e.g. HP/UX 9)
happy (thanks to Andreas Ley for recognizing this).
2002-06-01 20:14:58 +00:00
Andrei Zmievski c174a15a60 Fix a bug in case statement. 2002-05-28 16:30:16 +00:00
foobar 2c8e8e0406 Fix build when openssl is enabled. 2002-04-28 04:53:40 +00:00
Sascha Schumann cab34e6b05 No need for an ifelse here (which was lacking a char anyway :-) 2002-04-23 05:06:51 +00:00
foobar 3679c6e054 Part 1 of commits to fix some issues with static apache (1.3.x) compile:
- Made the OPENSSL_INCDIR available to be added in the PHP_CFLAGS
  in libphp4.module
- Make it possible to set SAPI specific include dirs
2002-04-23 02:47:34 +00:00
Sascha Schumann 7b6012cbfb properly reset ac_extra in PHP_NEW_EXTENSION
redirect stderr to /dev/null to silence xargs

Noticed by: Andrei
2002-04-11 05:47:03 +00:00
foobar e3cc458d25 - Revert that change. Added a warning about this. 2002-04-08 18:43:35 +00:00
foobar 77c058a06a There's really no point in allowing using the system regex library. 2002-04-08 07:47:17 +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
Sascha Schumann e50a42f907 Add deferred libs to DLIBS instead of LIBS.
Noticed by: Jani Taskinen <sniper@iki.fi>
2002-04-04 10:03:29 +00:00
Marko Karppinen 676afb33b8 Enable --with-apxs build on Mac OS X. We build an MH_BUNDLE instead of
an MH_DYLIB. As all PPC code is relocatable, we don't use the libtool
based shared build but go a static route. Goodbye libtool!
# I'm committing this to enable widespear testing.
# Anyone have any ideas on how to easily backport this to 4.2.0?
2002-03-30 03:17:25 +00:00
Sascha Schumann c7403326ab Factorize a few library/libpath-related functions 2002-03-27 11:09:20 +00:00
foobar 11bcc2207e MFB. (I must have been sleep-walking..) 2002-03-26 00:14:02 +00:00
Sascha Schumann e4a5210bbf A cli-specific extension should be named once only, not twice.
Noticed by: Derick
2002-03-22 10:22:02 +00:00
foobar d533371760 - Fixed bug #16165 again. We check libc for iconv functions only if
no path is given for --with-iconv.
# I hope this is the last time.
2002-03-21 20:22:05 +00:00
foobar 9a5b42cb78 - Should work better now.. 2002-03-20 18:16:51 +00:00
Sascha Schumann 350de12bc2 Expand the variables in PHP_EXPAND_BUILD_VARS.
Make HAVE_ICONV/HAVE_LIBICONV available through the more
fine-grained approach using a single include file per
directive.  This will significantly reduce the price of
full dependencies for developers, because basically each
file today includes php.h which includes php_config.h.

If PHP_ATOM_INC is defined, these include files can be used.

For all PHP_DEFINEs, empty files are created upon configure start.
2002-03-20 13:24:59 +00:00
Sascha Schumann 1962e1e620 Avoid duplicate tests and make third parameter truly optional. 2002-03-20 12:08:30 +00:00
Sascha Schumann 71a361d5ea Fix and tweak iconv macro 2002-03-20 11:59:48 +00:00
Sascha Schumann d9f36aed9f Don't quote too much. Now autoconf-2.13 is happy again. 2002-03-20 11:49:36 +00:00
Sascha Schumann 5005415595 Remove autoconf-2.5x specific m4_default macro.
It is pointless here, because we don't need any "void" statement.
There already is a statement and all it will do in the worst case
is generate an empty line
2002-03-20 11:41:06 +00:00
Jon Parise bb82bf2e2b This completely fixes the iconv library detection under FreeBSD (the
previous fix was incomplete).  We also set HAVE_ICONV and HAVE_LIBICONV
based on the library that was detected.
2002-03-20 07:36:56 +00:00
foobar 4a0291d238 - Make it possible to build ext/openssl as shared extension 2002-03-20 02:07:11 +00:00
foobar a62b31f6b7 - Fix the iconv detection when the functions are prefixed with lib.
(e.g. in freebsd)
2002-03-19 22:40:18 +00:00
foobar 19e82a49f9 - Made one test/setup macro for iconv and fixed it to check
for libc first.
2002-03-17 21:09:21 +00:00
Sascha Schumann 795c206389 > might not sufficiently update a timestamp.
echo > should be good enough and should be implemented by the shell.
2002-03-13 16:59:49 +00:00
Sascha Schumann f02d3f4518 Some simplifications in PHP_ADD_SOURCES* 2002-03-13 12:48:05 +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 99e854f60d Fix typo 2002-03-07 18:16:57 +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
Sean Bright 444d3a6150 Fix for bug #15605
# If someone more familiar with the build system sees a problem with this
# feel free to revert it.  It simply escapes #'s that are put into
# config_vars.mk
2002-02-21 02:12:37 +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 fc3a59c85f Enable developers to use PHP_ARG_ENABLE and PHP_ARG_WITH silently
to maintain legacy configure options without clutter in the
configure help and checking output.
# Hopefully this encourages module writers to finally adopt
# standard naming conventions for their configure options!
2002-01-27 03:37:02 +00:00
Marko Karppinen cd9b5d01e3 Added a case for Darwin / Mac OS X to PHP_SHLIB_SUFFIX_NAME 2002-01-24 14:41:14 +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
Hartmut Holzgraefe 44b5298506 removed check macros no longer needed due to CLI work
(plus reverting last commit, was in wrong dir :( )
2002-01-21 16:49:31 +00:00
Hartmut Holzgraefe a79e857ccd removed check macros no longer needed due to CLI work 2002-01-21 16:39:17 +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 2af5118d35 Fixed build in the directory other than $top_srcdir. 2002-01-13 23:51:56 +00:00
Edin Kadribasic db8647203c Modified the build system to always build CLI SAPI. 2002-01-12 14:51:54 +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
Hartmut Holzgraefe 48cba31e58 two new check functions for use in config.m4 file 2002-01-04 12:26:27 +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
Alex Waugh dc7f04163a Give defaults for pread and pwrite checks when cross compiling 2001-12-30 15:39:01 +00:00