diff options
author | leo <leo@brix.(none)> | 2008-02-20 11:18:20 +0000 |
---|---|---|
committer | leo <leo@brix.(none)> | 2008-02-20 11:18:20 +0000 |
commit | 02e4a3235acec3210a8551f0874eb65eb9a467bb (patch) | |
tree | 89b22624fb589c73aa46492a242fa35288ac90e0 /gsmdecode/bootstrap | |
parent | ea13c2400fe58824b6b8e1b9b9b5d487262bd492 (diff) |
updates...
Diffstat (limited to 'gsmdecode/bootstrap')
-rwxr-xr-x | gsmdecode/bootstrap | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gsmdecode/bootstrap b/gsmdecode/bootstrap new file mode 100755 index 0000000..1975b09 --- /dev/null +++ b/gsmdecode/bootstrap @@ -0,0 +1,44 @@ +#! /bin/bash + +DIE=0 + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have autoconf installed." + DIE=1 +} + +# libtool --version check not done... + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have automake installed." + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +echo Removing old files... +rm -f configure Makefile Makefile.in src/Makefile src/Makefile.in config.h config.status aclocal.m4 config.cache config.log + +echo "aclocal -I config" +aclocal -I config. +if test $? -ne 0; then + exit 1 +fi +echo "autoheader" +autoheader +if test $? -ne 0; then + exit 1 +fi +echo "automake --foreign --add-missing" +automake --foreign --add-missing +if test $? -ne 0; then + exit 1 +fi +echo "autoconf" +autoconf +echo "BOOTSTRAP complete" + |