diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:32:02 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:32:02 +0000 |
commit | 9428b06892b05ff2382d1bf2032b062bc10a1013 (patch) | |
tree | 2ad12e8386d6d4d6cabab3a2a185ffba41cb53e6 | |
parent | bc737d5ade74d17b7b7af4d83b3a03cd570061c3 (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 0132d65..3f8e1ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,8 +21,8 @@ bin_PROGRAMS = xlsclients -xlsclients_CFLAGS = $(DEP_CFLAGS) -xlsclients_LDADD = $(DEP_LIBS) +xlsclients_CFLAGS = $(XLSCLIENTS_CFLAGS) +xlsclients_LDADD = $(XLSCLIENTS_LIBS) xlsclients_SOURCES = \ xlsclients.c diff --git a/configure.ac b/configure.ac index f55d795..851dfc3 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 xmu) -AC_SUBST(DEP_CFLAGS) -AC_SUBST(DEP_LIBS) +PKG_CHECK_MODULES(XLSCLIENTS, x11 xmu) +AC_SUBST(XLSCLIENTS_CFLAGS) +AC_SUBST(XLSCLIENTS_LIBS) AC_OUTPUT([Makefile]) |