… | |
… | |
307 | #endif |
307 | #endif |
308 | #if HAVE_UNISTD_H |
308 | #if HAVE_UNISTD_H |
309 | # include <unistd.h> |
309 | # include <unistd.h> |
310 | #endif" |
310 | #endif" |
311 | |
311 | |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
313 | ac_subst_files='MCOMMON' |
313 | ac_subst_files='' |
314 | |
314 | |
315 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
316 | ac_init_help= |
316 | ac_init_help= |
317 | ac_init_version=false |
317 | ac_init_version=false |
318 | # The variables have the same names as the options, with |
318 | # The variables have the same names as the options, with |
… | |
… | |
877 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
877 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
878 | --enable-xpm-background enable XPM background pixmaps |
878 | --enable-xpm-background enable XPM background pixmaps |
879 | --enable-transparency enable transparent backgrounds |
879 | --enable-transparency enable transparent backgrounds |
880 | --enable-tinting enable tinting of transparent bg |
880 | --enable-tinting enable tinting of transparent bg |
881 | --enable-fading enable colors fading when off focus |
881 | --enable-fading enable colors fading when off focus |
882 | --enable-menubar enable menubar |
|
|
883 | --enable-rxvt-scroll enable rxvt style scrollbar |
882 | --enable-rxvt-scroll enable rxvt style scrollbar |
884 | --enable-next-scroll enable NeXT style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
885 | --enable-xterm-scroll enable Xterm style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
886 | --enable-perl enable embedded perl interpreter |
885 | --enable-perl enable embedded perl interpreter |
887 | --enable-plain-scroll enable plain style scrollbar |
886 | --enable-plain-scroll enable plain style scrollbar |
888 | --enable-half-shadow use half width/height shadow on rxvt scrollbar |
|
|
889 | --enable-xim XIM (X Input Method) protocol support |
887 | --enable-xim XIM (X Input Method) protocol support |
890 | --enable-ttygid enable tty setting to group named "tty" |
888 | --enable-ttygid enable tty setting to group named "tty" |
891 | --disable-backspace-key disable handling of the backspace key |
889 | --disable-backspace-key disable handling of the backspace key |
892 | --disable-delete-key disable handling of the delete key |
890 | --disable-delete-key disable handling of the delete key |
893 | --disable-resources disable all resource checking |
891 | --disable-resources disable all resource checking |
… | |
… | |
1371 | |
1369 | |
1372 | |
1370 | |
1373 | |
1371 | |
1374 | |
1372 | |
1375 | |
1373 | |
|
|
1374 | |
|
|
1375 | ac_config_headers="$ac_config_headers config.h:config.h.in" |
|
|
1376 | |
|
|
1377 | |
1376 | ac_aux_dir= |
1378 | ac_aux_dir= |
1377 | for ac_dir in autoconf $srcdir/autoconf; do |
1379 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1378 | if test -f $ac_dir/install-sh; then |
1380 | if test -f $ac_dir/install-sh; then |
1379 | ac_aux_dir=$ac_dir |
1381 | ac_aux_dir=$ac_dir |
1380 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1382 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1381 | break |
1383 | break |
1382 | elif test -f $ac_dir/install.sh; then |
1384 | elif test -f $ac_dir/install.sh; then |
… | |
… | |
1388 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1390 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1389 | break |
1391 | break |
1390 | fi |
1392 | fi |
1391 | done |
1393 | done |
1392 | if test -z "$ac_aux_dir"; then |
1394 | if test -z "$ac_aux_dir"; then |
1393 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 |
1395 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1394 | echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} |
1396 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1395 | { (exit 1); exit 1; }; } |
1397 | { (exit 1); exit 1; }; } |
1396 | fi |
1398 | fi |
1397 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1399 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1398 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1400 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1399 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1401 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1400 | |
|
|
1401 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
|
|
1402 | |
|
|
1403 | |
1402 | |
1404 | # Make sure we can run config.sub. |
1403 | # Make sure we can run config.sub. |
1405 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1404 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1406 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1405 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1407 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1406 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1459 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1458 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1460 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1459 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1461 | echo "" |
1460 | echo "" |
1462 | echo "configuring for rxvt $VERSION" |
1461 | echo "configuring for rxvt $VERSION" |
1463 | echo "" |
1462 | echo "" |
|
|
1463 | |
|
|
1464 | orig_CXXFLAGS="$CXXFLAGS" |
1464 | |
1465 | |
1465 | |
1466 | |
1466 | ac_ext=c |
1467 | ac_ext=c |
1467 | ac_cpp='$CPP $CPPFLAGS' |
1468 | ac_cpp='$CPP $CPPFLAGS' |
1468 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1469 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3049 | |
3050 | |
3050 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3051 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3051 | |
3052 | |
3052 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3053 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3053 | |
3054 | |
3054 | for ac_prog in gawk mawk nawk awk |
|
|
3055 | do |
|
|
3056 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3057 | set dummy $ac_prog; ac_word=$2 |
|
|
3058 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
3059 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
3060 | if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
3061 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3062 | else |
|
|
3063 | if test -n "$AWK"; then |
|
|
3064 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3065 | else |
|
|
3066 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3067 | for as_dir in $PATH |
|
|
3068 | do |
|
|
3069 | IFS=$as_save_IFS |
|
|
3070 | test -z "$as_dir" && as_dir=. |
|
|
3071 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3072 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3073 | ac_cv_prog_AWK="$ac_prog" |
|
|
3074 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3075 | break 2 |
|
|
3076 | fi |
|
|
3077 | done |
|
|
3078 | done |
|
|
3079 | |
3055 | |
3080 | fi |
|
|
3081 | fi |
|
|
3082 | AWK=$ac_cv_prog_AWK |
|
|
3083 | if test -n "$AWK"; then |
|
|
3084 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3085 | echo "${ECHO_T}$AWK" >&6 |
|
|
3086 | else |
|
|
3087 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3088 | echo "${ECHO_T}no" >&6 |
|
|
3089 | fi |
|
|
3090 | |
|
|
3091 | test -n "$AWK" && break |
|
|
3092 | done |
|
|
3093 | |
|
|
3094 | |
|
|
3095 | ac_ext=c |
|
|
3096 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3097 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3098 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3099 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3100 | |
|
|
3101 | |
|
|
3102 | if test -z "$orig_CXXFLAGS"; then |
|
|
3103 | CXXFLAGS='-O' |
|
|
3104 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3105 | CXXFLAGS="-g -O3" |
|
|
3106 | fi |
|
|
3107 | CFLAGS="$CXXFLAGS" |
|
|
3108 | fi |
|
|
3109 | |
|
|
3110 | LINKER="$CXX" |
|
|
3111 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3112 | |
|
|
3113 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
|
|
3114 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
|
|
3115 | if test "${ac_cv_lib_supcpp_main+set}" = set; then |
|
|
3116 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3117 | else |
|
|
3118 | ac_check_lib_save_LIBS=$LIBS |
|
|
3119 | LIBS="-lsupc++ $LIBS" |
|
|
3120 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3121 | /* confdefs.h. */ |
|
|
3122 | _ACEOF |
|
|
3123 | cat confdefs.h >>conftest.$ac_ext |
|
|
3124 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3125 | /* end confdefs.h. */ |
|
|
3126 | |
|
|
3127 | |
|
|
3128 | int |
|
|
3129 | main () |
|
|
3130 | { |
|
|
3131 | main (); |
|
|
3132 | ; |
|
|
3133 | return 0; |
|
|
3134 | } |
|
|
3135 | _ACEOF |
|
|
3136 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3137 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3138 | (eval $ac_link) 2>conftest.er1 |
|
|
3139 | ac_status=$? |
|
|
3140 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3141 | rm -f conftest.er1 |
|
|
3142 | cat conftest.err >&5 |
|
|
3143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3144 | (exit $ac_status); } && |
|
|
3145 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3147 | (eval $ac_try) 2>&5 |
|
|
3148 | ac_status=$? |
|
|
3149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3150 | (exit $ac_status); }; } && |
|
|
3151 | { ac_try='test -s conftest$ac_exeext' |
|
|
3152 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3153 | (eval $ac_try) 2>&5 |
|
|
3154 | ac_status=$? |
|
|
3155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3156 | (exit $ac_status); }; }; then |
|
|
3157 | ac_cv_lib_supcpp_main=yes |
|
|
3158 | else |
|
|
3159 | echo "$as_me: failed program was:" >&5 |
|
|
3160 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3161 | |
|
|
3162 | ac_cv_lib_supcpp_main=no |
|
|
3163 | fi |
|
|
3164 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3165 | conftest$ac_exeext conftest.$ac_ext |
|
|
3166 | LIBS=$ac_check_lib_save_LIBS |
|
|
3167 | fi |
|
|
3168 | echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5 |
|
|
3169 | echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6 |
|
|
3170 | if test $ac_cv_lib_supcpp_main = yes; then |
|
|
3171 | |
|
|
3172 | LINKER="$CC" |
|
|
3173 | LIBS="$LIBS -lsupc++" |
|
|
3174 | |
|
|
3175 | fi |
|
|
3176 | |
|
|
3177 | fi |
|
|
3178 | LINKER=$LINKER |
|
|
3179 | |
|
|
3180 | |
|
|
3181 | |
|
|
3182 | cat >>confdefs.h <<\_ACEOF |
|
|
3183 | #define _GNU_SOURCE 1 |
|
|
3184 | _ACEOF |
|
|
3185 | |
|
|
3186 | |
|
|
3187 | case $host in |
|
|
3188 | *-*-solaris* ) |
|
|
3189 | |
|
|
3190 | cat >>confdefs.h <<\_ACEOF |
|
|
3191 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3192 | _ACEOF |
|
|
3193 | |
|
|
3194 | |
|
|
3195 | cat >>confdefs.h <<\_ACEOF |
|
|
3196 | #define _XOPEN_SOURCE 2 |
|
|
3197 | _ACEOF |
|
|
3198 | |
|
|
3199 | |
|
|
3200 | cat >>confdefs.h <<\_ACEOF |
|
|
3201 | #define __EXTENSIONS__ 1 |
|
|
3202 | _ACEOF |
|
|
3203 | |
|
|
3204 | ;; |
|
|
3205 | esac |
|
|
3206 | |
|
|
3207 | |
|
|
3208 | ac_ext=cc |
|
|
3209 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3210 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3211 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3212 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3213 | |
|
|
3214 | |
|
|
3215 | |
|
|
3216 | ac_ext=cc |
|
|
3217 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3218 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3219 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3220 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3221 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
3222 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
3223 | if test -z "$CXXCPP"; then |
|
|
3224 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
3225 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3226 | else |
|
|
3227 | # Double quotes because CXXCPP needs to be expanded |
|
|
3228 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
3229 | do |
|
|
3230 | ac_preproc_ok=false |
|
|
3231 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3232 | do |
|
|
3233 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3234 | # with a fresh cross-compiler works. |
|
|
3235 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3236 | # <limits.h> exists even on freestanding compilers. |
|
|
3237 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3238 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3239 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3240 | /* confdefs.h. */ |
|
|
3241 | _ACEOF |
|
|
3242 | cat confdefs.h >>conftest.$ac_ext |
|
|
3243 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3244 | /* end confdefs.h. */ |
|
|
3245 | #ifdef __STDC__ |
|
|
3246 | # include <limits.h> |
|
|
3247 | #else |
|
|
3248 | # include <assert.h> |
|
|
3249 | #endif |
|
|
3250 | Syntax error |
|
|
3251 | _ACEOF |
|
|
3252 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3253 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3254 | ac_status=$? |
|
|
3255 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3256 | rm -f conftest.er1 |
|
|
3257 | cat conftest.err >&5 |
|
|
3258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3259 | (exit $ac_status); } >/dev/null; then |
|
|
3260 | if test -s conftest.err; then |
|
|
3261 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3262 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3263 | else |
|
|
3264 | ac_cpp_err= |
|
|
3265 | fi |
|
|
3266 | else |
|
|
3267 | ac_cpp_err=yes |
|
|
3268 | fi |
|
|
3269 | if test -z "$ac_cpp_err"; then |
|
|
3270 | : |
|
|
3271 | else |
|
|
3272 | echo "$as_me: failed program was:" >&5 |
|
|
3273 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3274 | |
|
|
3275 | # Broken: fails on valid input. |
|
|
3276 | continue |
|
|
3277 | fi |
|
|
3278 | rm -f conftest.err conftest.$ac_ext |
|
|
3279 | |
|
|
3280 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3281 | # can be detected and how. |
|
|
3282 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3283 | /* confdefs.h. */ |
|
|
3284 | _ACEOF |
|
|
3285 | cat confdefs.h >>conftest.$ac_ext |
|
|
3286 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3287 | /* end confdefs.h. */ |
|
|
3288 | #include <ac_nonexistent.h> |
|
|
3289 | _ACEOF |
|
|
3290 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3291 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3292 | ac_status=$? |
|
|
3293 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3294 | rm -f conftest.er1 |
|
|
3295 | cat conftest.err >&5 |
|
|
3296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3297 | (exit $ac_status); } >/dev/null; then |
|
|
3298 | if test -s conftest.err; then |
|
|
3299 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3300 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3301 | else |
|
|
3302 | ac_cpp_err= |
|
|
3303 | fi |
|
|
3304 | else |
|
|
3305 | ac_cpp_err=yes |
|
|
3306 | fi |
|
|
3307 | if test -z "$ac_cpp_err"; then |
|
|
3308 | # Broken: success on invalid input. |
|
|
3309 | continue |
|
|
3310 | else |
|
|
3311 | echo "$as_me: failed program was:" >&5 |
|
|
3312 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3313 | |
|
|
3314 | # Passes both tests. |
|
|
3315 | ac_preproc_ok=: |
|
|
3316 | break |
|
|
3317 | fi |
|
|
3318 | rm -f conftest.err conftest.$ac_ext |
|
|
3319 | |
|
|
3320 | done |
|
|
3321 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3322 | rm -f conftest.err conftest.$ac_ext |
|
|
3323 | if $ac_preproc_ok; then |
|
|
3324 | break |
|
|
3325 | fi |
|
|
3326 | |
|
|
3327 | done |
|
|
3328 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3329 | |
|
|
3330 | fi |
|
|
3331 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
3332 | else |
|
|
3333 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3334 | fi |
|
|
3335 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
3336 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
3337 | ac_preproc_ok=false |
|
|
3338 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3339 | do |
|
|
3340 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3341 | # with a fresh cross-compiler works. |
|
|
3342 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3343 | # <limits.h> exists even on freestanding compilers. |
|
|
3344 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3345 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3346 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3347 | /* confdefs.h. */ |
|
|
3348 | _ACEOF |
|
|
3349 | cat confdefs.h >>conftest.$ac_ext |
|
|
3350 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3351 | /* end confdefs.h. */ |
|
|
3352 | #ifdef __STDC__ |
|
|
3353 | # include <limits.h> |
|
|
3354 | #else |
|
|
3355 | # include <assert.h> |
|
|
3356 | #endif |
|
|
3357 | Syntax error |
|
|
3358 | _ACEOF |
|
|
3359 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3360 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3361 | ac_status=$? |
|
|
3362 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3363 | rm -f conftest.er1 |
|
|
3364 | cat conftest.err >&5 |
|
|
3365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3366 | (exit $ac_status); } >/dev/null; then |
|
|
3367 | if test -s conftest.err; then |
|
|
3368 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3369 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3370 | else |
|
|
3371 | ac_cpp_err= |
|
|
3372 | fi |
|
|
3373 | else |
|
|
3374 | ac_cpp_err=yes |
|
|
3375 | fi |
|
|
3376 | if test -z "$ac_cpp_err"; then |
|
|
3377 | : |
|
|
3378 | else |
|
|
3379 | echo "$as_me: failed program was:" >&5 |
|
|
3380 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3381 | |
|
|
3382 | # Broken: fails on valid input. |
|
|
3383 | continue |
|
|
3384 | fi |
|
|
3385 | rm -f conftest.err conftest.$ac_ext |
|
|
3386 | |
|
|
3387 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3388 | # can be detected and how. |
|
|
3389 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3390 | /* confdefs.h. */ |
|
|
3391 | _ACEOF |
|
|
3392 | cat confdefs.h >>conftest.$ac_ext |
|
|
3393 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3394 | /* end confdefs.h. */ |
|
|
3395 | #include <ac_nonexistent.h> |
|
|
3396 | _ACEOF |
|
|
3397 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3398 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3399 | ac_status=$? |
|
|
3400 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3401 | rm -f conftest.er1 |
|
|
3402 | cat conftest.err >&5 |
|
|
3403 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3404 | (exit $ac_status); } >/dev/null; then |
|
|
3405 | if test -s conftest.err; then |
|
|
3406 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3407 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3408 | else |
|
|
3409 | ac_cpp_err= |
|
|
3410 | fi |
|
|
3411 | else |
|
|
3412 | ac_cpp_err=yes |
|
|
3413 | fi |
|
|
3414 | if test -z "$ac_cpp_err"; then |
|
|
3415 | # Broken: success on invalid input. |
|
|
3416 | continue |
|
|
3417 | else |
|
|
3418 | echo "$as_me: failed program was:" >&5 |
|
|
3419 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3420 | |
|
|
3421 | # Passes both tests. |
|
|
3422 | ac_preproc_ok=: |
|
|
3423 | break |
|
|
3424 | fi |
|
|
3425 | rm -f conftest.err conftest.$ac_ext |
|
|
3426 | |
|
|
3427 | done |
|
|
3428 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3429 | rm -f conftest.err conftest.$ac_ext |
|
|
3430 | if $ac_preproc_ok; then |
|
|
3431 | : |
|
|
3432 | else |
|
|
3433 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3434 | See \`config.log' for more details." >&5 |
|
|
3435 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3436 | See \`config.log' for more details." >&2;} |
|
|
3437 | { (exit 1); exit 1; }; } |
|
|
3438 | fi |
|
|
3439 | |
|
|
3440 | ac_ext=cc |
|
|
3441 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3442 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3443 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3444 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3445 | |
3056 | |
3446 | |
3057 | |
3447 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3058 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3448 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3059 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3449 | if test "${ac_cv_prog_egrep+set}" = set; then |
3060 | if test "${ac_cv_prog_egrep+set}" = set; then |
… | |
… | |
3524 | grep -v '^ *+' conftest.er1 >conftest.err |
3135 | grep -v '^ *+' conftest.er1 >conftest.err |
3525 | rm -f conftest.er1 |
3136 | rm -f conftest.er1 |
3526 | cat conftest.err >&5 |
3137 | cat conftest.err >&5 |
3527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3528 | (exit $ac_status); } && |
3139 | (exit $ac_status); } && |
3529 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3140 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3530 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3531 | (eval $ac_try) 2>&5 |
3142 | (eval $ac_try) 2>&5 |
3532 | ac_status=$? |
3143 | ac_status=$? |
3533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3534 | (exit $ac_status); }; } && |
3145 | (exit $ac_status); }; } && |
… | |
… | |
3578 | grep -v '^ *+' conftest.er1 >conftest.err |
3189 | grep -v '^ *+' conftest.er1 >conftest.err |
3579 | rm -f conftest.er1 |
3190 | rm -f conftest.er1 |
3580 | cat conftest.err >&5 |
3191 | cat conftest.err >&5 |
3581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3582 | (exit $ac_status); } && |
3193 | (exit $ac_status); } && |
3583 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3194 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3584 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3195 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3585 | (eval $ac_try) 2>&5 |
3196 | (eval $ac_try) 2>&5 |
3586 | ac_status=$? |
3197 | ac_status=$? |
3587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3588 | (exit $ac_status); }; } && |
3199 | (exit $ac_status); }; } && |
… | |
… | |
3609 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3220 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3610 | if test "$ac_cv_search_strerror" != no; then |
3221 | if test "$ac_cv_search_strerror" != no; then |
3611 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3222 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3612 | |
3223 | |
3613 | fi |
3224 | fi |
|
|
3225 | |
|
|
3226 | ac_ext=cc |
|
|
3227 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3228 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3229 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3230 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3231 | |
|
|
3232 | |
|
|
3233 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3234 | echo "$as_me:$LINENO: checking for working libsupc++" >&5 |
|
|
3235 | echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6 |
|
|
3236 | save_CXX="$CXX" |
|
|
3237 | save_LIBS="$LIBS" |
|
|
3238 | CXX="$CC" |
|
|
3239 | LIBS="$LIBS -lsupc++" |
|
|
3240 | LINKER="$CC" |
|
|
3241 | |
|
|
3242 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3243 | /* confdefs.h. */ |
|
|
3244 | _ACEOF |
|
|
3245 | cat confdefs.h >>conftest.$ac_ext |
|
|
3246 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3247 | /* end confdefs.h. */ |
|
|
3248 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
|
|
3249 | int |
|
|
3250 | main () |
|
|
3251 | { |
|
|
3252 | |
|
|
3253 | ; |
|
|
3254 | return 0; |
|
|
3255 | } |
|
|
3256 | _ACEOF |
|
|
3257 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3258 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3259 | (eval $ac_link) 2>conftest.er1 |
|
|
3260 | ac_status=$? |
|
|
3261 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3262 | rm -f conftest.er1 |
|
|
3263 | cat conftest.err >&5 |
|
|
3264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3265 | (exit $ac_status); } && |
|
|
3266 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3267 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3268 | (eval $ac_try) 2>&5 |
|
|
3269 | ac_status=$? |
|
|
3270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3271 | (exit $ac_status); }; } && |
|
|
3272 | { ac_try='test -s conftest$ac_exeext' |
|
|
3273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3274 | (eval $ac_try) 2>&5 |
|
|
3275 | ac_status=$? |
|
|
3276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3277 | (exit $ac_status); }; }; then |
|
|
3278 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
3279 | echo "${ECHO_T}ok" >&6 |
|
|
3280 | else |
|
|
3281 | echo "$as_me: failed program was:" >&5 |
|
|
3282 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3283 | |
|
|
3284 | |
|
|
3285 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3286 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3287 | LIBS="$save_LIBS" |
|
|
3288 | LINKER="$save_CXX" |
|
|
3289 | |
|
|
3290 | |
|
|
3291 | fi |
|
|
3292 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3293 | conftest$ac_exeext conftest.$ac_ext |
|
|
3294 | CXX="$save_CXX" |
|
|
3295 | fi |
|
|
3296 | LINKER=$LINKER |
|
|
3297 | |
|
|
3298 | |
|
|
3299 | ac_ext=cc |
|
|
3300 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3301 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3302 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3303 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3304 | |
|
|
3305 | if test -z "$orig_CXXFLAGS"; then |
|
|
3306 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3307 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
|
|
3308 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3309 | /* confdefs.h. */ |
|
|
3310 | _ACEOF |
|
|
3311 | cat confdefs.h >>conftest.$ac_ext |
|
|
3312 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3313 | /* end confdefs.h. */ |
|
|
3314 | |
|
|
3315 | int |
|
|
3316 | main () |
|
|
3317 | { |
|
|
3318 | |
|
|
3319 | ; |
|
|
3320 | return 0; |
|
|
3321 | } |
|
|
3322 | _ACEOF |
|
|
3323 | rm -f conftest.$ac_objext |
|
|
3324 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
3325 | (eval $ac_compile) 2>conftest.er1 |
|
|
3326 | ac_status=$? |
|
|
3327 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3328 | rm -f conftest.er1 |
|
|
3329 | cat conftest.err >&5 |
|
|
3330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3331 | (exit $ac_status); } && |
|
|
3332 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3333 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3334 | (eval $ac_try) 2>&5 |
|
|
3335 | ac_status=$? |
|
|
3336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3337 | (exit $ac_status); }; } && |
|
|
3338 | { ac_try='test -s conftest.$ac_objext' |
|
|
3339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3340 | (eval $ac_try) 2>&5 |
|
|
3341 | ac_status=$? |
|
|
3342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3343 | (exit $ac_status); }; }; then |
|
|
3344 | : |
|
|
3345 | else |
|
|
3346 | echo "$as_me: failed program was:" >&5 |
|
|
3347 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3348 | |
|
|
3349 | CXXFLAGS="-g -O3" |
|
|
3350 | fi |
|
|
3351 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3352 | else |
|
|
3353 | CXXFLAGS="-O" |
|
|
3354 | fi |
|
|
3355 | CFLAGS="$CXXFLAGS" |
|
|
3356 | fi |
|
|
3357 | |
|
|
3358 | |
|
|
3359 | cat >>confdefs.h <<\_ACEOF |
|
|
3360 | #define _GNU_SOURCE 1 |
|
|
3361 | _ACEOF |
|
|
3362 | |
|
|
3363 | |
|
|
3364 | case $host in |
|
|
3365 | *-*-solaris* ) |
|
|
3366 | |
|
|
3367 | cat >>confdefs.h <<\_ACEOF |
|
|
3368 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3369 | _ACEOF |
|
|
3370 | |
|
|
3371 | |
|
|
3372 | cat >>confdefs.h <<\_ACEOF |
|
|
3373 | #define _XOPEN_SOURCE 2 |
|
|
3374 | _ACEOF |
|
|
3375 | |
|
|
3376 | |
|
|
3377 | cat >>confdefs.h <<\_ACEOF |
|
|
3378 | #define __EXTENSIONS__ 1 |
|
|
3379 | _ACEOF |
|
|
3380 | |
|
|
3381 | ;; |
|
|
3382 | esac |
3614 | |
3383 | |
3615 | |
3384 | |
3616 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
3385 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
3617 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
3386 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
3618 | if test "${ac_cv_func_setlocale+set}" = set; then |
3387 | if test "${ac_cv_func_setlocale+set}" = set; then |
… | |
… | |
4322 | support_inheritpixmap=yes |
4091 | support_inheritpixmap=yes |
4323 | support_tinting=yes |
4092 | support_tinting=yes |
4324 | support_fading=yes |
4093 | support_fading=yes |
4325 | support_keepscrolling=yes |
4094 | support_keepscrolling=yes |
4326 | support_selectionscrolling=yes |
4095 | support_selectionscrolling=yes |
4327 | support_menubar=no |
|
|
4328 | support_mousewheel=yes |
4096 | support_mousewheel=yes |
4329 | support_mouseslipwheel=yes |
4097 | support_mouseslipwheel=yes |
4330 | support_utmp=yes |
4098 | support_utmp=yes |
4331 | support_wtmp=yes |
4099 | support_wtmp=yes |
4332 | support_lastlog=yes |
4100 | support_lastlog=yes |
… | |
… | |
4369 | support_tinting=no |
4137 | support_tinting=no |
4370 | support_fading=no |
4138 | support_fading=no |
4371 | support_keepscrolling=no |
4139 | support_keepscrolling=no |
4372 | support_selectionscrolling=no |
4140 | support_selectionscrolling=no |
4373 | support_lastlog=no |
4141 | support_lastlog=no |
4374 | support_menubar=no |
|
|
4375 | support_mousewheel=no |
4142 | support_mousewheel=no |
4376 | support_mouseslipwheel=no |
4143 | support_mouseslipwheel=no |
4377 | support_text_blink=no |
4144 | support_text_blink=no |
4378 | support_pointer_blank=no |
4145 | support_pointer_blank=no |
4379 | support_scroll_rxvt=no |
4146 | support_scroll_rxvt=no |
… | |
… | |
4400 | support_tinting=yes |
4167 | support_tinting=yes |
4401 | support_fading=yes |
4168 | support_fading=yes |
4402 | support_keepscrolling=yes |
4169 | support_keepscrolling=yes |
4403 | support_selectionscrolling=yes |
4170 | support_selectionscrolling=yes |
4404 | support_lastlog=yes |
4171 | support_lastlog=yes |
4405 | support_menubar=yes |
|
|
4406 | support_mousewheel=yes |
4172 | support_mousewheel=yes |
4407 | support_mouseslipwheel=yes |
4173 | support_mouseslipwheel=yes |
4408 | support_text_blink=yes |
4174 | support_text_blink=yes |
4409 | support_pointer_blank=yes |
4175 | support_pointer_blank=yes |
4410 | support_scroll_rxvt=yes |
4176 | support_scroll_rxvt=yes |
… | |
… | |
4513 | if test x$enableval = xyes -o x$enableval = xno; then |
4279 | if test x$enableval = xyes -o x$enableval = xno; then |
4514 | support_fading=$enableval |
4280 | support_fading=$enableval |
4515 | fi |
4281 | fi |
4516 | fi; |
4282 | fi; |
4517 | |
4283 | |
4518 | # Check whether --enable-menubar or --disable-menubar was given. |
|
|
4519 | if test "${enable_menubar+set}" = set; then |
|
|
4520 | enableval="$enable_menubar" |
|
|
4521 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4522 | support_menubar=$enableval |
|
|
4523 | fi |
|
|
4524 | fi; |
|
|
4525 | |
|
|
4526 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4284 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4527 | if test "${enable_rxvt_scroll+set}" = set; then |
4285 | if test "${enable_rxvt_scroll+set}" = set; then |
4528 | enableval="$enable_rxvt_scroll" |
4286 | enableval="$enable_rxvt_scroll" |
4529 | if test x$enableval = xyes -o x$enableval = xno; then |
4287 | if test x$enableval = xyes -o x$enableval = xno; then |
4530 | support_scroll_rxvt=$enableval |
4288 | support_scroll_rxvt=$enableval |
… | |
… | |
4561 | if test x$enableval = xyes -o x$enableval = xno; then |
4319 | if test x$enableval = xyes -o x$enableval = xno; then |
4562 | support_scroll_plain=$enableval |
4320 | support_scroll_plain=$enableval |
4563 | fi |
4321 | fi |
4564 | fi; |
4322 | fi; |
4565 | |
4323 | |
4566 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
4567 | if test "${enable_half_shadow+set}" = set; then |
|
|
4568 | enableval="$enable_half_shadow" |
|
|
4569 | if test x$enableval = xyes; then |
|
|
4570 | |
|
|
4571 | cat >>confdefs.h <<\_ACEOF |
|
|
4572 | #define HALFSHADOW 1 |
|
|
4573 | _ACEOF |
|
|
4574 | |
|
|
4575 | fi |
|
|
4576 | fi; |
|
|
4577 | |
4324 | |
4578 | |
4325 | |
4579 | # Check whether --with-codesets or --without-codesets was given. |
4326 | # Check whether --with-codesets or --without-codesets was given. |
4580 | if test "${with_codesets+set}" = set; then |
4327 | if test "${with_codesets+set}" = set; then |
4581 | withval="$with_codesets" |
4328 | withval="$with_codesets" |
… | |
… | |
4848 | #define RXVT_TERMINFO "$withval" |
4595 | #define RXVT_TERMINFO "$withval" |
4849 | _ACEOF |
4596 | _ACEOF |
4850 | terminfo="$withval" |
4597 | terminfo="$withval" |
4851 | fi |
4598 | fi |
4852 | fi; |
4599 | fi; |
4853 | |
|
|
4854 | |
|
|
4855 | |
|
|
4856 | cat >>confdefs.h <<\_ACEOF |
|
|
4857 | #define PROTOTYPES 1 |
|
|
4858 | _ACEOF |
|
|
4859 | |
4600 | |
4860 | |
4601 | |
4861 | # Extract the first word of "mv", so it can be a program name with args. |
4602 | # Extract the first word of "mv", so it can be a program name with args. |
4862 | set dummy mv; ac_word=$2 |
4603 | set dummy mv; ac_word=$2 |
4863 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4604 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
5136 | else |
4877 | else |
5137 | echo "$as_me:$LINENO: result: no" >&5 |
4878 | echo "$as_me:$LINENO: result: no" >&5 |
5138 | echo "${ECHO_T}no" >&6 |
4879 | echo "${ECHO_T}no" >&6 |
5139 | fi |
4880 | fi |
5140 | |
4881 | |
5141 | # Extract the first word of "tbl", so it can be a program name with args. |
|
|
5142 | set dummy tbl; ac_word=$2 |
|
|
5143 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5144 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5145 | if test "${ac_cv_path_TBL+set}" = set; then |
|
|
5146 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5147 | else |
|
|
5148 | case $TBL in |
|
|
5149 | [\\/]* | ?:[\\/]*) |
|
|
5150 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
|
|
5151 | ;; |
|
|
5152 | *) |
|
|
5153 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5154 | for as_dir in $PATH |
|
|
5155 | do |
|
|
5156 | IFS=$as_save_IFS |
|
|
5157 | test -z "$as_dir" && as_dir=. |
|
|
5158 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5159 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5160 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
5161 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5162 | break 2 |
|
|
5163 | fi |
|
|
5164 | done |
|
|
5165 | done |
|
|
5166 | |
|
|
5167 | ;; |
|
|
5168 | esac |
|
|
5169 | fi |
|
|
5170 | TBL=$ac_cv_path_TBL |
|
|
5171 | |
|
|
5172 | if test -n "$TBL"; then |
|
|
5173 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
5174 | echo "${ECHO_T}$TBL" >&6 |
|
|
5175 | else |
|
|
5176 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5177 | echo "${ECHO_T}no" >&6 |
|
|
5178 | fi |
|
|
5179 | |
|
|
5180 | # Extract the first word of "tic", so it can be a program name with args. |
4882 | # Extract the first word of "tic", so it can be a program name with args. |
5181 | set dummy tic; ac_word=$2 |
4883 | set dummy tic; ac_word=$2 |
5182 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4884 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5183 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4885 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5184 | if test "${ac_cv_path_TIC+set}" = set; then |
4886 | if test "${ac_cv_path_TIC+set}" = set; then |
… | |
… | |
5215 | echo "$as_me:$LINENO: result: no" >&5 |
4917 | echo "$as_me:$LINENO: result: no" >&5 |
5216 | echo "${ECHO_T}no" >&6 |
4918 | echo "${ECHO_T}no" >&6 |
5217 | fi |
4919 | fi |
5218 | |
4920 | |
5219 | |
4921 | |
|
|
4922 | |
|
|
4923 | |
|
|
4924 | ac_ext=cc |
|
|
4925 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4926 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4927 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4928 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4929 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4930 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
4931 | if test -z "$CXXCPP"; then |
|
|
4932 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4933 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4934 | else |
|
|
4935 | # Double quotes because CXXCPP needs to be expanded |
|
|
4936 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4937 | do |
|
|
4938 | ac_preproc_ok=false |
|
|
4939 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4940 | do |
|
|
4941 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4942 | # with a fresh cross-compiler works. |
|
|
4943 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4944 | # <limits.h> exists even on freestanding compilers. |
|
|
4945 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4946 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4947 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4948 | /* confdefs.h. */ |
|
|
4949 | _ACEOF |
|
|
4950 | cat confdefs.h >>conftest.$ac_ext |
|
|
4951 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4952 | /* end confdefs.h. */ |
|
|
4953 | #ifdef __STDC__ |
|
|
4954 | # include <limits.h> |
|
|
4955 | #else |
|
|
4956 | # include <assert.h> |
|
|
4957 | #endif |
|
|
4958 | Syntax error |
|
|
4959 | _ACEOF |
|
|
4960 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4961 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4962 | ac_status=$? |
|
|
4963 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4964 | rm -f conftest.er1 |
|
|
4965 | cat conftest.err >&5 |
|
|
4966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4967 | (exit $ac_status); } >/dev/null; then |
|
|
4968 | if test -s conftest.err; then |
|
|
4969 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4970 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4971 | else |
|
|
4972 | ac_cpp_err= |
|
|
4973 | fi |
|
|
4974 | else |
|
|
4975 | ac_cpp_err=yes |
|
|
4976 | fi |
|
|
4977 | if test -z "$ac_cpp_err"; then |
|
|
4978 | : |
|
|
4979 | else |
|
|
4980 | echo "$as_me: failed program was:" >&5 |
|
|
4981 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4982 | |
|
|
4983 | # Broken: fails on valid input. |
|
|
4984 | continue |
|
|
4985 | fi |
|
|
4986 | rm -f conftest.err conftest.$ac_ext |
|
|
4987 | |
|
|
4988 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4989 | # can be detected and how. |
|
|
4990 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4991 | /* confdefs.h. */ |
|
|
4992 | _ACEOF |
|
|
4993 | cat confdefs.h >>conftest.$ac_ext |
|
|
4994 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4995 | /* end confdefs.h. */ |
|
|
4996 | #include <ac_nonexistent.h> |
|
|
4997 | _ACEOF |
|
|
4998 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4999 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
5000 | ac_status=$? |
|
|
5001 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5002 | rm -f conftest.er1 |
|
|
5003 | cat conftest.err >&5 |
|
|
5004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5005 | (exit $ac_status); } >/dev/null; then |
|
|
5006 | if test -s conftest.err; then |
|
|
5007 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5008 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5009 | else |
|
|
5010 | ac_cpp_err= |
|
|
5011 | fi |
|
|
5012 | else |
|
|
5013 | ac_cpp_err=yes |
|
|
5014 | fi |
|
|
5015 | if test -z "$ac_cpp_err"; then |
|
|
5016 | # Broken: success on invalid input. |
|
|
5017 | continue |
|
|
5018 | else |
|
|
5019 | echo "$as_me: failed program was:" >&5 |
|
|
5020 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5021 | |
|
|
5022 | # Passes both tests. |
|
|
5023 | ac_preproc_ok=: |
|
|
5024 | break |
|
|
5025 | fi |
|
|
5026 | rm -f conftest.err conftest.$ac_ext |
|
|
5027 | |
|
|
5028 | done |
|
|
5029 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5030 | rm -f conftest.err conftest.$ac_ext |
|
|
5031 | if $ac_preproc_ok; then |
|
|
5032 | break |
|
|
5033 | fi |
|
|
5034 | |
|
|
5035 | done |
|
|
5036 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5037 | |
|
|
5038 | fi |
|
|
5039 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5040 | else |
|
|
5041 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5042 | fi |
|
|
5043 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5044 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
5045 | ac_preproc_ok=false |
|
|
5046 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5047 | do |
|
|
5048 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5049 | # with a fresh cross-compiler works. |
|
|
5050 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5051 | # <limits.h> exists even on freestanding compilers. |
|
|
5052 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5053 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5054 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5055 | /* confdefs.h. */ |
|
|
5056 | _ACEOF |
|
|
5057 | cat confdefs.h >>conftest.$ac_ext |
|
|
5058 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5059 | /* end confdefs.h. */ |
|
|
5060 | #ifdef __STDC__ |
|
|
5061 | # include <limits.h> |
|
|
5062 | #else |
|
|
5063 | # include <assert.h> |
|
|
5064 | #endif |
|
|
5065 | Syntax error |
|
|
5066 | _ACEOF |
|
|
5067 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
5068 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
5069 | ac_status=$? |
|
|
5070 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5071 | rm -f conftest.er1 |
|
|
5072 | cat conftest.err >&5 |
|
|
5073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5074 | (exit $ac_status); } >/dev/null; then |
|
|
5075 | if test -s conftest.err; then |
|
|
5076 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5077 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5078 | else |
|
|
5079 | ac_cpp_err= |
|
|
5080 | fi |
|
|
5081 | else |
|
|
5082 | ac_cpp_err=yes |
|
|
5083 | fi |
|
|
5084 | if test -z "$ac_cpp_err"; then |
|
|
5085 | : |
|
|
5086 | else |
|
|
5087 | echo "$as_me: failed program was:" >&5 |
|
|
5088 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5089 | |
|
|
5090 | # Broken: fails on valid input. |
|
|
5091 | continue |
|
|
5092 | fi |
|
|
5093 | rm -f conftest.err conftest.$ac_ext |
|
|
5094 | |
|
|
5095 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
5096 | # can be detected and how. |
|
|
5097 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5098 | /* confdefs.h. */ |
|
|
5099 | _ACEOF |
|
|
5100 | cat confdefs.h >>conftest.$ac_ext |
|
|
5101 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5102 | /* end confdefs.h. */ |
|
|
5103 | #include <ac_nonexistent.h> |
|
|
5104 | _ACEOF |
|
|
5105 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
5106 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
5107 | ac_status=$? |
|
|
5108 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5109 | rm -f conftest.er1 |
|
|
5110 | cat conftest.err >&5 |
|
|
5111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5112 | (exit $ac_status); } >/dev/null; then |
|
|
5113 | if test -s conftest.err; then |
|
|
5114 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5115 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5116 | else |
|
|
5117 | ac_cpp_err= |
|
|
5118 | fi |
|
|
5119 | else |
|
|
5120 | ac_cpp_err=yes |
|
|
5121 | fi |
|
|
5122 | if test -z "$ac_cpp_err"; then |
|
|
5123 | # Broken: success on invalid input. |
|
|
5124 | continue |
|
|
5125 | else |
|
|
5126 | echo "$as_me: failed program was:" >&5 |
|
|
5127 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5128 | |
|
|
5129 | # Passes both tests. |
|
|
5130 | ac_preproc_ok=: |
|
|
5131 | break |
|
|
5132 | fi |
|
|
5133 | rm -f conftest.err conftest.$ac_ext |
|
|
5134 | |
|
|
5135 | done |
|
|
5136 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5137 | rm -f conftest.err conftest.$ac_ext |
|
|
5138 | if $ac_preproc_ok; then |
|
|
5139 | : |
|
|
5140 | else |
|
|
5141 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5142 | See \`config.log' for more details." >&5 |
|
|
5143 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5144 | See \`config.log' for more details." >&2;} |
|
|
5145 | { (exit 1); exit 1; }; } |
|
|
5146 | fi |
|
|
5147 | |
|
|
5148 | ac_ext=cc |
|
|
5149 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5150 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5151 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5152 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5220 | |
5153 | |
5221 | |
5154 | |
5222 | |
5155 | |
5223 | if test "x$ac_path_x_has_been_run" != xyes; then |
5156 | if test "x$ac_path_x_has_been_run" != xyes; then |
5224 | echo "$as_me:$LINENO: checking for X" >&5 |
5157 | echo "$as_me:$LINENO: checking for X" >&5 |
… | |
… | |
7278 | |
7211 | |
7279 | |
7212 | |
7280 | |
7213 | |
7281 | |
7214 | |
7282 | |
7215 | |
7283 | |
|
|
7284 | |
|
|
7285 | |
|
|
7286 | |
|
|
7287 | |
|
|
7288 | |
|
|
7289 | |
|
|
7290 | |
|
|
7291 | |
|
|
7292 | for ac_header in \ |
7216 | for ac_header in \ |
7293 | assert.h \ |
7217 | assert.h \ |
7294 | fcntl.h \ |
7218 | fcntl.h \ |
7295 | grp.h \ |
|
|
7296 | libc.h \ |
|
|
7297 | lastlog.h \ |
|
|
7298 | stdarg.h \ |
7219 | stdarg.h \ |
7299 | stdlib.h \ |
7220 | stdlib.h \ |
7300 | string.h \ |
7221 | string.h \ |
7301 | termios.h \ |
7222 | termios.h \ |
7302 | unistd.h \ |
7223 | unistd.h \ |
7303 | sys/byteorder.h \ |
7224 | sys/byteorder.h \ |
7304 | sys/ioctl.h \ |
7225 | sys/ioctl.h \ |
7305 | sys/select.h \ |
7226 | sys/select.h \ |
7306 | sys/sockio.h \ |
7227 | sys/sockio.h \ |
7307 | sys/strredir.h \ |
7228 | sys/strredir.h \ |
7308 | sys/stropts.h \ |
|
|
7309 | sys/time.h \ |
7229 | sys/time.h \ |
7310 | utmp.h \ |
7230 | stdint.h \ |
7311 | utmpx.h \ |
7231 | wchar.h \ |
7312 | stdint.h \ |
7232 | cwchar \ |
7313 | pty.h \ |
7233 | clocale \ |
7314 | util.h \ |
|
|
7315 | libutil.h \ |
|
|
7316 | wchar.h \ |
|
|
7317 | cwchar \ |
|
|
7318 | clocale \ |
|
|
7319 | |
7234 | |
7320 | do |
7235 | do |
7321 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7236 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7322 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7237 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7323 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7238 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
10150 | #define RETSIGTYPE $ac_cv_type_signal |
10065 | #define RETSIGTYPE $ac_cv_type_signal |
10151 | _ACEOF |
10066 | _ACEOF |
10152 | |
10067 | |
10153 | |
10068 | |
10154 | |
10069 | |
10155 | case "$host_alias" in |
|
|
10156 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
10157 | *) break;; |
|
|
10158 | esac |
|
|
10159 | |
|
|
10160 | |
|
|
10161 | |
|
|
10162 | |
|
|
10163 | |
|
|
10164 | |
|
|
10165 | |
|
|
10166 | |
|
|
10167 | |
|
|
10168 | |
|
|
10169 | |
|
|
10170 | |
|
|
10171 | |
|
|
10172 | |
10070 | |
10173 | |
10071 | |
10174 | |
10072 | |
10175 | |
10073 | |
10176 | |
10074 | |
10177 | |
10075 | |
10178 | |
10076 | |
10179 | for ac_func in \ |
10077 | for ac_func in \ |
10180 | atexit \ |
|
|
10181 | revoke \ |
|
|
10182 | unsetenv \ |
10078 | unsetenv \ |
10183 | setutent \ |
10079 | setutent \ |
10184 | seteuid \ |
10080 | seteuid \ |
|
|
10081 | setresuid \ |
10185 | setreuid \ |
10082 | setreuid \ |
10186 | setsid \ |
|
|
10187 | setpgrp \ |
|
|
10188 | setpgid \ |
|
|
10189 | _getpty \ |
|
|
10190 | posix_openpt \ |
|
|
10191 | grantpt \ |
|
|
10192 | unlockpt \ |
|
|
10193 | isastream \ |
|
|
10194 | on_exit \ |
10083 | on_exit \ |
10195 | nanosleep \ |
10084 | nanosleep \ |
10196 | updwtmp \ |
|
|
10197 | updwtmpx \ |
|
|
10198 | ttyslot \ |
|
|
10199 | |
10085 | |
10200 | do |
10086 | do |
10201 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10087 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10202 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10088 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10203 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
10089 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
10295 | |
10181 | |
10296 | fi |
10182 | fi |
10297 | done |
10183 | done |
10298 | |
10184 | |
10299 | |
10185 | |
10300 | |
10186 | UTMP_CHECK |
10301 | if test "${ac_cv_header_utmp_h+set}" = set; then |
|
|
10302 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
|
|
10303 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
|
|
10304 | if test "${ac_cv_header_utmp_h+set}" = set; then |
|
|
10305 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10306 | fi |
|
|
10307 | echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
|
|
10308 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6 |
|
|
10309 | else |
|
|
10310 | # Is the header compilable? |
|
|
10311 | echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
|
|
10312 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6 |
|
|
10313 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10314 | /* confdefs.h. */ |
|
|
10315 | _ACEOF |
|
|
10316 | cat confdefs.h >>conftest.$ac_ext |
|
|
10317 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10318 | /* end confdefs.h. */ |
|
|
10319 | $ac_includes_default |
|
|
10320 | #include <utmp.h> |
|
|
10321 | _ACEOF |
|
|
10322 | rm -f conftest.$ac_objext |
|
|
10323 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10324 | (eval $ac_compile) 2>conftest.er1 |
|
|
10325 | ac_status=$? |
|
|
10326 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10327 | rm -f conftest.er1 |
|
|
10328 | cat conftest.err >&5 |
|
|
10329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10330 | (exit $ac_status); } && |
|
|
10331 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10333 | (eval $ac_try) 2>&5 |
|
|
10334 | ac_status=$? |
|
|
10335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10336 | (exit $ac_status); }; } && |
|
|
10337 | { ac_try='test -s conftest.$ac_objext' |
|
|
10338 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10339 | (eval $ac_try) 2>&5 |
|
|
10340 | ac_status=$? |
|
|
10341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10342 | (exit $ac_status); }; }; then |
|
|
10343 | ac_header_compiler=yes |
|
|
10344 | else |
|
|
10345 | echo "$as_me: failed program was:" >&5 |
|
|
10346 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10347 | |
|
|
10348 | ac_header_compiler=no |
|
|
10349 | fi |
|
|
10350 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10351 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
10352 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
10353 | |
|
|
10354 | # Is the header present? |
|
|
10355 | echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
|
|
10356 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6 |
|
|
10357 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10358 | /* confdefs.h. */ |
|
|
10359 | _ACEOF |
|
|
10360 | cat confdefs.h >>conftest.$ac_ext |
|
|
10361 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10362 | /* end confdefs.h. */ |
|
|
10363 | #include <utmp.h> |
|
|
10364 | _ACEOF |
|
|
10365 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
10366 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
10367 | ac_status=$? |
|
|
10368 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10369 | rm -f conftest.er1 |
|
|
10370 | cat conftest.err >&5 |
|
|
10371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10372 | (exit $ac_status); } >/dev/null; then |
|
|
10373 | if test -s conftest.err; then |
|
|
10374 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
10375 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
10376 | else |
|
|
10377 | ac_cpp_err= |
|
|
10378 | fi |
|
|
10379 | else |
|
|
10380 | ac_cpp_err=yes |
|
|
10381 | fi |
|
|
10382 | if test -z "$ac_cpp_err"; then |
|
|
10383 | ac_header_preproc=yes |
|
|
10384 | else |
|
|
10385 | echo "$as_me: failed program was:" >&5 |
|
|
10386 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10387 | |
|
|
10388 | ac_header_preproc=no |
|
|
10389 | fi |
|
|
10390 | rm -f conftest.err conftest.$ac_ext |
|
|
10391 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
10392 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
10393 | |
|
|
10394 | # So? What about this header? |
|
|
10395 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
10396 | yes:no: ) |
|
|
10397 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
10398 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
10399 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
|
|
10400 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
|
|
10401 | ac_header_preproc=yes |
|
|
10402 | ;; |
|
|
10403 | no:yes:* ) |
|
|
10404 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
|
|
10405 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
|
|
10406 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
|
|
10407 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
|
|
10408 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
|
|
10409 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
|
|
10410 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10411 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10412 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
|
|
10413 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
|
|
10414 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
|
|
10415 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
|
|
10416 | ( |
|
|
10417 | cat <<\_ASBOX |
|
|
10418 | ## ------------------------------------------ ## |
|
|
10419 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10420 | ## ------------------------------------------ ## |
|
|
10421 | _ASBOX |
|
|
10422 | ) | |
|
|
10423 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10424 | ;; |
|
|
10425 | esac |
|
|
10426 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
|
|
10427 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
|
|
10428 | if test "${ac_cv_header_utmp_h+set}" = set; then |
|
|
10429 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10430 | else |
|
|
10431 | ac_cv_header_utmp_h=$ac_header_preproc |
|
|
10432 | fi |
|
|
10433 | echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
|
|
10434 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6 |
|
|
10435 | |
|
|
10436 | fi |
|
|
10437 | if test $ac_cv_header_utmp_h = yes; then |
|
|
10438 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
|
|
10439 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
|
|
10440 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
|
|
10441 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10442 | else |
|
|
10443 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10444 | /* confdefs.h. */ |
|
|
10445 | _ACEOF |
|
|
10446 | cat confdefs.h >>conftest.$ac_ext |
|
|
10447 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10448 | /* end confdefs.h. */ |
|
|
10449 | #include <sys/types.h> |
|
|
10450 | #include <stdint.h> |
|
|
10451 | #include <utmp.h> |
|
|
10452 | int |
|
|
10453 | main () |
|
|
10454 | { |
|
|
10455 | struct utmp ut; |
|
|
10456 | ; |
|
|
10457 | return 0; |
|
|
10458 | } |
|
|
10459 | _ACEOF |
|
|
10460 | rm -f conftest.$ac_objext |
|
|
10461 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10462 | (eval $ac_compile) 2>conftest.er1 |
|
|
10463 | ac_status=$? |
|
|
10464 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10465 | rm -f conftest.er1 |
|
|
10466 | cat conftest.err >&5 |
|
|
10467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10468 | (exit $ac_status); } && |
|
|
10469 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10471 | (eval $ac_try) 2>&5 |
|
|
10472 | ac_status=$? |
|
|
10473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10474 | (exit $ac_status); }; } && |
|
|
10475 | { ac_try='test -s conftest.$ac_objext' |
|
|
10476 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10477 | (eval $ac_try) 2>&5 |
|
|
10478 | ac_status=$? |
|
|
10479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10480 | (exit $ac_status); }; }; then |
|
|
10481 | rxvt_cv_struct_utmp=yes |
|
|
10482 | else |
|
|
10483 | echo "$as_me: failed program was:" >&5 |
|
|
10484 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10485 | |
|
|
10486 | rxvt_cv_struct_utmp=no |
|
|
10487 | fi |
|
|
10488 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10489 | fi |
|
|
10490 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
|
|
10491 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
|
|
10492 | if test x$rxvt_cv_struct_utmp = xyes; then |
|
|
10493 | |
|
|
10494 | cat >>confdefs.h <<\_ACEOF |
|
|
10495 | #define HAVE_STRUCT_UTMP 1 |
|
|
10496 | _ACEOF |
|
|
10497 | |
|
|
10498 | fi |
|
|
10499 | |
|
|
10500 | |
|
|
10501 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
|
|
10502 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
|
|
10503 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
|
|
10504 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10505 | else |
|
|
10506 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10507 | /* confdefs.h. */ |
|
|
10508 | _ACEOF |
|
|
10509 | cat confdefs.h >>conftest.$ac_ext |
|
|
10510 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10511 | /* end confdefs.h. */ |
|
|
10512 | #include <sys/types.h> |
|
|
10513 | #include <utmp.h> |
|
|
10514 | int |
|
|
10515 | main () |
|
|
10516 | { |
|
|
10517 | struct utmp ut; ut.ut_host; |
|
|
10518 | ; |
|
|
10519 | return 0; |
|
|
10520 | } |
|
|
10521 | _ACEOF |
|
|
10522 | rm -f conftest.$ac_objext |
|
|
10523 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10524 | (eval $ac_compile) 2>conftest.er1 |
|
|
10525 | ac_status=$? |
|
|
10526 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10527 | rm -f conftest.er1 |
|
|
10528 | cat conftest.err >&5 |
|
|
10529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10530 | (exit $ac_status); } && |
|
|
10531 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10532 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10533 | (eval $ac_try) 2>&5 |
|
|
10534 | ac_status=$? |
|
|
10535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10536 | (exit $ac_status); }; } && |
|
|
10537 | { ac_try='test -s conftest.$ac_objext' |
|
|
10538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10539 | (eval $ac_try) 2>&5 |
|
|
10540 | ac_status=$? |
|
|
10541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10542 | (exit $ac_status); }; }; then |
|
|
10543 | rxvt_cv_struct_utmp_host=yes |
|
|
10544 | else |
|
|
10545 | echo "$as_me: failed program was:" >&5 |
|
|
10546 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10547 | |
|
|
10548 | rxvt_cv_struct_utmp_host=no |
|
|
10549 | fi |
|
|
10550 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10551 | fi |
|
|
10552 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
|
|
10553 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
|
|
10554 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
|
|
10555 | |
|
|
10556 | cat >>confdefs.h <<\_ACEOF |
|
|
10557 | #define HAVE_UTMP_HOST 1 |
|
|
10558 | _ACEOF |
|
|
10559 | |
|
|
10560 | fi |
|
|
10561 | |
|
|
10562 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
|
|
10563 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
|
|
10564 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
|
|
10565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10566 | else |
|
|
10567 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10568 | /* confdefs.h. */ |
|
|
10569 | _ACEOF |
|
|
10570 | cat confdefs.h >>conftest.$ac_ext |
|
|
10571 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10572 | /* end confdefs.h. */ |
|
|
10573 | #include <sys/types.h> |
|
|
10574 | #include <utmp.h> |
|
|
10575 | int |
|
|
10576 | main () |
|
|
10577 | { |
|
|
10578 | struct utmp ut; ut.ut_pid; |
|
|
10579 | ; |
|
|
10580 | return 0; |
|
|
10581 | } |
|
|
10582 | _ACEOF |
|
|
10583 | rm -f conftest.$ac_objext |
|
|
10584 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10585 | (eval $ac_compile) 2>conftest.er1 |
|
|
10586 | ac_status=$? |
|
|
10587 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10588 | rm -f conftest.er1 |
|
|
10589 | cat conftest.err >&5 |
|
|
10590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10591 | (exit $ac_status); } && |
|
|
10592 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10593 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10594 | (eval $ac_try) 2>&5 |
|
|
10595 | ac_status=$? |
|
|
10596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10597 | (exit $ac_status); }; } && |
|
|
10598 | { ac_try='test -s conftest.$ac_objext' |
|
|
10599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10600 | (eval $ac_try) 2>&5 |
|
|
10601 | ac_status=$? |
|
|
10602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10603 | (exit $ac_status); }; }; then |
|
|
10604 | rxvt_cv_struct_utmp_pid=yes |
|
|
10605 | else |
|
|
10606 | echo "$as_me: failed program was:" >&5 |
|
|
10607 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10608 | |
|
|
10609 | rxvt_cv_struct_utmp_pid=no |
|
|
10610 | fi |
|
|
10611 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10612 | fi |
|
|
10613 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
|
|
10614 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
|
|
10615 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
|
|
10616 | |
|
|
10617 | cat >>confdefs.h <<\_ACEOF |
|
|
10618 | #define HAVE_UTMP_PID 1 |
|
|
10619 | _ACEOF |
|
|
10620 | |
|
|
10621 | fi |
|
|
10622 | |
|
|
10623 | fi |
|
|
10624 | |
|
|
10625 | |
|
|
10626 | |
|
|
10627 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
|
|
10628 | echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
|
|
10629 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6 |
|
|
10630 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
|
|
10631 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10632 | fi |
|
|
10633 | echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
|
|
10634 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6 |
|
|
10635 | else |
|
|
10636 | # Is the header compilable? |
|
|
10637 | echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
|
|
10638 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6 |
|
|
10639 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10640 | /* confdefs.h. */ |
|
|
10641 | _ACEOF |
|
|
10642 | cat confdefs.h >>conftest.$ac_ext |
|
|
10643 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10644 | /* end confdefs.h. */ |
|
|
10645 | $ac_includes_default |
|
|
10646 | #include <utmpx.h> |
|
|
10647 | _ACEOF |
|
|
10648 | rm -f conftest.$ac_objext |
|
|
10649 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10650 | (eval $ac_compile) 2>conftest.er1 |
|
|
10651 | ac_status=$? |
|
|
10652 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10653 | rm -f conftest.er1 |
|
|
10654 | cat conftest.err >&5 |
|
|
10655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10656 | (exit $ac_status); } && |
|
|
10657 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10658 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10659 | (eval $ac_try) 2>&5 |
|
|
10660 | ac_status=$? |
|
|
10661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10662 | (exit $ac_status); }; } && |
|
|
10663 | { ac_try='test -s conftest.$ac_objext' |
|
|
10664 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10665 | (eval $ac_try) 2>&5 |
|
|
10666 | ac_status=$? |
|
|
10667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10668 | (exit $ac_status); }; }; then |
|
|
10669 | ac_header_compiler=yes |
|
|
10670 | else |
|
|
10671 | echo "$as_me: failed program was:" >&5 |
|
|
10672 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10673 | |
|
|
10674 | ac_header_compiler=no |
|
|
10675 | fi |
|
|
10676 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10677 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
10678 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
10679 | |
|
|
10680 | # Is the header present? |
|
|
10681 | echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
|
|
10682 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6 |
|
|
10683 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10684 | /* confdefs.h. */ |
|
|
10685 | _ACEOF |
|
|
10686 | cat confdefs.h >>conftest.$ac_ext |
|
|
10687 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10688 | /* end confdefs.h. */ |
|
|
10689 | #include <utmpx.h> |
|
|
10690 | _ACEOF |
|
|
10691 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
10692 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
10693 | ac_status=$? |
|
|
10694 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10695 | rm -f conftest.er1 |
|
|
10696 | cat conftest.err >&5 |
|
|
10697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10698 | (exit $ac_status); } >/dev/null; then |
|
|
10699 | if test -s conftest.err; then |
|
|
10700 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
10701 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
10702 | else |
|
|
10703 | ac_cpp_err= |
|
|
10704 | fi |
|
|
10705 | else |
|
|
10706 | ac_cpp_err=yes |
|
|
10707 | fi |
|
|
10708 | if test -z "$ac_cpp_err"; then |
|
|
10709 | ac_header_preproc=yes |
|
|
10710 | else |
|
|
10711 | echo "$as_me: failed program was:" >&5 |
|
|
10712 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10713 | |
|
|
10714 | ac_header_preproc=no |
|
|
10715 | fi |
|
|
10716 | rm -f conftest.err conftest.$ac_ext |
|
|
10717 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
10718 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
10719 | |
|
|
10720 | # So? What about this header? |
|
|
10721 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
10722 | yes:no: ) |
|
|
10723 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
10724 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
10725 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
|
|
10726 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
|
|
10727 | ac_header_preproc=yes |
|
|
10728 | ;; |
|
|
10729 | no:yes:* ) |
|
|
10730 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
|
|
10731 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
|
|
10732 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
|
|
10733 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
|
|
10734 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
|
|
10735 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
|
|
10736 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10737 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10738 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
|
|
10739 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
|
|
10740 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
|
|
10741 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
|
|
10742 | ( |
|
|
10743 | cat <<\_ASBOX |
|
|
10744 | ## ------------------------------------------ ## |
|
|
10745 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10746 | ## ------------------------------------------ ## |
|
|
10747 | _ASBOX |
|
|
10748 | ) | |
|
|
10749 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10750 | ;; |
|
|
10751 | esac |
|
|
10752 | echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
|
|
10753 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6 |
|
|
10754 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
|
|
10755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10756 | else |
|
|
10757 | ac_cv_header_utmpx_h=$ac_header_preproc |
|
|
10758 | fi |
|
|
10759 | echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
|
|
10760 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6 |
|
|
10761 | |
|
|
10762 | fi |
|
|
10763 | if test $ac_cv_header_utmpx_h = yes; then |
|
|
10764 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
|
|
10765 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
|
|
10766 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
|
|
10767 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10768 | else |
|
|
10769 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10770 | /* confdefs.h. */ |
|
|
10771 | _ACEOF |
|
|
10772 | cat confdefs.h >>conftest.$ac_ext |
|
|
10773 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10774 | /* end confdefs.h. */ |
|
|
10775 | #include <sys/types.h> |
|
|
10776 | #include <utmpx.h> |
|
|
10777 | int |
|
|
10778 | main () |
|
|
10779 | { |
|
|
10780 | struct utmpx ut; |
|
|
10781 | ; |
|
|
10782 | return 0; |
|
|
10783 | } |
|
|
10784 | _ACEOF |
|
|
10785 | rm -f conftest.$ac_objext |
|
|
10786 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10787 | (eval $ac_compile) 2>conftest.er1 |
|
|
10788 | ac_status=$? |
|
|
10789 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10790 | rm -f conftest.er1 |
|
|
10791 | cat conftest.err >&5 |
|
|
10792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10793 | (exit $ac_status); } && |
|
|
10794 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10796 | (eval $ac_try) 2>&5 |
|
|
10797 | ac_status=$? |
|
|
10798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10799 | (exit $ac_status); }; } && |
|
|
10800 | { ac_try='test -s conftest.$ac_objext' |
|
|
10801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10802 | (eval $ac_try) 2>&5 |
|
|
10803 | ac_status=$? |
|
|
10804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10805 | (exit $ac_status); }; }; then |
|
|
10806 | rxvt_cv_struct_utmpx=yes |
|
|
10807 | else |
|
|
10808 | echo "$as_me: failed program was:" >&5 |
|
|
10809 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10810 | |
|
|
10811 | rxvt_cv_struct_utmpx=no |
|
|
10812 | fi |
|
|
10813 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10814 | fi |
|
|
10815 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
|
|
10816 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
|
|
10817 | if test x$rxvt_cv_struct_utmpx = xyes; then |
|
|
10818 | |
|
|
10819 | cat >>confdefs.h <<\_ACEOF |
|
|
10820 | #define HAVE_STRUCT_UTMPX 1 |
|
|
10821 | _ACEOF |
|
|
10822 | |
|
|
10823 | fi |
|
|
10824 | |
|
|
10825 | |
|
|
10826 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
|
|
10827 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
|
|
10828 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
|
|
10829 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10830 | else |
|
|
10831 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10832 | /* confdefs.h. */ |
|
|
10833 | _ACEOF |
|
|
10834 | cat confdefs.h >>conftest.$ac_ext |
|
|
10835 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10836 | /* end confdefs.h. */ |
|
|
10837 | #include <sys/types.h> |
|
|
10838 | #include <utmpx.h> |
|
|
10839 | int |
|
|
10840 | main () |
|
|
10841 | { |
|
|
10842 | struct utmpx utx; utx.ut_host; |
|
|
10843 | ; |
|
|
10844 | return 0; |
|
|
10845 | } |
|
|
10846 | _ACEOF |
|
|
10847 | rm -f conftest.$ac_objext |
|
|
10848 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10849 | (eval $ac_compile) 2>conftest.er1 |
|
|
10850 | ac_status=$? |
|
|
10851 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10852 | rm -f conftest.er1 |
|
|
10853 | cat conftest.err >&5 |
|
|
10854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10855 | (exit $ac_status); } && |
|
|
10856 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10857 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10858 | (eval $ac_try) 2>&5 |
|
|
10859 | ac_status=$? |
|
|
10860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10861 | (exit $ac_status); }; } && |
|
|
10862 | { ac_try='test -s conftest.$ac_objext' |
|
|
10863 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10864 | (eval $ac_try) 2>&5 |
|
|
10865 | ac_status=$? |
|
|
10866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10867 | (exit $ac_status); }; }; then |
|
|
10868 | rxvt_cv_struct_utmpx_host=yes |
|
|
10869 | else |
|
|
10870 | echo "$as_me: failed program was:" >&5 |
|
|
10871 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10872 | |
|
|
10873 | rxvt_cv_struct_utmpx_host=no |
|
|
10874 | fi |
|
|
10875 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10876 | fi |
|
|
10877 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
|
|
10878 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
|
|
10879 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
|
|
10880 | |
|
|
10881 | cat >>confdefs.h <<\_ACEOF |
|
|
10882 | #define HAVE_UTMPX_HOST 1 |
|
|
10883 | _ACEOF |
|
|
10884 | |
|
|
10885 | fi |
|
|
10886 | |
|
|
10887 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
|
|
10888 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
|
|
10889 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
|
|
10890 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10891 | else |
|
|
10892 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10893 | /* confdefs.h. */ |
|
|
10894 | _ACEOF |
|
|
10895 | cat confdefs.h >>conftest.$ac_ext |
|
|
10896 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10897 | /* end confdefs.h. */ |
|
|
10898 | #include <sys/types.h> |
|
|
10899 | #include <utmpx.h> |
|
|
10900 | int |
|
|
10901 | main () |
|
|
10902 | { |
|
|
10903 | struct utmpx utx; utx.ut_session; |
|
|
10904 | ; |
|
|
10905 | return 0; |
|
|
10906 | } |
|
|
10907 | _ACEOF |
|
|
10908 | rm -f conftest.$ac_objext |
|
|
10909 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10910 | (eval $ac_compile) 2>conftest.er1 |
|
|
10911 | ac_status=$? |
|
|
10912 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10913 | rm -f conftest.er1 |
|
|
10914 | cat conftest.err >&5 |
|
|
10915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10916 | (exit $ac_status); } && |
|
|
10917 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10918 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10919 | (eval $ac_try) 2>&5 |
|
|
10920 | ac_status=$? |
|
|
10921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10922 | (exit $ac_status); }; } && |
|
|
10923 | { ac_try='test -s conftest.$ac_objext' |
|
|
10924 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10925 | (eval $ac_try) 2>&5 |
|
|
10926 | ac_status=$? |
|
|
10927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10928 | (exit $ac_status); }; }; then |
|
|
10929 | rxvt_cv_struct_utmpx_session=yes |
|
|
10930 | else |
|
|
10931 | echo "$as_me: failed program was:" >&5 |
|
|
10932 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10933 | |
|
|
10934 | rxvt_cv_struct_utmpx_session=no |
|
|
10935 | fi |
|
|
10936 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10937 | fi |
|
|
10938 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
|
|
10939 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
|
|
10940 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
|
|
10941 | |
|
|
10942 | cat >>confdefs.h <<\_ACEOF |
|
|
10943 | #define HAVE_UTMPX_SESSION 1 |
|
|
10944 | _ACEOF |
|
|
10945 | |
|
|
10946 | fi |
|
|
10947 | |
|
|
10948 | fi |
|
|
10949 | |
|
|
10950 | |
|
|
10951 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
|
|
10952 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
|
|
10953 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
|
|
10954 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10955 | else |
|
|
10956 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10957 | /* confdefs.h. */ |
|
|
10958 | _ACEOF |
|
|
10959 | cat confdefs.h >>conftest.$ac_ext |
|
|
10960 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10961 | /* end confdefs.h. */ |
|
|
10962 | #include <sys/types.h> |
|
|
10963 | #include <utmp.h> |
|
|
10964 | #ifdef HAVE_LASTLOG_H |
|
|
10965 | #include <lastlog.h> |
|
|
10966 | #endif |
|
|
10967 | |
|
|
10968 | int |
|
|
10969 | main () |
|
|
10970 | { |
|
|
10971 | struct lastlog ll; |
|
|
10972 | ; |
|
|
10973 | return 0; |
|
|
10974 | } |
|
|
10975 | _ACEOF |
|
|
10976 | rm -f conftest.$ac_objext |
|
|
10977 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10978 | (eval $ac_compile) 2>conftest.er1 |
|
|
10979 | ac_status=$? |
|
|
10980 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10981 | rm -f conftest.er1 |
|
|
10982 | cat conftest.err >&5 |
|
|
10983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10984 | (exit $ac_status); } && |
|
|
10985 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10986 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10987 | (eval $ac_try) 2>&5 |
|
|
10988 | ac_status=$? |
|
|
10989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10990 | (exit $ac_status); }; } && |
|
|
10991 | { ac_try='test -s conftest.$ac_objext' |
|
|
10992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10993 | (eval $ac_try) 2>&5 |
|
|
10994 | ac_status=$? |
|
|
10995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10996 | (exit $ac_status); }; }; then |
|
|
10997 | rxvt_cv_struct_lastlog=yes |
|
|
10998 | else |
|
|
10999 | echo "$as_me: failed program was:" >&5 |
|
|
11000 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11001 | |
|
|
11002 | rxvt_cv_struct_lastlog=no |
|
|
11003 | fi |
|
|
11004 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11005 | fi |
|
|
11006 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
|
|
11007 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
|
|
11008 | if test x$rxvt_cv_struct_lastlog = xyes; then |
|
|
11009 | |
|
|
11010 | cat >>confdefs.h <<\_ACEOF |
|
|
11011 | #define HAVE_STRUCT_LASTLOG 1 |
|
|
11012 | _ACEOF |
|
|
11013 | |
|
|
11014 | fi |
|
|
11015 | |
|
|
11016 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
|
|
11017 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
|
|
11018 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
|
|
11019 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11020 | else |
|
|
11021 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11022 | /* confdefs.h. */ |
|
|
11023 | _ACEOF |
|
|
11024 | cat confdefs.h >>conftest.$ac_ext |
|
|
11025 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11026 | /* end confdefs.h. */ |
|
|
11027 | #include <sys/types.h> |
|
|
11028 | #include <utmpx.h> |
|
|
11029 | #ifdef HAVE_LASTLOG_H |
|
|
11030 | #include <lastlog.h> |
|
|
11031 | #endif |
|
|
11032 | |
|
|
11033 | int |
|
|
11034 | main () |
|
|
11035 | { |
|
|
11036 | struct lastlogx ll; |
|
|
11037 | ; |
|
|
11038 | return 0; |
|
|
11039 | } |
|
|
11040 | _ACEOF |
|
|
11041 | rm -f conftest.$ac_objext |
|
|
11042 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11043 | (eval $ac_compile) 2>conftest.er1 |
|
|
11044 | ac_status=$? |
|
|
11045 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11046 | rm -f conftest.er1 |
|
|
11047 | cat conftest.err >&5 |
|
|
11048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11049 | (exit $ac_status); } && |
|
|
11050 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11052 | (eval $ac_try) 2>&5 |
|
|
11053 | ac_status=$? |
|
|
11054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11055 | (exit $ac_status); }; } && |
|
|
11056 | { ac_try='test -s conftest.$ac_objext' |
|
|
11057 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11058 | (eval $ac_try) 2>&5 |
|
|
11059 | ac_status=$? |
|
|
11060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11061 | (exit $ac_status); }; }; then |
|
|
11062 | rxvt_cv_struct_lastlogx=yes |
|
|
11063 | else |
|
|
11064 | echo "$as_me: failed program was:" >&5 |
|
|
11065 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11066 | |
|
|
11067 | rxvt_cv_struct_lastlogx=no |
|
|
11068 | fi |
|
|
11069 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11070 | fi |
|
|
11071 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
|
|
11072 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
|
|
11073 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
|
|
11074 | |
|
|
11075 | cat >>confdefs.h <<\_ACEOF |
|
|
11076 | #define HAVE_STRUCT_LASTLOGX 1 |
|
|
11077 | _ACEOF |
|
|
11078 | |
|
|
11079 | fi |
|
|
11080 | |
|
|
11081 | |
|
|
11082 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
|
|
11083 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
|
|
11084 | if test "${rxvt_cv_path_utmp+set}" = set; then |
|
|
11085 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11086 | else |
|
|
11087 | if test "$cross_compiling" = yes; then |
|
|
11088 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
|
|
11089 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
|
|
11090 | else |
|
|
11091 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11092 | /* confdefs.h. */ |
|
|
11093 | _ACEOF |
|
|
11094 | cat confdefs.h >>conftest.$ac_ext |
|
|
11095 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11096 | /* end confdefs.h. */ |
|
|
11097 | #include <stdio.h> |
|
|
11098 | #include <sys/types.h> |
|
|
11099 | #include <utmp.h> |
|
|
11100 | #include <errno.h> |
|
|
11101 | main() |
|
|
11102 | { |
|
|
11103 | char **u, *utmplist[] = { |
|
|
11104 | "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; |
|
|
11105 | FILE *a, *f=fopen("conftestval", "w"); |
|
|
11106 | if (!f) exit(1); |
|
|
11107 | #ifdef UTMP_FILE |
|
|
11108 | fprintf(f, "%s\n", UTMP_FILE); |
|
|
11109 | exit(0); |
|
|
11110 | #endif |
|
|
11111 | #ifdef _PATH_UTMP |
|
|
11112 | fprintf(f, "%s\n", _PATH_UTMP); |
|
|
11113 | exit(0); |
|
|
11114 | #endif |
|
|
11115 | for (u = utmplist; *u; u++) { |
|
|
11116 | if ((a = fopen(*u, "r")) != NULL || errno == EACCES) { |
|
|
11117 | fprintf(f, "%s\n", *u); |
|
|
11118 | exit(0); |
|
|
11119 | } |
|
|
11120 | } |
|
|
11121 | exit(0); |
|
|
11122 | } |
|
|
11123 | _ACEOF |
|
|
11124 | rm -f conftest$ac_exeext |
|
|
11125 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11126 | (eval $ac_link) 2>&5 |
|
|
11127 | ac_status=$? |
|
|
11128 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11129 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11130 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11131 | (eval $ac_try) 2>&5 |
|
|
11132 | ac_status=$? |
|
|
11133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11134 | (exit $ac_status); }; }; then |
|
|
11135 | rxvt_cv_path_utmp=`cat conftestval` |
|
|
11136 | else |
|
|
11137 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11138 | echo "$as_me: failed program was:" >&5 |
|
|
11139 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11140 | |
|
|
11141 | ( exit $ac_status ) |
|
|
11142 | rxvt_cv_path_utmp= |
|
|
11143 | fi |
|
|
11144 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11145 | fi |
|
|
11146 | fi |
|
|
11147 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
|
|
11148 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
|
|
11149 | if test x$rxvt_cv_path_utmp != x; then |
|
|
11150 | |
|
|
11151 | cat >>confdefs.h <<_ACEOF |
|
|
11152 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
|
|
11153 | _ACEOF |
|
|
11154 | |
|
|
11155 | fi |
|
|
11156 | |
|
|
11157 | |
|
|
11158 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
|
|
11159 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
|
|
11160 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
|
|
11161 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11162 | else |
|
|
11163 | if test "$cross_compiling" = yes; then |
|
|
11164 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
|
|
11165 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
|
|
11166 | else |
|
|
11167 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11168 | /* confdefs.h. */ |
|
|
11169 | _ACEOF |
|
|
11170 | cat confdefs.h >>conftest.$ac_ext |
|
|
11171 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11172 | /* end confdefs.h. */ |
|
|
11173 | #include <stdio.h> |
|
|
11174 | #include <sys/types.h> |
|
|
11175 | #include <utmpx.h> |
|
|
11176 | #include <errno.h> |
|
|
11177 | #include <sys/stat.h> |
|
|
11178 | #ifdef HAVE_STRING_H |
|
|
11179 | #include <string.h> |
|
|
11180 | #endif |
|
|
11181 | main() |
|
|
11182 | { |
|
|
11183 | char **u, *p, *utmplist[] = { |
|
|
11184 | #ifdef UTMPX_FILE |
|
|
11185 | UTMPX_FILE, |
|
|
11186 | #endif |
|
|
11187 | #ifdef _PATH_UTMPX |
|
|
11188 | _PATH_UTMPX, |
|
|
11189 | #endif |
|
|
11190 | "/var/adm/utmpx", "/etc/utmpx", NULL }; |
|
|
11191 | FILE *a, *f=fopen("conftestval", "w"); |
|
|
11192 | struct stat statu, statux; |
|
|
11193 | if (!f) exit(1); |
|
|
11194 | for (u = utmplist; *u; u++) { |
|
|
11195 | if ((a = fopen(*u, "r")) != NULL || errno == EACCES) { |
|
|
11196 | if (stat(*u, &statux) < 0) |
|
|
11197 | continue; |
|
|
11198 | p = strdup(*u); |
|
|
11199 | p[strlen(p) - 1] = '\0'; |
|
|
11200 | if (stat(p, &statu) >= 0 |
|
|
11201 | && (statu.st_mtime - statux.st_mtime > 86400)) |
|
|
11202 | continue; |
|
|
11203 | fprintf(f, "%s\n", *u); |
|
|
11204 | exit(0); |
|
|
11205 | } |
|
|
11206 | } |
|
|
11207 | exit(0); |
|
|
11208 | } |
|
|
11209 | _ACEOF |
|
|
11210 | rm -f conftest$ac_exeext |
|
|
11211 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11212 | (eval $ac_link) 2>&5 |
|
|
11213 | ac_status=$? |
|
|
11214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11215 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11216 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11217 | (eval $ac_try) 2>&5 |
|
|
11218 | ac_status=$? |
|
|
11219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11220 | (exit $ac_status); }; }; then |
|
|
11221 | rxvt_cv_path_utmpx=`cat conftestval` |
|
|
11222 | else |
|
|
11223 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11224 | echo "$as_me: failed program was:" >&5 |
|
|
11225 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11226 | |
|
|
11227 | ( exit $ac_status ) |
|
|
11228 | rxvt_cv_path_utmpx= |
|
|
11229 | fi |
|
|
11230 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11231 | fi |
|
|
11232 | fi |
|
|
11233 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
|
|
11234 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
|
|
11235 | if test x$rxvt_cv_path_utmpx != x; then |
|
|
11236 | |
|
|
11237 | cat >>confdefs.h <<_ACEOF |
|
|
11238 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
|
|
11239 | _ACEOF |
|
|
11240 | |
|
|
11241 | fi |
|
|
11242 | |
|
|
11243 | |
|
|
11244 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
|
|
11245 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
|
|
11246 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
|
|
11247 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11248 | else |
|
|
11249 | if test "$cross_compiling" = yes; then |
|
|
11250 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
|
|
11251 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
|
|
11252 | else |
|
|
11253 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11254 | /* confdefs.h. */ |
|
|
11255 | _ACEOF |
|
|
11256 | cat confdefs.h >>conftest.$ac_ext |
|
|
11257 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11258 | /* end confdefs.h. */ |
|
|
11259 | #include <stdio.h> |
|
|
11260 | #include <sys/types.h> |
|
|
11261 | #ifdef HAVE_UTMP_H |
|
|
11262 | #include <utmp.h> |
|
|
11263 | #endif |
|
|
11264 | #include <errno.h> |
|
|
11265 | main() |
|
|
11266 | { |
|
|
11267 | char **w, *wtmplist[] = { |
|
|
11268 | "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; |
|
|
11269 | FILE *a, *f=fopen("conftestval", "w"); |
|
|
11270 | if (!f) exit(1); |
|
|
11271 | #ifdef WTMP_FILE |
|
|
11272 | fprintf(f, "%s\n", WTMP_FILE); |
|
|
11273 | exit(0); |
|
|
11274 | #endif |
|
|
11275 | #ifdef _PATH_WTMP |
|
|
11276 | fprintf(f, "%s\n", _PATH_WTMP); |
|
|
11277 | exit(0); |
|
|
11278 | #endif |
|
|
11279 | for (w = wtmplist; *w; w++) { |
|
|
11280 | if ((a = fopen(*w, "r")) != NULL || errno == EACCES) { |
|
|
11281 | fprintf(f, "%s\n", *w); |
|
|
11282 | exit(0); |
|
|
11283 | } |
|
|
11284 | } |
|
|
11285 | exit(0); |
|
|
11286 | } |
|
|
11287 | _ACEOF |
|
|
11288 | rm -f conftest$ac_exeext |
|
|
11289 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11290 | (eval $ac_link) 2>&5 |
|
|
11291 | ac_status=$? |
|
|
11292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11293 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11294 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11295 | (eval $ac_try) 2>&5 |
|
|
11296 | ac_status=$? |
|
|
11297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11298 | (exit $ac_status); }; }; then |
|
|
11299 | rxvt_cv_path_wtmp=`cat conftestval` |
|
|
11300 | else |
|
|
11301 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11302 | echo "$as_me: failed program was:" >&5 |
|
|
11303 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11304 | |
|
|
11305 | ( exit $ac_status ) |
|
|
11306 | rxvt_cv_path_wtmp= |
|
|
11307 | fi |
|
|
11308 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11309 | fi |
|
|
11310 | fi |
|
|
11311 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
|
|
11312 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
|
|
11313 | if test x$rxvt_cv_path_wtmp != x; then |
|
|
11314 | |
|
|
11315 | cat >>confdefs.h <<_ACEOF |
|
|
11316 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
|
|
11317 | _ACEOF |
|
|
11318 | |
|
|
11319 | fi |
|
|
11320 | |
|
|
11321 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
|
|
11322 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
|
|
11323 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
|
|
11324 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11325 | else |
|
|
11326 | if test "$cross_compiling" = yes; then |
|
|
11327 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
|
|
11328 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
|
|
11329 | else |
|
|
11330 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11331 | /* confdefs.h. */ |
|
|
11332 | _ACEOF |
|
|
11333 | cat confdefs.h >>conftest.$ac_ext |
|
|
11334 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11335 | /* end confdefs.h. */ |
|
|
11336 | #include <stdio.h> |
|
|
11337 | #ifdef HAVE_UTMPX_H |
|
|
11338 | #include <utmpx.h> |
|
|
11339 | #endif |
|
|
11340 | #include <errno.h> |
|
|
11341 | main() |
|
|
11342 | { |
|
|
11343 | char **w, *wtmplist[] = { |
|
|
11344 | "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; |
|
|
11345 | FILE *a, *f=fopen("conftestval", "w"); |
|
|
11346 | if (!f) exit(1); |
|
|
11347 | #ifdef WTMPX_FILE |
|
|
11348 | fprintf(f, "%s\n", WTMPX_FILE); |
|
|
11349 | exit(0); |
|
|
11350 | #endif |
|
|
11351 | #ifdef _PATH_WTMPX |
|
|
11352 | fprintf(f, "%s\n", _PATH_WTMPX); |
|
|
11353 | exit(0); |
|
|
11354 | #endif |
|
|
11355 | for (w = wtmplist; *w; w++) { |
|
|
11356 | if ((a = fopen(*w, "r")) != NULL || errno == EACCES) { |
|
|
11357 | fprintf(f, "%s\n", *w); |
|
|
11358 | exit(0); |
|
|
11359 | } |
|
|
11360 | } |
|
|
11361 | exit(0); |
|
|
11362 | } |
|
|
11363 | _ACEOF |
|
|
11364 | rm -f conftest$ac_exeext |
|
|
11365 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11366 | (eval $ac_link) 2>&5 |
|
|
11367 | ac_status=$? |
|
|
11368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11369 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11370 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11371 | (eval $ac_try) 2>&5 |
|
|
11372 | ac_status=$? |
|
|
11373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11374 | (exit $ac_status); }; }; then |
|
|
11375 | rxvt_cv_path_wtmpx=`cat conftestval` |
|
|
11376 | else |
|
|
11377 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11378 | echo "$as_me: failed program was:" >&5 |
|
|
11379 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11380 | |
|
|
11381 | ( exit $ac_status ) |
|
|
11382 | rxvt_cv_path_wtmpx= |
|
|
11383 | fi |
|
|
11384 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11385 | fi |
|
|
11386 | fi |
|
|
11387 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
|
|
11388 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
|
|
11389 | if test x$rxvt_cv_path_wtmpx != x; then |
|
|
11390 | |
|
|
11391 | cat >>confdefs.h <<_ACEOF |
|
|
11392 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
|
|
11393 | _ACEOF |
|
|
11394 | |
|
|
11395 | fi |
|
|
11396 | |
|
|
11397 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
|
|
11398 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
|
|
11399 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
|
|
11400 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11401 | else |
|
|
11402 | if test "$cross_compiling" = yes; then |
|
|
11403 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
|
|
11404 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
|
|
11405 | else |
|
|
11406 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11407 | /* confdefs.h. */ |
|
|
11408 | _ACEOF |
|
|
11409 | cat confdefs.h >>conftest.$ac_ext |
|
|
11410 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11411 | /* end confdefs.h. */ |
|
|
11412 | #include <stdio.h> |
|
|
11413 | #include <sys/types.h> |
|
|
11414 | #ifdef HAVE_UTMPX_H |
|
|
11415 | #include <utmpx.h> |
|
|
11416 | #elif defined(HAVE_UTMP_H) |
|
|
11417 | #include <utmp.h> |
|
|
11418 | #endif |
|
|
11419 | #ifdef HAVE_LASTLOG_H |
|
|
11420 | #include <lastlog.h> |
|
|
11421 | #endif |
|
|
11422 | #include <errno.h> |
|
|
11423 | main() |
|
|
11424 | { |
|
|
11425 | char **w, *lastloglist[] = { "/var/log/lastlog", NULL }; |
|
|
11426 | FILE *a, *f=fopen("conftestval", "w"); |
|
|
11427 | if (!f) exit(1); |
|
|
11428 | #ifdef LASTLOG_FILE |
|
|
11429 | fprintf(f, "%s\n", LASTLOG_FILE); |
|
|
11430 | exit(0); |
|
|
11431 | #endif |
|
|
11432 | #ifdef _PATH_LASTLOG |
|
|
11433 | fprintf(f, "%s\n", _PATH_LASTLOG); |
|
|
11434 | exit(0); |
|
|
11435 | #endif |
|
|
11436 | for (w = lastloglist; *w; w++) { |
|
|
11437 | if ((a = fopen(*w, "r")) != NULL || errno == EACCES) { |
|
|
11438 | fprintf(f, "%s\n", *w); |
|
|
11439 | exit(0); |
|
|
11440 | } |
|
|
11441 | } |
|
|
11442 | exit(0); |
|
|
11443 | } |
|
|
11444 | _ACEOF |
|
|
11445 | rm -f conftest$ac_exeext |
|
|
11446 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11447 | (eval $ac_link) 2>&5 |
|
|
11448 | ac_status=$? |
|
|
11449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11450 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11451 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11452 | (eval $ac_try) 2>&5 |
|
|
11453 | ac_status=$? |
|
|
11454 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11455 | (exit $ac_status); }; }; then |
|
|
11456 | rxvt_cv_path_lastlog=`cat conftestval` |
|
|
11457 | else |
|
|
11458 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11459 | echo "$as_me: failed program was:" >&5 |
|
|
11460 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11461 | |
|
|
11462 | ( exit $ac_status ) |
|
|
11463 | rxvt_cv_path_lastlog= |
|
|
11464 | fi |
|
|
11465 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11466 | fi |
|
|
11467 | fi |
|
|
11468 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
|
|
11469 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
|
|
11470 | if test x$rxvt_cv_path_lastlog != x; then |
|
|
11471 | |
|
|
11472 | cat >>confdefs.h <<_ACEOF |
|
|
11473 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
|
|
11474 | _ACEOF |
|
|
11475 | |
|
|
11476 | if test -d "$rxvt_cv_path_lastlog"; then |
|
|
11477 | |
|
|
11478 | cat >>confdefs.h <<\_ACEOF |
|
|
11479 | #define LASTLOG_IS_DIR 1 |
|
|
11480 | _ACEOF |
|
|
11481 | |
|
|
11482 | fi |
|
|
11483 | fi |
|
|
11484 | |
|
|
11485 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
|
|
11486 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
|
|
11487 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
|
|
11488 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11489 | else |
|
|
11490 | if test "$cross_compiling" = yes; then |
|
|
11491 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
11492 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
|
|
11493 | else |
|
|
11494 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11495 | /* confdefs.h. */ |
|
|
11496 | _ACEOF |
|
|
11497 | cat confdefs.h >>conftest.$ac_ext |
|
|
11498 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11499 | /* end confdefs.h. */ |
|
|
11500 | #include <stdio.h> |
|
|
11501 | #ifdef HAVE_UTMPX_H |
|
|
11502 | #include <utmpx.h> |
|
|
11503 | #endif |
|
|
11504 | #include <errno.h> |
|
|
11505 | main() |
|
|
11506 | { |
|
|
11507 | char **w, *wtmplist[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL }; |
|
|
11508 | FILE *a, *f=fopen("conftestval", "w"); |
|
|
11509 | if (!f) exit(1); |
|
|
11510 | #ifdef LASTLOGX_FILE |
|
|
11511 | fprintf(f, "%s\n", LASTLOGX_FILE); |
|
|
11512 | exit(0); |
|
|
11513 | #endif |
|
|
11514 | #ifdef _PATH_LASTLOGX |
|
|
11515 | fprintf(f, "%s\n", _PATH_LASTLOGX); |
|
|
11516 | exit(0); |
|
|
11517 | #endif |
|
|
11518 | for (w = wtmplist; *w; w++) { |
|
|
11519 | if ((a = fopen(*w, "r")) != NULL || errno == EACCES) { |
|
|
11520 | fprintf(f, "%s\n", *w); |
|
|
11521 | exit(0); |
|
|
11522 | } |
|
|
11523 | } |
|
|
11524 | exit(0); |
|
|
11525 | } |
|
|
11526 | _ACEOF |
|
|
11527 | rm -f conftest$ac_exeext |
|
|
11528 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11529 | (eval $ac_link) 2>&5 |
|
|
11530 | ac_status=$? |
|
|
11531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11532 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11533 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11534 | (eval $ac_try) 2>&5 |
|
|
11535 | ac_status=$? |
|
|
11536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11537 | (exit $ac_status); }; }; then |
|
|
11538 | rxvt_cv_path_lastlogx=`cat conftestval` |
|
|
11539 | else |
|
|
11540 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11541 | echo "$as_me: failed program was:" >&5 |
|
|
11542 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11543 | |
|
|
11544 | ( exit $ac_status ) |
|
|
11545 | rxvt_cv_path_lastlogx= |
|
|
11546 | fi |
|
|
11547 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11548 | fi |
|
|
11549 | fi |
|
|
11550 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
|
|
11551 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
|
|
11552 | if test x$rxvt_cv_path_lastlogx != x; then |
|
|
11553 | |
|
|
11554 | cat >>confdefs.h <<_ACEOF |
|
|
11555 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
|
|
11556 | _ACEOF |
|
|
11557 | |
|
|
11558 | fi |
|
|
11559 | |
10187 | |
11560 | |
10188 | |
11561 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
10189 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11562 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
10190 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11563 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
10191 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
… | |
… | |
11830 | #define HAVE_NL_LANGINFO 1 |
10458 | #define HAVE_NL_LANGINFO 1 |
11831 | _ACEOF |
10459 | _ACEOF |
11832 | |
10460 | |
11833 | fi |
10461 | fi |
11834 | |
10462 | |
11835 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
10463 | SCM_RIGHTS_CHECK |
11836 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
|
|
11837 | if test "${rxvt_can_pass_fds+set}" = set; then |
|
|
11838 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11839 | else |
|
|
11840 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11841 | /* confdefs.h. */ |
|
|
11842 | _ACEOF |
|
|
11843 | cat confdefs.h >>conftest.$ac_ext |
|
|
11844 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11845 | /* end confdefs.h. */ |
|
|
11846 | |
|
|
11847 | #include <sys/types.h> |
|
|
11848 | #include <sys/socket.h> |
|
|
11849 | |
|
|
11850 | int |
|
|
11851 | main () |
|
|
11852 | { |
|
|
11853 | |
|
|
11854 | { |
|
|
11855 | msghdr msg; |
|
|
11856 | iovec iov; |
|
|
11857 | char buf [100]; |
|
|
11858 | char data = 0; |
|
|
11859 | |
|
|
11860 | iov.iov_base = &data; |
|
|
11861 | iov.iov_len = 1; |
|
|
11862 | |
|
|
11863 | msg.msg_iov = &iov; |
|
|
11864 | msg.msg_iovlen = 1; |
|
|
11865 | msg.msg_control = buf; |
|
|
11866 | msg.msg_controllen = sizeof buf; |
|
|
11867 | |
|
|
11868 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
11869 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
11870 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
11871 | cmsg->cmsg_len = 100; |
|
|
11872 | |
|
|
11873 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
11874 | |
|
|
11875 | return sendmsg (3, &msg, 0); |
|
|
11876 | } |
|
|
11877 | |
|
|
11878 | ; |
|
|
11879 | return 0; |
|
|
11880 | } |
|
|
11881 | _ACEOF |
|
|
11882 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11883 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11884 | (eval $ac_link) 2>conftest.er1 |
|
|
11885 | ac_status=$? |
|
|
11886 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11887 | rm -f conftest.er1 |
|
|
11888 | cat conftest.err >&5 |
|
|
11889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11890 | (exit $ac_status); } && |
|
|
11891 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11892 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11893 | (eval $ac_try) 2>&5 |
|
|
11894 | ac_status=$? |
|
|
11895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11896 | (exit $ac_status); }; } && |
|
|
11897 | { ac_try='test -s conftest$ac_exeext' |
|
|
11898 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11899 | (eval $ac_try) 2>&5 |
|
|
11900 | ac_status=$? |
|
|
11901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11902 | (exit $ac_status); }; }; then |
|
|
11903 | rxvt_can_pass_fds=yes |
|
|
11904 | else |
|
|
11905 | echo "$as_me: failed program was:" >&5 |
|
|
11906 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11907 | |
|
|
11908 | rxvt_can_pass_fds=no |
|
|
11909 | fi |
|
|
11910 | rm -f conftest.err conftest.$ac_objext \ |
|
|
11911 | conftest$ac_exeext conftest.$ac_ext |
|
|
11912 | fi |
|
|
11913 | echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 |
|
|
11914 | echo "${ECHO_T}$rxvt_can_pass_fds" >&6 |
|
|
11915 | if test x$rxvt_can_pass_fds = xyes; then |
|
|
11916 | |
|
|
11917 | cat >>confdefs.h <<\_ACEOF |
|
|
11918 | #define HAVE_UNIX_FDPASS 1 |
|
|
11919 | _ACEOF |
|
|
11920 | |
|
|
11921 | fi |
|
|
11922 | |
10464 | |
11923 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
10465 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11924 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
10466 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11925 | if test "${rxvt_broken_ximcb+set}" = set; then |
10467 | if test "${rxvt_broken_ximcb+set}" = set; then |
11926 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10468 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11976 | #define XIMCB_PROTO_BROKEN 1 |
10518 | #define XIMCB_PROTO_BROKEN 1 |
11977 | _ACEOF |
10519 | _ACEOF |
11978 | |
10520 | |
11979 | fi |
10521 | fi |
11980 | |
10522 | |
11981 | if test x$rxvt_cv_func_posix_openpt = xno; then |
10523 | PTY_CHECK |
|
|
10524 | |
|
|
10525 | if test x$support_xft = xyes; then |
|
|
10526 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
10527 | set dummy pkg-config; ac_word=$2 |
11982 | echo "$as_me:$LINENO: checking for openpty" >&5 |
10528 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
11983 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
10529 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
11984 | if test "${ac_cv_func_openpty+set}" = set; then |
10530 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
11985 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10531 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11986 | else |
10532 | else |
11987 | cat >conftest.$ac_ext <<_ACEOF |
10533 | case $PKG_CONFIG in |
11988 | /* confdefs.h. */ |
10534 | [\\/]* | ?:[\\/]*) |
11989 | _ACEOF |
10535 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
11990 | cat confdefs.h >>conftest.$ac_ext |
10536 | ;; |
11991 | cat >>conftest.$ac_ext <<_ACEOF |
10537 | *) |
11992 | /* end confdefs.h. */ |
10538 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11993 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
10539 | for as_dir in $PATH |
11994 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
10540 | do |
11995 | #define openpty innocuous_openpty |
10541 | IFS=$as_save_IFS |
|
|
10542 | test -z "$as_dir" && as_dir=. |
|
|
10543 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
10544 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
10545 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
10546 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
10547 | break 2 |
|
|
10548 | fi |
|
|
10549 | done |
|
|
10550 | done |
11996 | |
10551 | |
11997 | /* System header to define __stub macros and hopefully few prototypes, |
10552 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
11998 | which can conflict with char openpty (); below. |
10553 | ;; |
11999 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
10554 | esac |
12000 | <limits.h> exists even on freestanding compilers. */ |
10555 | fi |
|
|
10556 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
12001 | |
10557 | |
12002 | #ifdef __STDC__ |
10558 | if test -n "$PKG_CONFIG"; then |
12003 | # include <limits.h> |
10559 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
10560 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
12004 | #else |
10561 | else |
12005 | # include <assert.h> |
|
|
12006 | #endif |
|
|
12007 | |
|
|
12008 | #undef openpty |
|
|
12009 | |
|
|
12010 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12011 | #ifdef __cplusplus |
|
|
12012 | extern "C" |
|
|
12013 | { |
|
|
12014 | #endif |
|
|
12015 | /* We use char because int might match the return type of a gcc2 |
|
|
12016 | builtin and then its argument prototype would still apply. */ |
|
|
12017 | char openpty (); |
|
|
12018 | /* The GNU C library defines this for functions which it implements |
|
|
12019 | to always fail with ENOSYS. Some functions are actually named |
|
|
12020 | something starting with __ and the normal name is an alias. */ |
|
|
12021 | #if defined (__stub_openpty) || defined (__stub___openpty) |
|
|
12022 | choke me |
|
|
12023 | #else |
|
|
12024 | char (*f) () = openpty; |
|
|
12025 | #endif |
|
|
12026 | #ifdef __cplusplus |
|
|
12027 | } |
|
|
12028 | #endif |
|
|
12029 | |
|
|
12030 | int |
|
|
12031 | main () |
|
|
12032 | { |
|
|
12033 | return f != openpty; |
|
|
12034 | ; |
|
|
12035 | return 0; |
|
|
12036 | } |
|
|
12037 | _ACEOF |
|
|
12038 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12039 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12040 | (eval $ac_link) 2>conftest.er1 |
|
|
12041 | ac_status=$? |
|
|
12042 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12043 | rm -f conftest.er1 |
|
|
12044 | cat conftest.err >&5 |
|
|
12045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12046 | (exit $ac_status); } && |
|
|
12047 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12048 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12049 | (eval $ac_try) 2>&5 |
|
|
12050 | ac_status=$? |
|
|
12051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12052 | (exit $ac_status); }; } && |
|
|
12053 | { ac_try='test -s conftest$ac_exeext' |
|
|
12054 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12055 | (eval $ac_try) 2>&5 |
|
|
12056 | ac_status=$? |
|
|
12057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12058 | (exit $ac_status); }; }; then |
|
|
12059 | ac_cv_func_openpty=yes |
|
|
12060 | else |
|
|
12061 | echo "$as_me: failed program was:" >&5 |
|
|
12062 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12063 | |
|
|
12064 | ac_cv_func_openpty=no |
|
|
12065 | fi |
|
|
12066 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12067 | conftest$ac_exeext conftest.$ac_ext |
|
|
12068 | fi |
|
|
12069 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
10562 | echo "$as_me:$LINENO: result: no" >&5 |
12070 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
10563 | echo "${ECHO_T}no" >&6 |
12071 | if test $ac_cv_func_openpty = yes; then |
10564 | fi |
12072 | : |
10565 | |
12073 | else |
10566 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
10567 | set dummy xft-config; ac_word=$2 |
12074 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
10568 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12075 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
10569 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
12076 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
10570 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
12077 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10571 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12078 | else |
10572 | else |
12079 | ac_check_lib_save_LIBS=$LIBS |
10573 | case $XFT_CONFIG in |
12080 | LIBS="-lutil $LIBS" |
10574 | [\\/]* | ?:[\\/]*) |
12081 | cat >conftest.$ac_ext <<_ACEOF |
10575 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
12082 | /* confdefs.h. */ |
|
|
12083 | _ACEOF |
|
|
12084 | cat confdefs.h >>conftest.$ac_ext |
|
|
12085 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12086 | /* end confdefs.h. */ |
|
|
12087 | |
|
|
12088 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12089 | #ifdef __cplusplus |
|
|
12090 | extern "C" |
|
|
12091 | #endif |
|
|
12092 | /* We use char because int might match the return type of a gcc2 |
|
|
12093 | builtin and then its argument prototype would still apply. */ |
|
|
12094 | char openpty (); |
|
|
12095 | int |
|
|
12096 | main () |
|
|
12097 | { |
|
|
12098 | openpty (); |
|
|
12099 | ; |
10576 | ;; |
12100 | return 0; |
10577 | *) |
12101 | } |
10578 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12102 | _ACEOF |
10579 | for as_dir in $PATH |
12103 | rm -f conftest.$ac_objext conftest$ac_exeext |
10580 | do |
12104 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10581 | IFS=$as_save_IFS |
12105 | (eval $ac_link) 2>conftest.er1 |
10582 | test -z "$as_dir" && as_dir=. |
12106 | ac_status=$? |
10583 | for ac_exec_ext in '' $ac_executable_extensions; do |
12107 | grep -v '^ *+' conftest.er1 >conftest.err |
10584 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
12108 | rm -f conftest.er1 |
10585 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
12109 | cat conftest.err >&5 |
10586 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
12110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10587 | break 2 |
12111 | (exit $ac_status); } && |
10588 | fi |
12112 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10589 | done |
12113 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10590 | done |
12114 | (eval $ac_try) 2>&5 |
|
|
12115 | ac_status=$? |
|
|
12116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12117 | (exit $ac_status); }; } && |
|
|
12118 | { ac_try='test -s conftest$ac_exeext' |
|
|
12119 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12120 | (eval $ac_try) 2>&5 |
|
|
12121 | ac_status=$? |
|
|
12122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12123 | (exit $ac_status); }; }; then |
|
|
12124 | ac_cv_lib_util_openpty=yes |
|
|
12125 | else |
|
|
12126 | echo "$as_me: failed program was:" >&5 |
|
|
12127 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12128 | |
10591 | |
12129 | ac_cv_lib_util_openpty=no |
10592 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
10593 | ;; |
|
|
10594 | esac |
12130 | fi |
10595 | fi |
12131 | rm -f conftest.err conftest.$ac_objext \ |
10596 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
12132 | conftest$ac_exeext conftest.$ac_ext |
|
|
12133 | LIBS=$ac_check_lib_save_LIBS |
|
|
12134 | fi |
|
|
12135 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12136 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12137 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12138 | LIBS="$LIBS -lutil" |
|
|
12139 | fi |
|
|
12140 | |
10597 | |
12141 | fi |
10598 | if test -n "$XFT_CONFIG"; then |
12142 | |
10599 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
12143 | fi |
10600 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
12144 | |
|
|
12145 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
|
|
12146 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
|
|
12147 | if test "${rxvt_cv_ptys+set}" = set; then |
|
|
12148 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12149 | else |
10601 | else |
12150 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
10602 | echo "$as_me:$LINENO: result: no" >&5 |
12151 | rxvt_cv_ptys=OPENPTY |
10603 | echo "${ECHO_T}no" >&6 |
12152 | else if test x$ac_cv_func_posix_openpt = xyes; then |
10604 | fi |
12153 | rxvt_cv_ptys=POSIX |
10605 | |
12154 | else if test x$ac_cv_func__getpty = xyes; then |
10606 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12155 | rxvt_cv_ptys=SGI4 |
10607 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12156 | else if test -c /dev/ttyp20; then |
10608 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12157 | rxvt_cv_ptys=SCO |
|
|
12158 | else if test -c /dev/ptym/clone; then |
|
|
12159 | rxvt_cv_ptys=HPUX |
|
|
12160 | else if test -c /dev/ptc -a -c /dev/pts; then |
|
|
12161 | rxvt_cv_ptys=PTC |
|
|
12162 | else if test -c /dev/ptc -a -d /dev/pts; then |
|
|
12163 | rxvt_cv_ptys=PTC |
|
|
12164 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
|
|
12165 | rxvt_cv_ptys=STREAMS |
|
|
12166 | else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then |
|
|
12167 | rxvt_cv_ptys=STREAMS |
|
|
12168 | else |
10609 | else |
12169 | rxvt_cv_ptys=BSD |
10610 | if test $XFT_CONFIG != no; then |
12170 | fi |
10611 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
12171 | fi |
10612 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
12172 | fi |
10613 | fi |
12173 | fi |
10614 | fi |
12174 | fi |
|
|
12175 | fi |
|
|
12176 | fi |
|
|
12177 | fi |
|
|
12178 | fi |
|
|
12179 | |
|
|
12180 | fi |
|
|
12181 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
|
|
12182 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
|
|
12183 | |
|
|
12184 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12185 | |
|
|
12186 | cat >>confdefs.h <<\_ACEOF |
|
|
12187 | #define PTYS_ARE_POSIX 1 |
|
|
12188 | _ACEOF |
|
|
12189 | |
|
|
12190 | fi |
|
|
12191 | if test x$rxvt_cv_ptys = xOPENPTY; then |
|
|
12192 | |
|
|
12193 | cat >>confdefs.h <<\_ACEOF |
|
|
12194 | #define PTYS_ARE_OPENPTY 1 |
|
|
12195 | _ACEOF |
|
|
12196 | |
|
|
12197 | fi |
|
|
12198 | if test x$rxvt_cv_ptys = xSCO; then |
|
|
12199 | |
|
|
12200 | cat >>confdefs.h <<\_ACEOF |
|
|
12201 | #define PTYS_ARE_NUMERIC 1 |
|
|
12202 | _ACEOF |
|
|
12203 | |
|
|
12204 | fi |
|
|
12205 | if test x$rxvt_cv_ptys = xSTREAMS; then |
|
|
12206 | |
|
|
12207 | cat >>confdefs.h <<\_ACEOF |
|
|
12208 | #define PTYS_ARE_PTMX 1 |
|
|
12209 | _ACEOF |
|
|
12210 | |
|
|
12211 | fi |
|
|
12212 | if test x$rxvt_cv_ptys = xPTC; then |
|
|
12213 | |
|
|
12214 | cat >>confdefs.h <<\_ACEOF |
|
|
12215 | #define PTYS_ARE_PTC 1 |
|
|
12216 | _ACEOF |
|
|
12217 | |
|
|
12218 | fi |
|
|
12219 | if test x$rxvt_cv_ptys = xSGI4; then |
|
|
12220 | |
|
|
12221 | cat >>confdefs.h <<\_ACEOF |
|
|
12222 | #define PTYS_ARE__GETPTY 1 |
|
|
12223 | _ACEOF |
|
|
12224 | |
|
|
12225 | fi |
|
|
12226 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12227 | |
|
|
12228 | cat >>confdefs.h <<\_ACEOF |
|
|
12229 | #define PTYS_ARE_GETPT 1 |
|
|
12230 | _ACEOF |
|
|
12231 | |
|
|
12232 | fi |
|
|
12233 | if test x$rxvt_cv_ptys = xHPUX; then |
|
|
12234 | |
|
|
12235 | cat >>confdefs.h <<\_ACEOF |
|
|
12236 | #define PTYS_ARE_CLONE 1 |
|
|
12237 | _ACEOF |
|
|
12238 | |
|
|
12239 | fi |
|
|
12240 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
|
|
12241 | |
|
|
12242 | cat >>confdefs.h <<\_ACEOF |
|
|
12243 | #define PTYS_ARE_SEARCHED 1 |
|
|
12244 | _ACEOF |
|
|
12245 | |
|
|
12246 | fi |
|
|
12247 | |
|
|
12248 | |
|
|
12249 | { echo "$as_me:$LINENO: checking for pty ranges..." >&5 |
|
|
12250 | echo "$as_me: checking for pty ranges..." >&6;} |
|
|
12251 | ptys=`echo /dev/pty??` |
|
|
12252 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
|
|
12253 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
|
|
12254 | if test x$pch1 != x; then |
|
|
12255 | |
|
|
12256 | cat >>confdefs.h <<_ACEOF |
|
|
12257 | #define PTYCHAR1 "$pch1" |
|
|
12258 | _ACEOF |
|
|
12259 | |
|
|
12260 | fi |
|
|
12261 | if test x$pch2 != x; then |
|
|
12262 | |
|
|
12263 | cat >>confdefs.h <<_ACEOF |
|
|
12264 | #define PTYCHAR2 "$pch2" |
|
|
12265 | _ACEOF |
|
|
12266 | |
|
|
12267 | fi |
|
|
12268 | |
|
|
12269 | if test x$support_xft = xyes; then |
|
|
12270 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
12271 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
12272 | |
10615 | |
12273 | |
10616 | |
12274 | for ac_header in X11/Xft/Xft.h |
10617 | for ac_header in X11/Xft/Xft.h |
12275 | do |
10618 | do |
12276 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10619 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
… | |
… | |
12559 | cat >>confdefs.h <<\_ACEOF |
10902 | cat >>confdefs.h <<\_ACEOF |
12560 | #define SELECTION_SCROLLING 1 |
10903 | #define SELECTION_SCROLLING 1 |
12561 | _ACEOF |
10904 | _ACEOF |
12562 | |
10905 | |
12563 | fi |
10906 | fi |
12564 | if test x$support_menubar = xyes; then |
|
|
12565 | |
|
|
12566 | cat >>confdefs.h <<\_ACEOF |
|
|
12567 | #define MENUBAR 1 |
|
|
12568 | _ACEOF |
|
|
12569 | |
|
|
12570 | fi |
|
|
12571 | if test x$support_frills = xyes; then |
10907 | if test x$support_frills = xyes; then |
12572 | |
10908 | |
12573 | cat >>confdefs.h <<\_ACEOF |
10909 | cat >>confdefs.h <<\_ACEOF |
12574 | #define ENABLE_FRILLS 1 |
10910 | #define ENABLE_FRILLS 1 |
12575 | _ACEOF |
10911 | _ACEOF |
… | |
… | |
12891 | PERL_O=rxvtperl.o |
11227 | PERL_O=rxvtperl.o |
12892 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
11228 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12893 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
11229 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12894 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
11230 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12895 | else |
11231 | else |
12896 | support_perl=no |
|
|
12897 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
11232 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
12898 | echo "${ECHO_T}no, unable to link" >&6 |
11233 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
11234 | { (exit 1); exit 1; }; } |
12899 | fi |
11235 | fi |
12900 | else |
11236 | else |
12901 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
11237 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
12902 | echo "$as_me: error: no working perl found" >&2;} |
11238 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
12903 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
11239 | { (exit 1); exit 1; }; } |
12904 | support_perl=no |
|
|
12905 | fi |
11240 | fi |
12906 | fi |
11241 | fi |
12907 | |
11242 | |
12908 | |
11243 | |
12909 | |
11244 | |
… | |
… | |
12935 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
11270 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12936 | fi |
11271 | fi |
12937 | |
11272 | |
12938 | |
11273 | |
12939 | |
11274 | |
12940 | |
|
|
12941 | |
|
|
12942 | MCOMMON=./autoconf/Make.common |
|
|
12943 | |
11275 | |
12944 | |
11276 | |
12945 | test "$program_prefix" != NONE && |
11277 | test "$program_prefix" != NONE && |
12946 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
11278 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12947 | # Use a double $ so make ignores it. |
11279 | # Use a double $ so make ignores it. |
… | |
… | |
13023 | include_time_h="#include <time.h>" |
11355 | include_time_h="#include <time.h>" |
13024 | else |
11356 | else |
13025 | include_time_h="/* #include <time.h> */" |
11357 | include_time_h="/* #include <time.h> */" |
13026 | fi |
11358 | fi |
13027 | |
11359 | |
13028 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
11360 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
13029 | |
11361 | |
13030 | cat >confcache <<\_ACEOF |
11362 | cat >confcache <<\_ACEOF |
13031 | # This file is a shell script that caches the results of configure |
11363 | # This file is a shell script that caches the results of configure |
13032 | # tests run on this system so they can be shared between configure |
11364 | # tests run on this system so they can be shared between configure |
13033 | # scripts and configure runs, see configure's option --config-cache. |
11365 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13550 | cat >>$CONFIG_STATUS <<\_ACEOF |
11882 | cat >>$CONFIG_STATUS <<\_ACEOF |
13551 | for ac_config_target in $ac_config_targets |
11883 | for ac_config_target in $ac_config_targets |
13552 | do |
11884 | do |
13553 | case "$ac_config_target" in |
11885 | case "$ac_config_target" in |
13554 | # Handling of arguments. |
11886 | # Handling of arguments. |
13555 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13556 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
11887 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13557 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
11888 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13558 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
11889 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13559 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
11890 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13560 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
11891 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
13561 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
11892 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13562 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
11893 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13563 | { (exit 1); exit 1; }; };; |
11894 | { (exit 1); exit 1; }; };; |
13564 | esac |
11895 | esac |
13565 | done |
11896 | done |
… | |
… | |
13666 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
11997 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13667 | s,@CPP@,$CPP,;t t |
11998 | s,@CPP@,$CPP,;t t |
13668 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
11999 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13669 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
12000 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13670 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
12001 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13671 | s,@AWK@,$AWK,;t t |
12002 | s,@EGREP@,$EGREP,;t t |
13672 | s,@LINKER@,$LINKER,;t t |
12003 | s,@LINKER@,$LINKER,;t t |
13673 | s,@CXXCPP@,$CXXCPP,;t t |
|
|
13674 | s,@EGREP@,$EGREP,;t t |
|
|
13675 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
12004 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13676 | s,@RXVTNAME@,$RXVTNAME,;t t |
12005 | s,@RXVTNAME@,$RXVTNAME,;t t |
13677 | s,@MV@,$MV,;t t |
12006 | s,@MV@,$MV,;t t |
13678 | s,@RM@,$RM,;t t |
12007 | s,@RM@,$RM,;t t |
13679 | s,@CP@,$CP,;t t |
12008 | s,@CP@,$CP,;t t |
13680 | s,@LN@,$LN,;t t |
12009 | s,@LN@,$LN,;t t |
13681 | s,@SED@,$SED,;t t |
12010 | s,@SED@,$SED,;t t |
13682 | s,@ECHO@,$ECHO,;t t |
12011 | s,@ECHO@,$ECHO,;t t |
13683 | s,@CMP@,$CMP,;t t |
12012 | s,@CMP@,$CMP,;t t |
13684 | s,@TBL@,$TBL,;t t |
|
|
13685 | s,@TIC@,$TIC,;t t |
12013 | s,@TIC@,$TIC,;t t |
|
|
12014 | s,@CXXCPP@,$CXXCPP,;t t |
13686 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
12015 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13687 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
12016 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13688 | s,@X_LIBS@,$X_LIBS,;t t |
12017 | s,@X_LIBS@,$X_LIBS,;t t |
13689 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
12018 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13690 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
12019 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
… | |
… | |
13694 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
12023 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13695 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
12024 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13696 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
12025 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13697 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
12026 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13698 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
12027 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
12028 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
|
|
12029 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
13699 | s,@PERL@,$PERL,;t t |
12030 | s,@PERL@,$PERL,;t t |
13700 | s,@PERLLIB@,$PERLLIB,;t t |
12031 | s,@PERLLIB@,$PERLLIB,;t t |
13701 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
12032 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
13702 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
12033 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
13703 | s,@IF_PERL@,$IF_PERL,;t t |
12034 | s,@IF_PERL@,$IF_PERL,;t t |
… | |
… | |
13718 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
12049 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13719 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
12050 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13720 | s,@include_time_h@,$include_time_h,;t t |
12051 | s,@include_time_h@,$include_time_h,;t t |
13721 | s,@LIBOBJS@,$LIBOBJS,;t t |
12052 | s,@LIBOBJS@,$LIBOBJS,;t t |
13722 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
12053 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13723 | /@MCOMMON@/r $MCOMMON |
|
|
13724 | s,@MCOMMON@,,;t t |
|
|
13725 | CEOF |
12054 | CEOF |
13726 | |
12055 | |
13727 | _ACEOF |
12056 | _ACEOF |
13728 | |
12057 | |
13729 | cat >>$CONFIG_STATUS <<\_ACEOF |
12058 | cat >>$CONFIG_STATUS <<\_ACEOF |
… | |
… | |
14239 | fi |
12568 | fi |
14240 | |
12569 | |
14241 | echo " |
12570 | echo " |
14242 | The following are set in config.h |
12571 | The following are set in config.h |
14243 | " |
12572 | " |
14244 | echo " pty/tty type: "$rxvt_cv_ptys |
|
|
14245 | if test x$support_utmp != xyes; then |
12573 | if test x$support_utmp != xyes; then |
14246 | echo " utmp support: disabled" |
12574 | echo " utmp support: disabled" |
14247 | echo |
12575 | echo |
14248 | else |
12576 | else |
14249 | echo " utmp support: enabled |
12577 | echo " utmp support: enabled |
… | |
… | |
14266 | echo " resource class: $RESCLASS" |
12594 | echo " resource class: $RESCLASS" |
14267 | if test x$RESFALLBACK != x; then |
12595 | if test x$RESFALLBACK != x; then |
14268 | echo " resource class fallback: $RESFALLBACK" |
12596 | echo " resource class fallback: $RESFALLBACK" |
14269 | fi |
12597 | fi |
14270 | echo |
12598 | echo |
14271 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
|
|
14272 | echo ".----------------------------------------------------------------." |
|
|
14273 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
|
|
14274 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
|
|
14275 | echo ".----------------------------------------------------------------." |
|
|
14276 | fi |
|
|
14277 | if test x$support_xpm = xneedsmanualspecification; then |
12599 | if test x$support_xpm = xneedsmanualspecification; then |
14278 | echo ".----------------------------------------------------------------." |
12600 | echo ".----------------------------------------------------------------." |
14279 | echo ". WARNING: --enable-xpm-background was specified however the ." |
12601 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14280 | echo ". XPM includes files and libraries could not be found. ." |
12602 | echo ". XPM includes files and libraries could not be found. ." |
14281 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
12603 | echo ". XPM backgrounds are now being DISABLED! If you want ." |