-### 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/gtk/Makefile \
- src/frontends/gtk/gimages/Makefile \
- src/frontends/gtk/glade/Makefile \
- src/frontends/qt3/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 \
+ 3rdparty/Makefile \
+ 3rdparty/boost/Makefile \
+ 3rdparty/dtl/Makefile \
+ 3rdparty/hunspell/Makefile \
+ 3rdparty/mythes/Makefile \
+ 3rdparty/nod/Makefile \
+ 3rdparty/libiconv/Makefile \
+ $ICONV_ICONV_H_IN \
+ 3rdparty/zlib/Makefile \
+ autotests/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 \
+ lib/lyx.desktop-temp:lib/lyx.desktop.in
+ 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/convert/Makefile \
+ src/support/Makefile \
+ src/frontends/Makefile \
+ src/frontends/qt/Makefile