[folks] Detect Vala by special automake macro, not .pc file.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Detect Vala by special automake macro, not .pc file.
- Date: Thu, 12 Aug 2010 17:44:44 +0000 (UTC)
commit 7fb6e868e8db69acec7930f1f45b7626431d1319
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Aug 12 09:35:51 2010 -0700
Detect Vala by special automake macro, not .pc file.
The .pc file is meant for internal use only.
configure.ac | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4b01a29..106bb2c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_SRCDIR([configure.ac])
-AM_INIT_AUTOMAKE(1.9 dist-bzip2 no-define no-dist-gzip tar-ustar -Wno-portability)
+AM_INIT_AUTOMAKE(1.11 dist-bzip2 no-define no-dist-gzip tar-ustar -Wno-portability)
AM_MAINTAINER_MODE
AC_PROG_CC
@@ -60,14 +60,9 @@ AC_SUBST(LDFLAGS)
# -----------------------------------------------------------
GLIB_REQUIRED=2.24.0
TP_GLIB_REQUIRED=0.11.11
-VALA_REQUIRED=0.9.4
+VALA_REQUIRED=0.9.5
-PKG_CHECK_MODULES(VALA, vala-1.0 >= $VALA_REQUIRED)
-AC_SUBST(VALA_CFLAGS)
-AC_SUBST(VALA_LIBS)
-
-AC_PATH_PROG(VALAC, valac, valac)
-AC_SUBST(VALAC)
+AM_PROG_VALAC([$VALA_REQUIRED])
PKG_PROG_PKG_CONFIG([0.21])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]