summaryrefslogtreecommitdiff
path: root/xorg-macros.m4.in
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2009-09-01 09:45:30 -0400
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-03 16:00:29 +1000
commit79c00a5b5c7866fcc4756993cf4bf4eb2234e9de (patch)
tree692e1899e1e88ca2f9b065cf9ca350cee5f857b8 /xorg-macros.m4.in
parent4c91617d964915005634339afa24b04ec8a2f801 (diff)
Fix obsolete macro warnings for AC_HELP_STRING #23628
When checking for warnings in any module using XORG_RELEASE_VERSION one or more warnings on AC_HELP_STRING appears. The macro has been replaced with AS_HELP_STRING Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'xorg-macros.m4.in')
-rw-r--r--xorg-macros.m4.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
index 2b3e5c2..8875193 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -319,7 +319,7 @@ AC_SUBST(MAKE_HTML)
# their AM_CFLAGS (or other appropriate *_CFLAGS) to use them.
AC_DEFUN([XORG_CHECK_MALLOC_ZERO],[
AC_ARG_ENABLE(malloc0returnsnull,
- AC_HELP_STRING([--enable-malloc0returnsnull],
+ AS_HELP_STRING([--enable-malloc0returnsnull],
[malloc(0) returns NULL (default: auto)]),
[MALLOC_ZERO_RETURNS_NULL=$enableval],
[MALLOC_ZERO_RETURNS_NULL=auto])
@@ -371,7 +371,7 @@ AC_SUBST([XTMALLOC_ZERO_CFLAGS])
AC_DEFUN([XORG_WITH_LINT],[
# Allow checking code with lint, sparse, etc.
-AC_ARG_WITH(lint, [AC_HELP_STRING([--with-lint],
+AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint],
[Use a lint-style source code checker (default: disabled)])],
[use_lint=$withval], [use_lint=no])
if test "x$use_lint" = "xyes" ; then
@@ -412,7 +412,7 @@ AM_CONDITIONAL(LINT, [test x$LINT != xno])
AC_DEFUN([XORG_LINT_LIBRARY],[
AC_REQUIRE([XORG_WITH_LINT])
# Build lint "library" for more indepth checks of programs calling this library
-AC_ARG_ENABLE(lint-library, [AC_HELP_STRING([--enable-lint-library],
+AC_ARG_ENABLE(lint-library, [AS_HELP_STRING([--enable-lint-library],
[Create lint library (default: disabled)])],
[make_lint_lib=$enableval], [make_lint_lib=no])
if test "x$make_lint_lib" != "xno" ; then