diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-02-03 20:24:13 +0100 |
---|---|---|
committer | Joe Damato <ice799@gmail.com> | 2010-11-28 20:07:58 -0800 |
commit | 584929c4409d55c3483caca7bdf6ba85f5b20f14 (patch) | |
tree | 087b714d6be4a13236017c9f54a471f7595c553b /autogen.sh | |
parent | 747c73d5b7d66d312a1b1a293e67f9ddf2f17d93 (diff) | |
download | ltrace-584929c4409d55c3483caca7bdf6ba85f5b20f14.tar.gz |
autotoolization: add basic autotools infrastructure
This patch add a basic autotools infrastructure to ltrace. Native
compilation on i386, x86_64 and ppc. Cross compilation has been tested
against arm.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..29db9c9 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# +# usage: +# +# banner <target name> +# +banner() { + echo + TG=`echo $1 | sed -e "s,/.*/,,g"` + LINE=`echo $TG |sed -e "s/./-/g"` + echo $LINE + echo $TG + echo $LINE + echo +} + +banner "autoreconf" + +autoreconf --force --install --symlink -Wall || exit $? + +banner "Finished" |