summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-09 20:18:18 -0400
committerMike Frysinger <vapier@gentoo.org>2010-07-09 20:18:18 -0400
commit844d9853f700a5fda9ead05a93492a69777e2c1e (patch)
treee6e8a57b6058b2bd5ee59deb291911a4c7cc750a /m4
parentsandbox.bashrc: fix typo in sandboxoff (diff)
downloadsandbox-844d9853f700a5fda9ead05a93492a69777e2c1e.tar.gz
sandbox-844d9853f700a5fda9ead05a93492a69777e2c1e.tar.bz2
sandbox-844d9853f700a5fda9ead05a93492a69777e2c1e.zip
update autotool files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_cflags_warn_all.m48
-rw-r--r--m4/ax_check_compiler_flags.m44
-rw-r--r--m4/ax_check_linker_flags.m44
3 files changed, 10 insertions, 6 deletions
diff --git a/m4/ax_cflags_warn_all.m4 b/m4/ax_cflags_warn_all.m4
index 3140863..64fb297 100644
--- a/m4/ax_cflags_warn_all.m4
+++ b/m4/ax_cflags_warn_all.m4
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://autoconf-archive.cryp.to/ax_cflags_warn_all.html
+# http://www.gnu.org/software/autoconf-archive/ax_cflags_warn_all.html
# ===========================================================================
#
# SYNOPSIS
@@ -9,8 +9,6 @@
# DESCRIPTION
#
# Try to find a compiler option that enables most reasonable warnings.
-# This macro is directly derived from VL_PROG_CC_WARNINGS which is split
-# up into two AX_CFLAGS_WARN_ALL and AX_CFLAGS_WARN_ALL_ANSI
#
# For the GNU CC compiler it will be -Wall (and -ansi -pedantic) The
# result is added to the shellvar being CFLAGS by default.
@@ -55,6 +53,8 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
+#serial 8
+
AC_DEFUN([AX_CFLAGS_WARN_ALL],[dnl
AS_VAR_PUSHDEF([FLAGS],[CFLAGS])dnl
AS_VAR_PUSHDEF([VAR],[ac_cv_cflags_warn_all])dnl
@@ -100,7 +100,7 @@ dnl the only difference - the LANG selection... and the default FLAGS
AC_DEFUN([AX_CXXFLAGS_WARN_ALL],[dnl
AS_VAR_PUSHDEF([FLAGS],[CXXFLAGS])dnl
-AS_VAR_PUSHDEF([VAR],[ac_cv_cxxflags_warn_all])dnl
+AS_VAR_PUSHDEF([VAR],[ax_cv_cxxflags_warn_all])dnl
AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for maximum warnings],
VAR,[VAR="no, unknown"
AC_LANG_SAVE
diff --git a/m4/ax_check_compiler_flags.m4 b/m4/ax_check_compiler_flags.m4
index 21f9e6f..35bfd2a 100644
--- a/m4/ax_check_compiler_flags.m4
+++ b/m4/ax_check_compiler_flags.m4
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://autoconf-archive.cryp.to/ax_check_compiler_flags.html
+# http://www.gnu.org/software/autoconf-archive/ax_check_compiler_flags.html
# ===========================================================================
#
# SYNOPSIS
@@ -46,6 +46,8 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
+#serial 9
+
AC_DEFUN([AX_CHECK_COMPILER_FLAGS],
[AC_PREREQ(2.59) dnl for _AC_LANG_PREFIX
AC_MSG_CHECKING([whether _AC_LANG compiler accepts $1])
diff --git a/m4/ax_check_linker_flags.m4 b/m4/ax_check_linker_flags.m4
index dfbc004..894713c 100644
--- a/m4/ax_check_linker_flags.m4
+++ b/m4/ax_check_linker_flags.m4
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://autoconf-archive.cryp.to/ax_check_linker_flags.html
+# http://www.gnu.org/software/autoconf-archive/ax_check_linker_flags.html
# ===========================================================================
#
# SYNOPSIS
@@ -48,6 +48,8 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
+#serial 6
+
AC_DEFUN([AX_CHECK_LINKER_FLAGS],
[AC_MSG_CHECKING([whether the linker accepts $1])
dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname: