Commit eb0a7dce authored by Philip Withnall's avatar Philip Withnall Committed by Philip Withnall

compiler-flags: Replace deprecated AC_HELP_STRING with AS_HELP_STRING

parent 799ae3ea
...@@ -18,7 +18,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ ...@@ -18,7 +18,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
dnl ****************************** dnl ******************************
AC_ARG_ENABLE(compile-warnings, 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]),, [Turn on compiler warnings]),,
[enable_compile_warnings="m4_default([$1],[yes])"]) [enable_compile_warnings="m4_default([$1],[yes])"])
...@@ -100,7 +100,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ ...@@ -100,7 +100,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
AC_MSG_RESULT($tested_warning_flags) AC_MSG_RESULT($tested_warning_flags)
AC_ARG_ENABLE(iso-c, 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 ]),, [Try to warn if code is not ISO C ]),,
[enable_iso_c=no]) [enable_iso_c=no])
...@@ -128,7 +128,7 @@ dnl For C++, do basically the same thing. ...@@ -128,7 +128,7 @@ dnl For C++, do basically the same thing.
AC_DEFUN([GNOME_CXX_WARNINGS],[ AC_DEFUN([GNOME_CXX_WARNINGS],[
AC_ARG_ENABLE(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.]),, [Turn on compiler warnings.]),,
[enable_cxx_warnings="m4_default([$1],[minimum])"]) [enable_cxx_warnings="m4_default([$1],[minimum])"])
...@@ -154,7 +154,7 @@ AC_DEFUN([GNOME_CXX_WARNINGS],[ ...@@ -154,7 +154,7 @@ AC_DEFUN([GNOME_CXX_WARNINGS],[
AC_MSG_RESULT($warnCXXFLAGS) AC_MSG_RESULT($warnCXXFLAGS)
AC_ARG_ENABLE(iso-cxx, 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++ ]),, [Try to warn if code is not ISO C++ ]),,
[enable_iso_cxx=no]) [enable_iso_cxx=no])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment