1 From 7508bb15de94b38402152757f75ff3e2094fdd86 Mon Sep 17 00:00:00 2001
2 From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
3 Date: Sun, 9 Mar 2014 13:27:03 +0100
4 Subject: [PATCH 4/5] Added-auto-generated-nettle-config.h
10 examples/ecc-benchmark.c | 1 +
11 nettle-config.h.in | 6 ++++++
12 testsuite/testutils.h | 1 +
13 7 files changed, 13 insertions(+), 2 deletions(-)
14 create mode 100644 nettle-config.h.in
18 @@ -178,7 +178,7 @@ HEADERS = aes.h arcfour.h arctwo.h asn1.
19 ecc-curve.h ecc.h ecdsa.h \
20 gcm.h gosthash94.h hmac.h \
23 + macros.h nettle-config.h \
27 @@ -203,7 +203,7 @@ DISTFILES = $(SOURCES) $(HEADERS) getopt
28 config.h.in config.m4.in config.make.in Makefile.in \
29 README AUTHORS COPYING.LESSERv3 COPYINGv2 COPYINGv3 \
30 INSTALL NEWS TODO ChangeLog \
31 - nettle.pc.in hogweed.pc.in \
32 + nettle.pc.in hogweed.pc.in nettle-config.h.in \
33 $(des_headers) descore.README \
34 aes-internal.h camellia-internal.h serpent-internal.h \
35 cast128_sboxes.h desinfo.h desCode.h \
39 #ifndef NETTLE_BIGNUM_H_INCLUDED
40 #define NETTLE_BIGNUM_H_INCLUDED
42 +#include "nettle-config.h"
43 #include "nettle-meta.h"
48 @@ -10,6 +10,7 @@ AC_CONFIG_AUX_DIR([.])
49 AC_CONFIG_MACRO_DIR([.])
51 AC_CONFIG_HEADER([config.h])
52 +AC_CONFIG_HEADER([nettle-config.h])
56 --- a/examples/ecc-benchmark.c
57 +++ b/examples/ecc-benchmark.c
62 +#define NETTLE_CONFIG_H_INCLUDED
65 #include "../ecc-internal.h"
67 +++ b/nettle-config.h.in
69 +#ifndef NETTLE_CONFIG_H_INCLUDED
70 +#define NETTLE_CONFIG_H_INCLUDED
75 --- a/testsuite/testutils.h
76 +++ b/testsuite/testutils.h
81 +# define NETTLE_CONFIG_H_INCLUDED
84 # include "dsa-compat.h"