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
16 diff --git a/Makefile.in b/Makefile.in
17 index 42be3a9..280dd30 100644
20 @@ -151,7 +151,7 @@ HEADERS = aes.h arcfour.h arctwo.h asn1.h bignum.h blowfish.h \
21 des.h des-compat.h dsa.h ecc-curve.h ecc.h ecdsa.h \
22 gcm.h gosthash94.h hmac.h \
25 + macros.h nettle-config.h \
29 @@ -174,7 +174,7 @@ DISTFILES = $(SOURCES) $(HEADERS) getopt.h .bootstrap run-tests \
30 config.guess config.sub install-sh texinfo.tex \
31 config.h.in config.m4.in config.make.in Makefile.in \
32 README AUTHORS COPYING.LIB INSTALL NEWS TODO ChangeLog \
33 - nettle.pc.in hogweed.pc.in \
34 + nettle.pc.in hogweed.pc.in nettle-config.h.in \
35 memxor.c $(des_headers) descore.README \
36 aes-internal.h camellia-internal.h serpent-internal.h \
37 cast128_sboxes.h desinfo.h desCode.h \
38 diff --git a/bignum.h b/bignum.h
39 index 1f2ff07..c31ccaa 100644
43 #ifndef NETTLE_BIGNUM_H_INCLUDED
44 #define NETTLE_BIGNUM_H_INCLUDED
46 +#include "nettle-config.h"
47 #include "nettle-meta.h"
50 diff --git a/configure.ac b/configure.ac
51 index c24f954..cb65bcd 100644
54 @@ -10,6 +10,7 @@ AC_CONFIG_AUX_DIR([.])
55 AC_CONFIG_MACRO_DIR([.])
57 AC_CONFIG_HEADER([config.h])
58 +AC_CONFIG_HEADER([nettle-config.h])
62 diff --git a/examples/ecc-benchmark.c b/examples/ecc-benchmark.c
63 index 16a1fd6..eaaf3a5 100644
64 --- a/examples/ecc-benchmark.c
65 +++ b/examples/ecc-benchmark.c
70 +#define NETTLE_CONFIG_H_INCLUDED
73 #include "../ecc-internal.h"
74 diff --git a/nettle-config.h.in b/nettle-config.h.in
76 index 0000000..11330ff
78 +++ b/nettle-config.h.in
80 +#ifndef NETTLE_CONFIG_H_INCLUDED
81 +#define NETTLE_CONFIG_H_INCLUDED
86 diff --git a/testsuite/testutils.h b/testsuite/testutils.h
87 index a677a2a..6e9b30c 100644
88 --- a/testsuite/testutils.h
89 +++ b/testsuite/testutils.h
94 +# define NETTLE_CONFIG_H_INCLUDED