require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&HEADER_OPENSSLV_H)) {
    eval 'sub HEADER_OPENSSLV_H () {1;}' unless defined(&HEADER_OPENSSLV_H);
    eval 'sub OPENSSL_VERSION_NUMBER () {0x1000006f;}' unless defined(&OPENSSL_VERSION_NUMBER);
    if(defined(&OPENSSL_FIPS)) {
	eval 'sub OPENSSL_VERSION_TEXT () {"OpenSSL 1.0.0f-fips 4 Jan 2012";}' unless defined(&OPENSSL_VERSION_TEXT);
    } else {
	eval 'sub OPENSSL_VERSION_TEXT () {"OpenSSL 1.0.0f 4 Jan 2012";}' unless defined(&OPENSSL_VERSION_TEXT);
    }
    eval 'sub OPENSSL_VERSION_PTEXT () {" part of "  &OPENSSL_VERSION_TEXT;}' unless defined(&OPENSSL_VERSION_PTEXT);
    eval 'sub SHLIB_VERSION_HISTORY () {"";}' unless defined(&SHLIB_VERSION_HISTORY);
    eval 'sub SHLIB_VERSION_NUMBER () {"1.0.0";}' unless defined(&SHLIB_VERSION_NUMBER);
}
1;
