]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (AC_LANG_CONFTEST, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
authorAkim Demaille <akim@epita.fr>
Fri, 28 Jul 2000 07:55:01 +0000 (07:55 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 28 Jul 2000 07:55:01 +0000 (07:55 +0000)
_AC_PROG_F77_GNU): Use ac_ext.  Use _ACEOF instead of ACEOF.

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

index df37bd7e117e711de2bedbf49759e7c84616034f..75cf8d44b457906764cdadf39ba841a97e14e374 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-28  Akim Demaille  <akim@epita.fr>
+
+       * aclang.m4 (AC_LANG_CONFTEST, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
+       _AC_PROG_F77_GNU): Use ac_ext.  Use _ACEOF instead of ACEOF.
+
 2000-07-28  Akim Demaille  <akim@epita.fr>
 
        * autoconf.sh (--warnings): Catch `no-category', not `nocategory'.
index e0effda338d7d32f0a00cf5ceb1964a3b6f5bdc2..f7ba8fabb1d91eeccf5edce77e873f5b060e084d 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -240,9 +240,9 @@ AU_DEFUN([AC_LANG_FORTRAN77], [AC_LANG(Fortran 77)])
 # ---------------------
 # Save the BODY in `conftest.$acext'.  Add a trailing new line.
 define([AC_LANG_CONFTEST],
-[cat >conftest.$ac_ext <<ACEOF
+[cat >conftest.$ac_ext <<_ACEOF
 $1
-ACEOF])
+_ACEOF])
 
 
 # AC_LANG_SOURCE(BODY)
@@ -586,11 +586,11 @@ AC_LANG_POP
 define([_AC_PROG_CC_GNU],
 [AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc,
 [# The semicolon is to pacify NeXT's syntax-checking cpp.
-cat >conftest.$ac_ext <<ACEOF
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND(${CC-cc} -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gcc=yes
 else
@@ -778,11 +778,11 @@ AC_LANG_POP
 define([_AC_PROG_CXX_GNU],
 [AC_CACHE_CHECK(whether we are using GNU C++, ac_cv_prog_gxx,
 [# The semicolon is to pacify NeXT's syntax-checking cpp.
-cat >conftest.$ac_ext <<ACEOF
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND(${CXX-g++} -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gxx=yes
 else
@@ -880,11 +880,11 @@ 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.$ac_ext <<ACEOF
+[cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND($F77 -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_g77=yes
 else
@@ -1585,6 +1585,7 @@ AC_LANG_POP()dnl
 # The replacement is empty.
 AU_DEFUN([AC_F77_NAME_MANGLING], [])
 
+
 # AC_F77_WRAPPERS
 # ---------------
 # Defines C macros F77_FUNC(name,NAME) and F77_FUNC_(name,NAME) to
@@ -1629,8 +1630,9 @@ case $ac_cv_f77_mangling in
 esac
 ])# AC_F77_WRAPPERS
 
+
 # AC_F77_FUNC(NAME, [SHELLVAR = NAME])
-# -------------------
+# ------------------------------------
 # For a Fortran subroutine of given NAME, define a shell variable
 # $SHELLVAR to the Fortran-77 mangled name.  If the SHELLVAR
 # argument is not supplied, it defaults to NAME.
@@ -1647,5 +1649,3 @@ ifelse(index([$1],[_]),-1,[],
 ])
 m4_default([$2],[$1])="$ac_val"
 ]) # AC_F77_FUNC
-
-
index e0effda338d7d32f0a00cf5ceb1964a3b6f5bdc2..f7ba8fabb1d91eeccf5edce77e873f5b060e084d 100644 (file)
@@ -240,9 +240,9 @@ AU_DEFUN([AC_LANG_FORTRAN77], [AC_LANG(Fortran 77)])
 # ---------------------
 # Save the BODY in `conftest.$acext'.  Add a trailing new line.
 define([AC_LANG_CONFTEST],
-[cat >conftest.$ac_ext <<ACEOF
+[cat >conftest.$ac_ext <<_ACEOF
 $1
-ACEOF])
+_ACEOF])
 
 
 # AC_LANG_SOURCE(BODY)
@@ -586,11 +586,11 @@ AC_LANG_POP
 define([_AC_PROG_CC_GNU],
 [AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc,
 [# The semicolon is to pacify NeXT's syntax-checking cpp.
-cat >conftest.$ac_ext <<ACEOF
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND(${CC-cc} -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gcc=yes
 else
@@ -778,11 +778,11 @@ AC_LANG_POP
 define([_AC_PROG_CXX_GNU],
 [AC_CACHE_CHECK(whether we are using GNU C++, ac_cv_prog_gxx,
 [# The semicolon is to pacify NeXT's syntax-checking cpp.
-cat >conftest.$ac_ext <<ACEOF
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND(${CXX-g++} -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gxx=yes
 else
@@ -880,11 +880,11 @@ 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.$ac_ext <<ACEOF
+[cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND($F77 -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_g77=yes
 else
@@ -1585,6 +1585,7 @@ AC_LANG_POP()dnl
 # The replacement is empty.
 AU_DEFUN([AC_F77_NAME_MANGLING], [])
 
+
 # AC_F77_WRAPPERS
 # ---------------
 # Defines C macros F77_FUNC(name,NAME) and F77_FUNC_(name,NAME) to
@@ -1629,8 +1630,9 @@ case $ac_cv_f77_mangling in
 esac
 ])# AC_F77_WRAPPERS
 
+
 # AC_F77_FUNC(NAME, [SHELLVAR = NAME])
-# -------------------
+# ------------------------------------
 # For a Fortran subroutine of given NAME, define a shell variable
 # $SHELLVAR to the Fortran-77 mangled name.  If the SHELLVAR
 # argument is not supplied, it defaults to NAME.
@@ -1647,5 +1649,3 @@ ifelse(index([$1],[_]),-1,[],
 ])
 m4_default([$2],[$1])="$ac_val"
 ]) # AC_F77_FUNC
-
-
index e0effda338d7d32f0a00cf5ceb1964a3b6f5bdc2..f7ba8fabb1d91eeccf5edce77e873f5b060e084d 100644 (file)
@@ -240,9 +240,9 @@ AU_DEFUN([AC_LANG_FORTRAN77], [AC_LANG(Fortran 77)])
 # ---------------------
 # Save the BODY in `conftest.$acext'.  Add a trailing new line.
 define([AC_LANG_CONFTEST],
-[cat >conftest.$ac_ext <<ACEOF
+[cat >conftest.$ac_ext <<_ACEOF
 $1
-ACEOF])
+_ACEOF])
 
 
 # AC_LANG_SOURCE(BODY)
@@ -586,11 +586,11 @@ AC_LANG_POP
 define([_AC_PROG_CC_GNU],
 [AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc,
 [# The semicolon is to pacify NeXT's syntax-checking cpp.
-cat >conftest.$ac_ext <<ACEOF
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND(${CC-cc} -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gcc=yes
 else
@@ -778,11 +778,11 @@ AC_LANG_POP
 define([_AC_PROG_CXX_GNU],
 [AC_CACHE_CHECK(whether we are using GNU C++, ac_cv_prog_gxx,
 [# The semicolon is to pacify NeXT's syntax-checking cpp.
-cat >conftest.$ac_ext <<ACEOF
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND(${CXX-g++} -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gxx=yes
 else
@@ -880,11 +880,11 @@ 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.$ac_ext <<ACEOF
+[cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND($F77 -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_g77=yes
 else
@@ -1585,6 +1585,7 @@ AC_LANG_POP()dnl
 # The replacement is empty.
 AU_DEFUN([AC_F77_NAME_MANGLING], [])
 
+
 # AC_F77_WRAPPERS
 # ---------------
 # Defines C macros F77_FUNC(name,NAME) and F77_FUNC_(name,NAME) to
@@ -1629,8 +1630,9 @@ case $ac_cv_f77_mangling in
 esac
 ])# AC_F77_WRAPPERS
 
+
 # AC_F77_FUNC(NAME, [SHELLVAR = NAME])
-# -------------------
+# ------------------------------------
 # For a Fortran subroutine of given NAME, define a shell variable
 # $SHELLVAR to the Fortran-77 mangled name.  If the SHELLVAR
 # argument is not supplied, it defaults to NAME.
@@ -1647,5 +1649,3 @@ ifelse(index([$1],[_]),-1,[],
 ])
 m4_default([$2],[$1])="$ac_val"
 ]) # AC_F77_FUNC
-
-
index e0effda338d7d32f0a00cf5ceb1964a3b6f5bdc2..f7ba8fabb1d91eeccf5edce77e873f5b060e084d 100644 (file)
@@ -240,9 +240,9 @@ AU_DEFUN([AC_LANG_FORTRAN77], [AC_LANG(Fortran 77)])
 # ---------------------
 # Save the BODY in `conftest.$acext'.  Add a trailing new line.
 define([AC_LANG_CONFTEST],
-[cat >conftest.$ac_ext <<ACEOF
+[cat >conftest.$ac_ext <<_ACEOF
 $1
-ACEOF])
+_ACEOF])
 
 
 # AC_LANG_SOURCE(BODY)
@@ -586,11 +586,11 @@ AC_LANG_POP
 define([_AC_PROG_CC_GNU],
 [AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc,
 [# The semicolon is to pacify NeXT's syntax-checking cpp.
-cat >conftest.$ac_ext <<ACEOF
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND(${CC-cc} -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gcc=yes
 else
@@ -778,11 +778,11 @@ AC_LANG_POP
 define([_AC_PROG_CXX_GNU],
 [AC_CACHE_CHECK(whether we are using GNU C++, ac_cv_prog_gxx,
 [# The semicolon is to pacify NeXT's syntax-checking cpp.
-cat >conftest.$ac_ext <<ACEOF
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND(${CXX-g++} -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gxx=yes
 else
@@ -880,11 +880,11 @@ 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.$ac_ext <<ACEOF
+[cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes
 #endif
-ACEOF
+_ACEOF
 if AC_TRY_COMMAND($F77 -E conftest.$ac_ext) | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_g77=yes
 else
@@ -1585,6 +1585,7 @@ AC_LANG_POP()dnl
 # The replacement is empty.
 AU_DEFUN([AC_F77_NAME_MANGLING], [])
 
+
 # AC_F77_WRAPPERS
 # ---------------
 # Defines C macros F77_FUNC(name,NAME) and F77_FUNC_(name,NAME) to
@@ -1629,8 +1630,9 @@ case $ac_cv_f77_mangling in
 esac
 ])# AC_F77_WRAPPERS
 
+
 # AC_F77_FUNC(NAME, [SHELLVAR = NAME])
-# -------------------
+# ------------------------------------
 # For a Fortran subroutine of given NAME, define a shell variable
 # $SHELLVAR to the Fortran-77 mangled name.  If the SHELLVAR
 # argument is not supplied, it defaults to NAME.
@@ -1647,5 +1649,3 @@ ifelse(index([$1],[_]),-1,[],
 ])
 m4_default([$2],[$1])="$ac_val"
 ]) # AC_F77_FUNC
-
-