* Use PKG_CHECK_MODULES the right way. Fixes build on Alt Linux.

This commit is contained in:
Sam Hocevar 2006-11-30 16:58:39 +00:00 committed by sam
parent 08f12e673f
commit e03859f53b
3 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@ if test "${ac_cv_have_tiocgwinsz}" = "yes"; then
fi
CUCUL="no"
PKG_CHECK_MODULES(cucul, cucul >= 0.99.beta10,
PKG_CHECK_MODULES(CUCUL, cucul >= 0.99.beta10,
[CUCUL="yes"],
[AC_MSG_RESULT(no)
AC_MSG_ERROR([you need libcucul version 0.99.beta10 or later])])

View file

@ -8,6 +8,6 @@ toilet_SOURCES = main.c toilet.h \
export.c export.h \
term.c figlet.c
toilet_CPPFLAGS = -DFONTDIR=\"$(datadir)/figlet\"
toilet_CFLAGS = `pkg-config --cflags cucul`
toilet_LDFLAGS = `pkg-config --libs cucul` @GETOPT_LIBS@ @ZLIB_LIBS@
toilet_CFLAGS = @CUCUL_CFLAGS@
toilet_LDADD = @CUCUL_LIBS@ @GETOPT_LIBS@ @ZLIB_LIBS@

View file

@ -3,6 +3,6 @@
noinst_PROGRAMS = caca2tlf
caca2tlf_SOURCES = caca2tlf.c
caca2tlf_CFLAGS = `pkg-config --cflags cucul`
caca2tlf_LDFLAGS = `pkg-config --libs cucul`
caca2tlf_CFLAGS = @CUCUL_CFLAGS@
caca2tlf_LDFLAGS = @CUCUL_LIBS@