[gtkglext] Add check for pangowin32.
- From: Ralf Corsépius <rcorsepius src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkglext] Add check for pangowin32.
- Date: Tue, 29 Dec 2009 08:22:27 +0000 (UTC)
commit fb75259c6df3cb5689e4b306a67e8dc646ced658
Author: Ralf Corsepius <rcorsepius src gnome org>
Date: Tue Dec 29 09:19:35 2009 +0100
Add check for pangowin32.
configure.ac | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7a7f727..70ae862 100644
--- a/configure.ac
+++ b/configure.ac
@@ -226,9 +226,18 @@ PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.4], ,
PKG_CHECK_MODULES([GDK], [gdk-2.0], ,
[AS_IF([test -z "${GDK_LIBS+x}"],
[AC_MSG_FAILURE([GDK is required.])])])
-PKG_CHECK_MODULES([PANGOX], [pangox], ,
- [AS_IF([test -z "${PANGOX_LIBS+x}"],
- [AC_MSG_FAILURE([Pango X font support is required.])])])
+
+case $gdktarget in
+x11)
+ PKG_CHECK_MODULES([PANGOX],[pango$gdktarget], ,
+ [AC_MSG_FAILURE([pango$gdtarget font support is required.])])
+ ;;
+win32)
+ PKG_CHECK_MODULES([PANGOWIN32],[pango$gdktarget], ,
+ [AC_MSG_FAILURE([pango$gdtarget font support is required.])])
+ ;;
+esac
+
PKG_CHECK_MODULES([PANGOFT2], [pangoft2], ,
[AS_IF([test -z "${PANGOFT2_LIBS+x}"],
[AC_MSG_WARN([Pango Freetype support is required to build some of the examples.])])])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]