changed output to be non-cascarding when using -n switch
[yaz-moved-to-github.git] / test / tstsoap2.c
index b424ebc..230d403 100644 (file)
@@ -1,18 +1,18 @@
 /*
- * Copyright (C) 1995-2005, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: tstsoap2.c,v 1.3 2006-01-29 21:59:13 adam Exp $
+ * $Id: tstsoap2.c,v 1.6 2007-01-03 08:42:16 adam Exp $
  */
 
 #include <stdlib.h>
-#if HAVE_XML2
-#include <libxml/parser.h>
-
 #include <yaz/test.h>
 #include <yaz/srw.h>
 #include <yaz/soap.h>
 
+#if YAZ_HAVE_XML2
+#include <libxml/parser.h>
+
 static void tst_srw(void)
 {
     const char *charset = 0;
@@ -52,7 +52,7 @@ static void tst_srw(void)
 int main(int argc, char **argv)
 {
     YAZ_CHECK_INIT(argc, argv);
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
     LIBXML_TEST_VERSION;
     tst_srw();
 #endif