summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-01-15 01:58:48 +0000
committerTor Lillqvist <tml@src.gnome.org>2007-01-15 01:58:48 +0000
commit353b4a14be628d8ad8a7111b0c9a6226380c29f4 (patch)
tree3753787a6ba96b1ab83f1798bd9e609bc1e09920
parentcd03867b7feaa1351479844249a596688eaab271 (diff)
downloadpango-353b4a14be628d8ad8a7111b0c9a6226380c29f4.tar.gz
Don't check for X and don't warn about missing fontconfig on Win32.
2007-01-15 Tor Lillqvist <tml@novell.com> * configure.in: Don't check for X and don't warn about missing fontconfig on Win32. (#392628, Yevgen Muntyan) svn path=/branches/pango-1-14/; revision=2143
-rw-r--r--ChangeLog5
-rw-r--r--configure.in21
2 files changed, 17 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 9fba517e..39f875ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-01-15 Tor Lillqvist <tml@novell.com>
+ * configure.in: Don't check for X and don't warn about missing
+ fontconfig on Win32. (#392628, Yevgen Muntyan)
+
+2007-01-15 Tor Lillqvist <tml@novell.com>
+
* configure.in: Automatically use -mms-bitfields on Windows when
building with gcc. (#394453)
diff --git a/configure.in b/configure.in
index 3092b54e..31f2e13d 100644
--- a/configure.in
+++ b/configure.in
@@ -198,15 +198,18 @@ if test "x$enable_rebuilds" = "xyes" && \
fi
AC_SUBST(REBUILD)
-AC_PATH_XTRA
+have_x=false
+if test "x$pango_os_win32" != xyes; then
+ AC_PATH_XTRA
-if test x$no_x = xyes ; then
- AC_MSG_WARN([X development libraries not found])
- have_x=false
-else
- X_LIBS="$X_LIBS -lX11"
- have_x=true
- AC_DEFINE(HAVE_X, 1, [Have X libraries])
+ if test x$no_x = xyes ; then
+ AC_MSG_WARN([X development libraries not found])
+ have_x=false
+ else
+ X_LIBS="$X_LIBS -lX11"
+ have_x=true
+ AC_DEFINE(HAVE_X, 1, [Have X libraries])
+ fi
fi
AM_CONDITIONAL(HAVE_X, $have_x)
@@ -252,7 +255,7 @@ if $have_fontconfig ; then
AC_DEFINE(HAVE_XFT, 1, [Have Xft library])
fi
fi
-else
+elif test "x$pango_os_win32" != xyes; then
AC_MSG_WARN([No fontconfig found, skipping tests for FreeType and Xft])
fi