summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:00:00 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:00:00 +0000
commit41b6caf4a956cd9d6032aafa87cc75ac7c94b6a5 (patch)
treed1aaa3d34d22db913ff202aa6bf6eadd21602319 /configure.in
parent1e8167a643bcbdf2433ae531442b456ca6fdb6ee (diff)
Test for timegm in configure.
Author: doogie Date: 2002-11-22 07:15:23 GMT Test for timegm in configure.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 67c5f046a..a0ade1c28 100644
--- a/configure.in
+++ b/configure.in
@@ -92,6 +92,10 @@ if test x"$HAVE_STATVFS" != x"yes"; then
])
fi
+dnl We should use the real timegm function if we have it.
+AC_CHECK_FUNC(timegm,AC_DEFINE(HAVE_TIMEGM))
+AC_SUBST(HAVE_TIMEGM)
+
dnl Check the sizes etc. of the architecture
dnl This is stupid, it should just use the AC macros like it does below
dnl Cross compilers can either get a real C library or preload the cache