Pierre Joye
e78d5ac5c4
-MFH: improve detection of VC version and summary (2k2 and 2k3 are 1300 and resp. 1310) (Thx Marcus)
2008-07-05 19:53:04 +00:00
Pierre Joye
55d2b5862a
- add summary function and VC version info
2008-07-02 20:50:18 +00:00
Pierre Joye
1224a66f7d
- MFH: re2c detection, PHP_VERSION
2008-07-02 20:49:12 +00:00
Rui Hirokawa
c3286f32ef
implemented again zend-multibyte for PHP 5.3
2008-06-29 08:21:35 +00:00
Pierre Joye
9118a7c671
- use stdout for MESSAGE (thx Steph)
2008-06-23 11:44:21 +00:00
Pierre Joye
cb417c55ac
- add a MESSAGE function
...
[DOC] to be used instead of STDOUT in config.w32, it allows them to be redirected (like in a quiet mode)
- add the list of enabled SAPI
- improve the table output
2008-06-23 08:11:31 +00:00
Pierre Joye
4dcfb9a03f
- fix ADD_EXTENSION_DEP detection so it can match it anywhere in a line
2008-06-23 07:55:03 +00:00
Pierre Joye
1c0dbe6e09
- bindlib has its own package
2008-06-22 23:16:31 +00:00
Pierre Joye
b613e76c8b
- return true/false when a dep addition was succeeded or not
2008-06-22 23:15:54 +00:00
Pierre Joye
2c8f57778c
- add a list of the enabled extensions and how they are built (shared or static
...
list of SAPIs and libs used will follow shortly (to be used as QA check during the builds and as convenience)
2008-06-22 20:51:57 +00:00
Steph Fox
fd10eb318e
- ext/standard currently has a dependency on ext/ereg thanks to browscap.c
2008-06-19 17:43:38 +00:00
Steph Fox
05ce8031ad
- '' != 'no'
2008-06-19 17:14:43 +00:00
Elizabeth Marie Smith
7d4dfa8ee4
Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled
2008-05-14 03:13:17 +00:00
Steph Fox
a439cc70c6
- s/rmdir/rd
...
- Patch supplied by Richard Quadling
2008-05-09 11:20:09 +00:00
Steph Fox
fe4a9a3fc4
- Introducing nmake clean-all
...
- This should probably be merged with nmake clean, but I've no way to test the impact on distro builds.
2008-05-03 21:12:55 +00:00
Steph Fox
d19418e53c
- re2c requirement update
...
(sorry, I thought I'd committed this ages ago)
2008-04-24 16:04:59 +00:00
Steph Fox
5d9e5bbd8d
- Workarounds are no longer needed - thanks PECLers!
2008-04-14 17:55:02 +00:00
Hannes Magnusson
5881476266
MFH: Update URL for go-pear
2008-04-11 21:57:58 +00:00
Steph Fox
b4103c390f
- Allow most of the existing strangely-named headers to get by
2008-03-31 09:17:25 +00:00
Steph Fox
36db7c60c9
Revert "minimum version requirement" until there's a version to match it
2008-03-31 00:28:16 +00:00
Steph Fox
2b27e2c8a4
Another thing version_compare() allows...
2008-03-24 15:11:46 +00:00
Steph Fox
0726c79d7e
- Extend that regexp (again)
...
- Revert the changes affecting external template.rc files
2008-03-23 21:59:31 +00:00
Steph Fox
ab8ddf1b78
Don't break PECL extensions that are oh-so-nearly doing The Right Thing [TM]
...
(mcve, runkit, win32ps)
2008-03-22 22:16:55 +00:00
Marcus Boerger
0893c3e2c9
- Another re2c version bump and scanner regeneration
...
# It appears no one has used re2c in the way we do
2008-03-22 17:59:52 +00:00
Steph Fox
fc2eed70ef
Allow Stas his "1.0.0RC1-dev"
2008-03-22 09:33:31 +00:00
Steph Fox
a007d591bf
Independent versioning for PECL extensions (and only PECL, for now)
...
This affects the RC template used to ship information with the DLL in Windows distributions - nothing else.
It will potentially affect 13 PECL modules at present (and yes I do know which ones!)
2008-03-22 09:07:59 +00:00
Steph Fox
b72b4ce87e
Allow Elizabeth's favourite function to accept 2-4 sets of digits in version.
2008-03-20 15:03:20 +00:00
Rasmus Lerdorf
10afe5d96b
Make the sigsetjmp change more robust. On systems that don't have
...
sigsetjmp use setjmp. Windows is of course weird in that it seems to
have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in
config.w32.h.in
2008-03-18 21:14:28 +00:00
Steph Fox
7e38f9b2af
Generic function for binary probes, kill the other two. And get rid of the annoying double check for CL.
2008-03-18 17:10:20 +00:00
Steph Fox
7c8ff91218
You might as well have 'the Steph special' too :-)
...
I can never remember the cscript line, so let's just have 'configure' instead.
2008-03-18 03:23:14 +00:00
Steph Fox
766b6b606e
re2c checking.
...
If it's not installed, the least scary of messages goes out.
If it's installed but older than the required version, the download link is given.
2008-03-18 03:12:42 +00:00
Stanislav Malyshev
e345eb5e38
fix win32 build
2008-03-17 17:29:13 +00:00
Scott MacVicar
bd4c0ced50
Fix build on Windows
2008-03-17 17:06:51 +00:00
Scott MacVicar
b89071ec06
Make re2c required
2008-03-16 23:54:06 +00:00
Marcus Boerger
33da0b6a7b
- No more flex underwindows either
2008-03-16 22:26:42 +00:00
Marcus Boerger
31ee06f0aa
- Update windows build script
2008-03-16 22:16:56 +00:00
Marcus Boerger
af316021e8
- Rewrite scanner to be based on re2c instead of flex
...
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Pierre Joye
af15fe6531
- add PHP_PHP_BUILD\bin to the path in PATH_PROG (option set with --with-php-builds=[PATH] the zip.zip contains all we need (except re2c! )
2008-02-17 01:26:15 +00:00
Stanislav Malyshev
529c17665f
fix build
2008-01-23 19:55:37 +00:00
Rob Richards
38ac30162f
MFH: add errors when missing dependencies (Steph)
2008-01-10 18:21:56 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Elizabeth Marie Smith
bcc718d971
Allow passing additional configuration parameters to config.nice.bat
2007-11-14 19:38:57 +00:00
Stanislav Malyshev
186e34c875
add glob wrapper
2007-11-07 19:47:38 +00:00
Jani Taskinen
aa3eee1dce
MFH:- Moved the old regex functions to own extension: ereg
2007-10-05 15:00:09 +00:00
Jani Taskinen
2bc631fb40
MFH:- Added common getopt implementation to core.
...
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH: Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Jani Taskinen
8684e7495f
MFH: - Made build system less major version dependant to ease MFB/MFH
2007-07-26 22:45:59 +00:00
Derick Rethans
51431a7660
- MFH: Allow the use of a user defined template.rc file to override the
...
default ones. This makes it possible to include the extension's version
inside the version properties of the generated extension DLL instead
of the PHP version the extension is build against.
2007-07-21 11:24:53 +00:00
Johannes Schlüter
dc8d09bbbd
- MFH: Always enable mail() function
2007-07-11 17:36:56 +00:00
Rob Richards
b6b312c020
add file locking under windows
...
change win build to use common clock compat files
2007-04-18 09:38:59 +00:00
Dmitry Stogov
e1814f0dbe
WIN64 support
2007-04-16 08:09:56 +00:00
Dmitry Stogov
08daab9d1c
Initial WIN64 support
2007-04-10 06:22:28 +00:00
Edin Kadribasic
e77f670ba0
Make DLL only once (Wez)
2007-03-19 03:15:48 +00:00
Edin Kadribasic
730a77f19b
Check that manifest file exists before trying to embed it
2007-03-04 00:41:16 +00:00
Frank M. Kromann
2cca49ac01
MFH: Kill warnings when mt is not installed or is found as the tape command under cygwin
2007-01-13 03:32:28 +00:00
Edin Kadribasic
fec9895fc3
MFH: Make mt more silent
2007-01-08 00:27:06 +00:00
Ilia Alshanetsky
2df7386475
Update copyright year
...
# The rest of the files were already updated by Sebastian
2007-01-01 19:32:10 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Dmitry Stogov
53b088e60c
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M.
2006-12-20 10:49:33 +00:00
Edin Kadribasic
7e77d79b3c
Enable full build with newer Microsoft compilers
2006-12-19 10:26:01 +00:00
Dmitry Stogov
8f5786b6e8
Removed unused zend_mm.*
2006-12-05 08:07:57 +00:00
Dmitry Stogov
c1ba4fc989
Fixed VC2005 support
2006-11-14 14:20:26 +00:00
Dmitry Stogov
9b5a57f548
Fixed problem with spaces in libpath
2006-11-14 14:10:53 +00:00
Dmitry Stogov
fedc06d290
Fix warnings
2006-11-10 10:38:07 +00:00
Dmitry Stogov
bcfc501ca6
Use $(CC) for linking instead of $(LD). This allows usage of advansed optimization techniques (like Intel's inner-procedure optimization)
2006-11-10 10:30:46 +00:00
Dmitry Stogov
9fd2b6deb4
Simplify the code base as this getpwd() was used only once
2006-11-10 09:56:16 +00:00
Dmitry Stogov
29ed52ffa4
New memory manager
2006-07-18 09:06:33 +00:00
Edin Kadribasic
ff27860a66
Enable separate build dir for SAPIs, the same way it is possible for EXTENSIONs
2006-05-07 00:04:56 +00:00
Frank M. Kromann
fa94d911df
Revert patch for pdb files. No need to have it twice!
2006-04-29 14:33:46 +00:00
Frank M. Kromann
6ba807db50
Add new configure option --enable-pdb-files
...
This will generate .pdb files for debugging
2006-04-29 06:24:38 +00:00
Dmitry Stogov
9d6e4964a1
Fixed bug #36568 (memory_limit setting on win32 has no effect)
2006-03-14 14:19:00 +00:00
Johannes Schlüter
b0f0192f0c
- MFH: Fix charset
2006-02-08 21:09:18 +00:00
Johannes Schlüter
991c753bc5
- MFH: It's 2006 and PHP 5
2006-02-08 21:03:36 +00:00
Marcus Boerger
1cfcdf6612
- MFH
2006-01-11 20:31:05 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Wez Furlong
b041abbb4e
Fixes for building with vs.net 2005.
2005-12-14 02:01:13 +00:00
Rob Richards
673dc5ee5f
fix build - zend_reflection_api.c is no more
2005-12-01 11:11:46 +00:00
Frank M. Kromann
a6a9dc2eec
/Gz and /RTC1 is for debug builds
2005-11-22 00:29:56 +00:00
Sebastian Bergmann
abe364335b
Use /RTC1 instead of /GZ for MS VisualStudio 2005.
2005-11-20 17:03:14 +00:00
Edin Kadribasic
f0c27e68b2
Fix building of extensions that inlcude extname/header.h
2005-09-22 13:16:30 +00:00
Derick Rethans
5e33a09f20
- MFH: Fixed definition in correct file. (Patch by Nuno)
2005-09-21 08:41:16 +00:00
Edin Kadribasic
87071cf1d6
Added --add-modules-dir option to buidconf.js:
...
If this option is not specified buildconf.js will search for PECL
in the usual places (pecl, ../pecl).
Now it is possible to specify in which dirs additional modules reside
with say:
cscript /nologo win32/build/buildconf.js --add-modules-dir=../pecl_5_1 \
--add-modules-dir=../php-gtk2
2005-09-17 20:00:01 +00:00
Wez Furlong
812c1e0475
MFH, compiler detection
2005-08-12 20:08:14 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Edin Kadribasic
88fcc4859f
Allow building gd on windows systems without t1lib (M. Sisolak) #33620
2005-08-01 21:57:09 +00:00
Wez Furlong
09d433a349
If asked to populate a set of cflags for a header check, only populate the
...
flags and don't fill in an entry into config.w32.h, UNLESS explicitly told
what to do.
This prevents leakage of things like HAVE_SQLCLI1_H from one pecl into another
(or the core) and confusing the build (as has happened with ibm_db2 and
pdo_odbc).
2005-07-07 13:22:38 +00:00
Derick Rethans
3cdc895213
- Added backward compability wrapper "php_parse_date()".
...
- Changed WDDX extension to use new date parsing code.
- Removed all remnants to the old parser.
#- I hope that I didn't break the .dsp's...
2005-06-19 22:15:27 +00:00
Wez Furlong
fc92678b05
add --enable-memory-manager switch for win32 too
2005-06-09 13:09:04 +00:00
Frank M. Kromann
1f33f5cb96
USE_ZEND_ALLOC should be defined here too.
2005-06-08 20:50:44 +00:00
Wez Furlong
05cec1dbce
don't screw up the default fd set size when --disable-all is used
2005-06-05 19:19:09 +00:00
Wez Furlong
b227a51201
make "nmake install" more verbose.
2005-06-05 02:33:26 +00:00
Wez Furlong
664faf8411
Add option for placing the big binaries outside of the source tree.
...
I find that having Debug_TS sitting in the source tree makes cvs seem much slower.
2005-06-05 01:57:03 +00:00
Wez Furlong
2a8107ce69
tweaks for a recent addition to cygwin
2005-06-05 01:39:07 +00:00
Edin Kadribasic
35f051b502
Use PEAR bundle from the build template
2005-03-26 21:32:20 +00:00
Edin Kadribasic
b8a6661c81
Allow arbitrary files to be added to distro with ADD_DIST_FILE(filename)
2005-02-26 01:07:48 +00:00
Edin Kadribasic
bf3ec794f1
Added .reg files to the disto (were added manually)
2005-02-26 00:37:10 +00:00
Edin Kadribasic
dec1c86ab6
Added --enable-debug-pack which will create a zip file with *.pdb debug
...
symbol files. Could be used to allow windows users to use free Microsoft
debugging tools to generate useful backtraces.
Debug tools can be found at:
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
CLAGS used described in:
http://support.microsoft.com/default.aspx?scid=kb;en-us;291585
Only tested on VC 6.0.
2005-02-25 00:20:19 +00:00
Edin Kadribasic
e2974d755d
Offical zip files have -Win32 suffix
2005-02-24 23:28:49 +00:00
Edin Kadribasic
8ff4a1002c
Really disable zend multibyte by default. mbstring is using #ifdef all over the place so defining to '0' doesn't help much
2005-02-15 13:57:49 +00:00
Wez Furlong
a92ae61cb8
fix snaps
2005-02-13 21:38:39 +00:00
Rui Hirokawa
c7ebef660a
added --enable-zend-multibute for win32
2005-02-13 13:03:03 +00:00
Wez Furlong
668740aada
even less noise
2005-02-06 23:23:05 +00:00
Wez Furlong
c3eae192dc
less noise
2005-02-06 22:48:36 +00:00
Edin Kadribasic
afcd94f22d
Generate files needed for php5ts.dll build
2005-01-22 03:36:38 +00:00
Wez Furlong
968d2ef830
A couple more adjustments for building multiple output variants of the same
...
extension source.
2005-01-20 03:24:50 +00:00
Frank M. Kromann
e296197362
Allow the build system to generate multiple extensions from the same extension directory
2005-01-18 22:37:12 +00:00
Frank M. Kromann
b1c6c89d97
Fix one-shot builds.
2004-11-15 23:59:22 +00:00
Frank M. Kromann
e1e29cefc4
Adding php_sprintf.c to Win32 build
2004-11-15 18:27:10 +00:00
Frank M. Kromann
fb543df1a8
No need to ude /Fo twice.
...
Unbreak the build be readding the compile only flag
2004-11-10 23:52:56 +00:00
Frank M. Kromann
d589e61204
Make sure files are stored in the right directory
2004-11-10 20:12:42 +00:00
Edin Kadribasic
34e4dae95c
Added zend_strtod.c to the new build
2004-11-04 02:06:04 +00:00
Wez Furlong
ff4e970fb1
Make new poll stuff work on win32 (and still be safe on unix)
2004-09-17 14:36:55 +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
Wez Furlong
a60a6c5209
Generate a .reg file for the syslog stuff
...
NB: still need a solution for zts and non-zts on the same machine.
2004-08-05 12:15:17 +00:00
Wez Furlong
93cdab8b96
Catch exceptions from broken config.w32 files
2004-08-03 01:23:35 +00:00
Wez Furlong
bfbd57905e
Explicitly check PATH before cygwin for mc.exe, as we want MS message compiler,
...
not GNU Midnight Commander.
2004-08-03 01:03:32 +00:00
Wez Furlong
bb099765a3
Revert the search path tweak; it broke the snap build for ming
2004-08-03 00:58:29 +00:00
Wez Furlong
e7aeb7a4c8
A better fix for the VC 2k max literal string limit
...
(also affects vc7)
2004-08-03 00:02:48 +00:00
Frank M. Kromann
30cad86a8d
VC6 hack to avoid CONFIGURE_COMMAND string length over 2048 when building many extensions
2004-08-02 18:48:49 +00:00
Frank M. Kromann
07979b3ce4
Search in PATH before explicit_path. This resolves conflict between Microsoft and cygwin tools with the same name.
2004-08-02 17:54:49 +00:00
Wez Furlong
d898a7418b
More hoops for VC6
2004-08-01 12:32:03 +00:00
Wez Furlong
f93193ccff
snap this rule in half for vc6
2004-08-01 11:33:58 +00:00
Wez Furlong
2a90ba3642
Juggle deps
2004-08-01 11:19:33 +00:00
Wez Furlong
8085f48575
Enable usleep under win32
2004-08-01 00:29:50 +00:00
Wez Furlong
2c9d87c2f6
Fix bug #8314 : sane syslog output to the WinNT event log.
...
Big fat note: if you're building from a .dsp, you need to replicate
the custom build step that uses MC to generate the message catalog
To make use of this fix, you need to register the event source; running "nmake
install" will handle this for you (if you also build the win32std extension
from pecl).
I'll arrange with Phil to have the installer handle this registration too.
2004-07-31 23:59:46 +00:00
Wez Furlong
d45d690164
Go with new go-pear infrastructure
2004-07-31 18:59:50 +00:00
Wez Furlong
cde7423cde
Misc. win32 thread safety fixes.
2004-07-29 02:59:44 +00:00
Edin Kadribasic
5e605e6dc2
Added memory-limit to the list of excluded force-on options
2004-07-07 12:25:10 +00:00
Wez Furlong
32956a25bf
add "clean-pecl" rule for nuking pecl objects
2004-05-25 12:57:45 +00:00
Wez Furlong
8d9ced8282
Fix #27638 : not cleaning up object files in win32 build
2004-05-18 21:07:01 +00:00
Wez Furlong
0460174a0d
Primitive support for probing headers for functions using a regexp
2004-05-18 09:58:45 +00:00
Wez Furlong
6571a32c87
Add --enable-memory-limit configure option (defaults to off)
2004-05-13 12:14:56 +00:00
Wez Furlong
38795b88ed
Add "--disable-all" switch, which will force all arguments to "no" if
...
they are not specified explicitly. (like the snapshot build, but in
reverse).
2004-04-29 00:17:09 +00:00
Wez Furlong
8307c0204c
Fix bug that prevented --without-gd from working
2004-04-15 16:09:36 +00:00
Frank M. Kromann
b2913063e0
Remove debug output
2004-04-08 19:08:37 +00:00
Wez Furlong
5e8d0919cf
Add code to fetch the pear bundle based on pear/go-pear-list.php
...
For the moment, this is turned off, but it should be turned on ready for
the next RC.
(waiting for feedback from Edin and the PEAR guys)
2004-04-08 13:36:11 +00:00
Frank M. Kromann
d956e33ed2
avoid deleting needed files when the .cvsignore file contains empty lines (mysqli)
2004-04-07 18:48:23 +00:00
Marcus Boerger
96b6c7f5f8
Windows part of NAN/INF
2004-03-29 18:58:28 +00:00
Marcus Boerger
861790dede
atof("NAN")/atof("INF") do not work there
2004-03-27 01:00:52 +00:00
foobar
44dfac9d96
- Fixed bug #27368 (php.ini-* has lone CR in the end)
...
# regex taken from win32/sendmail.c (suggested by Sara)
# And Andrei invited Wez to his speech on the cruise.. :)
2004-02-25 23:38:03 +00:00
Wez Furlong
6d131cefc0
name the pecl bundle pecl-foo instead of php-foo-pecl.
2004-02-12 17:58:52 +00:00
Wez Furlong
2c3c75ae55
ensure that install exists before copying files.
2004-02-12 13:01:14 +00:00
Wez Furlong
08a1b6c476
Tidy up "nmake clean" for people that don't have a PECL checkout.
...
Be paranoid when building a snapshot: if the module is not a core
module (eg: it comes from outside of ext or sapi) and it defaults to "yes",
then force it to become shared. This will prevent a pecl ext from
accidentally being compiled statically into the core, and prevent that
ext from breaking the core build. You can still manually force a static
build by explicitly specifying the args for that extension on your configure
line.
2004-02-12 12:30:41 +00:00
Wez Furlong
fed6471bb7
Fix build; line continuation character should be the very last character
...
on a line, otherwise things b0rk.
2004-02-12 11:55:16 +00:00
Edin Kadribasic
5979799de0
Added zend_exceptions.c to the build
2004-02-12 10:53:08 +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
Wez Furlong
4a7577e4ab
include PECL targets in snap build...
2004-01-10 01:11:42 +00:00
Wez Furlong
143ca63846
let informix build
2004-01-09 15:11:31 +00:00
Wez Furlong
fc1d460a99
add a rule to clean pecl things; split up the command line into 3 to
...
try to avoid possible problems with line-length under VC6
2004-01-09 13:32:20 +00:00
Wez Furlong
2aa33945fc
Separate pecl extensions and sapi into their own target, and have mkdist.php
...
create a separate pecl dir and zip when building a win32 snapshot.
2004-01-09 13:17:58 +00:00
Wez Furlong
af1522ad2d
fix PHP_SPL problem when you don't have a pecl checkout.
2004-01-09 11:19:40 +00:00
Wez Furlong
510dd7cca5
add optional dep on spl for simplexml.
...
Fix dep handling in buildconf
2004-01-08 21:53:48 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Wez Furlong
611c69b816
update copyright year in win32 resource template
2004-01-08 10:58:27 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
4a17522353
Change ordering of CFLAGS for built sources, so that extension specific include dirs
...
occur before more global include dirs.
This avoids problems when building a bundled lib and you have headers from an
external version of that lib in your global include dir.
2004-01-08 00:25:48 +00:00
Wez Furlong
772875537f
win32 build:
...
gd should build shared by default
don't use php.ini when running mkdist.php
2004-01-07 23:36:36 +00:00
Wez Furlong
f5e4590fd5
tweak snap build
2004-01-07 23:11:54 +00:00
Wez Furlong
48b96c10d2
glob-ify lib checks; this simplifies writing of config.w32 files a little.
2004-01-07 20:06:32 +00:00
Wez Furlong
9720a31bd6
A more general check for dirs under Release or Debug.
2003-12-23 17:20:50 +00:00
Wez Furlong
5d5f2619b3
Proper check for resolv.lib
2003-12-23 16:01:41 +00:00
Wez Furlong
03d426f6a6
implement our own tiny little dependcy tracker and use
...
it to build distros.
2003-12-23 15:33:13 +00:00
Wez Furlong
8f3f09f315
Attempt to work around apparent problems with WshShell.CurrentDirectory.
...
# Andi, please try this now
2003-12-23 13:10:54 +00:00
Wez Furlong
b8978cad26
Better implementation of the prefix thing
2003-12-23 12:40:41 +00:00
Frank M. Kromann
835f6beab8
Adding install target that follows the prefix
2003-12-23 05:43:19 +00:00
Wez Furlong
475821225d
Implement a glob() function for use by win32 configure.
2003-12-23 01:55:33 +00:00
Wez Furlong
482ae86d1f
win32 buildconf now honours extension dependencies and will
...
try its best to ensure that the config.w32 files are amalgamated
in such a way that modules are processed before their dependents.
2003-12-23 01:54:07 +00:00
Frank M. Kromann
86c302f590
Use a variable name so this actually works.
2003-12-23 00:36:32 +00:00
Frank M. Kromann
3a6a3dd816
Fix build when both a path and the keyword shared is given
...
Now works for both <path>,shared and shared,<path>
2003-12-23 00:17:15 +00:00
Wez Furlong
4b76493f1e
Don't annoy people building snaps/dists using VC6
2003-12-22 22:48:29 +00:00
Wez Furlong
fc292fc259
For GD, build the extension as php_gd2.dll instead of php_gd.dll.
...
Thanks again Frank :-)
2003-12-22 22:33:43 +00:00
Wez Furlong
42ed91f94c
Fix bug #26692 ; Could not find GetLongPathNameA under NT4.
...
This fix relies on you having the Platform SDK headers.
Using the new build system, the NewAPIs.h header will be detected
automatically, however, for people building using .dsp files,
you will need to add /DHAVE_NEWAPIS_H=1 to the TSRM project
if you have those newer headers.
2003-12-22 15:01:05 +00:00
Wez Furlong
113165bd95
Add --enable-snapshot-build configure option for win32 build.
...
Using it will attempt to switch on any configure options that
were left to their default value of "no".
Add a "snap" target to the makefile which will run a sub-process
to make each SAPI and EXT independently, so that the whole process
does not bail out if a particular extension is broken.
Add a way to specify dependencies between extensions in the
config.w32 files so that the makefile will include appropriate rules
and linkage.
2003-12-22 13:13:39 +00:00
Wez Furlong
deb3bff21a
Forgot to add embed config.w32, and tweak version resource when CREDITS file is missing.
2003-12-19 23:19:19 +00:00
Wez Furlong
331dc79254
More things for the new build system.
...
Pi3Web and aolserver build untested (no headers and libs for those here)
2003-12-19 20:39:04 +00:00
Wez Furlong
9ecd238b6b
don't overwrite internal_functions.c if the content did not change;
...
this saves re-linking php*.dll when you add shared extensions to
your config.
2003-12-19 16:55:59 +00:00
Wez Furlong
ee44dd3d79
"Real" cvsclean, works as the unix version does
2003-12-19 12:51:19 +00:00
Wez Furlong
a3075773ee
Refinements for new build system:
...
- Add major + minor version to .dll and .exe headers during linking
- Handle pecl build dir correctly when pecl is a sibling of php-src
- try and guess where your cygwin utils are installed (if you have them)
so that we can detect bison, flex etc.
- other little refinements
2003-12-19 12:50:11 +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
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
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