diff --git a/gcc/config.in b/gcc/config.in index 38cc36db108..f468dc87e73 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -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 diff --git a/gcc/configure b/gcc/configure index 7448427836d..b82179b54b7 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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 diff --git a/gcc/configure.in b/gcc/configure.in index 731b8fdbd35..6c704bb659f 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -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