From 04030cbca37c04c48161debc0cade6db00cb347b Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sat, 6 Nov 2010 20:50:06 -0400 Subject: 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 Signed-off-by: Gaetan Nadon --- xorg-macros.m4.in | 8 ++++---- 1 file 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]) -- cgit v1.2.3