]> git.lyx.org Git - lyx.git/blobdiff - src/version.cpp
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / src / version.cpp
index 5e0fdee358351bc567318452623398962ca827cc..1e4aa324396b0a90fb026f3d3a92d495979f5d07 100644 (file)
  */
 
 #include <config.h>
+#if ! defined(LYX_DATE)
+       #include <lyx_date.h>
+#endif
 
 ///
-char const * lyx_version = PACKAGE_VERSION;
+extern char const * const lyx_version = PACKAGE_VERSION;
 ///
-const int lyx_version_major = LYX_MAJOR_VERSION;
-const int lyx_version_minor = LYX_MINOR_VERSION;
+extern const int lyx_version_major = LYX_MAJOR_VERSION;
+extern const int lyx_version_minor = LYX_MINOR_VERSION;
 ///
-char const * lyx_release_date = LYX_DATE;
+extern char const * const lyx_release_date = LYX_DATE;
 
 /// Package identifier (lyx[-<version-suffix>])
-char const * lyx_package = PACKAGE;
+extern char const * const lyx_package = PACKAGE;
 
 /// This is the version information shown by 'lyx --version'
-char const * lyx_version_info = VERSION_INFO;
+extern char const * const lyx_version_info = VERSION_INFO;