diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:31:48 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:31:48 +0000 |
commit | 9d4b8016df4fd9246dec80905935385ee918e515 (patch) | |
tree | c304e229aaf4bc1a7f0e35896ad38831cc318dfe | |
parent | 333ef4d5389bc8dcdb4ddc8b68ed286c02332721 (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 f695862..d2f7540 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,8 +21,8 @@ bin_PROGRAMS = beforelight -beforelight_CFLAGS = $(DEP_CFLAGS) -beforelight_LDADD = $(DEP_LIBS) +beforelight_CFLAGS = $(BEFORELIGHT_CFLAGS) +beforelight_LDADD = $(BEFORELIGHT_LIBS) beforelight_SOURCES = \ b4light.c \ diff --git a/configure.ac b/configure.ac index 1603bf4..7bfadd8 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 xscrnsaver xt) -AC_SUBST(DEP_CFLAGS) -AC_SUBST(DEP_LIBS) +PKG_CHECK_MODULES(BEFORELIGHT, x11 xscrnsaver xt) +AC_SUBST(BEFORELIGHT_CFLAGS) +AC_SUBST(BEFORELIGHT_LIBS) AC_OUTPUT([Makefile]) |