diff options
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/config.in | 12 | ||||
-rwxr-xr-x | libiberty/configure | 4 | ||||
-rw-r--r-- | libiberty/configure.in | 4 |
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 |