[dasher] Build with gtk3 if found, if not fall back to gtk2.
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher] Build with gtk3 if found, if not fall back to gtk2.
- Date: Wed, 13 Apr 2011 10:05:33 +0000 (UTC)
commit 1626704ece09ed2d1879c4b9d09b43fe5177167f
Author: Patrick Welche <prlw1 cam ac uk>
Date: Thu Mar 31 22:46:58 2011 +0200
Build with gtk3 if found, if not fall back to gtk2.
configure.ac | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e1004d9..b12cbc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,7 +197,11 @@ AC_ARG_WITH([cairo],
if test x"$WITHGTK2" = xtrue
then
- PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.6.0,[GTK2HERE=true],[GTK2HERE=false])
+ PKG_CHECK_MODULES(GTK2, gtk+-3.0,
+ [GTK2HERE=true],
+ [PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.6.0,
+ [GTK2HERE=true],
+ [GTK2HERE=false])])
fi
if test x"$GTK2HERE" = xtrue -a x"$WITHQTE" != xtrue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]