From 08d6be48714d52dcc277c9b8e16ca51cb229dcc7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 11 Jun 1998 15:19:05 +0000 Subject: Add timegm to list of functions tested, for Marc-Andre L. --- config.h.in | 3 +++ configure | 4 ++-- configure.in | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) 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 @@ 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 52ffddd..14f3517 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))) -- cgit v0.12