Ignore:
Timestamp:
Apr 19, 2008, 4:07:54 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Use CppUnit? for C and C++ unit tests. Sorry, Jylam.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r2299 r2301  
    8585AC_ARG_ENABLE(doc,
    8686  [  --enable-doc            build documentation (needs doxygen and LaTeX)])
     87AC_ARG_ENABLE(cppunit,
     88  [  --enable-cppunit        use cppunit for unit tests (autodetected)])
    8789AC_ARG_ENABLE(zzuf,
    8890  [  --enable-zzuf           use zzuf for fuzzing tests (autodetected)])
     
    452454AM_CONDITIONAL(USE_LATEX, test "${LATEX}" != "no")
    453455
     456# Use cppunit for unit tests?
     457CPPUNIT="no"
     458PKG_CHECK_MODULES(CPPUNIT, cppunit, [CPPUNIT="yes"], [AC_MSG_RESULT(no)])
     459AM_CONDITIONAL(USE_CPPUNIT, test "$CPPUNIT" != "no")
     460
    454461# Use zzuf for fuzzing tests?
    455462ZZUF="no"
Note: See TracChangeset for help on using the changeset viewer.