+2004-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * configure.ac: make maintainer mode active by default for
+ development releases
+
2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
* configure.ac: update for gtk 2.4
o --enable-maintainer-mode enables some code that automatically
rebuilds the configure script, makefiles templates and other useful
- files when needed. This is off by default, to avoid surprises.
+ files when needed. This is off by default on releases, to avoid
+ surprises.
Note that the --with-extra-* commands are not really robust when it
comes to use of relative paths. If you really want to use a relative path
+2004-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * lyxinclude.m4 (LYX_CHECK_VERSION): simplify
+
2004-09-23 John Spray <jcs116@york.ac.uk>
* lyxinclude.m4 (LYX_USE_FRONTENDS): mention gtk as frontend
dnl Usage LYX_CHECK_VERSION Displays version of LyX being built and
dnl sets variables "lyx_devel_version" and "lyx_prerelease"
AC_DEFUN([LYX_CHECK_VERSION],[
-changequote(, ) dnl
echo "configuring LyX version $VERSION"
if echo "$VERSION" | grep 'cvs' >/dev/null ; then
lyx_devel_version=yes
+ AC_DEFINE(DEVEL_VERSION, 1, [Define if you are building a development version of LyX])
echo "WARNING: This is a development version. Expect bugs."
else
lyx_devel_version=no
else
lyx_prerelease=no
fi
-changequote([, ]) dnl
-AC_SUBST(lyx_devel_version)
-if test $lyx_devel_version = yes ; then
- AC_DEFINE(DEVEL_VERSION, 1, [Define if you are building a development version of LyX])
-fi])
+AC_SUBST(lyx_devel_version)])
dnl Define the option to set a LyX version on installed executables and directories
VERSION="1.4.0cvs"
LYX_CHECK_VERSION
+dnl default maintainer mode to true for development versions
+if test "${enable_maintainer_mode+set}" != set; then
+ enable_maintainer_mode=$lyx_devel_version
+fi
AM_MAINTAINER_MODE
AC_CANONICAL_TARGET