]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in (checkfuncs): Add gettimeofday.
authorAndreas Schwab <schwab@issan.cs.uni-dortmund.de>
Mon, 21 Jun 1999 05:00:27 +0000 (23:00 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 21 Jun 1999 05:00:27 +0000 (23:00 -0600)
X
        * configure.in (checkfuncs): Add gettimeofday.
        * config.in, configure: Regenerated.

From-SVN: r27646

libiberty/configure
libiberty/configure.in

index 4272f0190f12e5e5b0808d9353897dbed4197dbd..25daa27c3726f54a4f682450b476998424d09c3b 100755 (executable)
@@ -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
index 2dd1853d3cfdaccbf3f67c3f28662ee53d1ad118..843a9dd94e9bc36fb4599f6271af4279ca4e8721 100644 (file)
@@ -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