diff mbox series

[v5,11/25] configure: AC_DEFINE_UNQUOTED(ODPH_DEBUG_PRINT)

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

Commit Message

Github ODP bot Aug. 22, 2017, 9:59 a.m. UTC
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 | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index 16c22321..9300c87b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -261,10 +261,9 @@  AC_ARG_ENABLE([helper-debug-print],
     [  --enable-helper-debug-print    display helper debugging information],
     [if test "x$enableval" = "xyes"; then
 	ODPH_DEBUG_PRINT=1
-     else
-	ODPH_DEBUG_PRINT=0
     fi])
-ODP_CFLAGS="$ODP_CFLAGS -DODPH_DEBUG_PRINT=$ODPH_DEBUG_PRINT"
+AC_DEFINE_UNQUOTED([ODPH_DEBUG_PRINT], [$ODPH_DEBUG_PRINT],
+		   [Define to 1 to display helper debug information])
 
 ##########################################################################
 # Enable/disable ODP_DEBUG