From c04cfb209c6da039728f15d0b9211557a2cb556d Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sat, 7 Aug 2010 21:07:30 -0400 Subject: config: consolidate dependencies checking One single equivalent statement will do the job. Signed-off-by: Gaetan Nadon --- configure.ac | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index d81c8e5..e9db562 100644 --- a/configure.ac +++ b/configure.ac @@ -37,14 +37,8 @@ AM_CONFIG_HEADER(config.h) AC_PROG_CC AC_PROG_INSTALL - -# 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" -AC_SUBST(EDITRES_CFLAGS) -AC_SUBST(EDITRES_LIBS) +# Obtain compiler/linker options from depedencies +PKG_CHECK_MODULES(EDITRES, xaw7 x11 xt xmu) PKG_CHECK_MODULES(APPDEFS, xt) xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` -- cgit v1.2.3