summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-01-03 14:11:47 +0100
committerinfirit <[email protected]>2014-01-03 14:11:47 +0100
commita5462e1fc2f408aa6b697300c1879b4567a51bf9 (patch)
tree09af5288fb1675d1e98a58bc446bc2dc23f3fca6
parent185a8813fec72f8c541192f59e93caca50e4ce68 (diff)
downloadmate-common-a5462e1fc2f408aa6b697300c1879b4567a51bf9.tar.bz2
mate-common-a5462e1fc2f408aa6b697300c1879b4567a51bf9.tar.xz
Replace deprecated AC_HELP_STRING with AS_HELP_STRING
-rw-r--r--macros/mate-common.m42
-rw-r--r--macros/mate-compiler-flags.m48
2 files changed, 5 insertions, 5 deletions
diff --git a/macros/mate-common.m4 b/macros/mate-common.m4
index bdde06a..77bfa8e 100644
--- a/macros/mate-common.m4
+++ b/macros/mate-common.m4
@@ -35,7 +35,7 @@ AC_DEFUN([MATE_COMMON_INIT],
AC_DEFUN([MATE_DEBUG_CHECK],
[
AC_ARG_ENABLE([debug],
- AC_HELP_STRING([--enable-debug],
+ AS_HELP_STRING([--enable-debug],
[turn on debugging]),,
[enable_debug=no])
diff --git a/macros/mate-compiler-flags.m4 b/macros/mate-compiler-flags.m4
index b3a8a63..4b5ecc0 100644
--- a/macros/mate-compiler-flags.m4
+++ b/macros/mate-compiler-flags.m4
@@ -24,7 +24,7 @@ AC_DEFUN([MATE_COMPILE_WARNINGS],[
dnl ******************************
AC_ARG_ENABLE(compile-warnings,
- AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
+ AS_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
[Turn on compiler warnings]),,
[enable_compile_warnings="m4_default([$1],[yes])"])
@@ -78,7 +78,7 @@ AC_DEFUN([MATE_COMPILE_WARNINGS],[
AC_MSG_RESULT($warning_flags)
AC_ARG_ENABLE(iso-c,
- AC_HELP_STRING([--enable-iso-c],
+ AS_HELP_STRING([--enable-iso-c],
[Try to warn if code is not ISO C ]),,
[enable_iso_c=no])
@@ -106,7 +106,7 @@ dnl For C++, do basically the same thing.
AC_DEFUN([MATE_CXX_WARNINGS],[
AC_ARG_ENABLE(cxx-warnings,
- AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
+ AS_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
[Turn on compiler warnings.]),,
[enable_cxx_warnings="m4_default([$1],[minimum])"])
@@ -132,7 +132,7 @@ AC_DEFUN([MATE_CXX_WARNINGS],[
AC_MSG_RESULT($warnCXXFLAGS)
AC_ARG_ENABLE(iso-cxx,
- AC_HELP_STRING([--enable-iso-cxx],
+ AS_HELP_STRING([--enable-iso-cxx],
[Try to warn if code is not ISO C++ ]),,
[enable_iso_cxx=no])