From 8117e998355db1ad9de75b11d7b490f9a3975db5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 20 Jul 2005 19:31:55 +0000 Subject: 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. --- Makefile.am | 4 ++-- configure.ac | 6 +++--- 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]) -- cgit v1.2.3