Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 08d6be4

Browse files
committed
Add timegm to list of functions tested, for Marc-Andre L.
1 parent d92fb16 commit 08d6be4

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@
295295
/* Define if you have the tcsetpgrp function. */
296296
#undef HAVE_TCSETPGRP
297297

298+
/* Define if you have the timegm function. */
299+
#undef HAVE_TIMEGM
300+
298301
/* Define if you have the times function. */
299302
#undef HAVE_TIMES
300303

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22

3-
# From configure.in Revision: 1.86
3+
# From configure.in Revision: 1.87
44

55
# Guess values for system-dependent variables and create Makefiles.
66
# Generated automatically using autoconf version 2.12
@@ -2642,7 +2642,7 @@ for ac_func in alarm chown clock dlopen execv flock fork ftime ftruncate \
26422642
kill link lstat mkfifo mktime nice pause plock putenv readlink \
26432643
select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
26442644
sigaction siginterrupt sigrelse strftime strptime symlink \
2645-
tcgetpgrp tcsetpgrp times truncate uname waitpid
2645+
tcgetpgrp tcsetpgrp timegm times truncate uname waitpid
26462646
do
26472647
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
26482648
echo "configure:2649: checking for $ac_func" >&5

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ AC_CHECK_FUNCS(alarm chown clock dlopen execv flock fork ftime ftruncate \
465465
kill link lstat mkfifo mktime nice pause plock putenv readlink \
466466
select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
467467
sigaction siginterrupt sigrelse strftime strptime symlink \
468-
tcgetpgrp tcsetpgrp times truncate uname waitpid)
468+
tcgetpgrp tcsetpgrp timegm times truncate uname waitpid)
469469
AC_REPLACE_FUNCS(dup2 getcwd strdup strerror memmove)
470470
AC_CHECK_FUNC(getpgrp, AC_TRY_COMPILE([#include <unistd.h>], [getpgrp(0);], AC_DEFINE(GETPGRP_HAVE_ARG)))
471471
AC_CHECK_FUNC(setpgrp, AC_TRY_COMPILE([#include <unistd.h>], [setpgrp(0,0);], AC_DEFINE(SETPGRP_HAVE_ARG)))

0 commit comments

Comments
 (0)