diff mbox series

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

Message ID 20170120203203.2454-2-mike.holmes@linaro.org
State New
Headers show
Series remove Linux specifics and dependence on test | expand

Commit Message

Mike Holmes Jan. 20, 2017, 8:32 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 series

Patch

diff --git a/configure.ac b/configure.ac
index 67d60d2..1384130 100644
--- a/configure.ac
+++ b/configure.ac
@@ -294,8 +294,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..7b208fa 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])