summaryrefslogtreecommitdiff
path: root/buildlib
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 /buildlib
parent1e8167a643bcbdf2433ae531442b456ca6fdb6ee (diff)
downloadapt-41b6caf4a956cd9d6032aafa87cc75ac7c94b6a5.tar.gz
Test for timegm in configure.
Author: doogie Date: 2002-11-22 07:15:23 GMT Test for timegm in configure.
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/config.h.in3
-rw-r--r--buildlib/environment.mak.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/buildlib/config.h.in b/buildlib/config.h.in
index 961dc4261..8a65a229a 100644
--- a/buildlib/config.h.in
+++ b/buildlib/config.h.in
@@ -16,6 +16,9 @@
/* The number of bytes in a unsigned short. */
#undef SIZEOF_SHORT
+/* Define if we have the timegm() function */
+#undef HAVE_TIMEGM
+
/* These two are used by the statvfs shim for glibc2.0 and bsd */
/* Define if we have sys/vfs.h */
#undef HAVE_VFS_H
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index bf676e643..87f4336e2 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -55,6 +55,7 @@ DB2LIB = @DB2LIB@
# Shim Headerfile control
HAVE_C9X = @HAVE_C9X@
HAVE_STATVFS = @HAVE_STATVFS@
+HAVE_TIMEGM = @HAVE_TIMEGM@
NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
# Shared library things