diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2020-11-18 05:33:41 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2020-11-18 05:36:30 +0100 |
commit | aeeb8e975dc740cb79954de7fec4fcfe902d3a42 (patch) | |
tree | f39d423d3f496ea8ea716fd276f1639586407f1a /configure.ac | |
parent | gpg: Fix the encrypt+sign hash algo preference selection for ECDSA. (diff) | |
download | gnupg2-aeeb8e975dc740cb79954de7fec4fcfe902d3a42.tar.xz gnupg2-aeeb8e975dc740cb79954de7fec4fcfe902d3a42.zip |
build: Use modern Autoconf check for types.
* common/types.h: Use HAVE_TYPE_BYTE, HAVE_USHORT_TYPEDEF,
HAVE_ULONG_TYPEDEF, HAVE_U16_TYPEDEF, and HAVE_TYPE_U32.
* configure.ac (byte, ushort, ulong, u16, u32): Use AC_CHECK_TYPES.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 83829f895..059c2fe6e 100644 --- a/configure.ac +++ b/configure.ac @@ -1384,12 +1384,7 @@ if test x"$endiancheck" = xyes ; then fi # fixme: we should get rid of the byte type -GNUPG_CHECK_TYPEDEF(byte, HAVE_BYTE_TYPEDEF) -GNUPG_CHECK_TYPEDEF(ushort, HAVE_USHORT_TYPEDEF) -GNUPG_CHECK_TYPEDEF(ulong, HAVE_ULONG_TYPEDEF) -GNUPG_CHECK_TYPEDEF(u16, HAVE_U16_TYPEDEF) -GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF) - +AC_CHECK_TYPES([byte, ushort, ulong, u16, u32]) AC_CHECK_SIZEOF(unsigned short) AC_CHECK_SIZEOF(unsigned int) AC_CHECK_SIZEOF(unsigned long) |