summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-22 15:54:19 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-22 15:54:19 +0000
commit87a229cab18679042beb06076e5dec1dcfadaeae (patch)
tree0ec08e4aad18ccff2d578aca1c0b3799d2716c6c
parentcd5f591c417ec4924181af6c7f3c439b20f614b1 (diff)
Update configure.in to add inet_ntoa to AC_CHECK_FUNCS
-rw-r--r--config.h.in3
-rwxr-xr-xconfigure3
-rw-r--r--configure.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/config.h.in b/config.h.in
index 721ce9b4..17e4de94 100644
--- a/config.h.in
+++ b/config.h.in
@@ -18,6 +18,9 @@
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
+/* Define to 1 if you have the `inet_ntoa' function. */
+#undef HAVE_INET_NTOA
+
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
diff --git a/configure b/configure
index f13faf84..a2322203 100755
--- a/configure
+++ b/configure
@@ -5321,7 +5321,8 @@ done
-for ac_func in getpagesize gethostbyname gettimeofday memset mkdir rmdir select socket strcasecmp strerror strstr strtol
+
+for ac_func in getpagesize gethostbyname gettimeofday inet_ntoa memset mkdir rmdir select socket strcasecmp strerror strstr strtol
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/configure.in b/configure.in
index 76de47e6..5ca06d30 100644
--- a/configure.in
+++ b/configure.in
@@ -36,7 +36,7 @@ AC_FUNC_ERROR_AT_LINE
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_STAT
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS([getpagesize gethostbyname gettimeofday memset mkdir rmdir select socket strcasecmp strerror strstr strtol])
+AC_CHECK_FUNCS([getpagesize gethostbyname gettimeofday inet_ntoa memset mkdir rmdir select socket strcasecmp strerror strstr strtol])
AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
AC_OUTPUT