autotools: autotools'ify libsecp256k1

This commit is contained in:
Cory Fields committed 2014-01-17 23:24:12 -05:00
1 parent 60442b835f
commit 78cd96b151
13 files changed
+452 -224

No files matched your search

+4
View File
@@ -16,6 +16,10 @@
* normality.
*/
#if defined HAVE_CONFIG_H
#include "libsecp256k1-config.h"
#endif
#if defined(USE_FIELD_GMP)
#include "field_gmp.h"
#elif defined(USE_FIELD_10X26)
+4
View File
@@ -5,6 +5,10 @@
#ifndef _SECP256K1_FIELD_IMPL_H_
#define _SECP256K1_FIELD_IMPL_H_
#if defined HAVE_CONFIG_H
#include "libsecp256k1-config.h"
#endif
#if defined(USE_FIELD_GMP)
#include "field_gmp.h"
#elif defined(USE_FIELD_10X26)
+4
View File
@@ -5,6 +5,10 @@
#ifndef _SECP256K1_FIELD_REPR_IMPL_H_
#define _SECP256K1_FIELD_REPR_IMPL_H_
#if defined HAVE_CONFIG_H
#include "libsecp256k1-config.h"
#endif
#include <assert.h>
#include <string.h>
#include "../num.h"
+4
View File
@@ -5,6 +5,10 @@
#ifndef _SECP256K1_NUM_IMPL_H_
#define _SECP256K1_NUM_IMPL_H_
#if defined HAVE_CONFIG_H
#include "libsecp256k1-config.h"
#endif
#include "../num.h"
#if defined(USE_NUM_GMP)
+4
View File
@@ -5,6 +5,10 @@
#ifndef _SECP256K1_NUM_
#define _SECP256K1_NUM_
#if defined HAVE_CONFIG_H
#include "libsecp256k1-config.h"
#endif
#if defined(USE_NUM_GMP)
#include "num_gmp.h"
#elif defined(USE_NUM_OPENSSL)
+4
View File
@@ -2,6 +2,10 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined HAVE_CONFIG_H
#include "libsecp256k1-config.h"
#endif
#include <assert.h>
#include "impl/num.h"