diff mbox

[V2,1/4] configure: use helper configure.m4

Message ID 20170113192948.4491-2-mike.holmes@linaro.org
State Superseded
Headers show

Commit Message

Mike Holmes Jan. 13, 2017, 7:29 p.m. UTC
Don't keep helper data in the  main configure, split it to an m4 just
like the other sub dirs

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>

---
 configure.ac           | 2 --
 helper/m4/configure.m4 | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.9.3
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 54d62f7..4fec9d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -292,8 +292,6 @@  AM_CFLAGS="$AM_CFLAGS $ODP_CFLAGS"
 AM_CXXFLAGS="-std=c++11"
 
 AC_CONFIG_FILES([Makefile
-		 helper/Makefile
-		 helper/test/Makefile
 		 pkgconfig/libodp-linux.pc
 		 pkgconfig/libodphelper-linux.pc
 		 ])
diff --git a/helper/m4/configure.m4 b/helper/m4/configure.m4
index 480f79b..b8a21f7 100644
--- a/helper/m4/configure.m4
+++ b/helper/m4/configure.m4
@@ -7,3 +7,6 @@  AC_ARG_ENABLE([test-helper],
     [if test "x$enableval" = "xyes"; then
         test_helper=yes
     fi])
+
+AC_CONFIG_FILES([helper/Makefile
+				helper/test/Makefile])