summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-20 19:32:01 (GMT)
committerAdam Jackson <ajax@nwnk.net>2005-07-20 19:32:01 (GMT)
commit34c4875ac98c9e539aabc5f5317b992d4697289a (patch)
treebdb843cacdba35b7354f69fa730dc50c91a98588
parent0dd5d7bf6f87df04b4d83ba5cc9356c6eed71088 (diff)
downloadxlsatoms-34c4875ac98c9e539aabc5f5317b992d4697289a.zip
xlsatoms-34c4875ac98c9e539aabc5f5317b992d4697289a.tar.gz
xlsatoms-34c4875ac98c9e539aabc5f5317b992d4697289a.tar.bz2
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.
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac6
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 0341637..973baa2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,8 +21,8 @@
bin_PROGRAMS = xlsatoms
-xlsatoms_CFLAGS = $(DEP_CFLAGS)
-xlsatoms_LDADD = $(DEP_LIBS)
+xlsatoms_CFLAGS = $(XLSATOMS_CFLAGS)
+xlsatoms_LDADD = $(XLSATOMS_LIBS)
xlsatoms_SOURCES = \
xlsatoms.c
diff --git a/configure.ac b/configure.ac
index 4bbe351..754697c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,8 +32,8 @@ AC_PROG_CC
AC_PROG_INSTALL
# Checks for pkg-config packages
-PKG_CHECK_MODULES(DEP, x11 xmu)
-AC_SUBST(DEP_CFLAGS)
-AC_SUBST(DEP_LIBS)
+PKG_CHECK_MODULES(XLSATOMS, x11 xmu)
+AC_SUBST(XLSATOMS_CFLAGS)
+AC_SUBST(XLSATOMS_LIBS)
AC_OUTPUT([Makefile])