]> Pileus Git - ~andy/gtk/blobdiff - configure.in
2.19.2
[~andy/gtk] / configure.in
index d5a83b0e9e6bfb8793840fb0f3ab3f368258a787..1433913e1880f060bd33739c57c483f9509e1560 100644 (file)
@@ -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
 ##################################################