summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-20 19:31:51 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-20 19:31:51 +0000
commit81a51fb38778c54442657142cf5d57fae4ac3e0e (patch)
treecc6cd3869380517815521b3648461e47ea9c150c
parent2975cf615c2e0b79c3392d6d95b393ce4b0fd312 (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 9162f17..28169dc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,8 +28,8 @@ LIBPATH = $(libdir)/X11/x11perfcomp
x11perfcompdir = $(LIBPATH)
dist_x11perfcomp_SCRIPTS = fillblnk.sh perfboth.sh perfratio.sh Xmark.sh
-x11perf_CFLAGS = $(DEP_CFLAGS)
-x11perf_LDADD = $(DEP_LIBS) -lm
+x11perf_CFLAGS = $(X11PERF_CFLAGS)
+x11perf_LDADD = $(X11PERF_LIBS) -lm
x11perf_SOURCES = \
bitmaps.c \
diff --git a/configure.ac b/configure.ac
index 3ded10b..803e44a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,8 +37,8 @@ if [[ -z $SED ]] ; then
fi
# Checks for pkg-config packages
-PKG_CHECK_MODULES(DEP, x11 xmu)
-AC_SUBST(DEP_CFLAGS)
-AC_SUBST(DEP_LIBS)
+PKG_CHECK_MODULES(X11PERF, x11 xmu)
+AC_SUBST(X11PERF_CFLAGS)
+AC_SUBST(X11PERF_LIBS)
AC_OUTPUT([Makefile])