diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 40e1eb6..2a64dda 100644 --- a/configure.in +++ b/configure.in @@ -15,10 +15,15 @@ WSMAN_PKG=$PACKAGE_NAME AC_SUBST(WSMAN_PKG) PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 0.0.0]) +have_cunit=no +AC_CHECK_HEADERS([CUnit/Basic.h], have_cunit="yes" ) +AM_CONDITIONAL(BUILD_CUNIT_TESTS, test "$have_cunit" == "yes") AC_OUTPUT([ wsmancli.spec Makefile src/Makefile + tests/Makefile + tests/cunit/Makefile ]) |