require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&KSSL_H)) {
    eval 'sub KSSL_H () {1;}' unless defined(&KSSL_H);
    require 'openssl/opensslconf.ph';
    unless(defined(&OPENSSL_NO_KRB5)) {
	require 'stdio.ph';
	require 'ctype.ph';
	require 'krb5.ph';
	if(defined(&__cplusplus)) {
	}
	if(defined(&KRB5_HEIMDAL)) {
	    eval 'sub FAR () {1;}' unless defined(&FAR);
	} else {
	    unless(defined(&FAR)) {
		eval 'sub FAR () {1;}' unless defined(&FAR);
	    }
	}
	unless(defined(&KRB5SVC)) {
	    eval 'sub KRB5SVC () {"host";}' unless defined(&KRB5SVC);
	}
	unless(defined(&KRB5KEYTAB)) {
	    eval 'sub KRB5KEYTAB () {"/etc/krb5.keytab";}' unless defined(&KRB5KEYTAB);
	}
	unless(defined(&KRB5SENDAUTH)) {
	    eval 'sub KRB5SENDAUTH () {1;}' unless defined(&KRB5SENDAUTH);
	}
	unless(defined(&KRB5CHECKAUTH)) {
	    eval 'sub KRB5CHECKAUTH () {1;}' unless defined(&KRB5CHECKAUTH);
	}
	unless(defined(&KSSL_CLOCKSKEW)) {
	    eval 'sub KSSL_CLOCKSKEW () {300;;}' unless defined(&KSSL_CLOCKSKEW);
	}
	eval 'sub KSSL_ERR_MAX () {255;}' unless defined(&KSSL_ERR_MAX);
	eval 'sub KSSL_CLIENT () {1;}' unless defined(&KSSL_CLIENT);
	eval 'sub KSSL_SERVER () {2;}' unless defined(&KSSL_SERVER);
	eval 'sub KSSL_SERVICE () {3;}' unless defined(&KSSL_SERVICE);
	eval 'sub KSSL_KEYTAB () {4;}' unless defined(&KSSL_KEYTAB);
	eval 'sub KSSL_CTX_OK () {0;}' unless defined(&KSSL_CTX_OK);
	eval 'sub KSSL_CTX_ERR () {1;}' unless defined(&KSSL_CTX_ERR);
	eval 'sub KSSL_NOMEM () {2;}' unless defined(&KSSL_NOMEM);
	if(defined(&__cplusplus)) {
	}
    }
}
1;
