forked from wolfSSL/wolfssl
Merge branch 'master' of github.com:wolfSSL/wolfssl
This commit is contained in:
11
Vagrantfile
vendored
11
Vagrantfile
vendored
@ -3,9 +3,20 @@
|
||||
|
||||
$setup = <<SCRIPT
|
||||
|
||||
|
||||
apt-get update
|
||||
apt-get install -y git autoconf libtool make valgrind libpq-dev
|
||||
|
||||
|
||||
URL=https://sourceforge.net/projects/levent/files/libevent
|
||||
LIB=libevent-2.0
|
||||
VER=22-stable
|
||||
|
||||
wget -q $URL/$LIB/$LIB.$VER.tar.gz && tar -zxf $LIB.$VER.tar.gz
|
||||
cd $LIB.$VER/ && ./autogen.sh && ./configure -q && make -s
|
||||
sudo make install && cd .. && rm -rf $LIB.$VER*
|
||||
|
||||
|
||||
SRC=vagrant
|
||||
DST=wolfssl
|
||||
|
||||
|
42
configure.ac
42
configure.ac
@ -1040,26 +1040,6 @@ then
|
||||
fi
|
||||
|
||||
|
||||
# PWDBASED
|
||||
AC_ARG_ENABLE([pwdbased],
|
||||
[ --enable-pwdbased Enable PWDBASED (default: disabled)],
|
||||
[ ENABLED_PWDBASED=$enableval ],
|
||||
[ ENABLED_PWDBASED=no ]
|
||||
)
|
||||
|
||||
if test "$ENABLED_PWDBASED" = "no"
|
||||
then
|
||||
if test "$ENABLED_OPENSSLEXTRA" = "yes" || test "$ENABLED_WEBSERVER" = "yes"
|
||||
then
|
||||
# opensslextra and webserver needs pwdbased
|
||||
ENABLED_PWDBASED=yes
|
||||
else
|
||||
AM_CFLAGS="$AM_CFLAGS -DNO_PWDBASED"
|
||||
fi
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([BUILD_PWDBASED], [test "x$ENABLED_PWDBASED" = "xyes"])
|
||||
|
||||
|
||||
# HC128
|
||||
AC_ARG_ENABLE([hc128],
|
||||
@ -1559,6 +1539,28 @@ then
|
||||
fi
|
||||
|
||||
|
||||
# PWDBASED has to come after certservice since we want it on w/o explicit on
|
||||
# PWDBASED
|
||||
AC_ARG_ENABLE([pwdbased],
|
||||
[ --enable-pwdbased Enable PWDBASED (default: disabled)],
|
||||
[ ENABLED_PWDBASED=$enableval ],
|
||||
[ ENABLED_PWDBASED=no ]
|
||||
)
|
||||
|
||||
if test "$ENABLED_PWDBASED" = "no"
|
||||
then
|
||||
if test "$ENABLED_OPENSSLEXTRA" = "yes" || test "$ENABLED_WEBSERVER" = "yes"
|
||||
then
|
||||
# opensslextra and webserver needs pwdbased
|
||||
ENABLED_PWDBASED=yes
|
||||
else
|
||||
AM_CFLAGS="$AM_CFLAGS -DNO_PWDBASED"
|
||||
fi
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([BUILD_PWDBASED], [test "x$ENABLED_PWDBASED" = "xyes"])
|
||||
|
||||
|
||||
# set fastmath default
|
||||
FASTMATH_DEFAULT=no
|
||||
|
||||
|
Reference in New Issue
Block a user