Commit Graph

664 Commits

Author SHA1 Message Date
foobar
4dfa3fc731 Some netware related build issues fixed (patch by: Kamesh Jayachandran <kameshj at fastmail dot fm> 2005-06-20 11:06:54 +00:00
Andi Gutmans
16bbd70cd5 - Back to -dev 2005-06-11 17:03:42 +00:00
Andi Gutmans
e0787f3d24 - b2 (will post it to internals@) 2005-06-11 16:59:24 +00:00
Andi Gutmans
0638c657e1 - Back to -dev 2005-06-10 18:29:10 +00:00
Andi Gutmans
3b1f8e9ad7 - Go with 5.1.0b1 2005-06-10 18:06:43 +00:00
foobar
eaa3d6c5ec -Moved --disable-zend-memory-manager where it belongs 2005-06-07 17:22:40 +00:00
Derick Rethans
7a3dbcd1c4 - Added the --disable-zend-memory-manager switch to disable the Zend memory
manager.
#- I discussed this with Dmitry today - we found it useful.
2005-06-07 13:36:08 +00:00
foobar
cb5a9f534a - Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs) 2005-06-02 21:29:24 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Hartmut Holzgraefe
af14bbe455 avoid code duplication in bison version test 2005-05-29 18:04:35 +00:00
Marcus Boerger
51fe495ea1 - Add command completion to CLI's -a mode 2005-05-14 19:33:18 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
foobar
40b6c60d9d - Added man pages for "phpize" and "php-config" scripts. (Jakub Vrana) 2005-04-30 04:27:23 +00:00
foobar
e8f715af59 - No need to iterate through the options twice 2005-04-30 01:52:22 +00:00
foobar
287a31e053 - Allow using --enable-versioning with any SAPI module
# It's only used if the php.sym file exists!
# Have fun Sara :)
2005-04-21 15:02:34 +00:00
foobar
9af93dbb41 Expose EXEEXT and use for cli/cgi binaries 2005-04-21 14:57:53 +00:00
Anantha Kesari H Y
ea6d23b8c0 PHP_OS and PHP_UNAME need to be hardcoded for cross builds 2005-04-18 09:46:53 +00:00
foobar
4f615d3cff remove duplicate entry 2005-04-08 13:36:23 +00:00
foobar
24eb2bfabc - Prevent compiling shared extensions when --enable-versioning is used
- Fix -export-symbols in Linux in the bundled libtool.m4:
  o http://lists.gnu.org/archive/html/libtool/2002-07/msg00029.html
# more about this:
# http://marc.theaimsgroup.com/?l=php-dev&m=106629582813118&w=2
2005-03-26 03:09:09 +00:00
foobar
37d1a4f9d3 Fixed build properly 2005-03-17 08:15:50 +00:00
foobar
5d190e6b5e - Remove these relics from era when TSRM was optional. 2005-03-16 06:36:44 +00:00
foobar
a879957d43 - Fixed bug #32200 (prevent using both --with-apxs2 and --with-apxs2filter) 2005-03-14 21:11:33 +00:00
foobar
34805e8d39 - Fixed all buildconf warnings + cross-compiling issues 2005-02-24 19:27:10 +00:00
foobar
2a6da0f24c - Restructured and added a few comments here and there.
- Made macros of couple of tests previously littering configure.in
  (e.g. PHP_PROG_AWK, PHP_PROG_LEX, PHP_PROG_BISON..)
- Moved all PHP_SUBST() calls into their respective macros.
  (no point adding empty entries in Makefile if macro is not used)
2005-02-24 18:11:36 +00:00
foobar
378817d367 - Fixed bug #31920 (zend_strtod.c error: conflicting types for 'int8_t') 2005-02-10 22:19:32 +00:00
foobar
066d1b4d53 - Fixed bug #31858 (--disable-cli does not force --without-pear) 2005-02-07 12:48:11 +00:00
foobar
39b7569614 - Removed obsolete AC_PROG_RANLIB (AC_PROG_LIBTOOL does it)
- configure --help output cleanup for --with-libdir
2005-01-20 00:51:41 +00:00
foobar
6faa433d58 - Fix the pic patch 2005-01-19 17:35:55 +00:00
foobar
931810629c - The pic/no-pic patch by Joe Orton. 2005-01-10 01:11:09 +00:00
foobar
a139dbf9cc - Fix outside-source-tree builds. Always include generated header files
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
foobar
7a3d9addb8 - Make sure $host_alias is never empty 2005-01-07 06:12:42 +00:00
foobar
69eec3f3b9 MFB_4_3: Quote macro names in AC_DEFUN() 2004-12-30 07:08:39 +00:00
foobar
20fce0ba3e - Use correct header files (in c99 compliant way). uint32_t is preferred. 2004-12-21 01:07:24 +00:00
foobar
4157e50c00 Better fix for endian compile problems. 2004-12-20 20:37:45 +00:00
foobar
eb0c45d572 - Fixed compile error with HP-UX using GCC. 2004-12-16 11:49:48 +00:00
Derick Rethans
c0edc48a08 - MFH: Fixed compile error related to bug #28605.
#- But it does not *fix* bug #28605.
2004-12-14 08:43:01 +00:00
Wez Furlong
d10b86f8f4 Add stream_socket_pair(), a streams based version of socketpair().
Modified patch from Vincent [six at t0x dot net]
2004-12-12 16:10:35 +00:00
Derick Rethans
48b118968f - MF43: Install the iconv extension headers to <installpath>/ext/iconv so that
external extensions can use them.
2004-12-06 20:39:20 +00:00
Derick Rethans
61364b5bb1 - MFH4.3: Cleaned up some of the locale mess:
* all internal use of sprintf, snprintf and the like will always
    use the . as thousands seperator (if php.h is included only!).
  * echo, printf() and sprintf() always render locale-aware
  * added the %F modifier for non-locale aware rendering for floats
2004-11-15 13:42:22 +00:00
Derick Rethans
59651c4e58 - Fixed bug #30630: Added a BSD based strtod function that is
locale-independent. (PHP part)
2004-11-03 23:36:51 +00:00
Moriyoshi Koizumi
ae78d7d4bf - Checks for Darwin'ish systems that uses Mach-O, which apparently doesn't
support weak symbol aliasing at this time.
2004-11-03 23:05:18 +00:00
Joe Orton
557cda47a0 Core changes to support multi-ABI platforms with libraries in
/usr/lib64 rather than /usr/lib.

* configure.in: Add --with-libdir flag; define PHP_LIBDIR.

* acinclude.m4 (PHP_REMOVE_USR_LIB, PHP_RUNPATH_SWITCH,
PHP_ADD_LIBPATH): Check for /usr/$PHP_LIBDIR rather than /usr/lib.
(PHP_SETUP_OPENSSL, PHP_SETUP_ICONV): Use /path/to/$PHP_LIBDIR in
place of /path/to/lib.
2004-11-03 14:07:09 +00:00
Edin Kadribasic
1fc379a76c Revert Linux LFS patch 2004-10-22 10:46:42 +00:00
Edin Kadribasic
7f7ce47553 MFB: Linux LFS support, fixes 27792 2004-10-21 23:50:28 +00:00
Marcus Boerger
2f5985335b - Add makefile fragment which simplifies working on the executer 2004-10-01 22:32:15 +00:00
Sterling Hughes
8f1a327edb Add strptime function. 2004-09-29 04:57:19 +00:00
Wez Furlong
64f3120598 Finalize fix for #30057 2004-09-26 01:10:05 +00:00
Wez Furlong
99e290f882 Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.

If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).

Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.

A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).

The win32 specific parts are untested; will do that now.
2004-09-17 12:44:56 +00:00
Edin Kadribasic
4162f81c88 HEAD is 5.1.0-dev now 2004-07-21 23:02:28 +00:00
Wez Furlong
ed682e570a Implement extension load-order deps. 2004-07-18 12:03:51 +00:00
Andi Gutmans
c18badbfbf - 5.0.1-dev 2004-07-13 19:56:49 +00:00
Andi Gutmans
399e2ca69f - Roll PHP 5.0.0 2004-07-13 19:05:31 +00:00
Andi Gutmans
0bdbbd379e - Go back to -dev (Shouldn't need another RC) 2004-06-07 18:57:34 +00:00
Andi Gutmans
6f47156228 - Roll RC3 2004-06-07 14:23:45 +00:00
Andi Gutmans
02032ccf9f - Prepare for RC3RC2 2004-06-03 08:17:15 +00:00
Andi Gutmans
e51105c6a6 - Back to RC3-dev until we roll final 2004-05-27 15:03:46 +00:00
Andi Gutmans
5a9d648f1f - RC3RC1 2004-05-27 11:39:35 +00:00
Andi Gutmans
87a9f7bdbb - RC3-dev 2004-04-25 10:13:08 +00:00
Andi Gutmans
94c44ea9eb - RC2 2004-04-25 08:32:50 +00:00
Andi Gutmans
206f0da25a - RC2-dev 2004-04-21 10:34:27 +00:00
Andi Gutmans
40c20d3d72 - Prepare for RC2RC2 (if everything is OK especially Zeev's interface
- patch I'll roll RC2 tomorrow).
2004-04-21 09:59:52 +00:00
Wez Furlong
398b4a2fbb Add pty support to proc_open() for systems with Unix98 ptys.
# With permission from Andi
2004-04-19 15:07:30 +00:00
Andi Gutmans
245dd7367d - RC2-dev 2004-04-14 11:24:17 +00:00
Andi Gutmans
acc4cd17ce - RC2RC1 2004-04-14 11:03:47 +00:00
foobar
f1823e58da Revert the patch to "fix" #27664 and added more informal error msg. 2004-04-07 13:56:33 +00:00
Ilia Alshanetsky
9a04c0f956 Fixed bug #27664 (--disable-cli doesn't force --without-pear). 2004-03-26 19:47:19 +00:00
Andi Gutmans
814000305a - Back to RC2-dev 2004-03-18 15:27:28 +00:00
Zeev Suraski
aac5c1f6c5 Prepare to roll RC1 2004-03-18 14:12:27 +00:00
Sara Golemon
1c7d6b229c MFB: Test getaddrinfo() for brokenness. Pretend it doesn't exist if it misbehaves. 2004-03-12 21:45:55 +00:00
Andi Gutmans
efe864dc34 - We are RC1-dev now 2004-02-12 16:26:59 +00:00
Andi Gutmans
82ad916386 - Roll Beta 4 2004-02-12 15:59:18 +00:00
Zeev Suraski
3221aea978 Update configure 2004-02-12 11:47:53 +00:00
Andi Gutmans
eca1fdc821 - Go with b4 RC 1 (Sanity package) 2004-02-12 08:46:02 +00:00
Andi Gutmans
d93f899271 - Change to b4 2004-02-11 11:53:45 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
Derick Rethans
0041a5798b - Fix version number so that people are not mistaking our development
version for RC1.
2003-12-21 18:57:59 +00:00
Zeev Suraski
6ac233f975 B3 here we go (away) 2003-12-21 18:30:57 +00:00
Zeev Suraski
bb531436c8 B3 here we come 2003-12-21 18:26:29 +00:00
Andi Gutmans
d53caa9618 - Make the world a better place.
- Will roll b3 tomorrow.
2003-12-20 21:27:49 +00:00
Andi Gutmans
e7bdc15148 - Prepare for RC2 2003-12-19 13:36:38 +00:00
Andi Gutmans
3573c13552 Roll RC1 of B3 2003-12-17 20:20:34 +00:00
foobar
e13e315a10 - Only add 'install-modules' into install targets when there are such
modules to install.
2003-12-04 15:57:55 +00:00
foobar
bdfb58f6c6 - Fixed "make install" when INSTALL_IT is empty, like when configured
with "./configure --disable-cgi" (CLI has it's own build target)
2003-12-04 13:41:48 +00:00
Jon Parise
20658020bd Removing the DB extension warning message. The DB extension is no longer
included in the PHP distribution.
2003-12-03 05:06:04 +00:00
Jon Parise
4f51656de9 Improving the wording of the "don't use the DB extension" warning. 2003-12-02 16:50:02 +00:00
foobar
e01ab8c9cf - Made --program-prefix and --program-suffix work. (See bug #23030) 2003-12-01 15:17:13 +00:00
foobar
f7830195c0 - Fixed bug #26462 (phpize + ext/bcmath -> compile error) 2003-11-29 13:33:34 +00:00
Ilia Alshanetsky
127ed194b7 Added configure check for nanosleep() availability. 2003-11-12 23:43:46 +00:00
foobar
9e0da5e741 Next is beta3.. 2003-10-30 15:14:31 +00:00
Andi Gutmans
b72364ccc1 - Beta 2 2003-10-30 10:00:44 +00:00
Marko Karppinen
074ca45399 Workaround for bug #25955
Generalized a Darwin check in dns.c to a check for inet_pton() (kalowsky)
2003-10-24 17:09:36 +00:00
Ilia Alshanetsky
6fa9efaf4c Don't forget to compile zend_interfaces.c 2003-10-22 21:43:39 +00:00
Marcus Boerger
de8847fc74 We don't have this yet 2003-10-21 08:29:22 +00:00
Marcus Boerger
2c454d7a1f Bugfix #25930 Can't compile snprintf.c 2003-10-21 07:36:43 +00:00
Marcus Boerger
25aa8b715e Added c-api for iterators
# After 4 Month work and endless discussions...
2003-10-17 17:19:44 +00:00
Marcus Boerger
f57043e093 Fix version test 2003-10-07 09:40:39 +00:00
Marcus Boerger
2c2af7c7ef Bugfix #25770 Segfault with PHP and bison 1.875 2003-10-07 09:33:20 +00:00
foobar
db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
Marcus Boerger
a5d829f928 Remove this (part from another patch) 2003-09-14 09:54:19 +00:00
Marcus Boerger
9b98e42f35 - Add length modifiers(ll, j, t, h, hh)
# Still missing formats (%a, %A)
# Still missing modifier (l) in (%lc, %ls)
# Still missing modifier (L) in (%La, %LA, %Le, %LE, %Lf, %LF, %Lg, %LG)
# C99 requires any conversion to be able to produce at least 4095
# characters. Implementation only allows less then 512.
#
# Only inside ext/mbstring etc. we could use %lc and %ls. And none of the
# rest should affect us until we stay with double and avoid long double.
2003-09-14 09:12:54 +00:00
foobar
7429aadf30 - Should fix bug #25295 2003-09-08 13:15:22 +00:00
foobar
ca18b631fd - Should fix some CLI build problems on some systems. 2003-09-08 13:10:10 +00:00
Sascha Schumann
7382178f73 enable re2c check for self-contained extensions 2003-09-02 19:42:17 +00:00
Sascha Schumann
e090d2ddb9 Never overwrite .c files when re2c does not exist. 2003-08-30 07:27:05 +00:00
Jon Parise
34821ed474 Under FreeBSD, statfs(2) requires both <sys/mount.h> _and_ <sys/param.h>.
The autoconf check for <sys/mount.h> was failing because <sys/param.h>
wasn't being universally included.

This gets disk_total_space() and disk_free_space() working again under
FreeBSD.
2003-08-21 06:24:17 +00:00
foobar
296f6f3340 dlfcn.h was not found on Solaris when using forte cc 2003-08-07 12:04:27 +00:00
Sascha Schumann
1b50ca4df6 Fix install-sapi dependency - it should depend on OVERALL_TARGET, of course. 2003-07-02 01:08:26 +00:00
foobar
e5af63a7d5 - Separate CGI build from regular SAPI build
# Creating the libphp5.a lib is not necessary for CGI build.
#
# btw. It would be quite easy to build CGI, CLI and for example Apache SAPI
# the same time.. :)
2003-07-01 17:01:21 +00:00
foobar
d215b040b7 - Changed 'grep -E' back to 'egrep'.
#
# whatever some posix standard says, there's no use to change this in
# two places and possibly break stuff, like said in bug #22604.
#
# Grep for 'egrep' in autoconf 2.13 generated configure to find
# several hundred 'egrep's..
#
2003-07-01 00:16:23 +00:00
George Schlossnagle
9995daebd2 add support for end_reflection_api.c 2003-06-30 20:04:39 +00:00
foobar
8dca948cf9 - Moved the PEAR check after the extensions.
. added checks for the dependancies PEAR has.
- Moved PHP_REGEX checks to ext/standard/config.m4

# If someone knows the reason for PHP_REGEX macro being where it was,
# please tell..
2003-06-30 16:33:50 +00:00
Derick Rethans
913cec6551 - Remove register_globals warning, and "built-in MySQL lib" warning 2003-06-29 15:07:03 +00:00
Edin Kadribasic
2e9c9427ec Move along, nothing to see. 2003-06-27 22:18:06 +00:00
Sterling Hughes
1135af7340 beta 1 2003-06-27 22:09:12 +00:00
Sascha Schumann
dc324648fe Try to link the getaddrinfo test, so that one can disable it using
-Dgetaddrinfo=NO_getaddrinfo.
2003-06-27 07:12:54 +00:00
foobar
e3cd8fac9b - Unified PHP_SETUP_OPENSSL with other PHP_SETUP_* macros. 2003-06-24 14:05:26 +00:00
Wez Furlong
0f971485ac Fix build when builddir != srcdir. 2003-06-23 16:06:37 +00:00
Stanislav Malyshev
e64dbbfda6 default_classes belongs to ZE2 part 2003-06-16 08:32:35 +00:00
Marcus Boerger
de0d3366c1 Fix speling found by Allowee <php@allowee.no-ip.com> 2003-05-24 12:00:03 +00:00
foobar
73415c9e01 - Unbundle libxml and expat. Now this compiles too.. 2003-05-19 15:33:19 +00:00
Sterling Hughes
eab8227e7c beginnings of php5/bundle support 2003-05-02 03:14:00 +00:00
Sascha Schumann
887dfeefec cygwin ships with bison 1.875b, so we need to remove that b here 2003-04-13 20:09:32 +00:00
foobar
b0f630470b --enable-all is not useful at all, removed from help 2003-04-05 17:47:03 +00:00
foobar
392f3c2d7c - Checks specific to some extension belong in the extension's config.m4 2003-04-04 15:42:54 +00:00
Moriyoshi Koizumi
b78e3c5155 Added cmsghdr check. Now sockets extension can be built under cygwin. 2003-04-04 13:02:43 +00:00
Marcus Boerger
f0290a7815 Check for flex version 2.5.4 2003-04-03 20:59:42 +00:00
Marcus Boerger
a90ea73ef8 For now only bison 1.28, 1.35 and 1.75 are working properly 2003-04-02 21:17:16 +00:00
foobar
caac35954b Fixed bug #22987 (missing perror() check in configure) 2003-04-01 15:35:57 +00:00
Moriyoshi Koizumi
f5929a95b2 Improved bison check; now configure accepts 1.28, 1.35, and 1.75 only. 2003-03-29 15:54:19 +00:00
Sterling Hughes
3f700e58ab update php module name to php5, not php4.
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
2003-03-29 04:52:46 +00:00
David Hill
b7bb820782 Correcting checking of flex version (dave) 2003-03-27 18:02:00 +00:00
foobar
2f67648512 Made "--with-pear" "--disable-all"-aware. Plus some cosmetics fixes. 2003-03-25 13:43:13 +00:00
Sterling Hughes
e6dfbc9565 add a standard Exception class. 2003-03-23 04:32:24 +00:00
Wez Furlong
cfd0466389 Fix for Bug #21310, based on a patch by jflemer@php.net. 2003-03-17 13:40:45 +00:00
foobar
70f97c1713 - Always use the shtool mkdir. 2003-03-10 14:32:47 +00:00
foobar
3cfc8a1ecc Create php_version.h in the correct directory 2003-03-07 06:18:17 +00:00
Wez Furlong
1b53a2d12e New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
  . stream_socket_server() - Creates a server socket.
  . stream_socket_accept() - Accept a client connection.
  . stream_socket_get_name() - Get local or remote name of socket.

Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.
2003-02-28 19:53:21 +00:00
Wez Furlong
fd61f69077 Another big commit (tm).
Main Changes:
- Implement a socket transport layer for use by all code that needs to open
  some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
  (currently only supports OpenSSL, but could support other SSL toolkits,
  and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
  removing the link-time requirement for ssl:// and https:// sockets and
  streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
  there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.
2003-02-27 17:43:38 +00:00
foobar
7bd710a658 - Fixed bug #21224 (apache configure fails when using --enable-versioning) 2003-02-25 11:23:09 +00:00
foobar
3efd2b1317 typofix 2003-02-25 07:40:51 +00:00
foobar
e9b5e34005 - Fixed bug #14245 ('make install' fails on AIX when using --with-apxs). 2003-02-25 06:35:43 +00:00
Wez Furlong
e52aac940f Implement simple stream support in the ZE scanners. 2003-02-18 09:37:54 +00:00
Wez Furlong
2cc68ad7ad Move streams files around a bit, to ease maintenance.
I will update the win32 .dsp in a moment.
2003-02-16 22:19:28 +00:00
foobar
f9f4644a84 - Don't add libcrypt if the crypt() function is provided already.
(by libc, like in HP-UX)
2003-02-14 01:27:15 +00:00
Sascha Schumann
1fc7f0d937 supply mandir to makefile 2003-02-11 23:46:39 +00:00
foobar
fdba676769 - Fixed some weird crashes causd by the new default behaviour
of libtool 1.4.3
- Require libtool 1.4.3 or newer from now on.
2003-02-11 21:11:42 +00:00
foobar
011229ef15 - Updated libtool to 1.4.3 which has test for the sed problem.. 2003-02-10 17:09:48 +00:00
foobar
20c43285f7 - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) 2003-01-28 10:59:12 +00:00
Ilia Alshanetsky
d59d500af7 Moved the scandir code into it's own files so that it can be used by other
OSes where libc does not have a native scandir() implementation.
2003-01-27 20:39:31 +00:00
foobar
9b2525f96e remove this stupid highlight which causes trouble. 2003-01-23 06:42:43 +00:00