require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_LOGIN_CAP_H_)) {
    eval 'sub _LOGIN_CAP_H_ () {1;}' unless defined(&_LOGIN_CAP_H_);
    eval 'sub LOGIN_DEFCLASS () {"default";}' unless defined(&LOGIN_DEFCLASS);
    eval 'sub LOGIN_DEFSTYLE () {"passwd";}' unless defined(&LOGIN_DEFSTYLE);
    eval 'sub LOGIN_DEFSERVICE () {"login";}' unless defined(&LOGIN_DEFSERVICE);
    eval 'sub LOGIN_DEFUMASK () {022;}' unless defined(&LOGIN_DEFUMASK);
    eval 'sub _PATH_LOGIN_CONF () {"/etc/login.conf";}' unless defined(&_PATH_LOGIN_CONF);
    eval 'sub _PATH_AUTHPROG () {"/usr/libexec/auth/login_";}' unless defined(&_PATH_AUTHPROG);
    eval 'sub LOGIN_SETGROUP () {0x1;}' unless defined(&LOGIN_SETGROUP);
    eval 'sub LOGIN_SETLOGIN () {0x2;}' unless defined(&LOGIN_SETLOGIN);
    eval 'sub LOGIN_SETPATH () {0x4;}' unless defined(&LOGIN_SETPATH);
    eval 'sub LOGIN_SETPRIORITY () {0x8;}' unless defined(&LOGIN_SETPRIORITY);
    eval 'sub LOGIN_SETRESOURCES () {0x10;}' unless defined(&LOGIN_SETRESOURCES);
    eval 'sub LOGIN_SETUMASK () {0x20;}' unless defined(&LOGIN_SETUMASK);
    eval 'sub LOGIN_SETUSER () {0x40;}' unless defined(&LOGIN_SETUSER);
    eval 'sub LOGIN_SETENV () {0x80;}' unless defined(&LOGIN_SETENV);
    eval 'sub LOGIN_SETALL () {0xff;}' unless defined(&LOGIN_SETALL);
    eval 'sub BI_AUTH () {"authorize";}' unless defined(&BI_AUTH);
    eval 'sub BI_REJECT () {"reject";}' unless defined(&BI_REJECT);
    eval 'sub BI_CHALLENGE () {"reject challenge";}' unless defined(&BI_CHALLENGE);
    eval 'sub BI_SILENT () {"reject silent";}' unless defined(&BI_SILENT);
    eval 'sub BI_REMOVE () {"remove";}' unless defined(&BI_REMOVE);
    eval 'sub BI_ROOTOKAY () {"authorize root";}' unless defined(&BI_ROOTOKAY);
    eval 'sub BI_SECURE () {"authorize secure";}' unless defined(&BI_SECURE);
    eval 'sub BI_SETENV () {"setenv";}' unless defined(&BI_SETENV);
    eval 'sub BI_UNSETENV () {"unsetenv";}' unless defined(&BI_UNSETENV);
    eval 'sub BI_VALUE () {"value";}' unless defined(&BI_VALUE);
    eval 'sub BI_EXPIRED () {"reject expired";}' unless defined(&BI_EXPIRED);
    eval 'sub BI_PWEXPIRED () {"reject pwexpired";}' unless defined(&BI_PWEXPIRED);
    eval 'sub BI_FDPASS () {"fd";}' unless defined(&BI_FDPASS);
    eval 'sub AUTH_OKAY () {0x1;}' unless defined(&AUTH_OKAY);
    eval 'sub AUTH_ROOTOKAY () {0x2;}' unless defined(&AUTH_ROOTOKAY);
    eval 'sub AUTH_SECURE () {0x4;}' unless defined(&AUTH_SECURE);
    eval 'sub AUTH_SILENT () {0x8;}' unless defined(&AUTH_SILENT);
    eval 'sub AUTH_CHALLENGE () {0x10;}' unless defined(&AUTH_CHALLENGE);
    eval 'sub AUTH_EXPIRED () {0x20;}' unless defined(&AUTH_EXPIRED);
    eval 'sub AUTH_PWEXPIRED () {0x40;}' unless defined(&AUTH_PWEXPIRED);
    eval 'sub AUTH_ALLOW () {( &AUTH_OKAY |  &AUTH_ROOTOKAY |  &AUTH_SECURE);}' unless defined(&AUTH_ALLOW);
    require 'sys/cdefs.ph';
}
1;
