configure.in (gettimeofday): Check for its existance.
authorJeff Law <law@gcc.gnu.org>
Fri, 26 Jun 1998 17:07:31 +0000 (11:07 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 26 Jun 1998 17:07:31 +0000 (11:07 -0600)
        * configure.in (gettimeofday): Check for its existance.
        * config.in (HAVE_GETTIMEOFDAY): Define.
        * configure: Rebuilt.
Will be needed for mkstemp shortly.

From-SVN: r20743

gcc/config.in
gcc/configure
gcc/configure.in

index 38cc36d..f468dc8 100644 (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
 
index 7448427..b82179b 100755 (executable)
@@ -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
index 731b8fd..6c704bb 100644 (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