[anjuta-extras] configure.ac: added some more macros to let valgrind compile.
- From: Massimo Cora' <mcora src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta-extras] configure.ac: added some more macros to let valgrind compile.
- Date: Fri, 19 Feb 2010 00:33:30 +0000 (UTC)
commit 53727c68ce2377732b9b0f7fdb5e0ea9b4053b0e
Author: Massimo Corà <mcora src gnome org>
Date: Fri Feb 19 01:31:58 2010 +0100
configure.ac: added some more macros to let valgrind compile.
configure.ac | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8a7f5f0..82faff3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,23 @@ AC_SUBST(GNOME_REQUIRED)
dnl ***************************************************************************
+dnl Check for pkgconfig
+dnl ***************************************************************************
+AC_PATH_PROG(PKG_CONFIG, pkg-config,no)
+if test x$PKGCONFIG_CONFIG = xno; then
+ AC_MSG_ERROR(Please install the pkg-config package from http://www.freedesktop.org/software/pkgconfig/)
+fi
+
+dnl ***************************************************************************
+dnl Check for marshal and enum generators
+dnl ***************************************************************************
+GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
+AC_SUBST(GLIB_GENMARSHAL)
+GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
+AC_SUBST(GLIB_MKENUMS)
+
+
+dnl ***************************************************************************
dnl we need gconftool-2 in order to install the schema
dnl ***************************************************************************
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]