I was reading some of the autobook. Will adding the following code after the
USE_TYPE_INFO to configure.in, will define the symbol CPPUNIT_NO_TESTPLUGIN
if --disable-test-plugin is used on the command line ?
AC_ARG_ENABLE(test-plugin,
[ --disable-test-plugin disable support for test plug-ins],
[
if test -n "$enable_test_plugin"; then
enable_test_plugin=${enable_test_plugin_default-yes}
fi
if test "$enable_test_plugin" = no; then
AC_DEFINE(NO_TESTPLUGIN)
fi
])
Baptiste.
|