diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-25 15:11:16 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-25 15:11:16 +0200 |
commit | a59fad1c5f8e2d5660b481d3e7849f6b3c5a8226 (patch) | |
tree | 7650702a1dea7d6498fd2f74587e4764ff91bba5 | |
parent | 9414c75602ba6f099d39275b9c09db656f27a59e (diff) | |
download | caja-a59fad1c5f8e2d5660b481d3e7849f6b3c5a8226.tar.bz2 caja-a59fad1c5f8e2d5660b481d3e7849f6b3c5a8226.tar.xz |
configure: Use appropriate gail version
-rw-r--r-- | configure.ac | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index a36be994..2a53c691 100644 --- a/configure.ac +++ b/configure.ac @@ -43,9 +43,11 @@ AC_MSG_RESULT([$with_gtk]) case "$with_gtk" in 2.0) GTK_API_VERSION=2.0 GTK_REQUIRED=2.24.0 + GAIL_API_VERSION= ;; 3.0) GTK_API_VERSION=3.0 GTK_REQUIRED=3.0.0 + GAIL_API_VERSION=-3.0 ;; esac @@ -95,7 +97,7 @@ PKG_CHECK_MODULES(ALL, [ pango >= pango_minver gtk+-$GTK_API_VERSION >= $GTK_REQUIRED libxml-2.0 >= xml_minver - gail >= gail_minver + gail$GAIL_API_VERSION >= gail_minver ]) dnl ========================================================================== @@ -301,9 +303,8 @@ if test "x$enable_libunique" = "xyes"; then fi -dnl ========================================================================== - -dnl Turn on the additional warnings last, so -Werror doesn't affect other tests. +# ========================================================================== +# Turn on the additional warnings last, so -Werror doesn't affect other tests. WARNING_CFLAGS="" @@ -406,7 +407,7 @@ AC_SUBST(LIBCAJA_EXTENSION_LIBS) dnl core caja PKG_CHECK_MODULES(GMODULE, gmodule-2.0, [GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""]) -CORE_MODULES="glib-2.0 $GMODULE_ADD mate-desktop-2.0 gthread-2.0 gio-2.0 gio-unix-2.0 gail libxml-2.0 $EXTRA_CORE_MODULES gtk+-$GTK_API_VERSION" +CORE_MODULES="glib-2.0 $GMODULE_ADD mate-desktop-2.0 gthread-2.0 gio-2.0 gio-unix-2.0 gail$GAIL_API_VERSION libxml-2.0 $EXTRA_CORE_MODULES gtk+-$GTK_API_VERSION" CORE_CFLAGS="`$PKG_CONFIG --cflags $CORE_MODULES` $x_cflags" AC_SUBST(CORE_CFLAGS) CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $x_libs" |