ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.127 by root, Mon May 5 16:51:52 2008 UTC vs.
Revision 1.128 by root, Sat Nov 8 16:49:46 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines