• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2## xmlversion.h
3xmlversion_h = configuration_data()
4xmlversion_h.set('VERSION', meson.project_version())
5xmlversion_h.set('LIBXML_VERSION_NUMBER', v_nbr.to_string())
6xmlversion_h.set('LIBXML_VERSION_EXTRA', v_extra)
7xmlversion_h.set10('WITH_C14N', want_c14n)
8xmlversion_h.set10('WITH_CATALOG', want_catalog)
9xmlversion_h.set10('WITH_DEBUG', want_debug)
10xmlversion_h.set10('WITH_HTML', want_html)
11xmlversion_h.set10('WITH_HTTP', want_http)
12xmlversion_h.set10('WITH_ICONV', iconv_dep.found())
13xmlversion_h.set10('WITH_ICU', icu_dep.found())
14xmlversion_h.set10('WITH_ISO8859X', want_iso8859x)
15xmlversion_h.set10('WITH_LEGACY', want_legacy)
16xmlversion_h.set10('WITH_LZMA', lzma_dep.found())
17xmlversion_h.set10('WITH_MODULES', dl_dep.found())
18xmlversion_h.set('MODULE_EXTENSION', module_extension)
19xmlversion_h.set10('WITH_OUTPUT', want_output)
20xmlversion_h.set10('WITH_PATTERN', want_pattern)
21xmlversion_h.set10('WITH_PUSH', want_push)
22xmlversion_h.set10('WITH_READER', want_reader)
23xmlversion_h.set10('WITH_REGEXPS', want_regexps)
24xmlversion_h.set10('WITH_SAX1', want_sax1)
25xmlversion_h.set10('WITH_SCHEMAS', want_schemas)
26xmlversion_h.set10('WITH_SCHEMATRON', want_schematron)
27xmlversion_h.set10('WITH_THREADS', threads_dep.found())
28xmlversion_h.set10('WITH_THREAD_ALLOC', want_thread_alloc)
29xmlversion_h.set10('WITH_TREE', want_tree)
30xmlversion_h.set10('WITH_VALID', want_valid)
31xmlversion_h.set10('WITH_WRITER', want_writer)
32xmlversion_h.set10('WITH_XINCLUDE', want_xinclude)
33xmlversion_h.set10('WITH_XPATH', want_xpath)
34xmlversion_h.set10('WITH_XPTR', want_xptr)
35xmlversion_h.set10('WITH_ZLIB', zlib_dep.found())
36
37configure_file(
38    input: 'xmlversion.h.in',
39    output: 'xmlversion.h',
40    configuration: xmlversion_h,
41    install_dir: dir_pkginclude + '/libxml',
42)
43
44#vcs_tag(
45#  command : [ 'git', 'describe', '2>/dev/null' ],
46#  input : 'xmlversion.h.in',
47#  output : 'xmlversion.h',
48#  replace_string : 'LIBXML_VERSION_EXTRA'
49#)
50
51libxml_headers = files(
52    'HTMLparser.h',
53    'HTMLtree.h',
54    'SAX.h',
55    'SAX2.h',
56    'c14n.h',
57    'catalog.h',
58    'chvalid.h',
59    'debugXML.h',
60    'dict.h',
61    'encoding.h',
62    'entities.h',
63    'globals.h',
64    'hash.h',
65    'list.h',
66    'nanoftp.h',
67    'nanohttp.h',
68    'parser.h',
69    'parserInternals.h',
70    'pattern.h',
71    'relaxng.h',
72    'schemasInternals.h',
73    'schematron.h',
74    'threads.h',
75    'tree.h',
76    'uri.h',
77    'valid.h',
78    'xinclude.h',
79    'xlink.h',
80    'xmlIO.h',
81    'xmlautomata.h',
82    'xmlerror.h',
83    'xmlexports.h',
84    'xmlmemory.h',
85    'xmlmodule.h',
86    'xmlreader.h',
87    'xmlregexp.h',
88    'xmlsave.h',
89    'xmlschemas.h',
90    'xmlschemastypes.h',
91    'xmlstring.h',
92    'xmlunicode.h',
93    'xmlwriter.h',
94    'xpath.h',
95    'xpathInternals.h',
96    'xpointer.h',
97)
98
99install_headers(libxml_headers, install_dir: dir_pkginclude / 'libxml')
100