From 557400684005e702d547187ed5799d58fef07928 Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Tue, 7 Jan 2014 15:05:51 -0200 Subject: [PATCH] Depend on PCRE #1 --- Makefile.am | 3 +++ configure.ac | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index d511c15..6ab9c83 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,6 +7,9 @@ AUTOMAKE_OPTIONS = subdir-objects ## to provide a way for the user to supply additional arguments. ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} +libcspeech_CFLAGS = $(PCRE_CFLAGS) +libcspeech_LDADD = $(PCRE_LIBS) + ## Define a libtool archive target "libcspeech-@CSPEECH_API_VERSION@.la", with ## @CSPEECH_API_VERSION@ substituted into the generated Makefile at configure ## time. diff --git a/configure.ac b/configure.ac index 3b35efa..c9e679f 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,8 @@ AC_INIT([cspeech], [0.1], [ben@langfeld.me], [cspeech], AC_PREREQ([2.59]) AM_INIT_AUTOMAKE([1.10 -Wall no-define]) +PKG_CHECK_MODULES([PCRE], [libpcre]) + # Generate two configuration headers; one for building the library itself with # an autogenerated template, and a second one that will be installed alongside # the library.