aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2015-07-20 16:32:46 -0400
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-07-22 18:30:56 +0300
commit46a04124b367f61a3419788276efc422bc3e67b8 (patch)
treeb6748ef86a74d9a154353ba436a45ca8086b56f7
parentf55c40b045fbbbd20016b7dc483502584afd881d (diff)
configure: use stricter warnings
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r--Makefile.inc1
-rwxr-xr-xbootstrap2
-rw-r--r--configure.ac1
-rw-r--r--example/Makefile.inc1
-rw-r--r--platform/linux-generic/Makefile.am1
-rw-r--r--test/Makefile.inc1
6 files changed, 2 insertions, 5 deletions
diff --git a/Makefile.inc b/Makefile.inc
deleted file mode 100644
index fa3fac456..000000000
--- a/Makefile.inc
+++ /dev/null
@@ -1 +0,0 @@
-DEFAULT_INCLUDES=-I.
diff --git a/bootstrap b/bootstrap
index cd759b06f..7c3d22004 100755
--- a/bootstrap
+++ b/bootstrap
@@ -3,5 +3,5 @@ set -x
aclocal -I config -I m4
libtoolize --copy
autoheader
-automake --add-missing --copy
+automake --add-missing --copy --warnings=all
autoconf
diff --git a/configure.ac b/configure.ac
index 2ea136880..24a3fa131 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,7 @@ AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_MAKE_SET
+AM_PROG_AR
#Use libtool
LT_INIT([])
AC_SUBST([LIBTOOL_DEPS])
diff --git a/example/Makefile.inc b/example/Makefile.inc
index e1c1cb7dc..05021d4ad 100644
--- a/example/Makefile.inc
+++ b/example/Makefile.inc
@@ -1,4 +1,3 @@
-include $(top_srcdir)/Makefile.inc
include $(top_srcdir)/platform/@with_platform@/Makefile.inc
LIB = $(top_builddir)/lib
LDADD = $(LIB)/libodp.la $(LIB)/libodphelper.la
diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
index 4ee781ca9..272f2d385 100644
--- a/platform/linux-generic/Makefile.am
+++ b/platform/linux-generic/Makefile.am
@@ -1,4 +1,3 @@
-include $(top_srcdir)/Makefile.inc
include $(top_srcdir)/platform/Makefile.inc
AM_CFLAGS += -I$(srcdir)/include
diff --git a/test/Makefile.inc b/test/Makefile.inc
index 063ade5b8..d5b4770ec 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -1,4 +1,3 @@
-include $(top_srcdir)/Makefile.inc
include $(top_srcdir)/platform/@with_platform@/Makefile.inc
LIB = $(top_builddir)/lib