[gedit] Use new gdk targets (multiple backends) in configure
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Use new gdk targets (multiple backends) in configure
- Date: Sun, 9 Jan 2011 16:13:32 +0000 (UTC)
commit f0dda3ae7152d72dd6858077ae1e09f0537ccb7b
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Sun Jan 9 17:13:18 2011 +0100
Use new gdk targets (multiple backends) in configure
configure.ac | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 95d6776..4333b41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,21 @@ AC_MSG_RESULT([$platform_osx])
AM_CONDITIONAL(PLATFORM_OSX, test "$platform_osx" = "yes")
dnl check for native osx
-gdk_windowing=`$PKG_CONFIG --variable=target gdk-3.0`
+gdk_targets=`$PKG_CONFIG --variable=targets gdk-3.0`
+
+gdk_windowing="x11"
+
+for target in $gdk_targets;
+do
+ case "$target" in
+ quartz)
+ gdk_windowing=quartz
+ ;;
+ win32)
+ gdk_windowing=win32
+ ;;
+ esac
+done
AC_MSG_CHECKING([for native Mac OS X])
if test "$gdk_windowing" = "quartz"; then
@@ -447,6 +461,7 @@ Configuration:
Gvfs metadata enabled: $enable_gvfs_metadata
Deprecations enabled: $enable_deprecations
GObject Introspection: $enable_introspection
+ GDK Backend: $gdk_windowing
"
if expr ${GEDIT_MINOR_VERSION} % 2 > /dev/null; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]