Files
ESP8266_RTOS_SDK/components/libsodium/libsodium/autogen.sh
Supreet Deshpande 9a81588004 feature/libsodium: Added libsodium component from esp-idf.
from esp-idf libsodium commit ID: d4cbfd34cce3cd8b0f03a91dad46a277dab287d7

Changes: randombytes_esp32.c - esp_fill_random() function.
Component.mk & CMakelists.txt - Replaced CONFIG_SSL_USING_MBEDTLS with CONFIG_LIBSODIUM_USE_MBEDTLS_SHA.
Removed GCC_5_2_0 check.
2018-10-17 14:51:12 +05:30

32 lines
675 B
Bash
Executable File

#! /bin/sh
if glibtoolize --version > /dev/null 2>&1; then
LIBTOOLIZE='glibtoolize'
else
LIBTOOLIZE='libtoolize'
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 autoreconf --version > /dev/null 2>&1 ; then
exec autoreconf -ivf
fi
$LIBTOOLIZE && \
aclocal && \
automake --add-missing --force-missing --include-deps && \
autoconf