check install automake and auto conf
This commit is contained in:
parent
f44d0f387b
commit
bf712b3ecf
@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
checkInstalled () {
|
||||
which "$1" || { echo "$1 not installed"; exit 0; }
|
||||
}
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
ORIGDIR=`pwd`
|
||||
@ -8,6 +12,9 @@ set -x
|
||||
|
||||
cd $srcdir
|
||||
|
||||
checkInstalled "automake"
|
||||
checkInstalled "autoconf"
|
||||
|
||||
aclocal -I m4macros \
|
||||
&& autoheader \
|
||||
&& automake --gnu --add-missing \
|
||||
|
Loading…
Reference in New Issue
Block a user