#include <string.h>
#if 0
-#define TRACE(x...) do{log(L_DEBUG, x);}while(0)
+#define TRACE(x...) do{msg(L_DEBUG, x);}while(0)
#else
#define TRACE(x...) do{}while(0)
#endif
kmp1_cleanup(&kmp);
}
+#ifdef CONFIG_CHARSET /* This one depends on libcharset */
+
/* TEST2 - various tracing */
#define KMP_PREFIX(x) kmp2_##x
kmp2_cleanup(&kmp);
}
+#endif
+
/* TEST3 - random tests */
#define KMP_PREFIX(x) kmp3_##x
main(void)
{
test1();
+#ifdef CONFIG_CHARSET
test2();
+#endif
test3();
test4();
return 0;