summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-02-21 08:51:42 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-02-21 08:51:42 -0800
commitcfb89d84fa8ea3f42b130d676125a530bd0e1e94 (patch)
tree1491e7cfa3bf532d822cf0b3eb23ae63a319d64c
parent281158a840b5669dcea426fee4bdf4439f4e41c5 (diff)
Add PKG_CHECK_MODULES entries for the libraries xsm calls directly
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 836ae57..269bf84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,7 +63,10 @@ AC_CHECK_FUNC([putenv], [],
AC_DEFINE(NOPUTENV,1,[Define to 1 if you DO NOT have the `putenv' function.]))
# Checks for pkg-config packages
-XAW_CHECK_XPRINT_SUPPORT(XSM)
+PKG_CHECK_MODULES(XSM, x11 xt ice sm)
+XAW_CHECK_XPRINT_SUPPORT(XSM_XAW)
+XSM_CFLAGS="$XSM_XAW_CFLAGS $XSM_CFLAGS"
+XSM_LIBS="$XSM_XAW_LIBS $XSM_LIBS"
AC_SUBST(XSM_CFLAGS)
AC_SUBST(XSM_LIBS)