summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-20 19:31:56 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-20 19:31:56 +0000
commit2bcdc37be05069c0fc5d3c9381d5ad65839a27ea (patch)
tree8c85e2b3e39e5eaab8e58d37d76e23b136cb3aea
parent0e0ad15de21add08bffc4379bde7cb0cf7e77b74 (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 b29c600..f4c2dbb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,8 +21,8 @@
bin_PROGRAMS = xgamma
-xgamma_CFLAGS = $(DEP_CFLAGS)
-xgamma_LDADD = $(DEP_LIBS)
+xgamma_CFLAGS = $(XGAMMA_CFLAGS)
+xgamma_LDADD = $(XGAMMA_LIBS)
xgamma_SOURCES = \
xgamma.c
diff --git a/configure.ac b/configure.ac
index ef32d70..c3deb62 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, xxf86vm)
-AC_SUBST(DEP_CFLAGS)
-AC_SUBST(DEP_LIBS)
+PKG_CHECK_MODULES(XGAMMA, xxf86vm)
+AC_SUBST(XGAMMA_CFLAGS)
+AC_SUBST(XGAMMA_LIBS)
AC_OUTPUT([Makefile])