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?
25 years ago
Sascha Schumann
c7403326ab
Factorize a few library/libpath-related functions
25 years ago
foobar
11bcc2207e
MFB. (I must have been sleep-walking..)
25 years ago
Sascha Schumann
e4a5210bbf
A cli-specific extension should be named once only, not twice.
Noticed by: Derick
25 years ago
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.
25 years ago
foobar
9a5b42cb78
- Should work better now..
25 years ago
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.
25 years ago
Sascha Schumann
1962e1e620
Avoid duplicate tests and make third parameter truly optional.
25 years ago
Sascha Schumann
71a361d5ea
Fix and tweak iconv macro
25 years ago
Sascha Schumann
d9f36aed9f
Don't quote too much. Now autoconf-2.13 is happy again.
25 years ago
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
25 years ago
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.
25 years ago
foobar
4a0291d238
- Make it possible to build ext/openssl as shared extension
25 years ago
foobar
a62b31f6b7
- Fix the iconv detection when the functions are prefixed with lib.
(e.g. in freebsd)
25 years ago
foobar
19e82a49f9
- Made one test/setup macro for iconv and fixed it to check
for libc first.
25 years ago
Sascha Schumann
795c206389
> might not sufficiently update a timestamp.
echo > should be good enough and should be implemented by the shell.
25 years ago
Sascha Schumann
f02d3f4518
Some simplifications in PHP_ADD_SOURCES*
25 years ago
Sascha Schumann
2ea99fe17a
a bit of refactoring and making always_shared a nop in every day life
25 years ago
Sascha Schumann
e10ca10084
Provide context-specific functions which yield the directories
of extensions (PHP 4 configure vs. self-contained module)
25 years ago
Sascha Schumann
99e854f60d
Fix typo
25 years ago
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
25 years ago
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
25 years ago
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.
25 years ago
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!
25 years ago
Marko Karppinen
cd9b5d01e3
Added a case for Darwin / Mac OS X to PHP_SHLIB_SUFFIX_NAME
25 years ago
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.
25 years ago
Hartmut Holzgraefe
44b5298506
removed check macros no longer needed due to CLI work
(plus reverting last commit, was in wrong dir :( )
25 years ago
Hartmut Holzgraefe
a79e857ccd
removed check macros no longer needed due to CLI work
25 years ago
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.
25 years ago
Edin Kadribasic
2af5118d35
Fixed build in the directory other than $top_srcdir.
25 years ago
Edin Kadribasic
db8647203c
Modified the build system to always build CLI SAPI.
25 years ago
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.
25 years ago
Hartmut Holzgraefe
48cba31e58
two new check functions for use in config.m4 file
25 years ago
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
25 years ago
Alex Waugh
dc7f04163a
Give defaults for pread and pwrite checks when cross compiling
25 years ago
foobar
8a8741a1fe
This makes the configure --help output more readable.
25 years ago
foobar
acb7d69ff7
Always quote the messages.
25 years ago
foobar
032b263129
Fixes commit / link problems with certain compilers.
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
25 years ago
Sascha Schumann
9350a23b8f
Move PHP_SUBSTs to configure.in.
25 years ago
Sascha Schumann
8ab1c2aa44
nuke some apparently harmful spaces
25 years ago
foobar
2bd567d513
Fixed bug: #12563 (and possibly other similar one's too..)
25 years ago
foobar
f9e375f493
Changed the PHP_ADD_LIBRARY_DEFER() to work when building
standalone extensions. Also improved the checks for SSL and Kerberos in
IMAP extension configure.
25 years ago
Sascha Schumann
e843e8c5f0
Move PHP_TARGET_RDYNAMIC check to global acinclude.m4 and use it
in thttpd's config.m4.
25 years ago
Andi Gutmans
1c0471feee
- Fix grammar
25 years ago
Sascha Schumann
9a7c1f2ad6
Add some backwards-compatible macros to accomodate the renaming of
AC_ADD_* macros.
25 years ago
foobar
3a1b61c07d
Fix bug: #9009 .
25 years ago
Sascha Schumann
e2eaf6342e
Add support for systems where p{read|write} take a off64_t without
being properly prototyped.
25 years ago
Sascha Schumann
7e5b4db323
Fix irix-time_r test
25 years ago
Sascha Schumann
7b88c7b378
remove fi
25 years ago
Sascha Schumann
ff5a9de31d
Support for IRIX-style asctime_r/ctime_r.
25 years ago