aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-06-26 11:07:31 -0600
committerJeff Law <law@gcc.gnu.org>1998-06-26 11:07:31 -0600
commitd3ee8d686062a9eb4bb94ec326cd58956c1786e2 (patch)
tree19da34cfc56a8c2daed1fcb7cd9dcd3b5cd6f4f3
parentd12eff3a6ddce05b2f8adb939daae26a2ac146ba (diff)
downloadgcc-d3ee8d686062a9eb4bb94ec326cd58956c1786e2.zip
gcc-d3ee8d686062a9eb4bb94ec326cd58956c1786e2.tar.gz
gcc-d3ee8d686062a9eb4bb94ec326cd58956c1786e2.tar.bz2
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
-rw-r--r--gcc/config.in3
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.in2
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 38cc36d..f468dc8 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 7448427..b82179b 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 731b8fd..6c704bb 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