aboutsummaryrefslogtreecommitdiff
path: root/libf2c/libU77/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'libf2c/libU77/configure.in')
-rw-r--r--libf2c/libU77/configure.in27
1 files changed, 5 insertions, 22 deletions
diff --git a/libf2c/libU77/configure.in b/libf2c/libU77/configure.in
index c2a5d7c..456c013 100644
--- a/libf2c/libU77/configure.in
+++ b/libf2c/libU77/configure.in
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-# Copyright (C) 1995 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1998 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk).
#
#This file is part of the GNU Fortran libU77 library.
@@ -34,6 +34,10 @@ else
ac_cv_c_cross=no
fi
+test "$AR" || AR=ar
+AC_SUBST(AR)
+AC_PROG_MAKE_SET
+
dnl This is only because we (horribly) punt the chmod job to the program at
dnl present. Note that the result of this test could be wrong in the cross
dnl case.
@@ -45,26 +49,6 @@ else
MAYBES=""
fi
-dnl for g77 build maybe use $(RANLIB_FOR_TARGET) always (like wise AR)
-if test "$ac_cv_c_cross" = yes; then
- RANLIB=$RANLIB_FOR_TARGET
- AR=$AR_FOR_TARGET
- AC_SUBST(RANLIB)
-else
- AC_PROG_RANLIB
- AR=ar
- RANLIB_TEST=true
-fi
-AC_SUBST(AR)
-dnl not needed for g77
-dnl AC_SUBST(AR_FOR_TARGET)
-dnl AC_SUBST(RANLIB_FOR_TARGET)
-dnl AC_SUBST(RANLIB_TEST_FOR_TARGET)
-dnl not needed for g77?
-dnl AC_PROG_MAKE_SET
-
-dnl Checks for libraries.
-
dnl Checks for header files.
AC_HEADER_STDC
dnl We could do this if we didn't know we were using gcc
@@ -113,5 +97,4 @@ AC_SUBST(MAYBES)
AC_SUBST(CROSS)
AC_SUBST(RANLIB)
AC_SUBST(RANLIB_TEST)
-
AC_OUTPUT(Makefile)