mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Automatically update config.{sub,guess} in autogen.sh
This commit is contained in:
parent
f1309fd752
commit
aff4a60581
18
autogen.sh
18
autogen.sh
@ -27,10 +27,22 @@ command -v automake >/dev/null 2>&1 || {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if autoreconf --version > /dev/null 2>&1 ; then
|
if autoreconf --version > /dev/null 2>&1 ; then
|
||||||
exec autoreconf -ivf
|
autoreconf -ivf
|
||||||
fi
|
else
|
||||||
|
|
||||||
$LIBTOOLIZE && \
|
$LIBTOOLIZE && \
|
||||||
aclocal && \
|
aclocal && \
|
||||||
automake --add-missing --force-missing --include-deps && \
|
automake --add-missing --force-missing --include-deps && \
|
||||||
autoconf
|
autoconf
|
||||||
|
fi
|
||||||
|
|
||||||
|
command -v curl >/dev/null 2>&1 && {
|
||||||
|
curl -sL -o config.guess \
|
||||||
|
'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' &&
|
||||||
|
mv -f config.guess build-aux/config.guess
|
||||||
|
|
||||||
|
curl -sL -o config.sub \
|
||||||
|
'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' &&
|
||||||
|
mv -f config.sub build-aux/config.sub
|
||||||
|
}
|
||||||
|
|
||||||
|
rm -f config.guess config.sub
|
||||||
|
Loading…
Reference in New Issue
Block a user