From 196a108fd9e4f4c5a826df5f7ea73e9337b841cb Mon Sep 17 00:00:00 2001 From: sam Date: Thu, 30 Nov 2006 17:01:29 +0000 Subject: [PATCH] * Use PKG_CHECK_MODULES the right way. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@1444 92316355-f0b4-4df1-b90c-862c8a59935f --- configure.ac | 2 +- src/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 0266b96..1a991da 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,7 @@ if test "$build" != "$host" -a "${PKG_CONFIG_LIBDIR}" = ""; then fi CACA="no" -PKG_CHECK_MODULES(caca, caca >= 0.99.beta9, +PKG_CHECK_MODULES(CACA, caca >= 0.99.beta9, [CACA="yes"], [AC_MSG_RESULT(no) AC_MSG_ERROR([you need libcaca version 0.99.beta9 or later])]) diff --git a/src/Makefile.am b/src/Makefile.am index d3053b3..b521a18 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,6 +8,6 @@ ttyvaders_SOURCES = \ ttyvaders.c \ ground.c \ $(NULL) -ttyvaders_CFLAGS = `pkg-config --cflags caca` -ttyvaders_LDFLAGS = `pkg-config --libs caca` -lm +ttyvaders_CFLAGS = @CACA_CFLAGS@ +ttyvaders_LDFLAGS = @CACA_LIBS@ -lm