[gnome-terminal] build: Fix linking with multiple backends
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] build: Fix linking with multiple backends
- Date: Thu, 8 Aug 2013 12:03:08 +0000 (UTC)
commit 1de148dd50bcd63357a7850c26f4144feb5dea42
Author: Christian Persch <chpe gnome org>
Date: Thu Aug 8 13:21:17 2013 +0200
build: Fix linking with multiple backends
https://bugzilla.gnome.org/show_bug.cgi?id=705659
configure.ac | 25 ++++++++++---------------
1 files changed, 10 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f887bb1..8c638ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,21 +60,16 @@ case "$with_gtk" in
;;
esac
-AC_MSG_CHECKING([for GDK target])
-case "$with_gtk" in
- 3.0) for target in $($PKG_CONFIG --variable targets gdk-$GTK_API_VERSION); do
- GDK_TARGET="$target"
- break
- done
- ;;
-esac
-AC_MSG_RESULT([$GDK_TARGET])
-
-case "$GDK_TARGET" in
- x11) PLATFORM_DEPS="x11" ;;
- win32|quartz) PLATFORM_DEPS="" ;;
- *) AC_MSG_ERROR([unknown gdk target]) ;;
-esac
+PLATFORM_DEPS=
+for target in $($PKG_CONFIG --variable targets gdk-$GTK_API_VERSION); do
+ case "$target" in
+ x11) PLATFORM_DEPS="$PLATFORM_DEPS x11" ;;
+ broadway) ;;
+ wayland) ;;
+ win32|quartz) AC_MSG_WARN([unsupported GDK backend $target]) ;;
+ *) AC_MSG_WARN([unknown GDK backend $target]) ;;
+ esac
+done
PKG_CHECK_MODULES([TERM],
[vte$VTE_PC_VERSION >= $VTE_REQUIRED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]