[v5,9/25] configure: AC_DEFINE_UNQUOTED(IMPLEMENTATION_NAME)

Message ID 1503396009-8350-10-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>


Use Autoconf macros instead of defining macro by hand.

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
 **/
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/configure.ac b/configure.ac
index 8791905b..329c91e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,7 +174,8 @@  else
     exit 1
 fi
 
-ODP_CFLAGS="$ODP_CFLAGS -DIMPLEMENTATION_NAME=$IMPLEMENTATION_NAME"
+AC_DEFINE_UNQUOTED([IMPLEMENTATION_NAME], ["$IMPLEMENTATION_NAME"],
+		   [Define to the name of the implementation])
 
 ##########################################################################
 # Include m4 files