[gtk+] Fix the configure script to actually define HAVE_COLORD when colord is used
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix the configure script to actually define HAVE_COLORD when colord is used
- Date: Thu, 1 Sep 2011 14:35:30 +0000 (UTC)
commit ee6b79becfed7ebdb3f1fafcc14fda4fc866a2fc
Author: Richard Hughes <richard hughsie com>
Date: Thu Sep 1 15:34:57 2011 +0100
Fix the configure script to actually define HAVE_COLORD when colord is used
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2428822..5453df0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1588,8 +1588,8 @@ if test "x$enable_colord" != "xno"; then
if test "$os_win32" != "yes"; then
PKG_CHECK_MODULES(COLORD, colord >= 0.1.9,
have_colord=yes, have_colord=no)
- if test "enable_colord" = "yes"; then
- if test "have_colord" = "no"; then
+ if test "$enable_colord" = "yes"; then
+ if test "$have_colord" = "no"; then
AC_MSG_ERROR([--enable-colord specified, but not available])
fi
fi
@@ -1599,7 +1599,7 @@ if test "x$enable_colord" != "xno"; then
fi
AC_MSG_RESULT([$have_colord])
-if test "have_colord" = "yes"; then
+if test "$have_colord" = "yes"; then
AC_DEFINE(HAVE_COLORD, 1, [define if we have colord])
fi
AM_CONDITIONAL(HAVE_COLORD, test "x$have_colord" = "xyes")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]