diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 17:00:00 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 17:00:00 +0000 |
commit | 41b6caf4a956cd9d6032aafa87cc75ac7c94b6a5 (patch) | |
tree | d1aaa3d34d22db913ff202aa6bf6eadd21602319 /configure.in | |
parent | 1e8167a643bcbdf2433ae531442b456ca6fdb6ee (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.in | 4 |
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 |