Browse Source

* 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
master
sam 18 years ago
parent
commit
196a108fd9
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      configure.ac
  2. +2
    -2
      src/Makefile.am

+ 1
- 1
configure.ac View File

@@ -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])])


+ 2
- 2
src/Makefile.am View File

@@ -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


Loading…
Cancel
Save