diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 21 |
2 files changed, 17 insertions, 9 deletions
@@ -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 775b4ff1..ecbfe86f 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 |