[pygobject/gsoc2009: 110/160] Add a flag for girepository.h presence
- From: Simon van der Linden <svdlinden src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pygobject/gsoc2009: 110/160] Add a flag for girepository.h presence
- Date: Fri, 14 Aug 2009 21:32:59 +0000 (UTC)
commit 01d1f607d8bea2537fb272eb0bdb20fd60655342
Author: Simon van der Linden <svdlinden src gnome org>
Date: Wed Aug 5 15:18:42 2009 +0200
Add a flag for girepository.h presence
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2ab3746..ccf6db5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,6 +206,9 @@ PKG_CHECK_MODULES(GOBJECT_INTROSPECTION, gobject-introspection-1.0 >= gobject_in
AC_SUBST(GOBJECT_INTROSPECTION_CFLAGS)
AC_SUBST(GOBJECT_INTROSPECTION_LIBS)
AM_CONDITIONAL(BUILD_GOBJECT_INTROSPECTION, $have_gobject_introspection)
+if test "$have_gobject_introspection" = true; then
+ AC_DEFINE(HAVE_GIREPOSITORY_H,1,[Define to 1 if you have the <girepository.h> header file.])
+fi
if test -n "$export_dynamic"; then
GOBJECT_INTROSPECTION_LIBS=`echo $GOBJECT_INTROSPECTION_LIBS | sed -e "s/$export_dynamic//"`
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]