Remove autoconf, leave only CMake

This commit is contained in:
Alexey Sokolov
2020-05-01 22:49:06 +01:00
parent ff7758b573
commit dd42fcd209
27 changed files with 24 additions and 2840 deletions
-10
View File
@@ -16,19 +16,9 @@ limitations under the License.
#ifndef ZNC_VERSION_H
#define ZNC_VERSION_H
#ifndef BUILD_WITH_CMAKE
// The following defines are for #if comparison (preprocessor only likes ints)
#define VERSION_MAJOR 1
#define VERSION_MINOR 9
#define VERSION_PATCH -1
// This one is for display purpose and to check ABI compatibility of modules
#define VERSION_STR "1.9.x"
#endif
// Don't use this one
#define VERSION (VERSION_MAJOR + VERSION_MINOR / 10.0)
// autoconf: You can add -DVERSION_EXTRA="stuff" to your CXXFLAGS!
// CMake: You can add -DVERSION_EXTRA=stuff to cmake!
#ifndef VERSION_EXTRA
#define VERSION_EXTRA ""