summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index d5a83b0e9e..1433913e18 100644
--- a/configure.in
+++ b/configure.in
@@ -1979,6 +1979,12 @@ fi
GOBJECT_INTROSPECTION_CHECK([0.6.7])
+# Hack around introspection installing into an absolute path breaking distcheck
+tmp=`pkg-config --variable=datadir gobject-introspection-1.0`
+INTROSPECTION_GIRDIR=${INTROSPECTION_GIRDIR/$tmp/\$(datadir)}
+tmp=`pkg-config --variable=libdir gobject-introspection-1.0`
+INTROSPECTION_TYPELIBDIR=${INTROSPECTION_TYPELIBDIR/$tmp/\$(libdir)}
+
##################################################
# Checks for gtk-doc and docbook-tools
##################################################