Fix detection of gettimeofday().
authorMichael Poole <mdpoole@troilus.org>
Fri, 6 Oct 2006 23:12:20 +0000 (23:12 +0000)
committerMichael Poole <mdpoole@troilus.org>
Fri, 6 Oct 2006 23:12:20 +0000 (23:12 +0000)
configure.in: Since we have a fallback for gettimeofday, move it in with
    the functions for which we do.
git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-55

ChangeLog
configure.in

index 3697b8c091015b4e5ce4a44793c2d842feff2498..c271b7fc0656a916c91ff28dbd9429929e514385 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
 #
 
+2006-10-06 23:12:20 GMT        Michael Poole <mdpoole@troilus.org>     patch-55
+
+    Summary:
+      Fix detection of gettimeofday().
+    Revision:
+      srvx--devo--1.3--patch-55
+
+    configure.in: Since we have a fallback for gettimeofday, move it in with
+        the functions for which we do.
+
+    modified files:
+     ChangeLog configure.in
+
+
 2006-10-04 01:41:05 GMT        Michael Poole <mdpoole@troilus.org>     patch-54
 
     Summary:
index 01a9e3f1519239e6c3751e8f9911d4c38b3fca64..588be8abd0d3ebf3ea3edfd26562d4f49dc07fc0 100644 (file)
@@ -81,14 +81,15 @@ AC_CHECK_MEMBER([struct addrinfo.ai_flags],
                 [],[#include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>])
-AC_CHECK_FUNCS(gettimeofday)
+
+dnl We have fallbacks in case these are missing, so just check for them.
+AC_CHECK_FUNCS(freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long regcomp regexec regfree sysconf inet_aton epoll_create select gettimeofday,,)
+
+dnl Check for the fallbacks for functions missing above.
 if test $ac_cv_func_gettimeofday = no; then
   AC_CHECK_FUNCS(ftime,,AC_MSG_ERROR([ftime or gettimeofday required.  srvx build will fail.]))
 fi
 
-dnl We have fallbacks in case these are missing, so just check for them.
-AC_CHECK_FUNCS(freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long regcomp regexec regfree sysconf inet_aton epoll_create select,,)
-
 dnl Check for absolutely required library functions.
 AC_CHECK_FUNCS(socket strcspn strspn strtod strtoul,,AC_MSG_ERROR([a required function was not found.  srvx build will fail.]))