diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:31:53 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-07-20 19:31:53 +0000 |
commit | ae49bb18f5feab2b70e6faae046bb26058421d61 (patch) | |
tree | 8b1fb5868a15a0fbb459ad1e84e82a8fa5eebd85 | |
parent | c903caebf875d510cbd1f720ccc02bd03250d7c6 (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 1e5755e..74be867 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,8 +21,8 @@ bin_PROGRAMS = xeyes -xeyes_CFLAGS = $(DEP_CFLAGS) -xeyes_LDADD = $(DEP_LIBS) -lm +xeyes_CFLAGS = $(XEYES_CFLAGS) +xeyes_LDADD = $(XEYES_LIBS) -lm xeyes_SOURCES = \ Eyes.c \ diff --git a/configure.ac b/configure.ac index 07db029..72a31fe 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 xext xmu) -AC_SUBST(DEP_CFLAGS) -AC_SUBST(DEP_LIBS) +PKG_CHECK_MODULES(XEYES, x11 xt xext xmu) +AC_SUBST(XEYES_CFLAGS) +AC_SUBST(XEYES_LIBS) AC_OUTPUT([Makefile]) |