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:
24
configure.in
24
configure.in
@@ -1957,17 +1957,19 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
|
if test "$WXGTK20" = 1; then
|
||||||
PKG_CHECK_MODULES(PANGOFT2, pangoft2,
|
if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
|
||||||
[
|
PKG_CHECK_MODULES(PANGOFT2, pangoft2,
|
||||||
CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
|
[
|
||||||
LIBS="$LIBS $PANGOFT2_LIBS"
|
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"
|
AC_MSG_WARN([pangoft2 library not found, library will be compiled without printing support])
|
||||||
]
|
wxUSE_PRINTING_ARCHITECTURE="no"
|
||||||
)
|
]
|
||||||
|
)
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
|
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
|
||||||
|
Reference in New Issue
Block a user