summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <gilles.dartiguelongue@esiee.org>2009-04-28 20:42:56 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2009-05-03 20:14:53 +0200
commit91cacef240d8ded67db835dd63a7f29966448311 (patch)
tree44a0f135281ebe7be1d901403001750976b1d793
parentc0be33190c54de88582536484bc33de8bf0dd044 (diff)
downloadgconf-91cacef240d8ded67db835dd63a7f29966448311.tar.gz
Bug 498934 - Use AC_HELP_STRING in gconf-2.m4
Fix missing AC_HELP_STRING usage and message quoting in gconf-2.m4 to have a nicer configure --help output for all projects using gconf.
-rw-r--r--gconf-2.m4.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/gconf-2.m4.in b/gconf-2.m4.in
index 12c6bb6b..4a0936e4 100644
--- a/gconf-2.m4.in
+++ b/gconf-2.m4.in
@@ -34,10 +34,11 @@ AC_DEFUN([AM_GCONF_SOURCE_2],
AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
AC_ARG_ENABLE(schemas-install,
- [ --disable-schemas-install Disable the schemas installation],
+ AC_HELP_STRING([--disable-schemas-install],
+ [Disable the schemas installation]),
[case ${enableval} in
yes|no) ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-install]) ;;
esac])
AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
])