mirror of
https://github.com/json-c/json-c.git
synced 2026-04-03 12:29:06 +08:00
Add a --disable-oldname-compat option to configure to turn off the creation of the libjson.so library, and only include libjson-c.so
This commit is contained in:
@@ -7,6 +7,14 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
||||
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
AC_ARG_ENABLE(oldname-compat,
|
||||
AS_HELP_STRING([--disable-oldname-compat],
|
||||
[Don't include the old libjson.so library and include/json directory.]),
|
||||
[],
|
||||
[enable_oldname_compat=yes]
|
||||
)
|
||||
AM_CONDITIONAL(ENABLE_OLDNAME_COMPAT, [test "x${enable_oldname_compat}" != "xno"])
|
||||
|
||||
# Checks for programs.
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
Reference in New Issue
Block a user