mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
* Makefile.am: Some cleanup so we don't build files that are completely
ifdeffed out. This causes a warning on Sun's cc. Do sha512.c as well for consistency.
This commit is contained in:
parent
28c12508c5
commit
c0d7fa368e
@ -1,3 +1,9 @@
|
|||||||
|
2005-12-06 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* configure.ac: Some cleanup so we don't build files that are
|
||||||
|
completely ifdeffed out. This causes a warning on Sun's cc. Do
|
||||||
|
sha512.c as well for consistency.
|
||||||
|
|
||||||
2005-11-17 David Shaw <dshaw@jabberwocky.com>
|
2005-11-17 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* NEWS: Note backsigs, the xxxxx-clean options, and the
|
* NEWS: Note backsigs, the xxxxx-clean options, and the
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2005-12-06 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* Makefile.am: Some cleanup so we don't build files that are
|
||||||
|
completely ifdeffed out. This causes a warning on Sun's cc. Do
|
||||||
|
sha512.c as well for consistency.
|
||||||
|
|
||||||
2005-08-11 Werner Koch <wk@g10code.com>
|
2005-08-11 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* rijndael.c (rijndael_cfb_encrypt): Experimental code to improve
|
* rijndael.c (rijndael_cfb_encrypt): Experimental code to improve
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003,
|
||||||
|
# 2005 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GnuPG.
|
# This file is part of GnuPG.
|
||||||
#
|
#
|
||||||
@ -44,16 +45,31 @@ libcipher_a_SOURCES = cipher.c \
|
|||||||
dsa.c \
|
dsa.c \
|
||||||
smallprime.c \
|
smallprime.c \
|
||||||
algorithms.h \
|
algorithms.h \
|
||||||
rndlinux.c \
|
|
||||||
rndunix.c \
|
|
||||||
rndegd.c \
|
|
||||||
rndw32.c \
|
|
||||||
md5.c \
|
md5.c \
|
||||||
rmd160.c \
|
rmd160.c \
|
||||||
sha1.c \
|
sha1.c \
|
||||||
sha256.c
|
sha256.c
|
||||||
|
|
||||||
EXTRA_libcipher_a_SOURCES = idea-stub.c sha512.c
|
if USE_RNDLINUX
|
||||||
|
libcipher_a_SOURCES+=rndlinux.c
|
||||||
|
endif
|
||||||
|
|
||||||
libcipher_a_DEPENDENCIES = @IDEA_O@ @SHA512_O@
|
if USE_RNDUNIX
|
||||||
libcipher_a_LIBADD = @IDEA_O@ @SHA512_O@
|
libcipher_a_SOURCES+=rndunix.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
if USE_RNDEGD
|
||||||
|
libcipher_a_SOURCES+=rndegd.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
if USE_RNDW32
|
||||||
|
libcipher_a_SOURCES+=rndw32.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
if USE_SHA512
|
||||||
|
libcipher_a_SOURCES+=sha512.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_libcipher_a_SOURCES=idea-stub.c
|
||||||
|
libcipher_a_DEPENDENCIES=@IDEA_O@
|
||||||
|
libcipher_a_LIBADD=@IDEA_O@
|
||||||
|
24
configure.ac
24
configure.ac
@ -800,18 +800,21 @@ if test "$ac_cv_sizeof_unsigned_short" = "0" \
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Do we have any 64-bit data types?
|
dnl Do we have any 64-bit data types?
|
||||||
if test "$ac_cv_sizeof_unsigned_int" != "8" \
|
if test x"$use_sha512" = xyes \
|
||||||
|
&& test "$ac_cv_sizeof_unsigned_int" != "8" \
|
||||||
&& test "$ac_cv_sizeof_unsigned_long" != "8" \
|
&& test "$ac_cv_sizeof_unsigned_long" != "8" \
|
||||||
&& test "$ac_cv_sizeof_unsigned_long_long" != "8" \
|
&& test "$ac_cv_sizeof_unsigned_long_long" != "8" \
|
||||||
&& test x"$ac_cv_sizeof_uint64_t" != "x8"; then
|
&& test x"$ac_cv_sizeof_uint64_t" != "x8"; then
|
||||||
AC_MSG_NOTICE([No 64-bit types. Disabling SHA-384 and SHA-512.])
|
AC_MSG_NOTICE([No 64-bit types. Disabling SHA-384 and SHA-512.])
|
||||||
else
|
use_sha512=no
|
||||||
if test x"$use_sha512" = xyes ; then
|
|
||||||
AC_SUBST(SHA512_O,sha512.o)
|
|
||||||
AC_DEFINE(USE_SHA512,1,[Define to include the SHA-384 and SHA-512 digests])
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x"$use_sha512" ; then
|
||||||
|
AC_DEFINE(USE_SHA512,1,[Define to include the SHA-384 and SHA-512 digests])
|
||||||
|
fi
|
||||||
|
|
||||||
|
AM_CONDITIONAL(USE_SHA512, test x"$use_sha512" = xyes)
|
||||||
|
|
||||||
dnl Checks for library functions.
|
dnl Checks for library functions.
|
||||||
AC_CHECK_DECLS(getpagesize)
|
AC_CHECK_DECLS(getpagesize)
|
||||||
AC_FUNC_FSEEKO
|
AC_FUNC_FSEEKO
|
||||||
@ -978,23 +981,32 @@ for rndmod in $random_modules "" ; do
|
|||||||
rndlinux)
|
rndlinux)
|
||||||
AC_DEFINE(USE_RNDLINUX,1,
|
AC_DEFINE(USE_RNDLINUX,1,
|
||||||
[Defined if the /dev/random based RNG should be used.])
|
[Defined if the /dev/random based RNG should be used.])
|
||||||
|
use_rndlinux=yes
|
||||||
;;
|
;;
|
||||||
rndunix)
|
rndunix)
|
||||||
AC_DEFINE(USE_RNDUNIX,1,
|
AC_DEFINE(USE_RNDUNIX,1,
|
||||||
[Defined if the default Unix RNG should be used.])
|
[Defined if the default Unix RNG should be used.])
|
||||||
print_egd_warning=yes
|
print_egd_warning=yes
|
||||||
|
use_rndunix=yes
|
||||||
;;
|
;;
|
||||||
rndegd)
|
rndegd)
|
||||||
AC_DEFINE(USE_RNDEGD,1,
|
AC_DEFINE(USE_RNDEGD,1,
|
||||||
[Defined if the EGD based RNG should be used.])
|
[Defined if the EGD based RNG should be used.])
|
||||||
|
use_rndegd=yes
|
||||||
;;
|
;;
|
||||||
rndw32)
|
rndw32)
|
||||||
AC_DEFINE(USE_RNDW32,1,
|
AC_DEFINE(USE_RNDW32,1,
|
||||||
[Defined if the Windows specific RNG should be used.])
|
[Defined if the Windows specific RNG should be used.])
|
||||||
|
use_rndw32=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
AM_CONDITIONAL(USE_RNDLINUX, test "$use_rndlinux" = yes)
|
||||||
|
AM_CONDITIONAL(USE_RNDUNIX, test "$use_rndunix" = yes)
|
||||||
|
AM_CONDITIONAL(USE_RNDEGD, test "$use_rndegd" = yes)
|
||||||
|
AM_CONDITIONAL(USE_RNDW32, test "$use_rndw32" = yes)
|
||||||
|
|
||||||
dnl setup assembler stuff
|
dnl setup assembler stuff
|
||||||
AC_MSG_CHECKING(for mpi assembler functions)
|
AC_MSG_CHECKING(for mpi assembler functions)
|
||||||
if test -f $srcdir/mpi/config.links ; then
|
if test -f $srcdir/mpi/config.links ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user