diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2011-01-17 15:47:02 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2011-01-17 15:52:36 -0500 |
commit | fd262c1018a50f48d76f3734b00366dd74dadb12 (patch) | |
tree | f3fb11723ede189b37fb2536ec3ab3f08dc8da7b | |
parent | 7b94b5b4d57feec7fc8523c675a2963b3d5c9622 (diff) | |
download | gupnp-igd-fd262c1018a50f48d76f3734b00366dd74dadb12.tar.gz |
Work around bug in GIR installation pkgconfig stuff
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e13b955..a820a5c 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,12 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])], GTK_DOC_CHECK([1.0]) GOBJECT_INTROSPECTION_CHECK([0.6.7]) +if test "x$found_introspection" = "xyes"; then + INTROSPECTION_TYPELIBDIR=`$PKG_CONFIG --variable=typelibdir --define-variable="libdir=${libdir}" gobject-introspection-1.0` + INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir --define-variable="datadir=${datadir}" gobject-introspection-1.0` + AC_SUBST(INTROSPECTION_TYPELIBDIR) + AC_SUBST(INTROSPECTION_GIRDIR) +fi PKG_CHECK_MODULES(GTest, glib-2.0 >= 2.16, [gtest=yes], [gtest=no]) |