-### Finish the work.
-AC_CONFIG_FILES([Makefile m4/Makefile \
- boost/Makefile \
- boost/libs/Makefile \
- boost/libs/filesystem/Makefile \
- boost/libs/filesystem/src/Makefile \
- boost/libs/iostreams/Makefile \
- boost/libs/iostreams/src/Makefile \
- boost/libs/regex/Makefile \
- boost/libs/regex/src/Makefile \
- boost/libs/signals/Makefile \
- boost/libs/signals/src/Makefile \
- config/Makefile \
- development/Makefile \
- development/lyx.spec \
- lib/Makefile \
- lib/doc/Makefile \
- lib/lyx2lyx/lyx2lyx_version.py \
- lib/lyx2lyx/Makefile \
- intl/Makefile \
- po/Makefile.in \
- sourcedoc/Doxyfile \
- sourcedoc/Makefile \
- src/client/Makefile \
- src/Makefile \
- src/version.C-tmp:src/version.C.in \
- src/tex2lyx/Makefile \
- src/mathed/Makefile \
- src/graphics/Makefile \
- src/insets/Makefile \
- src/support/Makefile \
- src/support/tests/Makefile \
- src/frontends/Makefile \
- src/frontends/controllers/Makefile \
- src/frontends/controllers/tests/Makefile \
- src/frontends/xforms/Makefile \
- src/frontends/xforms/lyx_forms.h-tmp:src/frontends/xforms/lyx_forms.h.in \
- src/frontends/xforms/lyx_xpm.h-tmp:src/frontends/xforms/lyx_xpm.h.in \
- src/frontends/xforms/forms/Makefile \
- src/frontends/gtk/Makefile \
- src/frontends/gtk/gimages/Makefile \
- src/frontends/gtk/glade/Makefile \
- src/frontends/qt3/Makefile \
- src/frontends/qt3/moc/Makefile \
- src/frontends/qt3/ui/Makefile \
- src/frontends/qt3/ui/moc/Makefile \
- src/frontends/qt4/Makefile \
- src/frontends/qt4/ui/Makefile \
+MSYS_AC_CANONICAL_PATH(lyx_abs_top_srcdir, ${srcdir})
+MSYS_AC_CANONICAL_PATH(lyx_abs_installed_localedir, ${real_localedir})
+MSYS_AC_CANONICAL_PATH(lyx_abs_installed_datadir, ${real_pkgdatadir})
+
+AC_DEFINE_UNQUOTED([LYX_ABS_TOP_SRCDIR],
+ "${lyx_abs_top_srcdir}", [Top source directory])
+AC_DEFINE_UNQUOTED([LYX_ABS_INSTALLED_LOCALEDIR],
+ "${lyx_abs_installed_localedir}",[Hard coded locale directory])
+AC_DEFINE_UNQUOTED([LYX_ABS_INSTALLED_DATADIR],
+ "${lyx_abs_installed_datadir}",[Hard system support directory])
+AC_DEFINE_UNQUOTED([PROGRAM_SUFFIX],
+ "${version_suffix}",[Program version suffix])
+
+AC_DEFINE_UNQUOTED([LYX_DATE],"$LYX_DATE",[Date of release])
+AC_DEFINE_UNQUOTED([VERSION_INFO],"$VERSION_INFO",[Full version info])
+AC_DEFINE_UNQUOTED([LYX_DIR_VER],"$lyx_dir_ver",[Versioned env var for system dir])
+AC_DEFINE_UNQUOTED([LYX_USERDIR_VER],"$lyx_userdir_ver",[Versioned env var for user dir])
+AC_DEFINE_UNQUOTED([LYX_MAJOR_VERSION],$lyx_major,[Major version number])
+AC_DEFINE_UNQUOTED([LYX_MINOR_VERSION],$lyx_minor,[Minor version number])
+AC_DEFINE_UNQUOTED([LYX_RELEASE_LEVEL],$lyx_release,[Release version number])
+AC_DEFINE_UNQUOTED([LYX_RELEASE_PATCH],$lyx_patch,[Patch version number])
+
+AC_CONFIG_FILES([Makefile \
+ lyx.1:lyx.1in \
+ boost/Makefile \
+ config/Makefile \
+ development/Makefile \
+ development/MacOSX/Makefile \
+ development/MacOSX/Info.plist \
+ development/MacOSX/lyxrc.dist \
+ development/MacOSX/spotlight/Makefile \
+ development/cygwin/Makefile \
+ development/cygwin/lyxrc.dist \
+ development/lyx.spec \
+ intl/Makefile \
+ lib/Makefile \
+ lib/doc/Makefile \
+ lib/lyx2lyx/lyx2lyx_version.py \
+ lib/lyx2lyx/Makefile \
+ m4/Makefile \
+ po/Makefile.in \
+ sourcedoc/Doxyfile \
+ sourcedoc/Makefile \
+ src/client/Makefile \
+ src/client/lyxclient.1:src/client/lyxclient.1in \
+ src/Makefile \
+ src/tex2lyx/Makefile \
+ src/tex2lyx/tex2lyx.1:src/tex2lyx/tex2lyx.1in \
+ src/support/Makefile \
+ src/frontends/Makefile \
+ src/frontends/qt4/Makefile