From: Dan Breslau Date: Thu, 4 May 2017 15:02:42 +0000 (-0400) Subject: Attempt to fix build for the usual case when log4vala is not installed X-Git-Tag: centos-1.0.5-1~4 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot-ui.git;a=commitdiff_plain;h=22319d1f91a60a00c81ea5e2f531da48407b3519 Attempt to fix build for the usual case when log4vala is not installed --- 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