Issue 1100: Drop CPPTL support
CPPTL support is no longer relevant to JsonCpp, and can be removed from
the library. This patch removes all mentions of CPPTL, by removing all
definitions and code sections conditionally compiled only when JsonCpp
is used with CPPTL. Include guards are also renamed to not refer to
CPPTL where appropriate.
diff --git a/include/json/autolink.h b/include/json/autolink.h
index b2c0f00..5f04a55 100644
--- a/include/json/autolink.h
+++ b/include/json/autolink.h
@@ -8,16 +8,10 @@
#include "config.h"
-#ifdef JSON_IN_CPPTL
-#include <cpptl/cpptl_autolink.h>
-#endif
-
-#if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && \
- !defined(JSON_IN_CPPTL)
-#define CPPTL_AUTOLINK_NAME "json"
-#undef CPPTL_AUTOLINK_DLL
+#if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD)
+#define AUTOLINK_NAME "json"
#ifdef JSON_DLL
-#define CPPTL_AUTOLINK_DLL
+#define AUTOLINK_DLL
#endif
#include "autolink.h"
#endif