summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-20 19:32:03 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-20 19:32:03 +0000
commit2faf99b89d122591bd9cc95fdc770c7791316418 (patch)
treefc7b94d02214b6fc2ad0233e7777cc09446ce528
parentaaf9991d2a3862c5fd22c2d61f1bfcade97e9eaf (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.
-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 a584531..f014b0c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,8 +21,8 @@
bin_PROGRAMS = xprehashprinterlist
-xprehashprinterlist_CFLAGS = $(DEP_CFLAGS)
-xprehashprinterlist_LDADD = $(DEP_LIBS)
+xprehashprinterlist_CFLAGS = $(XPREHASHPRINTERLIST_CFLAGS)
+xprehashprinterlist_LDADD = $(XPREHASHPRINTERLIST_LIBS)
xprehashprinterlist_SOURCES = \
xprehashprinterlist.c
diff --git a/configure.ac b/configure.ac
index 558336d..3300922 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, xp x11)
-AC_SUBST(DEP_CFLAGS)
-AC_SUBST(DEP_LIBS)
+PKG_CHECK_MODULES(XPREHASHPRINTERLIST, xp x11)
+AC_SUBST(XPREHASHPRINTERLIST_CFLAGS)
+AC_SUBST(XPREHASHPRINTERLIST_LIBS)
AC_OUTPUT([Makefile])