diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:31:47 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:31:47 +0000 |
commit | 130050b5985f1de5990f20cc36cc98db7cc6ffb1 (patch) | |
tree | 06de838373b5ba080338aa4e950b212f89769a44 | |
parent | 12bd22f44d4cd3864f87aeb371dce2307c2eb884 (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.am | 4 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 3390784..fe155f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,8 +21,8 @@ bin_PROGRAMS = appres -appres_CFLAGS = $(DEP_CFLAGS) -appres_LDADD = $(DEP_LIBS) +appres_CFLAGS = $(APPRES_CFLAGS) +appres_LDADD = $(APPRES_LIBS) appres_SOURCES = \ appres.c diff --git a/configure.ac b/configure.ac index 1118938..772f3a4 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 xt) -AC_SUBST(DEP_CFLAGS) -AC_SUBST(DEP_LIBS) +PKG_CHECK_MODULES(APPRES, x11 xt) +AC_SUBST(APPRES_CFLAGS) +AC_SUBST(APPRES_LIBS) AC_OUTPUT([Makefile]) |