diff options
author | infirit <[email protected]> | 2014-07-22 13:21:13 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-22 13:21:13 +0200 |
commit | 7601bf40073cd13576c6ebf394af1070ef0b1408 (patch) | |
tree | 70d889573f77aec9050f056cfa426b0bbf72a1f4 /configure.ac | |
parent | 571aeaa8218bc34ab69e56c12a9fe8e49edf2ac8 (diff) | |
download | caja-7601bf40073cd13576c6ebf394af1070ef0b1408.tar.bz2 caja-7601bf40073cd13576c6ebf394af1070ef0b1408.tar.xz |
Move LIBUNIQUE_VERSION to the other gtk api depenant variables
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 2 insertions, 7 deletions
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]) |