Lines Matching +full:- +full:- +full:disable +full:- +full:docs
4 # out-of-tree build and installation afterwards. The environment
5 # variables PLATFORM, TESTS, TLS and DOCS control the build
8 # PLATFORM=posix TESTS=yes TLS=no DOCS=yes scripts/dist.sh
21 WORK=`pwd`/libcoap-build
22 mkdir -p $WORK || exit 1
23 PREFIX="--prefix=`pwd`/libcoap-installation"
24 SILENT="--enable-silent-rules"
26 WITH_TESTS="`scripts/fix-cunit.sh` --enable-tests"
27 test -f `pwd`/cunit.pc && echo cat `pwd`/cunit.pc
30 xno) WITH_TLS="--disable-dtls"
32 xopenssl) WITH_TLS="--with-openssl"
34 xgnutls) WITH_TLS="--with-gnutls"
36 xmbedtls) WITH_TLS="--with-mbedtls"
38 xtinydtls) WITH_TLS="--with-tinydtls --disable-shared"
40 *) WITH_TLS="--with-gnutls"
44 case "x${DOCS}" in
45 xyes) WITH_DOCS="--enable-documentation"
47 *) WITH_DOCS="--disable-documentation"
57 config "$WITH_TESTS $SILENT --enable-documentation --enable-examples --disable-dtls" && make dist
60 ARCHIVE=`ls -1t libcoap-*.tar.bz2 |head -1`
62 if test $err = 0 -a "x$ARCHIVE" != "x"; then
63 DIR=`pwd`/`tar taf $ARCHIVE |cut -d/ -f1|head -1`
65 $DIR/configure $PREFIX $WITH_TESTS $SILENT $WITH_DOCS --enable-examples $WITH_TLS && \