autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: AC_FC_FUNC should not be tested


From: Akim Demaille
Subject: FYI: AC_FC_FUNC should not be tested
Date: Thu, 04 Sep 2003 14:54:22 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.

Index: lib/autoconf/fortran.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/fortran.m4,v
retrieving revision 1.167
diff -u -u -r1.167 fortran.m4
--- lib/autoconf/fortran.m4 3 Sep 2003 00:35:52 -0000 1.167
+++ lib/autoconf/fortran.m4 4 Sep 2003 12:51:54 -0000
@@ -1057,8 +1057,9 @@
 m4_default([$2],[$1])="$ac_val"
 ])# _AC_FC_FUNC
 
+
 # AC_F77_FUNC(NAME, [SHELLVAR = NAME])
-# ----------------------
+# ------------------------------------
 AC_DEFUN([AC_F77_FUNC],
 [AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
 AC_LANG_PUSH(Fortran 77)dnl
@@ -1066,8 +1067,9 @@
 AC_LANG_POP(Fortran 77)dnl
 ])# AC_F77_FUNC
 
+
 # AC_FC_FUNC(NAME, [SHELLVAR = NAME])
-# ----------------------
+# -----------------------------------
 AC_DEFUN([AC_FC_FUNC],
 [AC_REQUIRE([_AC_FC_NAME_MANGLING])dnl
 AC_LANG_PUSH(Fortran)dnl
@@ -1075,12 +1077,13 @@
 AC_LANG_POP(Fortran)dnl
 ])# AC_FC_FUNC
 
+
 # AC_FC_SRCEXT(EXT, [ACTION-IF-SUCCESS], [ACTION-IF-FAILURE])
-# ----------------------
+# -----------------------------------------------------------
 # Set the source-code extension used in Fortran (FC) tests to EXT (which
 # defaults to f).  Also, look for any necessary additional FCFLAGS needed
 # to allow this extension, and store them in the output variable
-# FCFLAGS_<EXT> (e.g. FCFLAGS_f90 for EXT=f90).  If successful, 
+# FCFLAGS_<EXT> (e.g. FCFLAGS_f90 for EXT=f90).  If successful,
 # call ACTION-IF-SUCCESS.  If unable to compile source code with EXT,
 # call ACTION-IF-FAILURE, which defaults to failing with an error
 # message.
@@ -1162,7 +1165,7 @@
 else
   if test "x$ac_cv_fc_freeform" != xnone; then
     FCFLAGS="$FCFLAGS $ac_cv_fc_freeform"
-  fi 
+  fi
   $1
 fi
 ])# AC_FC_FREEFORM
Index: tests/acfortran.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/acfortran.at,v
retrieving revision 1.4
diff -u -u -r1.4 acfortran.at
--- tests/acfortran.at 3 Sep 2003 00:35:53 -0000 1.4
+++ tests/acfortran.at 4 Sep 2003 12:51:54 -0000
@@ -7,7 +7,6 @@
 AT_CHECK_MACRO([AC_F77_MAIN])
 AT_CHECK_MACRO([AC_F77_WRAPPERS])
 AT_CHECK_MACRO([AC_FC_FREEFORM])
-AT_CHECK_MACRO([AC_FC_FUNC])
 AT_CHECK_MACRO([AC_FC_MAIN])
 AT_CHECK_MACRO([AC_FC_SRCEXT])
 AT_CHECK_MACRO([AC_FC_WRAPPERS])
Index: tests/acfunctions.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/acfunctions.at,v
retrieving revision 1.12
diff -u -u -r1.12 acfunctions.at
--- tests/acfunctions.at 23 Jun 2003 11:11:42 -0000 1.12
+++ tests/acfunctions.at 4 Sep 2003 12:51:54 -0000
@@ -31,5 +31,6 @@
 AT_CHECK_MACRO([AC_FUNC_STRTOD])
 AT_CHECK_MACRO([AC_FUNC_UTIME_NULL])
 AT_CHECK_MACRO([AC_FUNC_VPRINTF])
+AT_CHECK_MACRO([AC_FUNC_WAIT3])
 
 # Obsolete macros.
Index: tests/mktests.sh
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/mktests.sh,v
retrieving revision 1.31
diff -u -u -r1.31 mktests.sh
--- tests/mktests.sh 23 Jun 2003 11:11:42 -0000 1.31
+++ tests/mktests.sh 4 Sep 2003 12:51:54 -0000
@@ -98,7 +98,7 @@
 # - AC_LANG*
 #   Heavily used by other macros.
 #
-# - AC_PATH_PROGS?, AC_F77_FUNC
+# - AC_PATH_PROGS?, AC_F77_FUNC, AC_FC_FUNC
 #   They produce `= val' because $1, the variable used to store the result,
 #   is empty.
 #
@@ -130,8 +130,9 @@
 ^AC_CANONICALIZE|AC_PREFIX_PROGRAM|AC_PREREQ$
 ^AC_CHECK_(DECL|FILE|FUNC|HEADER|LIB|MEMBER|PROG|SIZEOF|TOOL|TYPE)S?$
 ^AC_CONFIG
-^AC_F77_FUNC$
-^AC_(FUNC_GETLOADAVG|REPLACE_FNMATCH|FUNC_FNMATCH_GNU)$
+^AC_(F77|FC)_FUNC$
+^AC_FD_CC$
+^AC_(FUNC_GETLOADAVG|REPLACE_FNMATCH|FUNC_FNMATCH_GNU|WAIT3)$
 ^AC_INIT
 ^AC_LANG
 ^AC_LINKER_OPTION$
@@ -143,12 +144,10 @@
 ^AC_SEARCH_LIBS$
 ^(AC_TRY.*|AC_RUN_LOG)$
 ^AC_.*_IFELSE$
-^AC_FD_CC$
 ^(AC_(PROG_CC|C_CONST|C_INLINE|C_RESTRICT|C_VOLATILE))$
 ^AC_(CYGWIN|CYGWIN32|EMXOS2|MING32|EXEEXT|OBJEXT)$
 ^AC_PATH_XTRA$
 ^AC_SYS_RESTARTABLE_SYSCALLS$
-^AC_FUNC_WAIT3$
 _AC_'
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]