summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-29 16:17:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-29 16:17:53 +0000
commit84d30dffb690fe9eb0186ba45107f6658d6bc3aa (patch)
treeaf88fdb7ddbe783781aba7dfe431b48fb33b9244 /configure.ac
parent0fd282b078ace39aa03bc4be280129130b537d0c (diff)
downloadcurl-84d30dffb690fe9eb0186ba45107f6658d6bc3aa.tar.gz
Yang Tse's fix of the inet_pton check
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1341e561e..5d8b2f7b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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>