GNU header update.
[cacao.git] / autogen.sh
index 10d25274431fed96c8360e525689dc2c87e8d154..bbf25c2d1aea8b28b1f6fb99d51fdb7ab7c05e16 100755 (executable)
@@ -1,6 +1,18 @@
-#! /bin/sh
+#!/bin/sh
 
-aclocal
+libtoolize --automake
+if test `uname` = 'FreeBSD'; then
+        echo "FreeBSD -- only tested with 5.3-RELEASE though"
+        aclocal  -I . -I /usr/local/share/aclocal -I /usr/local/share/aclocal19
+else
+        aclocal -I .
+fi
 autoheader
 automake --add-missing
 autoconf
+
+#echo "boehm-gc"
+cd src/boehm-gc && ./autogen.sh && cd ../..
+
+#echo "classpath"
+cd src/classpath && ./autogen.sh && cd ../..