futurerestore/autogen.sh

28 lines
422 B
Bash
Raw Normal View History

#!/bin/bash
2016-12-28 16:43:26 +00:00
gprefix=`which glibtoolize 2>&1 >/dev/null`
if [ $? -eq 0 ]; then
2016-12-28 16:43:26 +00:00
glibtoolize --force
else
libtoolize --force
fi
aclocal -I m4
autoconf
2016-12-28 16:43:26 +00:00
autoheader
automake --add-missing
autoreconf -i
2016-12-28 16:43:26 +00:00
export NOCONFIGURE=1
SUBDIRS="external/idevicerestore external/tsschecker"
2016-12-28 16:43:26 +00:00
for SUB in $SUBDIRS; do
pushd $SUB
./autogen.sh
popd
done
unset NOCONFIGURE
if [ -z "$NOCONFIGURE" ]; then
./configure "$@"
fi