ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure.ac
(Generate patch)

Comparing gvpe/configure.ac (file contents):
Revision 1.57 by root, Tue Feb 15 13:31:22 2011 UTC vs.
Revision 1.58 by root, Tue Mar 8 17:33:30 2011 UTC

243if test "x$openssl_include" != x; then 243if test "x$openssl_include" != x; then
244 CXXFLAGS="$CXXFLAGS -I$openssl_include" 244 CXXFLAGS="$CXXFLAGS -I$openssl_include"
245fi 245fi
246dnl tinc_ZLIB 246dnl tinc_ZLIB
247 247
248AC_ARG_ENABLE(threads,
249 [AS_HELP_STRING(--enable-threads,try to use threads for long-running asynchronous operations (default enabled).)],
250 [try_threads=$enableval],
251 [try_threads=yes]
252)
253
254if test "x$try_threads" = xyes; then
255 AC_CHECK_HEADER(pthread.h,[
256 LIBS="$LIBS -lpthread"
257 AC_COMPILE_IFELSE(
258 [AC_LANG_PROGRAM([#include <pthread.h>], [pthread_t id; pthread_create (&id, 0, 0, 0);])],
259 [AC_DEFINE_UNQUOTED(ENABLE_PTHREADS, 1, [POSIX thread support.])]
260 )
261 ])
262fi
263
248AC_ARG_ENABLE(static-daemon, 264AC_ARG_ENABLE(static-daemon,
249 [AS_HELP_STRING(--enable-static-daemon,enable statically linked daemon.)], 265 [AS_HELP_STRING(--enable-static-daemon,enable statically linked daemon.)],
250 [LDFLAGS_DAEMON=-static] 266 [LDFLAGS_DAEMON=-static]
251) 267)
252AC_SUBST(LDFLAGS_DAEMON) 268AC_SUBST(LDFLAGS_DAEMON)
420if test "x$DIGEST" = xmd4; then 436if test "x$DIGEST" = xmd4; then
421echo "***" 437echo "***"
422echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" 438echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
423fi 439fi
424 440
441if test "x$DIGEST" = xmd5; then
442echo "***"
443echo "*** WARNING: The digest you have chosen ($DIGEST) is probably insecure"
444fi
445
425if test "$HMAC" -lt 12; then 446if test "$HMAC" -lt 12; then
426echo "***" 447echo "***"
427echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 448echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
428fi 449fi
429 450

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines