libsodium: updated to 1.0.10
[tomato.git] / release / src / router / libsodium / autogen.sh
blobe95623ac446febd89e7976693fe94c3f5ab21d3f
1 #! /bin/sh
3 if glibtoolize --version > /dev/null 2>&1; then
4 LIBTOOLIZE='glibtoolize'
5 else
6 LIBTOOLIZE='libtoolize'
7 fi
9 if [ ! -x "`which $LIBTOOLIZE 2>/dev/null`" ] ; then
10 echo "libtool is required, but wasn't found on this system"
11 exit 1
14 if [ ! -x "`which autoconf 2>/dev/null`" ] ; then
15 echo "autoconf is required, but wasn't found on this system"
16 exit 1
19 if [ ! -x "`which automake 2>/dev/null`" ] ; then
20 echo "automake is required, but wasn't found on this system"
21 exit 1
24 if [ -x "`which autoreconf 2>/dev/null`" ] ; then
25 exec autoreconf -ivf
28 $LIBTOOLIZE && \
29 aclocal && \
30 automake --add-missing --force-missing --include-deps && \
31 autoconf