diff mbox

[PATCHv2,4/4] configure: display cunit flag

Message ID 1417300979-6248-5-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 6796eb9f575e6c311b418b7086bb17b9e456b850
Headers show

Commit Message

Anders Roxell Nov. 29, 2014, 10:42 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:21 p.m. UTC | #1
On 29 November 2014 at 17:42, 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}
 ])