summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-08-07 21:07:30 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-08-07 21:07:30 -0400
commitc04cfb209c6da039728f15d0b9211557a2cb556d (patch)
treeaa6aa31636a2d9000fab30d550083172bfacf484 /configure.ac
parent00839b44d635eb3c5d5a3d1b1d764838af22d252 (diff)
config: consolidate dependencies checking
One single equivalent statement will do the job. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files 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`