diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:31:49 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:31:49 +0000 |
commit | 9fea8d0cce13310b0549f9af164b04614dee26c6 (patch) | |
tree | 1b06212d33614c8b5d1a5321eb80c8b063ac21af | |
parent | 375d4ff16a93c5e1874b1a21c96a9549475ae6c4 (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 7ef2ddc..7e4da7f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,8 +21,8 @@ bin_PROGRAMS = oclock -oclock_CFLAGS = $(DEP_CFLAGS) -oclock_LDADD = $(DEP_LIBS) -lm +oclock_CFLAGS = $(OCLOCK_CFLAGS) +oclock_LDADD = $(OCLOCK_LIBS) -lm oclock_SOURCES = \ Clock.c \ diff --git a/configure.ac b/configure.ac index f7fa71d..5d18f08 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 xext) -AC_SUBST(DEP_CFLAGS) -AC_SUBST(DEP_LIBS) +PKG_CHECK_MODULES(OCLOCK, x11 xmu xext) +AC_SUBST(OCLOCK_CFLAGS) +AC_SUBST(OCLOCK_LIBS) AC_OUTPUT([Makefile]) |