Commit Graph

795 Commits

Author SHA1 Message Date
Pierre Joye
473a96ba3d - MFH: fix EXT_FOO_SHARED usage as dep mgt broke it (one more hack but we can clean them after alpha) 2008-07-25 12:40:45 +00:00
Kalle Sommer Nielsen
04be84748f Fix macro redef 2008-07-20 20:17:48 +00:00
Steph Fox
6931789f31 - Happy New Year!
(better late than never, eh?)
2008-07-20 02:20:31 +00:00
Steph Fox
aca8bb5757 - Update get_define() calls to reflect earlier change in return value on failure
- Rename output files (to avoid that build option for "php5ts.exe")
- Add libpath to intermediate dir path (avoids a naming collision that wasn't there last week)
- Don't make assumptions about trailing whitespace in incoming data
2008-07-20 01:19:45 +00:00
Steph Fox
9a5f2e1b79 - Fix logic in get_define() 2008-07-19 19:02:59 +00:00
Steph Fox
e19914f5b5 - Rejig REMOVE_TARGET
- Tidy ADD_EXTENSION_DEP
- Put summary output in alphabetical order
2008-07-19 16:57:58 +00:00
Steph Fox
130c53263c - Make SAPI include paths work (on my box at least) 2008-07-18 17:35:37 +00:00
Steph Fox
18911142e2 - Make REMOVE_TARGET work in all cases 2008-07-18 15:45:03 +00:00
Steph Fox
893c55f2bc - SAPIs are go.
Caveat: aolserver, isapi, nsapi, pi3web and (obviously) Linux-specific modules not tested.
2008-07-18 02:53:06 +00:00
Pierre Joye
1fdd27500b - MFH: CS/WS 2008-07-17 17:31:35 +00:00
Steph Fox
640270c4dc Update README to reflect current state of play 2008-07-16 22:30:12 +00:00
Steph Fox
3dcb59a05a - A bit more finesse for .dsp generation
- Builds (on my box) for cgi or cli
- This is still VC6-only at present
2008-07-16 22:25:46 +00:00
Matt Wilmas
bc8b11ce02 MFH: Prevent build failure after closures 2008-07-14 10:15:31 +00:00
Pierre Joye
8c7c445404 - wrong bracket position while mergin 2008-07-13 09:34:08 +00:00
Pierre Joye
92f5c267f6 - MFH: support for new naming 2008-07-12 23:42:25 +00:00
Steph Fox
9e2f3c57d0 This looks more than it is due to ws/cs and minor fixes in it...
- Fixes logic in dependency check
- Fixes logic in AC_DEFINE error message
- Prevents shared extensions from building if a hard dependency is missing altogether
- Cleans up errors/warnings/messages for all scenarios
- Changes a function call to the new project support
2008-07-12 15:04:39 +00:00
Steph Fox
bcff952f23 - It's amazing the havoc one little misplaced bracket can cause... 2008-07-09 15:47:06 +00:00
Steph Fox
4fd2b80786 - Clean up ws/cs a bit and add some comments 2008-07-09 14:57:14 +00:00
Steph Fox
208d851444 - Embryonic project file generation. Use buildconf --add-project-files and hopefully it'll work.
- Please read the README before complaining.

@Stas, Rob - please test.
2008-07-09 08:15:46 +00:00
Pierre Joye
09e0bc6c90 - MFH:
- use ARG_ENABLE for the summary option
 - move test if summary function
2008-07-07 13:51:35 +00:00
Pierre Joye
5d04f639de - move common functions to confutils
- rename the summary option to reflect its usage (Enable Sumamry, yes)
2008-07-07 13:32:55 +00:00
Steph Fox
e22ec182ed - Fix up some bits and pieces.
- Always report re2c version.
- Head towards making it possible for all platforms to have compiler info in phpinfo() output.
- Make it possible to switch off configure summary (--without-summary).
2008-07-07 01:23:56 +00:00
Pierre Joye
21bca5add3 - correctly test the VCVERS (four digits now) 2008-07-06 09:55:44 +00:00
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
Edin Kadribasic
f1bcbb97ea MFH (and build fix) 2007-10-12 07:58:32 +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
Dmitry Stogov
c327dec913 Fixed bug #41192 (Per Directory Values only work for one key) 2007-05-02 10:16:34 +00:00
Dmitry Stogov
6a8b3db8bc Fixed buffer overflow 2007-04-22 10:25:18 +00:00
Nuno Lopes
b6fac40b3a update install instructions (auto-generated from phpdoc XML sources) 2007-04-20 14:13:47 +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
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Nuno Lopes
3e45bc0a51 update install instructions from phpdoc XMl sources 2007-01-19 19:25:02 +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
Frank M. Kromann
a6b3682dba Fix win32 build 2006-12-01 20:17:50 +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
532b02cd19 Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:07 +00:00
Dmitry Stogov
41c81f20e1 opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext 2006-11-10 11:20:48 +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
Stanislav Malyshev
dd48748f5a fix VC build:
- update PCRE defines
- create timelib_config.h
- update .def dependencies
2006-09-13 17:33:24 +00:00
Stanislav Malyshev
286a9db9df fix fcgi build 2006-09-13 17:23:16 +00:00
Edin Kadribasic
8251f8b8d0 MFH: Obsolete, prepaing for new installer script 2006-09-01 20:25:32 +00:00
Nuno Lopes
e43dc5c95b sync install instructions with the phpdoc xml sources 2006-08-09 23:22:49 +00:00
Dmitry Stogov
58c2278284 Added version specific registry keys to allow different configurations for different php version. 2006-08-03 13:54:05 +00:00
Dmitry Stogov
29ed52ffa4 New memory manager 2006-07-18 09:06:33 +00:00
Dmitry Stogov
6c310f9c0a New crypt() implementation for win32 which is about 10 times faster and has more friendly license. 2006-06-16 05:57:18 +00:00
Stanislav Malyshev
1ebb0590bd improve .dsp build 2006-06-05 09:02:28 +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
Marcus Boerger
5a69b29082 - Warning fixes by Steph 2006-02-26 10:57: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
Dmitry Stogov
bc410c3863 Fixed first-chance exception during request shutdown 2006-01-16 14:26:07 +00:00
Marcus Boerger
1cfcdf6612 - MFH 2006-01-11 20:31:05 +00:00
foobar
6486069a3f MFH 2006-01-06 02:04:33 +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
foobar
d23ad35375 sync with docs (?) 2005-12-01 00:42:13 +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
df5cfe27b4 - Fixed bug #29334 (mail() provides incorrect message time header) 2005-08-07 22:06:29 +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
Anantha Kesari H Y
0a89e44ed7 NetWare cleanup
--Kamesh
2005-07-28 09:44:13 +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
foobar
e2999b154f nuked file 2005-05-24 15:16:24 +00:00
foobar
ac53cdfb2f - Nuked some PECLed extensions 2005-04-08 21:17:07 +00:00
foobar
ab5072df2a Removed non-existing sapi/activescript dsp 2005-04-08 21:10:27 +00:00
Edin Kadribasic
2d45bbb9cf Updated install instructions from the documentation project (Philip Olson) 2005-03-30 13:15:05 +00:00
Edin Kadribasic
35f051b502 Use PEAR bundle from the build template 2005-03-26 21:32:20 +00:00
Zeev Suraski
6e6a1f0e69 Merge registry fix 2005-03-14 12:42:05 +00:00
Andrey Hristov
9e939133d2 FR 32275 - fifth parameter to preg_replace() to count number of replaces
made.
#it would be nice if someone of the doc team documents it. thanks!
2005-03-12 12:03:50 +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
Anantha Kesari H Y
147dab1b57 time.h is available in NetWare LibC.
path sperator has been changed from \ to / while including netware\sendmail_nw.h
2005-02-25 05:57:41 +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