summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2013-10-27 12:02:55 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-10-29 10:44:22 +0000
commiteb0a7dce6b639e354b4b9736ed879921595f12fb (patch)
tree569b5a77fdd8b6c1e78a3532ebc7cc8d24c3c2f1
parent799ae3eaebd82f961cbca82325351c3b5db7494c (diff)
downloadgnome-common-eb0a7dce6b639e354b4b9736ed879921595f12fb.tar.gz
compiler-flags: Replace deprecated AC_HELP_STRING with AS_HELP_STRING
-rw-r--r--macros2/gnome-compiler-flags.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/macros2/gnome-compiler-flags.m4 b/macros2/gnome-compiler-flags.m4
index f4ef5b9..160dfa8 100644
--- a/macros2/gnome-compiler-flags.m4
+++ b/macros2/gnome-compiler-flags.m4
@@ -18,7 +18,7 @@ AC_DEFUN([GNOME_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])"])
@@ -100,7 +100,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
AC_MSG_RESULT($tested_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])
@@ -128,7 +128,7 @@ dnl For C++, do basically the same thing.
AC_DEFUN([GNOME_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])"])
@@ -154,7 +154,7 @@ AC_DEFUN([GNOME_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])