Simplify handling of dependencies with pkg-config. Fixes build

on static-libs only architectures.
This commit is contained in:
matthieu 2010-06-08 23:15:47 +00:00
parent 4ef2419e2e
commit 0807587e97

View File

@ -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)