aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2019-03-08 12:57:59 -0500
committerSean Bright <sean.bright@gmail.com>2019-03-12 13:03:34 -0400
commit76300601d9cb3f8756dd94f0f8a354ff844ae686 (patch)
tree90decc41adc484e6ec9cf7d4e106cc4630876319 /src/Makefile.am
parentf4498d2856fff130366e1dacc74d66d3502e0e5c (diff)
downloadjansson-76300601d9cb3f8756dd94f0f8a354ff844ae686.zip
jansson-76300601d9cb3f8756dd94f0f8a354ff844ae686.tar.gz
jansson-76300601d9cb3f8756dd94f0f8a354ff844ae686.tar.bz2
Add runtime version checking functions
This patch adds two new exported functions: * `jansson_version_str` - Returns a human-readable version number * `jansson_version_cmp` - Returns an integer less than, equal to, or greater than zero if the runtime version of Jansson is found, respectively, to be less than, to match, or be greater than the provided major, minor, and micro.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 37cfaac..bd996cd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,7 +20,8 @@ libjansson_la_SOURCES = \
strconv.c \
utf.c \
utf.h \
- value.c
+ value.c \
+ version.c
libjansson_la_LDFLAGS = \
-no-undefined \
-export-symbols-regex '^json_' \