Ticket #54073: patch-no_cppunit.diff

File patch-no_cppunit.diff, 653 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 7 years ago)
  • configure.ac

    old new  
    333333dnl Until then just use AC_CHECK_HEADER by itself
    334334dnl AC_CHECK_HEADER([cppunit/TestRunner.h],
    335335dnl     [AC_CHECK_LIB([cppunit], [main], [HAVE_CPPUNIT="true"], [HAVE_CPPUNIT="false"], [ -ldl ])], [HAVE_CPPUNIT="false"])
    336 AC_CHECK_HEADER([cppunit/TestRunner.h],[HAVE_CPPUNIT="true"], [HAVE_CPPUNIT="false"])
     336AC_CHECK_HEADER([cppunit/TestRunner.h],[HAVE_CPPUNIT="false"], [HAVE_CPPUNIT="false"])
    337337        if test $HAVE_CPPUNIT = "true"; then
    338338                AC_MSG_CHECKING([whether unit tests code will compile and link])
    339339                SAVE_LIBS=$LIBS