[PATCH 2/2] configure: always check for pkg-config (Bug 33780)

Alexandre Rostovtsev tetromino at gentoo.org
Tue Jun 11 00:05:42 CDT 2013


AC_REQUIRE([WINE_PATH_PKG_CONFIG]) in WINE_PACKAGE_FLAGS is not
sufficient because it gets expanded only at the first occurrence of
WINE_PACKAGE_FLAGS in configure.ac's text - which happens to be inside a
shell conditional, and therefore never gets run when configuring
--without-xml.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 57d76d9..5f3f98a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -288,6 +288,7 @@ AC_CHECK_PROGS(RSVG, rsvg, false)
 AC_CHECK_PROGS(CONVERT, convert, false)
 AC_CHECK_PROGS(ICOTOOL, icotool, false)
 AC_CHECK_PROGS(MSGFMT, msgfmt, false)
+WINE_PATH_PKG_CONFIG
 
 if test "x$enable_maintainer_mode" != "xyes"
 then
-- 
1.8.2.1




More information about the wine-patches mailing list