76300601d9
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.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
EXTRA_DIST = run check-exports
|
|
|
|
check_PROGRAMS = \
|
|
test_array \
|
|
test_chaos \
|
|
test_copy \
|
|
test_dump \
|
|
test_dump_callback \
|
|
test_equal \
|
|
test_load \
|
|
test_loadb \
|
|
test_load_callback \
|
|
test_memory_funcs \
|
|
test_number \
|
|
test_object \
|
|
test_pack \
|
|
test_simple \
|
|
test_sprintf \
|
|
test_unpack \
|
|
test_version
|
|
|
|
test_array_SOURCES = test_array.c util.h
|
|
test_chaos_SOURCES = test_chaos.c util.h
|
|
test_copy_SOURCES = test_copy.c util.h
|
|
test_dump_SOURCES = test_dump.c util.h
|
|
test_dump_callback_SOURCES = test_dump_callback.c util.h
|
|
test_load_SOURCES = test_load.c util.h
|
|
test_loadb_SOURCES = test_loadb.c util.h
|
|
test_memory_funcs_SOURCES = test_memory_funcs.c util.h
|
|
test_number_SOURCES = test_number.c util.h
|
|
test_object_SOURCES = test_object.c util.h
|
|
test_pack_SOURCES = test_pack.c util.h
|
|
test_simple_SOURCES = test_simple.c util.h
|
|
test_sprintf_SOURCES = test_sprintf.c util.h
|
|
test_unpack_SOURCES = test_unpack.c util.h
|
|
test_version_SOURCES = test_version.c util.h
|
|
|
|
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
|
|
LDFLAGS = -static # for speed and Valgrind
|
|
LDADD = $(top_builddir)/src/libjansson.la
|