Browse Source

* Use PKG_CHECK_MODULES the right way.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/cacatris/trunk@1443 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 18 years ago
parent
commit
53bdbb99e8
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

@@ -2,6 +2,6 @@
bin_PROGRAMS = cacatris

cacatris_SOURCES = main.c
cacatris_CFLAGS = `pkg-config --cflags caca`
cacatris_LDFLAGS = `pkg-config --libs caca`
cacatris_CFLAGS = @CACA_CFLAGS@
cacatris_LDFLAGS = @CACA_LIBS@


Loading…
Cancel
Save