dnl This is a trick to make autoheader do the right thing
dnl AM_CONFIG_HEADER(src/config.h)
AC_CONFIG_AUX_DIR(config)
-LYX_GET_VERSION(${srcdir}/src/version.h)
+
+PACKAGE=lyx${program_suffix}
+VERSION="1.2.0cvs"
+LYX_CHECK_VERSION
AC_CANONICAL_SYSTEM
AC_VALIDATE_CACHE_SYSTEM_TYPE
LyX files dir: ${real_datadir}\n
`
-AC_DEFINE_UNQUOTED(VERSION_INFO, "${VERSION_INFO}", Version information on the current build of LyX)
+AC_SUBST(VERSION_INFO)
### Finish the work.
AC_CONFIG_SUBDIRS(sigc++ lib lib/reLyX)
po/Makefile.in \
sourcedoc/Doxyfile \
src/Makefile \
+ src/version.C \
src/mathed/Makefile \
src/graphics/Makefile \
src/insets/Makefile \