diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-28 20:21:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-28 20:21:35 +0000 |
commit | b222b2304eb3ee8b169f6ef3efaffe71eb0fde13 (patch) | |
tree | d949473684f167553b8e3a2b6e6c53350afa90ab /configure.ac | |
parent | fdf9900114a534c6f133b7c496f85cb33d042582 (diff) | |
download | curl-b222b2304eb3ee8b169f6ef3efaffe71eb0fde13.tar.gz |
Yang Tse's changes to provide an inet_pton() proto for the platforms who
don't have one in order to fix a remaining warning on IRIX 6.2.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c405010d2..1341e561e 100644 --- a/configure.ac +++ b/configure.ac @@ -1603,6 +1603,15 @@ AC_CHECK_DECL(basename, , #endif ) +AC_CHECK_DECL(inet_pton, , + AC_DEFINE(HAVE_NO_INET_PTON_PROTO), +[ +#ifdef HAVE_ARPA_INET_H +#include <arpa/inet.h> +#endif +] +) + AC_MSG_CHECKING([if we are Mac OS X (to disable poll)]) disable_poll=no case $host in |