summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-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)