Add timegm to list of functions tested, for Marc-Andre L.

This commit is contained in:
Guido van Rossum 1998-06-11 15:19:05 +00:00
parent d92fb16d57
commit 08d6be4871
3 changed files with 6 additions and 3 deletions

View File

@ -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

4
configure vendored
View File

@ -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

View File

@ -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 <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)))