Commit Graph

444 Commits

Author SHA1 Message Date
Marcus Boerger
490fd0eaf2 Fix a memleak: A second call to *nix version of dlerror() frees the error
string. This behavior is also adapted to the win build so that the buffer
returned by FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER) can be freed too.
2003-12-17 11:20:35 +00:00
Ilia Alshanetsky
c3043fb2e4 Removed unused variable. 2003-12-15 03:15:50 +00:00
Frank M. Kromann
819b2e56f9 Exporting symbols used in the imap extension 2003-12-08 22:10:42 +00:00
Rob Richards
c821c5b189 export libxml2 and iconv symbols
extensions no longer link against either of those
2003-12-08 12:56:47 +00:00
Wez Furlong
72f73b7785 tweak build so that it mirrors the source filesystem layout under the build dir. This allows GD extension to build. 2003-12-07 02:58:56 +00:00
Wez Furlong
3be2b8d7e4 Add dist target to makefile that will generate the file layout for
a win32 binary distro under build_dir/_dist_.
This isn't finalized yet, and you need Edin's distro template.
2003-12-06 16:14:03 +00:00
Wez Furlong
fcdda2e8f8 Fix a problem resolving the php.ini path under win32 terminal services environment.
Remove config-file-path option from configure under win32; it is not used except to display what might have been chosen, so lets default to the getenv() thingy.
2003-12-06 16:04:34 +00:00
Wez Furlong
6b679cd6ef fix ipv6 stuff under vc6 2003-12-06 10:32:35 +00:00
Wez Furlong
dbb152b96a Detect and enable IPv6 support under win32.
The ws2tcpip.h header links to IPv6 functions dynamically
and the generated binary will run on win98 and later.
2003-12-06 00:00:31 +00:00
Wez Furlong
190d8e85b5 2003, not 2002. 2003-12-05 23:13:57 +00:00
Frank M. Kromann
29e47dc7e4 Move the echo off statement to the top of the file. This removes commens from the final def file 2003-12-05 19:51:52 +00:00
Wez Furlong
9ec9ffece8 convert to DOS line endings to solve win98 issues 2003-12-05 17:45:15 +00:00
Wez Furlong
6201a56070 use /Ox flag for release build (all optimizations on).
If no php_build dir is specified, then look for either of the two
"standard" things in reasonable locations.
Allow CHECK_LIB to search for the "same" library using a ; separated
list of alternatives.
Tweak nsapi config and remove redundant or unused flags.
Add ZTS checks for both isapi and nsapi configs.
2003-12-05 02:41:00 +00:00
Wez Furlong
a93d20b443 Avoid killing files that we didn't generate when making clean. 2003-12-04 17:28:08 +00:00
Frank M. Kromann
d0624948ff fix remaining ext/ 2003-12-04 17:03:20 +00:00
foobar
2438b43eff - remove non-existing files 2003-12-04 15:14:03 +00:00
foobar
e095ae8629 - remove non-existing files 2003-12-04 15:02:48 +00:00
foobar
f1bf598edb - remove non-existing modules 2003-12-04 14:53:27 +00:00
Wez Furlong
a5cf836260 Fix libxml to use static lib if found.
Disable apache and isapi by default.
Add some smarts so that we can really build extensions and SAPI found in php-src/pecl and/or php-src/../pecl.
Only include a logo in the resources if we are building an .exe.
2003-12-04 13:38:47 +00:00
Rob Richards
c561f2f722 return status of have so extra libs return correct status 2003-12-04 12:34:29 +00:00
Wez Furlong
1635a2bdf5 put PHPDLL objects into BUILD_DIR/php so that it is a little
easier to see the main outputs (sapi and extensions)
2003-12-04 02:24:23 +00:00
Wez Furlong
7e73ae1b5e fix a couple of buglets and set version number on DLLs to whatever the PHP major version is. 2003-12-04 02:12:36 +00:00
Wez Furlong
90fe3fbf7f be safe... 2003-12-04 01:59:46 +00:00
Wez Furlong
fb84259217 Search for pecl extensions under php-src/pecl as a convenience for
pecl developers.
Add automatic version info resource generation for SAPI and extension
modules, based on PHP version numbers and info found in the CREDITS file.
As a nice side effect, this lets us add a logo icon to .exe files.
2003-12-04 01:37:52 +00:00
Frank M. Kromann
ca6502866b copy and paste error 2003-12-03 23:48:02 +00:00
Wez Furlong
4ffdb4253a This should solve a few problems with static vs. shared builds for extensions (such as mssql) that require certain CFLAGS to be defined, but not pull in other flags that would affect DLL linkage.
Also fix the iconv file; MSVC doesn't seem to like the #include SYMBOL syntax.
2003-12-03 22:59:48 +00:00
Wez Furlong
883815a9ec VC stores lib path in LIB not LIBS.
Add --with-extra-includes and --with-extra-libs to be able to specify
general additions to those paths from the environment.
2003-12-03 18:31:04 +00:00
Wez Furlong
03afe54c44 avoid breaking paths with spaces when we generate the makefile, and ensure that libs found in the default path are added to the link line 2003-12-03 17:04:30 +00:00
Wez Furlong
c2bd62fcd7 add rule for parsedate 2003-12-03 16:51:23 +00:00
Wez Furlong
1653fbfff6 fix typo 2003-12-03 14:58:05 +00:00
Wez Furlong
93bce45485 Propogate LDFLAGS from extensions to PHPDLL when building them statically.
Move ZendEngine2 to Zend while running buildconf
2003-12-03 14:55:03 +00:00
Wez Furlong
ad84dfa937 Build adjustments. 2003-12-03 14:29:45 +00:00
Wez Furlong
34df2ae239 some tweaks for Frank 2003-12-03 02:47:45 +00:00
Wez Furlong
86c8a87283 avoid vs.net specific option for now 2003-12-03 01:10:03 +00:00
Wez Furlong
68f77f37ba Avoid death when wrapping null/undefined values 2003-12-03 00:56:14 +00:00
Wez Furlong
5b7e8bb4f6 make help more useful 2003-12-03 00:46:40 +00:00
Wez Furlong
2d0eaa3989 Clarify a little. 2003-12-03 00:15:10 +00:00
Wez Furlong
05b9b20ed8 Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
Wez Furlong
7a7713eaeb Fix build for new usleep implementation.
NB: we now depend on windows 98 and later;
windows 95 does not have these timing functions.
2003-11-29 22:59:33 +00:00
Wez Furlong
dd60413c61 implement usleep for win32 2003-11-29 22:48:42 +00:00
Sebastian Bergmann
fe93c2ac09 Add dom_iterators.c to project. 2003-11-29 20:55:18 +00:00
foobar
ee50f6034e - remove non-existing servlet entry 2003-11-29 05:12:23 +00:00
Wez Furlong
2a9d2d5f73 re-implement the win32 select code.
The old code implicitly set any sockets into non-blocking mode,
and since there is no way to probe a socket to determine its
blocking status using the win32 API, this was a real pain in the ass.

The New implementation will hand off any sockets to winsock and
use the WaitForObject API in win32 to probe other types of handle.
2003-11-27 18:01:12 +00:00
Uwe Schindler
26b5772455 change names to php5_xxx in NSAPI 2003-11-18 09:04:31 +00:00
foobar
ee997ddbfa fix the docs 2003-11-18 00:06:37 +00:00
Uwe Schindler
614fec8dbb remove unix crap 2003-11-05 08:33:46 +00:00
Uwe Schindler
c22ddad21e SunONE servers 2003-11-04 09:02:56 +00:00
Andi Gutmans
bb12ffe41f - Move uuencode to the right place (ext/standard) 2003-10-30 09:58:52 +00:00
Andi Gutmans
b29686a6e5 - Add uuencode.c to the project 2003-10-27 15:49:11 +00:00
Gabor Hojtsy
6345a7aa7b The web server user name starts with IUSR_ and not ISUR_,
and some clarifications from Phil Driscoll
2003-10-23 09:53:31 +00:00