* Copyright (C) 2005-2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tst_record_conv.c,v 1.8 2006-05-08 10:16:47 adam Exp $
+ * $Id: tst_record_conv.c,v 1.9 2006-07-06 10:17:55 adam Exp $
*
*/
#include <yaz/record_conv.h>
#include <config.h>
#endif
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
#include <libxml/parser.h>
#include <libxml/tree.h>
YAZ_CHECK(conv_configure_test("<convert><bad/></convert>",
"Bad element 'bad'."
"Expected marc, xslt, ..", 0));
-#if HAVE_XSLT
+#if YAZ_HAVE_XSLT
YAZ_CHECK(conv_configure_test("<convert>"
"<xslt stylesheet=\"tst_record_conv.xsl\"/>"
"<marc"
{
YAZ_CHECK_INIT(argc, argv);
libxml2_error_to_yazlog(0 /* disable log */, 0);
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
tst_configure();
#endif
-#if HAVE_XSLT
+#if YAZ_HAVE_XSLT
tst_convert();
#endif
YAZ_CHECK_TERM;