summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.ac1
-rw-r--r--src/main.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index aa84a0957..5580f4793 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,6 @@
AC_PREREQ(2.60)
AC_INIT([ManaPlus], [1.6.6.4], [akaras@inbox.ru], [manaplus])
AM_INIT_AUTOMAKE([1.9])
-AC_CONFIG_HEADERS([config.h:config.h.in])
AC_LANG_CPLUSPLUS
# Enable -Werror
diff --git a/src/main.h b/src/main.h
index e4fce617a..76bca56a4 100644
--- a/src/main.h
+++ b/src/main.h
@@ -53,6 +53,9 @@
#elif defined WIN32
#include "winver.h"
#else
+#ifdef PACKAGE_VERSION
+#undef PACKAGE_VERSION
+#endif
#define PACKAGE_VERSION SMALL_VERSION;
#endif