From 0807587e9772e1efe36f59893ad953c2a0abcc28 Mon Sep 17 00:00:00 2001 From: matthieu Date: Tue, 8 Jun 2010 23:15:47 +0000 Subject: [PATCH] Simplify handling of dependencies with pkg-config. Fixes build on static-libs only architectures. --- app/editres/configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/editres/configure.ac b/app/editres/configure.ac index f16597bcf..ddc0e83c9 100644 --- a/app/editres/configure.ac +++ b/app/editres/configure.ac @@ -38,10 +38,7 @@ AC_PROG_INSTALL XORG_DEFAULT_OPTIONS # Checks for pkg-config packages -PKG_CHECK_MODULES(XAW, xaw7) -PKG_CHECK_MODULES(EDITRES, x11 xt xmu) -EDITRES_CFLAGS="$EDITRES_CFLAGS $XAW_CFLAGS" -EDITRES_LIBS="$EDITRES_LIBS $XAW_LIBS" +PKG_CHECK_MODULES(EDITRES, x11 xt xmu xaw7) AC_SUBST(EDITRES_CFLAGS) AC_SUBST(EDITRES_LIBS)