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.hol...@linaro.org>
---
 configure.ac           | 2 --
 helper/m4/configure.m4 | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

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])
-- 
2.9.3

Reply via email to