From 22319d1f91a60a00c81ea5e2f531da48407b3519 Mon Sep 17 00:00:00 2001 From: Dan Breslau Date: Thu, 4 May 2017 11:02:42 -0400 Subject: [PATCH] Attempt to fix build for the usual case when log4vala is not installed --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0b2cf22..184918f 100644 --- a/configure.ac +++ b/configure.ac @@ -88,7 +88,8 @@ PKG_CHECK_MODULES([GTK], AC_SUBST(GTK_VERSION) -# For all platforms: Use Log4Vala 0.2 if available; else revert to 0.1 +# For all platforms: If Log4Vala is enabled, then Use Log4Vala 0.2 if available; else revert to 0.1 +if [test x$log4vala = xtrue]; then PKG_CHECK_MODULES([LOG4VALA], [log4vala-0.2], [LOG4VALA_VERSION="log4vala-0.2"], @@ -98,7 +99,7 @@ PKG_CHECK_MODULES([LOG4VALA], )] ) AC_SUBST(LOG4VALA_VERSION) - +fi # For all platforms: Use gee-0.8 if available; else revert to gee-1.0 -- 2.1.4