From 1ad24fa7b36a333a0a4e0ce1f0afd2b201f09245 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 24 Jan 2007 14:55:43 +0000 Subject: [PATCH] Remove unnecessary "..." in AC_MSG_CHECKING; correct quoting in AC_MSG_RESULT and tests --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 3a562f2..c8c0736 100644 --- a/configure.ac +++ b/configure.ac @@ -55,15 +55,15 @@ AC_SUBST(PLATFORM) dnl Building documentation -AC_MSG_CHECKING([whether you want to build HTML docs...]) +AC_MSG_CHECKING([whether you want to build HTML docs]) AC_ARG_ENABLE(html-docs, AC_HELP_STRING([--disable-html-docs], [Disable HTML documentation building (requires docutils)]), enable_html_docs=$enableval, enable_html_docs="if possible") -AC_MSG_RESULT(["$enable_html_docs"]) +AC_MSG_RESULT([$enable_html_docs]) -AC_MSG_CHECKING([whether you want to build API docs...]) +AC_MSG_CHECKING([whether you want to build API docs]) AC_ARG_ENABLE(api-docs, -AC_HELP_STRING([--enable-api-docs], [Enable API documentation building (requires epydoc 3 and docutils)]), enable_api_docs=$enableval, enable_api_docs="if possible") -AC_MSG_RESULT(["$enable_api_docs"]) +AC_HELP_STRING([--enable-api-docs], [Enable API documentation building (requires epydoc 3 and docutils)]), enable_api_docs=$enableval, enable_api_docs=no) +AC_MSG_RESULT([$enable_api_docs]) if test "$enable_api_docs" != no || test "$enable_html_docs" != no; then @@ -120,8 +120,8 @@ fi AC_SUBST([RST2HTML]) AC_SUBST([RST2HTMLFLAGS]) -AM_CONDITIONAL([ENABLE_API_DOCS], [test x$enable_api_docs != xno]) -AM_CONDITIONAL([ENABLE_DOCS], [test x$enable_html_docs != xno]) +AM_CONDITIONAL([ENABLE_API_DOCS], [test "$enable_api_docs" != no]) +AM_CONDITIONAL([ENABLE_DOCS], [test "$enable_html_docs" != no]) PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.0 dbus-glib-1 >= 0.70]) PKG_CHECK_MODULES(DBUS_GLIB, [dbus-1 >= 1.0 dbus-glib-1 >= 0.70]) -- 2.11.4.GIT