[gnome-sudoku/multithread_printing] configure.ac: Use AC_SUBST for setting --target-glib



commit 2898561d0518034d82b16002813cbdbe780d28c6
Author: Parin Porecha <parinporecha gmail com>
Date:   Fri Aug 15 12:13:13 2014 +0200

    configure.ac: Use AC_SUBST for setting --target-glib

 configure.ac    |    2 ++
 lib/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 55a7ab5..134854b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,8 @@ PKG_CHECK_MODULES(LIBSUDOKU, [
   json-glib-1.0
 ])
 
+AC_SUBST(TARGET_GLIB, 2.32)
+
 AC_PATH_PROG([APPDATA_VALIDATE], [appdata-validate], [/bin/true])
 AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
 
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f8d67c6..f18aca9 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -26,7 +26,7 @@ libsudoku_la_VALAFLAGS = \
        --pkg gio-2.0 \
        --pkg json-glib-1.0 \
        --pkg posix \
-       --target-glib=2.32      \
+       --target-glib= TARGET_GLIB@     \
        --header=libsudoku.h \
        --vapi=libsudoku.vapi
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]