Nuno Lopes wrote:
+dnl {{{ disable Internals documentation
+
+AC_MSG_CHECKING(for internals docs inclusion)
+
+AC_ARG_WITH(internals,
+[ --without-internals disable internals docs inclusion],
+[
+ INTERNALS_INCL_BEGIN="<!--"
+ INTERNALS_INCL_END="-->"
+ AC_MSG_RESULT([no])
+],[
+ INTERNALS_INCL_BEGIN=""
+ INTERNALS_INCL_END=""
+ AC_MSG_RESULT([yes (default)])
+])
You mean the other way round! :) Either name the parameter
--with-internals, or swap the order of the variable settings.
--without-internals=yes should mean the addition of the comments, and
should not be the default.
Goba
I've tested and it worked..
'./configure' does include the internals docs
while './configure --without-internals' doesn't
Nuno