summaryrefslogtreecommitdiff
path: root/src/solvversion.h.in
blob: 9f59d75c155ffa3a4dfcdda023189f4148104eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * Copyright (c) 2016, SUSE LLC
 *
 * This program is licensed under the BSD license, read LICENSE.BSD
 * for further information
 */

/*
 * solvversion.h
 * 
 */

#ifndef LIBSOLV_SOLVVERSION_H
#define LIBSOLV_SOLVVERSION_H

#define LIBSOLV_VERSION_STRING "@VERSION@"
#define LIBSOLV_VERSION_MAJOR @LIBSOLV_MAJOR@
#define LIBSOLV_VERSION_MINOR @LIBSOLV_MINOR@
#define LIBSOLV_VERSION_PATCH @LIBSOLV_PATCH@
#define LIBSOLV_VERSION (LIBSOLV_VERSION_MAJOR * 10000 + LIBSOLV_VERSION_MINOR * 100 + LIBSOLV_VERSION_PATCH)

extern const char solv_version[];
extern int solv_version_major;
extern int solv_version_minor;
extern int solv_version_patch;

#cmakedefine LIBSOLV_FEATURE_LINKED_PKGS
#cmakedefine LIBSOLV_FEATURE_COMPLEX_DEPS
#cmakedefine LIBSOLV_FEATURE_MULTI_SEMANTICS

#cmakedefine LIBSOLVEXT_FEATURE_RPMPKG
#cmakedefine LIBSOLVEXT_FEATURE_RPMDB
#cmakedefine LIBSOLVEXT_FEATURE_RPMDB_BYRPMHEADER
#cmakedefine LIBSOLVEXT_FEATURE_PUBKEY
#cmakedefine LIBSOLVEXT_FEATURE_RPMMD
#cmakedefine LIBSOLVEXT_FEATURE_SUSEREPO
#cmakedefine LIBSOLVEXT_FEATURE_COMPS
#cmakedefine LIBSOLVEXT_FEATURE_HELIXREPO
#cmakedefine LIBSOLVEXT_FEATURE_DEBIAN
#cmakedefine LIBSOLVEXT_FEATURE_ARCHREPO
#cmakedefine LIBSOLVEXT_FEATURE_CUDFREPO
#cmakedefine LIBSOLVEXT_FEATURE_HAIKU
#cmakedefine LIBSOLVEXT_FEATURE_APPDATA
#cmakedefine LIBSOLVEXT_FEATURE_LZMA_COMPRESSION
#cmakedefine LIBSOLVEXT_FEATURE_BZIP2_COMPRESSION

/* see tools/common_write.c for toolversion history */
#define LIBSOLV_TOOLVERSION "1.1"

#endif