summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-18 23:33:22 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-18 23:33:22 +0100
commit088bc78fa453b090f80a97d6def74836b43f75ca (patch)
tree497124f43c3de16dbd9cf0c07925cc83e0dfa7e7 /autogen.sh
parent5e024de4ccc86ac6c786a6af73a944f5078077bc (diff)
downloadtelepathy-glib-088bc78fa453b090f80a97d6def74836b43f75ca.tar.gz
Add workaround for gtk-doc + shave + libtool 1.x.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 79a566fbe..f92b907d9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -28,6 +28,15 @@ for arg in $*; do
esac
done
+# Workaround for gtk-doc + shave + libtool 1.x
+# See http://git.lespiau.name/cgit/shave/tree/README#n83
+sed -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make \
+ > gtk-doc.temp \
+ && mv gtk-doc.temp gtk-doc.make
+sed -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make \
+ > gtk-doc.temp \
+ && mv gtk-doc.temp gtk-doc.make
+
if test $run_configure = true; then
./configure "$@"
fi