summaryrefslogtreecommitdiff
path: root/win32/build/confutils.js
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-12-06 00:00:31 +0000
committerWez Furlong <wez@php.net>2003-12-06 00:00:31 +0000
commitdbb152b96af8fe8e27f2846f558459cdce3326aa (patch)
treecd725cffd77a9593700986624cdd95bfc8c3d991 /win32/build/confutils.js
parent190d8e85b53437c3675e55b70a4409a22d531d42 (diff)
downloadphp-git-dbb152b96af8fe8e27f2846f558459cdce3326aa.tar.gz
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.
Diffstat (limited to 'win32/build/confutils.js')
-rw-r--r--win32/build/confutils.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index a126817b26..3275f18ae5 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-// $Id: confutils.js,v 1.17 2003-12-05 02:41:00 wez Exp $
+// $Id: confutils.js,v 1.18 2003-12-06 00:00:31 wez Exp $
var STDOUT = WScript.StdOut;
var STDERR = WScript.StdErr;
@@ -427,14 +427,14 @@ function CHECK_HEADER_ADD_INCLUDE(header_name, flag_name, path_to_check, use_env
if (typeof(p) == "string") {
ADD_FLAG(flag_name, '/I "' + p + '" ');
- have = 1;
} else if (p == false) {
/* not found in the defaults or the explicit paths,
* so check the general extra includes; if we find
* it here, no need to add another /I for it as we
* already have it covered */
p = search_paths(header_name, PHP_EXTRA_INCLUDES, null);
- }
+ }
+ have = p ? 1 : 0
sym = header_name.toUpperCase();
sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");