Distributing the generated config.h (renamed to config_erasurecode.h), since it is used by the publid headers...

This commit is contained in:
Kevin Greenan 2014-07-31 08:32:32 -07:00
parent 1bb14c6a3a
commit 4469d69a1e
4 changed files with 6 additions and 4 deletions

3
.gitignore vendored
View File

@ -40,6 +40,7 @@ config.status
config.sub
Makefile
config.h.in
config_liberasurecode.h.in
.deps
config.h
config_liberasurecode.h
stamp-h1

View File

@ -25,7 +25,8 @@ include_HEADERS = \
include/erasurecode/erasurecode_version.h \
include/erasurecode/list.h \
include/xor_codes/xor_hd_code_defs.h \
include/xor_codes/xor_code.h
include/xor_codes/xor_code.h \
include/config_liberasurecode.h
test: check
@./test/alg_sig_test

View File

@ -6,7 +6,7 @@ AC_PREREQ([2.61])
AM_INIT_AUTOMAKE([subdir-objects])
LT_INIT # libtool
AC_CONFIG_HEADER(include/config.h)
AC_CONFIG_HEADER(include/config_liberasurecode.h)
dnl Needed when reconfiguring with 'autoreconf -i -s'
AC_CONFIG_MACRO_DIR([m4])

View File

@ -25,7 +25,7 @@
#ifndef _ERASURECODE_STDINC_H_
#define _ERASURECODE_STDINC_H_
#include "config.h"
#include "config_liberasurecode.h"
#include "erasurecode_log.h"
#ifdef HAVE_SYSLOG_H