]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/kmp-test.c
ucw. docs: document single-line doc. comments
[libucw.git] / ucw / kmp-test.c
index 92b91c762742de87d825c0de05bcc070863ca604..038c6e751c2cfa230383fb7de448acf103313e07 100644 (file)
@@ -50,6 +50,8 @@ test1(void)
   kmp1_cleanup(&kmp);
 }
 
+#ifdef CONFIG_CHARSET          /* This one depends on libcharset */
+
 /* TEST2 - various tracing */
 
 #define KMP_PREFIX(x) kmp2_##x
@@ -89,6 +91,8 @@ test2(void)
   kmp2_cleanup(&kmp);
 }
 
+#endif
+
 /* TEST3 - random tests */
 
 #define KMP_PREFIX(x) kmp3_##x
@@ -199,7 +203,9 @@ int
 main(void)
 {
   test1();
+#ifdef CONFIG_CHARSET
   test2();
+#endif
   test3();
   test4();
   return 0;