summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-20 19:31:52 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-20 19:31:52 +0000
commitfe29c745207c2076cd711a23d1dbae033a192143 (patch)
tree62f4b130007c30bb31940500c354b410ee5f0e1c /configure.ac
parent575ef4d780ef152a889ee475e4875923c5244589 (diff)
Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global
configure cache, you cache it, and the cached value is probably wrong.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 198e164..d19fa92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,10 +34,10 @@ AC_PROG_INSTALL
AC_CHECK_FUNCS([strlcpy])
dnl Required dependencies
-PKG_CHECK_MODULES(X11, x11)
+PKG_CHECK_MODULES(XCLOCK_X11, x11)
XAW_CHECK_XPRINT_SUPPORT(XAW)
-DEP_CFLAGS="$X11_CFLAGS $XAW_CFLAGS"
-DEP_LIBS="$X11_LIBS $XAW_LIBS"
+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,7 +58,7 @@ if test x$use_xkb != xno ; then
AC_DEFINE([XKB],1,[Define to use XkbStdBell])
fi
-AC_SUBST(DEP_CFLAGS)
-AC_SUBST(DEP_LIBS)
+AC_SUBST(XCLOCK_CFLAGS)
+AC_SUBST(XCLOCK_LIBS)
AC_OUTPUT([Makefile])