Pārlūkot izejas kodu

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

pull/1/head
Sam Hocevar sam pirms 18 gadiem
vecāks
revīzija
e03859f53b
3 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. +1
    -1
      configure.ac
  2. +2
    -2
      src/Makefile.am
  3. +2
    -2
      tools/Makefile.am

+ 1
- 1
configure.ac Parādīt failu

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


+ 2
- 2
src/Makefile.am Parādīt failu

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


+ 2
- 2
tools/Makefile.am Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt