1# This Makefile.PL for DNS-LDNS was generated by
2# Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
3# Don't edit it but the dist.ini and plugins used to construct it.
4
5use strict;
6use warnings;
7
8# inserted by Dist::Zilla::Plugin::CheckLib 0.007
9use Devel::CheckLib;
10check_lib_or_exit(
11    header => 'ldns/ldns.h',
12    lib => 'ldns',
13);
14
15use 5.014002;
16use ExtUtils::MakeMaker;
17
18my %WriteMakefileArgs = (
19  "ABSTRACT" => "Perl extension for the ldns library",
20  "AUTHOR" => "Erik Ostlyngen <erik\@uninett.no>",
21  "CONFIGURE_REQUIRES" => {
22    "Devel::CheckLib" => "0.9",
23    "ExtUtils::MakeMaker" => 0
24  },
25  "DISTNAME" => "DNS-LDNS",
26  "LICENSE" => "restrictive",
27  "MIN_PERL_VERSION" => "5.014002",
28  "NAME" => "DNS::LDNS",
29  "PREREQ_PM" => {
30    "AutoLoader" => 0,
31    "Carp" => 0,
32    "Exporter" => 0,
33    "XSLoader" => 0,
34    "strict" => 0,
35    "warnings" => 0
36  },
37  "TEST_REQUIRES" => {
38    "FindBin" => 0,
39    "Test::Exception" => 0,
40    "Test::More" => 0
41  },
42  "VERSION" => "0.61",
43  "test" => {
44    "TESTS" => "t/*.t"
45  }
46);
47
48%WriteMakefileArgs = (
49    %WriteMakefileArgs,
50    LIBS => ['-lldns'],
51);
52
53my %FallbackPrereqs = (
54  "AutoLoader" => 0,
55  "Carp" => 0,
56  "Exporter" => 0,
57  "FindBin" => 0,
58  "Test::Exception" => 0,
59  "Test::More" => 0,
60  "XSLoader" => 0,
61  "strict" => 0,
62  "warnings" => 0
63);
64
65unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
66  delete $WriteMakefileArgs{TEST_REQUIRES};
67  delete $WriteMakefileArgs{BUILD_REQUIRES};
68  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
69}
70
71delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
72  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
73
74WriteMakefile(%WriteMakefileArgs);
75
76use ExtUtils::Constant;
77
78# If you edit these definitions to change the constants used by this module,
79# you will need to use the generated const-c.inc and const-xs.inc
80# files to replace their "fallback" counterparts before distributing your
81# changes.
82my @names = (qw(LDNS_AA LDNS_AD LDNS_CD LDNS_DEFAULT_EXP_TIME
83                 LDNS_DEFAULT_TTL LDNS_DNSSEC_KEYPROTO LDNS_IP4ADDRLEN
84                 LDNS_IP6ADDRLEN LDNS_KEY_REVOKE_KEY LDNS_KEY_SEP_KEY
85                 LDNS_KEY_ZONE_KEY LDNS_MAX_DOMAINLEN LDNS_MAX_KEYLEN
86                 LDNS_MAX_LABELLEN LDNS_MAX_PACKETLEN LDNS_MAX_POINTERS
87                 LDNS_MAX_RDFLEN LDNS_NSEC3_MAX_ITERATIONS
88                 LDNS_NSEC3_VARS_OPTOUT_MASK LDNS_PORT LDNS_QR LDNS_RA LDNS_RD
89                 LDNS_RDATA_FIELD_DESCRIPTORS_COMMON LDNS_RDF_SIZE_16BYTES
90                 LDNS_RDF_SIZE_6BYTES LDNS_RDF_SIZE_BYTE
91                 LDNS_RDF_SIZE_DOUBLEWORD LDNS_RDF_SIZE_WORD LDNS_RESOLV_ANCHOR
92                 LDNS_RESOLV_DEFDOMAIN LDNS_RESOLV_INET LDNS_RESOLV_INET6
93                 LDNS_RESOLV_INETANY LDNS_RESOLV_KEYWORD LDNS_RESOLV_KEYWORDS
94                 LDNS_RESOLV_NAMESERVER LDNS_RESOLV_OPTIONS LDNS_RESOLV_RTT_INF
95                 LDNS_RESOLV_RTT_MIN LDNS_RESOLV_SEARCH LDNS_RESOLV_SORTLIST
96                 LDNS_RR_OVERHEAD LDNS_SIGNATURE_LEAVE_ADD_NEW
97                 LDNS_SIGNATURE_LEAVE_NO_ADD LDNS_SIGNATURE_REMOVE_ADD_NEW
98                 LDNS_SIGNATURE_REMOVE_NO_ADD LDNS_TC),
99	     {name=>"LDNS_CERT_ACPKIX", macro=>"1"},
100	     {name=>"LDNS_CERT_IACPKIX", macro=>"1"},
101	     {name=>"LDNS_CERT_IPGP", macro=>"1"},
102	     {name=>"LDNS_CERT_IPKIX", macro=>"1"},
103	     {name=>"LDNS_CERT_ISPKI", macro=>"1"},
104	     {name=>"LDNS_CERT_OID", macro=>"1"},
105	     {name=>"LDNS_CERT_PGP", macro=>"1"},
106	     {name=>"LDNS_CERT_PKIX", macro=>"1"},
107	     {name=>"LDNS_CERT_SPKI", macro=>"1"},
108	     {name=>"LDNS_CERT_URI", macro=>"1"},
109	     {name=>"LDNS_DH", macro=>"1"},
110	     {name=>"LDNS_DSA", macro=>"1"},
111	     {name=>"LDNS_DSA_NSEC3", macro=>"1"},
112	     {name=>"LDNS_ECC", macro=>"1"},
113	     {name=>"LDNS_ECC_GOST", macro=>"1"},
114	     {name=>"LDNS_HASH_GOST", macro=>"1"},
115	     {name=>"LDNS_PACKET_ANSWER", macro=>"1"},
116	     {name=>"LDNS_PACKET_IQUERY", macro=>"1"},
117	     {name=>"LDNS_PACKET_NODATA", macro=>"1"},
118	     {name=>"LDNS_PACKET_NOTIFY", macro=>"1"},
119	     {name=>"LDNS_PACKET_NXDOMAIN", macro=>"1"},
120	     {name=>"LDNS_PACKET_QUERY", macro=>"1"},
121	     {name=>"LDNS_PACKET_QUESTION", macro=>"1"},
122	     {name=>"LDNS_PACKET_REFERRAL", macro=>"1"},
123	     {name=>"LDNS_PACKET_STATUS", macro=>"1"},
124	     {name=>"LDNS_PACKET_UNKNOWN", macro=>"1"},
125	     {name=>"LDNS_PACKET_UPDATE", macro=>"1"},
126	     {name=>"LDNS_PRIVATEDNS", macro=>"1"},
127	     {name=>"LDNS_PRIVATEOID", macro=>"1"},
128	     {name=>"LDNS_RCODE_FORMERR", macro=>"1"},
129	     {name=>"LDNS_RCODE_NOERROR", macro=>"1"},
130	     {name=>"LDNS_RCODE_NOTAUTH", macro=>"1"},
131	     {name=>"LDNS_RCODE_NOTIMPL", macro=>"1"},
132	     {name=>"LDNS_RCODE_NOTZONE", macro=>"1"},
133	     {name=>"LDNS_RCODE_NXDOMAIN", macro=>"1"},
134	     {name=>"LDNS_RCODE_NXRRSET", macro=>"1"},
135	     {name=>"LDNS_RCODE_REFUSED", macro=>"1"},
136	     {name=>"LDNS_RCODE_SERVFAIL", macro=>"1"},
137	     {name=>"LDNS_RCODE_YXDOMAIN", macro=>"1"},
138	     {name=>"LDNS_RCODE_YXRRSET", macro=>"1"},
139	     {name=>"LDNS_RDF_TYPE_A", macro=>"1"},
140	     {name=>"LDNS_RDF_TYPE_AAAA", macro=>"1"},
141	     {name=>"LDNS_RDF_TYPE_ALG", macro=>"1"},
142	     {name=>"LDNS_RDF_TYPE_APL", macro=>"1"},
143	     {name=>"LDNS_RDF_TYPE_ATMA", macro=>"1"},
144	     {name=>"LDNS_RDF_TYPE_B32_EXT", macro=>"1"},
145	     {name=>"LDNS_RDF_TYPE_B64", macro=>"1"},
146	     {name=>"LDNS_RDF_TYPE_CERT_ALG", macro=>"1"},
147	     {name=>"LDNS_RDF_TYPE_CLASS", macro=>"1"},
148	     {name=>"LDNS_RDF_TYPE_DNAME", macro=>"1"},
149	     {name=>"LDNS_RDF_TYPE_HEX", macro=>"1"},
150	     {name=>"LDNS_RDF_TYPE_INT16", macro=>"1"},
151	     {name=>"LDNS_RDF_TYPE_INT16_DATA", macro=>"1"},
152	     {name=>"LDNS_RDF_TYPE_INT32", macro=>"1"},
153	     {name=>"LDNS_RDF_TYPE_INT8", macro=>"1"},
154	     {name=>"LDNS_RDF_TYPE_IPSECKEY", macro=>"1"},
155	     {name=>"LDNS_RDF_TYPE_LOC", macro=>"1"},
156	     {name=>"LDNS_RDF_TYPE_NONE", macro=>"1"},
157	     {name=>"LDNS_RDF_TYPE_NSAP", macro=>"1"},
158	     {name=>"LDNS_RDF_TYPE_NSEC", macro=>"1"},
159	     {name=>"LDNS_RDF_TYPE_NSEC3_NEXT_OWNER", macro=>"1"},
160	     {name=>"LDNS_RDF_TYPE_NSEC3_SALT", macro=>"1"},
161	     {name=>"LDNS_RDF_TYPE_PERIOD", macro=>"1"},
162	     {name=>"LDNS_RDF_TYPE_SERVICE", macro=>"1"},
163	     {name=>"LDNS_RDF_TYPE_STR", macro=>"1"},
164	     {name=>"LDNS_RDF_TYPE_TIME", macro=>"1"},
165	     {name=>"LDNS_RDF_TYPE_HIP", macro=>"1"},
166	     {name=>"LDNS_RDF_TYPE_TSIGTIME", macro=>"1"},
167	     {name=>"LDNS_RDF_TYPE_TYPE", macro=>"1"},
168	     {name=>"LDNS_RDF_TYPE_UNKNOWN", macro=>"1"},
169	     {name=>"LDNS_RDF_TYPE_WKS", macro=>"1"},
170	     {name=>"LDNS_RR_CLASS_ANY", macro=>"1"},
171	     {name=>"LDNS_RR_CLASS_CH", macro=>"1"},
172	     {name=>"LDNS_RR_CLASS_COUNT", macro=>"1"},
173	     {name=>"LDNS_RR_CLASS_FIRST", macro=>"1"},
174	     {name=>"LDNS_RR_CLASS_HS", macro=>"1"},
175	     {name=>"LDNS_RR_CLASS_IN", macro=>"1"},
176	     {name=>"LDNS_RR_CLASS_LAST", macro=>"1"},
177	     {name=>"LDNS_RR_CLASS_NONE", macro=>"1"},
178	     {name=>"LDNS_RR_COMPRESS", macro=>"1"},
179	     {name=>"LDNS_RR_NO_COMPRESS", macro=>"1"},
180	     {name=>"LDNS_RR_TYPE_A", macro=>"1"},
181	     {name=>"LDNS_RR_TYPE_A6", macro=>"1"},
182	     {name=>"LDNS_RR_TYPE_AAAA", macro=>"1"},
183	     {name=>"LDNS_RR_TYPE_AFSDB", macro=>"1"},
184	     {name=>"LDNS_RR_TYPE_ANY", macro=>"1"},
185	     {name=>"LDNS_RR_TYPE_APL", macro=>"1"},
186	     {name=>"LDNS_RR_TYPE_ATMA", macro=>"1"},
187	     {name=>"LDNS_RR_TYPE_AXFR", macro=>"1"},
188	     {name=>"LDNS_RR_TYPE_CERT", macro=>"1"},
189	     {name=>"LDNS_RR_TYPE_CNAME", macro=>"1"},
190	     {name=>"LDNS_RR_TYPE_COUNT", macro=>"1"},
191	     {name=>"LDNS_RR_TYPE_DHCID", macro=>"1"},
192	     {name=>"LDNS_RR_TYPE_DLV", macro=>"1"},
193	     {name=>"LDNS_RR_TYPE_DNAME", macro=>"1"},
194	     {name=>"LDNS_RR_TYPE_DNSKEY", macro=>"1"},
195	     {name=>"LDNS_RR_TYPE_DS", macro=>"1"},
196	     {name=>"LDNS_RR_TYPE_EID", macro=>"1"},
197	     {name=>"LDNS_RR_TYPE_FIRST", macro=>"1"},
198	     {name=>"LDNS_RR_TYPE_GID", macro=>"1"},
199	     {name=>"LDNS_RR_TYPE_GPOS", macro=>"1"},
200	     {name=>"LDNS_RR_TYPE_HINFO", macro=>"1"},
201	     {name=>"LDNS_RR_TYPE_IPSECKEY", macro=>"1"},
202	     {name=>"LDNS_RR_TYPE_ISDN", macro=>"1"},
203	     {name=>"LDNS_RR_TYPE_IXFR", macro=>"1"},
204	     {name=>"LDNS_RR_TYPE_KEY", macro=>"1"},
205	     {name=>"LDNS_RR_TYPE_KX", macro=>"1"},
206	     {name=>"LDNS_RR_TYPE_LAST", macro=>"1"},
207	     {name=>"LDNS_RR_TYPE_LOC", macro=>"1"},
208	     {name=>"LDNS_RR_TYPE_MAILA", macro=>"1"},
209	     {name=>"LDNS_RR_TYPE_MAILB", macro=>"1"},
210	     {name=>"LDNS_RR_TYPE_MB", macro=>"1"},
211	     {name=>"LDNS_RR_TYPE_MD", macro=>"1"},
212	     {name=>"LDNS_RR_TYPE_MF", macro=>"1"},
213	     {name=>"LDNS_RR_TYPE_MG", macro=>"1"},
214	     {name=>"LDNS_RR_TYPE_MINFO", macro=>"1"},
215	     {name=>"LDNS_RR_TYPE_MR", macro=>"1"},
216	     {name=>"LDNS_RR_TYPE_MX", macro=>"1"},
217	     {name=>"LDNS_RR_TYPE_NAPTR", macro=>"1"},
218	     {name=>"LDNS_RR_TYPE_NIMLOC", macro=>"1"},
219	     {name=>"LDNS_RR_TYPE_NS", macro=>"1"},
220	     {name=>"LDNS_RR_TYPE_NSAP", macro=>"1"},
221	     {name=>"LDNS_RR_TYPE_NSAP_PTR", macro=>"1"},
222	     {name=>"LDNS_RR_TYPE_NSEC", macro=>"1"},
223	     {name=>"LDNS_RR_TYPE_NSEC3", macro=>"1"},
224	     {name=>"LDNS_RR_TYPE_NSEC3PARAM", macro=>"1"},
225	     {name=>"LDNS_RR_TYPE_NSEC3PARAMS", macro=>"1"},
226	     {name=>"LDNS_RR_TYPE_NULL", macro=>"1"},
227	     {name=>"LDNS_RR_TYPE_NXT", macro=>"1"},
228	     {name=>"LDNS_RR_TYPE_OPT", macro=>"1"},
229	     {name=>"LDNS_RR_TYPE_PTR", macro=>"1"},
230	     {name=>"LDNS_RR_TYPE_PX", macro=>"1"},
231	     {name=>"LDNS_RR_TYPE_RP", macro=>"1"},
232	     {name=>"LDNS_RR_TYPE_RRSIG", macro=>"1"},
233	     {name=>"LDNS_RR_TYPE_RT", macro=>"1"},
234	     {name=>"LDNS_RR_TYPE_SIG", macro=>"1"},
235	     {name=>"LDNS_RR_TYPE_SINK", macro=>"1"},
236	     {name=>"LDNS_RR_TYPE_SOA", macro=>"1"},
237	     {name=>"LDNS_RR_TYPE_SPF", macro=>"1"},
238	     {name=>"LDNS_RR_TYPE_SRV", macro=>"1"},
239	     {name=>"LDNS_RR_TYPE_SSHFP", macro=>"1"},
240	     {name=>"LDNS_RR_TYPE_TALINK", macro=>"1"},
241	     {name=>"LDNS_RR_TYPE_TSIG", macro=>"1"},
242	     {name=>"LDNS_RR_TYPE_TXT", macro=>"1"},
243	     {name=>"LDNS_RR_TYPE_UID", macro=>"1"},
244	     {name=>"LDNS_RR_TYPE_UINFO", macro=>"1"},
245	     {name=>"LDNS_RR_TYPE_UNSPEC", macro=>"1"},
246	     {name=>"LDNS_RR_TYPE_WKS", macro=>"1"},
247	     {name=>"LDNS_RR_TYPE_X25", macro=>"1"},
248	     {name=>"LDNS_RSAMD5", macro=>"1"},
249	     {name=>"LDNS_RSASHA1", macro=>"1"},
250	     {name=>"LDNS_RSASHA1_NSEC3", macro=>"1"},
251	     {name=>"LDNS_RSASHA256", macro=>"1"},
252	     {name=>"LDNS_RSASHA512", macro=>"1"},
253	     {name=>"LDNS_SECTION_ADDITIONAL", macro=>"1"},
254	     {name=>"LDNS_SECTION_ANSWER", macro=>"1"},
255	     {name=>"LDNS_SECTION_ANY", macro=>"1"},
256	     {name=>"LDNS_SECTION_ANY_NOQUESTION", macro=>"1"},
257	     {name=>"LDNS_SECTION_AUTHORITY", macro=>"1"},
258	     {name=>"LDNS_SECTION_QUESTION", macro=>"1"},
259	     {name=>"LDNS_SHA1", macro=>"1"},
260	     {name=>"LDNS_SHA256", macro=>"1"},
261	     {name=>"LDNS_SIGN_DSA", macro=>"1"},
262	     {name=>"LDNS_SIGN_DSA_NSEC3", macro=>"1"},
263	     {name=>"LDNS_SIGN_ECC_GOST", macro=>"1"},
264	     {name=>"LDNS_SIGN_HMACSHA1", macro=>"1"},
265	     {name=>"LDNS_SIGN_HMACSHA256", macro=>"1"},
266	     {name=>"LDNS_SIGN_RSAMD5", macro=>"1"},
267	     {name=>"LDNS_SIGN_RSASHA1", macro=>"1"},
268	     {name=>"LDNS_SIGN_RSASHA1_NSEC3", macro=>"1"},
269	     {name=>"LDNS_SIGN_RSASHA256", macro=>"1"},
270	     {name=>"LDNS_SIGN_RSASHA512", macro=>"1"},
271	     {name=>"LDNS_STATUS_ADDRESS_ERR", macro=>"1"},
272	     {name=>"LDNS_STATUS_CERT_BAD_ALGORITHM", macro=>"1"},
273	     {name=>"LDNS_STATUS_CRYPTO_ALGO_NOT_IMPL", macro=>"1"},
274	     {name=>"LDNS_STATUS_CRYPTO_BOGUS", macro=>"1"},
275	     {name=>"LDNS_STATUS_CRYPTO_EXPIRATION_BEFORE_INCEPTION", macro=>"1"},
276	     {name=>"LDNS_STATUS_CRYPTO_NO_DNSKEY", macro=>"1"},
277	     {name=>"LDNS_STATUS_CRYPTO_NO_DS", macro=>"1"},
278	     {name=>"LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY", macro=>"1"},
279	     {name=>"LDNS_STATUS_CRYPTO_NO_RRSIG", macro=>"1"},
280	     {name=>"LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY", macro=>"1"},
281	     {name=>"LDNS_STATUS_CRYPTO_NO_TRUSTED_DS", macro=>"1"},
282	     {name=>"LDNS_STATUS_CRYPTO_SIG_EXPIRED", macro=>"1"},
283	     {name=>"LDNS_STATUS_CRYPTO_SIG_NOT_INCEPTED", macro=>"1"},
284	     {name=>"LDNS_STATUS_CRYPTO_TSIG_BOGUS", macro=>"1"},
285	     {name=>"LDNS_STATUS_CRYPTO_TSIG_ERR", macro=>"1"},
286	     {name=>"LDNS_STATUS_CRYPTO_TYPE_COVERED_ERR", macro=>"1"},
287	     {name=>"LDNS_STATUS_CRYPTO_UNKNOWN_ALGO", macro=>"1"},
288	     {name=>"LDNS_STATUS_CRYPTO_VALIDATED", macro=>"1"},
289	     {name=>"LDNS_STATUS_DDD_OVERFLOW", macro=>"1"},
290	     {name=>"LDNS_STATUS_DNSSEC_EXISTENCE_DENIED", macro=>"1"},
291	     {name=>"LDNS_STATUS_DNSSEC_NSEC3_ORIGINAL_NOT_FOUND", macro=>"1"},
292	     {name=>"LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED", macro=>"1"},
293	     {name=>"LDNS_STATUS_DNSSEC_NSEC_WILDCARD_NOT_COVERED", macro=>"1"},
294	     {name=>"LDNS_STATUS_DOMAINNAME_OVERFLOW", macro=>"1"},
295	     {name=>"LDNS_STATUS_DOMAINNAME_UNDERFLOW", macro=>"1"},
296	     {name=>"LDNS_STATUS_EMPTY_LABEL", macro=>"1"},
297	     {name=>"LDNS_STATUS_ENGINE_KEY_NOT_LOADED", macro=>"1"},
298	     {name=>"LDNS_STATUS_ERR", macro=>"1"},
299	     {name=>"LDNS_STATUS_FILE_ERR", macro=>"1"},
300	     {name=>"LDNS_STATUS_INTERNAL_ERR", macro=>"1"},
301	     {name=>"LDNS_STATUS_INVALID_B32_EXT", macro=>"1"},
302	     {name=>"LDNS_STATUS_INVALID_B64", macro=>"1"},
303	     {name=>"LDNS_STATUS_INVALID_HEX", macro=>"1"},
304	     {name=>"LDNS_STATUS_INVALID_INT", macro=>"1"},
305	     {name=>"LDNS_STATUS_INVALID_IP4", macro=>"1"},
306	     {name=>"LDNS_STATUS_INVALID_IP6", macro=>"1"},
307	     {name=>"LDNS_STATUS_INVALID_POINTER", macro=>"1"},
308	     {name=>"LDNS_STATUS_INVALID_STR", macro=>"1"},
309	     {name=>"LDNS_STATUS_INVALID_TIME", macro=>"1"},
310	     {name=>"LDNS_STATUS_LABEL_OVERFLOW", macro=>"1"},
311	     {name=>"LDNS_STATUS_MEM_ERR", macro=>"1"},
312	     {name=>"LDNS_STATUS_MISSING_RDATA_FIELDS_KEY", macro=>"1"},
313	     {name=>"LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG", macro=>"1"},
314	     {name=>"LDNS_STATUS_NETWORK_ERR", macro=>"1"},
315	     {name=>"LDNS_STATUS_NOT_IMPL", macro=>"1"},
316	     {name=>"LDNS_STATUS_NO_DATA", macro=>"1"},
317	     {name=>"LDNS_STATUS_NSEC3_ERR", macro=>"1"},
318	     {name=>"LDNS_STATUS_NULL", macro=>"1"},
319	     {name=>"LDNS_STATUS_OK", macro=>"1"},
320	     {name=>"LDNS_STATUS_PACKET_OVERFLOW", macro=>"1"},
321	     {name=>"LDNS_STATUS_RES_NO_NS", macro=>"1"},
322	     {name=>"LDNS_STATUS_RES_QUERY", macro=>"1"},
323	     {name=>"LDNS_STATUS_SOCKET_ERROR", macro=>"1"},
324	     {name=>"LDNS_STATUS_SSL_ERR", macro=>"1"},
325	     {name=>"LDNS_STATUS_SYNTAX_ALG_ERR", macro=>"1"},
326	     {name=>"LDNS_STATUS_SYNTAX_BAD_ESCAPE", macro=>"1"},
327	     {name=>"LDNS_STATUS_SYNTAX_CLASS_ERR", macro=>"1"},
328	     {name=>"LDNS_STATUS_SYNTAX_DNAME_ERR", macro=>"1"},
329	     {name=>"LDNS_STATUS_SYNTAX_EMPTY", macro=>"1"},
330	     {name=>"LDNS_STATUS_SYNTAX_ERR", macro=>"1"},
331	     {name=>"LDNS_STATUS_SYNTAX_INCLUDE", macro=>"1"},
332	     {name=>"LDNS_STATUS_SYNTAX_INCLUDE_ERR_NOTIMPL", macro=>"1"},
333	     {name=>"LDNS_STATUS_SYNTAX_INTEGER_OVERFLOW", macro=>"1"},
334	     {name=>"LDNS_STATUS_SYNTAX_ITERATIONS_OVERFLOW", macro=>"1"},
335	     {name=>"LDNS_STATUS_SYNTAX_KEYWORD_ERR", macro=>"1"},
336	     {name=>"LDNS_STATUS_SYNTAX_MISSING_VALUE_ERR", macro=>"1"},
337	     {name=>"LDNS_STATUS_SYNTAX_ORIGIN", macro=>"1"},
338	     {name=>"LDNS_STATUS_SYNTAX_RDATA_ERR", macro=>"1"},
339	     {name=>"LDNS_STATUS_SYNTAX_TTL", macro=>"1"},
340	     {name=>"LDNS_STATUS_SYNTAX_TTL_ERR", macro=>"1"},
341	     {name=>"LDNS_STATUS_SYNTAX_TYPE_ERR", macro=>"1"},
342	     {name=>"LDNS_STATUS_SYNTAX_VERSION_ERR", macro=>"1"},
343	     {name=>"LDNS_STATUS_UNKNOWN_INET", macro=>"1"},
344	     {name=>"LDNS_STATUS_WIRE_INCOMPLETE_ADDITIONAL", macro=>"1"},
345	     {name=>"LDNS_STATUS_WIRE_INCOMPLETE_ANSWER", macro=>"1"},
346	     {name=>"LDNS_STATUS_WIRE_INCOMPLETE_AUTHORITY", macro=>"1"},
347	     {name=>"LDNS_STATUS_WIRE_INCOMPLETE_HEADER", macro=>"1"},
348	     {name=>"LDNS_STATUS_WIRE_INCOMPLETE_QUESTION", macro=>"1"});
349ExtUtils::Constant::WriteConstants(
350    NAME         => 'LDNS',
351    NAMES        => \@names,
352    DEFAULT_TYPE => 'IV',
353    C_FILE       => 'const-c.inc',
354    XS_FILE      => 'const-xs.inc',
355);
356