From b7161f370dbabeb536e9dc078f05e1ffd67847fb Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 20 Jul 2005 19:31:51 +0000 Subject: 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. --- Makefile.am | 4 ++-- configure.ac | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index b1cce2d..0a30c83 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,8 +21,8 @@ bin_PROGRAMS = xcalc -xcalc_CFLAGS = $(DEP_CFLAGS) -xcalc_LDADD = $(DEP_LIBS) -lm +xcalc_CFLAGS = $(XCALC_CFLAGS) +xcalc_LDADD = $(XCALC_LIBS) -lm xcalc_SOURCES = \ actions.c \ diff --git a/configure.ac b/configure.ac index e934e9a..dbb55d3 100644 --- a/configure.ac +++ b/configure.ac @@ -31,9 +31,9 @@ AM_CONFIG_HEADER(config.h) AC_PROG_CC AC_PROG_INSTALL -XAW_CHECK_XPRINT_SUPPORT(DEP) +XAW_CHECK_XPRINT_SUPPORT(XCALC) -AC_SUBST(DEP_CFLAGS) -AC_SUBST(DEP_LIBS) +AC_SUBST(XCALC_CFLAGS) +AC_SUBST(XCALC_LIBS) AC_OUTPUT([Makefile]) -- cgit v1.2.3