configure.in (gettimeofday): Check for its existance.

* configure.in (gettimeofday): Check for its existance.
        * config.in (HAVE_GETTIMEOFDAY): Define.
        * configure: Rebuilt.
Will be needed for mkstemp shortly.

From-SVN: r20743
This commit is contained in:
Jeff Law 1998-06-26 11:07:31 -06:00
parent d12eff3a6d
commit d3ee8d6860
3 changed files with 5 additions and 2 deletions

View File

@ -93,6 +93,9 @@
/* Define if you have the getrlimit function. */
#undef HAVE_GETRLIMIT
/* Define if you have the gettimeofday function. */
#undef HAVE_GETTIMEOFDAY
/* Define if you have the index function. */
#undef HAVE_INDEX

2
gcc/configure vendored
View File

@ -1726,7 +1726,7 @@ echo "$ac_t""$gcc_cv_header_inttypes_h" 1>&6
for ac_func in strtoul bsearch strerror putenv popen bcopy bzero bcmp \
index rindex strchr strrchr kill getrlimit setrlimit atoll atoq \
sysconf isascii
sysconf isascii gettimeofday
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1733: checking for $ac_func" >&5

View File

@ -191,7 +191,7 @@ AC_MSG_RESULT($gcc_cv_header_inttypes_h)
AC_CHECK_FUNCS(strtoul bsearch strerror putenv popen bcopy bzero bcmp \
index rindex strchr strrchr kill getrlimit setrlimit atoll atoq \
sysconf isascii)
sysconf isascii gettimeofday)
GCC_FUNC_VFPRINTF_DOPRNT
GCC_FUNC_PRINTF_PTR