From ed466f7ff448260f37ce3e72c92541dcf6e6b327 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 13 Apr 2023 14:45:52 +0200 Subject: Re-format macros into canonical format after recent changes. --- m4/ax_blas.m4 | 2 +- m4/ax_cc_attrcommon.m4 | 23 ++++++++++------------- m4/ax_cc_tentdef.m4 | 19 +++++++++---------- 3 files changed, 20 insertions(+), 24 deletions(-) (limited to 'm4') diff --git a/m4/ax_blas.m4 b/m4/ax_blas.m4 index 86ec926..85f6478 100644 --- a/m4/ax_blas.m4 +++ b/m4/ax_blas.m4 @@ -64,7 +64,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 17 +#serial 19 AU_ALIAS([ACX_BLAS], [AX_BLAS]) AC_DEFUN([AX_BLAS], [ diff --git a/m4/ax_cc_attrcommon.m4 b/m4/ax_cc_attrcommon.m4 index f6b22fd..4b60a70 100644 --- a/m4/ax_cc_attrcommon.m4 +++ b/m4/ax_cc_attrcommon.m4 @@ -1,5 +1,5 @@ # =========================================================================== -# https://www.gnu.org/software/autoconf-archive +# https://www.gnu.org/software/autoconf-archive/ax_cc_attrcommon.html # =========================================================================== # # SYNOPSIS @@ -8,16 +8,15 @@ # # DESCRIPTION # -# Determine whether the C compiler supports C tentative defintions -# with __attribute((__common__)) -# See K&R book Appendix A10.2 on 'extern' and tentative definitions. -# Some compilers use a 'strict definition-reference model' -# Traditionally most UNIX C compilers support C tentative definitions. -# GCC 10 switched from default fcommon to fnocommon -# and will need __attribute__ ((__common__)) for tentative definitions. +# Determine whether the C compiler supports C tentative defintions with +# __attribute((__common__)) See K&R book Appendix A10.2 on 'extern' and +# tentative definitions. Some compilers use a 'strict definition-reference +# model' Traditionally most UNIX C compilers support C tentative +# definitions. GCC 10 switched from default fcommon to fnocommon and will +# need __attribute__ ((__common__)) for tentative definitions. # -# The $ac_cv_attrcommon variable will be either yes or no, -# and can be overridden on the command line with using --with-attrcommon +# The $ac_cv_attrcommon variable will be either yes or no, and can be +# overridden on the command line with using --with-attrcommon # # See also: ax_cc_tentdef.m4 for a test on C tentative definitions # @@ -38,7 +37,7 @@ # You should have received a copy of the GNU General Public License along # with this program. If not, see . -#serial 1 +#serial 2 AC_ARG_WITH(attrcommon, [ --with-attrcommon use __attribute__ for C tentative definitions], @@ -72,5 +71,3 @@ rm -rf $ac_clean_files ],ac_cv_attrcommon=yes,ac_cv_attrcommon=no) AC_MSG_RESULT($ac_cv_attrcommon) ]) - - diff --git a/m4/ax_cc_tentdef.m4 b/m4/ax_cc_tentdef.m4 index 9171dea..5b119fc 100644 --- a/m4/ax_cc_tentdef.m4 +++ b/m4/ax_cc_tentdef.m4 @@ -1,5 +1,5 @@ # =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ +# https://www.gnu.org/software/autoconf-archive/ax_cc_tentdef.html # =========================================================================== # # SYNOPSIS @@ -8,14 +8,14 @@ # # DESCRIPTION # -# Determine whether the C compiler supports C tentative defintions. -# See K&R book Appendix A10.2 on 'extern' and tentative definitions. -# Some compilers use a 'strict definition-reference model' -# Traditionally most UNIX C compilers support tentative definitions, -# whereas some compiler such as Metrowerks or WATCOM C do not. +# Determine whether the C compiler supports C tentative defintions. See +# K&R book Appendix A10.2 on 'extern' and tentative definitions. Some +# compilers use a 'strict definition-reference model' Traditionally most +# UNIX C compilers support tentative definitions, whereas some compiler +# such as Metrowerks or WATCOM C do not. # -# The $ac_cv_tentdef variable will be either no or yes, -# and can be overridden on the command line using --with-tentdef +# The $ac_cv_tentdef variable will be either no or yes, and can be +# overridden on the command line using --with-tentdef # # See also: ax_cc_attrcommon.m4 for a __attribute__(( __common__)) test # @@ -36,7 +36,7 @@ # You should have received a copy of the GNU General Public License along # with this program. If not, see . -#serial 1 +#serial 2 AC_ARG_WITH(tentdef, [ --with-tentdef use C tentative definitions], @@ -98,4 +98,3 @@ rm -rf $ac_clean_files ],ac_cv_tentdef=no,ac_cv_tentdef=yes) AC_MSG_RESULT($ac_cv_tentdef) ]) - -- cgit v1.2.1