Skip to content

Commit

Permalink
add autogen.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 7, 2009
1 parent 780fda9 commit b22e32f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions autogen.sh
@@ -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.