Add timegm to list of functions tested, for Marc-Andre L.
diff --git a/config.h.in b/config.h.in
index 6d01d3b..065d723 100644
--- a/config.h.in
+++ b/config.h.in
@@ -295,6 +295,9 @@
 /* Define if you have the tcsetpgrp function.  */
 #undef HAVE_TCSETPGRP
 
+/* Define if you have the timegm function.  */
+#undef HAVE_TIMEGM
+
 /* Define if you have the times function.  */
 #undef HAVE_TIMES
 
diff --git a/configure b/configure
index 3a12900..08f3d67 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.86 
+# From configure.in Revision: 1.87 
 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.12 
@@ -2642,7 +2642,7 @@
  kill link lstat mkfifo mktime nice pause plock putenv readlink \
  select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
  sigaction siginterrupt sigrelse strftime strptime symlink \
- tcgetpgrp tcsetpgrp times truncate uname waitpid
+ tcgetpgrp tcsetpgrp timegm times truncate uname waitpid
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:2649: checking for $ac_func" >&5
diff --git a/configure.in b/configure.in
index 52ffddd..14f3517 100644
--- a/configure.in
+++ b/configure.in
@@ -465,7 +465,7 @@
  kill link lstat mkfifo mktime nice pause plock putenv readlink \
  select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
  sigaction siginterrupt sigrelse strftime strptime symlink \
- tcgetpgrp tcsetpgrp times truncate uname waitpid)
+ tcgetpgrp tcsetpgrp timegm times truncate uname waitpid)
 AC_REPLACE_FUNCS(dup2 getcwd strdup strerror memmove)
 AC_CHECK_FUNC(getpgrp, AC_TRY_COMPILE([#include <unistd.h>], [getpgrp(0);], AC_DEFINE(GETPGRP_HAVE_ARG)))
 AC_CHECK_FUNC(setpgrp, AC_TRY_COMPILE([#include <unistd.h>], [setpgrp(0,0);], AC_DEFINE(SETPGRP_HAVE_ARG)))