[telepathy-glib/master] Add workaround for gtk-doc + shave + libtool 1.x.

Jonny Lamb jonny.lamb at collabora.co.uk
Sat Apr 18 15:33:22 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 autogen.sh |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 79a566f..f92b907 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
-- 
1.5.6.5



More information about the telepathy-commits mailing list