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
# arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
#
# 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:
2006-10-04 01:41:05 GMT Michael Poole <mdpoole@troilus.org> patch-54
Summary:
[],[#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>])
[],[#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
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.]))
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.]))