NewMapWin has become Dialog instead of Window. Therefore it is created dynamically, when there is need for it, instead of keeping one instance in memory. This solution is slower, but more correct than before.
1 AC_DEFUN([LX_ENABLE_DOC],
4 AS_HELP_STRING([--enable-doc@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
5 AS_HELP_STRING([--disable-doc], [do not build the documentation]),
8 AC_MSG_CHECKING([whether to build the documention])
11 DOXYGEN_INTERNAL_DOCS=NO
15 DOXYGEN_INTERNAL_DOCS=YES
19 DOXYGEN_INTERNAL_DOCS=NO
23 AC_MSG_ERROR([bad value $enable_doc for option --enable-doc])
26 AC_SUBST(DOXYGEN_INTERNAL_DOCS)
27 AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"])