Fix window width/height going less than 1 on some platforms (bug #5246)
[mikachu/openbox.git] / bootstrap
index c677a72..6a5b10f 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -4,13 +4,14 @@ sh() {
   /bin/sh -c "set -x; $*"
 }
 
-sh autopoint --force # for GNU gettext
-sh libtoolize --copy --force --automake
-sh aclocal -I m4
-#sh autoheader
-sh autoconf
-export WANT_AUTOMAKE=1.7
-sh automake --foreign --include-deps --add-missing --copy
+export WANT_AUTOMAKE=1.9
+
+sh autopoint --force || exit 1 # for GNU gettext
+sh libtoolize --copy --force --automake || exit 1
+sh aclocal -I m4 $ACLOCAL_FLAGS || exit 1
+#sh autoheader || exit 1
+sh autoconf || exit 1
+sh automake --include-deps --add-missing --copy || exit 1
 
 echo
 echo You are now ready to run ./configure