]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't require AC_CYGWIN.
authorAkim Demaille <akim@epita.fr>
Fri, 9 Jun 2000 11:14:05 +0000 (11:14 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 9 Jun 2000 11:14:05 +0000 (11:14 +0000)
(AC_F77_NAME_MANGLING): Removed useless comment.
(_AC_PROG_F77_GNU): Use `.f' not `.fpp' which is not properly
processed by Abysoft's Fortran compiler.

ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4

index f45ba69f9c999f17b00e77efbd918c127b879273..b961e66eec11adbf7994452d8039abaf34a9d70c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-06-09  Akim Demaille  <akim@epita.fr>
+
+       * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't require AC_CYGWIN.
+       (AC_F77_NAME_MANGLING): Removed useless comment.
+       (_AC_PROG_F77_GNU): Use `.f' not `.fpp' which is not properly
+       processed by Abysoft's Fortran compiler.
+
 2000-06-09  Steven G. Johnson  <stevenj@superjdj.mit.edu>
 
        * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where
index c4830d5a63eaa2a269245efd8fab68541b8c9aff..5ed296b3047371704be64e9decc0bbeaf648c6d4 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -870,12 +870,12 @@ AC_LANG_POP
 # do CPP pre-processing.
 define([_AC_PROG_F77_GNU],
 [AC_CACHE_CHECK(whether we are using GNU Fortran 77, ac_cv_prog_g77,
-[cat >conftest.fpp <<EOF
+[cat >conftest.f <<EOF
 #ifdef __GNUC__
   yes
 #endif
 EOF
-if AC_TRY_COMMAND($F77 -E conftest.fpp) | egrep yes >/dev/null 2>&1; then
+if AC_TRY_COMMAND($F77 -E conftest.f) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_g77=yes
 else
   ac_cv_prog_g77=no
@@ -1321,9 +1321,7 @@ fi
 # W. Eaton for writing this extremely useful macro.  Thank you John.
 AC_DEFUN([AC_F77_LIBRARY_LDFLAGS],
 [AC_REQUIRE([AC_PROG_F77])dnl
-AC_REQUIRE([AC_CYGWIN])dnl
-AC_CACHE_CHECK([for Fortran 77 libraries],
-                ac_cv_flibs,
+AC_CACHE_CHECK([for Fortran 77 libraries], ac_cv_flibs,
 [if test "x$FLIBS" != "x"; then
   ac_cv_flibs="$FLIBS" # Let the user override the test.
 else
@@ -1344,7 +1342,6 @@ ac_link_output=`eval $ac_link AC_FD_LOG>&1 2>&1 | grep -v 'Driving:'`
 FFLAGS=$ac_save_FFLAGS
 
 rm -f conftest.*
-
 AC_LANG_POP()dnl
 
 # This will ultimately be our output variable.
@@ -1536,7 +1533,6 @@ AC_COMPILE_IFELSE(
   rm -f cf77_test*])
 AC_LANG_POP()dnl
 ])
-dnl Get case/underscore from cache variable, in case above tests were skipped:
 f77_case=`echo "$ac_cv_f77_mangling" | sed 's/ case.*$//'`
 f77_underscore=`echo "$ac_cv_f77_mangling" | sed 's/^.*, \(.*\) .*$/\1/'`
 ])# AC_F77_NAME_MANGLING
index c4830d5a63eaa2a269245efd8fab68541b8c9aff..5ed296b3047371704be64e9decc0bbeaf648c6d4 100644 (file)
@@ -870,12 +870,12 @@ AC_LANG_POP
 # do CPP pre-processing.
 define([_AC_PROG_F77_GNU],
 [AC_CACHE_CHECK(whether we are using GNU Fortran 77, ac_cv_prog_g77,
-[cat >conftest.fpp <<EOF
+[cat >conftest.f <<EOF
 #ifdef __GNUC__
   yes
 #endif
 EOF
-if AC_TRY_COMMAND($F77 -E conftest.fpp) | egrep yes >/dev/null 2>&1; then
+if AC_TRY_COMMAND($F77 -E conftest.f) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_g77=yes
 else
   ac_cv_prog_g77=no
@@ -1321,9 +1321,7 @@ fi
 # W. Eaton for writing this extremely useful macro.  Thank you John.
 AC_DEFUN([AC_F77_LIBRARY_LDFLAGS],
 [AC_REQUIRE([AC_PROG_F77])dnl
-AC_REQUIRE([AC_CYGWIN])dnl
-AC_CACHE_CHECK([for Fortran 77 libraries],
-                ac_cv_flibs,
+AC_CACHE_CHECK([for Fortran 77 libraries], ac_cv_flibs,
 [if test "x$FLIBS" != "x"; then
   ac_cv_flibs="$FLIBS" # Let the user override the test.
 else
@@ -1344,7 +1342,6 @@ ac_link_output=`eval $ac_link AC_FD_LOG>&1 2>&1 | grep -v 'Driving:'`
 FFLAGS=$ac_save_FFLAGS
 
 rm -f conftest.*
-
 AC_LANG_POP()dnl
 
 # This will ultimately be our output variable.
@@ -1536,7 +1533,6 @@ AC_COMPILE_IFELSE(
   rm -f cf77_test*])
 AC_LANG_POP()dnl
 ])
-dnl Get case/underscore from cache variable, in case above tests were skipped:
 f77_case=`echo "$ac_cv_f77_mangling" | sed 's/ case.*$//'`
 f77_underscore=`echo "$ac_cv_f77_mangling" | sed 's/^.*, \(.*\) .*$/\1/'`
 ])# AC_F77_NAME_MANGLING
index c4830d5a63eaa2a269245efd8fab68541b8c9aff..5ed296b3047371704be64e9decc0bbeaf648c6d4 100644 (file)
@@ -870,12 +870,12 @@ AC_LANG_POP
 # do CPP pre-processing.
 define([_AC_PROG_F77_GNU],
 [AC_CACHE_CHECK(whether we are using GNU Fortran 77, ac_cv_prog_g77,
-[cat >conftest.fpp <<EOF
+[cat >conftest.f <<EOF
 #ifdef __GNUC__
   yes
 #endif
 EOF
-if AC_TRY_COMMAND($F77 -E conftest.fpp) | egrep yes >/dev/null 2>&1; then
+if AC_TRY_COMMAND($F77 -E conftest.f) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_g77=yes
 else
   ac_cv_prog_g77=no
@@ -1321,9 +1321,7 @@ fi
 # W. Eaton for writing this extremely useful macro.  Thank you John.
 AC_DEFUN([AC_F77_LIBRARY_LDFLAGS],
 [AC_REQUIRE([AC_PROG_F77])dnl
-AC_REQUIRE([AC_CYGWIN])dnl
-AC_CACHE_CHECK([for Fortran 77 libraries],
-                ac_cv_flibs,
+AC_CACHE_CHECK([for Fortran 77 libraries], ac_cv_flibs,
 [if test "x$FLIBS" != "x"; then
   ac_cv_flibs="$FLIBS" # Let the user override the test.
 else
@@ -1344,7 +1342,6 @@ ac_link_output=`eval $ac_link AC_FD_LOG>&1 2>&1 | grep -v 'Driving:'`
 FFLAGS=$ac_save_FFLAGS
 
 rm -f conftest.*
-
 AC_LANG_POP()dnl
 
 # This will ultimately be our output variable.
@@ -1536,7 +1533,6 @@ AC_COMPILE_IFELSE(
   rm -f cf77_test*])
 AC_LANG_POP()dnl
 ])
-dnl Get case/underscore from cache variable, in case above tests were skipped:
 f77_case=`echo "$ac_cv_f77_mangling" | sed 's/ case.*$//'`
 f77_underscore=`echo "$ac_cv_f77_mangling" | sed 's/^.*, \(.*\) .*$/\1/'`
 ])# AC_F77_NAME_MANGLING
index c4830d5a63eaa2a269245efd8fab68541b8c9aff..5ed296b3047371704be64e9decc0bbeaf648c6d4 100644 (file)
@@ -870,12 +870,12 @@ AC_LANG_POP
 # do CPP pre-processing.
 define([_AC_PROG_F77_GNU],
 [AC_CACHE_CHECK(whether we are using GNU Fortran 77, ac_cv_prog_g77,
-[cat >conftest.fpp <<EOF
+[cat >conftest.f <<EOF
 #ifdef __GNUC__
   yes
 #endif
 EOF
-if AC_TRY_COMMAND($F77 -E conftest.fpp) | egrep yes >/dev/null 2>&1; then
+if AC_TRY_COMMAND($F77 -E conftest.f) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_g77=yes
 else
   ac_cv_prog_g77=no
@@ -1321,9 +1321,7 @@ fi
 # W. Eaton for writing this extremely useful macro.  Thank you John.
 AC_DEFUN([AC_F77_LIBRARY_LDFLAGS],
 [AC_REQUIRE([AC_PROG_F77])dnl
-AC_REQUIRE([AC_CYGWIN])dnl
-AC_CACHE_CHECK([for Fortran 77 libraries],
-                ac_cv_flibs,
+AC_CACHE_CHECK([for Fortran 77 libraries], ac_cv_flibs,
 [if test "x$FLIBS" != "x"; then
   ac_cv_flibs="$FLIBS" # Let the user override the test.
 else
@@ -1344,7 +1342,6 @@ ac_link_output=`eval $ac_link AC_FD_LOG>&1 2>&1 | grep -v 'Driving:'`
 FFLAGS=$ac_save_FFLAGS
 
 rm -f conftest.*
-
 AC_LANG_POP()dnl
 
 # This will ultimately be our output variable.
@@ -1536,7 +1533,6 @@ AC_COMPILE_IFELSE(
   rm -f cf77_test*])
 AC_LANG_POP()dnl
 ])
-dnl Get case/underscore from cache variable, in case above tests were skipped:
 f77_case=`echo "$ac_cv_f77_mangling" | sed 's/ case.*$//'`
 f77_underscore=`echo "$ac_cv_f77_mangling" | sed 's/^.*, \(.*\) .*$/\1/'`
 ])# AC_F77_NAME_MANGLING