mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-28 22:21:15 -07:00
More informative messages about missing package
This commit is contained in:
parent
d8eacd3260
commit
f40a432bf5
28
autogen.sh
28
autogen.sh
@ -1,15 +1,35 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
|
|
||||||
exec autoreconf -ivf
|
|
||||||
fi
|
|
||||||
|
|
||||||
if glibtoolize --version > /dev/null 2>&1; then
|
if glibtoolize --version > /dev/null 2>&1; then
|
||||||
LIBTOOLIZE='glibtoolize'
|
LIBTOOLIZE='glibtoolize'
|
||||||
else
|
else
|
||||||
LIBTOOLIZE='libtoolize'
|
LIBTOOLIZE='libtoolize'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -x "`which $LIBTOOLIZE 2>/dev/null`" ] ; then
|
||||||
|
echo "libtool is required, but wasn't found on this system"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -x "`which autoconf 2>/dev/null`" ] ; then
|
||||||
|
echo "autoconf is required, but wasn't found on this system"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -x "`which automake 2>/dev/null`" ] ; then
|
||||||
|
echo "automake is required, but wasn't found on this system"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -x "`which pkg-config 2>/dev/null`" ] ; then
|
||||||
|
echo "pkg-config is required, but wasn't found on this system"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
|
||||||
|
exec autoreconf -ivf
|
||||||
|
fi
|
||||||
|
|
||||||
$LIBTOOLIZE && \
|
$LIBTOOLIZE && \
|
||||||
aclocal && \
|
aclocal && \
|
||||||
automake --add-missing --force-missing --include-deps && \
|
automake --add-missing --force-missing --include-deps && \
|
||||||
|
Loading…
Reference in New Issue
Block a user