diff --git a/config.h.in b/config.h.in index 6d01d3b97f5..065d723002b 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 3a12900c2db..08f3d67a8ec 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 @@ for ac_func in alarm chown clock dlopen execv flock fork ftime ftruncate \ 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 52ffddd313f..14f3517145c 100644 --- a/configure.in +++ b/configure.in @@ -465,7 +465,7 @@ AC_CHECK_FUNCS(alarm chown clock dlopen execv flock fork ftime ftruncate \ 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 ], [getpgrp(0);], AC_DEFINE(GETPGRP_HAVE_ARG))) AC_CHECK_FUNC(setpgrp, AC_TRY_COMPILE([#include ], [setpgrp(0,0);], AC_DEFINE(SETPGRP_HAVE_ARG)))