Permalink
Browse files

add autogen.sh.

  • Loading branch information...
1 parent 780fda9 commit b22e32f4b59c5c22b6c33264e4dd6f4cf750d234 @kou kou committed Nov 7, 2009
Showing with 16 additions and 0 deletions.
  1. +16 −0 autogen.sh
View
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+run()
+{
+ $@
+ if test $? -ne 0; then
+ echo "Failed $@"
+ exit 1
+ fi
+}
+
+run ${ACLOCAL:-aclocal} $ACLOCAL_OPTIONS
+run ${LIBTOOLIZE:-libtoolize} --copy --force
+run ${AUTOHEADER:-autoheader}
+run ${AUTOMAKE:-automake} --add-missing --foreign --copy
+run ${AUTOCONF:-autoconf}

0 comments on commit b22e32f

Please sign in to comment.