aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandy-waterhouse <noone@yodasan>2014-08-26 21:39:32 +1200
committerkiwigb <kiwigb@localhost.localdomain>2014-09-16 23:17:20 +1200
commite54381117a86f51a129056b18ad7f48967bdcf3a (patch)
tree722159b0e707839fc5a5f30270b4b45b88811d06
parent6fc1dc1a32b0f16ac6bdee323496ab1fd5d0b6c9 (diff)
Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR.
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac6
2 files changed, 3 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh
index 50b85bcba0..ddfc09607e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,4 +5,4 @@ cd "$srcdir"
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
export LIBTOOLIZE="${GLIBTOOLIZE}"
fi
-autoreconf --install --force
+autoreconf --install --force --warnings=all
diff --git a/configure.ac b/configure.ac
index 7d525f8251..9c7a53819e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,8 @@ define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, false)
define(_COPYRIGHT_YEAR, 2014)
AC_INIT([Bitcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@bitcoin.org],[bitcoin])
+AC_CONFIG_SRCDIR([src/main.cpp])
+AC_CONFIG_HEADERS([src/config/bitcoin-config.h])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([build-aux/m4])
LT_INIT([disable-shared])
@@ -140,10 +142,6 @@ AC_ARG_ENABLE([glibc-back-compat],
AC_ARG_WITH([protoc-bindir],[AS_HELP_STRING([--with-protoc-bindir=BIN_DIR],[specify protoc bin path])], [protoc_bin_path=$withval], [])
-
-AC_CONFIG_SRCDIR([src])
-AC_CONFIG_HEADERS([src/config/bitcoin-config.h])
-
# Enable debug
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug],