]> granicus.if.org Git - php/commitdiff
Fix for #2909
authorSascha Schumann <sas@php.net>
Fri, 3 Dec 1999 22:08:32 +0000 (22:08 +0000)
committerSascha Schumann <sas@php.net>
Fri, 3 Dec 1999 22:08:32 +0000 (22:08 +0000)
acconfig.h.in
configure.in

index c8e35458f83ad26845c62ba3dd6ec8598c6e56de..760d55e2a1caedc2c8d59b83851e906a84ef1daf 100644 (file)
@@ -1,5 +1,7 @@
 /* This is the default configuration file to read -*- C -*- */
 
+#undef socklen_t
+
 /* these are defined by automake */
 #undef PACKAGE
 #undef VERSION
index 3fadff58f59526b09670e92c2af03d9aa015d5a9..8a3e87134d0cb8ebc9a71a7fb8a8f61f18e0649d 100644 (file)
@@ -286,7 +286,7 @@ if test "$ac_cv_struct_flock" = "yes" ; then
 fi
 
 if test "$ac_cv_socklen_t" = "no"; then
-  AC_DEFINE(socklen_t, "unsigned int", [Unix98 specifies to be socklen_t at least unsigned 32-bit])
+  AC_CHECK_TYPE(socklen_t, unsigned int)
 fi
 
 AC_CHECK_SIZEOF(long, 8)