diff mbox

[2/4] configure.ac: accurately name compile option

Message ID 1414702035-3549-3-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 8a66b60891d97f565c6a3dd676d4d9fa3ce52ab5
Headers show

Commit Message

Anders Roxell Oct. 30, 2014, 8:47 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 configure.ac | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Mike Holmes Oct. 31, 2014, 3:58 p.m. UTC | #1
On 30 October 2014 16:47, Anders Roxell <anders.roxell@linaro.org> wrote:

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>

Reviewed-and-Tested-by:Mike Holmes <mike.holmes@linaro.org>


> ---
>  configure.ac | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index fd69e85..42a3fed 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -90,13 +90,13 @@ AM_CONDITIONAL([ODP_CUNIT_ENABLED], [test
> x$cunit_support = xyes ])
>  ##########################################################################
>  # Enable/disable ODP_DEBUG_PRINT
>  ##########################################################################
> -ODP_DEBUG=1
> -AC_ARG_ENABLE([debug],
> -    [  --enable-debug         Enable/disable debug],
> +ODP_DEBUG_PRINT=1
> +AC_ARG_ENABLE([debug-print],
> +    [  --enable-debug-print         Enable/disable debug print],
>      [if ! test "x$enableval" = "xyes"; then
> -        ODP_DEBUG=0
> +        ODP_DEBUG_PRINT=0
>      fi])
> -ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG_PRINT=$ODP_DEBUG"
> +ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG_PRINT=$ODP_DEBUG_PRINT"
>
>  ##########################################################################
>  # Check for pthreads availability
> --
> 2.1.0
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index fd69e85..42a3fed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,13 +90,13 @@  AM_CONDITIONAL([ODP_CUNIT_ENABLED], [test x$cunit_support = xyes ])
 ##########################################################################
 # Enable/disable ODP_DEBUG_PRINT
 ##########################################################################
-ODP_DEBUG=1
-AC_ARG_ENABLE([debug],
-    [  --enable-debug         Enable/disable debug],
+ODP_DEBUG_PRINT=1
+AC_ARG_ENABLE([debug-print],
+    [  --enable-debug-print         Enable/disable debug print],
     [if ! test "x$enableval" = "xyes"; then
-        ODP_DEBUG=0
+        ODP_DEBUG_PRINT=0
     fi])
-ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG_PRINT=$ODP_DEBUG"
+ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG_PRINT=$ODP_DEBUG_PRINT"
 
 ##########################################################################
 # Check for pthreads availability