2016-12-31 14:17:38 +00:00
|
|
|
#!/bin/bash
|
2016-12-28 16:43:26 +00:00
|
|
|
gprefix=`which glibtoolize 2>&1 >/dev/null`
|
2019-11-02 22:25:47 +00:00
|
|
|
if [ $? -eq 0 ]; then
|
2016-12-28 16:43:26 +00:00
|
|
|
glibtoolize --force
|
|
|
|
else
|
|
|
|
libtoolize --force
|
|
|
|
fi
|
|
|
|
aclocal -I m4
|
2019-11-02 22:25:47 +00:00
|
|
|
autoconf
|
2016-12-28 16:43:26 +00:00
|
|
|
autoheader
|
|
|
|
automake --add-missing
|
2019-11-02 22:25:47 +00:00
|
|
|
autoreconf -i
|
2016-12-28 16:43:26 +00:00
|
|
|
|
|
|
|
export NOCONFIGURE=1
|
|
|
|
|
2019-11-02 22:25:47 +00:00
|
|
|
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
|