<commit_before>ifeq ($(WITH_LIBXML_BINDING),yes)
  DIR_SOURCES := xmlbinding.c xmlparser.c

  DIR_INSTALL_ITEMS := /include/dom/bindings/libxml:xmlbinding.h;xmlerror.h;xmlparser.h

  # LibXML2
  ifneq ($(PKGCONFIG),)
    CFLAGS := $(CFLAGS) $(shell $(PKGCONFIG) libxml-2.0 --cflags)
    LDFLAGS := $(LDFLAGS) $(shell $(PKGCONFIG) libxml-2.0 --libs)
  else
    LDFLAGS := $(LDFLAGS) -lxml2
  endif
endif

include build/makefiles/Makefile.subdir
<commit_msg>Work around bug in libxml headers.<commit_after>ifeq ($(WITH_LIBXML_BINDING),yes)
  DIR_SOURCES := xmlbinding.c xmlparser.c

  DIR_INSTALL_ITEMS := /include/dom/bindings/libxml:xmlbinding.h;xmlerror.h;xmlparser.h

  # LibXML2
  ifneq ($(PKGCONFIG),)
    CFLAGS := $(CFLAGS) $(shell $(PKGCONFIG) libxml-2.0 --cflags)
    LDFLAGS := $(LDFLAGS) $(shell $(PKGCONFIG) libxml-2.0 --libs)
  else
    LDFLAGS := $(LDFLAGS) -lxml2
  endif

  # LibXML 2.6.26 has a bug in its headers that expects _POSIX_C_SOURCE to be 
  # defined. Define it here, even though we don't need it.
  CFLAGS := $(CFLAGS) -D_POSIX_C_SOURCE
endif

include build/makefiles/Makefile.subdir

{'fraction_non_alphanumeric': 0.14118705035971224, 'fraction_numerical': 0.014388489208633094, 'mean_word_length': 4.129032258064516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 19}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5591422', 'n_tokens_mistral': 448, 'n_tokens_neox': 414, 'n_words': 91}