summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d19fa92..db313a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,8 +36,6 @@ AC_CHECK_FUNCS([strlcpy])
dnl Required dependencies
PKG_CHECK_MODULES(XCLOCK_X11, x11)
XAW_CHECK_XPRINT_SUPPORT(XAW)
-XCLOCK_CFLAGS="$XCLOCK_X11_CFLAGS $XAW_CFLAGS"
-XCLOCK_LIBS="$XCLOCK_X11_LIBS $XAW_LIBS"
dnl Optional dependencies
AC_ARG_WITH(xft, AC_HELP_STRING([--with-xft],[Use Xft2 and Xrender for rendering (Default is YES)]),use_xft="$withval",use_xft="try")
@@ -58,6 +56,9 @@ if test x$use_xkb != xno ; then
AC_DEFINE([XKB],1,[Define to use XkbStdBell])
fi
+XCLOCK_CFLAGS="$XCLOCK_X11_CFLAGS $XAW_CFLAGS $DEP_CFLAGS"
+XCLOCK_LIBS="$XCLOCK_X11_LIBS $XAW_LIBS $DEP_LIBS"
+
AC_SUBST(XCLOCK_CFLAGS)
AC_SUBST(XCLOCK_LIBS)