[v5,1/25] configure: move configure header to include dir

Message ID 1503396009-8350-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • [v5,1/25] configure: move configure header to include dir
Related show

Commit Message

Github ODP bot Aug. 22, 2017, 9:59 a.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


It does not make sense to have config.h just in helper tree. It should
be also used by the rest of the code.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 127 (lumag:improve-build)
 ** https://github.com/Linaro/odp/pull/127
 ** Patch: https://github.com/Linaro/odp/pull/127.patch
 ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3
 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89
 **/
 .gitignore        | 3 +++
 configure.ac      | 4 ++--
 helper/.gitignore | 3 ---
 3 files changed, 5 insertions(+), 5 deletions(-)
 delete mode 100644 helper/.gitignore

Patch

diff --git a/.gitignore b/.gitignore
index cce24282..1652a814 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,6 +34,9 @@  depcomp
 doc/output
 dpdk/
 install-sh
+include/config.h.in
+include/config.h
+include/stamp-h1
 lib/
 libtool
 ltmain.sh
diff --git a/configure.ac b/configure.ac
index 51dd9352..8791905b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,8 +20,8 @@  AC_CONFIG_FILES([include/odp/api/spec/version.h
                  include/odp/api/spec/deprecated.h])
 
 AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects])
-AC_CONFIG_SRCDIR([helper/config.h.in])
-AM_CONFIG_HEADER([helper/config.h])
+AC_CONFIG_SRCDIR([include/odp/api/spec/init.h])
+AM_CONFIG_HEADER([include/config.h])
 
 AC_USE_SYSTEM_EXTENSIONS
 AC_SYS_LARGEFILE
diff --git a/helper/.gitignore b/helper/.gitignore
deleted file mode 100644
index f282c157..00000000
--- a/helper/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@ 
-config.h.in
-config.h
-stamp-h1