# if we've gotten this far, the user has specifically asked that glib2 be
# used. if we have no glib2, that is an error.
if test "x$HAVE_GLIB2" = "xno"; then
- AC_MSG_ERROR(no glib2 found, try --disable-glib2)
+ AC_MSG_ERROR([no glib2 found, try --disable-glib2])
fi
], enabled, [
AC_DEFINE(USE_GLIB2)
pth_mctx_t main_context;
int threadnum = 0;
-void cothread (void *unused)
+void cothread ()
{
printf ("1.%d: current stack frame: %p\n", threadnum, CURRENT_STACK_FRAME);
printf ("1.%d: sleeping 2s...\n", threadnum);
/***** Deal with XML stuff, we have to handle both loadsave and registry *****/
#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
-#ifdef HAVE_LIBXML2
- #include <libxml/parser.h>
-#else /* impossibly broken header namespacing */
- #include <parser.h>
-#endif
-
- /* Include compatability defines: if libxml hasn't already defined these, */
- /* we have an old version 1.x */
- #ifndef xmlChildrenNode
- #define xmlChildrenNode childs
- #define xmlRootNode root
- #endif
-
+# include <libxml/parser.h>
#else
- #define GST_DISABLE_LOADSAVE_REGISTRY
+# define GST_DISABLE_LOADSAVE_REGISTRY
#endif
#endif /* __GST_CONFIG_H__ */