must use PKG_PROG_PKG_CONFIG before PKG_CHECK_MODULES; fixes configure for Unicode wxX11 build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-19 15:12:46 +00:00
parent 8946d7fd68
commit 479c790cb7
2 changed files with 541 additions and 768 deletions

1189
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -3206,6 +3206,8 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
fi fi
if test "$wxUSE_DFB" = 1; then if test "$wxUSE_DFB" = 1; then
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(DIRECTFB, PKG_CHECK_MODULES(DIRECTFB,
[directfb >= 0.9.22], [directfb >= 0.9.22],
[ [
@@ -3282,6 +3284,8 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
fi fi
if test "$wxUSE_UNICODE" = "yes"; then if test "$wxUSE_UNICODE" = "yes"; then
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(PANGOX, pangox, PKG_CHECK_MODULES(PANGOX, pangox,
[ [
CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS" CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"