mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
63d5cec1c6
git subtree add --squash --prefix libsodium git@github.com:jedisct1/libsodium.git 1.0.13 git commit --amend (to rewrite this commit message)
37 lines
759 B
Bash
Executable File
37 lines
759 B
Bash
Executable File
#! /bin/sh
|
|
|
|
if glibtoolize --version > /dev/null 2>&1; then
|
|
LIBTOOLIZE='glibtoolize'
|
|
else
|
|
LIBTOOLIZE='libtoolize'
|
|
fi
|
|
|
|
command -v command >/dev/null 2>&1 || {
|
|
echo "command is required, but wasn't found on this system"
|
|
exit 1
|
|
}
|
|
|
|
command -v $LIBTOOLIZE >/dev/null 2>&1 || {
|
|
echo "libtool is required, but wasn't found on this system"
|
|
exit 1
|
|
}
|
|
|
|
command -v autoconf >/dev/null 2>&1 || {
|
|
echo "autoconf is required, but wasn't found on this system"
|
|
exit 1
|
|
}
|
|
|
|
command -v automake >/dev/null 2>&1 || {
|
|
echo "automake is required, but wasn't found on this system"
|
|
exit 1
|
|
}
|
|
|
|
if autoreconf --version > /dev/null 2>&1 ; then
|
|
exec autoreconf -ivf
|
|
fi
|
|
|
|
$LIBTOOLIZE && \
|
|
aclocal && \
|
|
automake --add-missing --force-missing --include-deps && \
|
|
autoconf
|