summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-15 22:35:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-15 22:35:16 +0300
commit3d21c373de4783ed4ba6a8fcf2a128320c0f65fb (patch)
treee06947844d9411b96d444ef446216b1228892ffc
parent7639db8cec67fde349e41076738336a9d6ebe55d (diff)
downloadmv-3d21c373de4783ed4ba6a8fcf2a128320c0f65fb.tar.gz
mv-3d21c373de4783ed4ba6a8fcf2a128320c0f65fb.tar.bz2
mv-3d21c373de4783ed4ba6a8fcf2a128320c0f65fb.tar.xz
mv-3d21c373de4783ed4ba6a8fcf2a128320c0f65fb.zip
Remove support for config.h with default defines.
-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