summaryrefslogtreecommitdiff
path: root/gconf-2.m4.in
diff options
context:
space:
mode:
Diffstat (limited to 'gconf-2.m4.in')
-rw-r--r--gconf-2.m4.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/gconf-2.m4.in b/gconf-2.m4.in
index 57e2dda1..aca7c7da 100644
--- a/gconf-2.m4.in
+++ b/gconf-2.m4.in
@@ -31,10 +31,9 @@ AC_DEFUN([AM_GCONF_SOURCE_2],
AC_ARG_ENABLE(schemas-install,
[ --disable-schemas-install Disable the schemas installation],
- [case "${enableval}" in
- yes) schemas_install=true ;;
- no) schemas_install=false ;;
+ [case ${enableval} in
+ yes|no) ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;;
- esac],[schemas_install=true])
- AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, test x$schemas_install = xtrue)
+ esac])
+ AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
])