Simplify handling of dependencies with pkg-config. Fixes build
on static-libs only architectures.
This commit is contained in:
parent
4ef2419e2e
commit
0807587e97
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user