aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@issan.cs.uni-dortmund.de>1999-06-21 05:01:18 +0000
committerJeff Law <law@gcc.gnu.org>1999-06-20 23:01:18 -0600
commit90e72e20a3808c9791c2fc1e062f260359adb771 (patch)
treed881987c07ef657bfdcbdd3c68c721ceb723ab54 /libiberty
parent62133b5e6ae85b44ae2829f182bd218fafc0aa7c (diff)
downloadgcc-90e72e20a3808c9791c2fc1e062f260359adb771.zip
gcc-90e72e20a3808c9791c2fc1e062f260359adb771.tar.gz
gcc-90e72e20a3808c9791c2fc1e062f260359adb771.tar.bz2
configure.in (checkfuncs): Add gettimeofday.
* configure.in (checkfuncs): Add gettimeofday. * config.in, configure: Regenerated. From-SVN: r27647
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/config.in12
-rwxr-xr-xlibiberty/configure4
-rw-r--r--libiberty/configure.in4
4 files changed, 21 insertions, 4 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 7980d25..66936c4 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * configure.in (checkfuncs): Add gettimeofday.
+ * config.in, configure: Regenerated.
+
Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
diff --git a/libiberty/config.in b/libiberty/config.in
index 520729f..7869127 100644
--- a/libiberty/config.in
+++ b/libiberty/config.in
@@ -85,6 +85,9 @@
/* Define if you have the getrusage function. */
#undef HAVE_GETRUSAGE
+/* Define if you have the gettimeofday function. */
+#undef HAVE_GETTIMEOFDAY
+
/* Define if you have the index function. */
#undef HAVE_INDEX
@@ -115,6 +118,9 @@
/* Define if you have the psignal function. */
#undef HAVE_PSIGNAL
+/* Define if you have the putenv function. */
+#undef HAVE_PUTENV
+
/* Define if you have the random function. */
#undef HAVE_RANDOM
@@ -127,6 +133,9 @@
/* Define if you have the sbrk function. */
#undef HAVE_SBRK
+/* Define if you have the setenv function. */
+#undef HAVE_SETENV
+
/* Define if you have the sigsetmask function. */
#undef HAVE_SIGSETMASK
@@ -202,6 +211,9 @@
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
+/* Define if you have the <sys/resource.h> header file. */
+#undef HAVE_SYS_RESOURCE_H
+
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
diff --git a/libiberty/configure b/libiberty/configure
index 4272f01..25daa27 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -1185,7 +1185,7 @@ funcs="$funcs waitpid"
vars="sys_errlist sys_nerr sys_siglist"
-checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk"
+checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk gettimeofday"
# These are neither executed nor required, but they help keep
# autoheader happy without adding a bunch of text to acconfig.h.
@@ -1532,7 +1532,7 @@ else
fi
done
- for ac_func in sbrk
+ for ac_func in sbrk gettimeofday
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1539: checking for $ac_func" >&5
diff --git a/libiberty/configure.in b/libiberty/configure.in
index 2dd1853..843a9dd 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -156,7 +156,7 @@ funcs="$funcs waitpid"
vars="sys_errlist sys_nerr sys_siglist"
-checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk"
+checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk gettimeofday"
# These are neither executed nor required, but they help keep
# autoheader happy without adding a bunch of text to acconfig.h.
@@ -170,7 +170,7 @@ if test "x" = "y"; then
AC_DEFINE(HAVE_SYS_NERR)
AC_DEFINE(HAVE_SYS_SIGLIST)
AC_CHECK_FUNCS(getrusage on_exit psignal strerror strsignal sysconf times)
- AC_CHECK_FUNCS(sbrk)
+ AC_CHECK_FUNCS(sbrk gettimeofday)
fi
# For each of these functions, if the host does not provide the