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 () {0x9080bf;}' unless defined(&OPENSSL_VERSION_NUMBER);
    if(defined(&OPENSSL_FIPS)) {
	eval 'sub OPENSSL_VERSION_TEXT () {"OpenSSL 0.9.8k-fips 25 Mar 2009";}' unless defined(&OPENSSL_VERSION_TEXT);
    } else {
	eval 'sub OPENSSL_VERSION_TEXT () {"OpenSSL 0.9.8k 25 Mar 2009";}' 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 () {"0.9.8";}' unless defined(&SHLIB_VERSION_NUMBER);
}
1;
