Signed-off-by: Anders Roxell <[email protected]>
---
 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
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to