diff mbox

[4/4] configure: display cunit flag

Message ID 1416844898-12631-5-git-send-email-anders.roxell@linaro.org
State Superseded
Headers show

Commit Message

Anders Roxell Nov. 24, 2014, 4:01 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

Comments

Mike Holmes Dec. 1, 2014, 9:28 p.m. UTC | #1
On 24 November 2014 at 11:01, 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 | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 9df4754..5110cd9 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -151,6 +151,8 @@ then
>          [AC_MSG_ERROR([CUnit libraries required])])
>      AC_CHECK_HEADERS([CUnit/Basic.h], [],
>          [AC_MSG_FAILURE(["can't find cunit headers"])])
> +else
> +    cunit_support=no
>  fi
>
>  AM_CONDITIONAL([ODP_CUNIT_ENABLED], [test x$cunit_support = xyes ])
> @@ -231,4 +233,5 @@ AC_MSG_RESULT([
>         ldflags:                ${LDFLAGS}
>         am_ldflags:             ${AM_LDFLAGS}
>         libs:                   ${LIBS}
> +       cunit:                  ${cunit_support}
>  ])
> --
> 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 9df4754..5110cd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,6 +151,8 @@  then
         [AC_MSG_ERROR([CUnit libraries required])])
     AC_CHECK_HEADERS([CUnit/Basic.h], [],
         [AC_MSG_FAILURE(["can't find cunit headers"])])
+else
+    cunit_support=no
 fi
 
 AM_CONDITIONAL([ODP_CUNIT_ENABLED], [test x$cunit_support = xyes ])
@@ -231,4 +233,5 @@  AC_MSG_RESULT([
 	ldflags:		${LDFLAGS}
 	am_ldflags:		${AM_LDFLAGS}
 	libs:			${LIBS}
+	cunit:			${cunit_support}
 ])