From 850aab4bf1f3fd5e99ddfca4ff5d251a47470146 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 8 Mar 2010 11:44:44 +0100 Subject: [PATCH] Check for gperf during configure --- camel/providers/imapx/Makefile.am | 2 +- configure.ac | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/camel/providers/imapx/Makefile.am b/camel/providers/imapx/Makefile.am index 6bb3517..72b2d25 100644 --- a/camel/providers/imapx/Makefile.am +++ b/camel/providers/imapx/Makefile.am @@ -32,7 +32,7 @@ noinst_HEADERS = \ camel-imapx-utils.h camel-imapx-tokenise.h: camel-imapx-tokens.txt - gperf -H imapx_hash -N imapx_tokenise_struct -L ANSI-C -o -t -k1,$$ $< > $@ + @GPERF@ -H imapx_hash -N imapx_tokenise_struct -L ANSI-C -o -t -k1,$$ $< > $@ libcamelimapx_la_LIBADD = \ $(top_builddir)/libedataserver/libedataserver-${API_VERSION}.la \ diff --git a/configure.ac b/configure.ac index cc98500..c4201638 100644 --- a/configure.ac +++ b/configure.ac @@ -1413,6 +1413,11 @@ AC_PATH_PROG(GCONFTOOL, gconftool-2, [no]) AM_GCONF_SOURCE_2 dnl ****************************** +dnl gperf stuff +dnl ****************************** +AC_PATH_PROG(GPERF, gperf, [no]) + +dnl ****************************** dnl Makefiles dnl ****************************** export privlibdir -- 2.7.4