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