summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYanko Kaneti <yaneti@declera.com>2013-07-10 12:01:36 -0400
committerKristian Høgsberg <krh@bitplanet.net>2013-07-10 12:09:45 -0400
commit9b78adfe9dbb43504ab3fd7af9dd340b4af21085 (patch)
tree523a912ae392ad043e0a1e42aa24272b846b8c2d
parent46cb4a95134480eec24a1f3b456a9aa63cc0ce1b (diff)
downloadweston-9b78adfe9dbb43504ab3fd7af9dd340b4af21085.tar.gz
configure.ac: Set automake conditional after testing for colord pkg
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 063c7c9f..63f36a95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -321,7 +321,6 @@ AC_ARG_ENABLE(colord,
AS_HELP_STRING([--disable-colord],
[do not build colord CMS support]),,
enable_colord=auto)
-AM_CONDITIONAL(ENABLE_COLORD, test "x$enable_colord" = "xyes")
if test "x$enable_colord" != "xno"; then
PKG_CHECK_MODULES(COLORD,
colord >= 0.1.27,
@@ -334,6 +333,7 @@ if test "x$enable_colord" != "xno"; then
enable_colord=yes
fi
fi
+AM_CONDITIONAL(ENABLE_COLORD, test "x$enable_colord" = "xyes")
AC_ARG_ENABLE(wcap-tools, [ --disable-wcap-tools],, enable_wcap_tools=yes)
AM_CONDITIONAL(BUILD_WCAP_TOOLS, test x$enable_wcap_tools = xyes)