… | |
… | |
8558 | |
8558 | |
8559 | |
8559 | |
8560 | |
8560 | |
8561 | |
8561 | |
8562 | for ac_func in \ |
8562 | for ac_func in \ |
8563 | ttyslot \ |
|
|
8564 | updwtmp \ |
8563 | updwtmp \ |
8565 | updwtmpx \ |
8564 | updwtmpx \ |
|
|
8565 | updlastlogx \ |
8566 | |
8566 | |
8567 | do |
8567 | do |
8568 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8568 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8569 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8569 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8570 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
8570 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
8656 | fi |
8656 | fi |
8657 | done |
8657 | done |
8658 | |
8658 | |
8659 | |
8659 | |
8660 | |
8660 | |
8661 | |
|
|
8662 | |
|
|
8663 | for ac_header in \ |
8661 | for ac_header in lastlog.h |
8664 | utmp.h \ |
|
|
8665 | utmpx.h \ |
|
|
8666 | lastlog.h \ |
|
|
8667 | |
|
|
8668 | do |
8662 | do |
8669 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8663 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8670 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8664 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8671 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8665 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8672 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8666 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
8803 | |
8797 | |
8804 | done |
8798 | done |
8805 | |
8799 | |
8806 | |
8800 | |
8807 | |
8801 | |
8808 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8802 | |
|
|
8803 | for ac_header in utmp.h |
|
|
8804 | do |
|
|
8805 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8806 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8809 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8807 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8810 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8808 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8811 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8809 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8812 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8810 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8813 | fi |
8811 | fi |
|
|
8812 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8814 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8813 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8815 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8814 | echo "${ECHO_T}$ac_res" >&6; } |
8816 | else |
8815 | else |
8817 | # Is the header compilable? |
8816 | # Is the header compilable? |
8818 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
8817 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8819 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
8818 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8820 | cat >conftest.$ac_ext <<_ACEOF |
8819 | cat >conftest.$ac_ext <<_ACEOF |
8821 | /* confdefs.h. */ |
8820 | /* confdefs.h. */ |
8822 | _ACEOF |
8821 | _ACEOF |
8823 | cat confdefs.h >>conftest.$ac_ext |
8822 | cat confdefs.h >>conftest.$ac_ext |
8824 | cat >>conftest.$ac_ext <<_ACEOF |
8823 | cat >>conftest.$ac_ext <<_ACEOF |
8825 | /* end confdefs.h. */ |
8824 | /* end confdefs.h. */ |
8826 | $ac_includes_default |
8825 | $ac_includes_default |
8827 | #include <utmp.h> |
8826 | #include <$ac_header> |
8828 | _ACEOF |
8827 | _ACEOF |
8829 | rm -f conftest.$ac_objext |
8828 | rm -f conftest.$ac_objext |
8830 | if { (ac_try="$ac_compile" |
8829 | if { (ac_try="$ac_compile" |
8831 | case "(($ac_try" in |
8830 | case "(($ac_try" in |
8832 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8831 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
8854 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8853 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8855 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8854 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8856 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8855 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8857 | |
8856 | |
8858 | # Is the header present? |
8857 | # Is the header present? |
8859 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
8858 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8860 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
8859 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8861 | cat >conftest.$ac_ext <<_ACEOF |
8860 | cat >conftest.$ac_ext <<_ACEOF |
8862 | /* confdefs.h. */ |
8861 | /* confdefs.h. */ |
8863 | _ACEOF |
8862 | _ACEOF |
8864 | cat confdefs.h >>conftest.$ac_ext |
8863 | cat confdefs.h >>conftest.$ac_ext |
8865 | cat >>conftest.$ac_ext <<_ACEOF |
8864 | cat >>conftest.$ac_ext <<_ACEOF |
8866 | /* end confdefs.h. */ |
8865 | /* end confdefs.h. */ |
8867 | #include <utmp.h> |
8866 | #include <$ac_header> |
8868 | _ACEOF |
8867 | _ACEOF |
8869 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8868 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8870 | case "(($ac_try" in |
8869 | case "(($ac_try" in |
8871 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8870 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8872 | *) ac_try_echo=$ac_try;; |
8871 | *) ac_try_echo=$ac_try;; |
… | |
… | |
8895 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8894 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8896 | |
8895 | |
8897 | # So? What about this header? |
8896 | # So? What about this header? |
8898 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8897 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8899 | yes:no: ) |
8898 | yes:no: ) |
8900 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8899 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8901 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8900 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8902 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
8901 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8903 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
8902 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8904 | ac_header_preproc=yes |
8903 | ac_header_preproc=yes |
8905 | ;; |
8904 | ;; |
8906 | no:yes:* ) |
8905 | no:yes:* ) |
8907 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
8906 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8908 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
8907 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8909 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
8908 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8910 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
8909 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8911 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
8910 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8912 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
8911 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8913 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
8912 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8914 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8913 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8915 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
8914 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8916 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
8915 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8917 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
8916 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8918 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
8917 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8919 | |
8918 | |
8920 | ;; |
8919 | ;; |
8921 | esac |
8920 | esac |
8922 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8921 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8923 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8922 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8924 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8923 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8924 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8926 | else |
8925 | else |
8927 | ac_cv_header_utmp_h=$ac_header_preproc |
8926 | eval "$as_ac_Header=\$ac_header_preproc" |
8928 | fi |
8927 | fi |
|
|
8928 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8929 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8929 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8930 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8930 | echo "${ECHO_T}$ac_res" >&6; } |
8931 | |
8931 | |
8932 | fi |
8932 | fi |
8933 | if test $ac_cv_header_utmp_h = yes; then |
8933 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
8934 | cat >>confdefs.h <<_ACEOF |
|
|
8935 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
8936 | _ACEOF |
8934 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8937 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8935 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
8938 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
8936 | if test "${struct_utmp+set}" = set; then |
8939 | if test "${struct_utmp+set}" = set; then |
8937 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8940 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8938 | else |
8941 | else |
8939 | cat >conftest.$ac_ext <<_ACEOF |
8942 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
9106 | |
9109 | |
9107 | fi |
9110 | fi |
9108 | |
9111 | |
9109 | fi |
9112 | fi |
9110 | |
9113 | |
|
|
9114 | done |
9111 | |
9115 | |
9112 | |
9116 | |
9113 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9117 | |
|
|
9118 | for ac_header in utmpx.h |
|
|
9119 | do |
|
|
9120 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
9121 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9114 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
9122 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9115 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
9123 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9116 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9124 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9125 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9118 | fi |
9126 | fi |
|
|
9127 | ac_res=`eval echo '${'$as_ac_Header'}'` |
9119 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
9128 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9120 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
9129 | echo "${ECHO_T}$ac_res" >&6; } |
9121 | else |
9130 | else |
9122 | # Is the header compilable? |
9131 | # Is the header compilable? |
9123 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
9132 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9124 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
9133 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
9125 | cat >conftest.$ac_ext <<_ACEOF |
9134 | cat >conftest.$ac_ext <<_ACEOF |
9126 | /* confdefs.h. */ |
9135 | /* confdefs.h. */ |
9127 | _ACEOF |
9136 | _ACEOF |
9128 | cat confdefs.h >>conftest.$ac_ext |
9137 | cat confdefs.h >>conftest.$ac_ext |
9129 | cat >>conftest.$ac_ext <<_ACEOF |
9138 | cat >>conftest.$ac_ext <<_ACEOF |
9130 | /* end confdefs.h. */ |
9139 | /* end confdefs.h. */ |
9131 | $ac_includes_default |
9140 | $ac_includes_default |
9132 | #include <utmpx.h> |
9141 | #include <$ac_header> |
9133 | _ACEOF |
9142 | _ACEOF |
9134 | rm -f conftest.$ac_objext |
9143 | rm -f conftest.$ac_objext |
9135 | if { (ac_try="$ac_compile" |
9144 | if { (ac_try="$ac_compile" |
9136 | case "(($ac_try" in |
9145 | case "(($ac_try" in |
9137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9146 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
9159 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9168 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9160 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9169 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9161 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
9170 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
9162 | |
9171 | |
9163 | # Is the header present? |
9172 | # Is the header present? |
9164 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
9173 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9165 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
9174 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
9166 | cat >conftest.$ac_ext <<_ACEOF |
9175 | cat >conftest.$ac_ext <<_ACEOF |
9167 | /* confdefs.h. */ |
9176 | /* confdefs.h. */ |
9168 | _ACEOF |
9177 | _ACEOF |
9169 | cat confdefs.h >>conftest.$ac_ext |
9178 | cat confdefs.h >>conftest.$ac_ext |
9170 | cat >>conftest.$ac_ext <<_ACEOF |
9179 | cat >>conftest.$ac_ext <<_ACEOF |
9171 | /* end confdefs.h. */ |
9180 | /* end confdefs.h. */ |
9172 | #include <utmpx.h> |
9181 | #include <$ac_header> |
9173 | _ACEOF |
9182 | _ACEOF |
9174 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9183 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9175 | case "(($ac_try" in |
9184 | case "(($ac_try" in |
9176 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9177 | *) ac_try_echo=$ac_try;; |
9186 | *) ac_try_echo=$ac_try;; |
… | |
… | |
9200 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9209 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9201 | |
9210 | |
9202 | # So? What about this header? |
9211 | # So? What about this header? |
9203 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9212 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9204 | yes:no: ) |
9213 | yes:no: ) |
9205 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9214 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9206 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9215 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9207 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
9216 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
9208 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
9217 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
9209 | ac_header_preproc=yes |
9218 | ac_header_preproc=yes |
9210 | ;; |
9219 | ;; |
9211 | no:yes:* ) |
9220 | no:yes:* ) |
9212 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
9221 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
9213 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
9222 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
9214 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
9223 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
9215 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
9224 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
9216 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
9225 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
9217 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
9226 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
9218 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
9227 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
9219 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9228 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
9220 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
9229 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9221 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
9230 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9222 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
9231 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
9223 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
9232 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9224 | |
9233 | |
9225 | ;; |
9234 | ;; |
9226 | esac |
9235 | esac |
9227 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
9236 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9228 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
9237 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9229 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9238 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9230 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9239 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9231 | else |
9240 | else |
9232 | ac_cv_header_utmpx_h=$ac_header_preproc |
9241 | eval "$as_ac_Header=\$ac_header_preproc" |
9233 | fi |
9242 | fi |
|
|
9243 | ac_res=`eval echo '${'$as_ac_Header'}'` |
9234 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
9244 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9235 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
9245 | echo "${ECHO_T}$ac_res" >&6; } |
9236 | |
9246 | |
9237 | fi |
9247 | fi |
9238 | if test $ac_cv_header_utmpx_h = yes; then |
9248 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
9249 | cat >>confdefs.h <<_ACEOF |
|
|
9250 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
9251 | _ACEOF |
9239 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9252 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9240 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9253 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9241 | if test "${struct_utmpx+set}" = set; then |
9254 | if test "${struct_utmpx+set}" = set; then |
9242 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9255 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9243 | else |
9256 | else |
9244 | cat >conftest.$ac_ext <<_ACEOF |
9257 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
9411 | |
9424 | |
9412 | fi |
9425 | fi |
9413 | |
9426 | |
9414 | fi |
9427 | fi |
9415 | |
9428 | |
|
|
9429 | done |
9416 | |
9430 | |
9417 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9431 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9418 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9432 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9419 | if test "${struct_lastlog+set}" = set; then |
9433 | if test "${struct_lastlog+set}" = set; then |
9420 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9434 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
9991 | |
10005 | |
9992 | cat >>confdefs.h <<_ACEOF |
10006 | cat >>confdefs.h <<_ACEOF |
9993 | #define LASTLOG_FILE "$path_lastlog" |
10007 | #define LASTLOG_FILE "$path_lastlog" |
9994 | _ACEOF |
10008 | _ACEOF |
9995 | |
10009 | |
9996 | if test -d "$path_lastlog"; then |
|
|
9997 | |
|
|
9998 | cat >>confdefs.h <<\_ACEOF |
|
|
9999 | #define LASTLOG_IS_DIR 1 |
|
|
10000 | _ACEOF |
|
|
10001 | |
|
|
10002 | fi |
|
|
10003 | fi |
10010 | fi |
10004 | |
10011 | |
10005 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
10012 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
10006 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
10013 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
10007 | if test "${path_lastlogx+set}" = set; then |
10014 | if test "${path_lastlogx+set}" = set; then |