Build scripts update
This commit is contained in:
parent
ef02e06fa5
commit
27ad78e21a
|
@ -3,7 +3,13 @@
|
|||
if test "$1" = "update"
|
||||
then
|
||||
# Update generated configuration files
|
||||
if which autoreconf >/dev/null
|
||||
then
|
||||
autoreconf --force --install --verbose --warnings=all
|
||||
else
|
||||
echo "Update failed, please install autoconf first"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
# Set up an m4 environment
|
||||
aclocal
|
||||
|
|
11
build.sh
11
build.sh
|
@ -28,7 +28,16 @@ test "$CPU_COUNT" -eq 0 && CPU_COUNT=1
|
|||
|
||||
if [ -n "$1" ]
|
||||
then
|
||||
test ! -f ./configure && autoreconf --install --force
|
||||
if [ ! -f ./configure ]
|
||||
then
|
||||
if which autoreconf >/dev/null
|
||||
then
|
||||
autoreconf --install --force
|
||||
else
|
||||
echo "Build failed, please install autoconf first"
|
||||
exit -1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Build commands
|
||||
|
|
Loading…
Reference in New Issue