summaryrefslogtreecommitdiffstats
path: root/libf2c/libU77/configure
diff options
context:
space:
mode:
authorfx <fx@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-06 08:40:35 +0000
committerfx <fx@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-06 08:40:35 +0000
commit27eaa77a2398b79aad62d70b82ba753931344f9d (patch)
tree0b946c62d3bdd5f63c936e9ac94d3dda7b43513b /libf2c/libU77/configure
parent2e72182528e1673f2bf62dc186ebcd2317e56023 (diff)
downloadppe42-gcc-27eaa77a2398b79aad62d70b82ba753931344f9d.tar.gz
ppe42-gcc-27eaa77a2398b79aad62d70b82ba753931344f9d.zip
1998-07-05 Dave Love <d.love@dl.ac.uk>
* f2cext.c (system_clock_): Remove (just f90 intrinsic). * Makefile.in (F2CEXT): Add datetime, remove sclock. (UOBJ): Add libU77/datetime_.o. * libU77/config.h.in: Add HAVE_GETTIMEOFDAY. * libU77/configure.in: Check for gettimeofday. * libU77/datetime_.c: New file. * libU77/sys_clock_.c: Allow optional args. * libU77/Makefile.in (G77DIR): Fix for current directory structure. (SRCS, OBJS): Add datetime. * libU77/u77-test.f: Call date_and_time. Call system_clock omitting args. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20940 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c/libU77/configure')
-rwxr-xr-xlibf2c/libU77/configure9
1 files changed, 5 insertions, 4 deletions
diff --git a/libf2c/libU77/configure b/libf2c/libU77/configure
index 87073312bb1..71582362e82 100755
--- a/libf2c/libU77/configure
+++ b/libf2c/libU77/configure
@@ -1343,15 +1343,16 @@ fi
for ac_func in symlink getcwd getwd lstat gethostname strerror clock \
- getrusage times alarm getlogin getgid getuid kill link ttyname
+ getrusage times alarm getlogin getgid getuid kill link ttyname \
+ gettimeofday
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:1350: checking for $ac_func" >&5
+echo "configure:1351: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1355 "configure"
+#line 1356 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -1374,7 +1375,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
OpenPOWER on IntegriCloud