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:
Eric Haszlakiewicz
2012-07-29 17:48:22 -05:00
parent c7a21203de
commit 075b783631
2 changed files with 18 additions and 3 deletions

View File

@@ -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.