From 3d21c373de4783ed4ba6a8fcf2a128320c0f65fb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Jun 2016 22:35:16 +0300 Subject: Remove support for config.h with default defines. --- configure.ac | 1 - src/main.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-60-g2f50