require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&LZF_H)) {
    eval 'sub LZF_H () {1;}' unless defined(&LZF_H);
    require './lzfP.ph';
    eval 'sub LZF_VERSION () {0x105;}' unless defined(&LZF_VERSION);
    eval 'sub lzf_compress {
        my($in,$in_len,$out,$out_len) = @_;
	    eval q({  &LZF_STATE  &htab;  &lzf_compress_r($in, $in_len, $out, $out_len,  &htab); });
    }' unless defined(&lzf_compress);
}
1;
