[evolution-data-server] Check for gperf during configure



commit 850aab4bf1f3fd5e99ddfca4ff5d251a47470146
Author: Fridrich Strba <fridrich strba bluewin ch>
Date:   Mon Mar 8 11:44:44 2010 +0100

    Check for gperf during configure

 camel/providers/imapx/Makefile.am |    2 +-
 configure.ac                      |    5 +++++
 2 files changed, 6 insertions(+), 1 deletions(-)
---
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..c420163 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]