diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2009-12-04 12:49:47 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2009-12-04 12:53:07 +0100 |
commit | 453effe8f29f3159bb374e2d4c65cfae3ff3cd18 (patch) | |
tree | 9a74a85f8e23deaf3dbf7cb1fe85141b45397034 /src/Makefile.am | |
parent | 4f67550194ca691d9ae2196a030472d80bf73f52 (diff) | |
download | grep-453effe8f29f3159bb374e2d4c65cfae3ff3cd18.tar.gz |
switch to pkg-config for PCRE detection
* configure.ac: use pkg-config to detect PCRE
* src/Makefile.am (grep_LDADD): link grep with PCRE_LIBS
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5a566ae0..50459930 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,6 +24,7 @@ fgrep_SOURCES = fgrep.c fsearch.c kwset.c noinst_HEADERS = grep.h dfa.h kwset.h getpagesize.h system.h mbsupport.h LDADD = $(LIBINTL) ../lib/libgreputils.a +grep_LDADD = $(PCRE_LIBS) $(LDADD) localedir = $(datadir)/locale INCLUDES = -I../intl -I$(top_srcdir)/lib -DLOCALEDIR=\"$(localedir)\" |