[Cppunit-devel] Detecting --disable-test-plugin from configure.in
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2002-04-16 13:53:07
|
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. |