summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-26 17:07:31 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-26 17:07:31 +0000
commit041bc1b9e2cc38e377af464c5b0125bd2978ef2d (patch)
tree19da34cfc56a8c2daed1fcb7cd9dcd3b5cd6f4f3 /gcc
parent6e796aa539593bba5f5eda264d49c61838481356 (diff)
downloadgcc-041bc1b9e2cc38e377af464c5b0125bd2978ef2d.tar.gz
* configure.in (gettimeofday): Check for its existance.
* config.in (HAVE_GETTIMEOFDAY): Define. * configure: Rebuilt. Will be needed for mkstemp shortly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20743 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 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