require '_h2ph_pre.ph';

no warnings qw(redefine misc);

require 'endian.ph';
eval 'sub BYTEORDER () { &_BYTE_ORDER;}' unless defined(&BYTEORDER);
unless(defined(&TOOL_FCCACHE)) {
    eval 'sub HAVE_ARC4RANDOM_BUF () {1;}' unless defined(&HAVE_ARC4RANDOM_BUF);
}
eval 'sub HAVE_DLFCN_H () {1;}' unless defined(&HAVE_DLFCN_H);
eval 'sub HAVE_FCNTL_H () {1;}' unless defined(&HAVE_FCNTL_H);
eval 'sub HAVE_GETPAGESIZE () {1;}' unless defined(&HAVE_GETPAGESIZE);
unless(defined(&TOOL_FCCACHE)) {
    eval 'sub HAVE_GETRANDOM () {1;}' unless defined(&HAVE_GETRANDOM);
}
eval 'sub HAVE_INTTYPES_H () {1;}' unless defined(&HAVE_INTTYPES_H);
eval 'sub HAVE_MMAP () {1;}' unless defined(&HAVE_MMAP);
eval 'sub HAVE_STDINT_H () {1;}' unless defined(&HAVE_STDINT_H);
eval 'sub HAVE_STDIO_H () {1;}' unless defined(&HAVE_STDIO_H);
eval 'sub HAVE_STDLIB_H () {1;}' unless defined(&HAVE_STDLIB_H);
eval 'sub HAVE_STRINGS_H () {1;}' unless defined(&HAVE_STRINGS_H);
eval 'sub HAVE_STRING_H () {1;}' unless defined(&HAVE_STRING_H);
unless(defined(&TOOL_FCCACHE)) {
    eval 'sub HAVE_SYSCALL_GETRANDOM () {1;}' unless defined(&HAVE_SYSCALL_GETRANDOM);
}
eval 'sub HAVE_SYS_PARAM_H () {1;}' unless defined(&HAVE_SYS_PARAM_H);
eval 'sub HAVE_SYS_STAT_H () {1;}' unless defined(&HAVE_SYS_STAT_H);
eval 'sub HAVE_SYS_TYPES_H () {1;}' unless defined(&HAVE_SYS_TYPES_H);
eval 'sub HAVE_UNISTD_H () {1;}' unless defined(&HAVE_UNISTD_H);
eval 'sub LT_OBJDIR () {".libs/";}' unless defined(&LT_OBJDIR);
eval 'sub PACKAGE () {"expat";}' unless defined(&PACKAGE);
eval 'sub PACKAGE_BUGREPORT () {"expat-bugs@libexpat.org";}' unless defined(&PACKAGE_BUGREPORT);
eval 'sub PACKAGE_NAME () {"expat";}' unless defined(&PACKAGE_NAME);
eval 'sub PACKAGE_STRING () {"expat 2.4.6";}' unless defined(&PACKAGE_STRING);
eval 'sub PACKAGE_TARNAME () {"expat";}' unless defined(&PACKAGE_TARNAME);
eval 'sub PACKAGE_URL () {"";}' unless defined(&PACKAGE_URL);
eval 'sub PACKAGE_VERSION () {"2.4.6";}' unless defined(&PACKAGE_VERSION);
eval 'sub STDC_HEADERS () {1;}' unless defined(&STDC_HEADERS);
eval 'sub VERSION () {"2.4.6";}' unless defined(&VERSION);
if(defined (&AC_APPLE_UNIVERSAL_BUILD)) {
    if(defined (&__BIG_ENDIAN__)) {
	eval 'sub WORDS_BIGENDIAN () {1;}' unless defined(&WORDS_BIGENDIAN);
    }
} else {
    unless(defined(&WORDS_BIGENDIAN)) {
    }
}
eval 'sub XML_CONTEXT_BYTES () {1024;}' unless defined(&XML_CONTEXT_BYTES);
eval 'sub XML_DEV_URANDOM () {1;}' unless defined(&XML_DEV_URANDOM);
eval 'sub XML_DTD () {1;}' unless defined(&XML_DTD);
eval 'sub XML_NS () {1;}' unless defined(&XML_NS);
1;
