Commit Graph

216 Commits

Author SHA1 Message Date
Pierre Joye
f7b5a73383 - fix build with out of src obj dir 2010-12-14 23:09:31 +00:00
Pierre Joye
e2ea0f5d98 - we just reached the tiny cmd lenght limit, let reduce the size of dirs 2010-12-14 18:49:15 +00:00
Pierre Joye
e79ed6359d - add nmake install-sdk (create the devel package) and related sub rules 2010-12-14 02:55:26 +00:00
Pierre Joye
d14417f8ea - add nmake install-sdk (create the devel package) and related sub rules 2010-12-14 02:55:26 +00:00
Pierre Joye
12a3e339f4 - MFH trailing slashes detection 2010-12-13 20:57:06 +00:00
Pierre Joye
31f97e2440 - no need to diplay that 2010-12-13 20:56:44 +00:00
Pierre Joye
4df03c1ded - phpize support merge from 5.3 2010-12-13 20:55:13 +00:00
Kalle Sommer Nielsen
15ee70e8e0 * Don't print the shared headers table after enabling each extension (cleaner configure output)
* Fix double slashes for directory targets in PHP_INSTALL_HEADERS()
2010-12-13 20:46:57 +00:00
Pierre Joye
aea6771d19 - add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :) 2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18 - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd 2010-12-11 22:18:10 +00:00
Pierre Joye
ff60a98755 - add initial PHP_INSTALL_HEADERS, one step closer to phpize 2010-12-10 16:10:08 +00:00
Pierre Joye
8109abba8b - MFH: vs2010 detection support, restore /W3 2009-11-30 09:52:33 +00:00
Derick Rethans
fb5d7e4748 - Added - to the list of "unsafe" characters so that the pecl dir can have the
- character in the name.
2009-07-24 16:30:48 +00:00
Pierre Joye
9c18f65572 - cvs > svn 2009-07-15 16:52:21 +00:00
Kalle Sommer Nielsen
953cf4c217 MFH: If we don't have a comment (for the 3rd argument in ARG_[ENABLE|WITH], then don't print a comment say "undefined" 2009-05-29 07:43:07 +00:00
Pierre Joye
15fa3c1d93 - MFH: the config summary is a must, do not allow to disable it 2008-12-25 00:08:51 +00:00
Pierre Joye
941749f5ec - MFH: add build type (debug/release) and TS info to the summary 2008-11-21 14:17:33 +00:00
Pierre Joye
1b5a8cc258 - MFH: add VC version and architecture to the created zip(s) names 2008-09-25 15:00:59 +00:00
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
Steph Fox
6931789f31 - Happy New Year!
(better late than never, eh?)
2008-07-20 02:20:31 +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
18911142e2 - Make REMOVE_TARGET work in all cases 2008-07-18 15:45:03 +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
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
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
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
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
5d9e5bbd8d - Workarounds are no longer needed - thanks PECLers! 2008-04-14 17:55:02 +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
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
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
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
Rob Richards
38ac30162f MFH: add errors when missing dependencies (Steph) 2008-01-10 18:21:56 +00:00
Elizabeth Marie Smith
bcc718d971 Allow passing additional configuration parameters to config.nice.bat 2007-11-14 19:38:57 +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
Edin Kadribasic
e77f670ba0 Make DLL only once (Wez) 2007-03-19 03:15:48 +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
Edin Kadribasic
7e77d79b3c Enable full build with newer Microsoft compilers 2006-12-19 10:26:01 +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
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
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +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
Wez Furlong
fc92678b05 add --enable-memory-manager switch for win32 too 2005-06-09 13:09:04 +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
Edin Kadribasic
b8a6661c81 Allow arbitrary files to be added to distro with ADD_DIST_FILE(filename) 2005-02-26 01:07:48 +00:00
Wez Furlong
a92ae61cb8 fix snaps 2005-02-13 21:38:39 +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
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
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
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
Edin Kadribasic
5e605e6dc2 Added memory-limit to the list of excluded force-on options 2004-07-07 12:25:10 +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
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
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
143ca63846 let informix build 2004-01-09 15:11:31 +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
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
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
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
475821225d Implement a glob() function for use by win32 configure. 2003-12-23 01:55:33 +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
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
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
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
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
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
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
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
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
68f77f37ba Avoid death when wrapping null/undefined values 2003-12-03 00:56:14 +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