aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-21 22:27:50 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-24 23:18:06 +0800
commit658bb59ac654bc4bbe95ae1aec17eec2fe9bb499 (patch)
tree284f031ab7cd5902cd129dd907c828c219893243 /autogen.sh
parentd696d6cc31f672884382d5b8949be504cdc718a5 (diff)
downloadgsoc2013-empathy-658bb59ac654bc4bbe95ae1aec17eec2fe9bb499.tar
gsoc2013-empathy-658bb59ac654bc4bbe95ae1aec17eec2fe9bb499.tar.gz
gsoc2013-empathy-658bb59ac654bc4bbe95ae1aec17eec2fe9bb499.tar.bz2
gsoc2013-empathy-658bb59ac654bc4bbe95ae1aec17eec2fe9bb499.tar.lz
gsoc2013-empathy-658bb59ac654bc4bbe95ae1aec17eec2fe9bb499.tar.xz
gsoc2013-empathy-658bb59ac654bc4bbe95ae1aec17eec2fe9bb499.tar.zst
gsoc2013-empathy-658bb59ac654bc4bbe95ae1aec17eec2fe9bb499.zip
Add shave support to build process.
Use --enable-shave to enable building with shave. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index b1a24fc3a..e1bf4d55f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,6 +13,14 @@ REQUIRED_AUTOMAKE_VERSION=1.9
exit 1
}
+# Fix to make shave + libtool 1.x + gtk-doc work.
+# 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
which gnome-autogen.sh || {
echo "You need to install gnome-common from the GNOME CVS"