only test for pangoft2 if we're using GTK 2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-08-16 10:28:12 +00:00
parent 4f3b37fd0e
commit b13cd66e42
2 changed files with 491 additions and 480 deletions

947
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1957,17 +1957,19 @@ equivalent variable and GTK+ is version 1.2.3 or above.
;;
esac
if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
PKG_CHECK_MODULES(PANGOFT2, pangoft2,
[
CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
LIBS="$LIBS $PANGOFT2_LIBS"
],
[
AC_MSG_WARN([pangoft2 library not found, library will be compiled without printing support])
wxUSE_PRINTING_ARCHITECTURE="no"
]
)
if test "$WXGTK20" = 1; then
if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
PKG_CHECK_MODULES(PANGOFT2, pangoft2,
[
CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
LIBS="$LIBS $PANGOFT2_LIBS"
],
[
AC_MSG_WARN([pangoft2 library not found, library will be compiled without printing support])
wxUSE_PRINTING_ARCHITECTURE="no"
]
)
fi
fi
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"