From 7601bf40073cd13576c6ebf394af1070ef0b1408 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 22 Jul 2014 13:21:13 +0200 Subject: Move LIBUNIQUE_VERSION to the other gtk api depenant variables --- configure.ac | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e7339a7c..fc5a7131 100644 --- a/configure.ac +++ b/configure.ac @@ -41,10 +41,12 @@ case "$with_gtk" in 2.0) GTK_API_VERSION=2.0 GTK_REQUIRED=2.24.0 GAIL_API_VERSION= + LIBUNIQUE_VERSION=1.0 ;; 3.0) GTK_API_VERSION=3.0 GTK_REQUIRED=3.0.0 GAIL_API_VERSION=-3.0 + LIBUNIQUE_VERSION=3.0 ;; esac AC_SUBST([GTK_API_VERSION]) @@ -273,13 +275,6 @@ fi #============================================================================ # libunique #============================================================================ -case "$with_gtk" in - 2.0) LIBUNIQUE_VERSION=1.0 - ;; - 3.0) LIBUNIQUE_VERSION=3.0 - ;; -esac - PKG_CHECK_MODULES(UNIQUE, unique-$LIBUNIQUE_VERSION, enable_libunique=yes, enable_libunique=no) AC_SUBST([UNIQUE_CFLAGS]) -- cgit v1.2.1