summaryrefslogtreecommitdiff
path: root/ext/sockets/config.w32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-06-23 18:40:29 +0000
committerPierre Joye <pajoye@php.net>2008-06-23 18:40:29 +0000
commit41976c7ab67b6624cd661eae7c8ae0565874d465 (patch)
tree091b13cb5be71b4c1ea3760aab2d7c8add656ca0 /ext/sockets/config.w32
parent019c5861910b6c1d5669472d3202c5d5b2161993 (diff)
downloadphp-git-41976c7ab67b6624cd661eae7c8ae0565874d465.tar.gz
- do not enable an ext when a lib/header fails
- use MESSAGE in mysql* - use correct CFLAGS for ext/libxml headers
Diffstat (limited to 'ext/sockets/config.w32')
-rw-r--r--ext/sockets/config.w324
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/config.w32 b/ext/sockets/config.w32
index 587b9a1b12..3e44356fe7 100644
--- a/ext/sockets/config.w32
+++ b/ext/sockets/config.w32
@@ -4,8 +4,8 @@
ARG_ENABLE("sockets", "SOCKETS support", "no");
if (PHP_SOCKETS != "no") {
-
- if (CHECK_LIB("ws2_32.lib", "sockets", PHP_SOCKETS)) {
+ if (CHECK_LIB("ws2_32.lib", "sockets", PHP_SOCKETS)
+ && CHECK_HEADER_ADD_INCLUDE("winsock.h", "CFLAGS_SOCKETS")) {
EXTENSION('sockets', 'sockets.c php_sockets_win.c');
AC_DEFINE('HAVE_SOCKETS', 1);
} else {