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

Comparing gvpe/configure.ac (file contents):
Revision 1.59 by root, Tue Oct 18 13:24:01 2011 UTC vs.
Revision 1.61 by root, Sat Jul 13 04:10:29 2013 UTC

1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2 2
3AC_PREREQ(2.59) 3AC_PREREQ(2.69)
4AC_INIT 4AC_INIT
5AC_CONFIG_SRCDIR([src/gvpe.C]) 5AC_CONFIG_SRCDIR([src/gvpe.C])
6AC_CANONICAL_TARGET 6AC_CANONICAL_TARGET
7AM_INIT_AUTOMAKE(gvpe, 2.24) 7AM_INIT_AUTOMAKE(gvpe, 2.24)
8AC_CONFIG_HEADERS([config.h]) 8AC_CONFIG_HEADERS([config.h])
45# define CLOCALE <clocale> 45# define CLOCALE <clocale>
46#else 46#else
47# define CLOCALE <locale.h> 47# define CLOCALE <locale.h>
48#endif 48#endif
49]) 49])
50
51dnl Include the macros from the m4/ directory
52AM_ACLOCAL_INCLUDE(m4)
53 50
54AM_GNU_GETTEXT([external]) 51AM_GNU_GETTEXT([external])
55AM_GNU_GETTEXT_VERSION(0.11.5) 52AM_GNU_GETTEXT_VERSION(0.11.5)
56 53
57# Enable GNU extensions. 54# Enable GNU extensions.
378 375
379DIGEST=ripemd160 376DIGEST=ripemd160
380AC_ARG_ENABLE(digest, 377AC_ARG_ENABLE(digest,
381 [AS_HELP_STRING(--enable-digest=CIPHER,[ 378 [AS_HELP_STRING(--enable-digest=CIPHER,[
382 Select the digest algorithm to use (default "ripemd160"). Must be one of 379 Select the digest algorithm to use (default "ripemd160"). Must be one of
383 "sha512", "sha256", "sha1" (somewhat insecure), "ripemd160", "md5" (insecure) or "md4" (insecure).])], 380 "sha512", "sha256", "sha1" (legacy), "ripemd160", "md5" (insecure) or "md4" (insecure).])],
384 if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 381 if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi
385 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 382 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi
386 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 383 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
387 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 384 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
388 if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi 385 if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi
438echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" 435echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
439fi 436fi
440 437
441if test "x$DIGEST" = xmd5; then 438if test "x$DIGEST" = xmd5; then
442echo "***" 439echo "***"
443echo "*** WARNING: The digest you have chosen ($DIGEST) is probably insecure" 440echo "*** WARNING: The digest you have chosen ($DIGEST) is quite insecure"
444fi 441fi
445 442
446if test "$HMAC" -lt 12; then 443if test "$HMAC" -lt 12; then
447echo "***" 444echo "***"
448echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 445echo "*** WARNING: The hmac length you have chosen ($HMAC) is quite insecure"
449fi 446fi
450 447
451if test "$RAND" -lt 8; then 448if test "$RAND" -lt 8; then
452echo "***" 449echo "***"
453echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" 450echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines