Prerelease code will only be used if configure is executed with the --enable-prerelease option. In that case,
-DWITH_PRERELEASE is added to CPPFLAGS), WITH_PRERELEASE is added to the PREDEFINED variable in Doxyfile), BUILD_PRERELEASE is true for automake/autoconf Makefile generation. There are two steps to adding prerelease code.
In other words, the code should be surrounded by a WITH_PRERELEASE ifdef as follows.
#ifdef WITH_PRERELEASE // Insert All Code Here #endif
For example, the following modifications were made to nox/src/Makefile.am to add NOX_Direction_QuasiNewton as prerelease code in the libnox.a library.
if BUILD_PRERELEASE nodist_pkginclude_HEADERS = \ $(srcdir)/NOX_Direction_QuasiNewton.H nodist_libnox_a_SOURCES = \ $(srcdir)/NOX_Direction_QuasiNewton.C endif
Remember to run configure with the --enable-prerelease option!!
1.5.9