diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-07-08 20:41:09 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-07-08 20:41:09 +0800 |
commit | 6f95b307dda6580150cff92b974166958c9af222 (patch) | |
tree | fe0231c01374274df14fe2421926be01f4c0be61 | |
parent | 0664e133624ca7def05aa0f16b6e1a05669937a3 (diff) | |
download | gsoc2013-empathy-6f95b307dda6580150cff92b974166958c9af222.tar gsoc2013-empathy-6f95b307dda6580150cff92b974166958c9af222.tar.gz gsoc2013-empathy-6f95b307dda6580150cff92b974166958c9af222.tar.bz2 gsoc2013-empathy-6f95b307dda6580150cff92b974166958c9af222.tar.lz gsoc2013-empathy-6f95b307dda6580150cff92b974166958c9af222.tar.xz gsoc2013-empathy-6f95b307dda6580150cff92b974166958c9af222.tar.zst gsoc2013-empathy-6f95b307dda6580150cff92b974166958c9af222.zip |
don't check GTK3 deps if GTK3 is not present
-rw-r--r-- | configure.ac | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 7e71bd96f..bf21da26f 100644 --- a/configure.ac +++ b/configure.ac @@ -173,15 +173,14 @@ AC_ARG_ENABLE(gtk3, if test "x$enable_gtk3" != "xno"; then PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= $GTK_REQUIRED], enable_gtk3="yes", enable_gtk3="no") +fi +if test "x$enable_gtk3" == "xyes"; then # GTK3 specific deps PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk3 >= $LIBCANBERRA_GTK_REQUIRED) PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= $LIBNOTIFY_REQUIRED_GTK3) PKG_CHECK_MODULES(UNIQUE, unique-3.0 >= $UNIQUE_REQUIRED) -fi - -# ...if not use GTK+2 -if test "x$enable_gtk3" == "xno"; then +else enable_gtk3=no PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED) |