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

Comparing rxvt-unicode/configure (file contents):
Revision 1.55 by root, Tue Oct 25 20:16:41 2005 UTC vs.
Revision 1.106 by ayin, Tue Jun 26 22:08:16 2007 UTC

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
312ac_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 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' 312ac_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 TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS afterimage_config 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 LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS 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'
313ac_subst_files='MCOMMON' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_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
870 NOTE: automatically enabled with --enable-shared 870 NOTE: automatically enabled with --enable-shared
871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
872 --enable-combining enable composition of base and combining characters 872 --enable-combining enable composition of base and combining characters
873 --enable-xft enable xft support on systems that have it 873 --enable-xft enable xft support on systems that have it
874 --enable-font-styles enable bold and italic support 874 --enable-font-styles enable bold and italic support
875 --enable-utmp enable utmp (utmpx) support
876 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 875 --enable-xpm-background enable background pixmaps
876 --enable-afterimage enable integration with libAfterImage for background images
877 --enable-afterstep enable integration with AfterStep window manager
879 --enable-transparency enable transparent backgrounds 878 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 879 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 880 --enable-fading enable colors fading when off focus
882 --enable-menubar enable menubar
883 --enable-rxvt-scroll enable rxvt style scrollbar 881 --enable-rxvt-scroll enable rxvt style scrollbar
884 --enable-next-scroll enable NeXT style scrollbar 882 --enable-next-scroll enable NeXT style scrollbar
885 --enable-xterm-scroll enable Xterm style scrollbar 883 --enable-xterm-scroll enable Xterm style scrollbar
884 --enable-perl enable embedded perl interpreter
886 --enable-plain-scroll enable plain style scrollbar 885 --enable-plain-scroll enable plain style scrollbar
887 --enable-half-shadow use half width/height shadow on rxvt scrollbar
888 --enable-xim XIM (X Input Method) protocol support 886 --enable-xim XIM (X Input Method) protocol support
889 --enable-ttygid enable tty setting to group named "tty"
890 --disable-backspace-key disable handling of the backspace key 887 --disable-backspace-key disable handling of the backspace key
891 --disable-delete-key disable handling of the delete key 888 --disable-delete-key disable handling of the delete key
892 --disable-resources disable all resource checking 889 --disable-resources disable all resource checking
893 --enable-xgetdefault enable resources via X instead of our small version
894 --enable-8bitctrls enable 8 bit control sequences (not recommended) 890 --enable-8bitctrls enable 8 bit control sequences (not recommended)
895 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 891 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
896 --enable-strings enable some replacement system functions
897 --disable-swapscreen disable swap screen support 892 --disable-swapscreen disable swap screen support
898 --enable-iso14755 enable support for extended ISO 14755 modes 893 --enable-iso14755 enable support for extended ISO 14755 modes
899 --enable-frills enable support for rarely used features 894 --enable-frills enable support for rarely used features
900 --enable-24bit enable support for using 24bit visuals if available
901 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 895 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
902 --enable-selectionscrolling enable scrolling during selections 896 --enable-selectionscrolling enable scrolling during selections
903 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 897 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
904 --enable-slipwheeling enable slip wheel scrolling (requires previous) 898 --enable-slipwheeling enable slip wheel scrolling (requires previous)
905 --enable-dmalloc enable Gray Watson's malloc - for debugging use
906 --enable-dlmalloc enable Doug Lea's malloc - for production use
907 NOTE: enable only one malloc package
908 --enable-smart-resize enable smart growth/shrink behaviour 899 --enable-smart-resize enable smart growth/shrink behaviour
909 --enable-text-blink enable blinking text 900 --enable-text-blink enable blinking text
910 --enable-pointer-blank enable pointer blank when typing or inactive pointer 901 --enable-pointer-blank enable pointer blank when typing or inactive pointer
902 --enable-utmp enable utmp (utmpx) support
903 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
904 --enable-lastlog enable lastlog support (requires --enable-utmp)
911 905
912Optional Packages: 906Optional Packages:
913 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 907 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
914 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 908 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
909 --with-afterimage-config=DIR use libAfterImage config script in DIR
915 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 910 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
916 --with-res-name=NAME use this as default resource name (default: urxvt) 911 --with-res-name=NAME use this as default resource name (default: urxvt)
917 --with-res-class=CLASS use this as the resource class (default: URxvt) 912 --with-res-class=CLASS use this as the resource class (default: URxvt)
918 --with-name=NAME set the basename for the installed binaries (default: urxvt) 913 --with-name=NAME set the basename for the installed binaries (default: urxvt)
919 --with-term=NAME set the terminal to NAME (default: rxvt) 914 --with-term=NAME set the terminal to NAME (default: rxvt)
1024 echo 1019 echo
1025 $ac_configure --help 1020 $ac_configure --help
1026 else 1021 else
1027 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1028 fi 1023 fi
1029 cd "$ac_popdir" 1024 cd $ac_popdir
1030 done 1025 done
1031fi 1026fi
1032 1027
1033test -n "$ac_init_help" && exit 0 1028test -n "$ac_init_help" && exit 0
1034if $ac_init_version; then 1029if $ac_init_version; then
1372 1367
1373 1368
1374 1369
1375 1370
1376 1371
1372
1373 ac_config_headers="$ac_config_headers config.h:config.h.in"
1374
1375
1377ac_aux_dir= 1376ac_aux_dir=
1378for ac_dir in autoconf $srcdir/autoconf; do 1377for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1379 if test -f $ac_dir/install-sh; then 1378 if test -f $ac_dir/install-sh; then
1380 ac_aux_dir=$ac_dir 1379 ac_aux_dir=$ac_dir
1381 ac_install_sh="$ac_aux_dir/install-sh -c" 1380 ac_install_sh="$ac_aux_dir/install-sh -c"
1382 break 1381 break
1383 elif test -f $ac_dir/install.sh; then 1382 elif test -f $ac_dir/install.sh; then
1389 ac_install_sh="$ac_aux_dir/shtool install -c" 1388 ac_install_sh="$ac_aux_dir/shtool install -c"
1390 break 1389 break
1391 fi 1390 fi
1392done 1391done
1393if test -z "$ac_aux_dir"; then 1392if test -z "$ac_aux_dir"; then
1394 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 1393 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1395echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} 1394echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1396 { (exit 1); exit 1; }; } 1395 { (exit 1); exit 1; }; }
1397fi 1396fi
1398ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1397ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1399ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1398ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1400ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1399ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1401
1402 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1403
1404 1400
1405# Make sure we can run config.sub. 1401# Make sure we can run config.sub.
1406$ac_config_sub sun4 >/dev/null 2>&1 || 1402$ac_config_sub sun4 >/dev/null 2>&1 ||
1407 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1403 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1408echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1404echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1460VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1456VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1461DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1457DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1462echo "" 1458echo ""
1463echo "configuring for rxvt $VERSION" 1459echo "configuring for rxvt $VERSION"
1464echo "" 1460echo ""
1461
1462orig_CXXFLAGS="$CXXFLAGS"
1465 1463
1466 1464
1467ac_ext=c 1465ac_ext=c
1468ac_cpp='$CPP $CPPFLAGS' 1466ac_cpp='$CPP $CPPFLAGS'
1469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2030 grep -v '^ *+' conftest.er1 >conftest.err 2028 grep -v '^ *+' conftest.er1 >conftest.err
2031 rm -f conftest.er1 2029 rm -f conftest.er1
2032 cat conftest.err >&5 2030 cat conftest.err >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); } && 2032 (exit $ac_status); } &&
2035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2033 { ac_try='test -z "$ac_c_werror_flag"
2034 || test ! -s conftest.err'
2036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 (eval $ac_try) 2>&5 2036 (eval $ac_try) 2>&5
2038 ac_status=$? 2037 ac_status=$?
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }; } && 2039 (exit $ac_status); }; } &&
2088 grep -v '^ *+' conftest.er1 >conftest.err 2087 grep -v '^ *+' conftest.er1 >conftest.err
2089 rm -f conftest.er1 2088 rm -f conftest.er1
2090 cat conftest.err >&5 2089 cat conftest.err >&5
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); } && 2091 (exit $ac_status); } &&
2093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2092 { ac_try='test -z "$ac_c_werror_flag"
2093 || test ! -s conftest.err'
2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 (eval $ac_try) 2>&5 2095 (eval $ac_try) 2>&5
2096 ac_status=$? 2096 ac_status=$?
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; } && 2098 (exit $ac_status); }; } &&
2204 grep -v '^ *+' conftest.er1 >conftest.err 2204 grep -v '^ *+' conftest.er1 >conftest.err
2205 rm -f conftest.er1 2205 rm -f conftest.er1
2206 cat conftest.err >&5 2206 cat conftest.err >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); } && 2208 (exit $ac_status); } &&
2209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2209 { ac_try='test -z "$ac_c_werror_flag"
2210 || test ! -s conftest.err'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 (eval $ac_try) 2>&5 2212 (eval $ac_try) 2>&5
2212 ac_status=$? 2213 ac_status=$?
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; } && 2215 (exit $ac_status); }; } &&
2258 grep -v '^ *+' conftest.er1 >conftest.err 2259 grep -v '^ *+' conftest.er1 >conftest.err
2259 rm -f conftest.er1 2260 rm -f conftest.er1
2260 cat conftest.err >&5 2261 cat conftest.err >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } && 2263 (exit $ac_status); } &&
2263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2264 { ac_try='test -z "$ac_c_werror_flag"
2265 || test ! -s conftest.err'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 (eval $ac_try) 2>&5 2267 (eval $ac_try) 2>&5
2266 ac_status=$? 2268 ac_status=$?
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } && 2270 (exit $ac_status); }; } &&
2303 grep -v '^ *+' conftest.er1 >conftest.err 2305 grep -v '^ *+' conftest.er1 >conftest.err
2304 rm -f conftest.er1 2306 rm -f conftest.er1
2305 cat conftest.err >&5 2307 cat conftest.err >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); } && 2309 (exit $ac_status); } &&
2308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2310 { ac_try='test -z "$ac_c_werror_flag"
2311 || test ! -s conftest.err'
2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 (eval $ac_try) 2>&5 2313 (eval $ac_try) 2>&5
2311 ac_status=$? 2314 ac_status=$?
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; } && 2316 (exit $ac_status); }; } &&
2347 grep -v '^ *+' conftest.er1 >conftest.err 2350 grep -v '^ *+' conftest.er1 >conftest.err
2348 rm -f conftest.er1 2351 rm -f conftest.er1
2349 cat conftest.err >&5 2352 cat conftest.err >&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); } && 2354 (exit $ac_status); } &&
2352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2355 { ac_try='test -z "$ac_c_werror_flag"
2356 || test ! -s conftest.err'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 (eval $ac_try) 2>&5 2358 (eval $ac_try) 2>&5
2355 ac_status=$? 2359 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; } && 2361 (exit $ac_status); }; } &&
2531 grep -v '^ *+' conftest.er1 >conftest.err 2535 grep -v '^ *+' conftest.er1 >conftest.err
2532 rm -f conftest.er1 2536 rm -f conftest.er1
2533 cat conftest.err >&5 2537 cat conftest.err >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); } && 2539 (exit $ac_status); } &&
2536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2540 { ac_try='test -z "$ac_cxx_werror_flag"
2541 || test ! -s conftest.err'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 (eval $ac_try) 2>&5 2543 (eval $ac_try) 2>&5
2539 ac_status=$? 2544 ac_status=$?
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; } && 2546 (exit $ac_status); }; } &&
2589 grep -v '^ *+' conftest.er1 >conftest.err 2594 grep -v '^ *+' conftest.er1 >conftest.err
2590 rm -f conftest.er1 2595 rm -f conftest.er1
2591 cat conftest.err >&5 2596 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } && 2598 (exit $ac_status); } &&
2594 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2599 { ac_try='test -z "$ac_cxx_werror_flag"
2600 || test ! -s conftest.err'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5 2602 (eval $ac_try) 2>&5
2597 ac_status=$? 2603 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; } && 2605 (exit $ac_status); }; } &&
2660 grep -v '^ *+' conftest.er1 >conftest.err 2666 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1 2667 rm -f conftest.er1
2662 cat conftest.err >&5 2668 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && 2670 (exit $ac_status); } &&
2665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2671 { ac_try='test -z "$ac_cxx_werror_flag"
2672 || test ! -s conftest.err'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 (eval $ac_try) 2>&5 2674 (eval $ac_try) 2>&5
2668 ac_status=$? 2675 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; } && 2677 (exit $ac_status); }; } &&
2704 grep -v '^ *+' conftest.er1 >conftest.err 2711 grep -v '^ *+' conftest.er1 >conftest.err
2705 rm -f conftest.er1 2712 rm -f conftest.er1
2706 cat conftest.err >&5 2713 cat conftest.err >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } && 2715 (exit $ac_status); } &&
2709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2716 { ac_try='test -z "$ac_cxx_werror_flag"
2717 || test ! -s conftest.err'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 (eval $ac_try) 2>&5 2719 (eval $ac_try) 2>&5
2712 ac_status=$? 2720 ac_status=$?
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; } && 2722 (exit $ac_status); }; } &&
3050 3058
3051test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3059test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3052 3060
3053test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3061test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3054 3062
3055for ac_prog in gawk mawk nawk awk
3056do
3057 # Extract the first word of "$ac_prog", so it can be a program name with args.
3058set dummy $ac_prog; ac_word=$2
3059echo "$as_me:$LINENO: checking for $ac_word" >&5
3060echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3061if test "${ac_cv_prog_AWK+set}" = set; then
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
3063else
3064 if test -n "$AWK"; then
3065 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3066else
3067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068for as_dir in $PATH
3069do
3070 IFS=$as_save_IFS
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3074 ac_cv_prog_AWK="$ac_prog"
3075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 break 2
3077 fi
3078done
3079done
3080 3063
3081fi
3082fi
3083AWK=$ac_cv_prog_AWK
3084if test -n "$AWK"; then
3085 echo "$as_me:$LINENO: result: $AWK" >&5
3086echo "${ECHO_T}$AWK" >&6
3087else
3088 echo "$as_me:$LINENO: result: no" >&5
3089echo "${ECHO_T}no" >&6
3090fi
3091
3092 test -n "$AWK" && break
3093done
3094
3095
3096ac_ext=c
3097ac_cpp='$CPP $CPPFLAGS'
3098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100ac_compiler_gnu=$ac_cv_c_compiler_gnu
3101
3102
3103if test -z "$orig_CXXFLAGS"; then
3104 CXXFLAGS='-O'
3105 if test x$GCC = xyes && test "x$GXX" = xyes; then
3106 CXXFLAGS="-g -O3"
3107 fi
3108 CFLAGS="$CXXFLAGS"
3109fi
3110
3111LINKER="$CXX"
3112if test x$GCC = xyes && test x$GXX = xyes; then
3113
3114echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3115echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3116if test "${ac_cv_lib_supcpp_main+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3118else
3119 ac_check_lib_save_LIBS=$LIBS
3120LIBS="-lsupc++ $LIBS"
3121cat >conftest.$ac_ext <<_ACEOF
3122/* confdefs.h. */
3123_ACEOF
3124cat confdefs.h >>conftest.$ac_ext
3125cat >>conftest.$ac_ext <<_ACEOF
3126/* end confdefs.h. */
3127
3128
3129int
3130main ()
3131{
3132main ();
3133 ;
3134 return 0;
3135}
3136_ACEOF
3137rm -f conftest.$ac_objext conftest$ac_exeext
3138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3139 (eval $ac_link) 2>conftest.er1
3140 ac_status=$?
3141 grep -v '^ *+' conftest.er1 >conftest.err
3142 rm -f conftest.er1
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } &&
3146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 (eval $ac_try) 2>&5
3149 ac_status=$?
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try='test -s conftest$ac_exeext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 (eval $ac_try) 2>&5
3155 ac_status=$?
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3158 ac_cv_lib_supcpp_main=yes
3159else
3160 echo "$as_me: failed program was:" >&5
3161sed 's/^/| /' conftest.$ac_ext >&5
3162
3163ac_cv_lib_supcpp_main=no
3164fi
3165rm -f conftest.err conftest.$ac_objext \
3166 conftest$ac_exeext conftest.$ac_ext
3167LIBS=$ac_check_lib_save_LIBS
3168fi
3169echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
3170echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
3171if test $ac_cv_lib_supcpp_main = yes; then
3172
3173 LINKER="$CC"
3174 LIBS="$LIBS -lsupc++"
3175
3176fi
3177
3178fi
3179LINKER=$LINKER
3180
3181
3182
3183cat >>confdefs.h <<\_ACEOF
3184#define _GNU_SOURCE 1
3185_ACEOF
3186
3187
3188case $host in
3189 *-*-solaris* )
3190
3191cat >>confdefs.h <<\_ACEOF
3192#define _XOPEN_SOURCE_EXTENDED 1
3193_ACEOF
3194
3195
3196cat >>confdefs.h <<\_ACEOF
3197#define _XOPEN_SOURCE 2
3198_ACEOF
3199
3200
3201cat >>confdefs.h <<\_ACEOF
3202#define __EXTENSIONS__ 1
3203_ACEOF
3204
3205 ;;
3206esac
3207
3208
3209ac_ext=cc
3210ac_cpp='$CXXCPP $CPPFLAGS'
3211ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3212ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3213ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3214
3215
3216
3217ac_ext=cc
3218ac_cpp='$CXXCPP $CPPFLAGS'
3219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3222echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3223echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3224if test -z "$CXXCPP"; then
3225 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3227else
3228 # Double quotes because CXXCPP needs to be expanded
3229 for CXXCPP in "$CXX -E" "/lib/cpp"
3230 do
3231 ac_preproc_ok=false
3232for ac_cxx_preproc_warn_flag in '' yes
3233do
3234 # Use a header file that comes with gcc, so configuring glibc
3235 # with a fresh cross-compiler works.
3236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3237 # <limits.h> exists even on freestanding compilers.
3238 # On the NeXT, cc -E runs the code through the compiler's parser,
3239 # not just through cpp. "Syntax error" is here to catch this case.
3240 cat >conftest.$ac_ext <<_ACEOF
3241/* confdefs.h. */
3242_ACEOF
3243cat confdefs.h >>conftest.$ac_ext
3244cat >>conftest.$ac_ext <<_ACEOF
3245/* end confdefs.h. */
3246#ifdef __STDC__
3247# include <limits.h>
3248#else
3249# include <assert.h>
3250#endif
3251 Syntax error
3252_ACEOF
3253if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3255 ac_status=$?
3256 grep -v '^ *+' conftest.er1 >conftest.err
3257 rm -f conftest.er1
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } >/dev/null; then
3261 if test -s conftest.err; then
3262 ac_cpp_err=$ac_cxx_preproc_warn_flag
3263 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3264 else
3265 ac_cpp_err=
3266 fi
3267else
3268 ac_cpp_err=yes
3269fi
3270if test -z "$ac_cpp_err"; then
3271 :
3272else
3273 echo "$as_me: failed program was:" >&5
3274sed 's/^/| /' conftest.$ac_ext >&5
3275
3276 # Broken: fails on valid input.
3277continue
3278fi
3279rm -f conftest.err conftest.$ac_ext
3280
3281 # OK, works on sane cases. Now check whether non-existent headers
3282 # can be detected and how.
3283 cat >conftest.$ac_ext <<_ACEOF
3284/* confdefs.h. */
3285_ACEOF
3286cat confdefs.h >>conftest.$ac_ext
3287cat >>conftest.$ac_ext <<_ACEOF
3288/* end confdefs.h. */
3289#include <ac_nonexistent.h>
3290_ACEOF
3291if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } >/dev/null; then
3299 if test -s conftest.err; then
3300 ac_cpp_err=$ac_cxx_preproc_warn_flag
3301 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3302 else
3303 ac_cpp_err=
3304 fi
3305else
3306 ac_cpp_err=yes
3307fi
3308if test -z "$ac_cpp_err"; then
3309 # Broken: success on invalid input.
3310continue
3311else
3312 echo "$as_me: failed program was:" >&5
3313sed 's/^/| /' conftest.$ac_ext >&5
3314
3315 # Passes both tests.
3316ac_preproc_ok=:
3317break
3318fi
3319rm -f conftest.err conftest.$ac_ext
3320
3321done
3322# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3323rm -f conftest.err conftest.$ac_ext
3324if $ac_preproc_ok; then
3325 break
3326fi
3327
3328 done
3329 ac_cv_prog_CXXCPP=$CXXCPP
3330
3331fi
3332 CXXCPP=$ac_cv_prog_CXXCPP
3333else
3334 ac_cv_prog_CXXCPP=$CXXCPP
3335fi
3336echo "$as_me:$LINENO: result: $CXXCPP" >&5
3337echo "${ECHO_T}$CXXCPP" >&6
3338ac_preproc_ok=false
3339for ac_cxx_preproc_warn_flag in '' yes
3340do
3341 # Use a header file that comes with gcc, so configuring glibc
3342 # with a fresh cross-compiler works.
3343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344 # <limits.h> exists even on freestanding compilers.
3345 # On the NeXT, cc -E runs the code through the compiler's parser,
3346 # not just through cpp. "Syntax error" is here to catch this case.
3347 cat >conftest.$ac_ext <<_ACEOF
3348/* confdefs.h. */
3349_ACEOF
3350cat confdefs.h >>conftest.$ac_ext
3351cat >>conftest.$ac_ext <<_ACEOF
3352/* end confdefs.h. */
3353#ifdef __STDC__
3354# include <limits.h>
3355#else
3356# include <assert.h>
3357#endif
3358 Syntax error
3359_ACEOF
3360if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3362 ac_status=$?
3363 grep -v '^ *+' conftest.er1 >conftest.err
3364 rm -f conftest.er1
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } >/dev/null; then
3368 if test -s conftest.err; then
3369 ac_cpp_err=$ac_cxx_preproc_warn_flag
3370 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3371 else
3372 ac_cpp_err=
3373 fi
3374else
3375 ac_cpp_err=yes
3376fi
3377if test -z "$ac_cpp_err"; then
3378 :
3379else
3380 echo "$as_me: failed program was:" >&5
3381sed 's/^/| /' conftest.$ac_ext >&5
3382
3383 # Broken: fails on valid input.
3384continue
3385fi
3386rm -f conftest.err conftest.$ac_ext
3387
3388 # OK, works on sane cases. Now check whether non-existent headers
3389 # can be detected and how.
3390 cat >conftest.$ac_ext <<_ACEOF
3391/* confdefs.h. */
3392_ACEOF
3393cat confdefs.h >>conftest.$ac_ext
3394cat >>conftest.$ac_ext <<_ACEOF
3395/* end confdefs.h. */
3396#include <ac_nonexistent.h>
3397_ACEOF
3398if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3400 ac_status=$?
3401 grep -v '^ *+' conftest.er1 >conftest.err
3402 rm -f conftest.er1
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } >/dev/null; then
3406 if test -s conftest.err; then
3407 ac_cpp_err=$ac_cxx_preproc_warn_flag
3408 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3409 else
3410 ac_cpp_err=
3411 fi
3412else
3413 ac_cpp_err=yes
3414fi
3415if test -z "$ac_cpp_err"; then
3416 # Broken: success on invalid input.
3417continue
3418else
3419 echo "$as_me: failed program was:" >&5
3420sed 's/^/| /' conftest.$ac_ext >&5
3421
3422 # Passes both tests.
3423ac_preproc_ok=:
3424break
3425fi
3426rm -f conftest.err conftest.$ac_ext
3427
3428done
3429# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3430rm -f conftest.err conftest.$ac_ext
3431if $ac_preproc_ok; then
3432 :
3433else
3434 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3435See \`config.log' for more details." >&5
3436echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3437See \`config.log' for more details." >&2;}
3438 { (exit 1); exit 1; }; }
3439fi
3440
3441ac_ext=cc
3442ac_cpp='$CXXCPP $CPPFLAGS'
3443ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3444ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3445ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3446 3064
3447 3065
3448echo "$as_me:$LINENO: checking for egrep" >&5 3066echo "$as_me:$LINENO: checking for egrep" >&5
3449echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3067echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3450if test "${ac_cv_prog_egrep+set}" = set; then 3068if test "${ac_cv_prog_egrep+set}" = set; then
3525 grep -v '^ *+' conftest.er1 >conftest.err 3143 grep -v '^ *+' conftest.er1 >conftest.err
3526 rm -f conftest.er1 3144 rm -f conftest.er1
3527 cat conftest.err >&5 3145 cat conftest.err >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } && 3147 (exit $ac_status); } &&
3530 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3148 { ac_try='test -z "$ac_c_werror_flag"
3149 || test ! -s conftest.err'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3532 (eval $ac_try) 2>&5 3151 (eval $ac_try) 2>&5
3533 ac_status=$? 3152 ac_status=$?
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; } && 3154 (exit $ac_status); }; } &&
3579 grep -v '^ *+' conftest.er1 >conftest.err 3198 grep -v '^ *+' conftest.er1 >conftest.err
3580 rm -f conftest.er1 3199 rm -f conftest.er1
3581 cat conftest.err >&5 3200 cat conftest.err >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } && 3202 (exit $ac_status); } &&
3584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3203 { ac_try='test -z "$ac_c_werror_flag"
3204 || test ! -s conftest.err'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3586 (eval $ac_try) 2>&5 3206 (eval $ac_try) 2>&5
3587 ac_status=$? 3207 ac_status=$?
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; } && 3209 (exit $ac_status); }; } &&
3611if test "$ac_cv_search_strerror" != no; then 3231if test "$ac_cv_search_strerror" != no; then
3612 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3232 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3613 3233
3614fi 3234fi
3615 3235
3236ac_ext=cc
3237ac_cpp='$CXXCPP $CPPFLAGS'
3238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3616 3241
3242
3243if test x$GCC = xyes && test x$GXX = xyes; then
3244 echo "$as_me:$LINENO: checking for working libsupc++" >&5
3245echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6
3246 save_CXX="$CXX"
3247 save_LIBS="$LIBS"
3248 CXX="$CC"
3249 LIBS="$LIBS -lsupc++"
3250 LINKER="$CC"
3251
3252cat >conftest.$ac_ext <<_ACEOF
3253/* confdefs.h. */
3254_ACEOF
3255cat confdefs.h >>conftest.$ac_ext
3256cat >>conftest.$ac_ext <<_ACEOF
3257/* end confdefs.h. */
3258struct test { }; void f() try { throw new test; } catch (...) { throw; }
3259int
3260main ()
3261{
3262
3263 ;
3264 return 0;
3265}
3266_ACEOF
3267rm -f conftest.$ac_objext conftest$ac_exeext
3268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3269 (eval $ac_link) 2>conftest.er1
3270 ac_status=$?
3271 grep -v '^ *+' conftest.er1 >conftest.err
3272 rm -f conftest.er1
3273 cat conftest.err >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -z "$ac_cxx_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 (eval $ac_try) 2>&5
3280 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try='test -s conftest$ac_exeext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 echo "$as_me:$LINENO: result: ok" >&5
3290echo "${ECHO_T}ok" >&6
3291else
3292 echo "$as_me: failed program was:" >&5
3293sed 's/^/| /' conftest.$ac_ext >&5
3294
3295
3296 echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5
3297echo "${ECHO_T}no, making everything bigger and slower" >&6
3298 LIBS="$save_LIBS"
3299 LINKER="$save_CXX"
3300
3301
3302fi
3303rm -f conftest.err conftest.$ac_objext \
3304 conftest$ac_exeext conftest.$ac_ext
3305 CXX="$save_CXX"
3306fi
3307LINKER=$LINKER
3308
3309
3310if test -z "$orig_CXXFLAGS"; then
3311 if test x$GCC = xyes && test "x$GXX" = xyes; then
3312 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3313 cat >conftest.$ac_ext <<_ACEOF
3314/* confdefs.h. */
3315_ACEOF
3316cat confdefs.h >>conftest.$ac_ext
3317cat >>conftest.$ac_ext <<_ACEOF
3318/* end confdefs.h. */
3319
3320int
3321main ()
3322{
3323
3324 ;
3325 return 0;
3326}
3327_ACEOF
3328rm -f conftest.$ac_objext
3329if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3330 (eval $ac_compile) 2>conftest.er1
3331 ac_status=$?
3332 grep -v '^ *+' conftest.er1 >conftest.err
3333 rm -f conftest.er1
3334 cat conftest.err >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } &&
3337 { ac_try='test -z "$ac_cxx_werror_flag"
3338 || test ! -s conftest.err'
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); }; } &&
3344 { ac_try='test -s conftest.$ac_objext'
3345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3346 (eval $ac_try) 2>&5
3347 ac_status=$?
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }; }; then
3350 :
3351else
3352 echo "$as_me: failed program was:" >&5
3353sed 's/^/| /' conftest.$ac_ext >&5
3354
3355CXXFLAGS="-g -O3"
3356fi
3357rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3358 else
3359 CXXFLAGS="-O"
3360 fi
3361 CFLAGS="$CXXFLAGS"
3362fi
3363
3364
3365cat >>confdefs.h <<\_ACEOF
3366#define _GNU_SOURCE 1
3367_ACEOF
3368
3369
3370case $host in
3371 *-*-solaris* )
3372
3373cat >>confdefs.h <<\_ACEOF
3374#define _XOPEN_SOURCE 500
3375_ACEOF
3376
3377 ;;
3378esac
3379
3380
3381echo "$as_me:$LINENO: checking for setlocale" >&5
3382echo $ECHO_N "checking for setlocale... $ECHO_C" >&6
3383if test "${ac_cv_func_setlocale+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3385else
3386 cat >conftest.$ac_ext <<_ACEOF
3387/* confdefs.h. */
3388_ACEOF
3389cat confdefs.h >>conftest.$ac_ext
3390cat >>conftest.$ac_ext <<_ACEOF
3391/* end confdefs.h. */
3392/* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale.
3393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3394#define setlocale innocuous_setlocale
3395
3396/* System header to define __stub macros and hopefully few prototypes,
3397 which can conflict with char setlocale (); below.
3398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3399 <limits.h> exists even on freestanding compilers. */
3400
3401#ifdef __STDC__
3402# include <limits.h>
3403#else
3404# include <assert.h>
3405#endif
3406
3407#undef setlocale
3408
3409/* Override any gcc2 internal prototype to avoid an error. */
3410#ifdef __cplusplus
3411extern "C"
3412{
3413#endif
3414/* We use char because int might match the return type of a gcc2
3415 builtin and then its argument prototype would still apply. */
3416char setlocale ();
3417/* The GNU C library defines this for functions which it implements
3418 to always fail with ENOSYS. Some functions are actually named
3419 something starting with __ and the normal name is an alias. */
3420#if defined (__stub_setlocale) || defined (__stub___setlocale)
3421choke me
3422#else
3423char (*f) () = setlocale;
3424#endif
3425#ifdef __cplusplus
3426}
3427#endif
3428
3429int
3430main ()
3431{
3432return f != setlocale;
3433 ;
3434 return 0;
3435}
3436_ACEOF
3437rm -f conftest.$ac_objext conftest$ac_exeext
3438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3439 (eval $ac_link) 2>conftest.er1
3440 ac_status=$?
3441 grep -v '^ *+' conftest.er1 >conftest.err
3442 rm -f conftest.er1
3443 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } &&
3446 { ac_try='test -z "$ac_cxx_werror_flag"
3447 || test ! -s conftest.err'
3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3449 (eval $ac_try) 2>&5
3450 ac_status=$?
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); }; } &&
3453 { ac_try='test -s conftest$ac_exeext'
3454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3455 (eval $ac_try) 2>&5
3456 ac_status=$?
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); }; }; then
3459 ac_cv_func_setlocale=yes
3460else
3461 echo "$as_me: failed program was:" >&5
3462sed 's/^/| /' conftest.$ac_ext >&5
3463
3464ac_cv_func_setlocale=no
3465fi
3466rm -f conftest.err conftest.$ac_objext \
3467 conftest$ac_exeext conftest.$ac_ext
3468fi
3469echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5
3470echo "${ECHO_T}$ac_cv_func_setlocale" >&6
3471if test $ac_cv_func_setlocale = yes; then
3472 :
3473else
3617echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 3474 echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3618echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 3475echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3619if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then 3476if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6 3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3621else 3478else
3622 ac_check_lib_save_LIBS=$LIBS 3479 ac_check_lib_save_LIBS=$LIBS
3650 grep -v '^ *+' conftest.er1 >conftest.err 3507 grep -v '^ *+' conftest.er1 >conftest.err
3651 rm -f conftest.er1 3508 rm -f conftest.er1
3652 cat conftest.err >&5 3509 cat conftest.err >&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); } && 3511 (exit $ac_status); } &&
3655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3512 { ac_try='test -z "$ac_cxx_werror_flag"
3513 || test ! -s conftest.err'
3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 (eval $ac_try) 2>&5 3515 (eval $ac_try) 2>&5
3658 ac_status=$? 3516 ac_status=$?
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; } && 3518 (exit $ac_status); }; } &&
3679echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 3537echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3680if test $ac_cv_lib_xpg4_setlocale = yes; then 3538if test $ac_cv_lib_xpg4_setlocale = yes; then
3681 LIBS="$LIBS -lxpg4" 3539 LIBS="$LIBS -lxpg4"
3682fi 3540fi
3683 3541
3542fi
3684 3543
3544
3545echo "$as_me:$LINENO: checking for gethostbyname" >&5
3546echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3547if test "${ac_cv_func_gethostbyname+set}" = set; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3549else
3550 cat >conftest.$ac_ext <<_ACEOF
3551/* confdefs.h. */
3552_ACEOF
3553cat confdefs.h >>conftest.$ac_ext
3554cat >>conftest.$ac_ext <<_ACEOF
3555/* end confdefs.h. */
3556/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3558#define gethostbyname innocuous_gethostbyname
3559
3560/* System header to define __stub macros and hopefully few prototypes,
3561 which can conflict with char gethostbyname (); below.
3562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3563 <limits.h> exists even on freestanding compilers. */
3564
3565#ifdef __STDC__
3566# include <limits.h>
3567#else
3568# include <assert.h>
3569#endif
3570
3571#undef gethostbyname
3572
3573/* Override any gcc2 internal prototype to avoid an error. */
3574#ifdef __cplusplus
3575extern "C"
3576{
3577#endif
3578/* We use char because int might match the return type of a gcc2
3579 builtin and then its argument prototype would still apply. */
3580char gethostbyname ();
3581/* The GNU C library defines this for functions which it implements
3582 to always fail with ENOSYS. Some functions are actually named
3583 something starting with __ and the normal name is an alias. */
3584#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3585choke me
3586#else
3587char (*f) () = gethostbyname;
3588#endif
3589#ifdef __cplusplus
3590}
3591#endif
3592
3593int
3594main ()
3595{
3596return f != gethostbyname;
3597 ;
3598 return 0;
3599}
3600_ACEOF
3601rm -f conftest.$ac_objext conftest$ac_exeext
3602if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3603 (eval $ac_link) 2>conftest.er1
3604 ac_status=$?
3605 grep -v '^ *+' conftest.er1 >conftest.err
3606 rm -f conftest.er1
3607 cat conftest.err >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } &&
3610 { ac_try='test -z "$ac_cxx_werror_flag"
3611 || test ! -s conftest.err'
3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3613 (eval $ac_try) 2>&5
3614 ac_status=$?
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); }; } &&
3617 { ac_try='test -s conftest$ac_exeext'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3619 (eval $ac_try) 2>&5
3620 ac_status=$?
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; }; then
3623 ac_cv_func_gethostbyname=yes
3624else
3625 echo "$as_me: failed program was:" >&5
3626sed 's/^/| /' conftest.$ac_ext >&5
3627
3628ac_cv_func_gethostbyname=no
3629fi
3630rm -f conftest.err conftest.$ac_objext \
3631 conftest$ac_exeext conftest.$ac_ext
3632fi
3633echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3634echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3635if test $ac_cv_func_gethostbyname = yes; then
3636 :
3637else
3685echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 3638 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3686echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 3639echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3687if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 3640if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6 3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3689else 3642else
3690 ac_check_lib_save_LIBS=$LIBS 3643 ac_check_lib_save_LIBS=$LIBS
3718 grep -v '^ *+' conftest.er1 >conftest.err 3671 grep -v '^ *+' conftest.er1 >conftest.err
3719 rm -f conftest.er1 3672 rm -f conftest.er1
3720 cat conftest.err >&5 3673 cat conftest.err >&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } && 3675 (exit $ac_status); } &&
3723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3676 { ac_try='test -z "$ac_cxx_werror_flag"
3677 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 (eval $ac_try) 2>&5 3679 (eval $ac_try) 2>&5
3726 ac_status=$? 3680 ac_status=$?
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } && 3682 (exit $ac_status); }; } &&
3747echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 3701echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3748if test $ac_cv_lib_nsl_gethostbyname = yes; then 3702if test $ac_cv_lib_nsl_gethostbyname = yes; then
3749 LIBS="$LIBS -lnsl" 3703 LIBS="$LIBS -lnsl"
3750fi 3704fi
3751 3705
3706fi
3707
3708echo "$as_me:$LINENO: checking for socket" >&5
3709echo $ECHO_N "checking for socket... $ECHO_C" >&6
3710if test "${ac_cv_func_socket+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3712else
3713 cat >conftest.$ac_ext <<_ACEOF
3714/* confdefs.h. */
3715_ACEOF
3716cat confdefs.h >>conftest.$ac_ext
3717cat >>conftest.$ac_ext <<_ACEOF
3718/* end confdefs.h. */
3719/* Define socket to an innocuous variant, in case <limits.h> declares socket.
3720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3721#define socket innocuous_socket
3722
3723/* System header to define __stub macros and hopefully few prototypes,
3724 which can conflict with char socket (); below.
3725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3726 <limits.h> exists even on freestanding compilers. */
3727
3728#ifdef __STDC__
3729# include <limits.h>
3730#else
3731# include <assert.h>
3732#endif
3733
3734#undef socket
3735
3736/* Override any gcc2 internal prototype to avoid an error. */
3737#ifdef __cplusplus
3738extern "C"
3739{
3740#endif
3741/* We use char because int might match the return type of a gcc2
3742 builtin and then its argument prototype would still apply. */
3743char socket ();
3744/* The GNU C library defines this for functions which it implements
3745 to always fail with ENOSYS. Some functions are actually named
3746 something starting with __ and the normal name is an alias. */
3747#if defined (__stub_socket) || defined (__stub___socket)
3748choke me
3749#else
3750char (*f) () = socket;
3751#endif
3752#ifdef __cplusplus
3753}
3754#endif
3755
3756int
3757main ()
3758{
3759return f != socket;
3760 ;
3761 return 0;
3762}
3763_ACEOF
3764rm -f conftest.$ac_objext conftest$ac_exeext
3765if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3766 (eval $ac_link) 2>conftest.er1
3767 ac_status=$?
3768 grep -v '^ *+' conftest.er1 >conftest.err
3769 rm -f conftest.er1
3770 cat conftest.err >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } &&
3773 { ac_try='test -z "$ac_cxx_werror_flag"
3774 || test ! -s conftest.err'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 (eval $ac_try) 2>&5
3777 ac_status=$?
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; } &&
3780 { ac_try='test -s conftest$ac_exeext'
3781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 (eval $ac_try) 2>&5
3783 ac_status=$?
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; }; then
3786 ac_cv_func_socket=yes
3787else
3788 echo "$as_me: failed program was:" >&5
3789sed 's/^/| /' conftest.$ac_ext >&5
3790
3791ac_cv_func_socket=no
3792fi
3793rm -f conftest.err conftest.$ac_objext \
3794 conftest$ac_exeext conftest.$ac_ext
3795fi
3796echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
3797echo "${ECHO_T}$ac_cv_func_socket" >&6
3798if test $ac_cv_func_socket = yes; then
3799 :
3800else
3752echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 3801 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3753echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 3802echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3754if test "${ac_cv_lib_socket_socket+set}" = set; then 3803if test "${ac_cv_lib_socket_socket+set}" = set; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6 3804 echo $ECHO_N "(cached) $ECHO_C" >&6
3756else 3805else
3757 ac_check_lib_save_LIBS=$LIBS 3806 ac_check_lib_save_LIBS=$LIBS
3785 grep -v '^ *+' conftest.er1 >conftest.err 3834 grep -v '^ *+' conftest.er1 >conftest.err
3786 rm -f conftest.er1 3835 rm -f conftest.er1
3787 cat conftest.err >&5 3836 cat conftest.err >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } && 3838 (exit $ac_status); } &&
3790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3839 { ac_try='test -z "$ac_cxx_werror_flag"
3840 || test ! -s conftest.err'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 (eval $ac_try) 2>&5 3842 (eval $ac_try) 2>&5
3793 ac_status=$? 3843 ac_status=$?
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; } && 3845 (exit $ac_status); }; } &&
3814echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 3864echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3815if test $ac_cv_lib_socket_socket = yes; then 3865if test $ac_cv_lib_socket_socket = yes; then
3816 LIBS="$LIBS -lsocket" 3866 LIBS="$LIBS -lsocket"
3817fi 3867fi
3818 3868
3869fi
3819 3870
3820 3871
3821MALLOC_TYPE=S
3822 3872
3823support_addstrings=no
3824support_frills=yes 3873support_frills=yes
3825support_inheritpixmap=no 3874support_inheritpixmap=yes
3826support_tinting=yes 3875support_tinting=yes
3827support_fading=yes 3876support_fading=yes
3828support_keepscrolling=yes 3877support_keepscrolling=yes
3829support_selectionscrolling=yes 3878support_selectionscrolling=yes
3830support_menubar=no
3831support_mousewheel=yes 3879support_mousewheel=yes
3832support_mouseslipwheel=yes 3880support_mouseslipwheel=yes
3833support_utmp=yes
3834support_wtmp=yes
3835support_lastlog=yes
3836support_text_blink=yes 3881support_text_blink=yes
3837support_pointer_blank=yes 3882support_pointer_blank=yes
3838support_scroll_rxvt=yes 3883support_scroll_rxvt=yes
3839support_scroll_next=yes 3884support_scroll_next=yes
3840support_scroll_xterm=yes 3885support_scroll_xterm=yes
3841support_scroll_plain=yes 3886support_scroll_plain=yes
3842support_xim=yes 3887support_xim=yes
3843support_xpm=no 3888support_xpm=yes
3889support_afterimage=yes
3890support_afterstep=yes
3844support_xft=yes 3891support_xft=yes
3845support_unicode3=no 3892support_unicode3=no
3846support_combining=yes 3893support_combining=yes
3847support_8bitctrls=no 3894support_8bitctrls=no
3848support_iso14755=yes 3895support_iso14755=yes
3849support_styles=yes 3896support_styles=yes
3897support_perl=yes
3850codesets=all 3898codesets=all
3851 3899
3852 3900
3853if test "x$enable_shared" = xyes; then 3901if test "x$enable_shared" = xyes; then
3854 3902
3863# Check whether --enable-everything or --disable-everything was given. 3911# Check whether --enable-everything or --disable-everything was given.
3864if test "${enable_everything+set}" = set; then 3912if test "${enable_everything+set}" = set; then
3865 enableval="$enable_everything" 3913 enableval="$enable_everything"
3866 3914
3867 if test x$enableval = xno; then 3915 if test x$enableval = xno; then
3868 support_24bit=no
3869 support_frills=no 3916 support_frills=no
3870 support_inheritpixmap=no 3917 support_inheritpixmap=no
3871 support_tinting=no 3918 support_tinting=no
3872 support_fading=no 3919 support_fading=no
3873 support_keepscrolling=no 3920 support_keepscrolling=no
3874 support_selectionscrolling=no 3921 support_selectionscrolling=no
3875 support_lastlog=no 3922 support_lastlog=no
3876 support_menubar=no
3877 support_mousewheel=no 3923 support_mousewheel=no
3878 support_mouseslipwheel=no 3924 support_mouseslipwheel=no
3879 support_text_blink=no 3925 support_text_blink=no
3880 support_pointer_blank=no 3926 support_pointer_blank=no
3881 support_scroll_rxvt=no 3927 support_scroll_rxvt=no
3884 support_scroll_plain=no 3930 support_scroll_plain=no
3885 support_utmp=no 3931 support_utmp=no
3886 support_wtmp=no 3932 support_wtmp=no
3887 support_xim=no 3933 support_xim=no
3888 support_xpm=no 3934 support_xpm=no
3935 support_afterimage=no
3936 support_afterstep=no
3889 support_xft=no 3937 support_xft=no
3890 support_unicode3=no 3938 support_unicode3=no
3891 support_combining=no 3939 support_combining=no
3892 support_8bitctrls=no 3940 support_8bitctrls=no
3893 support_iso14755=no 3941 support_iso14755=no
3894 support_styles=no 3942 support_styles=no
3943 support_perl=no
3895 codesets= 3944 codesets=
3896 fi 3945 fi
3897 if test x$enableval = xyes; then 3946 if test x$enableval = xyes; then
3898 support_24bit=yes
3899 support_frills=yes 3947 support_frills=yes
3900 support_inheritpixmap=yes 3948 support_inheritpixmap=yes
3901 support_tinting=yes 3949 support_tinting=yes
3902 support_fading=yes 3950 support_fading=yes
3903 support_keepscrolling=yes 3951 support_keepscrolling=yes
3904 support_selectionscrolling=yes 3952 support_selectionscrolling=yes
3905 support_lastlog=yes 3953 support_lastlog=yes
3906 support_menubar=yes
3907 support_mousewheel=yes 3954 support_mousewheel=yes
3908 support_mouseslipwheel=yes 3955 support_mouseslipwheel=yes
3909 support_text_blink=yes 3956 support_text_blink=yes
3910 support_pointer_blank=yes 3957 support_pointer_blank=yes
3911 support_scroll_rxvt=yes 3958 support_scroll_rxvt=yes
3914 support_scroll_plain=yes 3961 support_scroll_plain=yes
3915 support_utmp=yes 3962 support_utmp=yes
3916 support_wtmp=yes 3963 support_wtmp=yes
3917 support_xim=yes 3964 support_xim=yes
3918 support_xpm=yes 3965 support_xpm=yes
3966 support_afterimage=yes
3967 support_afterstep=yes
3919 support_xft=yes 3968 support_xft=yes
3920 support_unicode3=yes 3969 support_unicode3=yes
3921 support_combining=yes 3970 support_combining=yes
3922 #support_8bitctrls=yes 3971 #support_8bitctrls=yes
3923 support_iso14755=yes 3972 support_iso14755=yes
3924 support_styles=yes 3973 support_styles=yes
3974 support_perl=yes
3925 codesets=all 3975 codesets=all
3926 fi 3976 fi
3927 3977
3928fi; 3978fi;
3929 3979
3957 if test x$enableval = xyes -o x$enableval = xno; then 4007 if test x$enableval = xyes -o x$enableval = xno; then
3958 support_styles=$enableval 4008 support_styles=$enableval
3959 fi 4009 fi
3960fi; 4010fi;
3961 4011
3962# Check whether --enable-utmp or --disable-utmp was given.
3963if test "${enable_utmp+set}" = set; then
3964 enableval="$enable_utmp"
3965 if test x$enableval = xyes -o x$enableval = xno; then
3966 support_utmp=$enableval
3967 fi
3968fi;
3969
3970# Check whether --enable-wtmp or --disable-wtmp was given.
3971if test "${enable_wtmp+set}" = set; then
3972 enableval="$enable_wtmp"
3973 if test x$enableval = xyes -o x$enableval = xno; then
3974 support_wtmp=$enableval
3975 fi
3976fi;
3977
3978# Check whether --enable-lastlog or --disable-lastlog was given.
3979if test "${enable_lastlog+set}" = set; then
3980 enableval="$enable_lastlog"
3981 if test x$enableval = xyes -o x$enableval = xno; then
3982 support_lastlog=$enableval
3983 fi
3984fi;
3985
3986# Check whether --enable-xpm-background or --disable-xpm-background was given. 4012# Check whether --enable-xpm-background or --disable-xpm-background was given.
3987if test "${enable_xpm_background+set}" = set; then 4013if test "${enable_xpm_background+set}" = set; then
3988 enableval="$enable_xpm_background" 4014 enableval="$enable_xpm_background"
3989 if test x$enableval = xyes -o x$enableval = xno; then 4015 if test x$enableval = xyes -o x$enableval = xno; then
3990 support_xpm=$enableval 4016 support_xpm=$enableval
3991 fi 4017 fi
3992fi; 4018fi;
3993 4019
4020# Check whether --enable-afterimage or --disable-afterimage was given.
4021if test "${enable_afterimage+set}" = set; then
4022 enableval="$enable_afterimage"
4023 if test x$enableval = xyes -o x$enableval = xno; then
4024 support_afterimage=$enableval
4025 fi
4026fi;
4027
4028
4029# Check whether --with-afterimage_config or --without-afterimage_config was given.
4030if test "${with_afterimage_config+set}" = set; then
4031 withval="$with_afterimage_config"
4032 if test "x$withval" != x; then
4033 afterimage_config=$withval/afterimage-config
4034 fi
4035fi;
4036
4037# Check whether --enable-afterstep or --disable-afterstep was given.
4038if test "${enable_afterstep+set}" = set; then
4039 enableval="$enable_afterstep"
4040 if test x$enableval = xyes -o x$enableval = xno; then
4041 support_afterstep=$enableval
4042 fi
4043fi;
4044
3994# Check whether --enable-transparency or --disable-transparency was given. 4045# Check whether --enable-transparency or --disable-transparency was given.
3995if test "${enable_transparency+set}" = set; then 4046if test "${enable_transparency+set}" = set; then
3996 enableval="$enable_transparency" 4047 enableval="$enable_transparency"
3997 if test x$enableval = xyes -o x$enableval = xno; then 4048 if test x$enableval = xyes -o x$enableval = xno; then
3998 support_inheritpixmap=$enableval 4049 support_inheritpixmap=$enableval
4013 if test x$enableval = xyes -o x$enableval = xno; then 4064 if test x$enableval = xyes -o x$enableval = xno; then
4014 support_fading=$enableval 4065 support_fading=$enableval
4015 fi 4066 fi
4016fi; 4067fi;
4017 4068
4018# Check whether --enable-menubar or --disable-menubar was given.
4019if test "${enable_menubar+set}" = set; then
4020 enableval="$enable_menubar"
4021 if test x$enableval = xyes -o x$enableval = xno; then
4022 support_menubar=$enableval
4023 fi
4024fi;
4025
4026# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4069# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
4027if test "${enable_rxvt_scroll+set}" = set; then 4070if test "${enable_rxvt_scroll+set}" = set; then
4028 enableval="$enable_rxvt_scroll" 4071 enableval="$enable_rxvt_scroll"
4029 if test x$enableval = xyes -o x$enableval = xno; then 4072 if test x$enableval = xyes -o x$enableval = xno; then
4030 support_scroll_rxvt=$enableval 4073 support_scroll_rxvt=$enableval
4045 if test x$enableval = xyes -o x$enableval = xno; then 4088 if test x$enableval = xyes -o x$enableval = xno; then
4046 support_scroll_xterm=$enableval 4089 support_scroll_xterm=$enableval
4047 fi 4090 fi
4048fi; 4091fi;
4049 4092
4093# Check whether --enable-perl or --disable-perl was given.
4094if test "${enable_perl+set}" = set; then
4095 enableval="$enable_perl"
4096 if test x$enableval = xyes -o x$enableval = xno; then
4097 support_perl=$enableval
4098 fi
4099fi;
4100
4050# Check whether --enable-plain-scroll or --disable-plain-scroll was given. 4101# Check whether --enable-plain-scroll or --disable-plain-scroll was given.
4051if test "${enable_plain_scroll+set}" = set; then 4102if test "${enable_plain_scroll+set}" = set; then
4052 enableval="$enable_plain_scroll" 4103 enableval="$enable_plain_scroll"
4053 if test x$enableval = xyes -o x$enableval = xno; then 4104 if test x$enableval = xyes -o x$enableval = xno; then
4054 support_scroll_plain=$enableval 4105 support_scroll_plain=$enableval
4055 fi 4106 fi
4056fi; 4107fi;
4057 4108
4058# Check whether --enable-half-shadow or --disable-half-shadow was given.
4059if test "${enable_half_shadow+set}" = set; then
4060 enableval="$enable_half_shadow"
4061 if test x$enableval = xyes; then
4062
4063cat >>confdefs.h <<\_ACEOF
4064#define HALFSHADOW 1
4065_ACEOF
4066
4067 fi
4068fi;
4069
4070 4109
4071# Check whether --with-codesets or --without-codesets was given. 4110# Check whether --with-codesets or --without-codesets was given.
4072if test "${with_codesets+set}" = set; then 4111if test "${with_codesets+set}" = set; then
4073 withval="$with_codesets" 4112 withval="$with_codesets"
4074 codesets="$withval" 4113 codesets="$withval"
4080 if test x$enableval = xyes -o x$enableval = xno; then 4119 if test x$enableval = xyes -o x$enableval = xno; then
4081 support_xim=$enableval 4120 support_xim=$enableval
4082 fi 4121 fi
4083fi; 4122fi;
4084 4123
4085# Check whether --enable-ttygid or --disable-ttygid was given.
4086if test "${enable_ttygid+set}" = set; then
4087 enableval="$enable_ttygid"
4088 if test x$enableval = xyes; then
4089
4090cat >>confdefs.h <<\_ACEOF
4091#define TTY_GID_SUPPORT 1
4092_ACEOF
4093
4094 fi
4095fi;
4096
4097# Check whether --enable-backspace-key or --disable-backspace-key was given. 4124# Check whether --enable-backspace-key or --disable-backspace-key was given.
4098if test "${enable_backspace_key+set}" = set; then 4125if test "${enable_backspace_key+set}" = set; then
4099 enableval="$enable_backspace_key" 4126 enableval="$enable_backspace_key"
4100 if test x$enableval = xno; then 4127 if test x$enableval = xno; then
4101 4128
4123 enableval="$enable_resources" 4150 enableval="$enable_resources"
4124 if test x$enableval = xno; then 4151 if test x$enableval = xno; then
4125 4152
4126cat >>confdefs.h <<\_ACEOF 4153cat >>confdefs.h <<\_ACEOF
4127#define NO_RESOURCES 1 4154#define NO_RESOURCES 1
4128_ACEOF
4129
4130 fi
4131fi;
4132
4133# Check whether --enable-xgetdefault or --disable-xgetdefault was given.
4134if test "${enable_xgetdefault+set}" = set; then
4135 enableval="$enable_xgetdefault"
4136 if test x$enableval = xyes; then
4137
4138cat >>confdefs.h <<\_ACEOF
4139#define USE_XGETDEFAULT 1
4140_ACEOF 4155_ACEOF
4141 4156
4142 fi 4157 fi
4143fi; 4158fi;
4144 4159
4209 4224
4210 4225
4211RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 4226RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
4212 4227
4213 4228
4214# Check whether --enable-strings or --disable-strings was given.
4215if test "${enable_strings+set}" = set; then
4216 enableval="$enable_strings"
4217 if test x$enableval = xyes -o x$enableval = xno; then
4218 support_addstrings=$enableval
4219 fi
4220fi;
4221
4222# Check whether --enable-swapscreen or --disable-swapscreen was given. 4229# Check whether --enable-swapscreen or --disable-swapscreen was given.
4223if test "${enable_swapscreen+set}" = set; then 4230if test "${enable_swapscreen+set}" = set; then
4224 enableval="$enable_swapscreen" 4231 enableval="$enable_swapscreen"
4225 if test x$enableval = xno; then 4232 if test x$enableval = xno; then
4226 4233
4245 if test x$enableval = xyes -o x$enableval = xno; then 4252 if test x$enableval = xyes -o x$enableval = xno; then
4246 support_frills=$enableval 4253 support_frills=$enableval
4247 fi 4254 fi
4248fi; 4255fi;
4249 4256
4250# Check whether --enable-24bit or --disable-24bit was given.
4251if test "${enable_24bit+set}" = set; then
4252 enableval="$enable_24bit"
4253 if test x$enableval = xyes -o x$enableval = xno; then
4254 support_24bit=$enableval
4255 fi
4256fi;
4257
4258# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4257# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4259if test "${enable_keepscrolling+set}" = set; then 4258if test "${enable_keepscrolling+set}" = set; then
4260 enableval="$enable_keepscrolling" 4259 enableval="$enable_keepscrolling"
4261 if test x$enableval = xyes -o x$enableval = xno; then 4260 if test x$enableval = xyes -o x$enableval = xno; then
4262 support_keepscrolling=$enableval 4261 support_keepscrolling=$enableval
4285 if test x$enableval = xyes -o x$enableval = xno; then 4284 if test x$enableval = xyes -o x$enableval = xno; then
4286 support_mouseslipwheel=$enableval 4285 support_mouseslipwheel=$enableval
4287 fi 4286 fi
4288fi; 4287fi;
4289 4288
4290# Check whether --enable-dmalloc or --disable-dmalloc was given.
4291if test "${enable_dmalloc+set}" = set; then
4292 enableval="$enable_dmalloc"
4293 if test x$enableval = xyes; then
4294 MALLOC_TYPE=G
4295 DEBUG=-DDEBUG_MALLOC
4296 DLIB="-L/usr/local/lib -ldmalloc"
4297 DINCLUDE=-I/usr/local/include
4298 fi
4299fi;
4300
4301# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4302if test "${enable_dlmalloc+set}" = set; then
4303 enableval="$enable_dlmalloc"
4304 if test x$enableval = xyes; then
4305 MALLOC_TYPE=D
4306 DEBUG=
4307 DLIB="-L/usr/local/lib -ldlmalloc"
4308 DINCLUDE=
4309 fi
4310fi;
4311
4312# Check whether --enable-smart-resize or --disable-smart-resize was given. 4289# Check whether --enable-smart-resize or --disable-smart-resize was given.
4313if test "${enable_smart_resize+set}" = set; then 4290if test "${enable_smart_resize+set}" = set; then
4314 enableval="$enable_smart_resize" 4291 enableval="$enable_smart_resize"
4315 if test x$enableval = xyes; then 4292 if test x$enableval = xyes; then
4316 4293
4361_ACEOF 4338_ACEOF
4362 terminfo="$withval" 4339 terminfo="$withval"
4363 fi 4340 fi
4364fi; 4341fi;
4365 4342
4366
4367
4368cat >>confdefs.h <<\_ACEOF
4369#define PROTOTYPES 1
4370_ACEOF
4371
4372
4373# Extract the first word of "mv", so it can be a program name with args.
4374set dummy mv; ac_word=$2
4375echo "$as_me:$LINENO: checking for $ac_word" >&5
4376echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4377if test "${ac_cv_path_MV+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4379else
4380 case $MV in
4381 [\\/]* | ?:[\\/]*)
4382 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4383 ;;
4384 *)
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386for as_dir in $PATH
4387do
4388 IFS=$as_save_IFS
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 break 2
4395 fi
4396done
4397done
4398
4399 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4400 ;;
4401esac
4402fi
4403MV=$ac_cv_path_MV
4404
4405if test -n "$MV"; then
4406 echo "$as_me:$LINENO: result: $MV" >&5
4407echo "${ECHO_T}$MV" >&6
4408else
4409 echo "$as_me:$LINENO: result: no" >&5
4410echo "${ECHO_T}no" >&6
4411fi
4412
4413# Extract the first word of "rm", so it can be a program name with args.
4414set dummy rm; ac_word=$2
4415echo "$as_me:$LINENO: checking for $ac_word" >&5
4416echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4417if test "${ac_cv_path_RM+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4419else
4420 case $RM in
4421 [\\/]* | ?:[\\/]*)
4422 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4423 ;;
4424 *)
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426for as_dir in $PATH
4427do
4428 IFS=$as_save_IFS
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 break 2
4435 fi
4436done
4437done
4438
4439 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4440 ;;
4441esac
4442fi
4443RM=$ac_cv_path_RM
4444
4445if test -n "$RM"; then
4446 echo "$as_me:$LINENO: result: $RM" >&5
4447echo "${ECHO_T}$RM" >&6
4448else
4449 echo "$as_me:$LINENO: result: no" >&5
4450echo "${ECHO_T}no" >&6
4451fi
4452
4453# Extract the first word of "cp", so it can be a program name with args.
4454set dummy cp; ac_word=$2
4455echo "$as_me:$LINENO: checking for $ac_word" >&5
4456echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4457if test "${ac_cv_path_CP+set}" = set; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4459else
4460 case $CP in
4461 [\\/]* | ?:[\\/]*)
4462 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4463 ;;
4464 *)
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466for as_dir in $PATH
4467do
4468 IFS=$as_save_IFS
4469 test -z "$as_dir" && as_dir=.
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 break 2
4475 fi
4476done
4477done
4478
4479 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4480 ;;
4481esac
4482fi
4483CP=$ac_cv_path_CP
4484
4485if test -n "$CP"; then
4486 echo "$as_me:$LINENO: result: $CP" >&5
4487echo "${ECHO_T}$CP" >&6
4488else
4489 echo "$as_me:$LINENO: result: no" >&5
4490echo "${ECHO_T}no" >&6
4491fi
4492
4493# Extract the first word of "ln", so it can be a program name with args.
4494set dummy ln; ac_word=$2
4495echo "$as_me:$LINENO: checking for $ac_word" >&5
4496echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4497if test "${ac_cv_path_LN+set}" = set; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4499else
4500 case $LN in
4501 [\\/]* | ?:[\\/]*)
4502 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4503 ;;
4504 *)
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506for as_dir in $PATH
4507do
4508 IFS=$as_save_IFS
4509 test -z "$as_dir" && as_dir=.
4510 for ac_exec_ext in '' $ac_executable_extensions; do
4511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4512 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4514 break 2
4515 fi
4516done
4517done
4518
4519 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
4520 ;;
4521esac
4522fi
4523LN=$ac_cv_path_LN
4524
4525if test -n "$LN"; then
4526 echo "$as_me:$LINENO: result: $LN" >&5
4527echo "${ECHO_T}$LN" >&6
4528else
4529 echo "$as_me:$LINENO: result: no" >&5
4530echo "${ECHO_T}no" >&6
4531fi
4532
4533# Extract the first word of "sed", so it can be a program name with args.
4534set dummy sed; ac_word=$2
4535echo "$as_me:$LINENO: checking for $ac_word" >&5
4536echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4537if test "${ac_cv_path_SED+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4539else
4540 case $SED in
4541 [\\/]* | ?:[\\/]*)
4542 ac_cv_path_SED="$SED" # Let the user override the test with a path.
4543 ;;
4544 *)
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546for as_dir in $PATH
4547do
4548 IFS=$as_save_IFS
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 break 2
4555 fi
4556done
4557done
4558
4559 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
4560 ;;
4561esac
4562fi
4563SED=$ac_cv_path_SED
4564
4565if test -n "$SED"; then
4566 echo "$as_me:$LINENO: result: $SED" >&5
4567echo "${ECHO_T}$SED" >&6
4568else
4569 echo "$as_me:$LINENO: result: no" >&5
4570echo "${ECHO_T}no" >&6
4571fi
4572
4573# Extract the first word of "echo", so it can be a program name with args.
4574set dummy echo; ac_word=$2
4575echo "$as_me:$LINENO: checking for $ac_word" >&5
4576echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4577if test "${ac_cv_path_ECHO+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4579else
4580 case $ECHO in
4581 [\\/]* | ?:[\\/]*)
4582 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
4583 ;;
4584 *)
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586for as_dir in $PATH
4587do
4588 IFS=$as_save_IFS
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
4593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 break 2
4595 fi
4596done
4597done
4598
4599 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
4600 ;;
4601esac
4602fi
4603ECHO=$ac_cv_path_ECHO
4604
4605if test -n "$ECHO"; then
4606 echo "$as_me:$LINENO: result: $ECHO" >&5
4607echo "${ECHO_T}$ECHO" >&6
4608else
4609 echo "$as_me:$LINENO: result: no" >&5
4610echo "${ECHO_T}no" >&6
4611fi
4612
4613# Extract the first word of "cmp", so it can be a program name with args.
4614set dummy cmp; ac_word=$2
4615echo "$as_me:$LINENO: checking for $ac_word" >&5
4616echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4617if test "${ac_cv_path_CMP+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4619else
4620 case $CMP in
4621 [\\/]* | ?:[\\/]*)
4622 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4623 ;;
4624 *)
4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626for as_dir in $PATH
4627do
4628 IFS=$as_save_IFS
4629 test -z "$as_dir" && as_dir=.
4630 for ac_exec_ext in '' $ac_executable_extensions; do
4631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 break 2
4635 fi
4636done
4637done
4638
4639 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
4640 ;;
4641esac
4642fi
4643CMP=$ac_cv_path_CMP
4644
4645if test -n "$CMP"; then
4646 echo "$as_me:$LINENO: result: $CMP" >&5
4647echo "${ECHO_T}$CMP" >&6
4648else
4649 echo "$as_me:$LINENO: result: no" >&5
4650echo "${ECHO_T}no" >&6
4651fi
4652
4653# Extract the first word of "tbl", so it can be a program name with args.
4654set dummy tbl; ac_word=$2
4655echo "$as_me:$LINENO: checking for $ac_word" >&5
4656echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4657if test "${ac_cv_path_TBL+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4659else
4660 case $TBL in
4661 [\\/]* | ?:[\\/]*)
4662 ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
4663 ;;
4664 *)
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666for as_dir in $PATH
4667do
4668 IFS=$as_save_IFS
4669 test -z "$as_dir" && as_dir=.
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4672 ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext"
4673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 break 2
4675 fi
4676done
4677done
4678
4679 ;;
4680esac
4681fi
4682TBL=$ac_cv_path_TBL
4683
4684if test -n "$TBL"; then
4685 echo "$as_me:$LINENO: result: $TBL" >&5
4686echo "${ECHO_T}$TBL" >&6
4687else
4688 echo "$as_me:$LINENO: result: no" >&5
4689echo "${ECHO_T}no" >&6
4690fi
4691 4343
4692# Extract the first word of "tic", so it can be a program name with args. 4344# Extract the first word of "tic", so it can be a program name with args.
4693set dummy tic; ac_word=$2 4345set dummy tic; ac_word=$2
4694echo "$as_me:$LINENO: checking for $ac_word" >&5 4346echo "$as_me:$LINENO: checking for $ac_word" >&5
4695echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4729fi 4381fi
4730 4382
4731 4383
4732 4384
4733 4385
4386ac_ext=cc
4387ac_cpp='$CXXCPP $CPPFLAGS'
4388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4391echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4392echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4393if test -z "$CXXCPP"; then
4394 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4396else
4397 # Double quotes because CXXCPP needs to be expanded
4398 for CXXCPP in "$CXX -E" "/lib/cpp"
4399 do
4400 ac_preproc_ok=false
4401for ac_cxx_preproc_warn_flag in '' yes
4402do
4403 # Use a header file that comes with gcc, so configuring glibc
4404 # with a fresh cross-compiler works.
4405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4406 # <limits.h> exists even on freestanding compilers.
4407 # On the NeXT, cc -E runs the code through the compiler's parser,
4408 # not just through cpp. "Syntax error" is here to catch this case.
4409 cat >conftest.$ac_ext <<_ACEOF
4410/* confdefs.h. */
4411_ACEOF
4412cat confdefs.h >>conftest.$ac_ext
4413cat >>conftest.$ac_ext <<_ACEOF
4414/* end confdefs.h. */
4415#ifdef __STDC__
4416# include <limits.h>
4417#else
4418# include <assert.h>
4419#endif
4420 Syntax error
4421_ACEOF
4422if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4424 ac_status=$?
4425 grep -v '^ *+' conftest.er1 >conftest.err
4426 rm -f conftest.er1
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } >/dev/null; then
4430 if test -s conftest.err; then
4431 ac_cpp_err=$ac_cxx_preproc_warn_flag
4432 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4433 else
4434 ac_cpp_err=
4435 fi
4436else
4437 ac_cpp_err=yes
4438fi
4439if test -z "$ac_cpp_err"; then
4440 :
4441else
4442 echo "$as_me: failed program was:" >&5
4443sed 's/^/| /' conftest.$ac_ext >&5
4734 4444
4735if test "x$ac_path_x_has_been_run" != xyes; then 4445 # Broken: fails on valid input.
4446continue
4447fi
4448rm -f conftest.err conftest.$ac_ext
4449
4450 # OK, works on sane cases. Now check whether non-existent headers
4451 # can be detected and how.
4452 cat >conftest.$ac_ext <<_ACEOF
4453/* confdefs.h. */
4454_ACEOF
4455cat confdefs.h >>conftest.$ac_ext
4456cat >>conftest.$ac_ext <<_ACEOF
4457/* end confdefs.h. */
4458#include <ac_nonexistent.h>
4459_ACEOF
4460if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4462 ac_status=$?
4463 grep -v '^ *+' conftest.er1 >conftest.err
4464 rm -f conftest.er1
4465 cat conftest.err >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); } >/dev/null; then
4468 if test -s conftest.err; then
4469 ac_cpp_err=$ac_cxx_preproc_warn_flag
4470 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4471 else
4472 ac_cpp_err=
4473 fi
4474else
4475 ac_cpp_err=yes
4476fi
4477if test -z "$ac_cpp_err"; then
4478 # Broken: success on invalid input.
4479continue
4480else
4481 echo "$as_me: failed program was:" >&5
4482sed 's/^/| /' conftest.$ac_ext >&5
4483
4484 # Passes both tests.
4485ac_preproc_ok=:
4486break
4487fi
4488rm -f conftest.err conftest.$ac_ext
4489
4490done
4491# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4492rm -f conftest.err conftest.$ac_ext
4493if $ac_preproc_ok; then
4494 break
4495fi
4496
4497 done
4498 ac_cv_prog_CXXCPP=$CXXCPP
4499
4500fi
4501 CXXCPP=$ac_cv_prog_CXXCPP
4502else
4503 ac_cv_prog_CXXCPP=$CXXCPP
4504fi
4505echo "$as_me:$LINENO: result: $CXXCPP" >&5
4506echo "${ECHO_T}$CXXCPP" >&6
4507ac_preproc_ok=false
4508for ac_cxx_preproc_warn_flag in '' yes
4509do
4510 # Use a header file that comes with gcc, so configuring glibc
4511 # with a fresh cross-compiler works.
4512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4513 # <limits.h> exists even on freestanding compilers.
4514 # On the NeXT, cc -E runs the code through the compiler's parser,
4515 # not just through cpp. "Syntax error" is here to catch this case.
4516 cat >conftest.$ac_ext <<_ACEOF
4517/* confdefs.h. */
4518_ACEOF
4519cat confdefs.h >>conftest.$ac_ext
4520cat >>conftest.$ac_ext <<_ACEOF
4521/* end confdefs.h. */
4522#ifdef __STDC__
4523# include <limits.h>
4524#else
4525# include <assert.h>
4526#endif
4527 Syntax error
4528_ACEOF
4529if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4531 ac_status=$?
4532 grep -v '^ *+' conftest.er1 >conftest.err
4533 rm -f conftest.er1
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } >/dev/null; then
4537 if test -s conftest.err; then
4538 ac_cpp_err=$ac_cxx_preproc_warn_flag
4539 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4540 else
4541 ac_cpp_err=
4542 fi
4543else
4544 ac_cpp_err=yes
4545fi
4546if test -z "$ac_cpp_err"; then
4547 :
4548else
4549 echo "$as_me: failed program was:" >&5
4550sed 's/^/| /' conftest.$ac_ext >&5
4551
4552 # Broken: fails on valid input.
4553continue
4554fi
4555rm -f conftest.err conftest.$ac_ext
4556
4557 # OK, works on sane cases. Now check whether non-existent headers
4558 # can be detected and how.
4559 cat >conftest.$ac_ext <<_ACEOF
4560/* confdefs.h. */
4561_ACEOF
4562cat confdefs.h >>conftest.$ac_ext
4563cat >>conftest.$ac_ext <<_ACEOF
4564/* end confdefs.h. */
4565#include <ac_nonexistent.h>
4566_ACEOF
4567if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4569 ac_status=$?
4570 grep -v '^ *+' conftest.er1 >conftest.err
4571 rm -f conftest.er1
4572 cat conftest.err >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); } >/dev/null; then
4575 if test -s conftest.err; then
4576 ac_cpp_err=$ac_cxx_preproc_warn_flag
4577 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4578 else
4579 ac_cpp_err=
4580 fi
4581else
4582 ac_cpp_err=yes
4583fi
4584if test -z "$ac_cpp_err"; then
4585 # Broken: success on invalid input.
4586continue
4587else
4588 echo "$as_me: failed program was:" >&5
4589sed 's/^/| /' conftest.$ac_ext >&5
4590
4591 # Passes both tests.
4592ac_preproc_ok=:
4593break
4594fi
4595rm -f conftest.err conftest.$ac_ext
4596
4597done
4598# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4599rm -f conftest.err conftest.$ac_ext
4600if $ac_preproc_ok; then
4601 :
4602else
4603 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4604See \`config.log' for more details." >&5
4605echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4606See \`config.log' for more details." >&2;}
4607 { (exit 1); exit 1; }; }
4608fi
4609
4610ac_ext=cc
4611ac_cpp='$CXXCPP $CPPFLAGS'
4612ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4615
4616
4736 echo "$as_me:$LINENO: checking for X" >&5 4617echo "$as_me:$LINENO: checking for X" >&5
4737echo $ECHO_N "checking for X... $ECHO_C" >&6 4618echo $ECHO_N "checking for X... $ECHO_C" >&6
4738 4619
4739ac_path_x_has_been_run=yes
4740 4620
4741# Check whether --with-x or --without-x was given. 4621# Check whether --with-x or --without-x was given.
4742if test "${with_x+set}" = set; then 4622if test "${with_x+set}" = set; then
4743 withval="$with_x" 4623 withval="$with_x"
4744 4624
4827 4707
4828/usr/openwin/include 4708/usr/openwin/include
4829/usr/openwin/share/include' 4709/usr/openwin/share/include'
4830 4710
4831if test "$ac_x_includes" = no; then 4711if test "$ac_x_includes" = no; then
4832 # Guess where to find include files, by looking for a specified header file. 4712 # Guess where to find include files, by looking for Intrinsic.h.
4833 # First, try using that file with no special directory specified. 4713 # First, try using that file with no special directory specified.
4834 cat >conftest.$ac_ext <<_ACEOF 4714 cat >conftest.$ac_ext <<_ACEOF
4835/* confdefs.h. */ 4715/* confdefs.h. */
4836_ACEOF 4716_ACEOF
4837cat confdefs.h >>conftest.$ac_ext 4717cat confdefs.h >>conftest.$ac_ext
4838cat >>conftest.$ac_ext <<_ACEOF 4718cat >>conftest.$ac_ext <<_ACEOF
4839/* end confdefs.h. */ 4719/* end confdefs.h. */
4840#include <X11/Xlib.h> 4720#include <X11/Intrinsic.h>
4841_ACEOF 4721_ACEOF
4842if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4722if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4844 ac_status=$? 4724 ac_status=$?
4845 grep -v '^ *+' conftest.er1 >conftest.err 4725 grep -v '^ *+' conftest.er1 >conftest.err
4862else 4742else
4863 echo "$as_me: failed program was:" >&5 4743 echo "$as_me: failed program was:" >&5
4864sed 's/^/| /' conftest.$ac_ext >&5 4744sed 's/^/| /' conftest.$ac_ext >&5
4865 4745
4866 for ac_dir in $ac_x_header_dirs; do 4746 for ac_dir in $ac_x_header_dirs; do
4867 if test -r "$ac_dir/X11/Xlib.h"; then 4747 if test -r "$ac_dir/X11/Intrinsic.h"; then
4868 ac_x_includes=$ac_dir 4748 ac_x_includes=$ac_dir
4869 break 4749 break
4870 fi 4750 fi
4871done 4751done
4872fi 4752fi
4876if test "$ac_x_libraries" = no; then 4756if test "$ac_x_libraries" = no; then
4877 # Check for the libraries. 4757 # Check for the libraries.
4878 # See if we find them without any special options. 4758 # See if we find them without any special options.
4879 # Don't add to $LIBS permanently. 4759 # Don't add to $LIBS permanently.
4880 ac_save_LIBS=$LIBS 4760 ac_save_LIBS=$LIBS
4881 LIBS="-lX11 $LIBS" 4761 LIBS="-lXt $LIBS"
4882 cat >conftest.$ac_ext <<_ACEOF 4762 cat >conftest.$ac_ext <<_ACEOF
4883/* confdefs.h. */ 4763/* confdefs.h. */
4884_ACEOF 4764_ACEOF
4885cat confdefs.h >>conftest.$ac_ext 4765cat confdefs.h >>conftest.$ac_ext
4886cat >>conftest.$ac_ext <<_ACEOF 4766cat >>conftest.$ac_ext <<_ACEOF
4887/* end confdefs.h. */ 4767/* end confdefs.h. */
4888#include <X11/Xlib.h> 4768#include <X11/Intrinsic.h>
4889int 4769int
4890main () 4770main ()
4891{ 4771{
4892XrmInitialize () 4772XtMalloc (0)
4893 ; 4773 ;
4894 return 0; 4774 return 0;
4895} 4775}
4896_ACEOF 4776_ACEOF
4897rm -f conftest.$ac_objext conftest$ac_exeext 4777rm -f conftest.$ac_objext conftest$ac_exeext
4901 grep -v '^ *+' conftest.er1 >conftest.err 4781 grep -v '^ *+' conftest.er1 >conftest.err
4902 rm -f conftest.er1 4782 rm -f conftest.er1
4903 cat conftest.err >&5 4783 cat conftest.err >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } && 4785 (exit $ac_status); } &&
4906 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4786 { ac_try='test -z "$ac_cxx_werror_flag"
4787 || test ! -s conftest.err'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 (eval $ac_try) 2>&5 4789 (eval $ac_try) 2>&5
4909 ac_status=$? 4790 ac_status=$?
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; } && 4792 (exit $ac_status); }; } &&
4925LIBS=$ac_save_LIBS 4806LIBS=$ac_save_LIBS
4926for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 4807for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4927do 4808do
4928 # Don't even attempt the hair of trying to link an X program! 4809 # Don't even attempt the hair of trying to link an X program!
4929 for ac_extension in a so sl; do 4810 for ac_extension in a so sl; do
4930 if test -r $ac_dir/libX11.$ac_extension; then 4811 if test -r $ac_dir/libXt.$ac_extension; then
4931 ac_x_libraries=$ac_dir 4812 ac_x_libraries=$ac_dir
4932 break 2 4813 break 2
4933 fi 4814 fi
4934 done 4815 done
4935done 4816done
4961 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4962 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4963 # Update the cache value to reflect the command line values. 4844 # Update the cache value to reflect the command line values.
4964 ac_cv_have_x="have_x=yes \ 4845 ac_cv_have_x="have_x=yes \
4965 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 4846 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
4966 # It might be that x_includes is empty (headers are found in the
4967 # standard search path. Then output the corresponding message
4968 ac_out_x_includes=$x_includes
4969 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
4970 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 4847 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4971echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 4848echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
4972fi 4849fi
4973 4850
4974fi
4975if test "$no_x" = yes; then 4851if test "$no_x" = yes; then
4976 # Not all programs may use this symbol, but it does not hurt to define it. 4852 # Not all programs may use this symbol, but it does not hurt to define it.
4977 4853
4978cat >>confdefs.h <<\_ACEOF 4854cat >>confdefs.h <<\_ACEOF
4979#define X_DISPLAY_MISSING 1 4855#define X_DISPLAY_MISSING 1
5017 grep -v '^ *+' conftest.er1 >conftest.err 4893 grep -v '^ *+' conftest.er1 >conftest.err
5018 rm -f conftest.er1 4894 rm -f conftest.er1
5019 cat conftest.err >&5 4895 cat conftest.err >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } && 4897 (exit $ac_status); } &&
5022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4898 { ac_try='test -z "$ac_cxx_werror_flag"
4899 || test ! -s conftest.err'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5024 (eval $ac_try) 2>&5 4901 (eval $ac_try) 2>&5
5025 ac_status=$? 4902 ac_status=$?
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; } && 4904 (exit $ac_status); }; } &&
5068 grep -v '^ *+' conftest.er1 >conftest.err 4945 grep -v '^ *+' conftest.er1 >conftest.err
5069 rm -f conftest.er1 4946 rm -f conftest.er1
5070 cat conftest.err >&5 4947 cat conftest.err >&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } && 4949 (exit $ac_status); } &&
5073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4950 { ac_try='test -z "$ac_cxx_werror_flag"
4951 || test ! -s conftest.err'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075 (eval $ac_try) 2>&5 4953 (eval $ac_try) 2>&5
5076 ac_status=$? 4954 ac_status=$?
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; } && 4956 (exit $ac_status); }; } &&
5144 grep -v '^ *+' conftest.er1 >conftest.err 5022 grep -v '^ *+' conftest.er1 >conftest.err
5145 rm -f conftest.er1 5023 rm -f conftest.er1
5146 cat conftest.err >&5 5024 cat conftest.err >&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); } && 5026 (exit $ac_status); } &&
5149 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5027 { ac_try='test -z "$ac_cxx_werror_flag"
5028 || test ! -s conftest.err'
5150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 (eval $ac_try) 2>&5 5030 (eval $ac_try) 2>&5
5152 ac_status=$? 5031 ac_status=$?
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); }; } && 5033 (exit $ac_status); }; } &&
5199 grep -v '^ *+' conftest.er1 >conftest.err 5078 grep -v '^ *+' conftest.er1 >conftest.err
5200 rm -f conftest.er1 5079 rm -f conftest.er1
5201 cat conftest.err >&5 5080 cat conftest.err >&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } && 5082 (exit $ac_status); } &&
5204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5083 { ac_try='test -z "$ac_cxx_werror_flag"
5084 || test ! -s conftest.err'
5205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5206 (eval $ac_try) 2>&5 5086 (eval $ac_try) 2>&5
5207 ac_status=$? 5087 ac_status=$?
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); }; } && 5089 (exit $ac_status); }; } &&
5267 grep -v '^ *+' conftest.er1 >conftest.err 5147 grep -v '^ *+' conftest.er1 >conftest.err
5268 rm -f conftest.er1 5148 rm -f conftest.er1
5269 cat conftest.err >&5 5149 cat conftest.err >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } && 5151 (exit $ac_status); } &&
5272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5152 { ac_try='test -z "$ac_cxx_werror_flag"
5153 || test ! -s conftest.err'
5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5274 (eval $ac_try) 2>&5 5155 (eval $ac_try) 2>&5
5275 ac_status=$? 5156 ac_status=$?
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }; } && 5158 (exit $ac_status); }; } &&
5375 grep -v '^ *+' conftest.er1 >conftest.err 5256 grep -v '^ *+' conftest.er1 >conftest.err
5376 rm -f conftest.er1 5257 rm -f conftest.er1
5377 cat conftest.err >&5 5258 cat conftest.err >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } && 5260 (exit $ac_status); } &&
5380 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5261 { ac_try='test -z "$ac_cxx_werror_flag"
5262 || test ! -s conftest.err'
5381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 (eval $ac_try) 2>&5 5264 (eval $ac_try) 2>&5
5383 ac_status=$? 5265 ac_status=$?
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); }; } && 5267 (exit $ac_status); }; } &&
5439 grep -v '^ *+' conftest.er1 >conftest.err 5321 grep -v '^ *+' conftest.er1 >conftest.err
5440 rm -f conftest.er1 5322 rm -f conftest.er1
5441 cat conftest.err >&5 5323 cat conftest.err >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } && 5325 (exit $ac_status); } &&
5444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5326 { ac_try='test -z "$ac_cxx_werror_flag"
5327 || test ! -s conftest.err'
5445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446 (eval $ac_try) 2>&5 5329 (eval $ac_try) 2>&5
5447 ac_status=$? 5330 ac_status=$?
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); }; } && 5332 (exit $ac_status); }; } &&
5507 grep -v '^ *+' conftest.er1 >conftest.err 5390 grep -v '^ *+' conftest.er1 >conftest.err
5508 rm -f conftest.er1 5391 rm -f conftest.er1
5509 cat conftest.err >&5 5392 cat conftest.err >&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } && 5394 (exit $ac_status); } &&
5512 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5395 { ac_try='test -z "$ac_cxx_werror_flag"
5396 || test ! -s conftest.err'
5513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5514 (eval $ac_try) 2>&5 5398 (eval $ac_try) 2>&5
5515 ac_status=$? 5399 ac_status=$?
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; } && 5401 (exit $ac_status); }; } &&
5611 grep -v '^ *+' conftest.er1 >conftest.err 5495 grep -v '^ *+' conftest.er1 >conftest.err
5612 rm -f conftest.er1 5496 rm -f conftest.er1
5613 cat conftest.err >&5 5497 cat conftest.err >&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } && 5499 (exit $ac_status); } &&
5616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5500 { ac_try='test -z "$ac_cxx_werror_flag"
5501 || test ! -s conftest.err'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 (eval $ac_try) 2>&5 5503 (eval $ac_try) 2>&5
5619 ac_status=$? 5504 ac_status=$?
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; } && 5506 (exit $ac_status); }; } &&
5675 grep -v '^ *+' conftest.er1 >conftest.err 5560 grep -v '^ *+' conftest.er1 >conftest.err
5676 rm -f conftest.er1 5561 rm -f conftest.er1
5677 cat conftest.err >&5 5562 cat conftest.err >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } && 5564 (exit $ac_status); } &&
5680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5565 { ac_try='test -z "$ac_cxx_werror_flag"
5566 || test ! -s conftest.err'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682 (eval $ac_try) 2>&5 5568 (eval $ac_try) 2>&5
5683 ac_status=$? 5569 ac_status=$?
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; } && 5571 (exit $ac_status); }; } &&
5772 grep -v '^ *+' conftest.er1 >conftest.err 5658 grep -v '^ *+' conftest.er1 >conftest.err
5773 rm -f conftest.er1 5659 rm -f conftest.er1
5774 cat conftest.err >&5 5660 cat conftest.err >&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); } && 5662 (exit $ac_status); } &&
5777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5663 { ac_try='test -z "$ac_cxx_werror_flag"
5664 || test ! -s conftest.err'
5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 (eval $ac_try) 2>&5 5666 (eval $ac_try) 2>&5
5780 ac_status=$? 5667 ac_status=$?
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; } && 5669 (exit $ac_status); }; } &&
5836 grep -v '^ *+' conftest.er1 >conftest.err 5723 grep -v '^ *+' conftest.er1 >conftest.err
5837 rm -f conftest.er1 5724 rm -f conftest.er1
5838 cat conftest.err >&5 5725 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && 5727 (exit $ac_status); } &&
5841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5728 { ac_try='test -z "$ac_cxx_werror_flag"
5729 || test ! -s conftest.err'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 (eval $ac_try) 2>&5 5731 (eval $ac_try) 2>&5
5844 ac_status=$? 5732 ac_status=$?
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; } && 5734 (exit $ac_status); }; } &&
5933 grep -v '^ *+' conftest.er1 >conftest.err 5821 grep -v '^ *+' conftest.er1 >conftest.err
5934 rm -f conftest.er1 5822 rm -f conftest.er1
5935 cat conftest.err >&5 5823 cat conftest.err >&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } && 5825 (exit $ac_status); } &&
5938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5826 { ac_try='test -z "$ac_cxx_werror_flag"
5827 || test ! -s conftest.err'
5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 (eval $ac_try) 2>&5 5829 (eval $ac_try) 2>&5
5941 ac_status=$? 5830 ac_status=$?
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; } && 5832 (exit $ac_status); }; } &&
5997 grep -v '^ *+' conftest.er1 >conftest.err 5886 grep -v '^ *+' conftest.er1 >conftest.err
5998 rm -f conftest.er1 5887 rm -f conftest.er1
5999 cat conftest.err >&5 5888 cat conftest.err >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); } && 5890 (exit $ac_status); } &&
6002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5891 { ac_try='test -z "$ac_cxx_werror_flag"
5892 || test ! -s conftest.err'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 (eval $ac_try) 2>&5 5894 (eval $ac_try) 2>&5
6005 ac_status=$? 5895 ac_status=$?
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; } && 5897 (exit $ac_status); }; } &&
6076 grep -v '^ *+' conftest.er1 >conftest.err 5966 grep -v '^ *+' conftest.er1 >conftest.err
6077 rm -f conftest.er1 5967 rm -f conftest.er1
6078 cat conftest.err >&5 5968 cat conftest.err >&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); } && 5970 (exit $ac_status); } &&
6081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5971 { ac_try='test -z "$ac_cxx_werror_flag"
5972 || test ! -s conftest.err'
6082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6083 (eval $ac_try) 2>&5 5974 (eval $ac_try) 2>&5
6084 ac_status=$? 5975 ac_status=$?
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; } && 5977 (exit $ac_status); }; } &&
6111 6002
6112fi 6003fi
6113 6004
6114 6005
6115 6006
6007LIBAFTERIMAGE_CFLAGS=
6008AFTERIMAGE_LIBS=
6009have_afterimage=
6010
6116if test x$support_xpm = xyes; then 6011if test x$support_afterimage = xyes; then
6012 support_afterimage=no
6013
6014 if test "x$afterimage_config" = "x" ; then
6015 # Extract the first word of "afterimage-config", so it can be a program name with args.
6016set dummy afterimage-config; ac_word=$2
6017echo "$as_me:$LINENO: checking for $ac_word" >&5
6018echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6019if test "${ac_cv_path_afterimage_config+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6021else
6022 case $afterimage_config in
6023 [\\/]* | ?:[\\/]*)
6024 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6025 ;;
6026 *)
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028for as_dir in $PATH
6029do
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6037 fi
6038done
6039done
6040
6041 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
6042 ;;
6043esac
6044fi
6045afterimage_config=$ac_cv_path_afterimage_config
6046
6047if test -n "$afterimage_config"; then
6048 echo "$as_me:$LINENO: result: $afterimage_config" >&5
6049echo "${ECHO_T}$afterimage_config" >&6
6050else
6051 echo "$as_me:$LINENO: result: no" >&5
6052echo "${ECHO_T}no" >&6
6053fi
6054
6055 fi
6056
6057 echo "$as_me:$LINENO: checking for libAfterImage" >&5
6058echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6
6059 if $afterimage_config --version >/dev/null 2>&1 ; then
6060 LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6061 AFTERIMAGE_LIBS=`$afterimage_config --libs`
6062 if test "x$AFTERIMAGE_LIBS" != "x"; then
6063 support_afterimage=yes
6064 fi
6065 fi
6066
6067 if test "x$support_afterimage" = "xyes"; then
6068 echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
6069echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6
6070 else
6071 echo "$as_me:$LINENO: result: no" >&5
6072echo "${ECHO_T}no" >&6
6073 fi
6074fi
6075
6076if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then
6117 6077
6118 6078
6119 6079
6120# Initialize some more variables set by options. 6080# Initialize some more variables set by options.
6121# The variables have the same names as the options, with 6081# The variables have the same names as the options, with
6292 grep -v '^ *+' conftest.er1 >conftest.err 6252 grep -v '^ *+' conftest.er1 >conftest.err
6293 rm -f conftest.er1 6253 rm -f conftest.er1
6294 cat conftest.err >&5 6254 cat conftest.err >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); } && 6256 (exit $ac_status); } &&
6297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6257 { ac_try='test -z "$ac_cxx_werror_flag"
6258 || test ! -s conftest.err'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 (eval $ac_try) 2>&5 6260 (eval $ac_try) 2>&5
6300 ac_status=$? 6261 ac_status=$?
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; } && 6263 (exit $ac_status); }; } &&
6506 grep -v '^ *+' conftest.er1 >conftest.err 6467 grep -v '^ *+' conftest.er1 >conftest.err
6507 rm -f conftest.er1 6468 rm -f conftest.er1
6508 cat conftest.err >&5 6469 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && 6471 (exit $ac_status); } &&
6511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6472 { ac_try='test -z "$ac_cxx_werror_flag"
6473 || test ! -s conftest.err'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 (eval $ac_try) 2>&5 6475 (eval $ac_try) 2>&5
6514 ac_status=$? 6476 ac_status=$?
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; } && 6478 (exit $ac_status); }; } &&
6570 grep -v '^ *+' conftest.er1 >conftest.err 6532 grep -v '^ *+' conftest.er1 >conftest.err
6571 rm -f conftest.er1 6533 rm -f conftest.er1
6572 cat conftest.err >&5 6534 cat conftest.err >&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } && 6536 (exit $ac_status); } &&
6575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6537 { ac_try='test -z "$ac_cxx_werror_flag"
6538 || test ! -s conftest.err'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577 (eval $ac_try) 2>&5 6540 (eval $ac_try) 2>&5
6578 ac_status=$? 6541 ac_status=$?
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; } && 6543 (exit $ac_status); }; } &&
6740 grep -v '^ *+' conftest.er1 >conftest.err 6703 grep -v '^ *+' conftest.er1 >conftest.err
6741 rm -f conftest.er1 6704 rm -f conftest.er1
6742 cat conftest.err >&5 6705 cat conftest.err >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } && 6707 (exit $ac_status); } &&
6745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6708 { ac_try='test -z "$ac_cxx_werror_flag"
6709 || test ! -s conftest.err'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 (eval $ac_try) 2>&5 6711 (eval $ac_try) 2>&5
6748 ac_status=$? 6712 ac_status=$?
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; } && 6714 (exit $ac_status); }; } &&
6790 6754
6791 6755
6792 6756
6793 6757
6794 6758
6795
6796
6797
6798
6799
6800
6801
6802for ac_header in \ 6759for ac_header in \
6803 assert.h \ 6760 assert.h \
6804 fcntl.h \ 6761 fcntl.h \
6805 grp.h \
6806 libc.h \
6807 lastlog.h \
6808 stdarg.h \ 6762 stdarg.h \
6809 stdlib.h \ 6763 stdlib.h \
6810 string.h \ 6764 string.h \
6811 termios.h \ 6765 termios.h \
6812 unistd.h \ 6766 unistd.h \
6813 sys/byteorder.h \ 6767 sys/byteorder.h \
6814 sys/ioctl.h \ 6768 sys/ioctl.h \
6815 sys/select.h \ 6769 sys/select.h \
6816 sys/sockio.h \ 6770 sys/sockio.h \
6817 sys/strredir.h \ 6771 sys/strredir.h \
6818 sys/stropts.h \
6819 sys/time.h \ 6772 sys/time.h \
6820 utmp.h \ 6773 stdint.h \
6821 utmpx.h \ 6774 wchar.h \
6822 stdint.h \ 6775 cwchar \
6823 pty.h \ 6776 clocale \
6824 wchar.h \
6825 cwchar \
6826 clocale \
6827 6777
6828do 6778do
6829as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6779as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6830if eval "test \"\${$as_ac_Header+set}\" = set"; then 6780if eval "test \"\${$as_ac_Header+set}\" = set"; then
6831 echo "$as_me:$LINENO: checking for $ac_header" >&5 6781 echo "$as_me:$LINENO: checking for $ac_header" >&5
6855 grep -v '^ *+' conftest.er1 >conftest.err 6805 grep -v '^ *+' conftest.er1 >conftest.err
6856 rm -f conftest.er1 6806 rm -f conftest.er1
6857 cat conftest.err >&5 6807 cat conftest.err >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } && 6809 (exit $ac_status); } &&
6860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6810 { ac_try='test -z "$ac_cxx_werror_flag"
6811 || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 (eval $ac_try) 2>&5 6813 (eval $ac_try) 2>&5
6863 ac_status=$? 6814 ac_status=$?
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; } && 6816 (exit $ac_status); }; } &&
7004 grep -v '^ *+' conftest.er1 >conftest.err 6955 grep -v '^ *+' conftest.er1 >conftest.err
7005 rm -f conftest.er1 6956 rm -f conftest.er1
7006 cat conftest.err >&5 6957 cat conftest.err >&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); } && 6959 (exit $ac_status); } &&
7009 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6960 { ac_try='test -z "$ac_cxx_werror_flag"
6961 || test ! -s conftest.err'
7010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011 (eval $ac_try) 2>&5 6963 (eval $ac_try) 2>&5
7012 ac_status=$? 6964 ac_status=$?
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); }; } && 6966 (exit $ac_status); }; } &&
7069 grep -v '^ *+' conftest.er1 >conftest.err 7021 grep -v '^ *+' conftest.er1 >conftest.err
7070 rm -f conftest.er1 7022 rm -f conftest.er1
7071 cat conftest.err >&5 7023 cat conftest.err >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } && 7025 (exit $ac_status); } &&
7074 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7026 { ac_try='test -z "$ac_cxx_werror_flag"
7027 || test ! -s conftest.err'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 (eval $ac_try) 2>&5 7029 (eval $ac_try) 2>&5
7077 ac_status=$? 7030 ac_status=$?
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; } && 7032 (exit $ac_status); }; } &&
7092fi 7045fi
7093rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7094fi 7047fi
7095echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7048echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7096echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 7049echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6
7097
7098if test -n "$GCC"; then
7099 LDARG="-Wl,"
7100else
7101 LDARG=""
7102fi
7103R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7104
7105ac_save_CFLAGS=$CFLAGS
7106ac_save_LIBS=$LIBS
7107CFLAGS="$CFLAGS $X_CFLAGS"
7108LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7109echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7110echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6
7111if test "${rxvt_cv_rpath+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7113else
7114 if test "$cross_compiling" = yes; then
7115 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7116echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7117else
7118 cat >conftest.$ac_ext <<_ACEOF
7119/* confdefs.h. */
7120_ACEOF
7121cat confdefs.h >>conftest.$ac_ext
7122cat >>conftest.$ac_ext <<_ACEOF
7123/* end confdefs.h. */
7124
7125main()
7126{
7127 exit(0);
7128 (void) XOpenDisplay("foobar");
7129}
7130_ACEOF
7131rm -f conftest$ac_exeext
7132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7133 (eval $ac_link) 2>&5
7134 ac_status=$?
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 (eval $ac_try) 2>&5
7139 ac_status=$?
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); }; }; then
7142 rxvt_cv_rpath=yes
7143else
7144 echo "$as_me: program exited with status $ac_status" >&5
7145echo "$as_me: failed program was:" >&5
7146sed 's/^/| /' conftest.$ac_ext >&5
7147
7148( exit $ac_status )
7149rxvt_cv_rpath=no
7150fi
7151rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7152fi
7153fi
7154echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7155echo "${ECHO_T}$rxvt_cv_rpath" >&6
7156if test x$rxvt_cv_rpath != xyes; then
7157 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7158 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7159 echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7160echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6
7161if test "${rxvt_cv_R+set}" = set; then
7162 echo $ECHO_N "(cached) $ECHO_C" >&6
7163else
7164 if test "$cross_compiling" = yes; then
7165 rxvt_cv_R=no
7166else
7167 cat >conftest.$ac_ext <<_ACEOF
7168/* confdefs.h. */
7169_ACEOF
7170cat confdefs.h >>conftest.$ac_ext
7171cat >>conftest.$ac_ext <<_ACEOF
7172/* end confdefs.h. */
7173
7174main()
7175{
7176 exit(0);
7177 (void) XOpenDisplay("foobar");
7178}
7179_ACEOF
7180rm -f conftest$ac_exeext
7181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7182 (eval $ac_link) 2>&5
7183 ac_status=$?
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7187 (eval $ac_try) 2>&5
7188 ac_status=$?
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); }; }; then
7191 rxvt_cv_R=yes
7192else
7193 echo "$as_me: program exited with status $ac_status" >&5
7194echo "$as_me: failed program was:" >&5
7195sed 's/^/| /' conftest.$ac_ext >&5
7196
7197( exit $ac_status )
7198rxvt_cv_R=no
7199fi
7200rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7201fi
7202fi
7203echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7204echo "${ECHO_T}$rxvt_cv_R" >&6
7205 if test x$rxvt_cv_R != xyes; then
7206 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7207 fi
7208fi
7209 7050
7210echo "$as_me:$LINENO: checking for XPointer" >&5 7051echo "$as_me:$LINENO: checking for XPointer" >&5
7211echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 7052echo $ECHO_N "checking for XPointer... $ECHO_C" >&6
7212if test "${rxvt_cv_xpointer+set}" = set; then 7053if test "${rxvt_cv_xpointer+set}" = set; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6 7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 grep -v '^ *+' conftest.er1 >conftest.err 7075 grep -v '^ *+' conftest.er1 >conftest.err
7235 rm -f conftest.er1 7076 rm -f conftest.er1
7236 cat conftest.err >&5 7077 cat conftest.err >&5
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); } && 7079 (exit $ac_status); } &&
7239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7080 { ac_try='test -z "$ac_cxx_werror_flag"
7081 || test ! -s conftest.err'
7240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7241 (eval $ac_try) 2>&5 7083 (eval $ac_try) 2>&5
7242 ac_status=$? 7084 ac_status=$?
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); }; } && 7086 (exit $ac_status); }; } &&
7267 7109
7268fi 7110fi
7269LIBS=$ac_save_LIBS 7111LIBS=$ac_save_LIBS
7270CFLAGS=$ac_save_CFLAGS 7112CFLAGS=$ac_save_CFLAGS
7271 7113
7114echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7115echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7116if test "${rxvt_xlib_illegal_access+set}" = set; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7118else
7119 cat >conftest.$ac_ext <<_ACEOF
7120/* confdefs.h. */
7121_ACEOF
7122cat confdefs.h >>conftest.$ac_ext
7123cat >>conftest.$ac_ext <<_ACEOF
7124/* end confdefs.h. */
7125
7126#define XLIB_ILLEGAL_ACCESS
7127#include <X11/Xlib.h>
7128
7129int
7130main ()
7131{
7132
7133 Display *dpy;
7134 dpy->xdefaults = (char *)0;
7135
7136 ;
7137 return 0;
7138}
7139_ACEOF
7140rm -f conftest.$ac_objext
7141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7142 (eval $ac_compile) 2>conftest.er1
7143 ac_status=$?
7144 grep -v '^ *+' conftest.er1 >conftest.err
7145 rm -f conftest.er1
7146 cat conftest.err >&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } &&
7149 { ac_try='test -z "$ac_cxx_werror_flag"
7150 || test ! -s conftest.err'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7152 (eval $ac_try) 2>&5
7153 ac_status=$?
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try='test -s conftest.$ac_objext'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 (eval $ac_try) 2>&5
7159 ac_status=$?
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7162 rxvt_xlib_illegal_access=yes
7163else
7164 echo "$as_me: failed program was:" >&5
7165sed 's/^/| /' conftest.$ac_ext >&5
7166
7167rxvt_xlib_illegal_access=no
7168
7169fi
7170rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7171fi
7172echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7173echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7174if test x$rxvt_xlib_illegal_access = xyes; then
7175
7176cat >>confdefs.h <<\_ACEOF
7177#define XLIB_ILLEGAL_ACCESS 1
7178_ACEOF
7179
7180fi
7272 7181
7273echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7182echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7274echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7183echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7275if test "${ac_cv_c_const+set}" = set; then 7184if test "${ac_cv_c_const+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6 7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7343 grep -v '^ *+' conftest.er1 >conftest.err 7252 grep -v '^ *+' conftest.er1 >conftest.err
7344 rm -f conftest.er1 7253 rm -f conftest.er1
7345 cat conftest.err >&5 7254 cat conftest.err >&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } && 7256 (exit $ac_status); } &&
7348 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7257 { ac_try='test -z "$ac_cxx_werror_flag"
7258 || test ! -s conftest.err'
7349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 (eval $ac_try) 2>&5 7260 (eval $ac_try) 2>&5
7351 ac_status=$? 7261 ac_status=$?
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); }; } && 7263 (exit $ac_status); }; } &&
7403 grep -v '^ *+' conftest.er1 >conftest.err 7313 grep -v '^ *+' conftest.er1 >conftest.err
7404 rm -f conftest.er1 7314 rm -f conftest.er1
7405 cat conftest.err >&5 7315 cat conftest.err >&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } && 7317 (exit $ac_status); } &&
7408 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7318 { ac_try='test -z "$ac_cxx_werror_flag"
7319 || test ! -s conftest.err'
7409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410 (eval $ac_try) 2>&5 7321 (eval $ac_try) 2>&5
7411 ac_status=$? 7322 ac_status=$?
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); }; } && 7324 (exit $ac_status); }; } &&
7478 grep -v '^ *+' conftest.er1 >conftest.err 7389 grep -v '^ *+' conftest.er1 >conftest.err
7479 rm -f conftest.er1 7390 rm -f conftest.er1
7480 cat conftest.err >&5 7391 cat conftest.err >&5
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); } && 7393 (exit $ac_status); } &&
7483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7394 { ac_try='test -z "$ac_cxx_werror_flag"
7395 || test ! -s conftest.err'
7484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 (eval $ac_try) 2>&5 7397 (eval $ac_try) 2>&5
7486 ac_status=$? 7398 ac_status=$?
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }; } && 7400 (exit $ac_status); }; } &&
7543 grep -v '^ *+' conftest.er1 >conftest.err 7455 grep -v '^ *+' conftest.er1 >conftest.err
7544 rm -f conftest.er1 7456 rm -f conftest.er1
7545 cat conftest.err >&5 7457 cat conftest.err >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } && 7459 (exit $ac_status); } &&
7548 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7460 { ac_try='test -z "$ac_cxx_werror_flag"
7461 || test ! -s conftest.err'
7549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7550 (eval $ac_try) 2>&5 7463 (eval $ac_try) 2>&5
7551 ac_status=$? 7464 ac_status=$?
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); }; } && 7466 (exit $ac_status); }; } &&
7647 grep -v '^ *+' conftest.er1 >conftest.err 7560 grep -v '^ *+' conftest.er1 >conftest.err
7648 rm -f conftest.er1 7561 rm -f conftest.er1
7649 cat conftest.err >&5 7562 cat conftest.err >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } && 7564 (exit $ac_status); } &&
7652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7565 { ac_try='test -z "$ac_cxx_werror_flag"
7566 || test ! -s conftest.err'
7653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7654 (eval $ac_try) 2>&5 7568 (eval $ac_try) 2>&5
7655 ac_status=$? 7569 ac_status=$?
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); }; } && 7571 (exit $ac_status); }; } &&
7709 grep -v '^ *+' conftest.er1 >conftest.err 7623 grep -v '^ *+' conftest.er1 >conftest.err
7710 rm -f conftest.er1 7624 rm -f conftest.er1
7711 cat conftest.err >&5 7625 cat conftest.err >&5
7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); } && 7627 (exit $ac_status); } &&
7714 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7628 { ac_try='test -z "$ac_cxx_werror_flag"
7629 || test ! -s conftest.err'
7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7716 (eval $ac_try) 2>&5 7631 (eval $ac_try) 2>&5
7717 ac_status=$? 7632 ac_status=$?
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; } && 7634 (exit $ac_status); }; } &&
7749 grep -v '^ *+' conftest.er1 >conftest.err 7664 grep -v '^ *+' conftest.er1 >conftest.err
7750 rm -f conftest.er1 7665 rm -f conftest.er1
7751 cat conftest.err >&5 7666 cat conftest.err >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } && 7668 (exit $ac_status); } &&
7754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7669 { ac_try='test -z "$ac_cxx_werror_flag"
7670 || test ! -s conftest.err'
7755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 (eval $ac_try) 2>&5 7672 (eval $ac_try) 2>&5
7757 ac_status=$? 7673 ac_status=$?
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); }; } && 7675 (exit $ac_status); }; } &&
7805 grep -v '^ *+' conftest.er1 >conftest.err 7721 grep -v '^ *+' conftest.er1 >conftest.err
7806 rm -f conftest.er1 7722 rm -f conftest.er1
7807 cat conftest.err >&5 7723 cat conftest.err >&5
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); } && 7725 (exit $ac_status); } &&
7810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7726 { ac_try='test -z "$ac_cxx_werror_flag"
7727 || test ! -s conftest.err'
7811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7812 (eval $ac_try) 2>&5 7729 (eval $ac_try) 2>&5
7813 ac_status=$? 7730 ac_status=$?
7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); }; } && 7732 (exit $ac_status); }; } &&
7845 grep -v '^ *+' conftest.er1 >conftest.err 7762 grep -v '^ *+' conftest.er1 >conftest.err
7846 rm -f conftest.er1 7763 rm -f conftest.er1
7847 cat conftest.err >&5 7764 cat conftest.err >&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); } && 7766 (exit $ac_status); } &&
7850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7767 { ac_try='test -z "$ac_cxx_werror_flag"
7768 || test ! -s conftest.err'
7851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7852 (eval $ac_try) 2>&5 7770 (eval $ac_try) 2>&5
7853 ac_status=$? 7771 ac_status=$?
7854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); }; } && 7773 (exit $ac_status); }; } &&
7909 grep -v '^ *+' conftest.er1 >conftest.err 7827 grep -v '^ *+' conftest.er1 >conftest.err
7910 rm -f conftest.er1 7828 rm -f conftest.er1
7911 cat conftest.err >&5 7829 cat conftest.err >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); } && 7831 (exit $ac_status); } &&
7914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7832 { ac_try='test -z "$ac_cxx_werror_flag"
7833 || test ! -s conftest.err'
7915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7916 (eval $ac_try) 2>&5 7835 (eval $ac_try) 2>&5
7917 ac_status=$? 7836 ac_status=$?
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; } && 7838 (exit $ac_status); }; } &&
7940See \`config.log' for more details." >&2;} 7859See \`config.log' for more details." >&2;}
7941 { (exit 1); exit 1; }; } ;; 7860 { (exit 1); exit 1; }; } ;;
7942esac 7861esac
7943else 7862else
7944 if test "$cross_compiling" = yes; then 7863 if test "$cross_compiling" = yes; then
7945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 7864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7946echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 7865See \`config.log' for more details." >&5
7866echo "$as_me: error: cannot run test program while cross compiling
7867See \`config.log' for more details." >&2;}
7947 { (exit 1); exit 1; }; } 7868 { (exit 1); exit 1; }; }
7948else 7869else
7949 cat >conftest.$ac_ext <<_ACEOF 7870 cat >conftest.$ac_ext <<_ACEOF
7950/* confdefs.h. */ 7871/* confdefs.h. */
7951_ACEOF 7872_ACEOF
8053 grep -v '^ *+' conftest.er1 >conftest.err 7974 grep -v '^ *+' conftest.er1 >conftest.err
8054 rm -f conftest.er1 7975 rm -f conftest.er1
8055 cat conftest.err >&5 7976 cat conftest.err >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); } && 7978 (exit $ac_status); } &&
8058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7979 { ac_try='test -z "$ac_cxx_werror_flag"
7980 || test ! -s conftest.err'
8059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8060 (eval $ac_try) 2>&5 7982 (eval $ac_try) 2>&5
8061 ac_status=$? 7983 ac_status=$?
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); }; } && 7985 (exit $ac_status); }; } &&
8115 grep -v '^ *+' conftest.er1 >conftest.err 8037 grep -v '^ *+' conftest.er1 >conftest.err
8116 rm -f conftest.er1 8038 rm -f conftest.er1
8117 cat conftest.err >&5 8039 cat conftest.err >&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); } && 8041 (exit $ac_status); } &&
8120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8042 { ac_try='test -z "$ac_cxx_werror_flag"
8043 || test ! -s conftest.err'
8121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 (eval $ac_try) 2>&5 8045 (eval $ac_try) 2>&5
8123 ac_status=$? 8046 ac_status=$?
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); }; } && 8048 (exit $ac_status); }; } &&
8155 grep -v '^ *+' conftest.er1 >conftest.err 8078 grep -v '^ *+' conftest.er1 >conftest.err
8156 rm -f conftest.er1 8079 rm -f conftest.er1
8157 cat conftest.err >&5 8080 cat conftest.err >&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); } && 8082 (exit $ac_status); } &&
8160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8083 { ac_try='test -z "$ac_cxx_werror_flag"
8084 || test ! -s conftest.err'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8162 (eval $ac_try) 2>&5 8086 (eval $ac_try) 2>&5
8163 ac_status=$? 8087 ac_status=$?
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; } && 8089 (exit $ac_status); }; } &&
8211 grep -v '^ *+' conftest.er1 >conftest.err 8135 grep -v '^ *+' conftest.er1 >conftest.err
8212 rm -f conftest.er1 8136 rm -f conftest.er1
8213 cat conftest.err >&5 8137 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } && 8139 (exit $ac_status); } &&
8216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8140 { ac_try='test -z "$ac_cxx_werror_flag"
8141 || test ! -s conftest.err'
8217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 (eval $ac_try) 2>&5 8143 (eval $ac_try) 2>&5
8219 ac_status=$? 8144 ac_status=$?
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); }; } && 8146 (exit $ac_status); }; } &&
8251 grep -v '^ *+' conftest.er1 >conftest.err 8176 grep -v '^ *+' conftest.er1 >conftest.err
8252 rm -f conftest.er1 8177 rm -f conftest.er1
8253 cat conftest.err >&5 8178 cat conftest.err >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && 8180 (exit $ac_status); } &&
8256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8181 { ac_try='test -z "$ac_cxx_werror_flag"
8182 || test ! -s conftest.err'
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 (eval $ac_try) 2>&5 8184 (eval $ac_try) 2>&5
8259 ac_status=$? 8185 ac_status=$?
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; } && 8187 (exit $ac_status); }; } &&
8315 grep -v '^ *+' conftest.er1 >conftest.err 8241 grep -v '^ *+' conftest.er1 >conftest.err
8316 rm -f conftest.er1 8242 rm -f conftest.er1
8317 cat conftest.err >&5 8243 cat conftest.err >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } && 8245 (exit $ac_status); } &&
8320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8246 { ac_try='test -z "$ac_cxx_werror_flag"
8247 || test ! -s conftest.err'
8321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322 (eval $ac_try) 2>&5 8249 (eval $ac_try) 2>&5
8323 ac_status=$? 8250 ac_status=$?
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; } && 8252 (exit $ac_status); }; } &&
8346See \`config.log' for more details." >&2;} 8273See \`config.log' for more details." >&2;}
8347 { (exit 1); exit 1; }; } ;; 8274 { (exit 1); exit 1; }; } ;;
8348esac 8275esac
8349else 8276else
8350 if test "$cross_compiling" = yes; then 8277 if test "$cross_compiling" = yes; then
8351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8278 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8352echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8279See \`config.log' for more details." >&5
8280echo "$as_me: error: cannot run test program while cross compiling
8281See \`config.log' for more details." >&2;}
8353 { (exit 1); exit 1; }; } 8282 { (exit 1); exit 1; }; }
8354else 8283else
8355 cat >conftest.$ac_ext <<_ACEOF 8284 cat >conftest.$ac_ext <<_ACEOF
8356/* confdefs.h. */ 8285/* confdefs.h. */
8357_ACEOF 8286_ACEOF
8459 grep -v '^ *+' conftest.er1 >conftest.err 8388 grep -v '^ *+' conftest.er1 >conftest.err
8460 rm -f conftest.er1 8389 rm -f conftest.er1
8461 cat conftest.err >&5 8390 cat conftest.err >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); } && 8392 (exit $ac_status); } &&
8464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8393 { ac_try='test -z "$ac_cxx_werror_flag"
8394 || test ! -s conftest.err'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 (eval $ac_try) 2>&5 8396 (eval $ac_try) 2>&5
8467 ac_status=$? 8397 ac_status=$?
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; } && 8399 (exit $ac_status); }; } &&
8521 grep -v '^ *+' conftest.er1 >conftest.err 8451 grep -v '^ *+' conftest.er1 >conftest.err
8522 rm -f conftest.er1 8452 rm -f conftest.er1
8523 cat conftest.err >&5 8453 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } && 8455 (exit $ac_status); } &&
8526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8456 { ac_try='test -z "$ac_cxx_werror_flag"
8457 || test ! -s conftest.err'
8527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528 (eval $ac_try) 2>&5 8459 (eval $ac_try) 2>&5
8529 ac_status=$? 8460 ac_status=$?
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); }; } && 8462 (exit $ac_status); }; } &&
8561 grep -v '^ *+' conftest.er1 >conftest.err 8492 grep -v '^ *+' conftest.er1 >conftest.err
8562 rm -f conftest.er1 8493 rm -f conftest.er1
8563 cat conftest.err >&5 8494 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } && 8496 (exit $ac_status); } &&
8566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8497 { ac_try='test -z "$ac_cxx_werror_flag"
8498 || test ! -s conftest.err'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568 (eval $ac_try) 2>&5 8500 (eval $ac_try) 2>&5
8569 ac_status=$? 8501 ac_status=$?
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; } && 8503 (exit $ac_status); }; } &&
8617 grep -v '^ *+' conftest.er1 >conftest.err 8549 grep -v '^ *+' conftest.er1 >conftest.err
8618 rm -f conftest.er1 8550 rm -f conftest.er1
8619 cat conftest.err >&5 8551 cat conftest.err >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); } && 8553 (exit $ac_status); } &&
8622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8554 { ac_try='test -z "$ac_cxx_werror_flag"
8555 || test ! -s conftest.err'
8623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624 (eval $ac_try) 2>&5 8557 (eval $ac_try) 2>&5
8625 ac_status=$? 8558 ac_status=$?
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); }; } && 8560 (exit $ac_status); }; } &&
8657 grep -v '^ *+' conftest.er1 >conftest.err 8590 grep -v '^ *+' conftest.er1 >conftest.err
8658 rm -f conftest.er1 8591 rm -f conftest.er1
8659 cat conftest.err >&5 8592 cat conftest.err >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } && 8594 (exit $ac_status); } &&
8662 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8595 { ac_try='test -z "$ac_cxx_werror_flag"
8596 || test ! -s conftest.err'
8663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8664 (eval $ac_try) 2>&5 8598 (eval $ac_try) 2>&5
8665 ac_status=$? 8599 ac_status=$?
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; } && 8601 (exit $ac_status); }; } &&
8721 grep -v '^ *+' conftest.er1 >conftest.err 8655 grep -v '^ *+' conftest.er1 >conftest.err
8722 rm -f conftest.er1 8656 rm -f conftest.er1
8723 cat conftest.err >&5 8657 cat conftest.err >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); } && 8659 (exit $ac_status); } &&
8726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8660 { ac_try='test -z "$ac_cxx_werror_flag"
8661 || test ! -s conftest.err'
8727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 (eval $ac_try) 2>&5 8663 (eval $ac_try) 2>&5
8729 ac_status=$? 8664 ac_status=$?
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); }; } && 8666 (exit $ac_status); }; } &&
8752See \`config.log' for more details." >&2;} 8687See \`config.log' for more details." >&2;}
8753 { (exit 1); exit 1; }; } ;; 8688 { (exit 1); exit 1; }; } ;;
8754esac 8689esac
8755else 8690else
8756 if test "$cross_compiling" = yes; then 8691 if test "$cross_compiling" = yes; then
8757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8692 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8758echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8693See \`config.log' for more details." >&5
8694echo "$as_me: error: cannot run test program while cross compiling
8695See \`config.log' for more details." >&2;}
8759 { (exit 1); exit 1; }; } 8696 { (exit 1); exit 1; }; }
8760else 8697else
8761 cat >conftest.$ac_ext <<_ACEOF 8698 cat >conftest.$ac_ext <<_ACEOF
8762/* confdefs.h. */ 8699/* confdefs.h. */
8763_ACEOF 8700_ACEOF
8865 grep -v '^ *+' conftest.er1 >conftest.err 8802 grep -v '^ *+' conftest.er1 >conftest.err
8866 rm -f conftest.er1 8803 rm -f conftest.er1
8867 cat conftest.err >&5 8804 cat conftest.err >&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); } && 8806 (exit $ac_status); } &&
8870 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8807 { ac_try='test -z "$ac_cxx_werror_flag"
8808 || test ! -s conftest.err'
8871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8872 (eval $ac_try) 2>&5 8810 (eval $ac_try) 2>&5
8873 ac_status=$? 8811 ac_status=$?
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 (exit $ac_status); }; } && 8813 (exit $ac_status); }; } &&
8927 grep -v '^ *+' conftest.er1 >conftest.err 8865 grep -v '^ *+' conftest.er1 >conftest.err
8928 rm -f conftest.er1 8866 rm -f conftest.er1
8929 cat conftest.err >&5 8867 cat conftest.err >&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } && 8869 (exit $ac_status); } &&
8932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8870 { ac_try='test -z "$ac_cxx_werror_flag"
8871 || test ! -s conftest.err'
8933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934 (eval $ac_try) 2>&5 8873 (eval $ac_try) 2>&5
8935 ac_status=$? 8874 ac_status=$?
8936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937 (exit $ac_status); }; } && 8876 (exit $ac_status); }; } &&
8967 grep -v '^ *+' conftest.er1 >conftest.err 8906 grep -v '^ *+' conftest.er1 >conftest.err
8968 rm -f conftest.er1 8907 rm -f conftest.er1
8969 cat conftest.err >&5 8908 cat conftest.err >&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } && 8910 (exit $ac_status); } &&
8972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8911 { ac_try='test -z "$ac_cxx_werror_flag"
8912 || test ! -s conftest.err'
8973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8974 (eval $ac_try) 2>&5 8914 (eval $ac_try) 2>&5
8975 ac_status=$? 8915 ac_status=$?
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); }; } && 8917 (exit $ac_status); }; } &&
9023 grep -v '^ *+' conftest.er1 >conftest.err 8963 grep -v '^ *+' conftest.er1 >conftest.err
9024 rm -f conftest.er1 8964 rm -f conftest.er1
9025 cat conftest.err >&5 8965 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } && 8967 (exit $ac_status); } &&
9028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8968 { ac_try='test -z "$ac_cxx_werror_flag"
8969 || test ! -s conftest.err'
9029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9030 (eval $ac_try) 2>&5 8971 (eval $ac_try) 2>&5
9031 ac_status=$? 8972 ac_status=$?
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); }; } && 8974 (exit $ac_status); }; } &&
9063 grep -v '^ *+' conftest.er1 >conftest.err 9004 grep -v '^ *+' conftest.er1 >conftest.err
9064 rm -f conftest.er1 9005 rm -f conftest.er1
9065 cat conftest.err >&5 9006 cat conftest.err >&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } && 9008 (exit $ac_status); } &&
9068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9009 { ac_try='test -z "$ac_cxx_werror_flag"
9010 || test ! -s conftest.err'
9069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9070 (eval $ac_try) 2>&5 9012 (eval $ac_try) 2>&5
9071 ac_status=$? 9013 ac_status=$?
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); }; } && 9015 (exit $ac_status); }; } &&
9127 grep -v '^ *+' conftest.er1 >conftest.err 9069 grep -v '^ *+' conftest.er1 >conftest.err
9128 rm -f conftest.er1 9070 rm -f conftest.er1
9129 cat conftest.err >&5 9071 cat conftest.err >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } && 9073 (exit $ac_status); } &&
9132 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9074 { ac_try='test -z "$ac_cxx_werror_flag"
9075 || test ! -s conftest.err'
9133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9134 (eval $ac_try) 2>&5 9077 (eval $ac_try) 2>&5
9135 ac_status=$? 9078 ac_status=$?
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); }; } && 9080 (exit $ac_status); }; } &&
9158See \`config.log' for more details." >&2;} 9101See \`config.log' for more details." >&2;}
9159 { (exit 1); exit 1; }; } ;; 9102 { (exit 1); exit 1; }; } ;;
9160esac 9103esac
9161else 9104else
9162 if test "$cross_compiling" = yes; then 9105 if test "$cross_compiling" = yes; then
9163 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 9106 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9164echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 9107See \`config.log' for more details." >&5
9108echo "$as_me: error: cannot run test program while cross compiling
9109See \`config.log' for more details." >&2;}
9165 { (exit 1); exit 1; }; } 9110 { (exit 1); exit 1; }; }
9166else 9111else
9167 cat >conftest.$ac_ext <<_ACEOF 9112 cat >conftest.$ac_ext <<_ACEOF
9168/* confdefs.h. */ 9113/* confdefs.h. */
9169_ACEOF 9114_ACEOF
9270 grep -v '^ *+' conftest.er1 >conftest.err 9215 grep -v '^ *+' conftest.er1 >conftest.err
9271 rm -f conftest.er1 9216 rm -f conftest.er1
9272 cat conftest.err >&5 9217 cat conftest.err >&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); } && 9219 (exit $ac_status); } &&
9275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9220 { ac_try='test -z "$ac_cxx_werror_flag"
9221 || test ! -s conftest.err'
9276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277 (eval $ac_try) 2>&5 9223 (eval $ac_try) 2>&5
9278 ac_status=$? 9224 ac_status=$?
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); }; } && 9226 (exit $ac_status); }; } &&
9352 grep -v '^ *+' conftest.er1 >conftest.err 9298 grep -v '^ *+' conftest.er1 >conftest.err
9353 rm -f conftest.er1 9299 rm -f conftest.er1
9354 cat conftest.err >&5 9300 cat conftest.err >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); } && 9302 (exit $ac_status); } &&
9357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9303 { ac_try='test -z "$ac_cxx_werror_flag"
9304 || test ! -s conftest.err'
9358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9359 (eval $ac_try) 2>&5 9306 (eval $ac_try) 2>&5
9360 ac_status=$? 9307 ac_status=$?
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); }; } && 9309 (exit $ac_status); }; } &&
9434 grep -v '^ *+' conftest.er1 >conftest.err 9381 grep -v '^ *+' conftest.er1 >conftest.err
9435 rm -f conftest.er1 9382 rm -f conftest.er1
9436 cat conftest.err >&5 9383 cat conftest.err >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } && 9385 (exit $ac_status); } &&
9439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9386 { ac_try='test -z "$ac_cxx_werror_flag"
9387 || test ! -s conftest.err'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 (eval $ac_try) 2>&5 9389 (eval $ac_try) 2>&5
9442 ac_status=$? 9390 ac_status=$?
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; } && 9392 (exit $ac_status); }; } &&
9516 grep -v '^ *+' conftest.er1 >conftest.err 9464 grep -v '^ *+' conftest.er1 >conftest.err
9517 rm -f conftest.er1 9465 rm -f conftest.er1
9518 cat conftest.err >&5 9466 cat conftest.err >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } && 9468 (exit $ac_status); } &&
9521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9469 { ac_try='test -z "$ac_cxx_werror_flag"
9470 || test ! -s conftest.err'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9523 (eval $ac_try) 2>&5 9472 (eval $ac_try) 2>&5
9524 ac_status=$? 9473 ac_status=$?
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; } && 9475 (exit $ac_status); }; } &&
9628 grep -v '^ *+' conftest.er1 >conftest.err 9577 grep -v '^ *+' conftest.er1 >conftest.err
9629 rm -f conftest.er1 9578 rm -f conftest.er1
9630 cat conftest.err >&5 9579 cat conftest.err >&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } && 9581 (exit $ac_status); } &&
9633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9582 { ac_try='test -z "$ac_cxx_werror_flag"
9583 || test ! -s conftest.err'
9634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635 (eval $ac_try) 2>&5 9585 (eval $ac_try) 2>&5
9636 ac_status=$? 9586 ac_status=$?
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; } && 9588 (exit $ac_status); }; } &&
9658#define RETSIGTYPE $ac_cv_type_signal 9608#define RETSIGTYPE $ac_cv_type_signal
9659_ACEOF 9609_ACEOF
9660 9610
9661 9611
9662 9612
9663case "$host_alias" in
9664 *ultrix) ac_cv_func_setsid='no' ;;
9665 *) break;;
9666esac
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684 9613
9685 9614
9686 9615
9687for ac_func in \ 9616for ac_func in \
9688 atexit \
9689 revoke \
9690 unsetenv \ 9617 unsetenv \
9691 setutent \ 9618 setutent \
9692 seteuid \
9693 setreuid \
9694 setsid \
9695 setpgrp \
9696 setpgid \
9697 openpty \
9698 _getpty \
9699 grantpt \
9700 unlockpt \
9701 isastream \
9702 on_exit \ 9619 on_exit \
9703 nanosleep \
9704 updwtmp \
9705 updwtmpx \
9706 ttyslot \
9707 9620
9708do 9621do
9709as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9622as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9710echo "$as_me:$LINENO: checking for $ac_func" >&5 9623echo "$as_me:$LINENO: checking for $ac_func" >&5
9711echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9624echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9770 grep -v '^ *+' conftest.er1 >conftest.err 9683 grep -v '^ *+' conftest.er1 >conftest.err
9771 rm -f conftest.er1 9684 rm -f conftest.er1
9772 cat conftest.err >&5 9685 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } && 9687 (exit $ac_status); } &&
9775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9688 { ac_try='test -z "$ac_cxx_werror_flag"
9689 || test ! -s conftest.err'
9776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777 (eval $ac_try) 2>&5 9691 (eval $ac_try) 2>&5
9778 ac_status=$? 9692 ac_status=$?
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); }; } && 9694 (exit $ac_status); }; } &&
9804fi 9718fi
9805done 9719done
9806 9720
9807 9721
9808 9722
9723support_utmp=yes
9724support_wtmp=yes
9725support_lastlog=yes
9726
9727# Check whether --enable-utmp or --disable-utmp was given.
9728if test "${enable_utmp+set}" = set; then
9729 enableval="$enable_utmp"
9730 if test x$enableval = xyes -o x$enableval = xno; then
9731 support_utmp=$enableval
9732 fi
9733fi;
9734
9735# Check whether --enable-wtmp or --disable-wtmp was given.
9736if test "${enable_wtmp+set}" = set; then
9737 enableval="$enable_wtmp"
9738 if test x$enableval = xyes -o x$enableval = xno; then
9739 support_wtmp=$enableval
9740 fi
9741fi;
9742
9743# Check whether --enable-lastlog or --disable-lastlog was given.
9744if test "${enable_lastlog+set}" = set; then
9745 enableval="$enable_lastlog"
9746 if test x$enableval = xyes -o x$enableval = xno; then
9747 support_lastlog=$enableval
9748 fi
9749fi;
9750
9751if test x$support_utmp = xyes; then
9752
9753cat >>confdefs.h <<\_ACEOF
9754#define UTMP_SUPPORT 1
9755_ACEOF
9756
9757fi
9758if test x$support_wtmp = xyes; then
9759
9760cat >>confdefs.h <<\_ACEOF
9761#define WTMP_SUPPORT 1
9762_ACEOF
9763
9764fi
9765if test x$support_lastlog = xyes; then
9766
9767cat >>confdefs.h <<\_ACEOF
9768#define LASTLOG_SUPPORT 1
9769_ACEOF
9770
9771fi
9772
9773
9774
9775
9776for ac_func in \
9777 ttyslot \
9778 updwtmp \
9779 updwtmpx \
9780
9781do
9782as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9783echo "$as_me:$LINENO: checking for $ac_func" >&5
9784echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9785if eval "test \"\${$as_ac_var+set}\" = set"; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9787else
9788 cat >conftest.$ac_ext <<_ACEOF
9789/* confdefs.h. */
9790_ACEOF
9791cat confdefs.h >>conftest.$ac_ext
9792cat >>conftest.$ac_ext <<_ACEOF
9793/* end confdefs.h. */
9794/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9796#define $ac_func innocuous_$ac_func
9797
9798/* System header to define __stub macros and hopefully few prototypes,
9799 which can conflict with char $ac_func (); below.
9800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9801 <limits.h> exists even on freestanding compilers. */
9802
9803#ifdef __STDC__
9804# include <limits.h>
9805#else
9806# include <assert.h>
9807#endif
9808
9809#undef $ac_func
9810
9811/* Override any gcc2 internal prototype to avoid an error. */
9812#ifdef __cplusplus
9813extern "C"
9814{
9815#endif
9816/* We use char because int might match the return type of a gcc2
9817 builtin and then its argument prototype would still apply. */
9818char $ac_func ();
9819/* The GNU C library defines this for functions which it implements
9820 to always fail with ENOSYS. Some functions are actually named
9821 something starting with __ and the normal name is an alias. */
9822#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9823choke me
9824#else
9825char (*f) () = $ac_func;
9826#endif
9827#ifdef __cplusplus
9828}
9829#endif
9830
9831int
9832main ()
9833{
9834return f != $ac_func;
9835 ;
9836 return 0;
9837}
9838_ACEOF
9839rm -f conftest.$ac_objext conftest$ac_exeext
9840if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9841 (eval $ac_link) 2>conftest.er1
9842 ac_status=$?
9843 grep -v '^ *+' conftest.er1 >conftest.err
9844 rm -f conftest.er1
9845 cat conftest.err >&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); } &&
9848 { ac_try='test -z "$ac_cxx_werror_flag"
9849 || test ! -s conftest.err'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 (eval $ac_try) 2>&5
9852 ac_status=$?
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; } &&
9855 { ac_try='test -s conftest$ac_exeext'
9856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857 (eval $ac_try) 2>&5
9858 ac_status=$?
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); }; }; then
9861 eval "$as_ac_var=yes"
9862else
9863 echo "$as_me: failed program was:" >&5
9864sed 's/^/| /' conftest.$ac_ext >&5
9865
9866eval "$as_ac_var=no"
9867fi
9868rm -f conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870fi
9871echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9872echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9873if test `eval echo '${'$as_ac_var'}'` = yes; then
9874 cat >>confdefs.h <<_ACEOF
9875#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9876_ACEOF
9877
9878fi
9879done
9880
9881
9882
9883
9884
9885for ac_header in \
9886 utmp.h \
9887 utmpx.h \
9888 lastlog.h \
9889
9890do
9891as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9892if eval "test \"\${$as_ac_Header+set}\" = set"; then
9893 echo "$as_me:$LINENO: checking for $ac_header" >&5
9894echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9895if eval "test \"\${$as_ac_Header+set}\" = set"; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9897fi
9898echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9899echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9900else
9901 # Is the header compilable?
9902echo "$as_me:$LINENO: checking $ac_header usability" >&5
9903echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9904cat >conftest.$ac_ext <<_ACEOF
9905/* confdefs.h. */
9906_ACEOF
9907cat confdefs.h >>conftest.$ac_ext
9908cat >>conftest.$ac_ext <<_ACEOF
9909/* end confdefs.h. */
9910$ac_includes_default
9911#include <$ac_header>
9912_ACEOF
9913rm -f conftest.$ac_objext
9914if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915 (eval $ac_compile) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_cxx_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest.$ac_objext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_header_compiler=yes
9936else
9937 echo "$as_me: failed program was:" >&5
9938sed 's/^/| /' conftest.$ac_ext >&5
9939
9940ac_header_compiler=no
9941fi
9942rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9943echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9944echo "${ECHO_T}$ac_header_compiler" >&6
9945
9946# Is the header present?
9947echo "$as_me:$LINENO: checking $ac_header presence" >&5
9948echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9949cat >conftest.$ac_ext <<_ACEOF
9950/* confdefs.h. */
9951_ACEOF
9952cat confdefs.h >>conftest.$ac_ext
9953cat >>conftest.$ac_ext <<_ACEOF
9954/* end confdefs.h. */
9955#include <$ac_header>
9956_ACEOF
9957if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9959 ac_status=$?
9960 grep -v '^ *+' conftest.er1 >conftest.err
9961 rm -f conftest.er1
9962 cat conftest.err >&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); } >/dev/null; then
9965 if test -s conftest.err; then
9966 ac_cpp_err=$ac_cxx_preproc_warn_flag
9967 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9968 else
9969 ac_cpp_err=
9970 fi
9971else
9972 ac_cpp_err=yes
9973fi
9974if test -z "$ac_cpp_err"; then
9975 ac_header_preproc=yes
9976else
9977 echo "$as_me: failed program was:" >&5
9978sed 's/^/| /' conftest.$ac_ext >&5
9979
9980 ac_header_preproc=no
9981fi
9982rm -f conftest.err conftest.$ac_ext
9983echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9984echo "${ECHO_T}$ac_header_preproc" >&6
9985
9986# So? What about this header?
9987case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9988 yes:no: )
9989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9990echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9992echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9993 ac_header_preproc=yes
9994 ;;
9995 no:yes:* )
9996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9997echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9999echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10001echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10003echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10005echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10007echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10008 (
10009 cat <<\_ASBOX
10010## ------------------------------------------ ##
10011## Report this to the AC_PACKAGE_NAME lists. ##
10012## ------------------------------------------ ##
10013_ASBOX
10014 ) |
10015 sed "s/^/$as_me: WARNING: /" >&2
10016 ;;
10017esac
10018echo "$as_me:$LINENO: checking for $ac_header" >&5
10019echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10020if eval "test \"\${$as_ac_Header+set}\" = set"; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10022else
10023 eval "$as_ac_Header=\$ac_header_preproc"
10024fi
10025echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10026echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10027
10028fi
10029if test `eval echo '${'$as_ac_Header'}'` = yes; then
10030 cat >>confdefs.h <<_ACEOF
10031#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10032_ACEOF
10033
10034fi
10035
10036done
10037
10038
10039
9809if test "${ac_cv_header_utmp_h+set}" = set; then 10040if test "${ac_cv_header_utmp_h+set}" = set; then
9810 echo "$as_me:$LINENO: checking for utmp.h" >&5 10041 echo "$as_me:$LINENO: checking for utmp.h" >&5
9811echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 10042echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6
9812if test "${ac_cv_header_utmp_h+set}" = set; then 10043if test "${ac_cv_header_utmp_h+set}" = set; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6 10044 echo $ECHO_N "(cached) $ECHO_C" >&6
9834 grep -v '^ *+' conftest.er1 >conftest.err 10065 grep -v '^ *+' conftest.er1 >conftest.err
9835 rm -f conftest.er1 10066 rm -f conftest.er1
9836 cat conftest.err >&5 10067 cat conftest.err >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } && 10069 (exit $ac_status); } &&
9839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10070 { ac_try='test -z "$ac_cxx_werror_flag"
10071 || test ! -s conftest.err'
9840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9841 (eval $ac_try) 2>&5 10073 (eval $ac_try) 2>&5
9842 ac_status=$? 10074 ac_status=$?
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); }; } && 10076 (exit $ac_status); }; } &&
9943 10175
9944fi 10176fi
9945if test $ac_cv_header_utmp_h = yes; then 10177if test $ac_cv_header_utmp_h = yes; then
9946 echo "$as_me:$LINENO: checking for struct utmp" >&5 10178 echo "$as_me:$LINENO: checking for struct utmp" >&5
9947echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10179echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
9948if test "${rxvt_cv_struct_utmp+set}" = set; then 10180if test "${struct_utmp+set}" = set; then
9949 echo $ECHO_N "(cached) $ECHO_C" >&6 10181 echo $ECHO_N "(cached) $ECHO_C" >&6
9950else 10182else
9951 cat >conftest.$ac_ext <<_ACEOF 10183 cat >conftest.$ac_ext <<_ACEOF
9952/* confdefs.h. */ 10184/* confdefs.h. */
9953_ACEOF 10185_ACEOF
9954cat confdefs.h >>conftest.$ac_ext 10186cat confdefs.h >>conftest.$ac_ext
9955cat >>conftest.$ac_ext <<_ACEOF 10187cat >>conftest.$ac_ext <<_ACEOF
9956/* end confdefs.h. */ 10188/* end confdefs.h. */
9957#include <sys/types.h> 10189#include <sys/types.h>
9958#include <stdint.h>
9959#include <utmp.h> 10190#include <utmp.h>
9960int 10191int
9961main () 10192main ()
9962{ 10193{
9963struct utmp ut; 10194struct utmp ut;
9972 grep -v '^ *+' conftest.er1 >conftest.err 10203 grep -v '^ *+' conftest.er1 >conftest.err
9973 rm -f conftest.er1 10204 rm -f conftest.er1
9974 cat conftest.err >&5 10205 cat conftest.err >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); } && 10207 (exit $ac_status); } &&
9977 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10208 { ac_try='test -z "$ac_cxx_werror_flag"
10209 || test ! -s conftest.err'
9978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 (eval $ac_try) 2>&5 10211 (eval $ac_try) 2>&5
9980 ac_status=$? 10212 ac_status=$?
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; } && 10214 (exit $ac_status); }; } &&
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9985 (eval $ac_try) 2>&5 10217 (eval $ac_try) 2>&5
9986 ac_status=$? 10218 ac_status=$?
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; }; then 10220 (exit $ac_status); }; }; then
9989 rxvt_cv_struct_utmp=yes 10221 struct_utmp=yes
9990else 10222else
9991 echo "$as_me: failed program was:" >&5 10223 echo "$as_me: failed program was:" >&5
9992sed 's/^/| /' conftest.$ac_ext >&5 10224sed 's/^/| /' conftest.$ac_ext >&5
9993 10225
9994rxvt_cv_struct_utmp=no 10226struct_utmp=no
9995fi 10227fi
9996rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9997fi 10229fi
9998echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10230echo "$as_me:$LINENO: result: $struct_utmp" >&5
9999echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10231echo "${ECHO_T}$struct_utmp" >&6
10000if test x$rxvt_cv_struct_utmp = xyes; then 10232if test x$struct_utmp = xyes; then
10001 10233
10002cat >>confdefs.h <<\_ACEOF 10234cat >>confdefs.h <<\_ACEOF
10003#define HAVE_STRUCT_UTMP 1 10235#define HAVE_STRUCT_UTMP 1
10004_ACEOF 10236_ACEOF
10005 10237
10006fi 10238fi
10007 10239
10008 10240
10009echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10241echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10010echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10242echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10011if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10243if test "${struct_utmp_host+set}" = set; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6 10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10013else 10245else
10014 cat >conftest.$ac_ext <<_ACEOF 10246 cat >conftest.$ac_ext <<_ACEOF
10015/* confdefs.h. */ 10247/* confdefs.h. */
10016_ACEOF 10248_ACEOF
10034 grep -v '^ *+' conftest.er1 >conftest.err 10266 grep -v '^ *+' conftest.er1 >conftest.err
10035 rm -f conftest.er1 10267 rm -f conftest.er1
10036 cat conftest.err >&5 10268 cat conftest.err >&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } && 10270 (exit $ac_status); } &&
10039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10271 { ac_try='test -z "$ac_cxx_werror_flag"
10272 || test ! -s conftest.err'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5 10274 (eval $ac_try) 2>&5
10042 ac_status=$? 10275 ac_status=$?
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; } && 10277 (exit $ac_status); }; } &&
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5 10280 (eval $ac_try) 2>&5
10048 ac_status=$? 10281 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then 10283 (exit $ac_status); }; }; then
10051 rxvt_cv_struct_utmp_host=yes 10284 struct_utmp_host=yes
10052else 10285else
10053 echo "$as_me: failed program was:" >&5 10286 echo "$as_me: failed program was:" >&5
10054sed 's/^/| /' conftest.$ac_ext >&5 10287sed 's/^/| /' conftest.$ac_ext >&5
10055 10288
10056rxvt_cv_struct_utmp_host=no 10289struct_utmp_host=no
10057fi 10290fi
10058rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10059fi 10292fi
10060echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10293echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10061echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10294echo "${ECHO_T}$struct_utmp_host" >&6
10062if test x$rxvt_cv_struct_utmp_host = xyes; then 10295if test x$struct_utmp_host = xyes; then
10063 10296
10064cat >>confdefs.h <<\_ACEOF 10297cat >>confdefs.h <<\_ACEOF
10065#define HAVE_UTMP_HOST 1 10298#define HAVE_UTMP_HOST 1
10066_ACEOF 10299_ACEOF
10067 10300
10068fi 10301fi
10069 10302
10070echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10303echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10071echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10304echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10072if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10305if test "${struct_utmp_pid+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6 10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10074else 10307else
10075 cat >conftest.$ac_ext <<_ACEOF 10308 cat >conftest.$ac_ext <<_ACEOF
10076/* confdefs.h. */ 10309/* confdefs.h. */
10077_ACEOF 10310_ACEOF
10095 grep -v '^ *+' conftest.er1 >conftest.err 10328 grep -v '^ *+' conftest.er1 >conftest.err
10096 rm -f conftest.er1 10329 rm -f conftest.er1
10097 cat conftest.err >&5 10330 cat conftest.err >&5
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); } && 10332 (exit $ac_status); } &&
10100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10333 { ac_try='test -z "$ac_cxx_werror_flag"
10334 || test ! -s conftest.err'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5 10336 (eval $ac_try) 2>&5
10103 ac_status=$? 10337 ac_status=$?
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; } && 10339 (exit $ac_status); }; } &&
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5 10342 (eval $ac_try) 2>&5
10109 ac_status=$? 10343 ac_status=$?
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then 10345 (exit $ac_status); }; }; then
10112 rxvt_cv_struct_utmp_pid=yes 10346 struct_utmp_pid=yes
10113else 10347else
10114 echo "$as_me: failed program was:" >&5 10348 echo "$as_me: failed program was:" >&5
10115sed 's/^/| /' conftest.$ac_ext >&5 10349sed 's/^/| /' conftest.$ac_ext >&5
10116 10350
10117rxvt_cv_struct_utmp_pid=no 10351struct_utmp_pid=no
10118fi 10352fi
10119rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10353rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10120fi 10354fi
10121echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10355echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10122echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10356echo "${ECHO_T}$struct_utmp_pid" >&6
10123if test x$rxvt_cv_struct_utmp_pid = xyes; then 10357if test x$struct_utmp_pid = xyes; then
10124 10358
10125cat >>confdefs.h <<\_ACEOF 10359cat >>confdefs.h <<\_ACEOF
10126#define HAVE_UTMP_PID 1 10360#define HAVE_UTMP_PID 1
10127_ACEOF 10361_ACEOF
10128 10362
10160 grep -v '^ *+' conftest.er1 >conftest.err 10394 grep -v '^ *+' conftest.er1 >conftest.err
10161 rm -f conftest.er1 10395 rm -f conftest.er1
10162 cat conftest.err >&5 10396 cat conftest.err >&5
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); } && 10398 (exit $ac_status); } &&
10165 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10399 { ac_try='test -z "$ac_cxx_werror_flag"
10400 || test ! -s conftest.err'
10166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10167 (eval $ac_try) 2>&5 10402 (eval $ac_try) 2>&5
10168 ac_status=$? 10403 ac_status=$?
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); }; } && 10405 (exit $ac_status); }; } &&
10269 10504
10270fi 10505fi
10271if test $ac_cv_header_utmpx_h = yes; then 10506if test $ac_cv_header_utmpx_h = yes; then
10272 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10507 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10273echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10508echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10274if test "${rxvt_cv_struct_utmpx+set}" = set; then 10509if test "${struct_utmpx+set}" = set; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6 10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10276else 10511else
10277 cat >conftest.$ac_ext <<_ACEOF 10512 cat >conftest.$ac_ext <<_ACEOF
10278/* confdefs.h. */ 10513/* confdefs.h. */
10279_ACEOF 10514_ACEOF
10297 grep -v '^ *+' conftest.er1 >conftest.err 10532 grep -v '^ *+' conftest.er1 >conftest.err
10298 rm -f conftest.er1 10533 rm -f conftest.er1
10299 cat conftest.err >&5 10534 cat conftest.err >&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } && 10536 (exit $ac_status); } &&
10302 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10537 { ac_try='test -z "$ac_cxx_werror_flag"
10538 || test ! -s conftest.err'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5 10540 (eval $ac_try) 2>&5
10305 ac_status=$? 10541 ac_status=$?
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; } && 10543 (exit $ac_status); }; } &&
10309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10310 (eval $ac_try) 2>&5 10546 (eval $ac_try) 2>&5
10311 ac_status=$? 10547 ac_status=$?
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); }; }; then 10549 (exit $ac_status); }; }; then
10314 rxvt_cv_struct_utmpx=yes 10550 struct_utmpx=yes
10315else 10551else
10316 echo "$as_me: failed program was:" >&5 10552 echo "$as_me: failed program was:" >&5
10317sed 's/^/| /' conftest.$ac_ext >&5 10553sed 's/^/| /' conftest.$ac_ext >&5
10318 10554
10319rxvt_cv_struct_utmpx=no 10555struct_utmpx=no
10320fi 10556fi
10321rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10557rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10322fi 10558fi
10323echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10559echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10324echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10560echo "${ECHO_T}$struct_utmpx" >&6
10325if test x$rxvt_cv_struct_utmpx = xyes; then 10561if test x$struct_utmpx = xyes; then
10326 10562
10327cat >>confdefs.h <<\_ACEOF 10563cat >>confdefs.h <<\_ACEOF
10328#define HAVE_STRUCT_UTMPX 1 10564#define HAVE_STRUCT_UTMPX 1
10329_ACEOF 10565_ACEOF
10330 10566
10331fi 10567fi
10332 10568
10333 10569
10334echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10570echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10335echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10571echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10336if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10572if test "${struct_utmpx_host+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6 10573 echo $ECHO_N "(cached) $ECHO_C" >&6
10338else 10574else
10339 cat >conftest.$ac_ext <<_ACEOF 10575 cat >conftest.$ac_ext <<_ACEOF
10340/* confdefs.h. */ 10576/* confdefs.h. */
10341_ACEOF 10577_ACEOF
10359 grep -v '^ *+' conftest.er1 >conftest.err 10595 grep -v '^ *+' conftest.er1 >conftest.err
10360 rm -f conftest.er1 10596 rm -f conftest.er1
10361 cat conftest.err >&5 10597 cat conftest.err >&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); } && 10599 (exit $ac_status); } &&
10364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10600 { ac_try='test -z "$ac_cxx_werror_flag"
10601 || test ! -s conftest.err'
10365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366 (eval $ac_try) 2>&5 10603 (eval $ac_try) 2>&5
10367 ac_status=$? 10604 ac_status=$?
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; } && 10606 (exit $ac_status); }; } &&
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5 10609 (eval $ac_try) 2>&5
10373 ac_status=$? 10610 ac_status=$?
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); }; }; then 10612 (exit $ac_status); }; }; then
10376 rxvt_cv_struct_utmpx_host=yes 10613 struct_utmpx_host=yes
10377else 10614else
10378 echo "$as_me: failed program was:" >&5 10615 echo "$as_me: failed program was:" >&5
10379sed 's/^/| /' conftest.$ac_ext >&5 10616sed 's/^/| /' conftest.$ac_ext >&5
10380 10617
10381rxvt_cv_struct_utmpx_host=no 10618struct_utmpx_host=no
10382fi 10619fi
10383rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10620rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10384fi 10621fi
10385echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10622echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
10386echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10623echo "${ECHO_T}$struct_utmpx_host" >&6
10387if test x$rxvt_cv_struct_utmpx_host = xyes; then 10624if test x$struct_utmpx_host = xyes; then
10388 10625
10389cat >>confdefs.h <<\_ACEOF 10626cat >>confdefs.h <<\_ACEOF
10390#define HAVE_UTMPX_HOST 1 10627#define HAVE_UTMPX_HOST 1
10391_ACEOF 10628_ACEOF
10392 10629
10393fi 10630fi
10394 10631
10395echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10632echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
10396echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10633echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
10397if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10634if test "${struct_utmpx_session+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6 10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10399else 10636else
10400 cat >conftest.$ac_ext <<_ACEOF 10637 cat >conftest.$ac_ext <<_ACEOF
10401/* confdefs.h. */ 10638/* confdefs.h. */
10402_ACEOF 10639_ACEOF
10420 grep -v '^ *+' conftest.er1 >conftest.err 10657 grep -v '^ *+' conftest.er1 >conftest.err
10421 rm -f conftest.er1 10658 rm -f conftest.er1
10422 cat conftest.err >&5 10659 cat conftest.err >&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); } && 10661 (exit $ac_status); } &&
10425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10662 { ac_try='test -z "$ac_cxx_werror_flag"
10663 || test ! -s conftest.err'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5 10665 (eval $ac_try) 2>&5
10428 ac_status=$? 10666 ac_status=$?
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; } && 10668 (exit $ac_status); }; } &&
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5 10671 (eval $ac_try) 2>&5
10434 ac_status=$? 10672 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then 10674 (exit $ac_status); }; }; then
10437 rxvt_cv_struct_utmpx_session=yes 10675 struct_utmpx_session=yes
10438else 10676else
10439 echo "$as_me: failed program was:" >&5 10677 echo "$as_me: failed program was:" >&5
10440sed 's/^/| /' conftest.$ac_ext >&5 10678sed 's/^/| /' conftest.$ac_ext >&5
10441 10679
10442rxvt_cv_struct_utmpx_session=no 10680struct_utmpx_session=no
10443fi 10681fi
10444rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10682rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10445fi 10683fi
10446echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10684echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
10447echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10685echo "${ECHO_T}$struct_utmpx_session" >&6
10448if test x$rxvt_cv_struct_utmpx_session = xyes; then 10686if test x$struct_utmpx_session = xyes; then
10449 10687
10450cat >>confdefs.h <<\_ACEOF 10688cat >>confdefs.h <<\_ACEOF
10451#define HAVE_UTMPX_SESSION 1 10689#define HAVE_UTMPX_SESSION 1
10452_ACEOF 10690_ACEOF
10453 10691
10456fi 10694fi
10457 10695
10458 10696
10459echo "$as_me:$LINENO: checking for struct lastlog" >&5 10697echo "$as_me:$LINENO: checking for struct lastlog" >&5
10460echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10698echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
10461if test "${rxvt_cv_struct_lastlog+set}" = set; then 10699if test "${struct_lastlog+set}" = set; then
10462 echo $ECHO_N "(cached) $ECHO_C" >&6 10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10463else 10701else
10464 cat >conftest.$ac_ext <<_ACEOF 10702 cat >conftest.$ac_ext <<_ACEOF
10465/* confdefs.h. */ 10703/* confdefs.h. */
10466_ACEOF 10704_ACEOF
10488 grep -v '^ *+' conftest.er1 >conftest.err 10726 grep -v '^ *+' conftest.er1 >conftest.err
10489 rm -f conftest.er1 10727 rm -f conftest.er1
10490 cat conftest.err >&5 10728 cat conftest.err >&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); } && 10730 (exit $ac_status); } &&
10493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10731 { ac_try='test -z "$ac_cxx_werror_flag"
10732 || test ! -s conftest.err'
10494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10495 (eval $ac_try) 2>&5 10734 (eval $ac_try) 2>&5
10496 ac_status=$? 10735 ac_status=$?
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); }; } && 10737 (exit $ac_status); }; } &&
10500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10501 (eval $ac_try) 2>&5 10740 (eval $ac_try) 2>&5
10502 ac_status=$? 10741 ac_status=$?
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; }; then 10743 (exit $ac_status); }; }; then
10505 rxvt_cv_struct_lastlog=yes 10744 struct_lastlog=yes
10506else 10745else
10507 echo "$as_me: failed program was:" >&5 10746 echo "$as_me: failed program was:" >&5
10508sed 's/^/| /' conftest.$ac_ext >&5 10747sed 's/^/| /' conftest.$ac_ext >&5
10509 10748
10510rxvt_cv_struct_lastlog=no 10749struct_lastlog=no
10511fi 10750fi
10512rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10751rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10513fi 10752fi
10514echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10753echo "$as_me:$LINENO: result: $struct_lastlog" >&5
10515echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10754echo "${ECHO_T}$struct_lastlog" >&6
10516if test x$rxvt_cv_struct_lastlog = xyes; then 10755if test x$struct_lastlog = xyes; then
10517 10756
10518cat >>confdefs.h <<\_ACEOF 10757cat >>confdefs.h <<\_ACEOF
10519#define HAVE_STRUCT_LASTLOG 1 10758#define HAVE_STRUCT_LASTLOG 1
10520_ACEOF 10759_ACEOF
10521 10760
10522fi 10761fi
10523 10762
10524echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10763echo "$as_me:$LINENO: checking for struct lastlogx" >&5
10525echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10764echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
10526if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10765if test "${struct_lastlogx+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6 10766 echo $ECHO_N "(cached) $ECHO_C" >&6
10528else 10767else
10529 cat >conftest.$ac_ext <<_ACEOF 10768 cat >conftest.$ac_ext <<_ACEOF
10530/* confdefs.h. */ 10769/* confdefs.h. */
10531_ACEOF 10770_ACEOF
10553 grep -v '^ *+' conftest.er1 >conftest.err 10792 grep -v '^ *+' conftest.er1 >conftest.err
10554 rm -f conftest.er1 10793 rm -f conftest.er1
10555 cat conftest.err >&5 10794 cat conftest.err >&5
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); } && 10796 (exit $ac_status); } &&
10558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10797 { ac_try='test -z "$ac_cxx_werror_flag"
10798 || test ! -s conftest.err'
10559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10560 (eval $ac_try) 2>&5 10800 (eval $ac_try) 2>&5
10561 ac_status=$? 10801 ac_status=$?
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); }; } && 10803 (exit $ac_status); }; } &&
10565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566 (eval $ac_try) 2>&5 10806 (eval $ac_try) 2>&5
10567 ac_status=$? 10807 ac_status=$?
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; }; then 10809 (exit $ac_status); }; }; then
10570 rxvt_cv_struct_lastlogx=yes 10810 struct_lastlogx=yes
10571else 10811else
10572 echo "$as_me: failed program was:" >&5 10812 echo "$as_me: failed program was:" >&5
10573sed 's/^/| /' conftest.$ac_ext >&5 10813sed 's/^/| /' conftest.$ac_ext >&5
10574 10814
10575rxvt_cv_struct_lastlogx=no 10815struct_lastlogx=no
10576fi 10816fi
10577rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10817rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10578fi 10818fi
10579echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10819echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
10580echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10820echo "${ECHO_T}$struct_lastlogx" >&6
10581if test x$rxvt_cv_struct_lastlogx = xyes; then 10821if test x$struct_lastlogx = xyes; then
10582 10822
10583cat >>confdefs.h <<\_ACEOF 10823cat >>confdefs.h <<\_ACEOF
10584#define HAVE_STRUCT_LASTLOGX 1 10824#define HAVE_STRUCT_LASTLOGX 1
10585_ACEOF 10825_ACEOF
10586 10826
10587fi 10827fi
10588 10828
10589 10829
10590echo "$as_me:$LINENO: checking where utmp is located" >&5 10830echo "$as_me:$LINENO: checking where utmp is located" >&5
10591echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10831echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
10592if test "${rxvt_cv_path_utmp+set}" = set; then 10832if test "${path_utmp+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6 10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10594else 10834else
10595 if test "$cross_compiling" = yes; then 10835 if test "$cross_compiling" = yes; then
10596 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 10836 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
10597echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 10837echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
10598else 10838else
10599 cat >conftest.$ac_ext <<_ACEOF 10839 cat >conftest.$ac_ext <<_ACEOF
10600/* confdefs.h. */ 10840/* confdefs.h. */
10601_ACEOF 10841_ACEOF
10602cat confdefs.h >>conftest.$ac_ext 10842cat confdefs.h >>conftest.$ac_ext
10603cat >>conftest.$ac_ext <<_ACEOF 10843cat >>conftest.$ac_ext <<_ACEOF
10604/* end confdefs.h. */ 10844/* end confdefs.h. */
10605#include <stdio.h> 10845#include <stdio.h>
10846#include <stdlib.h>
10606#include <sys/types.h> 10847#include <sys/types.h>
10607#include <utmp.h> 10848#include <utmp.h>
10608#include <errno.h> 10849#include <errno.h>
10609main() 10850main()
10610{ 10851{
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5 10880 (eval $ac_try) 2>&5
10640 ac_status=$? 10881 ac_status=$?
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; }; then 10883 (exit $ac_status); }; }; then
10643 rxvt_cv_path_utmp=`cat conftestval` 10884 path_utmp=`cat conftestval`
10644else 10885else
10645 echo "$as_me: program exited with status $ac_status" >&5 10886 echo "$as_me: program exited with status $ac_status" >&5
10646echo "$as_me: failed program was:" >&5 10887echo "$as_me: failed program was:" >&5
10647sed 's/^/| /' conftest.$ac_ext >&5 10888sed 's/^/| /' conftest.$ac_ext >&5
10648 10889
10649( exit $ac_status ) 10890( exit $ac_status )
10650rxvt_cv_path_utmp= 10891path_utmp=
10651fi 10892fi
10652rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10893rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10653fi 10894fi
10654fi 10895fi
10655echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 10896echo "$as_me:$LINENO: result: $path_utmp" >&5
10656echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 10897echo "${ECHO_T}$path_utmp" >&6
10657if test x$rxvt_cv_path_utmp != x; then 10898if test x$path_utmp != x; then
10658 10899
10659cat >>confdefs.h <<_ACEOF 10900cat >>confdefs.h <<_ACEOF
10660#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 10901#define UTMP_FILE "$path_utmp"
10661_ACEOF 10902_ACEOF
10662 10903
10663fi 10904fi
10664 10905
10665 10906
10666echo "$as_me:$LINENO: checking where utmpx is located" >&5 10907echo "$as_me:$LINENO: checking where utmpx is located" >&5
10667echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 10908echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
10668if test "${rxvt_cv_path_utmpx+set}" = set; then 10909if test "${path_utmpx+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6 10910 echo $ECHO_N "(cached) $ECHO_C" >&6
10670else 10911else
10671 if test "$cross_compiling" = yes; then 10912 if test "$cross_compiling" = yes; then
10672 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 10913 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
10673echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 10914echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
10674else 10915else
10675 cat >conftest.$ac_ext <<_ACEOF 10916 cat >conftest.$ac_ext <<_ACEOF
10676/* confdefs.h. */ 10917/* confdefs.h. */
10677_ACEOF 10918_ACEOF
10678cat confdefs.h >>conftest.$ac_ext 10919cat confdefs.h >>conftest.$ac_ext
10679cat >>conftest.$ac_ext <<_ACEOF 10920cat >>conftest.$ac_ext <<_ACEOF
10680/* end confdefs.h. */ 10921/* end confdefs.h. */
10681#include <stdio.h> 10922#include <stdio.h>
10923#include <stdlib.h>
10682#include <sys/types.h> 10924#include <sys/types.h>
10683#include <utmpx.h> 10925#include <utmpx.h>
10684#include <errno.h> 10926#include <errno.h>
10685#include <sys/stat.h> 10927#include <sys/stat.h>
10686#ifdef HAVE_STRING_H 10928#ifdef HAVE_STRING_H
10724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10725 (eval $ac_try) 2>&5 10967 (eval $ac_try) 2>&5
10726 ac_status=$? 10968 ac_status=$?
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }; }; then 10970 (exit $ac_status); }; }; then
10729 rxvt_cv_path_utmpx=`cat conftestval` 10971 path_utmpx=`cat conftestval`
10730else 10972else
10731 echo "$as_me: program exited with status $ac_status" >&5 10973 echo "$as_me: program exited with status $ac_status" >&5
10732echo "$as_me: failed program was:" >&5 10974echo "$as_me: failed program was:" >&5
10733sed 's/^/| /' conftest.$ac_ext >&5 10975sed 's/^/| /' conftest.$ac_ext >&5
10734 10976
10735( exit $ac_status ) 10977( exit $ac_status )
10736rxvt_cv_path_utmpx= 10978path_utmpx=
10737fi 10979fi
10738rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10980rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10739fi 10981fi
10740fi 10982fi
10741echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 10983echo "$as_me:$LINENO: result: $path_utmpx" >&5
10742echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 10984echo "${ECHO_T}$path_utmpx" >&6
10743if test x$rxvt_cv_path_utmpx != x; then 10985if test x$path_utmpx != x; then
10744 10986
10745cat >>confdefs.h <<_ACEOF 10987cat >>confdefs.h <<_ACEOF
10746#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 10988#define UTMPX_FILE "$path_utmpx"
10747_ACEOF 10989_ACEOF
10748 10990
10749fi 10991fi
10750 10992
10751 10993
10752echo "$as_me:$LINENO: checking where wtmp is located" >&5 10994echo "$as_me:$LINENO: checking where wtmp is located" >&5
10753echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 10995echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
10754if test "${rxvt_cv_path_wtmp+set}" = set; then 10996if test "${path_wtmp+set}" = set; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6 10997 echo $ECHO_N "(cached) $ECHO_C" >&6
10756else 10998else
10757 if test "$cross_compiling" = yes; then 10999 if test "$cross_compiling" = yes; then
10758 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 11000 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
10759echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 11001echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
10760else 11002else
10761 cat >conftest.$ac_ext <<_ACEOF 11003 cat >conftest.$ac_ext <<_ACEOF
10762/* confdefs.h. */ 11004/* confdefs.h. */
10763_ACEOF 11005_ACEOF
10764cat confdefs.h >>conftest.$ac_ext 11006cat confdefs.h >>conftest.$ac_ext
10765cat >>conftest.$ac_ext <<_ACEOF 11007cat >>conftest.$ac_ext <<_ACEOF
10766/* end confdefs.h. */ 11008/* end confdefs.h. */
10767#include <stdio.h> 11009#include <stdio.h>
11010#include <stdlib.h>
10768#include <sys/types.h> 11011#include <sys/types.h>
10769#ifdef HAVE_UTMP_H 11012#ifdef HAVE_UTMP_H
10770#include <utmp.h> 11013#include <utmp.h>
10771#endif 11014#endif
10772#include <errno.h> 11015#include <errno.h>
10802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10803 (eval $ac_try) 2>&5 11046 (eval $ac_try) 2>&5
10804 ac_status=$? 11047 ac_status=$?
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }; }; then 11049 (exit $ac_status); }; }; then
10807 rxvt_cv_path_wtmp=`cat conftestval` 11050 path_wtmp=`cat conftestval`
10808else 11051else
10809 echo "$as_me: program exited with status $ac_status" >&5 11052 echo "$as_me: program exited with status $ac_status" >&5
10810echo "$as_me: failed program was:" >&5 11053echo "$as_me: failed program was:" >&5
10811sed 's/^/| /' conftest.$ac_ext >&5 11054sed 's/^/| /' conftest.$ac_ext >&5
10812 11055
10813( exit $ac_status ) 11056( exit $ac_status )
10814rxvt_cv_path_wtmp= 11057path_wtmp=
10815fi 11058fi
10816rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11059rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10817fi 11060fi
10818fi 11061fi
10819echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11062echo "$as_me:$LINENO: result: $path_wtmp" >&5
10820echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11063echo "${ECHO_T}$path_wtmp" >&6
10821if test x$rxvt_cv_path_wtmp != x; then 11064if test x$path_wtmp != x; then
10822 11065
10823cat >>confdefs.h <<_ACEOF 11066cat >>confdefs.h <<_ACEOF
10824#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11067#define WTMP_FILE "$path_wtmp"
10825_ACEOF 11068_ACEOF
10826 11069
10827fi 11070fi
10828 11071
10829echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11072echo "$as_me:$LINENO: checking where wtmpx is located" >&5
10830echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11073echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
10831if test "${rxvt_cv_path_wtmpx+set}" = set; then 11074if test "${path_wtmpx+set}" = set; then
10832 echo $ECHO_N "(cached) $ECHO_C" >&6 11075 echo $ECHO_N "(cached) $ECHO_C" >&6
10833else 11076else
10834 if test "$cross_compiling" = yes; then 11077 if test "$cross_compiling" = yes; then
10835 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11078 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
10836echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11079echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
10837else 11080else
10838 cat >conftest.$ac_ext <<_ACEOF 11081 cat >conftest.$ac_ext <<_ACEOF
10839/* confdefs.h. */ 11082/* confdefs.h. */
10840_ACEOF 11083_ACEOF
10841cat confdefs.h >>conftest.$ac_ext 11084cat confdefs.h >>conftest.$ac_ext
10842cat >>conftest.$ac_ext <<_ACEOF 11085cat >>conftest.$ac_ext <<_ACEOF
10843/* end confdefs.h. */ 11086/* end confdefs.h. */
10844#include <stdio.h> 11087#include <stdio.h>
11088#include <stdlib.h>
10845#ifdef HAVE_UTMPX_H 11089#ifdef HAVE_UTMPX_H
10846#include <utmpx.h> 11090#include <utmpx.h>
10847#endif 11091#endif
10848#include <errno.h> 11092#include <errno.h>
10849main() 11093main()
10878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10879 (eval $ac_try) 2>&5 11123 (eval $ac_try) 2>&5
10880 ac_status=$? 11124 ac_status=$?
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); }; }; then 11126 (exit $ac_status); }; }; then
10883 rxvt_cv_path_wtmpx=`cat conftestval` 11127 path_wtmpx=`cat conftestval`
10884else 11128else
10885 echo "$as_me: program exited with status $ac_status" >&5 11129 echo "$as_me: program exited with status $ac_status" >&5
10886echo "$as_me: failed program was:" >&5 11130echo "$as_me: failed program was:" >&5
10887sed 's/^/| /' conftest.$ac_ext >&5 11131sed 's/^/| /' conftest.$ac_ext >&5
10888 11132
10889( exit $ac_status ) 11133( exit $ac_status )
10890rxvt_cv_path_wtmpx= 11134path_wtmpx=
10891fi 11135fi
10892rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11136rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10893fi 11137fi
10894fi 11138fi
10895echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11139echo "$as_me:$LINENO: result: $path_wtmpx" >&5
10896echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11140echo "${ECHO_T}$path_wtmpx" >&6
10897if test x$rxvt_cv_path_wtmpx != x; then 11141if test x$path_wtmpx != x; then
10898 11142
10899cat >>confdefs.h <<_ACEOF 11143cat >>confdefs.h <<_ACEOF
10900#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11144#define WTMPX_FILE "$path_wtmpx"
10901_ACEOF 11145_ACEOF
10902 11146
10903fi 11147fi
10904 11148
10905echo "$as_me:$LINENO: checking where lastlog is located" >&5 11149echo "$as_me:$LINENO: checking where lastlog is located" >&5
10906echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11150echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
10907if test "${rxvt_cv_path_lastlog+set}" = set; then 11151if test "${path_lastlog+set}" = set; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6 11152 echo $ECHO_N "(cached) $ECHO_C" >&6
10909else 11153else
10910 if test "$cross_compiling" = yes; then 11154 if test "$cross_compiling" = yes; then
10911 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11155 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
10912echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11156echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
10913else 11157else
10914 cat >conftest.$ac_ext <<_ACEOF 11158 cat >conftest.$ac_ext <<_ACEOF
10915/* confdefs.h. */ 11159/* confdefs.h. */
10916_ACEOF 11160_ACEOF
10917cat confdefs.h >>conftest.$ac_ext 11161cat confdefs.h >>conftest.$ac_ext
10918cat >>conftest.$ac_ext <<_ACEOF 11162cat >>conftest.$ac_ext <<_ACEOF
10919/* end confdefs.h. */ 11163/* end confdefs.h. */
10920#include <stdio.h> 11164#include <stdio.h>
11165#include <stdlib.h>
10921#include <sys/types.h> 11166#include <sys/types.h>
10922#ifdef HAVE_UTMPX_H 11167#ifdef HAVE_UTMPX_H
10923#include <utmpx.h> 11168#include <utmpx.h>
10924#elif defined(HAVE_UTMP_H) 11169#elif defined(HAVE_UTMP_H)
10925#include <utmp.h> 11170#include <utmp.h>
10959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960 (eval $ac_try) 2>&5 11205 (eval $ac_try) 2>&5
10961 ac_status=$? 11206 ac_status=$?
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }; }; then 11208 (exit $ac_status); }; }; then
10964 rxvt_cv_path_lastlog=`cat conftestval` 11209 path_lastlog=`cat conftestval`
10965else 11210else
10966 echo "$as_me: program exited with status $ac_status" >&5 11211 echo "$as_me: program exited with status $ac_status" >&5
10967echo "$as_me: failed program was:" >&5 11212echo "$as_me: failed program was:" >&5
10968sed 's/^/| /' conftest.$ac_ext >&5 11213sed 's/^/| /' conftest.$ac_ext >&5
10969 11214
10970( exit $ac_status ) 11215( exit $ac_status )
10971rxvt_cv_path_lastlog= 11216path_lastlog=
10972fi 11217fi
10973rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11218rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10974fi 11219fi
10975fi 11220fi
10976echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11221echo "$as_me:$LINENO: result: $path_lastlog" >&5
10977echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11222echo "${ECHO_T}$path_lastlog" >&6
10978if test x$rxvt_cv_path_lastlog != x; then 11223if test x$path_lastlog != x; then
10979 11224
10980cat >>confdefs.h <<_ACEOF 11225cat >>confdefs.h <<_ACEOF
10981#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11226#define LASTLOG_FILE "$path_lastlog"
10982_ACEOF 11227_ACEOF
10983 11228
10984 if test -d "$rxvt_cv_path_lastlog"; then 11229 if test -d "$path_lastlog"; then
10985 11230
10986cat >>confdefs.h <<\_ACEOF 11231cat >>confdefs.h <<\_ACEOF
10987#define LASTLOG_IS_DIR 1 11232#define LASTLOG_IS_DIR 1
10988_ACEOF 11233_ACEOF
10989 11234
10990 fi 11235 fi
10991fi 11236fi
10992 11237
10993echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11238echo "$as_me:$LINENO: checking where lastlogx is located" >&5
10994echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11239echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
10995if test "${rxvt_cv_path_lastlogx+set}" = set; then 11240if test "${path_lastlogx+set}" = set; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6 11241 echo $ECHO_N "(cached) $ECHO_C" >&6
10997else 11242else
10998 if test "$cross_compiling" = yes; then 11243 if test "$cross_compiling" = yes; then
10999 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11244 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11000echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11245echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11001else 11246else
11002 cat >conftest.$ac_ext <<_ACEOF 11247 cat >conftest.$ac_ext <<_ACEOF
11003/* confdefs.h. */ 11248/* confdefs.h. */
11004_ACEOF 11249_ACEOF
11005cat confdefs.h >>conftest.$ac_ext 11250cat confdefs.h >>conftest.$ac_ext
11006cat >>conftest.$ac_ext <<_ACEOF 11251cat >>conftest.$ac_ext <<_ACEOF
11007/* end confdefs.h. */ 11252/* end confdefs.h. */
11008#include <stdio.h> 11253#include <stdio.h>
11254#include <stdlib.h>
11009#ifdef HAVE_UTMPX_H 11255#ifdef HAVE_UTMPX_H
11010#include <utmpx.h> 11256#include <utmpx.h>
11011#endif 11257#endif
11012#include <errno.h> 11258#include <errno.h>
11013main() 11259main()
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5 11288 (eval $ac_try) 2>&5
11043 ac_status=$? 11289 ac_status=$?
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; }; then 11291 (exit $ac_status); }; }; then
11046 rxvt_cv_path_lastlogx=`cat conftestval` 11292 path_lastlogx=`cat conftestval`
11047else 11293else
11048 echo "$as_me: program exited with status $ac_status" >&5 11294 echo "$as_me: program exited with status $ac_status" >&5
11049echo "$as_me: failed program was:" >&5 11295echo "$as_me: failed program was:" >&5
11050sed 's/^/| /' conftest.$ac_ext >&5 11296sed 's/^/| /' conftest.$ac_ext >&5
11051 11297
11052( exit $ac_status ) 11298( exit $ac_status )
11053rxvt_cv_path_lastlogx= 11299path_lastlogx=
11054fi 11300fi
11055rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11301rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11056fi 11302fi
11057fi 11303fi
11058echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11304echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11059echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11305echo "${ECHO_T}$path_lastlogx" >&6
11060if test x$rxvt_cv_path_lastlogx != x; then 11306if test x$path_lastlogx != x; then
11061 11307
11062cat >>confdefs.h <<_ACEOF 11308cat >>confdefs.h <<_ACEOF
11063#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11309#define LASTLOGX_FILE "$path_lastlogx"
11064_ACEOF 11310_ACEOF
11065 11311
11066fi 11312fi
11313
11067 11314
11068 11315
11069echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11316echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11070echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 11317echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6
11071if test "${rxvt_cv_path_ttytab+set}" = set; then 11318if test "${rxvt_cv_path_ttytab+set}" = set; then
11093 11340
11094ac_save_LIBS=$LIBS 11341ac_save_LIBS=$LIBS
11095ac_save_CFLAGS=$CFLAGS 11342ac_save_CFLAGS=$CFLAGS
11096CFLAGS="$CFLAGS $X_CFLAGS" 11343CFLAGS="$CFLAGS $X_CFLAGS"
11097LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11344LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11098if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
11099 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11100fi
11101echo "$as_me:$LINENO: checking for working Xlocale" >&5 11345echo "$as_me:$LINENO: checking for working Xlocale" >&5
11102echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 11346echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6
11103if test "${rxvt_cv_func_xlocale+set}" = set; then 11347if test "${rxvt_cv_func_xlocale+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6 11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11105else 11349else
11106 if test "$cross_compiling" = yes; then 11350 if test "$cross_compiling" = yes; then
11107 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11351 :
11108echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11109else 11352else
11110 cat >conftest.$ac_ext <<_ACEOF 11353 cat >conftest.$ac_ext <<_ACEOF
11111/* confdefs.h. */ 11354/* confdefs.h. */
11112_ACEOF 11355_ACEOF
11113cat confdefs.h >>conftest.$ac_ext 11356cat confdefs.h >>conftest.$ac_ext
11114cat >>conftest.$ac_ext <<_ACEOF 11357cat >>conftest.$ac_ext <<_ACEOF
11115/* end confdefs.h. */ 11358/* end confdefs.h. */
11116#include <X11/Xlib.h> 11359#include <X11/Xlib.h>
11360#include <stdlib.h>
11117main() { 11361main() {
11118char *p; 11362char *p;
11119if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11363if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11120exit (XSupportsLocale() ? 0 : 1); 11364exit (XSupportsLocale() ? 0 : 1);
11121else 11365else
11144rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11388rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11145fi 11389fi
11146fi 11390fi
11147echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11391echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11148echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 11392echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6
11393if test x$support_xim = xyes; then
11149if test x$rxvt_cv_func_xlocale = xyes; then 11394 if test x$rxvt_cv_func_xlocale = xyes; then
11150 11395
11151cat >>confdefs.h <<\_ACEOF 11396cat >>confdefs.h <<\_ACEOF
11152#define HAVE_XLOCALE 1 11397#define USE_XIM 1
11153_ACEOF 11398_ACEOF
11154 11399
11400 fi
11155fi 11401fi
11156 11402
11157echo "$as_me:$LINENO: checking for working X setlocale" >&5 11403echo "$as_me:$LINENO: checking for working X setlocale" >&5
11158echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 11404echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6
11159if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11405if test "${rxvt_cv_func_xsetlocale+set}" = set; then
11182 grep -v '^ *+' conftest.er1 >conftest.err 11428 grep -v '^ *+' conftest.er1 >conftest.err
11183 rm -f conftest.er1 11429 rm -f conftest.er1
11184 cat conftest.err >&5 11430 cat conftest.err >&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } && 11432 (exit $ac_status); } &&
11187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11433 { ac_try='test -z "$ac_cxx_werror_flag"
11434 || test ! -s conftest.err'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5 11436 (eval $ac_try) 2>&5
11190 ac_status=$? 11437 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; } && 11439 (exit $ac_status); }; } &&
11245 grep -v '^ *+' conftest.er1 >conftest.err 11492 grep -v '^ *+' conftest.er1 >conftest.err
11246 rm -f conftest.er1 11493 rm -f conftest.er1
11247 cat conftest.err >&5 11494 cat conftest.err >&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } && 11496 (exit $ac_status); } &&
11250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11497 { ac_try='test -z "$ac_cxx_werror_flag"
11498 || test ! -s conftest.err'
11251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11252 (eval $ac_try) 2>&5 11500 (eval $ac_try) 2>&5
11253 ac_status=$? 11501 ac_status=$?
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); }; } && 11503 (exit $ac_status); }; } &&
11306 grep -v '^ *+' conftest.er1 >conftest.err 11554 grep -v '^ *+' conftest.er1 >conftest.err
11307 rm -f conftest.er1 11555 rm -f conftest.er1
11308 cat conftest.err >&5 11556 cat conftest.err >&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } && 11558 (exit $ac_status); } &&
11311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11559 { ac_try='test -z "$ac_cxx_werror_flag"
11560 || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5 11562 (eval $ac_try) 2>&5
11314 ac_status=$? 11563 ac_status=$?
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } && 11565 (exit $ac_status); }; } &&
11337cat >>confdefs.h <<\_ACEOF 11586cat >>confdefs.h <<\_ACEOF
11338#define HAVE_NL_LANGINFO 1 11587#define HAVE_NL_LANGINFO 1
11339_ACEOF 11588_ACEOF
11340 11589
11341fi 11590fi
11591
11592
11593echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11594echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11595if test "${can_pass_fds+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11597else
11598 cat >conftest.$ac_ext <<_ACEOF
11599/* confdefs.h. */
11600_ACEOF
11601cat confdefs.h >>conftest.$ac_ext
11602cat >>conftest.$ac_ext <<_ACEOF
11603/* end confdefs.h. */
11604
11605#include <cstddef> // broken bsds (is that redundant?) need this
11606#include <sys/types.h>
11607#include <sys/socket.h>
11608#include <sys/uio.h>
11609
11610int
11611main ()
11612{
11613
11614{
11615 msghdr msg;
11616 iovec iov;
11617 char buf [100];
11618 char data = 0;
11619
11620 iov.iov_base = &data;
11621 iov.iov_len = 1;
11622
11623 msg.msg_iov = &iov;
11624 msg.msg_iovlen = 1;
11625 msg.msg_control = buf;
11626 msg.msg_controllen = sizeof buf;
11627
11628 cmsghdr *cmsg = CMSG_FIRSTHDR (&msg);
11629 cmsg->cmsg_level = SOL_SOCKET;
11630 cmsg->cmsg_type = SCM_RIGHTS;
11631 cmsg->cmsg_len = 100;
11632
11633 *(int *)CMSG_DATA (cmsg) = 5;
11634
11635 return sendmsg (3, &msg, 0);
11636}
11637
11638 ;
11639 return 0;
11640}
11641_ACEOF
11642rm -f conftest.$ac_objext conftest$ac_exeext
11643if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11644 (eval $ac_link) 2>conftest.er1
11645 ac_status=$?
11646 grep -v '^ *+' conftest.er1 >conftest.err
11647 rm -f conftest.er1
11648 cat conftest.err >&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } &&
11651 { ac_try='test -z "$ac_cxx_werror_flag"
11652 || test ! -s conftest.err'
11653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11654 (eval $ac_try) 2>&5
11655 ac_status=$?
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; } &&
11658 { ac_try='test -s conftest$ac_exeext'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11661 ac_status=$?
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; }; then
11664 can_pass_fds=yes
11665else
11666 echo "$as_me: failed program was:" >&5
11667sed 's/^/| /' conftest.$ac_ext >&5
11668
11669can_pass_fds=no
11670fi
11671rm -f conftest.err conftest.$ac_objext \
11672 conftest$ac_exeext conftest.$ac_ext
11673fi
11674echo "$as_me:$LINENO: result: $can_pass_fds" >&5
11675echo "${ECHO_T}$can_pass_fds" >&6
11676if test x$can_pass_fds = xyes; then
11677
11678cat >>confdefs.h <<\_ACEOF
11679#define HAVE_UNIX_FDPASS 1
11680_ACEOF
11681
11682else
11683 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
11684echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
11685 { (exit 1); exit 1; }; }
11686fi
11687
11342 11688
11343echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11689echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11344echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11690echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
11345if test "${rxvt_broken_ximcb+set}" = set; then 11691if test "${rxvt_broken_ximcb+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6 11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 grep -v '^ *+' conftest.er1 >conftest.err 11710 grep -v '^ *+' conftest.er1 >conftest.err
11365 rm -f conftest.er1 11711 rm -f conftest.er1
11366 cat conftest.err >&5 11712 cat conftest.err >&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } && 11714 (exit $ac_status); } &&
11369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11715 { ac_try='test -z "$ac_cxx_werror_flag"
11716 || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5 11718 (eval $ac_try) 2>&5
11372 ac_status=$? 11719 ac_status=$?
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } && 11721 (exit $ac_status); }; } &&
11396#define XIMCB_PROTO_BROKEN 1 11743#define XIMCB_PROTO_BROKEN 1
11397_ACEOF 11744_ACEOF
11398 11745
11399fi 11746fi
11400 11747
11401echo "$as_me:$LINENO: checking for getpt" >&5
11402echo $ECHO_N "checking for getpt... $ECHO_C" >&6
11403if test "${rxvt_cv_func_getpt+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11405else
11406 cat >conftest.$ac_ext <<_ACEOF
11407/* confdefs.h. */
11408_ACEOF
11409cat confdefs.h >>conftest.$ac_ext
11410cat >>conftest.$ac_ext <<_ACEOF
11411/* end confdefs.h. */
11412#define _GNU_SOURCE
11413#ifdef HAVE_STDLIB_H
11414# include <cstdlib>
11415#endif
11416int
11417main ()
11418{
11419(void)getpt();
11420 ;
11421 return 0;
11422}
11423_ACEOF
11424rm -f conftest.$ac_objext conftest$ac_exeext
11425if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11426 (eval $ac_link) 2>conftest.er1
11427 ac_status=$?
11428 grep -v '^ *+' conftest.er1 >conftest.err
11429 rm -f conftest.er1
11430 cat conftest.err >&5
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); } &&
11433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11435 (eval $ac_try) 2>&5
11436 ac_status=$?
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); }; } &&
11439 { ac_try='test -s conftest$ac_exeext'
11440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11441 (eval $ac_try) 2>&5
11442 ac_status=$?
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }; }; then
11445 rxvt_cv_func_getpt=yes
11446else
11447 echo "$as_me: failed program was:" >&5
11448sed 's/^/| /' conftest.$ac_ext >&5
11449 11748
11450rxvt_cv_func_getpt=no
11451fi
11452rm -f conftest.err conftest.$ac_objext \
11453 conftest$ac_exeext conftest.$ac_ext
11454fi
11455echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5
11456echo "${ECHO_T}$rxvt_cv_func_getpt" >&6
11457if test x$rxvt_cv_func_getpt = xyes; then
11458 11749
11459cat >>confdefs.h <<\_ACEOF
11460#define HAVE_GETPT 1
11461_ACEOF
11462 11750
11463fi
11464 11751
11465echo "$as_me:$LINENO: checking for pty/tty type" >&5
11466echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
11467if test "${rxvt_cv_ptys+set}" = set; then
11468 echo $ECHO_N "(cached) $ECHO_C" >&6
11469else
11470 if test x$ac_cv_func_openpty = xyes; then
11471 rxvt_cv_ptys=OPENPTY
11472 else if test x$ac_cv_func__getpty = xyes; then
11473 rxvt_cv_ptys=SGI4
11474 else if test -c /dev/ttyp20; then
11475 rxvt_cv_ptys=SCO
11476 else if test -c /dev/ptym/clone; then
11477 rxvt_cv_ptys=HPUX
11478 else if test x$rxvt_cv_func_getpt = xyes; then
11479 rxvt_cv_ptys=GLIBC
11480 else if test -c /dev/ptc -a -c /dev/pts; then
11481 rxvt_cv_ptys=PTC
11482 else if test -c /dev/ptc -a -d /dev/pts; then
11483 rxvt_cv_ptys=PTC
11484 else if test -c /dev/ptmx -a -c /dev/pts/0; then
11485 rxvt_cv_ptys=STREAMS
11486 else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
11487 rxvt_cv_ptys=STREAMS
11488 else
11489 rxvt_cv_ptys=BSD
11490fi
11491fi
11492fi
11493fi
11494fi
11495fi
11496fi
11497fi
11498fi
11499 11752
11500fi
11501echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
11502echo "${ECHO_T}$rxvt_cv_ptys" >&6
11503 11753
11504if test x$rxvt_cv_ptys = xOPENPTY; then 11754for ac_header in \
11755 pty.h \
11756 util.h \
11757 libutil.h \
11758 sys/ioctl.h \
11759 sys/stropts.h \
11505 11760
11506cat >>confdefs.h <<\_ACEOF
11507#define PTYS_ARE_OPENPTY 1
11508_ACEOF
11509
11510fi
11511if test x$rxvt_cv_ptys = xSCO; then
11512
11513cat >>confdefs.h <<\_ACEOF
11514#define PTYS_ARE_NUMERIC 1
11515_ACEOF
11516
11517fi
11518if test x$rxvt_cv_ptys = xSTREAMS; then
11519
11520cat >>confdefs.h <<\_ACEOF
11521#define PTYS_ARE_PTMX 1
11522_ACEOF
11523
11524fi
11525if test x$rxvt_cv_ptys = xPTC; then
11526
11527cat >>confdefs.h <<\_ACEOF
11528#define PTYS_ARE_PTC 1
11529_ACEOF
11530
11531fi
11532if test x$rxvt_cv_ptys = xSGI4; then
11533
11534cat >>confdefs.h <<\_ACEOF
11535#define PTYS_ARE__GETPTY 1
11536_ACEOF
11537
11538fi
11539if test x$rxvt_cv_ptys = xCONVEX; then
11540
11541cat >>confdefs.h <<\_ACEOF
11542#define PTYS_ARE_GETPTY 1
11543_ACEOF
11544
11545fi
11546if test x$rxvt_cv_ptys = xGLIBC; then
11547
11548cat >>confdefs.h <<\_ACEOF
11549#define PTYS_ARE_GETPT 1
11550_ACEOF
11551
11552fi
11553if test x$rxvt_cv_ptys = xHPUX; then
11554
11555cat >>confdefs.h <<\_ACEOF
11556#define PTYS_ARE_CLONE 1
11557_ACEOF
11558
11559fi
11560if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then
11561
11562cat >>confdefs.h <<\_ACEOF
11563#define PTYS_ARE_SEARCHED 1
11564_ACEOF
11565
11566fi
11567
11568
11569{ echo "$as_me:$LINENO: checking for pty ranges..." >&5
11570echo "$as_me: checking for pty ranges..." >&6;}
11571ptys=`echo /dev/pty??`
11572pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
11573pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
11574if test x$pch1 != x; then
11575
11576cat >>confdefs.h <<_ACEOF
11577#define PTYCHAR1 "$pch1"
11578_ACEOF
11579
11580fi
11581if test x$pch2 != x; then
11582
11583cat >>confdefs.h <<_ACEOF
11584#define PTYCHAR2 "$pch2"
11585_ACEOF
11586
11587fi
11588
11589if test x$support_xft = xyes; then
11590 LIBS="$LIBS `pkg-config xft --libs`"
11591 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
11592 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
11593
11594
11595for ac_header in X11/Xft/Xft.h
11596do 11761do
11597as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11762as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11598if eval "test \"\${$as_ac_Header+set}\" = set"; then 11763if eval "test \"\${$as_ac_Header+set}\" = set"; then
11599 echo "$as_me:$LINENO: checking for $ac_header" >&5 11764 echo "$as_me:$LINENO: checking for $ac_header" >&5
11600echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11765echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11623 grep -v '^ *+' conftest.er1 >conftest.err 11788 grep -v '^ *+' conftest.er1 >conftest.err
11624 rm -f conftest.er1 11789 rm -f conftest.er1
11625 cat conftest.err >&5 11790 cat conftest.err >&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } && 11792 (exit $ac_status); } &&
11628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11793 { ac_try='test -z "$ac_cxx_werror_flag"
11794 || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5 11796 (eval $ac_try) 2>&5
11631 ac_status=$? 11797 ac_status=$?
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } && 11799 (exit $ac_status); }; } &&
11734if test `eval echo '${'$as_ac_Header'}'` = yes; then 11900if test `eval echo '${'$as_ac_Header'}'` = yes; then
11735 cat >>confdefs.h <<_ACEOF 11901 cat >>confdefs.h <<_ACEOF
11736#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11902#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11737_ACEOF 11903_ACEOF
11738 11904
11905fi
11906
11907done
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919for ac_func in \
11920 revoke \
11921 _getpty \
11922 getpt \
11923 posix_openpt \
11924 isastream \
11925 setuid \
11926 seteuid \
11927 setreuid \
11928 setresuid \
11929
11930do
11931as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11932echo "$as_me:$LINENO: checking for $ac_func" >&5
11933echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11934if eval "test \"\${$as_ac_var+set}\" = set"; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11936else
11937 cat >conftest.$ac_ext <<_ACEOF
11938/* confdefs.h. */
11939_ACEOF
11940cat confdefs.h >>conftest.$ac_ext
11941cat >>conftest.$ac_ext <<_ACEOF
11942/* end confdefs.h. */
11943/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11945#define $ac_func innocuous_$ac_func
11946
11947/* System header to define __stub macros and hopefully few prototypes,
11948 which can conflict with char $ac_func (); below.
11949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11950 <limits.h> exists even on freestanding compilers. */
11951
11952#ifdef __STDC__
11953# include <limits.h>
11954#else
11955# include <assert.h>
11956#endif
11957
11958#undef $ac_func
11959
11960/* Override any gcc2 internal prototype to avoid an error. */
11961#ifdef __cplusplus
11962extern "C"
11963{
11964#endif
11965/* We use char because int might match the return type of a gcc2
11966 builtin and then its argument prototype would still apply. */
11967char $ac_func ();
11968/* The GNU C library defines this for functions which it implements
11969 to always fail with ENOSYS. Some functions are actually named
11970 something starting with __ and the normal name is an alias. */
11971#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11972choke me
11973#else
11974char (*f) () = $ac_func;
11975#endif
11976#ifdef __cplusplus
11977}
11978#endif
11979
11980int
11981main ()
11982{
11983return f != $ac_func;
11984 ;
11985 return 0;
11986}
11987_ACEOF
11988rm -f conftest.$ac_objext conftest$ac_exeext
11989if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11990 (eval $ac_link) 2>conftest.er1
11991 ac_status=$?
11992 grep -v '^ *+' conftest.er1 >conftest.err
11993 rm -f conftest.er1
11994 cat conftest.err >&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } &&
11997 { ac_try='test -z "$ac_cxx_werror_flag"
11998 || test ! -s conftest.err'
11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 (eval $ac_try) 2>&5
12001 ac_status=$?
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); }; } &&
12004 { ac_try='test -s conftest$ac_exeext'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12007 ac_status=$?
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; }; then
12010 eval "$as_ac_var=yes"
12011else
12012 echo "$as_me: failed program was:" >&5
12013sed 's/^/| /' conftest.$ac_ext >&5
12014
12015eval "$as_ac_var=no"
12016fi
12017rm -f conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019fi
12020echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12021echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12022if test `eval echo '${'$as_ac_var'}'` = yes; then
12023 cat >>confdefs.h <<_ACEOF
12024#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12025_ACEOF
12026
12027fi
12028done
12029
12030
12031have_clone=no
12032
12033echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5
12034echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6
12035if test -e /dev/ptym/clone; then
12036 echo "$as_me:$LINENO: result: yes" >&5
12037echo "${ECHO_T}yes" >&6
12038
12039cat >>confdefs.h <<\_ACEOF
12040#define HAVE_DEV_CLONE 1
12041_ACEOF
12042
12043
12044cat >>confdefs.h <<\_ACEOF
12045#define CLONE_DEVICE "/dev/ptym/clone"
12046_ACEOF
12047
12048 have_clone=yes
12049else
12050 echo "$as_me:$LINENO: result: no" >&5
12051echo "${ECHO_T}no" >&6
12052fi
12053
12054echo "$as_me:$LINENO: checking for /dev/ptc" >&5
12055echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
12056if test -e /dev/ptc; then
12057 echo "$as_me:$LINENO: result: yes" >&5
12058echo "${ECHO_T}yes" >&6
12059
12060cat >>confdefs.h <<\_ACEOF
12061#define HAVE_DEV_PTC 1
12062_ACEOF
12063
12064
12065cat >>confdefs.h <<\_ACEOF
12066#define CLONE_DEVICE "/dev/ptc"
12067_ACEOF
12068
12069 have_clone=yes
12070else
12071 echo "$as_me:$LINENO: result: no" >&5
12072echo "${ECHO_T}no" >&6
12073fi
12074
12075case $host in
12076 *-*-cygwin*)
12077 have_clone=yes
12078
12079cat >>confdefs.h <<\_ACEOF
12080#define CLONE_DEVICE "/dev/ptmx"
12081_ACEOF
12082
12083 ;;
12084 *)
12085 echo "$as_me:$LINENO: checking for /dev/ptmx" >&5
12086echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6
12087 if test -e /dev/ptmx; then
12088 echo "$as_me:$LINENO: result: yes" >&5
12089echo "${ECHO_T}yes" >&6
12090
12091cat >>confdefs.h <<\_ACEOF
12092#define HAVE_DEV_PTMX 1
12093_ACEOF
12094
12095
12096cat >>confdefs.h <<\_ACEOF
12097#define CLONE_DEVICE "/dev/ptmx"
12098_ACEOF
12099
12100 have_clone=yes
12101 else
12102 echo "$as_me:$LINENO: result: no" >&5
12103echo "${ECHO_T}no" >&6
12104 fi
12105 ;;
12106esac
12107
12108if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then
12109 echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5
12110echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6
12111 cat >conftest.$ac_ext <<_ACEOF
12112/* confdefs.h. */
12113_ACEOF
12114cat confdefs.h >>conftest.$ac_ext
12115cat >>conftest.$ac_ext <<_ACEOF
12116/* end confdefs.h. */
12117#include <stdlib.h>
12118int
12119main ()
12120{
12121grantpt(0);unlockpt(0);ptsname(0);
12122 ;
12123 return 0;
12124}
12125_ACEOF
12126rm -f conftest.$ac_objext conftest$ac_exeext
12127if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12128 (eval $ac_link) 2>conftest.er1
12129 ac_status=$?
12130 grep -v '^ *+' conftest.er1 >conftest.err
12131 rm -f conftest.er1
12132 cat conftest.err >&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -z "$ac_cxx_werror_flag"
12136 || test ! -s conftest.err'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12139 ac_status=$?
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; } &&
12142 { ac_try='test -s conftest$ac_exeext'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12145 ac_status=$?
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 unix98_pty=yes
12149
12150cat >>confdefs.h <<\_ACEOF
12151#define UNIX98_PTY 1
12152_ACEOF
12153
12154 echo "$as_me:$LINENO: result: yes" >&5
12155echo "${ECHO_T}yes" >&6
12156else
12157 echo "$as_me: failed program was:" >&5
12158sed 's/^/| /' conftest.$ac_ext >&5
12159
12160echo "$as_me:$LINENO: result: no" >&5
12161echo "${ECHO_T}no" >&6
12162fi
12163rm -f conftest.err conftest.$ac_objext \
12164 conftest$ac_exeext conftest.$ac_ext
12165fi
12166
12167if test -z "$unix98_pty"; then
12168
12169for ac_func in openpty
12170do
12171as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12172echo "$as_me:$LINENO: checking for $ac_func" >&5
12173echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12174if eval "test \"\${$as_ac_var+set}\" = set"; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12176else
12177 cat >conftest.$ac_ext <<_ACEOF
12178/* confdefs.h. */
12179_ACEOF
12180cat confdefs.h >>conftest.$ac_ext
12181cat >>conftest.$ac_ext <<_ACEOF
12182/* end confdefs.h. */
12183/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12185#define $ac_func innocuous_$ac_func
12186
12187/* System header to define __stub macros and hopefully few prototypes,
12188 which can conflict with char $ac_func (); below.
12189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12190 <limits.h> exists even on freestanding compilers. */
12191
12192#ifdef __STDC__
12193# include <limits.h>
12194#else
12195# include <assert.h>
12196#endif
12197
12198#undef $ac_func
12199
12200/* Override any gcc2 internal prototype to avoid an error. */
12201#ifdef __cplusplus
12202extern "C"
12203{
12204#endif
12205/* We use char because int might match the return type of a gcc2
12206 builtin and then its argument prototype would still apply. */
12207char $ac_func ();
12208/* The GNU C library defines this for functions which it implements
12209 to always fail with ENOSYS. Some functions are actually named
12210 something starting with __ and the normal name is an alias. */
12211#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12212choke me
12213#else
12214char (*f) () = $ac_func;
12215#endif
12216#ifdef __cplusplus
12217}
12218#endif
12219
12220int
12221main ()
12222{
12223return f != $ac_func;
12224 ;
12225 return 0;
12226}
12227_ACEOF
12228rm -f conftest.$ac_objext conftest$ac_exeext
12229if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12230 (eval $ac_link) 2>conftest.er1
12231 ac_status=$?
12232 grep -v '^ *+' conftest.er1 >conftest.err
12233 rm -f conftest.er1
12234 cat conftest.err >&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); } &&
12237 { ac_try='test -z "$ac_cxx_werror_flag"
12238 || test ! -s conftest.err'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12241 ac_status=$?
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; } &&
12244 { ac_try='test -s conftest$ac_exeext'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5
12247 ac_status=$?
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 eval "$as_ac_var=yes"
12251else
12252 echo "$as_me: failed program was:" >&5
12253sed 's/^/| /' conftest.$ac_ext >&5
12254
12255eval "$as_ac_var=no"
12256fi
12257rm -f conftest.err conftest.$ac_objext \
12258 conftest$ac_exeext conftest.$ac_ext
12259fi
12260echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12261echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12262if test `eval echo '${'$as_ac_var'}'` = yes; then
12263 cat >>confdefs.h <<_ACEOF
12264#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12265_ACEOF
12266
12267else
12268 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12269echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12270if test "${ac_cv_lib_util_openpty+set}" = set; then
12271 echo $ECHO_N "(cached) $ECHO_C" >&6
12272else
12273 ac_check_lib_save_LIBS=$LIBS
12274LIBS="-lutil $LIBS"
12275cat >conftest.$ac_ext <<_ACEOF
12276/* confdefs.h. */
12277_ACEOF
12278cat confdefs.h >>conftest.$ac_ext
12279cat >>conftest.$ac_ext <<_ACEOF
12280/* end confdefs.h. */
12281
12282/* Override any gcc2 internal prototype to avoid an error. */
12283#ifdef __cplusplus
12284extern "C"
12285#endif
12286/* We use char because int might match the return type of a gcc2
12287 builtin and then its argument prototype would still apply. */
12288char openpty ();
12289int
12290main ()
12291{
12292openpty ();
12293 ;
12294 return 0;
12295}
12296_ACEOF
12297rm -f conftest.$ac_objext conftest$ac_exeext
12298if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12299 (eval $ac_link) 2>conftest.er1
12300 ac_status=$?
12301 grep -v '^ *+' conftest.er1 >conftest.err
12302 rm -f conftest.er1
12303 cat conftest.err >&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } &&
12306 { ac_try='test -z "$ac_cxx_werror_flag"
12307 || test ! -s conftest.err'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12310 ac_status=$?
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; } &&
12313 { ac_try='test -s conftest$ac_exeext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12316 ac_status=$?
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12319 ac_cv_lib_util_openpty=yes
12320else
12321 echo "$as_me: failed program was:" >&5
12322sed 's/^/| /' conftest.$ac_ext >&5
12323
12324ac_cv_lib_util_openpty=no
12325fi
12326rm -f conftest.err conftest.$ac_objext \
12327 conftest$ac_exeext conftest.$ac_ext
12328LIBS=$ac_check_lib_save_LIBS
12329fi
12330echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12331echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12332if test $ac_cv_lib_util_openpty = yes; then
12333 cat >>confdefs.h <<\_ACEOF
12334#define HAVE_OPENPTY 1
12335_ACEOF
12336 LIBS="$LIBS -lutil"
12337fi
12338
12339fi
12340done
12341
12342fi
12343
12344
12345
12346echo "$as_me:$LINENO: checking for tty group" >&5
12347echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12348if test "${tty_group+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12350else
12351 if test "$cross_compiling" = yes; then
12352 tty_group=no
12353else
12354 cat >conftest.$ac_ext <<_ACEOF
12355/* confdefs.h. */
12356_ACEOF
12357cat confdefs.h >>conftest.$ac_ext
12358cat >>conftest.$ac_ext <<_ACEOF
12359/* end confdefs.h. */
12360
12361#include <sys/types.h>
12362#include <sys/stat.h>
12363#include <unistd.h>
12364#include <grp.h>
12365
12366main()
12367{
12368 struct stat st;
12369 struct group *gr;
12370 char *tty;
12371 gr = getgrnam("tty");
12372 tty = ttyname(0);
12373 if (gr != 0
12374 && tty != 0
12375 && (stat(tty, &st)) == 0
12376 && st.st_gid == gr->gr_gid)
12377 return 0;
12378 else
12379 return 1;
12380}
12381_ACEOF
12382rm -f conftest$ac_exeext
12383if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12384 (eval $ac_link) 2>&5
12385 ac_status=$?
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12390 ac_status=$?
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 tty_group=yes
12394else
12395 echo "$as_me: program exited with status $ac_status" >&5
12396echo "$as_me: failed program was:" >&5
12397sed 's/^/| /' conftest.$ac_ext >&5
12398
12399( exit $ac_status )
12400tty_group=no
12401fi
12402rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12403fi
12404fi
12405echo "$as_me:$LINENO: result: $tty_group" >&5
12406echo "${ECHO_T}$tty_group" >&6
12407if test x$tty_group = xyes; then
12408
12409cat >>confdefs.h <<\_ACEOF
12410#define TTY_GID_SUPPORT 1
12411_ACEOF
12412
12413fi
12414
12415if test x$support_xft = xyes; then
12416 # Extract the first word of "pkg-config", so it can be a program name with args.
12417set dummy pkg-config; ac_word=$2
12418echo "$as_me:$LINENO: checking for $ac_word" >&5
12419echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12420if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12422else
12423 case $PKG_CONFIG in
12424 [\\/]* | ?:[\\/]*)
12425 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12426 ;;
12427 *)
12428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12429for as_dir in $PATH
12430do
12431 IFS=$as_save_IFS
12432 test -z "$as_dir" && as_dir=.
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12435 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12437 break 2
12438 fi
12439done
12440done
12441
12442 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12443 ;;
12444esac
12445fi
12446PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12447
12448if test -n "$PKG_CONFIG"; then
12449 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12450echo "${ECHO_T}$PKG_CONFIG" >&6
12451else
12452 echo "$as_me:$LINENO: result: no" >&5
12453echo "${ECHO_T}no" >&6
12454fi
12455
12456 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12457 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12458 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12459 else
12460 # Extract the first word of "xft-config", so it can be a program name with args.
12461set dummy xft-config; ac_word=$2
12462echo "$as_me:$LINENO: checking for $ac_word" >&5
12463echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12464if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12466else
12467 case $XFT_CONFIG in
12468 [\\/]* | ?:[\\/]*)
12469 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
12470 ;;
12471 *)
12472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12473for as_dir in $PATH
12474do
12475 IFS=$as_save_IFS
12476 test -z "$as_dir" && as_dir=.
12477 for ac_exec_ext in '' $ac_executable_extensions; do
12478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12479 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12481 break 2
12482 fi
12483done
12484done
12485
12486 test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no"
12487 ;;
12488esac
12489fi
12490XFT_CONFIG=$ac_cv_path_XFT_CONFIG
12491
12492if test -n "$XFT_CONFIG"; then
12493 echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
12494echo "${ECHO_T}$XFT_CONFIG" >&6
12495else
12496 echo "$as_me:$LINENO: result: no" >&5
12497echo "${ECHO_T}no" >&6
12498fi
12499
12500 if test $XFT_CONFIG != no; then
12501 LIBS="$LIBS `$XFT_CONFIG --libs`"
12502 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12503 fi
12504 fi
12505
12506
12507for ac_header in X11/Xft/Xft.h
12508do
12509as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12510if eval "test \"\${$as_ac_Header+set}\" = set"; then
12511 echo "$as_me:$LINENO: checking for $ac_header" >&5
12512echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12513if eval "test \"\${$as_ac_Header+set}\" = set"; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12515fi
12516echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12517echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12518else
12519 # Is the header compilable?
12520echo "$as_me:$LINENO: checking $ac_header usability" >&5
12521echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12522cat >conftest.$ac_ext <<_ACEOF
12523/* confdefs.h. */
12524_ACEOF
12525cat confdefs.h >>conftest.$ac_ext
12526cat >>conftest.$ac_ext <<_ACEOF
12527/* end confdefs.h. */
12528$ac_includes_default
12529#include <$ac_header>
12530_ACEOF
12531rm -f conftest.$ac_objext
12532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12534 ac_status=$?
12535 grep -v '^ *+' conftest.er1 >conftest.err
12536 rm -f conftest.er1
12537 cat conftest.err >&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try='test -z "$ac_cxx_werror_flag"
12541 || test ! -s conftest.err'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; } &&
12547 { ac_try='test -s conftest.$ac_objext'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12550 ac_status=$?
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; }; then
12553 ac_header_compiler=yes
12554else
12555 echo "$as_me: failed program was:" >&5
12556sed 's/^/| /' conftest.$ac_ext >&5
12557
12558ac_header_compiler=no
12559fi
12560rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12561echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12562echo "${ECHO_T}$ac_header_compiler" >&6
12563
12564# Is the header present?
12565echo "$as_me:$LINENO: checking $ac_header presence" >&5
12566echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12567cat >conftest.$ac_ext <<_ACEOF
12568/* confdefs.h. */
12569_ACEOF
12570cat confdefs.h >>conftest.$ac_ext
12571cat >>conftest.$ac_ext <<_ACEOF
12572/* end confdefs.h. */
12573#include <$ac_header>
12574_ACEOF
12575if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12577 ac_status=$?
12578 grep -v '^ *+' conftest.er1 >conftest.err
12579 rm -f conftest.er1
12580 cat conftest.err >&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } >/dev/null; then
12583 if test -s conftest.err; then
12584 ac_cpp_err=$ac_cxx_preproc_warn_flag
12585 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12586 else
12587 ac_cpp_err=
12588 fi
12589else
12590 ac_cpp_err=yes
12591fi
12592if test -z "$ac_cpp_err"; then
12593 ac_header_preproc=yes
12594else
12595 echo "$as_me: failed program was:" >&5
12596sed 's/^/| /' conftest.$ac_ext >&5
12597
12598 ac_header_preproc=no
12599fi
12600rm -f conftest.err conftest.$ac_ext
12601echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12602echo "${ECHO_T}$ac_header_preproc" >&6
12603
12604# So? What about this header?
12605case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12606 yes:no: )
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12608echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12610echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12611 ac_header_preproc=yes
12612 ;;
12613 no:yes:* )
12614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12615echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12617echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12619echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12621echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12623echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12625echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12626 (
12627 cat <<\_ASBOX
12628## ------------------------------------------ ##
12629## Report this to the AC_PACKAGE_NAME lists. ##
12630## ------------------------------------------ ##
12631_ASBOX
12632 ) |
12633 sed "s/^/$as_me: WARNING: /" >&2
12634 ;;
12635esac
12636echo "$as_me:$LINENO: checking for $ac_header" >&5
12637echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12638if eval "test \"\${$as_ac_Header+set}\" = set"; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12640else
12641 eval "$as_ac_Header=\$ac_header_preproc"
12642fi
12643echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12644echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12645
12646fi
12647if test `eval echo '${'$as_ac_Header'}'` = yes; then
12648 cat >>confdefs.h <<_ACEOF
12649#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12650_ACEOF
12651
11739else 12652else
11740 support_xft=no 12653 support_xft=no
11741fi 12654fi
11742 12655
11743done 12656done
11779 grep -v '^ *+' conftest.er1 >conftest.err 12692 grep -v '^ *+' conftest.er1 >conftest.err
11780 rm -f conftest.er1 12693 rm -f conftest.er1
11781 cat conftest.err >&5 12694 cat conftest.err >&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } && 12696 (exit $ac_status); } &&
11784 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12697 { ac_try='test -z "$ac_cxx_werror_flag"
12698 || test ! -s conftest.err'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5 12700 (eval $ac_try) 2>&5
11787 ac_status=$? 12701 ac_status=$?
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; } && 12703 (exit $ac_status); }; } &&
11862 12776
11863fi 12777fi
11864if test x$support_inheritpixmap = xyes; then 12778if test x$support_inheritpixmap = xyes; then
11865 12779
11866cat >>confdefs.h <<\_ACEOF 12780cat >>confdefs.h <<\_ACEOF
11867#define TRANSPARENT 1 12781#define ENABLE_TRANSPARENCY 1
11868_ACEOF 12782_ACEOF
11869 12783
11870fi 12784fi
11871if test x$support_keepscrolling = xno; then 12785if test x$support_keepscrolling = xno; then
11872 12786
11880cat >>confdefs.h <<\_ACEOF 12794cat >>confdefs.h <<\_ACEOF
11881#define SELECTION_SCROLLING 1 12795#define SELECTION_SCROLLING 1
11882_ACEOF 12796_ACEOF
11883 12797
11884fi 12798fi
11885if test x$support_menubar = xyes; then
11886
11887cat >>confdefs.h <<\_ACEOF
11888#define MENUBAR 1
11889_ACEOF
11890
11891fi
11892if test x$support_frills = xyes; then
11893
11894cat >>confdefs.h <<\_ACEOF
11895#define ENABLE_FRILLS 1
11896_ACEOF
11897
11898fi
11899if test x$support_24bit = xyes; then
11900
11901cat >>confdefs.h <<\_ACEOF
11902#define PREFER_24BIT 1
11903_ACEOF
11904
11905fi
11906if test x$support_mousewheel = xyes; then 12799if test x$support_mousewheel = xyes; then
11907 12800
11908cat >>confdefs.h <<\_ACEOF 12801cat >>confdefs.h <<\_ACEOF
11909#define MOUSE_WHEEL 1 12802#define MOUSE_WHEEL 1
11910_ACEOF 12803_ACEOF
11915cat >>confdefs.h <<\_ACEOF 12808cat >>confdefs.h <<\_ACEOF
11916#define MOUSE_SLIP_WHEELING 1 12809#define MOUSE_SLIP_WHEELING 1
11917_ACEOF 12810_ACEOF
11918 12811
11919fi 12812fi
11920if test x$support_utmp = xyes; then
11921
11922cat >>confdefs.h <<\_ACEOF
11923#define UTMP_SUPPORT 1
11924_ACEOF
11925
11926fi
11927if test x$support_wtmp = xyes; then
11928
11929cat >>confdefs.h <<\_ACEOF
11930#define WTMP_SUPPORT 1
11931_ACEOF
11932
11933fi
11934if test x$support_lastlog = xyes; then
11935
11936cat >>confdefs.h <<\_ACEOF
11937#define LASTLOG_SUPPORT 1
11938_ACEOF
11939
11940fi
11941if test x$support_xim = xyes -o x$multichar_set = xyes; then 12813if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
11942 if test x$rxvt_cv_func_xlocale = xyes; then
11943
11944cat >>confdefs.h <<\_ACEOF
11945#define USE_XIM 1
11946_ACEOF
11947
11948 fi
11949fi
11950if test x$support_xpm = xyes; then
11951 12814
11952cat >>confdefs.h <<\_ACEOF 12815cat >>confdefs.h <<\_ACEOF
11953#define XPM_BACKGROUND 1 12816#define XPM_BACKGROUND 1
11954_ACEOF 12817_ACEOF
11955 12818
11956fi 12819fi
12820
12821if test x$support_afterimage = xyes; then
12822
12823cat >>confdefs.h <<\_ACEOF
12824#define HAVE_AFTERIMAGE 1
12825_ACEOF
12826
12827fi
12828
12829if test x$support_afterstep = xyes; then
12830
12831cat >>confdefs.h <<\_ACEOF
12832#define AFTERSTEP_INTEGRATION 1
12833_ACEOF
12834
12835fi
12836
11957if test x$support_scroll_rxvt = xyes; then 12837if test x$support_scroll_rxvt = xyes; then
11958 12838
11959cat >>confdefs.h <<\_ACEOF 12839cat >>confdefs.h <<\_ACEOF
11960#define RXVT_SCROLLBAR 1 12840#define RXVT_SCROLLBAR 1
11961_ACEOF 12841_ACEOF
12055_ACEOF 12935_ACEOF
12056 ;; 12936 ;;
12057 esac 12937 esac
12058done 12938done
12059 12939
12940IF_PERL=\#
12941if test x$support_perl = xyes; then
12942 # Extract the first word of "perl5", so it can be a program name with args.
12943set dummy perl5; ac_word=$2
12944echo "$as_me:$LINENO: checking for $ac_word" >&5
12945echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12946if test "${ac_cv_path_PERL+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12948else
12949 case $PERL in
12950 [\\/]* | ?:[\\/]*)
12951 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12952 ;;
12953 *)
12954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12955for as_dir in $PATH
12956do
12957 IFS=$as_save_IFS
12958 test -z "$as_dir" && as_dir=.
12959 for ac_exec_ext in '' $ac_executable_extensions; do
12960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12961 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12963 break 2
12964 fi
12965done
12966done
12060 12967
12061CFLAGS=${CFLAGS--O} 12968 ;;
12062LDFLAGS=${LDFLAGS--O} 12969esac
12063
12064CPPFLAGS="$CPPFLAGS"
12065
12066
12067
12068
12069
12070
12071
12072if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
12073 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
12074 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
12075 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
12076 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
12077 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
12078fi 12970fi
12971PERL=$ac_cv_path_PERL
12079 12972
12973if test -n "$PERL"; then
12974 echo "$as_me:$LINENO: result: $PERL" >&5
12975echo "${ECHO_T}$PERL" >&6
12976else
12977 echo "$as_me:$LINENO: result: no" >&5
12978echo "${ECHO_T}no" >&6
12979fi
12080 12980
12981 # Extract the first word of "perl", so it can be a program name with args.
12982set dummy perl; ac_word=$2
12983echo "$as_me:$LINENO: checking for $ac_word" >&5
12984echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12985if test "${ac_cv_path_PERL+set}" = set; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12987else
12988 case $PERL in
12989 [\\/]* | ?:[\\/]*)
12990 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12991 ;;
12992 *)
12993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12994for as_dir in $PATH
12995do
12996 IFS=$as_save_IFS
12997 test -z "$as_dir" && as_dir=.
12998 for ac_exec_ext in '' $ac_executable_extensions; do
12999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13000 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
13001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13002 break 2
13003 fi
13004done
13005done
12081 13006
13007 ;;
13008esac
13009fi
13010PERL=$ac_cv_path_PERL
12082 13011
13012if test -n "$PERL"; then
13013 echo "$as_me:$LINENO: result: $PERL" >&5
13014echo "${ECHO_T}$PERL" >&6
13015else
13016 echo "$as_me:$LINENO: result: no" >&5
13017echo "${ECHO_T}no" >&6
13018fi
12083 13019
12084if test x$support_addstrings = xno; then 13020
13021 echo "$as_me:$LINENO: checking for $PERL suitability" >&5
13022echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6
13023 if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then
13024
13025 save_CXXFLAGS="$CXXFLAGS"
13026 save_LIBS="$LIBS"
13027 CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`"
13028 LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`"
13029 cat >conftest.$ac_ext <<_ACEOF
13030/* confdefs.h. */
13031_ACEOF
13032cat confdefs.h >>conftest.$ac_ext
13033cat >>conftest.$ac_ext <<_ACEOF
13034/* end confdefs.h. */
13035
13036#include <EXTERN.h>
13037#include <perl.h>
13038#include <XSUB.h>
13039
13040int
13041main ()
13042{
13043
13044 PerlInterpreter *perl = perl_alloc ();
13045
13046 ;
13047 return 0;
13048}
13049_ACEOF
13050rm -f conftest.$ac_objext conftest$ac_exeext
13051if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13052 (eval $ac_link) 2>conftest.er1
13053 ac_status=$?
13054 grep -v '^ *+' conftest.er1 >conftest.err
13055 rm -f conftest.er1
13056 cat conftest.err >&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } &&
13059 { ac_try='test -z "$ac_cxx_werror_flag"
13060 || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try='test -s conftest$ac_exeext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13069 ac_status=$?
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 rxvt_perl_link=yes
13073else
13074 echo "$as_me: failed program was:" >&5
13075sed 's/^/| /' conftest.$ac_ext >&5
13076
13077rxvt_perl_link=no
13078fi
13079rm -f conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13081 CXXFLAGS="$save_CXXFLAGS"
13082 LIBS="$save_LIBS"
13083
13084 if test x$rxvt_perl_link = xyes; then
13085 echo "$as_me:$LINENO: result: ok" >&5
13086echo "${ECHO_T}ok" >&6
12085 13087
12086cat >>confdefs.h <<\_ACEOF 13088cat >>confdefs.h <<\_ACEOF
12087#define NO_STRINGS 1 13089#define ENABLE_PERL 1
12088_ACEOF 13090_ACEOF
12089 13091
13092 IF_PERL=
13093 PERL_O=rxvtperl.o
13094 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`"
13095 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
13096 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
13097 else
13098 { { echo "$as_me:$LINENO: error: no, unable to link" >&5
13099echo "$as_me: error: no, unable to link" >&2;}
13100 { (exit 1); exit 1; }; }
13101 fi
13102 else
13103 { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5
13104echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;}
13105 { (exit 1); exit 1; }; }
13106 fi
12090fi 13107fi
12091 13108
12092MCOMMON=./autoconf/Make.common 13109
13110
13111
13112
13113
13114
13115if test x$support_perl = xyes; then
13116 support_frills=yes
13117fi
13118
13119if test x$support_frills = xyes; then
13120
13121cat >>confdefs.h <<\_ACEOF
13122#define ENABLE_FRILLS 1
13123_ACEOF
13124
13125fi
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
12093 13137
12094 13138
12095test "$program_prefix" != NONE && 13139test "$program_prefix" != NONE &&
12096 program_transform_name="s,^,$program_prefix,;$program_transform_name" 13140 program_transform_name="s,^,$program_prefix,;$program_transform_name"
12097# Use a double $ so make ignores it. 13141# Use a double $ so make ignores it.
12173 include_time_h="#include <time.h>" 13217 include_time_h="#include <time.h>"
12174else 13218else
12175 include_time_h="/* #include <time.h> */" 13219 include_time_h="/* #include <time.h> */"
12176fi 13220fi
12177 13221
12178 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" 13222 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h"
12179 13223
12180cat >confcache <<\_ACEOF 13224cat >confcache <<\_ACEOF
12181# This file is a shell script that caches the results of configure 13225# This file is a shell script that caches the results of configure
12182# tests run on this system so they can be shared between configure 13226# tests run on this system so they can be shared between configure
12183# scripts and configure runs, see configure's option --config-cache. 13227# scripts and configure runs, see configure's option --config-cache.
12700cat >>$CONFIG_STATUS <<\_ACEOF 13744cat >>$CONFIG_STATUS <<\_ACEOF
12701for ac_config_target in $ac_config_targets 13745for ac_config_target in $ac_config_targets
12702do 13746do
12703 case "$ac_config_target" in 13747 case "$ac_config_target" in
12704 # Handling of arguments. 13748 # Handling of arguments.
12705 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
12706 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13749 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12707 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13750 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12708 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13751 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12709 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 13752 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
12710 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 13753 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
12711 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13754 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12712echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13755echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12713 { (exit 1); exit 1; }; };; 13756 { (exit 1); exit 1; }; };;
12714 esac 13757 esac
12715done 13758done
12816s,@ac_ct_CXX@,$ac_ct_CXX,;t t 13859s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12817s,@CPP@,$CPP,;t t 13860s,@CPP@,$CPP,;t t
12818s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 13861s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12819s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 13862s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12820s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13863s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12821s,@AWK@,$AWK,;t t 13864s,@EGREP@,$EGREP,;t t
12822s,@LINKER@,$LINKER,;t t 13865s,@LINKER@,$LINKER,;t t
12823s,@CXXCPP@,$CXXCPP,;t t
12824s,@EGREP@,$EGREP,;t t
12825s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13866s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
12826s,@RXVTNAME@,$RXVTNAME,;t t 13867s,@RXVTNAME@,$RXVTNAME,;t t
12827s,@MV@,$MV,;t t
12828s,@RM@,$RM,;t t
12829s,@CP@,$CP,;t t
12830s,@LN@,$LN,;t t
12831s,@SED@,$SED,;t t
12832s,@ECHO@,$ECHO,;t t
12833s,@CMP@,$CMP,;t t
12834s,@TBL@,$TBL,;t t
12835s,@TIC@,$TIC,;t t 13868s,@TIC@,$TIC,;t t
13869s,@CXXCPP@,$CXXCPP,;t t
12836s,@X_CFLAGS@,$X_CFLAGS,;t t 13870s,@X_CFLAGS@,$X_CFLAGS,;t t
12837s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 13871s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
12838s,@X_LIBS@,$X_LIBS,;t t 13872s,@X_LIBS@,$X_LIBS,;t t
12839s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 13873s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13874s,@afterimage_config@,$afterimage_config,;t t
12840s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 13875s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
12841s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t 13876s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
12842s,@XPM_LIBS@,$XPM_LIBS,;t t 13877s,@XPM_LIBS@,$XPM_LIBS,;t t
12843s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t 13878s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t
12844s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 13879s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
12845s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 13880s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
12846s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 13881s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
12847s,@rxvt_intp_define@,$rxvt_intp_define,;t t 13882s,@rxvt_intp_define@,$rxvt_intp_define,;t t
12848s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 13883s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
12849s,@DEBUG@,$DEBUG,;t t 13884s,@PKG_CONFIG@,$PKG_CONFIG,;t t
12850s,@DINCLUDE@,$DINCLUDE,;t t 13885s,@XFT_CONFIG@,$XFT_CONFIG,;t t
13886s,@PERL@,$PERL,;t t
12851s,@DLIB@,$DLIB,;t t 13887s,@PERLLIB@,$PERLLIB,;t t
13888s,@PERLFLAGS@,$PERLFLAGS,;t t
13889s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
13890s,@IF_PERL@,$IF_PERL,;t t
13891s,@PERL_O@,$PERL_O,;t t
13892s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t
13893s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t
12852s,@include_stdint_h@,$include_stdint_h,;t t 13894s,@include_stdint_h@,$include_stdint_h,;t t
12853s,@include_stdarg_h@,$include_stdarg_h,;t t 13895s,@include_stdarg_h@,$include_stdarg_h,;t t
12854s,@include_stdlib_h@,$include_stdlib_h,;t t 13896s,@include_stdlib_h@,$include_stdlib_h,;t t
12855s,@include_unistd_h@,$include_unistd_h,;t t 13897s,@include_unistd_h@,$include_unistd_h,;t t
12856s,@include_string_h@,$include_string_h,;t t 13898s,@include_string_h@,$include_string_h,;t t
12862s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t 13904s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t
12863s,@include_sys_time_h@,$include_sys_time_h,;t t 13905s,@include_sys_time_h@,$include_sys_time_h,;t t
12864s,@include_time_h@,$include_time_h,;t t 13906s,@include_time_h@,$include_time_h,;t t
12865s,@LIBOBJS@,$LIBOBJS,;t t 13907s,@LIBOBJS@,$LIBOBJS,;t t
12866s,@LTLIBOBJS@,$LTLIBOBJS,;t t 13908s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12867/@MCOMMON@/r $MCOMMON
12868s,@MCOMMON@,,;t t
12869CEOF 13909CEOF
12870 13910
12871_ACEOF 13911_ACEOF
12872 13912
12873 cat >>$CONFIG_STATUS <<\_ACEOF 13913 cat >>$CONFIG_STATUS <<\_ACEOF
13030 case $INSTALL in 14070 case $INSTALL in
13031 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14071 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13032 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 14072 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13033 esac 14073 esac
13034 14074
14075 if test x"$ac_file" != x-; then
14076 { echo "$as_me:$LINENO: creating $ac_file" >&5
14077echo "$as_me: creating $ac_file" >&6;}
14078 rm -f "$ac_file"
14079 fi
13035 # Let's still pretend it is `configure' which instantiates (i.e., don't 14080 # Let's still pretend it is `configure' which instantiates (i.e., don't
13036 # use $as_me), people would be surprised to read: 14081 # use $as_me), people would be surprised to read:
13037 # /* config.h. Generated by config.status. */ 14082 # /* config.h. Generated by config.status. */
13038 if test x"$ac_file" = x-; then 14083 if test x"$ac_file" = x-; then
13039 configure_input= 14084 configure_input=
13068echo "$as_me: error: cannot find input file: $f" >&2;} 14113echo "$as_me: error: cannot find input file: $f" >&2;}
13069 { (exit 1); exit 1; }; } 14114 { (exit 1); exit 1; }; }
13070 fi;; 14115 fi;;
13071 esac 14116 esac
13072 done` || { (exit 1); exit 1; } 14117 done` || { (exit 1); exit 1; }
13073
13074 if test x"$ac_file" != x-; then
13075 { echo "$as_me:$LINENO: creating $ac_file" >&5
13076echo "$as_me: creating $ac_file" >&6;}
13077 rm -f "$ac_file"
13078 fi
13079_ACEOF 14118_ACEOF
13080cat >>$CONFIG_STATUS <<_ACEOF 14119cat >>$CONFIG_STATUS <<_ACEOF
13081 sed "$ac_vpsub 14120 sed "$ac_vpsub
13082$extrasub 14121$extrasub
13083_ACEOF 14122_ACEOF
13363 14402
13364 Rxvt version: $VERSION : $DATE 14403 Rxvt version: $VERSION : $DATE
13365 Source code location: $srcdir 14404 Source code location: $srcdir
13366 Install path: ${prefix}/bin 14405 Install path: ${prefix}/bin
13367 Compiler: $CXX 14406 Compiler: $CXX
13368 Compiler flags: $CFLAGS 14407 Compiler flags: $CXXFLAGS
13369 Linker: $LINKER" 14408 Linker: $LINKER"
13370
13371if test "$MALLOC_TYPE" = S; then
13372 echo " malloc support: system default"
13373fi
13374if test "$MALLOC_TYPE" = G; then
13375 echo " malloc support: Gray Watson's dmalloc"
13376fi
13377if test "$MALLOC_TYPE" = D; then
13378 echo " malloc support: Doug Lea's malloc"
13379fi
13380 14409
13381if test x$support_xpm = xyes; then 14410if test x$support_xpm = xyes; then
13382 echo " Xpm library: $XPM_LIBS" 14411 echo " Xpm library: $XPM_LIBS"
13383fi 14412fi
13384 14413
13385echo " 14414if test x$support_afterimage = xyes; then
13386The following are set in config.h 14415 echo " AfterImage support: yes"
13387" 14416fi
13388echo " pty/tty type: "$rxvt_cv_ptys 14417
13389if test x$support_utmp != xyes; then 14418if test x$support_afterstep = xyes; then
13390 echo " utmp support: disabled" 14419 echo " AfterStep integration: yes"
13391 echo
13392else
13393 echo " utmp support: enabled
13394 utmp file: $rxvt_cv_path_utmp
13395 utmpx file: $rxvt_cv_path_utmpx
13396 wtmp file: $rxvt_cv_path_wtmp
13397 wtmpx file: $rxvt_cv_path_wtmpx
13398 lastlog file: $rxvt_cv_path_lastlog
13399 ttys/ttytab file: $rxvt_cv_path_ttytab"
13400 echo
13401fi 14420fi
14421
13402if test x$term != x; then 14422if test x$term != x; then
13403 echo " set TERM to: $term" 14423 echo " set TERM to: $term"
13404fi 14424fi
13405if test x$terminfo != x; then 14425if test x$terminfo != x; then
13406 echo " set TERMINFO to: $terminfo" 14426 echo " set TERMINFO to: $terminfo"
13409echo " resource class: $RESCLASS" 14429echo " resource class: $RESCLASS"
13410if test x$RESFALLBACK != x; then 14430if test x$RESFALLBACK != x; then
13411 echo " resource class fallback: $RESFALLBACK" 14431 echo " resource class fallback: $RESFALLBACK"
13412fi 14432fi
13413echo 14433echo
13414if test x$rxvt_cv_ptys = xUNKNOWN; then 14434echo " embedded perl: $support_perl"
13415 echo ".----------------------------------------------------------------." 14435echo
13416 echo ". WARNING: could not determine pty/tty type. Do not build until ."
13417 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
13418 echo ".----------------------------------------------------------------."
13419fi
13420if test x$support_xpm = xneedsmanualspecification; then 14436if test x$support_xpm = xneedsmanualspecification; then
13421 echo ".----------------------------------------------------------------." 14437 echo ".----------------------------------------------------------------."
13422 echo ". WARNING: --enable-xpm-background was specified however the ." 14438 echo ". WARNING: --enable-xpm-background was specified however the ."
13423 echo ". XPM includes files and libraries could not be found. ." 14439 echo ". XPM includes files and libraries could not be found. ."
13424 echo ". XPM backgrounds are now being DISABLED! If you want ." 14440 echo ". XPM backgrounds are now being DISABLED! If you want ."
13433 echo ". functions could not be found. ." 14449 echo ". functions could not be found. ."
13434 echo ". XIM is now being DISABLED! ." 14450 echo ". XIM is now being DISABLED! ."
13435 echo ".----------------------------------------------------------------." 14451 echo ".----------------------------------------------------------------."
13436fi 14452fi
13437 14453
13438echo " *** Optionally check src/feature.h for further options ***" 14454echo "*** Optionally check src/feature.h for further, rarely used options ***"
13439echo 14455echo
13440 14456
13441echo ".----------------------------------------------------------------."
13442echo ". NOTE: some features are disabled by default, try ."
13443echo ". configure --help to get an idea of the optional features, ."
13444echo ". or read ./README.configure ."
13445echo ". ."
13446echo ". The script ./reconf gives a reasonable baseline, try it if ."
13447echo ". you do not want to read documentation and still want some ."
13448echo ". useful features. ."
13449echo ".----------------------------------------------------------------."
13450echo
13451

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines