Yang Tse's fix of the inet_pton check
authorDaniel Stenberg <daniel@haxx.se>
Tue, 29 Nov 2005 16:17:53 +0000 (16:17 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 29 Nov 2005 16:17:53 +0000 (16:17 +0000)
configure.ac

index 1341e56..5d8b2f7 100644 (file)
@@ -1604,7 +1604,8 @@ AC_CHECK_DECL(basename, ,
 )
 
 AC_CHECK_DECL(inet_pton, ,
-   AC_DEFINE(HAVE_NO_INET_PTON_PROTO),
+              AC_DEFINE(HAVE_NO_INET_PTON_PROTO, 1,
+                        [Defined if no inet_pton() prototype available]),
 [
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>