Comment 13 for bug 271919

Revision history for this message
Popa Adrian Marius (mapopa) wrote :

 git diff autogen.sh
diff --git a/autogen.sh b/autogen.sh
index 744d0ad..7a6ad2e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -67,11 +67,16 @@ fi

 # Generate configure from configure.in
 echo "Running libtoolize ..."
-LIBTOOL_M4=`$LIBTOOLIZE --copy --force --dry-run|grep 'You should add
the contents of'|sed "s,^[
-if test "x$LIBTOOL_M4" != "x"; then
+#LIBTOOL_M4=`$LIBTOOLIZE --copy --force --dry-run|grep 'You should
add the contents of'|sed "s,^
+#if test "x$LIBTOOL_M4" != "x"; then
 rm -f aclocal.m4
- cp $LIBTOOL_M4 aclocal.m4
-fi
+ #cp $LIBTOOL_M4 aclocal.m4
+cat "/usr/share/aclocal/libtool.m4" >> aclocal.m4
+cat "/usr/share/aclocal/ltsugar.m4" >> aclocal.m4
+cat "/usr/share/aclocal/ltversion.m4" >> aclocal.m4
+cat "/usr/share/aclocal/lt~obsolete.m4" >> aclocal.m4
+cat "/usr/share/aclocal/ltoptions.m4" >> aclocal.m4
+#fi
 $LIBTOOLIZE --copy --force || exit 1

 echo "Running autoheader ..."