configure.in (AC_PREREQ): Update to 2.13.
authorMumit Khan <khan@xraylith.wisc.edu>
Wed, 24 Mar 1999 21:46:18 +0000 (21:46 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 24 Mar 1999 21:46:18 +0000 (14:46 -0700)

        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.

From-SVN: r25953

libchill/ChangeLog
libchill/configure.in
libf2c/ChangeLog
libf2c/configure.in

index 40439940fa4a2a15f6f4f19df2ead194088a6f29..bd03fb3b463223fbacd31ebf87b359747a8825e3 100644 (file)
@@ -1,3 +1,10 @@
+Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * configure.in (AC_PREREQ): Update to 2.13.
+       (AC_EXEEXT): Call to find possible file extension.
+       (compiler_name): Use.
+       * configure: Regenerate.
+
 1999-01-19 08:10 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
 
        * Makefile.in: Fix typos in previous change.  
index afb9f67464e0bf272b5b2442dc1dfc8cbaae0672..ff5e62b3202273a110aeec65130833eb7b9b260d 100644 (file)
@@ -1,5 +1,5 @@
 # Process this file with autoconf to produce a configure script.
-#   Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc.
+#   Copyright (C) 1995, 1997, 1998, 1999 Free Software Foundation, Inc.
 #   Contributed by Dave Love (d.love@dl.ac.uk).
 #
 #This file is part of GNU CC.
@@ -19,7 +19,7 @@
 #the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #02111-1307, USA.
 
-AC_PREREQ(2.12.1)
+AC_PREREQ(2.13)
 AC_INIT(chillrt0.c)
 
 if test "${srcdir}" = "." ; then
@@ -35,29 +35,37 @@ dnl This is needed for a multilibbed build in the source tree so
 dnl that install-sh and config.sub get found.
 AC_CONFIG_AUX_DIR($topsrcdir)
 
-# If the language specific compiler does not exist, but the "gcc" directory does,
-# we do not build anything. Note, $r is set by the top-level Makefile.
+# We have to handle 3 cases -- native, cross and canadian cross -- and
+# the extension returned from this macro needs to be treated as a possible
+# scenario and not the only one.
+AC_EXEEXT
+
+# If the language specific compiler does not exist, but the "gcc" directory 
+# does, we do not build anything. Note, $r is set by the top-level Makefile.
+# Note that when we look for the compiler, we search both with and without
+# extension to handle cross and canadian cross builds. 
 compiler_name=cc1chill
 rm -f skip-this-dir
 AC_MSG_CHECKING(if compiler $compiler_name has been built)
 AC_CACHE_VAL(chill_cv_compiler_exists,
-       [chill_cv_compiler_exists=yes
-       if test -n "$r"; then
-               if test -d "$r"/gcc; then
-                       if test -f "$r"/gcc/$compiler_name; then
-                               true
-                       else
-                               chill_cv_compiler_exists=no
-                               echo "rm -f config.cache config.log multilib.out" > skip-this-dir
-                       fi
-               fi
-       fi
-       ])
+[chill_cv_compiler_exists=yes
+if test -n "$r"; then
+  if test -d "$r"/gcc; then
+    if test -f "$r"/gcc/$compiler_name \
+       || test -f "$r"/gcc/$compiler_name$EXEEXT; then
+      true
+    else
+      chill_cv_compiler_exists=no
+      echo "rm -f config.cache config.log multilib.out" > skip-this-dir
+    fi
+  fi
+fi
+])
 AC_MSG_RESULT($chill_cv_compiler_exists)
 if test x$chill_cv_compiler_exists = xno
 then
-       rm -f Makefile conftest* confdefs* core
-       exit 0
+  rm -f Makefile conftest* confdefs* core
+  exit 0
 fi
 
 dnl Checks for programs.
index d58c540fee0ca43a40ef728b08c9bd3b8d4320b3..524eb2696f73ee3d38135c084a73a064dfc051ee 100644 (file)
@@ -1,3 +1,10 @@
+Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * configure.in (AC_PREREQ): Update to 2.13.
+       (AC_EXEEXT): Call to find possible file extension.
+       (compiler_name): Use.
+       * configure: Regenerate.
+
 1999-03-17  Craig Burley  <craig@jcb-sc.com>
 
        Update to Netlib version of 1999-03-17:
index 1e4a2ad70a7355b155089fe305f1946f51744c2a..56ecd94d1d8e3e2ba3aa4e08a4e7bfb308f6a8b6 100644 (file)
@@ -1,5 +1,5 @@
 # Process this file with autoconf to produce a configure script.
-#   Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc.
+#   Copyright (C) 1995, 1997, 1998, 1999 Free Software Foundation, Inc.
 #   Contributed by Dave Love (d.love@dl.ac.uk).
 #
 #This file is part of GNU Fortran.
@@ -19,7 +19,7 @@
 #the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #02111-1307, USA.
 
-AC_PREREQ(2.12.1)
+AC_PREREQ(2.13)
 AC_INIT(libF77/Version.c)
 
 if test "${srcdir}" = "."  ; then
@@ -35,29 +35,37 @@ dnl This is needed for a multilibbed build in the source tree so
 dnl that install-sh and config.sub get found.
 AC_CONFIG_AUX_DIR($topsrcdir)
 
-# If the language specific compiler does not exist, but the "gcc" directory does,
-# we do not build anything. Note, $r is set by the top-level Makefile.
+# We have to handle 3 cases -- native, cross and canadian cross -- and
+# the extension returned from this macro needs to be treated as a possible
+# scenario and not the only one.
+AC_EXEEXT
+
+# If the language specific compiler does not exist, but the "gcc" directory 
+# does, we do not build anything. Note, $r is set by the top-level Makefile.
+# Note that when we look for the compiler, we search both with and without
+# extension to handle cross and canadian cross builds. 
 compiler_name=f771
 rm -f skip-this-dir
 AC_MSG_CHECKING(if compiler $compiler_name has been built)
 AC_CACHE_VAL(f77_cv_compiler_exists,
-       [f77_cv_compiler_exists=yes
-       if test -n "$r"; then
-               if test -d "$r"/gcc; then
-                       if test -f "$r"/gcc/$compiler_name; then
-                               true
-                       else
-                               f77_cv_compiler_exists=no
-                               echo "rm -f config.cache config.log multilib.out" > skip-this-dir
-                       fi
-               fi
-       fi
-       ])
+[f77_cv_compiler_exists=yes
+if test -n "$r"; then
+  if test -d "$r"/gcc; then
+    if test -f "$r"/gcc/$compiler_name \
+       || test -f "$r"/gcc/$compiler_name$EXEEXT; then
+      true
+    else
+      f77_cv_compiler_exists=no
+      echo "rm -f config.cache config.log multilib.out" > skip-this-dir
+    fi
+  fi
+fi
+])
 AC_MSG_RESULT($f77_cv_compiler_exists)
 if test x$f77_cv_compiler_exists = xno
 then
-       rm -f Makefile conftest* confdefs* core
-       exit 0
+  rm -f Makefile conftest* confdefs* core
+  exit 0
 fi
 
 dnl Checks for programs.