diff options
| author | Cory Fields <[email protected]> | 2014-06-09 14:58:30 -0400 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-06-21 19:47:43 +0200 |
| commit | 54372482a8ffa363f5dd9ff1c80141a168109ed5 (patch) | |
| tree | e7141e96b50b6dcc0fbb3f0a118208dfa580b6d2 | |
| parent | Extend and move all crypto tests to crypto_tests.cpp (diff) | |
| download | discoin-54372482a8ffa363f5dd9ff1c80141a168109ed5.tar.xz discoin-54372482a8ffa363f5dd9ff1c80141a168109ed5.zip | |
build: move bitcoin-config.h to its own directory
This allows us to include its path without making other header includes valid.
| -rw-r--r-- | configure.ac | 2 | ||||
| -rw-r--r-- | src/Makefile.am | 4 | ||||
| -rw-r--r-- | src/config/.empty | 0 |
3 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 81a32f9fb..0caf653ca 100644 --- a/configure.ac +++ b/configure.ac @@ -111,7 +111,7 @@ AC_ARG_WITH([protoc-bindir],[AS_HELP_STRING([--with-protoc-bindir=BIN_DIR],[spec AC_CONFIG_SRCDIR([src]) -AC_CONFIG_HEADERS([src/bitcoin-config.h]) +AC_CONFIG_HEADERS([src/config/bitcoin-config.h]) dnl Checks for programs. AC_PROG_CXX diff --git a/src/Makefile.am b/src/Makefile.am index 01655b701..c666fb766 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,7 +17,8 @@ $(LIBLEVELDB) $(LIBMEMENV): OPT="$(CXXFLAGS) $(CPPFLAGS)" endif -BITCOIN_INCLUDES=-I$(builddir) -I$(builddir)/obj $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS) +BITCOIN_CONFIG_INCLUDES=-I$(builddir)/config +BITCOIN_INCLUDES=-I$(builddir) -I$(builddir)/obj $(BITCOIN_CONFIG_INCLUDES) $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS) noinst_LIBRARIES = \ libbitcoin_server.a \ @@ -219,6 +220,7 @@ EXTRA_DIST = leveldb clean-local: -$(MAKE) -C leveldb clean rm -f leveldb/*/*.gcno leveldb/helpers/memenv/*.gcno + -rm -f config.h .rc.o: @test -f $(WINDRES) diff --git a/src/config/.empty b/src/config/.empty new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/src/config/.empty |