summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-20 19:31:55 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-20 19:31:55 +0000
commit8117e998355db1ad9de75b11d7b490f9a3975db5 (patch)
tree82860bbc6afadfd25ad346c90fc81232e6b3fd3b
parent1d29eb6502bce57efcecd9ed1186ed2cb3de7586 (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 f552393..4ae9884 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,8 +21,8 @@
bin_PROGRAMS = xf86dga
-xf86dga_CFLAGS = $(DEP_CFLAGS)
-xf86dga_LDADD = $(DEP_LIBS)
+xf86dga_CFLAGS = $(XF86DGA_CFLAGS)
+xf86dga_LDADD = $(XF86DGA_LIBS)
xf86dga_SOURCES = \
dga.c
diff --git a/configure.ac b/configure.ac
index c5f1917..ad079c5 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 xxf86dga)
-AC_SUBST(DEP_CFLAGS)
-AC_SUBST(DEP_LIBS)
+PKG_CHECK_MODULES(XF86DGA, x11 xxf86dga)
+AC_SUBST(XF86DGA_CFLAGS)
+AC_SUBST(XF86DGA_LIBS)
AC_OUTPUT([Makefile])