summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-06 20:50:06 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-11-07 19:07:17 -0500
commit04030cbca37c04c48161debc0cade6db00cb347b (patch)
treeed535fb1be8a54d2bb9b1d5a7a545ef507de4946
parentce32345589050b17b23b18157f95f060f4c776a3 (diff)
XORG_ENABLE_DOCS: Fix "Enable building the documentation (yes: yes)"
The quoting did not prevent the m4 defined variable "default" to replace the text string "default" in the help text. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--xorg-macros.m4.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
index c7dbd41..fe29881 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -811,12 +811,12 @@ AM_CONDITIONAL([HAVE_PS2PDF], [test "$have_ps2pdf" = yes])
# parm1: specify the default value, yes or no.
#
AC_DEFUN([XORG_ENABLE_DOCS],[
-m4_define([default], m4_default([$1], [yes]))
+m4_define([docs_default], m4_default([$1], [yes]))
AC_ARG_ENABLE(docs,
AS_HELP_STRING([--enable-docs],
- [Enable building the documentation (default: ]default[)]),
- [build_docs=$enableval], [build_docs=]default)
-m4_undefine([default])
+ [Enable building the documentation (default: ]docs_default[)]),
+ [build_docs=$enableval], [build_docs=]docs_default)
+m4_undefine([docs_default])
AM_CONDITIONAL(ENABLE_DOCS, [test x$build_docs = xyes])
AC_MSG_CHECKING([whether to build documentation])
AC_MSG_RESULT([$build_docs])