… | |
… | |
307 | #endif |
307 | #endif |
308 | #if HAVE_UNISTD_H |
308 | #if HAVE_UNISTD_H |
309 | # include <unistd.h> |
309 | # include <unistd.h> |
310 | #endif" |
310 | #endif" |
311 | |
311 | |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER CXXLIB 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' |
313 | ac_subst_files='MCOMMON' |
313 | ac_subst_files='' |
314 | |
314 | |
315 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
316 | ac_init_help= |
316 | ac_init_help= |
317 | ac_init_version=false |
317 | ac_init_version=false |
318 | # The variables have the same names as the options, with |
318 | # The variables have the same names as the options, with |
… | |
… | |
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 | |
912 | Optional Packages: |
906 | Optional 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 |
1031 | fi |
1026 | fi |
1032 | |
1027 | |
1033 | test -n "$ac_init_help" && exit 0 |
1028 | test -n "$ac_init_help" && exit 0 |
1034 | if $ac_init_version; then |
1029 | if $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 | |
1377 | ac_aux_dir= |
1376 | ac_aux_dir= |
1378 | for ac_dir in autoconf $srcdir/autoconf; do |
1377 | for 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 |
1392 | done |
1391 | done |
1393 | if test -z "$ac_aux_dir"; then |
1392 | if 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 |
1395 | echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} |
1394 | echo "$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; }; } |
1397 | fi |
1396 | fi |
1398 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1397 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1399 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1398 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1400 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1399 | ac_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 |
1408 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1404 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1460 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1456 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1461 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1457 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1462 | echo "" |
1458 | echo "" |
1463 | echo "configuring for rxvt $VERSION" |
1459 | echo "configuring for rxvt $VERSION" |
1464 | echo "" |
1460 | echo "" |
|
|
1461 | |
|
|
1462 | orig_CXXFLAGS="$CXXFLAGS" |
1465 | |
1463 | |
1466 | |
1464 | |
1467 | ac_ext=c |
1465 | ac_ext=c |
1468 | ac_cpp='$CPP $CPPFLAGS' |
1466 | ac_cpp='$CPP $CPPFLAGS' |
1469 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1467 | ac_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 | |
3051 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3059 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3052 | |
3060 | |
3053 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3061 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3054 | |
3062 | |
3055 | for ac_prog in gawk mawk nawk awk |
|
|
3056 | do |
|
|
3057 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3058 | set dummy $ac_prog; ac_word=$2 |
|
|
3059 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
3060 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
3061 | if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
3062 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3063 | else |
|
|
3064 | if test -n "$AWK"; then |
|
|
3065 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3066 | else |
|
|
3067 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3068 | for as_dir in $PATH |
|
|
3069 | do |
|
|
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 |
|
|
3078 | done |
|
|
3079 | done |
|
|
3080 | |
3063 | |
3081 | fi |
|
|
3082 | fi |
|
|
3083 | AWK=$ac_cv_prog_AWK |
|
|
3084 | if test -n "$AWK"; then |
|
|
3085 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3086 | echo "${ECHO_T}$AWK" >&6 |
|
|
3087 | else |
|
|
3088 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3089 | echo "${ECHO_T}no" >&6 |
|
|
3090 | fi |
|
|
3091 | |
|
|
3092 | test -n "$AWK" && break |
|
|
3093 | done |
|
|
3094 | |
|
|
3095 | |
|
|
3096 | ac_ext=c |
|
|
3097 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3098 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3099 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3100 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3101 | |
|
|
3102 | |
|
|
3103 | if 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" |
|
|
3109 | fi |
|
|
3110 | |
|
|
3111 | LINKER="$CXX" |
|
|
3112 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3113 | |
|
|
3114 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
|
|
3115 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
|
|
3116 | if test "${ac_cv_lib_supcpp_main+set}" = set; then |
|
|
3117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3118 | else |
|
|
3119 | ac_check_lib_save_LIBS=$LIBS |
|
|
3120 | LIBS="-lsupc++ $LIBS" |
|
|
3121 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3122 | /* confdefs.h. */ |
|
|
3123 | _ACEOF |
|
|
3124 | cat confdefs.h >>conftest.$ac_ext |
|
|
3125 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3126 | /* end confdefs.h. */ |
|
|
3127 | |
|
|
3128 | |
|
|
3129 | int |
|
|
3130 | main () |
|
|
3131 | { |
|
|
3132 | main (); |
|
|
3133 | ; |
|
|
3134 | return 0; |
|
|
3135 | } |
|
|
3136 | _ACEOF |
|
|
3137 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3138 | if { (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 |
|
|
3159 | else |
|
|
3160 | echo "$as_me: failed program was:" >&5 |
|
|
3161 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3162 | |
|
|
3163 | ac_cv_lib_supcpp_main=no |
|
|
3164 | fi |
|
|
3165 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3166 | conftest$ac_exeext conftest.$ac_ext |
|
|
3167 | LIBS=$ac_check_lib_save_LIBS |
|
|
3168 | fi |
|
|
3169 | echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5 |
|
|
3170 | echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6 |
|
|
3171 | if test $ac_cv_lib_supcpp_main = yes; then |
|
|
3172 | |
|
|
3173 | LINKER="$CC" |
|
|
3174 | LIBS="$LIBS -lsupc++" |
|
|
3175 | |
|
|
3176 | fi |
|
|
3177 | |
|
|
3178 | fi |
|
|
3179 | LINKER=$LINKER |
|
|
3180 | |
|
|
3181 | |
|
|
3182 | |
|
|
3183 | cat >>confdefs.h <<\_ACEOF |
|
|
3184 | #define _GNU_SOURCE 1 |
|
|
3185 | _ACEOF |
|
|
3186 | |
|
|
3187 | |
|
|
3188 | case $host in |
|
|
3189 | *-*-solaris* ) |
|
|
3190 | |
|
|
3191 | cat >>confdefs.h <<\_ACEOF |
|
|
3192 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3193 | _ACEOF |
|
|
3194 | |
|
|
3195 | |
|
|
3196 | cat >>confdefs.h <<\_ACEOF |
|
|
3197 | #define _XOPEN_SOURCE 2 |
|
|
3198 | _ACEOF |
|
|
3199 | |
|
|
3200 | |
|
|
3201 | cat >>confdefs.h <<\_ACEOF |
|
|
3202 | #define __EXTENSIONS__ 1 |
|
|
3203 | _ACEOF |
|
|
3204 | |
|
|
3205 | ;; |
|
|
3206 | esac |
|
|
3207 | |
|
|
3208 | |
|
|
3209 | ac_ext=cc |
|
|
3210 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3211 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3212 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3213 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3214 | |
|
|
3215 | |
|
|
3216 | |
|
|
3217 | ac_ext=cc |
|
|
3218 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3219 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3220 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3221 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3222 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
3223 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
3224 | if test -z "$CXXCPP"; then |
|
|
3225 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
3226 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3227 | else |
|
|
3228 | # Double quotes because CXXCPP needs to be expanded |
|
|
3229 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
3230 | do |
|
|
3231 | ac_preproc_ok=false |
|
|
3232 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3233 | do |
|
|
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 |
|
|
3243 | cat confdefs.h >>conftest.$ac_ext |
|
|
3244 | cat >>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 |
|
|
3253 | if { (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 |
|
|
3267 | else |
|
|
3268 | ac_cpp_err=yes |
|
|
3269 | fi |
|
|
3270 | if test -z "$ac_cpp_err"; then |
|
|
3271 | : |
|
|
3272 | else |
|
|
3273 | echo "$as_me: failed program was:" >&5 |
|
|
3274 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3275 | |
|
|
3276 | # Broken: fails on valid input. |
|
|
3277 | continue |
|
|
3278 | fi |
|
|
3279 | rm -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 |
|
|
3286 | cat confdefs.h >>conftest.$ac_ext |
|
|
3287 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3288 | /* end confdefs.h. */ |
|
|
3289 | #include <ac_nonexistent.h> |
|
|
3290 | _ACEOF |
|
|
3291 | if { (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 |
|
|
3305 | else |
|
|
3306 | ac_cpp_err=yes |
|
|
3307 | fi |
|
|
3308 | if test -z "$ac_cpp_err"; then |
|
|
3309 | # Broken: success on invalid input. |
|
|
3310 | continue |
|
|
3311 | else |
|
|
3312 | echo "$as_me: failed program was:" >&5 |
|
|
3313 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3314 | |
|
|
3315 | # Passes both tests. |
|
|
3316 | ac_preproc_ok=: |
|
|
3317 | break |
|
|
3318 | fi |
|
|
3319 | rm -f conftest.err conftest.$ac_ext |
|
|
3320 | |
|
|
3321 | done |
|
|
3322 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3323 | rm -f conftest.err conftest.$ac_ext |
|
|
3324 | if $ac_preproc_ok; then |
|
|
3325 | break |
|
|
3326 | fi |
|
|
3327 | |
|
|
3328 | done |
|
|
3329 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3330 | |
|
|
3331 | fi |
|
|
3332 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
3333 | else |
|
|
3334 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3335 | fi |
|
|
3336 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
3337 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
3338 | ac_preproc_ok=false |
|
|
3339 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3340 | do |
|
|
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 |
|
|
3350 | cat confdefs.h >>conftest.$ac_ext |
|
|
3351 | cat >>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 |
|
|
3360 | if { (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 |
|
|
3374 | else |
|
|
3375 | ac_cpp_err=yes |
|
|
3376 | fi |
|
|
3377 | if test -z "$ac_cpp_err"; then |
|
|
3378 | : |
|
|
3379 | else |
|
|
3380 | echo "$as_me: failed program was:" >&5 |
|
|
3381 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3382 | |
|
|
3383 | # Broken: fails on valid input. |
|
|
3384 | continue |
|
|
3385 | fi |
|
|
3386 | rm -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 |
|
|
3393 | cat confdefs.h >>conftest.$ac_ext |
|
|
3394 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3395 | /* end confdefs.h. */ |
|
|
3396 | #include <ac_nonexistent.h> |
|
|
3397 | _ACEOF |
|
|
3398 | if { (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 |
|
|
3412 | else |
|
|
3413 | ac_cpp_err=yes |
|
|
3414 | fi |
|
|
3415 | if test -z "$ac_cpp_err"; then |
|
|
3416 | # Broken: success on invalid input. |
|
|
3417 | continue |
|
|
3418 | else |
|
|
3419 | echo "$as_me: failed program was:" >&5 |
|
|
3420 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3421 | |
|
|
3422 | # Passes both tests. |
|
|
3423 | ac_preproc_ok=: |
|
|
3424 | break |
|
|
3425 | fi |
|
|
3426 | rm -f conftest.err conftest.$ac_ext |
|
|
3427 | |
|
|
3428 | done |
|
|
3429 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3430 | rm -f conftest.err conftest.$ac_ext |
|
|
3431 | if $ac_preproc_ok; then |
|
|
3432 | : |
|
|
3433 | else |
|
|
3434 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3435 | See \`config.log' for more details." >&5 |
|
|
3436 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3437 | See \`config.log' for more details." >&2;} |
|
|
3438 | { (exit 1); exit 1; }; } |
|
|
3439 | fi |
|
|
3440 | |
|
|
3441 | ac_ext=cc |
|
|
3442 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3443 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3444 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3445 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3446 | |
3064 | |
3447 | |
3065 | |
3448 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3066 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3449 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3067 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3450 | if test "${ac_cv_prog_egrep+set}" = set; then |
3068 | if 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); }; } && |
… | |
… | |
3610 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3230 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3611 | if test "$ac_cv_search_strerror" != no; then |
3231 | if 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 | |
3614 | fi |
3234 | fi |
|
|
3235 | |
|
|
3236 | ac_ext=cc |
|
|
3237 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3238 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3239 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3240 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3241 | |
|
|
3242 | |
|
|
3243 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3244 | echo "$as_me:$LINENO: checking for working libsupc++" >&5 |
|
|
3245 | echo $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 | |
|
|
3252 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3253 | /* confdefs.h. */ |
|
|
3254 | _ACEOF |
|
|
3255 | cat confdefs.h >>conftest.$ac_ext |
|
|
3256 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3257 | /* end confdefs.h. */ |
|
|
3258 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
|
|
3259 | int |
|
|
3260 | main () |
|
|
3261 | { |
|
|
3262 | |
|
|
3263 | ; |
|
|
3264 | return 0; |
|
|
3265 | } |
|
|
3266 | _ACEOF |
|
|
3267 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3268 | if { (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 | |
|
|
3290 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
3291 | echo "${ECHO_T}ok" >&6 |
|
|
3292 | CXXLIB="-lsupc++" |
|
|
3293 | |
|
|
3294 | else |
|
|
3295 | echo "$as_me: failed program was:" >&5 |
|
|
3296 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3297 | |
|
|
3298 | |
|
|
3299 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3300 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3301 | LIBS="$save_LIBS" |
|
|
3302 | LINKER="$save_CXX" |
|
|
3303 | |
|
|
3304 | |
|
|
3305 | fi |
|
|
3306 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3307 | conftest$ac_exeext conftest.$ac_ext |
|
|
3308 | CXX="$save_CXX" |
|
|
3309 | fi |
|
|
3310 | LINKER=$LINKER |
|
|
3311 | |
|
|
3312 | |
|
|
3313 | |
|
|
3314 | if test -z "$orig_CXXFLAGS"; then |
|
|
3315 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3316 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
|
|
3317 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3318 | /* confdefs.h. */ |
|
|
3319 | _ACEOF |
|
|
3320 | cat confdefs.h >>conftest.$ac_ext |
|
|
3321 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3322 | /* end confdefs.h. */ |
|
|
3323 | |
|
|
3324 | int |
|
|
3325 | main () |
|
|
3326 | { |
|
|
3327 | |
|
|
3328 | ; |
|
|
3329 | return 0; |
|
|
3330 | } |
|
|
3331 | _ACEOF |
|
|
3332 | rm -f conftest.$ac_objext |
|
|
3333 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
3334 | (eval $ac_compile) 2>conftest.er1 |
|
|
3335 | ac_status=$? |
|
|
3336 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3337 | rm -f conftest.er1 |
|
|
3338 | cat conftest.err >&5 |
|
|
3339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3340 | (exit $ac_status); } && |
|
|
3341 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3342 | || test ! -s conftest.err' |
|
|
3343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3344 | (eval $ac_try) 2>&5 |
|
|
3345 | ac_status=$? |
|
|
3346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3347 | (exit $ac_status); }; } && |
|
|
3348 | { ac_try='test -s conftest.$ac_objext' |
|
|
3349 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3350 | (eval $ac_try) 2>&5 |
|
|
3351 | ac_status=$? |
|
|
3352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3353 | (exit $ac_status); }; }; then |
|
|
3354 | : |
|
|
3355 | else |
|
|
3356 | echo "$as_me: failed program was:" >&5 |
|
|
3357 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3358 | |
|
|
3359 | CXXFLAGS="-g -O3" |
|
|
3360 | fi |
|
|
3361 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3362 | else |
|
|
3363 | CXXFLAGS="-O" |
|
|
3364 | fi |
|
|
3365 | CFLAGS="$CXXFLAGS" |
|
|
3366 | fi |
|
|
3367 | |
|
|
3368 | |
|
|
3369 | cat >>confdefs.h <<\_ACEOF |
|
|
3370 | #define _GNU_SOURCE 1 |
|
|
3371 | _ACEOF |
|
|
3372 | |
|
|
3373 | |
|
|
3374 | case $host in |
|
|
3375 | *-*-solaris* ) |
|
|
3376 | |
|
|
3377 | cat >>confdefs.h <<\_ACEOF |
|
|
3378 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3379 | _ACEOF |
|
|
3380 | |
|
|
3381 | |
|
|
3382 | cat >>confdefs.h <<\_ACEOF |
|
|
3383 | #define _XOPEN_SOURCE 2 |
|
|
3384 | _ACEOF |
|
|
3385 | |
|
|
3386 | |
|
|
3387 | cat >>confdefs.h <<\_ACEOF |
|
|
3388 | #define __EXTENSIONS__ 1 |
|
|
3389 | _ACEOF |
|
|
3390 | |
|
|
3391 | ;; |
|
|
3392 | esac |
3615 | |
3393 | |
3616 | |
3394 | |
3617 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
3395 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
3618 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
3396 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
3619 | if test "${ac_cv_func_setlocale+set}" = set; then |
3397 | if test "${ac_cv_func_setlocale+set}" = set; then |
… | |
… | |
3677 | grep -v '^ *+' conftest.er1 >conftest.err |
3455 | grep -v '^ *+' conftest.er1 >conftest.err |
3678 | rm -f conftest.er1 |
3456 | rm -f conftest.er1 |
3679 | cat conftest.err >&5 |
3457 | cat conftest.err >&5 |
3680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3681 | (exit $ac_status); } && |
3459 | (exit $ac_status); } && |
3682 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3460 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3461 | || test ! -s conftest.err' |
3683 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3684 | (eval $ac_try) 2>&5 |
3463 | (eval $ac_try) 2>&5 |
3685 | ac_status=$? |
3464 | ac_status=$? |
3686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3687 | (exit $ac_status); }; } && |
3466 | (exit $ac_status); }; } && |
… | |
… | |
3742 | grep -v '^ *+' conftest.er1 >conftest.err |
3521 | grep -v '^ *+' conftest.er1 >conftest.err |
3743 | rm -f conftest.er1 |
3522 | rm -f conftest.er1 |
3744 | cat conftest.err >&5 |
3523 | cat conftest.err >&5 |
3745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3746 | (exit $ac_status); } && |
3525 | (exit $ac_status); } && |
3747 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3526 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3527 | || test ! -s conftest.err' |
3748 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3528 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3749 | (eval $ac_try) 2>&5 |
3529 | (eval $ac_try) 2>&5 |
3750 | ac_status=$? |
3530 | ac_status=$? |
3751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3752 | (exit $ac_status); }; } && |
3532 | (exit $ac_status); }; } && |
… | |
… | |
3839 | grep -v '^ *+' conftest.er1 >conftest.err |
3619 | grep -v '^ *+' conftest.er1 >conftest.err |
3840 | rm -f conftest.er1 |
3620 | rm -f conftest.er1 |
3841 | cat conftest.err >&5 |
3621 | cat conftest.err >&5 |
3842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3843 | (exit $ac_status); } && |
3623 | (exit $ac_status); } && |
3844 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3624 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3625 | || test ! -s conftest.err' |
3845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3626 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3846 | (eval $ac_try) 2>&5 |
3627 | (eval $ac_try) 2>&5 |
3847 | ac_status=$? |
3628 | ac_status=$? |
3848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3849 | (exit $ac_status); }; } && |
3630 | (exit $ac_status); }; } && |
… | |
… | |
3904 | grep -v '^ *+' conftest.er1 >conftest.err |
3685 | grep -v '^ *+' conftest.er1 >conftest.err |
3905 | rm -f conftest.er1 |
3686 | rm -f conftest.er1 |
3906 | cat conftest.err >&5 |
3687 | cat conftest.err >&5 |
3907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3908 | (exit $ac_status); } && |
3689 | (exit $ac_status); } && |
3909 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3690 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3691 | || test ! -s conftest.err' |
3910 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3692 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3911 | (eval $ac_try) 2>&5 |
3693 | (eval $ac_try) 2>&5 |
3912 | ac_status=$? |
3694 | ac_status=$? |
3913 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3914 | (exit $ac_status); }; } && |
3696 | (exit $ac_status); }; } && |
… | |
… | |
4000 | grep -v '^ *+' conftest.er1 >conftest.err |
3782 | grep -v '^ *+' conftest.er1 >conftest.err |
4001 | rm -f conftest.er1 |
3783 | rm -f conftest.er1 |
4002 | cat conftest.err >&5 |
3784 | cat conftest.err >&5 |
4003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4004 | (exit $ac_status); } && |
3786 | (exit $ac_status); } && |
4005 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3787 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3788 | || test ! -s conftest.err' |
4006 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4007 | (eval $ac_try) 2>&5 |
3790 | (eval $ac_try) 2>&5 |
4008 | ac_status=$? |
3791 | ac_status=$? |
4009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4010 | (exit $ac_status); }; } && |
3793 | (exit $ac_status); }; } && |
… | |
… | |
4065 | grep -v '^ *+' conftest.er1 >conftest.err |
3848 | grep -v '^ *+' conftest.er1 >conftest.err |
4066 | rm -f conftest.er1 |
3849 | rm -f conftest.er1 |
4067 | cat conftest.err >&5 |
3850 | cat conftest.err >&5 |
4068 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4069 | (exit $ac_status); } && |
3852 | (exit $ac_status); } && |
4070 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3853 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3854 | || test ! -s conftest.err' |
4071 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4072 | (eval $ac_try) 2>&5 |
3856 | (eval $ac_try) 2>&5 |
4073 | ac_status=$? |
3857 | ac_status=$? |
4074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4075 | (exit $ac_status); }; } && |
3859 | (exit $ac_status); }; } && |
… | |
… | |
4097 | fi |
3881 | fi |
4098 | |
3882 | |
4099 | fi |
3883 | fi |
4100 | |
3884 | |
4101 | |
3885 | |
4102 | echo "$as_me:$LINENO: checking for sched_yield" >&5 |
|
|
4103 | echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6 |
|
|
4104 | if test "${ac_cv_func_sched_yield+set}" = set; then |
|
|
4105 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4106 | else |
|
|
4107 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4108 | /* confdefs.h. */ |
|
|
4109 | _ACEOF |
|
|
4110 | cat confdefs.h >>conftest.$ac_ext |
|
|
4111 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4112 | /* end confdefs.h. */ |
|
|
4113 | /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield. |
|
|
4114 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
4115 | #define sched_yield innocuous_sched_yield |
|
|
4116 | |
3886 | |
4117 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
4118 | which can conflict with char sched_yield (); below. |
|
|
4119 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4120 | <limits.h> exists even on freestanding compilers. */ |
|
|
4121 | |
|
|
4122 | #ifdef __STDC__ |
|
|
4123 | # include <limits.h> |
|
|
4124 | #else |
|
|
4125 | # include <assert.h> |
|
|
4126 | #endif |
|
|
4127 | |
|
|
4128 | #undef sched_yield |
|
|
4129 | |
|
|
4130 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
4131 | #ifdef __cplusplus |
|
|
4132 | extern "C" |
|
|
4133 | { |
|
|
4134 | #endif |
|
|
4135 | /* We use char because int might match the return type of a gcc2 |
|
|
4136 | builtin and then its argument prototype would still apply. */ |
|
|
4137 | char sched_yield (); |
|
|
4138 | /* The GNU C library defines this for functions which it implements |
|
|
4139 | to always fail with ENOSYS. Some functions are actually named |
|
|
4140 | something starting with __ and the normal name is an alias. */ |
|
|
4141 | #if defined (__stub_sched_yield) || defined (__stub___sched_yield) |
|
|
4142 | choke me |
|
|
4143 | #else |
|
|
4144 | char (*f) () = sched_yield; |
|
|
4145 | #endif |
|
|
4146 | #ifdef __cplusplus |
|
|
4147 | } |
|
|
4148 | #endif |
|
|
4149 | |
|
|
4150 | int |
|
|
4151 | main () |
|
|
4152 | { |
|
|
4153 | return f != sched_yield; |
|
|
4154 | ; |
|
|
4155 | return 0; |
|
|
4156 | } |
|
|
4157 | _ACEOF |
|
|
4158 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4159 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4160 | (eval $ac_link) 2>conftest.er1 |
|
|
4161 | ac_status=$? |
|
|
4162 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4163 | rm -f conftest.er1 |
|
|
4164 | cat conftest.err >&5 |
|
|
4165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4166 | (exit $ac_status); } && |
|
|
4167 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4168 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4169 | (eval $ac_try) 2>&5 |
|
|
4170 | ac_status=$? |
|
|
4171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4172 | (exit $ac_status); }; } && |
|
|
4173 | { ac_try='test -s conftest$ac_exeext' |
|
|
4174 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4175 | (eval $ac_try) 2>&5 |
|
|
4176 | ac_status=$? |
|
|
4177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4178 | (exit $ac_status); }; }; then |
|
|
4179 | ac_cv_func_sched_yield=yes |
|
|
4180 | else |
|
|
4181 | echo "$as_me: failed program was:" >&5 |
|
|
4182 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4183 | |
|
|
4184 | ac_cv_func_sched_yield=no |
|
|
4185 | fi |
|
|
4186 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4187 | conftest$ac_exeext conftest.$ac_ext |
|
|
4188 | fi |
|
|
4189 | echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5 |
|
|
4190 | echo "${ECHO_T}$ac_cv_func_sched_yield" >&6 |
|
|
4191 | if test $ac_cv_func_sched_yield = yes; then |
|
|
4192 | : |
|
|
4193 | else |
|
|
4194 | echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5 |
|
|
4195 | echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6 |
|
|
4196 | if test "${ac_cv_lib_rt_sched_yield+set}" = set; then |
|
|
4197 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4198 | else |
|
|
4199 | ac_check_lib_save_LIBS=$LIBS |
|
|
4200 | LIBS="-lrt $LIBS" |
|
|
4201 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4202 | /* confdefs.h. */ |
|
|
4203 | _ACEOF |
|
|
4204 | cat confdefs.h >>conftest.$ac_ext |
|
|
4205 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4206 | /* end confdefs.h. */ |
|
|
4207 | |
|
|
4208 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
4209 | #ifdef __cplusplus |
|
|
4210 | extern "C" |
|
|
4211 | #endif |
|
|
4212 | /* We use char because int might match the return type of a gcc2 |
|
|
4213 | builtin and then its argument prototype would still apply. */ |
|
|
4214 | char sched_yield (); |
|
|
4215 | int |
|
|
4216 | main () |
|
|
4217 | { |
|
|
4218 | sched_yield (); |
|
|
4219 | ; |
|
|
4220 | return 0; |
|
|
4221 | } |
|
|
4222 | _ACEOF |
|
|
4223 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4224 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4225 | (eval $ac_link) 2>conftest.er1 |
|
|
4226 | ac_status=$? |
|
|
4227 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4228 | rm -f conftest.er1 |
|
|
4229 | cat conftest.err >&5 |
|
|
4230 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4231 | (exit $ac_status); } && |
|
|
4232 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4233 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4234 | (eval $ac_try) 2>&5 |
|
|
4235 | ac_status=$? |
|
|
4236 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4237 | (exit $ac_status); }; } && |
|
|
4238 | { ac_try='test -s conftest$ac_exeext' |
|
|
4239 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4240 | (eval $ac_try) 2>&5 |
|
|
4241 | ac_status=$? |
|
|
4242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4243 | (exit $ac_status); }; }; then |
|
|
4244 | ac_cv_lib_rt_sched_yield=yes |
|
|
4245 | else |
|
|
4246 | echo "$as_me: failed program was:" >&5 |
|
|
4247 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4248 | |
|
|
4249 | ac_cv_lib_rt_sched_yield=no |
|
|
4250 | fi |
|
|
4251 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4252 | conftest$ac_exeext conftest.$ac_ext |
|
|
4253 | LIBS=$ac_check_lib_save_LIBS |
|
|
4254 | fi |
|
|
4255 | echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5 |
|
|
4256 | echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6 |
|
|
4257 | if test $ac_cv_lib_rt_sched_yield = yes; then |
|
|
4258 | LIBS="$LIBS -lrt" |
|
|
4259 | fi |
|
|
4260 | |
|
|
4261 | fi |
|
|
4262 | |
|
|
4263 | |
|
|
4264 | echo "$as_me:$LINENO: checking for sched_yield support" >&5 |
|
|
4265 | echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6 |
|
|
4266 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4267 | /* confdefs.h. */ |
|
|
4268 | _ACEOF |
|
|
4269 | cat confdefs.h >>conftest.$ac_ext |
|
|
4270 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4271 | /* end confdefs.h. */ |
|
|
4272 | #include <sched.h> |
|
|
4273 | int |
|
|
4274 | main () |
|
|
4275 | { |
|
|
4276 | sched_yield () |
|
|
4277 | ; |
|
|
4278 | return 0; |
|
|
4279 | } |
|
|
4280 | _ACEOF |
|
|
4281 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4282 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4283 | (eval $ac_link) 2>conftest.er1 |
|
|
4284 | ac_status=$? |
|
|
4285 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4286 | rm -f conftest.er1 |
|
|
4287 | cat conftest.err >&5 |
|
|
4288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4289 | (exit $ac_status); } && |
|
|
4290 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4291 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4292 | (eval $ac_try) 2>&5 |
|
|
4293 | ac_status=$? |
|
|
4294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4295 | (exit $ac_status); }; } && |
|
|
4296 | { ac_try='test -s conftest$ac_exeext' |
|
|
4297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4298 | (eval $ac_try) 2>&5 |
|
|
4299 | ac_status=$? |
|
|
4300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4301 | (exit $ac_status); }; }; then |
|
|
4302 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
4303 | echo "${ECHO_T}yes" >&6 |
|
|
4304 | |
|
|
4305 | cat >>confdefs.h <<\_ACEOF |
|
|
4306 | #define HAVE_SCHED_YIELD 1 |
|
|
4307 | _ACEOF |
|
|
4308 | |
|
|
4309 | else |
|
|
4310 | echo "$as_me: failed program was:" >&5 |
|
|
4311 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4312 | |
|
|
4313 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4314 | echo "${ECHO_T}no" >&6 |
|
|
4315 | fi |
|
|
4316 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4317 | conftest$ac_exeext conftest.$ac_ext |
|
|
4318 | |
|
|
4319 | |
|
|
4320 | MALLOC_TYPE=S |
|
|
4321 | |
|
|
4322 | support_addstrings=no |
|
|
4323 | support_frills=yes |
3887 | support_frills=yes |
4324 | support_inheritpixmap=no |
3888 | support_inheritpixmap=yes |
4325 | support_tinting=yes |
3889 | support_tinting=yes |
4326 | support_fading=yes |
3890 | support_fading=yes |
4327 | support_keepscrolling=yes |
3891 | support_keepscrolling=yes |
4328 | support_selectionscrolling=yes |
3892 | support_selectionscrolling=yes |
4329 | support_menubar=no |
|
|
4330 | support_mousewheel=yes |
3893 | support_mousewheel=yes |
4331 | support_mouseslipwheel=yes |
3894 | support_mouseslipwheel=yes |
4332 | support_utmp=yes |
|
|
4333 | support_wtmp=yes |
|
|
4334 | support_lastlog=yes |
|
|
4335 | support_text_blink=yes |
3895 | support_text_blink=yes |
4336 | support_pointer_blank=yes |
3896 | support_pointer_blank=yes |
4337 | support_scroll_rxvt=yes |
3897 | support_scroll_rxvt=yes |
4338 | support_scroll_next=yes |
3898 | support_scroll_next=yes |
4339 | support_scroll_xterm=yes |
3899 | support_scroll_xterm=yes |
4340 | support_scroll_plain=yes |
3900 | support_scroll_plain=yes |
4341 | support_xim=yes |
3901 | support_xim=yes |
4342 | support_xpm=no |
3902 | support_xpm=yes |
|
|
3903 | support_afterimage=yes |
|
|
3904 | support_afterstep=yes |
4343 | support_xft=yes |
3905 | support_xft=yes |
4344 | support_unicode3=no |
3906 | support_unicode3=no |
4345 | support_combining=yes |
3907 | support_combining=yes |
4346 | support_8bitctrls=no |
3908 | support_8bitctrls=no |
4347 | support_iso14755=yes |
3909 | support_iso14755=yes |
4348 | support_styles=yes |
3910 | support_styles=yes |
|
|
3911 | support_perl=yes |
4349 | codesets=all |
3912 | codesets=all |
4350 | |
3913 | |
4351 | |
3914 | |
4352 | if test "x$enable_shared" = xyes; then |
3915 | if test "x$enable_shared" = xyes; then |
4353 | |
3916 | |
… | |
… | |
4362 | # Check whether --enable-everything or --disable-everything was given. |
3925 | # Check whether --enable-everything or --disable-everything was given. |
4363 | if test "${enable_everything+set}" = set; then |
3926 | if test "${enable_everything+set}" = set; then |
4364 | enableval="$enable_everything" |
3927 | enableval="$enable_everything" |
4365 | |
3928 | |
4366 | if test x$enableval = xno; then |
3929 | if test x$enableval = xno; then |
4367 | support_24bit=no |
|
|
4368 | support_frills=no |
3930 | support_frills=no |
4369 | support_inheritpixmap=no |
3931 | support_inheritpixmap=no |
4370 | support_tinting=no |
3932 | support_tinting=no |
4371 | support_fading=no |
3933 | support_fading=no |
4372 | support_keepscrolling=no |
3934 | support_keepscrolling=no |
4373 | support_selectionscrolling=no |
3935 | support_selectionscrolling=no |
4374 | support_lastlog=no |
3936 | support_lastlog=no |
4375 | support_menubar=no |
|
|
4376 | support_mousewheel=no |
3937 | support_mousewheel=no |
4377 | support_mouseslipwheel=no |
3938 | support_mouseslipwheel=no |
4378 | support_text_blink=no |
3939 | support_text_blink=no |
4379 | support_pointer_blank=no |
3940 | support_pointer_blank=no |
4380 | support_scroll_rxvt=no |
3941 | support_scroll_rxvt=no |
… | |
… | |
4383 | support_scroll_plain=no |
3944 | support_scroll_plain=no |
4384 | support_utmp=no |
3945 | support_utmp=no |
4385 | support_wtmp=no |
3946 | support_wtmp=no |
4386 | support_xim=no |
3947 | support_xim=no |
4387 | support_xpm=no |
3948 | support_xpm=no |
|
|
3949 | support_afterimage=no |
|
|
3950 | support_afterstep=no |
4388 | support_xft=no |
3951 | support_xft=no |
4389 | support_unicode3=no |
3952 | support_unicode3=no |
4390 | support_combining=no |
3953 | support_combining=no |
4391 | support_8bitctrls=no |
3954 | support_8bitctrls=no |
4392 | support_iso14755=no |
3955 | support_iso14755=no |
4393 | support_styles=no |
3956 | support_styles=no |
|
|
3957 | support_perl=no |
4394 | codesets= |
3958 | codesets= |
4395 | fi |
3959 | fi |
4396 | if test x$enableval = xyes; then |
3960 | if test x$enableval = xyes; then |
4397 | support_24bit=yes |
|
|
4398 | support_frills=yes |
3961 | support_frills=yes |
4399 | support_inheritpixmap=yes |
3962 | support_inheritpixmap=yes |
4400 | support_tinting=yes |
3963 | support_tinting=yes |
4401 | support_fading=yes |
3964 | support_fading=yes |
4402 | support_keepscrolling=yes |
3965 | support_keepscrolling=yes |
4403 | support_selectionscrolling=yes |
3966 | support_selectionscrolling=yes |
4404 | support_lastlog=yes |
3967 | support_lastlog=yes |
4405 | support_menubar=yes |
|
|
4406 | support_mousewheel=yes |
3968 | support_mousewheel=yes |
4407 | support_mouseslipwheel=yes |
3969 | support_mouseslipwheel=yes |
4408 | support_text_blink=yes |
3970 | support_text_blink=yes |
4409 | support_pointer_blank=yes |
3971 | support_pointer_blank=yes |
4410 | support_scroll_rxvt=yes |
3972 | support_scroll_rxvt=yes |
… | |
… | |
4413 | support_scroll_plain=yes |
3975 | support_scroll_plain=yes |
4414 | support_utmp=yes |
3976 | support_utmp=yes |
4415 | support_wtmp=yes |
3977 | support_wtmp=yes |
4416 | support_xim=yes |
3978 | support_xim=yes |
4417 | support_xpm=yes |
3979 | support_xpm=yes |
|
|
3980 | support_afterimage=yes |
|
|
3981 | support_afterstep=yes |
4418 | support_xft=yes |
3982 | support_xft=yes |
4419 | support_unicode3=yes |
3983 | support_unicode3=yes |
4420 | support_combining=yes |
3984 | support_combining=yes |
4421 | #support_8bitctrls=yes |
3985 | #support_8bitctrls=yes |
4422 | support_iso14755=yes |
3986 | support_iso14755=yes |
4423 | support_styles=yes |
3987 | support_styles=yes |
|
|
3988 | support_perl=yes |
4424 | codesets=all |
3989 | codesets=all |
4425 | fi |
3990 | fi |
4426 | |
3991 | |
4427 | fi; |
3992 | fi; |
4428 | |
3993 | |
… | |
… | |
4456 | if test x$enableval = xyes -o x$enableval = xno; then |
4021 | if test x$enableval = xyes -o x$enableval = xno; then |
4457 | support_styles=$enableval |
4022 | support_styles=$enableval |
4458 | fi |
4023 | fi |
4459 | fi; |
4024 | fi; |
4460 | |
4025 | |
4461 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
4462 | if test "${enable_utmp+set}" = set; then |
|
|
4463 | enableval="$enable_utmp" |
|
|
4464 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4465 | support_utmp=$enableval |
|
|
4466 | fi |
|
|
4467 | fi; |
|
|
4468 | |
|
|
4469 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
4470 | if test "${enable_wtmp+set}" = set; then |
|
|
4471 | enableval="$enable_wtmp" |
|
|
4472 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4473 | support_wtmp=$enableval |
|
|
4474 | fi |
|
|
4475 | fi; |
|
|
4476 | |
|
|
4477 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
4478 | if test "${enable_lastlog+set}" = set; then |
|
|
4479 | enableval="$enable_lastlog" |
|
|
4480 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4481 | support_lastlog=$enableval |
|
|
4482 | fi |
|
|
4483 | fi; |
|
|
4484 | |
|
|
4485 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4026 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4486 | if test "${enable_xpm_background+set}" = set; then |
4027 | if test "${enable_xpm_background+set}" = set; then |
4487 | enableval="$enable_xpm_background" |
4028 | enableval="$enable_xpm_background" |
4488 | if test x$enableval = xyes -o x$enableval = xno; then |
4029 | if test x$enableval = xyes -o x$enableval = xno; then |
4489 | support_xpm=$enableval |
4030 | support_xpm=$enableval |
4490 | fi |
4031 | fi |
4491 | fi; |
4032 | fi; |
4492 | |
4033 | |
|
|
4034 | # Check whether --enable-afterimage or --disable-afterimage was given. |
|
|
4035 | if test "${enable_afterimage+set}" = set; then |
|
|
4036 | enableval="$enable_afterimage" |
|
|
4037 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4038 | support_afterimage=$enableval |
|
|
4039 | fi |
|
|
4040 | fi; |
|
|
4041 | |
|
|
4042 | |
|
|
4043 | # Check whether --with-afterimage_config or --without-afterimage_config was given. |
|
|
4044 | if test "${with_afterimage_config+set}" = set; then |
|
|
4045 | withval="$with_afterimage_config" |
|
|
4046 | if test "x$withval" != x; then |
|
|
4047 | afterimage_config=$withval/afterimage-config |
|
|
4048 | fi |
|
|
4049 | fi; |
|
|
4050 | |
|
|
4051 | # Check whether --enable-afterstep or --disable-afterstep was given. |
|
|
4052 | if test "${enable_afterstep+set}" = set; then |
|
|
4053 | enableval="$enable_afterstep" |
|
|
4054 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4055 | support_afterstep=$enableval |
|
|
4056 | fi |
|
|
4057 | fi; |
|
|
4058 | |
4493 | # Check whether --enable-transparency or --disable-transparency was given. |
4059 | # Check whether --enable-transparency or --disable-transparency was given. |
4494 | if test "${enable_transparency+set}" = set; then |
4060 | if test "${enable_transparency+set}" = set; then |
4495 | enableval="$enable_transparency" |
4061 | enableval="$enable_transparency" |
4496 | if test x$enableval = xyes -o x$enableval = xno; then |
4062 | if test x$enableval = xyes -o x$enableval = xno; then |
4497 | support_inheritpixmap=$enableval |
4063 | support_inheritpixmap=$enableval |
… | |
… | |
4512 | if test x$enableval = xyes -o x$enableval = xno; then |
4078 | if test x$enableval = xyes -o x$enableval = xno; then |
4513 | support_fading=$enableval |
4079 | support_fading=$enableval |
4514 | fi |
4080 | fi |
4515 | fi; |
4081 | fi; |
4516 | |
4082 | |
4517 | # Check whether --enable-menubar or --disable-menubar was given. |
|
|
4518 | if test "${enable_menubar+set}" = set; then |
|
|
4519 | enableval="$enable_menubar" |
|
|
4520 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4521 | support_menubar=$enableval |
|
|
4522 | fi |
|
|
4523 | fi; |
|
|
4524 | |
|
|
4525 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4083 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4526 | if test "${enable_rxvt_scroll+set}" = set; then |
4084 | if test "${enable_rxvt_scroll+set}" = set; then |
4527 | enableval="$enable_rxvt_scroll" |
4085 | enableval="$enable_rxvt_scroll" |
4528 | if test x$enableval = xyes -o x$enableval = xno; then |
4086 | if test x$enableval = xyes -o x$enableval = xno; then |
4529 | support_scroll_rxvt=$enableval |
4087 | support_scroll_rxvt=$enableval |
… | |
… | |
4544 | if test x$enableval = xyes -o x$enableval = xno; then |
4102 | if test x$enableval = xyes -o x$enableval = xno; then |
4545 | support_scroll_xterm=$enableval |
4103 | support_scroll_xterm=$enableval |
4546 | fi |
4104 | fi |
4547 | fi; |
4105 | fi; |
4548 | |
4106 | |
|
|
4107 | # Check whether --enable-perl or --disable-perl was given. |
|
|
4108 | if test "${enable_perl+set}" = set; then |
|
|
4109 | enableval="$enable_perl" |
|
|
4110 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4111 | support_perl=$enableval |
|
|
4112 | fi |
|
|
4113 | fi; |
|
|
4114 | |
4549 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4115 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4550 | if test "${enable_plain_scroll+set}" = set; then |
4116 | if test "${enable_plain_scroll+set}" = set; then |
4551 | enableval="$enable_plain_scroll" |
4117 | enableval="$enable_plain_scroll" |
4552 | if test x$enableval = xyes -o x$enableval = xno; then |
4118 | if test x$enableval = xyes -o x$enableval = xno; then |
4553 | support_scroll_plain=$enableval |
4119 | support_scroll_plain=$enableval |
4554 | fi |
4120 | fi |
4555 | fi; |
4121 | fi; |
4556 | |
4122 | |
4557 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
4558 | if test "${enable_half_shadow+set}" = set; then |
|
|
4559 | enableval="$enable_half_shadow" |
|
|
4560 | if test x$enableval = xyes; then |
|
|
4561 | |
|
|
4562 | cat >>confdefs.h <<\_ACEOF |
|
|
4563 | #define HALFSHADOW 1 |
|
|
4564 | _ACEOF |
|
|
4565 | |
|
|
4566 | fi |
|
|
4567 | fi; |
|
|
4568 | |
|
|
4569 | |
4123 | |
4570 | # Check whether --with-codesets or --without-codesets was given. |
4124 | # Check whether --with-codesets or --without-codesets was given. |
4571 | if test "${with_codesets+set}" = set; then |
4125 | if test "${with_codesets+set}" = set; then |
4572 | withval="$with_codesets" |
4126 | withval="$with_codesets" |
4573 | codesets="$withval" |
4127 | codesets="$withval" |
… | |
… | |
4579 | if test x$enableval = xyes -o x$enableval = xno; then |
4133 | if test x$enableval = xyes -o x$enableval = xno; then |
4580 | support_xim=$enableval |
4134 | support_xim=$enableval |
4581 | fi |
4135 | fi |
4582 | fi; |
4136 | fi; |
4583 | |
4137 | |
4584 | # Check whether --enable-ttygid or --disable-ttygid was given. |
|
|
4585 | if test "${enable_ttygid+set}" = set; then |
|
|
4586 | enableval="$enable_ttygid" |
|
|
4587 | if test x$enableval = xyes; then |
|
|
4588 | |
|
|
4589 | cat >>confdefs.h <<\_ACEOF |
|
|
4590 | #define TTY_GID_SUPPORT 1 |
|
|
4591 | _ACEOF |
|
|
4592 | |
|
|
4593 | fi |
|
|
4594 | fi; |
|
|
4595 | |
|
|
4596 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4138 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4597 | if test "${enable_backspace_key+set}" = set; then |
4139 | if test "${enable_backspace_key+set}" = set; then |
4598 | enableval="$enable_backspace_key" |
4140 | enableval="$enable_backspace_key" |
4599 | if test x$enableval = xno; then |
4141 | if test x$enableval = xno; then |
4600 | |
4142 | |
… | |
… | |
4622 | enableval="$enable_resources" |
4164 | enableval="$enable_resources" |
4623 | if test x$enableval = xno; then |
4165 | if test x$enableval = xno; then |
4624 | |
4166 | |
4625 | cat >>confdefs.h <<\_ACEOF |
4167 | cat >>confdefs.h <<\_ACEOF |
4626 | #define NO_RESOURCES 1 |
4168 | #define NO_RESOURCES 1 |
4627 | _ACEOF |
|
|
4628 | |
|
|
4629 | fi |
|
|
4630 | fi; |
|
|
4631 | |
|
|
4632 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
|
|
4633 | if test "${enable_xgetdefault+set}" = set; then |
|
|
4634 | enableval="$enable_xgetdefault" |
|
|
4635 | if test x$enableval = xyes; then |
|
|
4636 | |
|
|
4637 | cat >>confdefs.h <<\_ACEOF |
|
|
4638 | #define USE_XGETDEFAULT 1 |
|
|
4639 | _ACEOF |
4169 | _ACEOF |
4640 | |
4170 | |
4641 | fi |
4171 | fi |
4642 | fi; |
4172 | fi; |
4643 | |
4173 | |
… | |
… | |
4708 | |
4238 | |
4709 | |
4239 | |
4710 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4240 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4711 | |
4241 | |
4712 | |
4242 | |
4713 | # Check whether --enable-strings or --disable-strings was given. |
|
|
4714 | if test "${enable_strings+set}" = set; then |
|
|
4715 | enableval="$enable_strings" |
|
|
4716 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4717 | support_addstrings=$enableval |
|
|
4718 | fi |
|
|
4719 | fi; |
|
|
4720 | |
|
|
4721 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4243 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4722 | if test "${enable_swapscreen+set}" = set; then |
4244 | if test "${enable_swapscreen+set}" = set; then |
4723 | enableval="$enable_swapscreen" |
4245 | enableval="$enable_swapscreen" |
4724 | if test x$enableval = xno; then |
4246 | if test x$enableval = xno; then |
4725 | |
4247 | |
… | |
… | |
4744 | if test x$enableval = xyes -o x$enableval = xno; then |
4266 | if test x$enableval = xyes -o x$enableval = xno; then |
4745 | support_frills=$enableval |
4267 | support_frills=$enableval |
4746 | fi |
4268 | fi |
4747 | fi; |
4269 | fi; |
4748 | |
4270 | |
4749 | # Check whether --enable-24bit or --disable-24bit was given. |
|
|
4750 | if test "${enable_24bit+set}" = set; then |
|
|
4751 | enableval="$enable_24bit" |
|
|
4752 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4753 | support_24bit=$enableval |
|
|
4754 | fi |
|
|
4755 | fi; |
|
|
4756 | |
|
|
4757 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4271 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4758 | if test "${enable_keepscrolling+set}" = set; then |
4272 | if test "${enable_keepscrolling+set}" = set; then |
4759 | enableval="$enable_keepscrolling" |
4273 | enableval="$enable_keepscrolling" |
4760 | if test x$enableval = xyes -o x$enableval = xno; then |
4274 | if test x$enableval = xyes -o x$enableval = xno; then |
4761 | support_keepscrolling=$enableval |
4275 | support_keepscrolling=$enableval |
… | |
… | |
4784 | if test x$enableval = xyes -o x$enableval = xno; then |
4298 | if test x$enableval = xyes -o x$enableval = xno; then |
4785 | support_mouseslipwheel=$enableval |
4299 | support_mouseslipwheel=$enableval |
4786 | fi |
4300 | fi |
4787 | fi; |
4301 | fi; |
4788 | |
4302 | |
4789 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
|
|
4790 | if test "${enable_dmalloc+set}" = set; then |
|
|
4791 | enableval="$enable_dmalloc" |
|
|
4792 | if test x$enableval = xyes; then |
|
|
4793 | MALLOC_TYPE=G |
|
|
4794 | DEBUG=-DDEBUG_MALLOC |
|
|
4795 | DLIB="-L/usr/local/lib -ldmalloc" |
|
|
4796 | DINCLUDE=-I/usr/local/include |
|
|
4797 | fi |
|
|
4798 | fi; |
|
|
4799 | |
|
|
4800 | # Check whether --enable-dlmalloc or --disable-dlmalloc was given. |
|
|
4801 | if test "${enable_dlmalloc+set}" = set; then |
|
|
4802 | enableval="$enable_dlmalloc" |
|
|
4803 | if test x$enableval = xyes; then |
|
|
4804 | MALLOC_TYPE=D |
|
|
4805 | DEBUG= |
|
|
4806 | DLIB="-L/usr/local/lib -ldlmalloc" |
|
|
4807 | DINCLUDE= |
|
|
4808 | fi |
|
|
4809 | fi; |
|
|
4810 | |
|
|
4811 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4303 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4812 | if test "${enable_smart_resize+set}" = set; then |
4304 | if test "${enable_smart_resize+set}" = set; then |
4813 | enableval="$enable_smart_resize" |
4305 | enableval="$enable_smart_resize" |
4814 | if test x$enableval = xyes; then |
4306 | if test x$enableval = xyes; then |
4815 | |
4307 | |
… | |
… | |
4860 | _ACEOF |
4352 | _ACEOF |
4861 | terminfo="$withval" |
4353 | terminfo="$withval" |
4862 | fi |
4354 | fi |
4863 | fi; |
4355 | fi; |
4864 | |
4356 | |
4865 | |
|
|
4866 | |
|
|
4867 | cat >>confdefs.h <<\_ACEOF |
|
|
4868 | #define PROTOTYPES 1 |
|
|
4869 | _ACEOF |
|
|
4870 | |
|
|
4871 | |
|
|
4872 | # Extract the first word of "mv", so it can be a program name with args. |
|
|
4873 | set dummy mv; ac_word=$2 |
|
|
4874 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4875 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4876 | if test "${ac_cv_path_MV+set}" = set; then |
|
|
4877 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4878 | else |
|
|
4879 | case $MV in |
|
|
4880 | [\\/]* | ?:[\\/]*) |
|
|
4881 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
|
|
4882 | ;; |
|
|
4883 | *) |
|
|
4884 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4885 | for as_dir in $PATH |
|
|
4886 | do |
|
|
4887 | IFS=$as_save_IFS |
|
|
4888 | test -z "$as_dir" && as_dir=. |
|
|
4889 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4890 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4891 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
|
|
4892 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4893 | break 2 |
|
|
4894 | fi |
|
|
4895 | done |
|
|
4896 | done |
|
|
4897 | |
|
|
4898 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
|
|
4899 | ;; |
|
|
4900 | esac |
|
|
4901 | fi |
|
|
4902 | MV=$ac_cv_path_MV |
|
|
4903 | |
|
|
4904 | if test -n "$MV"; then |
|
|
4905 | echo "$as_me:$LINENO: result: $MV" >&5 |
|
|
4906 | echo "${ECHO_T}$MV" >&6 |
|
|
4907 | else |
|
|
4908 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4909 | echo "${ECHO_T}no" >&6 |
|
|
4910 | fi |
|
|
4911 | |
|
|
4912 | # Extract the first word of "rm", so it can be a program name with args. |
|
|
4913 | set dummy rm; ac_word=$2 |
|
|
4914 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4915 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4916 | if test "${ac_cv_path_RM+set}" = set; then |
|
|
4917 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4918 | else |
|
|
4919 | case $RM in |
|
|
4920 | [\\/]* | ?:[\\/]*) |
|
|
4921 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
|
|
4922 | ;; |
|
|
4923 | *) |
|
|
4924 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4925 | for as_dir in $PATH |
|
|
4926 | do |
|
|
4927 | IFS=$as_save_IFS |
|
|
4928 | test -z "$as_dir" && as_dir=. |
|
|
4929 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4930 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4931 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
|
|
4932 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4933 | break 2 |
|
|
4934 | fi |
|
|
4935 | done |
|
|
4936 | done |
|
|
4937 | |
|
|
4938 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" |
|
|
4939 | ;; |
|
|
4940 | esac |
|
|
4941 | fi |
|
|
4942 | RM=$ac_cv_path_RM |
|
|
4943 | |
|
|
4944 | if test -n "$RM"; then |
|
|
4945 | echo "$as_me:$LINENO: result: $RM" >&5 |
|
|
4946 | echo "${ECHO_T}$RM" >&6 |
|
|
4947 | else |
|
|
4948 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4949 | echo "${ECHO_T}no" >&6 |
|
|
4950 | fi |
|
|
4951 | |
|
|
4952 | # Extract the first word of "cp", so it can be a program name with args. |
|
|
4953 | set dummy cp; ac_word=$2 |
|
|
4954 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4955 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4956 | if test "${ac_cv_path_CP+set}" = set; then |
|
|
4957 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4958 | else |
|
|
4959 | case $CP in |
|
|
4960 | [\\/]* | ?:[\\/]*) |
|
|
4961 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
|
|
4962 | ;; |
|
|
4963 | *) |
|
|
4964 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4965 | for as_dir in $PATH |
|
|
4966 | do |
|
|
4967 | IFS=$as_save_IFS |
|
|
4968 | test -z "$as_dir" && as_dir=. |
|
|
4969 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4970 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4971 | ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
|
|
4972 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4973 | break 2 |
|
|
4974 | fi |
|
|
4975 | done |
|
|
4976 | done |
|
|
4977 | |
|
|
4978 | test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" |
|
|
4979 | ;; |
|
|
4980 | esac |
|
|
4981 | fi |
|
|
4982 | CP=$ac_cv_path_CP |
|
|
4983 | |
|
|
4984 | if test -n "$CP"; then |
|
|
4985 | echo "$as_me:$LINENO: result: $CP" >&5 |
|
|
4986 | echo "${ECHO_T}$CP" >&6 |
|
|
4987 | else |
|
|
4988 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4989 | echo "${ECHO_T}no" >&6 |
|
|
4990 | fi |
|
|
4991 | |
|
|
4992 | # Extract the first word of "ln", so it can be a program name with args. |
|
|
4993 | set dummy ln; ac_word=$2 |
|
|
4994 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4995 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4996 | if test "${ac_cv_path_LN+set}" = set; then |
|
|
4997 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4998 | else |
|
|
4999 | case $LN in |
|
|
5000 | [\\/]* | ?:[\\/]*) |
|
|
5001 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
|
|
5002 | ;; |
|
|
5003 | *) |
|
|
5004 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5005 | for as_dir in $PATH |
|
|
5006 | do |
|
|
5007 | IFS=$as_save_IFS |
|
|
5008 | test -z "$as_dir" && as_dir=. |
|
|
5009 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5010 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5011 | ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
|
|
5012 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5013 | break 2 |
|
|
5014 | fi |
|
|
5015 | done |
|
|
5016 | done |
|
|
5017 | |
|
|
5018 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
|
|
5019 | ;; |
|
|
5020 | esac |
|
|
5021 | fi |
|
|
5022 | LN=$ac_cv_path_LN |
|
|
5023 | |
|
|
5024 | if test -n "$LN"; then |
|
|
5025 | echo "$as_me:$LINENO: result: $LN" >&5 |
|
|
5026 | echo "${ECHO_T}$LN" >&6 |
|
|
5027 | else |
|
|
5028 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5029 | echo "${ECHO_T}no" >&6 |
|
|
5030 | fi |
|
|
5031 | |
|
|
5032 | # Extract the first word of "sed", so it can be a program name with args. |
|
|
5033 | set dummy sed; ac_word=$2 |
|
|
5034 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5035 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5036 | if test "${ac_cv_path_SED+set}" = set; then |
|
|
5037 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5038 | else |
|
|
5039 | case $SED in |
|
|
5040 | [\\/]* | ?:[\\/]*) |
|
|
5041 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
|
|
5042 | ;; |
|
|
5043 | *) |
|
|
5044 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5045 | for as_dir in $PATH |
|
|
5046 | do |
|
|
5047 | IFS=$as_save_IFS |
|
|
5048 | test -z "$as_dir" && as_dir=. |
|
|
5049 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5050 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5051 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
|
|
5052 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5053 | break 2 |
|
|
5054 | fi |
|
|
5055 | done |
|
|
5056 | done |
|
|
5057 | |
|
|
5058 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" |
|
|
5059 | ;; |
|
|
5060 | esac |
|
|
5061 | fi |
|
|
5062 | SED=$ac_cv_path_SED |
|
|
5063 | |
|
|
5064 | if test -n "$SED"; then |
|
|
5065 | echo "$as_me:$LINENO: result: $SED" >&5 |
|
|
5066 | echo "${ECHO_T}$SED" >&6 |
|
|
5067 | else |
|
|
5068 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5069 | echo "${ECHO_T}no" >&6 |
|
|
5070 | fi |
|
|
5071 | |
|
|
5072 | # Extract the first word of "echo", so it can be a program name with args. |
|
|
5073 | set dummy echo; ac_word=$2 |
|
|
5074 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5075 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5076 | if test "${ac_cv_path_ECHO+set}" = set; then |
|
|
5077 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5078 | else |
|
|
5079 | case $ECHO in |
|
|
5080 | [\\/]* | ?:[\\/]*) |
|
|
5081 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. |
|
|
5082 | ;; |
|
|
5083 | *) |
|
|
5084 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5085 | for as_dir in $PATH |
|
|
5086 | do |
|
|
5087 | IFS=$as_save_IFS |
|
|
5088 | test -z "$as_dir" && as_dir=. |
|
|
5089 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5090 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5091 | ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" |
|
|
5092 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5093 | break 2 |
|
|
5094 | fi |
|
|
5095 | done |
|
|
5096 | done |
|
|
5097 | |
|
|
5098 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" |
|
|
5099 | ;; |
|
|
5100 | esac |
|
|
5101 | fi |
|
|
5102 | ECHO=$ac_cv_path_ECHO |
|
|
5103 | |
|
|
5104 | if test -n "$ECHO"; then |
|
|
5105 | echo "$as_me:$LINENO: result: $ECHO" >&5 |
|
|
5106 | echo "${ECHO_T}$ECHO" >&6 |
|
|
5107 | else |
|
|
5108 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5109 | echo "${ECHO_T}no" >&6 |
|
|
5110 | fi |
|
|
5111 | |
|
|
5112 | # Extract the first word of "cmp", so it can be a program name with args. |
|
|
5113 | set dummy cmp; ac_word=$2 |
|
|
5114 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5115 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5116 | if test "${ac_cv_path_CMP+set}" = set; then |
|
|
5117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5118 | else |
|
|
5119 | case $CMP in |
|
|
5120 | [\\/]* | ?:[\\/]*) |
|
|
5121 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
|
|
5122 | ;; |
|
|
5123 | *) |
|
|
5124 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5125 | for as_dir in $PATH |
|
|
5126 | do |
|
|
5127 | IFS=$as_save_IFS |
|
|
5128 | test -z "$as_dir" && as_dir=. |
|
|
5129 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5130 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5131 | ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" |
|
|
5132 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5133 | break 2 |
|
|
5134 | fi |
|
|
5135 | done |
|
|
5136 | done |
|
|
5137 | |
|
|
5138 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
|
|
5139 | ;; |
|
|
5140 | esac |
|
|
5141 | fi |
|
|
5142 | CMP=$ac_cv_path_CMP |
|
|
5143 | |
|
|
5144 | if test -n "$CMP"; then |
|
|
5145 | echo "$as_me:$LINENO: result: $CMP" >&5 |
|
|
5146 | echo "${ECHO_T}$CMP" >&6 |
|
|
5147 | else |
|
|
5148 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5149 | echo "${ECHO_T}no" >&6 |
|
|
5150 | fi |
|
|
5151 | |
|
|
5152 | # Extract the first word of "tbl", so it can be a program name with args. |
|
|
5153 | set dummy tbl; ac_word=$2 |
|
|
5154 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5155 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5156 | if test "${ac_cv_path_TBL+set}" = set; then |
|
|
5157 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5158 | else |
|
|
5159 | case $TBL in |
|
|
5160 | [\\/]* | ?:[\\/]*) |
|
|
5161 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
|
|
5162 | ;; |
|
|
5163 | *) |
|
|
5164 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5165 | for as_dir in $PATH |
|
|
5166 | do |
|
|
5167 | IFS=$as_save_IFS |
|
|
5168 | test -z "$as_dir" && as_dir=. |
|
|
5169 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5170 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5171 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
5172 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5173 | break 2 |
|
|
5174 | fi |
|
|
5175 | done |
|
|
5176 | done |
|
|
5177 | |
|
|
5178 | ;; |
|
|
5179 | esac |
|
|
5180 | fi |
|
|
5181 | TBL=$ac_cv_path_TBL |
|
|
5182 | |
|
|
5183 | if test -n "$TBL"; then |
|
|
5184 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
5185 | echo "${ECHO_T}$TBL" >&6 |
|
|
5186 | else |
|
|
5187 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5188 | echo "${ECHO_T}no" >&6 |
|
|
5189 | fi |
|
|
5190 | |
4357 | |
5191 | # Extract the first word of "tic", so it can be a program name with args. |
4358 | # Extract the first word of "tic", so it can be a program name with args. |
5192 | set dummy tic; ac_word=$2 |
4359 | set dummy tic; ac_word=$2 |
5193 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4360 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5194 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4361 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
5228 | fi |
4395 | fi |
5229 | |
4396 | |
5230 | |
4397 | |
5231 | |
4398 | |
5232 | |
4399 | |
|
|
4400 | ac_ext=cc |
|
|
4401 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4402 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4403 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4404 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4405 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4406 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
4407 | if test -z "$CXXCPP"; then |
|
|
4408 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4410 | else |
|
|
4411 | # Double quotes because CXXCPP needs to be expanded |
|
|
4412 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4413 | do |
|
|
4414 | ac_preproc_ok=false |
|
|
4415 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4416 | do |
|
|
4417 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4418 | # with a fresh cross-compiler works. |
|
|
4419 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4420 | # <limits.h> exists even on freestanding compilers. |
|
|
4421 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4422 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4423 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4424 | /* confdefs.h. */ |
|
|
4425 | _ACEOF |
|
|
4426 | cat confdefs.h >>conftest.$ac_ext |
|
|
4427 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4428 | /* end confdefs.h. */ |
|
|
4429 | #ifdef __STDC__ |
|
|
4430 | # include <limits.h> |
|
|
4431 | #else |
|
|
4432 | # include <assert.h> |
|
|
4433 | #endif |
|
|
4434 | Syntax error |
|
|
4435 | _ACEOF |
|
|
4436 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4437 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4438 | ac_status=$? |
|
|
4439 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4440 | rm -f conftest.er1 |
|
|
4441 | cat conftest.err >&5 |
|
|
4442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4443 | (exit $ac_status); } >/dev/null; then |
|
|
4444 | if test -s conftest.err; then |
|
|
4445 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4446 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4447 | else |
|
|
4448 | ac_cpp_err= |
|
|
4449 | fi |
|
|
4450 | else |
|
|
4451 | ac_cpp_err=yes |
|
|
4452 | fi |
|
|
4453 | if test -z "$ac_cpp_err"; then |
|
|
4454 | : |
|
|
4455 | else |
|
|
4456 | echo "$as_me: failed program was:" >&5 |
|
|
4457 | sed 's/^/| /' conftest.$ac_ext >&5 |
5233 | |
4458 | |
5234 | if test "x$ac_path_x_has_been_run" != xyes; then |
4459 | # Broken: fails on valid input. |
|
|
4460 | continue |
|
|
4461 | fi |
|
|
4462 | rm -f conftest.err conftest.$ac_ext |
|
|
4463 | |
|
|
4464 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4465 | # can be detected and how. |
|
|
4466 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4467 | /* confdefs.h. */ |
|
|
4468 | _ACEOF |
|
|
4469 | cat confdefs.h >>conftest.$ac_ext |
|
|
4470 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4471 | /* end confdefs.h. */ |
|
|
4472 | #include <ac_nonexistent.h> |
|
|
4473 | _ACEOF |
|
|
4474 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4475 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4476 | ac_status=$? |
|
|
4477 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4478 | rm -f conftest.er1 |
|
|
4479 | cat conftest.err >&5 |
|
|
4480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4481 | (exit $ac_status); } >/dev/null; then |
|
|
4482 | if test -s conftest.err; then |
|
|
4483 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4484 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4485 | else |
|
|
4486 | ac_cpp_err= |
|
|
4487 | fi |
|
|
4488 | else |
|
|
4489 | ac_cpp_err=yes |
|
|
4490 | fi |
|
|
4491 | if test -z "$ac_cpp_err"; then |
|
|
4492 | # Broken: success on invalid input. |
|
|
4493 | continue |
|
|
4494 | else |
|
|
4495 | echo "$as_me: failed program was:" >&5 |
|
|
4496 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4497 | |
|
|
4498 | # Passes both tests. |
|
|
4499 | ac_preproc_ok=: |
|
|
4500 | break |
|
|
4501 | fi |
|
|
4502 | rm -f conftest.err conftest.$ac_ext |
|
|
4503 | |
|
|
4504 | done |
|
|
4505 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4506 | rm -f conftest.err conftest.$ac_ext |
|
|
4507 | if $ac_preproc_ok; then |
|
|
4508 | break |
|
|
4509 | fi |
|
|
4510 | |
|
|
4511 | done |
|
|
4512 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4513 | |
|
|
4514 | fi |
|
|
4515 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
4516 | else |
|
|
4517 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4518 | fi |
|
|
4519 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
4520 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
4521 | ac_preproc_ok=false |
|
|
4522 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4523 | do |
|
|
4524 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4525 | # with a fresh cross-compiler works. |
|
|
4526 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4527 | # <limits.h> exists even on freestanding compilers. |
|
|
4528 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4529 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4530 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4531 | /* confdefs.h. */ |
|
|
4532 | _ACEOF |
|
|
4533 | cat confdefs.h >>conftest.$ac_ext |
|
|
4534 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4535 | /* end confdefs.h. */ |
|
|
4536 | #ifdef __STDC__ |
|
|
4537 | # include <limits.h> |
|
|
4538 | #else |
|
|
4539 | # include <assert.h> |
|
|
4540 | #endif |
|
|
4541 | Syntax error |
|
|
4542 | _ACEOF |
|
|
4543 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4544 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4545 | ac_status=$? |
|
|
4546 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4547 | rm -f conftest.er1 |
|
|
4548 | cat conftest.err >&5 |
|
|
4549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4550 | (exit $ac_status); } >/dev/null; then |
|
|
4551 | if test -s conftest.err; then |
|
|
4552 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4553 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4554 | else |
|
|
4555 | ac_cpp_err= |
|
|
4556 | fi |
|
|
4557 | else |
|
|
4558 | ac_cpp_err=yes |
|
|
4559 | fi |
|
|
4560 | if test -z "$ac_cpp_err"; then |
|
|
4561 | : |
|
|
4562 | else |
|
|
4563 | echo "$as_me: failed program was:" >&5 |
|
|
4564 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4565 | |
|
|
4566 | # Broken: fails on valid input. |
|
|
4567 | continue |
|
|
4568 | fi |
|
|
4569 | rm -f conftest.err conftest.$ac_ext |
|
|
4570 | |
|
|
4571 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4572 | # can be detected and how. |
|
|
4573 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4574 | /* confdefs.h. */ |
|
|
4575 | _ACEOF |
|
|
4576 | cat confdefs.h >>conftest.$ac_ext |
|
|
4577 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4578 | /* end confdefs.h. */ |
|
|
4579 | #include <ac_nonexistent.h> |
|
|
4580 | _ACEOF |
|
|
4581 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4582 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4583 | ac_status=$? |
|
|
4584 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4585 | rm -f conftest.er1 |
|
|
4586 | cat conftest.err >&5 |
|
|
4587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4588 | (exit $ac_status); } >/dev/null; then |
|
|
4589 | if test -s conftest.err; then |
|
|
4590 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4591 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4592 | else |
|
|
4593 | ac_cpp_err= |
|
|
4594 | fi |
|
|
4595 | else |
|
|
4596 | ac_cpp_err=yes |
|
|
4597 | fi |
|
|
4598 | if test -z "$ac_cpp_err"; then |
|
|
4599 | # Broken: success on invalid input. |
|
|
4600 | continue |
|
|
4601 | else |
|
|
4602 | echo "$as_me: failed program was:" >&5 |
|
|
4603 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4604 | |
|
|
4605 | # Passes both tests. |
|
|
4606 | ac_preproc_ok=: |
|
|
4607 | break |
|
|
4608 | fi |
|
|
4609 | rm -f conftest.err conftest.$ac_ext |
|
|
4610 | |
|
|
4611 | done |
|
|
4612 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4613 | rm -f conftest.err conftest.$ac_ext |
|
|
4614 | if $ac_preproc_ok; then |
|
|
4615 | : |
|
|
4616 | else |
|
|
4617 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4618 | See \`config.log' for more details." >&5 |
|
|
4619 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4620 | See \`config.log' for more details." >&2;} |
|
|
4621 | { (exit 1); exit 1; }; } |
|
|
4622 | fi |
|
|
4623 | |
|
|
4624 | ac_ext=cc |
|
|
4625 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4626 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4627 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4628 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4629 | |
|
|
4630 | |
5235 | echo "$as_me:$LINENO: checking for X" >&5 |
4631 | echo "$as_me:$LINENO: checking for X" >&5 |
5236 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4632 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
5237 | |
4633 | |
5238 | ac_path_x_has_been_run=yes |
|
|
5239 | |
4634 | |
5240 | # Check whether --with-x or --without-x was given. |
4635 | # Check whether --with-x or --without-x was given. |
5241 | if test "${with_x+set}" = set; then |
4636 | if test "${with_x+set}" = set; then |
5242 | withval="$with_x" |
4637 | withval="$with_x" |
5243 | |
4638 | |
… | |
… | |
5326 | |
4721 | |
5327 | /usr/openwin/include |
4722 | /usr/openwin/include |
5328 | /usr/openwin/share/include' |
4723 | /usr/openwin/share/include' |
5329 | |
4724 | |
5330 | if test "$ac_x_includes" = no; then |
4725 | if test "$ac_x_includes" = no; then |
5331 | # Guess where to find include files, by looking for a specified header file. |
4726 | # Guess where to find include files, by looking for Intrinsic.h. |
5332 | # First, try using that file with no special directory specified. |
4727 | # First, try using that file with no special directory specified. |
5333 | cat >conftest.$ac_ext <<_ACEOF |
4728 | cat >conftest.$ac_ext <<_ACEOF |
5334 | /* confdefs.h. */ |
4729 | /* confdefs.h. */ |
5335 | _ACEOF |
4730 | _ACEOF |
5336 | cat confdefs.h >>conftest.$ac_ext |
4731 | cat confdefs.h >>conftest.$ac_ext |
5337 | cat >>conftest.$ac_ext <<_ACEOF |
4732 | cat >>conftest.$ac_ext <<_ACEOF |
5338 | /* end confdefs.h. */ |
4733 | /* end confdefs.h. */ |
5339 | #include <X11/Xlib.h> |
4734 | #include <X11/Intrinsic.h> |
5340 | _ACEOF |
4735 | _ACEOF |
5341 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4736 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5342 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4737 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5343 | ac_status=$? |
4738 | ac_status=$? |
5344 | grep -v '^ *+' conftest.er1 >conftest.err |
4739 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5361 | else |
4756 | else |
5362 | echo "$as_me: failed program was:" >&5 |
4757 | echo "$as_me: failed program was:" >&5 |
5363 | sed 's/^/| /' conftest.$ac_ext >&5 |
4758 | sed 's/^/| /' conftest.$ac_ext >&5 |
5364 | |
4759 | |
5365 | for ac_dir in $ac_x_header_dirs; do |
4760 | for ac_dir in $ac_x_header_dirs; do |
5366 | if test -r "$ac_dir/X11/Xlib.h"; then |
4761 | if test -r "$ac_dir/X11/Intrinsic.h"; then |
5367 | ac_x_includes=$ac_dir |
4762 | ac_x_includes=$ac_dir |
5368 | break |
4763 | break |
5369 | fi |
4764 | fi |
5370 | done |
4765 | done |
5371 | fi |
4766 | fi |
… | |
… | |
5375 | if test "$ac_x_libraries" = no; then |
4770 | if test "$ac_x_libraries" = no; then |
5376 | # Check for the libraries. |
4771 | # Check for the libraries. |
5377 | # See if we find them without any special options. |
4772 | # See if we find them without any special options. |
5378 | # Don't add to $LIBS permanently. |
4773 | # Don't add to $LIBS permanently. |
5379 | ac_save_LIBS=$LIBS |
4774 | ac_save_LIBS=$LIBS |
5380 | LIBS="-lX11 $LIBS" |
4775 | LIBS="-lXt $LIBS" |
5381 | cat >conftest.$ac_ext <<_ACEOF |
4776 | cat >conftest.$ac_ext <<_ACEOF |
5382 | /* confdefs.h. */ |
4777 | /* confdefs.h. */ |
5383 | _ACEOF |
4778 | _ACEOF |
5384 | cat confdefs.h >>conftest.$ac_ext |
4779 | cat confdefs.h >>conftest.$ac_ext |
5385 | cat >>conftest.$ac_ext <<_ACEOF |
4780 | cat >>conftest.$ac_ext <<_ACEOF |
5386 | /* end confdefs.h. */ |
4781 | /* end confdefs.h. */ |
5387 | #include <X11/Xlib.h> |
4782 | #include <X11/Intrinsic.h> |
5388 | int |
4783 | int |
5389 | main () |
4784 | main () |
5390 | { |
4785 | { |
5391 | XrmInitialize () |
4786 | XtMalloc (0) |
5392 | ; |
4787 | ; |
5393 | return 0; |
4788 | return 0; |
5394 | } |
4789 | } |
5395 | _ACEOF |
4790 | _ACEOF |
5396 | rm -f conftest.$ac_objext conftest$ac_exeext |
4791 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
5400 | grep -v '^ *+' conftest.er1 >conftest.err |
4795 | grep -v '^ *+' conftest.er1 >conftest.err |
5401 | rm -f conftest.er1 |
4796 | rm -f conftest.er1 |
5402 | cat conftest.err >&5 |
4797 | cat conftest.err >&5 |
5403 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5404 | (exit $ac_status); } && |
4799 | (exit $ac_status); } && |
5405 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4800 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4801 | || test ! -s conftest.err' |
5406 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4802 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5407 | (eval $ac_try) 2>&5 |
4803 | (eval $ac_try) 2>&5 |
5408 | ac_status=$? |
4804 | ac_status=$? |
5409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5410 | (exit $ac_status); }; } && |
4806 | (exit $ac_status); }; } && |
… | |
… | |
5424 | LIBS=$ac_save_LIBS |
4820 | LIBS=$ac_save_LIBS |
5425 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
4821 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
5426 | do |
4822 | do |
5427 | # Don't even attempt the hair of trying to link an X program! |
4823 | # Don't even attempt the hair of trying to link an X program! |
5428 | for ac_extension in a so sl; do |
4824 | for ac_extension in a so sl; do |
5429 | if test -r $ac_dir/libX11.$ac_extension; then |
4825 | if test -r $ac_dir/libXt.$ac_extension; then |
5430 | ac_x_libraries=$ac_dir |
4826 | ac_x_libraries=$ac_dir |
5431 | break 2 |
4827 | break 2 |
5432 | fi |
4828 | fi |
5433 | done |
4829 | done |
5434 | done |
4830 | done |
… | |
… | |
5460 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4856 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
5461 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4857 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
5462 | # Update the cache value to reflect the command line values. |
4858 | # Update the cache value to reflect the command line values. |
5463 | ac_cv_have_x="have_x=yes \ |
4859 | ac_cv_have_x="have_x=yes \ |
5464 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
4860 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
5465 | # It might be that x_includes is empty (headers are found in the |
|
|
5466 | # standard search path. Then output the corresponding message |
|
|
5467 | ac_out_x_includes=$x_includes |
|
|
5468 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" |
|
|
5469 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 |
4861 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
5470 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
4862 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
5471 | fi |
4863 | fi |
5472 | |
4864 | |
5473 | fi |
|
|
5474 | if test "$no_x" = yes; then |
4865 | if test "$no_x" = yes; then |
5475 | # Not all programs may use this symbol, but it does not hurt to define it. |
4866 | # Not all programs may use this symbol, but it does not hurt to define it. |
5476 | |
4867 | |
5477 | cat >>confdefs.h <<\_ACEOF |
4868 | cat >>confdefs.h <<\_ACEOF |
5478 | #define X_DISPLAY_MISSING 1 |
4869 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
5516 | grep -v '^ *+' conftest.er1 >conftest.err |
4907 | grep -v '^ *+' conftest.er1 >conftest.err |
5517 | rm -f conftest.er1 |
4908 | rm -f conftest.er1 |
5518 | cat conftest.err >&5 |
4909 | cat conftest.err >&5 |
5519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5520 | (exit $ac_status); } && |
4911 | (exit $ac_status); } && |
5521 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4912 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4913 | || test ! -s conftest.err' |
5522 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5523 | (eval $ac_try) 2>&5 |
4915 | (eval $ac_try) 2>&5 |
5524 | ac_status=$? |
4916 | ac_status=$? |
5525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5526 | (exit $ac_status); }; } && |
4918 | (exit $ac_status); }; } && |
… | |
… | |
5567 | grep -v '^ *+' conftest.er1 >conftest.err |
4959 | grep -v '^ *+' conftest.er1 >conftest.err |
5568 | rm -f conftest.er1 |
4960 | rm -f conftest.er1 |
5569 | cat conftest.err >&5 |
4961 | cat conftest.err >&5 |
5570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5571 | (exit $ac_status); } && |
4963 | (exit $ac_status); } && |
5572 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4964 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4965 | || test ! -s conftest.err' |
5573 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5574 | (eval $ac_try) 2>&5 |
4967 | (eval $ac_try) 2>&5 |
5575 | ac_status=$? |
4968 | ac_status=$? |
5576 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5577 | (exit $ac_status); }; } && |
4970 | (exit $ac_status); }; } && |
… | |
… | |
5643 | grep -v '^ *+' conftest.er1 >conftest.err |
5036 | grep -v '^ *+' conftest.er1 >conftest.err |
5644 | rm -f conftest.er1 |
5037 | rm -f conftest.er1 |
5645 | cat conftest.err >&5 |
5038 | cat conftest.err >&5 |
5646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5647 | (exit $ac_status); } && |
5040 | (exit $ac_status); } && |
5648 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5041 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5042 | || test ! -s conftest.err' |
5649 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5043 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5650 | (eval $ac_try) 2>&5 |
5044 | (eval $ac_try) 2>&5 |
5651 | ac_status=$? |
5045 | ac_status=$? |
5652 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5653 | (exit $ac_status); }; } && |
5047 | (exit $ac_status); }; } && |
… | |
… | |
5698 | grep -v '^ *+' conftest.er1 >conftest.err |
5092 | grep -v '^ *+' conftest.er1 >conftest.err |
5699 | rm -f conftest.er1 |
5093 | rm -f conftest.er1 |
5700 | cat conftest.err >&5 |
5094 | cat conftest.err >&5 |
5701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5702 | (exit $ac_status); } && |
5096 | (exit $ac_status); } && |
5703 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5097 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5098 | || test ! -s conftest.err' |
5704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5705 | (eval $ac_try) 2>&5 |
5100 | (eval $ac_try) 2>&5 |
5706 | ac_status=$? |
5101 | ac_status=$? |
5707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5708 | (exit $ac_status); }; } && |
5103 | (exit $ac_status); }; } && |
… | |
… | |
5766 | grep -v '^ *+' conftest.er1 >conftest.err |
5161 | grep -v '^ *+' conftest.er1 >conftest.err |
5767 | rm -f conftest.er1 |
5162 | rm -f conftest.er1 |
5768 | cat conftest.err >&5 |
5163 | cat conftest.err >&5 |
5769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5770 | (exit $ac_status); } && |
5165 | (exit $ac_status); } && |
5771 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5166 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5167 | || test ! -s conftest.err' |
5772 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5168 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5773 | (eval $ac_try) 2>&5 |
5169 | (eval $ac_try) 2>&5 |
5774 | ac_status=$? |
5170 | ac_status=$? |
5775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5776 | (exit $ac_status); }; } && |
5172 | (exit $ac_status); }; } && |
… | |
… | |
5874 | grep -v '^ *+' conftest.er1 >conftest.err |
5270 | grep -v '^ *+' conftest.er1 >conftest.err |
5875 | rm -f conftest.er1 |
5271 | rm -f conftest.er1 |
5876 | cat conftest.err >&5 |
5272 | cat conftest.err >&5 |
5877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5878 | (exit $ac_status); } && |
5274 | (exit $ac_status); } && |
5879 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5275 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5276 | || test ! -s conftest.err' |
5880 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5881 | (eval $ac_try) 2>&5 |
5278 | (eval $ac_try) 2>&5 |
5882 | ac_status=$? |
5279 | ac_status=$? |
5883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5884 | (exit $ac_status); }; } && |
5281 | (exit $ac_status); }; } && |
… | |
… | |
5938 | grep -v '^ *+' conftest.er1 >conftest.err |
5335 | grep -v '^ *+' conftest.er1 >conftest.err |
5939 | rm -f conftest.er1 |
5336 | rm -f conftest.er1 |
5940 | cat conftest.err >&5 |
5337 | cat conftest.err >&5 |
5941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5942 | (exit $ac_status); } && |
5339 | (exit $ac_status); } && |
5943 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5340 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5341 | || test ! -s conftest.err' |
5944 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5342 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5945 | (eval $ac_try) 2>&5 |
5343 | (eval $ac_try) 2>&5 |
5946 | ac_status=$? |
5344 | ac_status=$? |
5947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5948 | (exit $ac_status); }; } && |
5346 | (exit $ac_status); }; } && |
… | |
… | |
6006 | grep -v '^ *+' conftest.er1 >conftest.err |
5404 | grep -v '^ *+' conftest.er1 >conftest.err |
6007 | rm -f conftest.er1 |
5405 | rm -f conftest.er1 |
6008 | cat conftest.err >&5 |
5406 | cat conftest.err >&5 |
6009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6010 | (exit $ac_status); } && |
5408 | (exit $ac_status); } && |
6011 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5409 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5410 | || test ! -s conftest.err' |
6012 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5411 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6013 | (eval $ac_try) 2>&5 |
5412 | (eval $ac_try) 2>&5 |
6014 | ac_status=$? |
5413 | ac_status=$? |
6015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6016 | (exit $ac_status); }; } && |
5415 | (exit $ac_status); }; } && |
… | |
… | |
6110 | grep -v '^ *+' conftest.er1 >conftest.err |
5509 | grep -v '^ *+' conftest.er1 >conftest.err |
6111 | rm -f conftest.er1 |
5510 | rm -f conftest.er1 |
6112 | cat conftest.err >&5 |
5511 | cat conftest.err >&5 |
6113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6114 | (exit $ac_status); } && |
5513 | (exit $ac_status); } && |
6115 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5514 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5515 | || test ! -s conftest.err' |
6116 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6117 | (eval $ac_try) 2>&5 |
5517 | (eval $ac_try) 2>&5 |
6118 | ac_status=$? |
5518 | ac_status=$? |
6119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6120 | (exit $ac_status); }; } && |
5520 | (exit $ac_status); }; } && |
… | |
… | |
6174 | grep -v '^ *+' conftest.er1 >conftest.err |
5574 | grep -v '^ *+' conftest.er1 >conftest.err |
6175 | rm -f conftest.er1 |
5575 | rm -f conftest.er1 |
6176 | cat conftest.err >&5 |
5576 | cat conftest.err >&5 |
6177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6178 | (exit $ac_status); } && |
5578 | (exit $ac_status); } && |
6179 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5579 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5580 | || test ! -s conftest.err' |
6180 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6181 | (eval $ac_try) 2>&5 |
5582 | (eval $ac_try) 2>&5 |
6182 | ac_status=$? |
5583 | ac_status=$? |
6183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6184 | (exit $ac_status); }; } && |
5585 | (exit $ac_status); }; } && |
… | |
… | |
6271 | grep -v '^ *+' conftest.er1 >conftest.err |
5672 | grep -v '^ *+' conftest.er1 >conftest.err |
6272 | rm -f conftest.er1 |
5673 | rm -f conftest.er1 |
6273 | cat conftest.err >&5 |
5674 | cat conftest.err >&5 |
6274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6275 | (exit $ac_status); } && |
5676 | (exit $ac_status); } && |
6276 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5677 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5678 | || test ! -s conftest.err' |
6277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6278 | (eval $ac_try) 2>&5 |
5680 | (eval $ac_try) 2>&5 |
6279 | ac_status=$? |
5681 | ac_status=$? |
6280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6281 | (exit $ac_status); }; } && |
5683 | (exit $ac_status); }; } && |
… | |
… | |
6335 | grep -v '^ *+' conftest.er1 >conftest.err |
5737 | grep -v '^ *+' conftest.er1 >conftest.err |
6336 | rm -f conftest.er1 |
5738 | rm -f conftest.er1 |
6337 | cat conftest.err >&5 |
5739 | cat conftest.err >&5 |
6338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6339 | (exit $ac_status); } && |
5741 | (exit $ac_status); } && |
6340 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5742 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5743 | || test ! -s conftest.err' |
6341 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5744 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6342 | (eval $ac_try) 2>&5 |
5745 | (eval $ac_try) 2>&5 |
6343 | ac_status=$? |
5746 | ac_status=$? |
6344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5747 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6345 | (exit $ac_status); }; } && |
5748 | (exit $ac_status); }; } && |
… | |
… | |
6432 | grep -v '^ *+' conftest.er1 >conftest.err |
5835 | grep -v '^ *+' conftest.er1 >conftest.err |
6433 | rm -f conftest.er1 |
5836 | rm -f conftest.er1 |
6434 | cat conftest.err >&5 |
5837 | cat conftest.err >&5 |
6435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6436 | (exit $ac_status); } && |
5839 | (exit $ac_status); } && |
6437 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5840 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5841 | || test ! -s conftest.err' |
6438 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5842 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6439 | (eval $ac_try) 2>&5 |
5843 | (eval $ac_try) 2>&5 |
6440 | ac_status=$? |
5844 | ac_status=$? |
6441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6442 | (exit $ac_status); }; } && |
5846 | (exit $ac_status); }; } && |
… | |
… | |
6496 | grep -v '^ *+' conftest.er1 >conftest.err |
5900 | grep -v '^ *+' conftest.er1 >conftest.err |
6497 | rm -f conftest.er1 |
5901 | rm -f conftest.er1 |
6498 | cat conftest.err >&5 |
5902 | cat conftest.err >&5 |
6499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6500 | (exit $ac_status); } && |
5904 | (exit $ac_status); } && |
6501 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5905 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5906 | || test ! -s conftest.err' |
6502 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6503 | (eval $ac_try) 2>&5 |
5908 | (eval $ac_try) 2>&5 |
6504 | ac_status=$? |
5909 | ac_status=$? |
6505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6506 | (exit $ac_status); }; } && |
5911 | (exit $ac_status); }; } && |
… | |
… | |
6575 | grep -v '^ *+' conftest.er1 >conftest.err |
5980 | grep -v '^ *+' conftest.er1 >conftest.err |
6576 | rm -f conftest.er1 |
5981 | rm -f conftest.er1 |
6577 | cat conftest.err >&5 |
5982 | cat conftest.err >&5 |
6578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6579 | (exit $ac_status); } && |
5984 | (exit $ac_status); } && |
6580 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5985 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5986 | || test ! -s conftest.err' |
6581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5987 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6582 | (eval $ac_try) 2>&5 |
5988 | (eval $ac_try) 2>&5 |
6583 | ac_status=$? |
5989 | ac_status=$? |
6584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6585 | (exit $ac_status); }; } && |
5991 | (exit $ac_status); }; } && |
… | |
… | |
6610 | |
6016 | |
6611 | fi |
6017 | fi |
6612 | |
6018 | |
6613 | |
6019 | |
6614 | |
6020 | |
|
|
6021 | LIBAFTERIMAGE_CFLAGS= |
|
|
6022 | AFTERIMAGE_LIBS= |
|
|
6023 | have_afterimage= |
|
|
6024 | |
6615 | if test x$support_xpm = xyes; then |
6025 | if test x$support_afterimage = xyes; then |
|
|
6026 | support_afterimage=no |
|
|
6027 | |
|
|
6028 | if test "x$afterimage_config" = "x" ; then |
|
|
6029 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6030 | set dummy afterimage-config; ac_word=$2 |
|
|
6031 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6032 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
6033 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
|
|
6034 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6035 | else |
|
|
6036 | case $afterimage_config in |
|
|
6037 | [\\/]* | ?:[\\/]*) |
|
|
6038 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6039 | ;; |
|
|
6040 | *) |
|
|
6041 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6042 | for as_dir in $PATH |
|
|
6043 | do |
|
|
6044 | IFS=$as_save_IFS |
|
|
6045 | test -z "$as_dir" && as_dir=. |
|
|
6046 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6047 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
6048 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6049 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6050 | break 2 |
|
|
6051 | fi |
|
|
6052 | done |
|
|
6053 | done |
|
|
6054 | |
|
|
6055 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6056 | ;; |
|
|
6057 | esac |
|
|
6058 | fi |
|
|
6059 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6060 | |
|
|
6061 | if test -n "$afterimage_config"; then |
|
|
6062 | echo "$as_me:$LINENO: result: $afterimage_config" >&5 |
|
|
6063 | echo "${ECHO_T}$afterimage_config" >&6 |
|
|
6064 | else |
|
|
6065 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6066 | echo "${ECHO_T}no" >&6 |
|
|
6067 | fi |
|
|
6068 | |
|
|
6069 | fi |
|
|
6070 | |
|
|
6071 | echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
|
|
6072 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6 |
|
|
6073 | if $afterimage_config --version >/dev/null 2>&1 ; then |
|
|
6074 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6075 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6076 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
|
|
6077 | support_afterimage=yes |
|
|
6078 | fi |
|
|
6079 | fi |
|
|
6080 | |
|
|
6081 | if test "x$support_afterimage" = "xyes"; then |
|
|
6082 | echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6083 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6 |
|
|
6084 | else |
|
|
6085 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6086 | echo "${ECHO_T}no" >&6 |
|
|
6087 | fi |
|
|
6088 | fi |
|
|
6089 | |
|
|
6090 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
6616 | |
6091 | |
6617 | |
6092 | |
6618 | |
6093 | |
6619 | # Initialize some more variables set by options. |
6094 | # Initialize some more variables set by options. |
6620 | # The variables have the same names as the options, with |
6095 | # The variables have the same names as the options, with |
… | |
… | |
6791 | grep -v '^ *+' conftest.er1 >conftest.err |
6266 | grep -v '^ *+' conftest.er1 >conftest.err |
6792 | rm -f conftest.er1 |
6267 | rm -f conftest.er1 |
6793 | cat conftest.err >&5 |
6268 | cat conftest.err >&5 |
6794 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6795 | (exit $ac_status); } && |
6270 | (exit $ac_status); } && |
6796 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6271 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6272 | || test ! -s conftest.err' |
6797 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6798 | (eval $ac_try) 2>&5 |
6274 | (eval $ac_try) 2>&5 |
6799 | ac_status=$? |
6275 | ac_status=$? |
6800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6801 | (exit $ac_status); }; } && |
6277 | (exit $ac_status); }; } && |
… | |
… | |
7005 | grep -v '^ *+' conftest.er1 >conftest.err |
6481 | grep -v '^ *+' conftest.er1 >conftest.err |
7006 | rm -f conftest.er1 |
6482 | rm -f conftest.er1 |
7007 | cat conftest.err >&5 |
6483 | cat conftest.err >&5 |
7008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7009 | (exit $ac_status); } && |
6485 | (exit $ac_status); } && |
7010 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6486 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6487 | || test ! -s conftest.err' |
7011 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6488 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7012 | (eval $ac_try) 2>&5 |
6489 | (eval $ac_try) 2>&5 |
7013 | ac_status=$? |
6490 | ac_status=$? |
7014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7015 | (exit $ac_status); }; } && |
6492 | (exit $ac_status); }; } && |
… | |
… | |
7069 | grep -v '^ *+' conftest.er1 >conftest.err |
6546 | grep -v '^ *+' conftest.er1 >conftest.err |
7070 | rm -f conftest.er1 |
6547 | rm -f conftest.er1 |
7071 | cat conftest.err >&5 |
6548 | cat conftest.err >&5 |
7072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7073 | (exit $ac_status); } && |
6550 | (exit $ac_status); } && |
7074 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6551 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6552 | || test ! -s conftest.err' |
7075 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6553 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7076 | (eval $ac_try) 2>&5 |
6554 | (eval $ac_try) 2>&5 |
7077 | ac_status=$? |
6555 | ac_status=$? |
7078 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6556 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7079 | (exit $ac_status); }; } && |
6557 | (exit $ac_status); }; } && |
… | |
… | |
7239 | grep -v '^ *+' conftest.er1 >conftest.err |
6717 | grep -v '^ *+' conftest.er1 >conftest.err |
7240 | rm -f conftest.er1 |
6718 | rm -f conftest.er1 |
7241 | cat conftest.err >&5 |
6719 | cat conftest.err >&5 |
7242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7243 | (exit $ac_status); } && |
6721 | (exit $ac_status); } && |
7244 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6722 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6723 | || test ! -s conftest.err' |
7245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6724 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7246 | (eval $ac_try) 2>&5 |
6725 | (eval $ac_try) 2>&5 |
7247 | ac_status=$? |
6726 | ac_status=$? |
7248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7249 | (exit $ac_status); }; } && |
6728 | (exit $ac_status); }; } && |
… | |
… | |
7289 | |
6768 | |
7290 | |
6769 | |
7291 | |
6770 | |
7292 | |
6771 | |
7293 | |
6772 | |
7294 | |
|
|
7295 | |
|
|
7296 | |
|
|
7297 | |
|
|
7298 | |
|
|
7299 | |
|
|
7300 | |
|
|
7301 | for ac_header in \ |
6773 | for ac_header in \ |
7302 | assert.h \ |
6774 | assert.h \ |
7303 | fcntl.h \ |
6775 | fcntl.h \ |
7304 | grp.h \ |
|
|
7305 | libc.h \ |
|
|
7306 | lastlog.h \ |
|
|
7307 | stdarg.h \ |
6776 | stdarg.h \ |
7308 | stdlib.h \ |
6777 | stdlib.h \ |
7309 | string.h \ |
6778 | string.h \ |
7310 | termios.h \ |
6779 | termios.h \ |
7311 | unistd.h \ |
6780 | unistd.h \ |
7312 | sys/byteorder.h \ |
6781 | sys/byteorder.h \ |
7313 | sys/ioctl.h \ |
6782 | sys/ioctl.h \ |
7314 | sys/select.h \ |
6783 | sys/select.h \ |
7315 | sys/sockio.h \ |
6784 | sys/sockio.h \ |
7316 | sys/strredir.h \ |
6785 | sys/strredir.h \ |
7317 | sys/stropts.h \ |
|
|
7318 | sys/time.h \ |
6786 | sys/time.h \ |
7319 | utmp.h \ |
6787 | stdint.h \ |
7320 | utmpx.h \ |
6788 | wchar.h \ |
7321 | stdint.h \ |
6789 | cwchar \ |
7322 | pty.h \ |
6790 | clocale \ |
7323 | wchar.h \ |
|
|
7324 | cwchar \ |
|
|
7325 | clocale \ |
|
|
7326 | |
6791 | |
7327 | do |
6792 | do |
7328 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6793 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7329 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6794 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7330 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6795 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7354 | grep -v '^ *+' conftest.er1 >conftest.err |
6819 | grep -v '^ *+' conftest.er1 >conftest.err |
7355 | rm -f conftest.er1 |
6820 | rm -f conftest.er1 |
7356 | cat conftest.err >&5 |
6821 | cat conftest.err >&5 |
7357 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6822 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7358 | (exit $ac_status); } && |
6823 | (exit $ac_status); } && |
7359 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6824 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6825 | || test ! -s conftest.err' |
7360 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7361 | (eval $ac_try) 2>&5 |
6827 | (eval $ac_try) 2>&5 |
7362 | ac_status=$? |
6828 | ac_status=$? |
7363 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7364 | (exit $ac_status); }; } && |
6830 | (exit $ac_status); }; } && |
… | |
… | |
7503 | grep -v '^ *+' conftest.er1 >conftest.err |
6969 | grep -v '^ *+' conftest.er1 >conftest.err |
7504 | rm -f conftest.er1 |
6970 | rm -f conftest.er1 |
7505 | cat conftest.err >&5 |
6971 | cat conftest.err >&5 |
7506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7507 | (exit $ac_status); } && |
6973 | (exit $ac_status); } && |
7508 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6974 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6975 | || test ! -s conftest.err' |
7509 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6976 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7510 | (eval $ac_try) 2>&5 |
6977 | (eval $ac_try) 2>&5 |
7511 | ac_status=$? |
6978 | ac_status=$? |
7512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7513 | (exit $ac_status); }; } && |
6980 | (exit $ac_status); }; } && |
… | |
… | |
7568 | grep -v '^ *+' conftest.er1 >conftest.err |
7035 | grep -v '^ *+' conftest.er1 >conftest.err |
7569 | rm -f conftest.er1 |
7036 | rm -f conftest.er1 |
7570 | cat conftest.err >&5 |
7037 | cat conftest.err >&5 |
7571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7572 | (exit $ac_status); } && |
7039 | (exit $ac_status); } && |
7573 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7040 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7041 | || test ! -s conftest.err' |
7574 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7575 | (eval $ac_try) 2>&5 |
7043 | (eval $ac_try) 2>&5 |
7576 | ac_status=$? |
7044 | ac_status=$? |
7577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7578 | (exit $ac_status); }; } && |
7046 | (exit $ac_status); }; } && |
… | |
… | |
7618 | /* confdefs.h. */ |
7086 | /* confdefs.h. */ |
7619 | _ACEOF |
7087 | _ACEOF |
7620 | cat confdefs.h >>conftest.$ac_ext |
7088 | cat confdefs.h >>conftest.$ac_ext |
7621 | cat >>conftest.$ac_ext <<_ACEOF |
7089 | cat >>conftest.$ac_ext <<_ACEOF |
7622 | /* end confdefs.h. */ |
7090 | /* end confdefs.h. */ |
7623 | |
7091 | #include <X11/Xlib.h> |
|
|
7092 | #include <stdlib.h> |
7624 | main() |
7093 | main() |
7625 | { |
7094 | { |
7626 | exit(0); |
7095 | exit(0); |
7627 | (void) XOpenDisplay("foobar"); |
7096 | (void) XOpenDisplay("foobar"); |
7628 | } |
7097 | } |
… | |
… | |
7667 | /* confdefs.h. */ |
7136 | /* confdefs.h. */ |
7668 | _ACEOF |
7137 | _ACEOF |
7669 | cat confdefs.h >>conftest.$ac_ext |
7138 | cat confdefs.h >>conftest.$ac_ext |
7670 | cat >>conftest.$ac_ext <<_ACEOF |
7139 | cat >>conftest.$ac_ext <<_ACEOF |
7671 | /* end confdefs.h. */ |
7140 | /* end confdefs.h. */ |
7672 | |
7141 | #include <X11/Xlib.h> |
|
|
7142 | #include <stdlib.h> |
7673 | main() |
7143 | main() |
7674 | { |
7144 | { |
7675 | exit(0); |
7145 | exit(0); |
7676 | (void) XOpenDisplay("foobar"); |
7146 | (void) XOpenDisplay("foobar"); |
7677 | } |
7147 | } |
… | |
… | |
7733 | grep -v '^ *+' conftest.er1 >conftest.err |
7203 | grep -v '^ *+' conftest.er1 >conftest.err |
7734 | rm -f conftest.er1 |
7204 | rm -f conftest.er1 |
7735 | cat conftest.err >&5 |
7205 | cat conftest.err >&5 |
7736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7737 | (exit $ac_status); } && |
7207 | (exit $ac_status); } && |
7738 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7208 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7209 | || test ! -s conftest.err' |
7739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7740 | (eval $ac_try) 2>&5 |
7211 | (eval $ac_try) 2>&5 |
7741 | ac_status=$? |
7212 | ac_status=$? |
7742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7743 | (exit $ac_status); }; } && |
7214 | (exit $ac_status); }; } && |
… | |
… | |
7766 | |
7237 | |
7767 | fi |
7238 | fi |
7768 | LIBS=$ac_save_LIBS |
7239 | LIBS=$ac_save_LIBS |
7769 | CFLAGS=$ac_save_CFLAGS |
7240 | CFLAGS=$ac_save_CFLAGS |
7770 | |
7241 | |
|
|
7242 | echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
7243 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 |
|
|
7244 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
|
|
7245 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7246 | else |
|
|
7247 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7248 | /* confdefs.h. */ |
|
|
7249 | _ACEOF |
|
|
7250 | cat confdefs.h >>conftest.$ac_ext |
|
|
7251 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7252 | /* end confdefs.h. */ |
|
|
7253 | |
|
|
7254 | #define XLIB_ILLEGAL_ACCESS |
|
|
7255 | #include <X11/Xlib.h> |
|
|
7256 | |
|
|
7257 | int |
|
|
7258 | main () |
|
|
7259 | { |
|
|
7260 | |
|
|
7261 | Display *dpy; |
|
|
7262 | dpy->xdefaults = (char *)0; |
|
|
7263 | |
|
|
7264 | ; |
|
|
7265 | return 0; |
|
|
7266 | } |
|
|
7267 | _ACEOF |
|
|
7268 | rm -f conftest.$ac_objext |
|
|
7269 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7270 | (eval $ac_compile) 2>conftest.er1 |
|
|
7271 | ac_status=$? |
|
|
7272 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7273 | rm -f conftest.er1 |
|
|
7274 | cat conftest.err >&5 |
|
|
7275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7276 | (exit $ac_status); } && |
|
|
7277 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7278 | || test ! -s conftest.err' |
|
|
7279 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7280 | (eval $ac_try) 2>&5 |
|
|
7281 | ac_status=$? |
|
|
7282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7283 | (exit $ac_status); }; } && |
|
|
7284 | { ac_try='test -s conftest.$ac_objext' |
|
|
7285 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7286 | (eval $ac_try) 2>&5 |
|
|
7287 | ac_status=$? |
|
|
7288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7289 | (exit $ac_status); }; }; then |
|
|
7290 | rxvt_xlib_illegal_access=yes |
|
|
7291 | else |
|
|
7292 | echo "$as_me: failed program was:" >&5 |
|
|
7293 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7294 | |
|
|
7295 | rxvt_xlib_illegal_access=no |
|
|
7296 | |
|
|
7297 | fi |
|
|
7298 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7299 | fi |
|
|
7300 | echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
|
|
7301 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6 |
|
|
7302 | if test x$rxvt_xlib_illegal_access = xyes; then |
|
|
7303 | |
|
|
7304 | cat >>confdefs.h <<\_ACEOF |
|
|
7305 | #define XLIB_ILLEGAL_ACCESS 1 |
|
|
7306 | _ACEOF |
|
|
7307 | |
|
|
7308 | fi |
7771 | |
7309 | |
7772 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7310 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7773 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7311 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7774 | if test "${ac_cv_c_const+set}" = set; then |
7312 | if test "${ac_cv_c_const+set}" = set; then |
7775 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7313 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7842 | grep -v '^ *+' conftest.er1 >conftest.err |
7380 | grep -v '^ *+' conftest.er1 >conftest.err |
7843 | rm -f conftest.er1 |
7381 | rm -f conftest.er1 |
7844 | cat conftest.err >&5 |
7382 | cat conftest.err >&5 |
7845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7846 | (exit $ac_status); } && |
7384 | (exit $ac_status); } && |
7847 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7385 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7386 | || test ! -s conftest.err' |
7848 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7849 | (eval $ac_try) 2>&5 |
7388 | (eval $ac_try) 2>&5 |
7850 | ac_status=$? |
7389 | ac_status=$? |
7851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7852 | (exit $ac_status); }; } && |
7391 | (exit $ac_status); }; } && |
… | |
… | |
7902 | grep -v '^ *+' conftest.er1 >conftest.err |
7441 | grep -v '^ *+' conftest.er1 >conftest.err |
7903 | rm -f conftest.er1 |
7442 | rm -f conftest.er1 |
7904 | cat conftest.err >&5 |
7443 | cat conftest.err >&5 |
7905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7906 | (exit $ac_status); } && |
7445 | (exit $ac_status); } && |
7907 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7446 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7447 | || test ! -s conftest.err' |
7908 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7909 | (eval $ac_try) 2>&5 |
7449 | (eval $ac_try) 2>&5 |
7910 | ac_status=$? |
7450 | ac_status=$? |
7911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7912 | (exit $ac_status); }; } && |
7452 | (exit $ac_status); }; } && |
… | |
… | |
7977 | grep -v '^ *+' conftest.er1 >conftest.err |
7517 | grep -v '^ *+' conftest.er1 >conftest.err |
7978 | rm -f conftest.er1 |
7518 | rm -f conftest.er1 |
7979 | cat conftest.err >&5 |
7519 | cat conftest.err >&5 |
7980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7981 | (exit $ac_status); } && |
7521 | (exit $ac_status); } && |
7982 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7522 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7523 | || test ! -s conftest.err' |
7983 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7524 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7984 | (eval $ac_try) 2>&5 |
7525 | (eval $ac_try) 2>&5 |
7985 | ac_status=$? |
7526 | ac_status=$? |
7986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7987 | (exit $ac_status); }; } && |
7528 | (exit $ac_status); }; } && |
… | |
… | |
8042 | grep -v '^ *+' conftest.er1 >conftest.err |
7583 | grep -v '^ *+' conftest.er1 >conftest.err |
8043 | rm -f conftest.er1 |
7584 | rm -f conftest.er1 |
8044 | cat conftest.err >&5 |
7585 | cat conftest.err >&5 |
8045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8046 | (exit $ac_status); } && |
7587 | (exit $ac_status); } && |
8047 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7588 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7589 | || test ! -s conftest.err' |
8048 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7590 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8049 | (eval $ac_try) 2>&5 |
7591 | (eval $ac_try) 2>&5 |
8050 | ac_status=$? |
7592 | ac_status=$? |
8051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8052 | (exit $ac_status); }; } && |
7594 | (exit $ac_status); }; } && |
… | |
… | |
8146 | grep -v '^ *+' conftest.er1 >conftest.err |
7688 | grep -v '^ *+' conftest.er1 >conftest.err |
8147 | rm -f conftest.er1 |
7689 | rm -f conftest.er1 |
8148 | cat conftest.err >&5 |
7690 | cat conftest.err >&5 |
8149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8150 | (exit $ac_status); } && |
7692 | (exit $ac_status); } && |
8151 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7693 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7694 | || test ! -s conftest.err' |
8152 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7695 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8153 | (eval $ac_try) 2>&5 |
7696 | (eval $ac_try) 2>&5 |
8154 | ac_status=$? |
7697 | ac_status=$? |
8155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8156 | (exit $ac_status); }; } && |
7699 | (exit $ac_status); }; } && |
… | |
… | |
8208 | grep -v '^ *+' conftest.er1 >conftest.err |
7751 | grep -v '^ *+' conftest.er1 >conftest.err |
8209 | rm -f conftest.er1 |
7752 | rm -f conftest.er1 |
8210 | cat conftest.err >&5 |
7753 | cat conftest.err >&5 |
8211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8212 | (exit $ac_status); } && |
7755 | (exit $ac_status); } && |
8213 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7756 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7757 | || test ! -s conftest.err' |
8214 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8215 | (eval $ac_try) 2>&5 |
7759 | (eval $ac_try) 2>&5 |
8216 | ac_status=$? |
7760 | ac_status=$? |
8217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8218 | (exit $ac_status); }; } && |
7762 | (exit $ac_status); }; } && |
… | |
… | |
8248 | grep -v '^ *+' conftest.er1 >conftest.err |
7792 | grep -v '^ *+' conftest.er1 >conftest.err |
8249 | rm -f conftest.er1 |
7793 | rm -f conftest.er1 |
8250 | cat conftest.err >&5 |
7794 | cat conftest.err >&5 |
8251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8252 | (exit $ac_status); } && |
7796 | (exit $ac_status); } && |
8253 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7797 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7798 | || test ! -s conftest.err' |
8254 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7799 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8255 | (eval $ac_try) 2>&5 |
7800 | (eval $ac_try) 2>&5 |
8256 | ac_status=$? |
7801 | ac_status=$? |
8257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8258 | (exit $ac_status); }; } && |
7803 | (exit $ac_status); }; } && |
… | |
… | |
8304 | grep -v '^ *+' conftest.er1 >conftest.err |
7849 | grep -v '^ *+' conftest.er1 >conftest.err |
8305 | rm -f conftest.er1 |
7850 | rm -f conftest.er1 |
8306 | cat conftest.err >&5 |
7851 | cat conftest.err >&5 |
8307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8308 | (exit $ac_status); } && |
7853 | (exit $ac_status); } && |
8309 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7854 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7855 | || test ! -s conftest.err' |
8310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7856 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8311 | (eval $ac_try) 2>&5 |
7857 | (eval $ac_try) 2>&5 |
8312 | ac_status=$? |
7858 | ac_status=$? |
8313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8314 | (exit $ac_status); }; } && |
7860 | (exit $ac_status); }; } && |
… | |
… | |
8344 | grep -v '^ *+' conftest.er1 >conftest.err |
7890 | grep -v '^ *+' conftest.er1 >conftest.err |
8345 | rm -f conftest.er1 |
7891 | rm -f conftest.er1 |
8346 | cat conftest.err >&5 |
7892 | cat conftest.err >&5 |
8347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8348 | (exit $ac_status); } && |
7894 | (exit $ac_status); } && |
8349 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7895 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7896 | || test ! -s conftest.err' |
8350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8351 | (eval $ac_try) 2>&5 |
7898 | (eval $ac_try) 2>&5 |
8352 | ac_status=$? |
7899 | ac_status=$? |
8353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8354 | (exit $ac_status); }; } && |
7901 | (exit $ac_status); }; } && |
… | |
… | |
8408 | grep -v '^ *+' conftest.er1 >conftest.err |
7955 | grep -v '^ *+' conftest.er1 >conftest.err |
8409 | rm -f conftest.er1 |
7956 | rm -f conftest.er1 |
8410 | cat conftest.err >&5 |
7957 | cat conftest.err >&5 |
8411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8412 | (exit $ac_status); } && |
7959 | (exit $ac_status); } && |
8413 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7960 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7961 | || test ! -s conftest.err' |
8414 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8415 | (eval $ac_try) 2>&5 |
7963 | (eval $ac_try) 2>&5 |
8416 | ac_status=$? |
7964 | ac_status=$? |
8417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8418 | (exit $ac_status); }; } && |
7966 | (exit $ac_status); }; } && |
… | |
… | |
8439 | See \`config.log' for more details." >&2;} |
7987 | See \`config.log' for more details." >&2;} |
8440 | { (exit 1); exit 1; }; } ;; |
7988 | { (exit 1); exit 1; }; } ;; |
8441 | esac |
7989 | esac |
8442 | else |
7990 | else |
8443 | if test "$cross_compiling" = yes; then |
7991 | if test "$cross_compiling" = yes; then |
8444 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
7992 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8445 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
7993 | See \`config.log' for more details." >&5 |
|
|
7994 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
7995 | See \`config.log' for more details." >&2;} |
8446 | { (exit 1); exit 1; }; } |
7996 | { (exit 1); exit 1; }; } |
8447 | else |
7997 | else |
8448 | cat >conftest.$ac_ext <<_ACEOF |
7998 | cat >conftest.$ac_ext <<_ACEOF |
8449 | /* confdefs.h. */ |
7999 | /* confdefs.h. */ |
8450 | _ACEOF |
8000 | _ACEOF |
… | |
… | |
8552 | grep -v '^ *+' conftest.er1 >conftest.err |
8102 | grep -v '^ *+' conftest.er1 >conftest.err |
8553 | rm -f conftest.er1 |
8103 | rm -f conftest.er1 |
8554 | cat conftest.err >&5 |
8104 | cat conftest.err >&5 |
8555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8556 | (exit $ac_status); } && |
8106 | (exit $ac_status); } && |
8557 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8107 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8108 | || test ! -s conftest.err' |
8558 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8109 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8559 | (eval $ac_try) 2>&5 |
8110 | (eval $ac_try) 2>&5 |
8560 | ac_status=$? |
8111 | ac_status=$? |
8561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8562 | (exit $ac_status); }; } && |
8113 | (exit $ac_status); }; } && |
… | |
… | |
8614 | grep -v '^ *+' conftest.er1 >conftest.err |
8165 | grep -v '^ *+' conftest.er1 >conftest.err |
8615 | rm -f conftest.er1 |
8166 | rm -f conftest.er1 |
8616 | cat conftest.err >&5 |
8167 | cat conftest.err >&5 |
8617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8618 | (exit $ac_status); } && |
8169 | (exit $ac_status); } && |
8619 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8170 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8171 | || test ! -s conftest.err' |
8620 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8621 | (eval $ac_try) 2>&5 |
8173 | (eval $ac_try) 2>&5 |
8622 | ac_status=$? |
8174 | ac_status=$? |
8623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8624 | (exit $ac_status); }; } && |
8176 | (exit $ac_status); }; } && |
… | |
… | |
8654 | grep -v '^ *+' conftest.er1 >conftest.err |
8206 | grep -v '^ *+' conftest.er1 >conftest.err |
8655 | rm -f conftest.er1 |
8207 | rm -f conftest.er1 |
8656 | cat conftest.err >&5 |
8208 | cat conftest.err >&5 |
8657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8658 | (exit $ac_status); } && |
8210 | (exit $ac_status); } && |
8659 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8211 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8212 | || test ! -s conftest.err' |
8660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8661 | (eval $ac_try) 2>&5 |
8214 | (eval $ac_try) 2>&5 |
8662 | ac_status=$? |
8215 | ac_status=$? |
8663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8664 | (exit $ac_status); }; } && |
8217 | (exit $ac_status); }; } && |
… | |
… | |
8710 | grep -v '^ *+' conftest.er1 >conftest.err |
8263 | grep -v '^ *+' conftest.er1 >conftest.err |
8711 | rm -f conftest.er1 |
8264 | rm -f conftest.er1 |
8712 | cat conftest.err >&5 |
8265 | cat conftest.err >&5 |
8713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8714 | (exit $ac_status); } && |
8267 | (exit $ac_status); } && |
8715 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8268 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8269 | || test ! -s conftest.err' |
8716 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8717 | (eval $ac_try) 2>&5 |
8271 | (eval $ac_try) 2>&5 |
8718 | ac_status=$? |
8272 | ac_status=$? |
8719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8720 | (exit $ac_status); }; } && |
8274 | (exit $ac_status); }; } && |
… | |
… | |
8750 | grep -v '^ *+' conftest.er1 >conftest.err |
8304 | grep -v '^ *+' conftest.er1 >conftest.err |
8751 | rm -f conftest.er1 |
8305 | rm -f conftest.er1 |
8752 | cat conftest.err >&5 |
8306 | cat conftest.err >&5 |
8753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8754 | (exit $ac_status); } && |
8308 | (exit $ac_status); } && |
8755 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8309 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8310 | || test ! -s conftest.err' |
8756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8311 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8757 | (eval $ac_try) 2>&5 |
8312 | (eval $ac_try) 2>&5 |
8758 | ac_status=$? |
8313 | ac_status=$? |
8759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8760 | (exit $ac_status); }; } && |
8315 | (exit $ac_status); }; } && |
… | |
… | |
8814 | grep -v '^ *+' conftest.er1 >conftest.err |
8369 | grep -v '^ *+' conftest.er1 >conftest.err |
8815 | rm -f conftest.er1 |
8370 | rm -f conftest.er1 |
8816 | cat conftest.err >&5 |
8371 | cat conftest.err >&5 |
8817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8818 | (exit $ac_status); } && |
8373 | (exit $ac_status); } && |
8819 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8374 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8375 | || test ! -s conftest.err' |
8820 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8821 | (eval $ac_try) 2>&5 |
8377 | (eval $ac_try) 2>&5 |
8822 | ac_status=$? |
8378 | ac_status=$? |
8823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8824 | (exit $ac_status); }; } && |
8380 | (exit $ac_status); }; } && |
… | |
… | |
8845 | See \`config.log' for more details." >&2;} |
8401 | See \`config.log' for more details." >&2;} |
8846 | { (exit 1); exit 1; }; } ;; |
8402 | { (exit 1); exit 1; }; } ;; |
8847 | esac |
8403 | esac |
8848 | else |
8404 | else |
8849 | if test "$cross_compiling" = yes; then |
8405 | if test "$cross_compiling" = yes; then |
8850 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8406 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8851 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8407 | See \`config.log' for more details." >&5 |
|
|
8408 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8409 | See \`config.log' for more details." >&2;} |
8852 | { (exit 1); exit 1; }; } |
8410 | { (exit 1); exit 1; }; } |
8853 | else |
8411 | else |
8854 | cat >conftest.$ac_ext <<_ACEOF |
8412 | cat >conftest.$ac_ext <<_ACEOF |
8855 | /* confdefs.h. */ |
8413 | /* confdefs.h. */ |
8856 | _ACEOF |
8414 | _ACEOF |
… | |
… | |
8958 | grep -v '^ *+' conftest.er1 >conftest.err |
8516 | grep -v '^ *+' conftest.er1 >conftest.err |
8959 | rm -f conftest.er1 |
8517 | rm -f conftest.er1 |
8960 | cat conftest.err >&5 |
8518 | cat conftest.err >&5 |
8961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8962 | (exit $ac_status); } && |
8520 | (exit $ac_status); } && |
8963 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8521 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8522 | || test ! -s conftest.err' |
8964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8523 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8965 | (eval $ac_try) 2>&5 |
8524 | (eval $ac_try) 2>&5 |
8966 | ac_status=$? |
8525 | ac_status=$? |
8967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8968 | (exit $ac_status); }; } && |
8527 | (exit $ac_status); }; } && |
… | |
… | |
9020 | grep -v '^ *+' conftest.er1 >conftest.err |
8579 | grep -v '^ *+' conftest.er1 >conftest.err |
9021 | rm -f conftest.er1 |
8580 | rm -f conftest.er1 |
9022 | cat conftest.err >&5 |
8581 | cat conftest.err >&5 |
9023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9024 | (exit $ac_status); } && |
8583 | (exit $ac_status); } && |
9025 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8584 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8585 | || test ! -s conftest.err' |
9026 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9027 | (eval $ac_try) 2>&5 |
8587 | (eval $ac_try) 2>&5 |
9028 | ac_status=$? |
8588 | ac_status=$? |
9029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9030 | (exit $ac_status); }; } && |
8590 | (exit $ac_status); }; } && |
… | |
… | |
9060 | grep -v '^ *+' conftest.er1 >conftest.err |
8620 | grep -v '^ *+' conftest.er1 >conftest.err |
9061 | rm -f conftest.er1 |
8621 | rm -f conftest.er1 |
9062 | cat conftest.err >&5 |
8622 | cat conftest.err >&5 |
9063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9064 | (exit $ac_status); } && |
8624 | (exit $ac_status); } && |
9065 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8625 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8626 | || test ! -s conftest.err' |
9066 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8627 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9067 | (eval $ac_try) 2>&5 |
8628 | (eval $ac_try) 2>&5 |
9068 | ac_status=$? |
8629 | ac_status=$? |
9069 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9070 | (exit $ac_status); }; } && |
8631 | (exit $ac_status); }; } && |
… | |
… | |
9116 | grep -v '^ *+' conftest.er1 >conftest.err |
8677 | grep -v '^ *+' conftest.er1 >conftest.err |
9117 | rm -f conftest.er1 |
8678 | rm -f conftest.er1 |
9118 | cat conftest.err >&5 |
8679 | cat conftest.err >&5 |
9119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9120 | (exit $ac_status); } && |
8681 | (exit $ac_status); } && |
9121 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8682 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8683 | || test ! -s conftest.err' |
9122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8684 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9123 | (eval $ac_try) 2>&5 |
8685 | (eval $ac_try) 2>&5 |
9124 | ac_status=$? |
8686 | ac_status=$? |
9125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9126 | (exit $ac_status); }; } && |
8688 | (exit $ac_status); }; } && |
… | |
… | |
9156 | grep -v '^ *+' conftest.er1 >conftest.err |
8718 | grep -v '^ *+' conftest.er1 >conftest.err |
9157 | rm -f conftest.er1 |
8719 | rm -f conftest.er1 |
9158 | cat conftest.err >&5 |
8720 | cat conftest.err >&5 |
9159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9160 | (exit $ac_status); } && |
8722 | (exit $ac_status); } && |
9161 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8723 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8724 | || test ! -s conftest.err' |
9162 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9163 | (eval $ac_try) 2>&5 |
8726 | (eval $ac_try) 2>&5 |
9164 | ac_status=$? |
8727 | ac_status=$? |
9165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9166 | (exit $ac_status); }; } && |
8729 | (exit $ac_status); }; } && |
… | |
… | |
9220 | grep -v '^ *+' conftest.er1 >conftest.err |
8783 | grep -v '^ *+' conftest.er1 >conftest.err |
9221 | rm -f conftest.er1 |
8784 | rm -f conftest.er1 |
9222 | cat conftest.err >&5 |
8785 | cat conftest.err >&5 |
9223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9224 | (exit $ac_status); } && |
8787 | (exit $ac_status); } && |
9225 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8788 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8789 | || test ! -s conftest.err' |
9226 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9227 | (eval $ac_try) 2>&5 |
8791 | (eval $ac_try) 2>&5 |
9228 | ac_status=$? |
8792 | ac_status=$? |
9229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9230 | (exit $ac_status); }; } && |
8794 | (exit $ac_status); }; } && |
… | |
… | |
9251 | See \`config.log' for more details." >&2;} |
8815 | See \`config.log' for more details." >&2;} |
9252 | { (exit 1); exit 1; }; } ;; |
8816 | { (exit 1); exit 1; }; } ;; |
9253 | esac |
8817 | esac |
9254 | else |
8818 | else |
9255 | if test "$cross_compiling" = yes; then |
8819 | if test "$cross_compiling" = yes; then |
9256 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8820 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
9257 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8821 | See \`config.log' for more details." >&5 |
|
|
8822 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8823 | See \`config.log' for more details." >&2;} |
9258 | { (exit 1); exit 1; }; } |
8824 | { (exit 1); exit 1; }; } |
9259 | else |
8825 | else |
9260 | cat >conftest.$ac_ext <<_ACEOF |
8826 | cat >conftest.$ac_ext <<_ACEOF |
9261 | /* confdefs.h. */ |
8827 | /* confdefs.h. */ |
9262 | _ACEOF |
8828 | _ACEOF |
… | |
… | |
9364 | grep -v '^ *+' conftest.er1 >conftest.err |
8930 | grep -v '^ *+' conftest.er1 >conftest.err |
9365 | rm -f conftest.er1 |
8931 | rm -f conftest.er1 |
9366 | cat conftest.err >&5 |
8932 | cat conftest.err >&5 |
9367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9368 | (exit $ac_status); } && |
8934 | (exit $ac_status); } && |
9369 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8935 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8936 | || test ! -s conftest.err' |
9370 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9371 | (eval $ac_try) 2>&5 |
8938 | (eval $ac_try) 2>&5 |
9372 | ac_status=$? |
8939 | ac_status=$? |
9373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9374 | (exit $ac_status); }; } && |
8941 | (exit $ac_status); }; } && |
… | |
… | |
9426 | grep -v '^ *+' conftest.er1 >conftest.err |
8993 | grep -v '^ *+' conftest.er1 >conftest.err |
9427 | rm -f conftest.er1 |
8994 | rm -f conftest.er1 |
9428 | cat conftest.err >&5 |
8995 | cat conftest.err >&5 |
9429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9430 | (exit $ac_status); } && |
8997 | (exit $ac_status); } && |
9431 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8998 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8999 | || test ! -s conftest.err' |
9432 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9000 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9433 | (eval $ac_try) 2>&5 |
9001 | (eval $ac_try) 2>&5 |
9434 | ac_status=$? |
9002 | ac_status=$? |
9435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9436 | (exit $ac_status); }; } && |
9004 | (exit $ac_status); }; } && |
… | |
… | |
9466 | grep -v '^ *+' conftest.er1 >conftest.err |
9034 | grep -v '^ *+' conftest.er1 >conftest.err |
9467 | rm -f conftest.er1 |
9035 | rm -f conftest.er1 |
9468 | cat conftest.err >&5 |
9036 | cat conftest.err >&5 |
9469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9470 | (exit $ac_status); } && |
9038 | (exit $ac_status); } && |
9471 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9039 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9040 | || test ! -s conftest.err' |
9472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9041 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9473 | (eval $ac_try) 2>&5 |
9042 | (eval $ac_try) 2>&5 |
9474 | ac_status=$? |
9043 | ac_status=$? |
9475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9476 | (exit $ac_status); }; } && |
9045 | (exit $ac_status); }; } && |
… | |
… | |
9522 | grep -v '^ *+' conftest.er1 >conftest.err |
9091 | grep -v '^ *+' conftest.er1 >conftest.err |
9523 | rm -f conftest.er1 |
9092 | rm -f conftest.er1 |
9524 | cat conftest.err >&5 |
9093 | cat conftest.err >&5 |
9525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9526 | (exit $ac_status); } && |
9095 | (exit $ac_status); } && |
9527 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9096 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9097 | || test ! -s conftest.err' |
9528 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9529 | (eval $ac_try) 2>&5 |
9099 | (eval $ac_try) 2>&5 |
9530 | ac_status=$? |
9100 | ac_status=$? |
9531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9532 | (exit $ac_status); }; } && |
9102 | (exit $ac_status); }; } && |
… | |
… | |
9562 | grep -v '^ *+' conftest.er1 >conftest.err |
9132 | grep -v '^ *+' conftest.er1 >conftest.err |
9563 | rm -f conftest.er1 |
9133 | rm -f conftest.er1 |
9564 | cat conftest.err >&5 |
9134 | cat conftest.err >&5 |
9565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9566 | (exit $ac_status); } && |
9136 | (exit $ac_status); } && |
9567 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9137 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9138 | || test ! -s conftest.err' |
9568 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9139 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9569 | (eval $ac_try) 2>&5 |
9140 | (eval $ac_try) 2>&5 |
9570 | ac_status=$? |
9141 | ac_status=$? |
9571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9572 | (exit $ac_status); }; } && |
9143 | (exit $ac_status); }; } && |
… | |
… | |
9626 | grep -v '^ *+' conftest.er1 >conftest.err |
9197 | grep -v '^ *+' conftest.er1 >conftest.err |
9627 | rm -f conftest.er1 |
9198 | rm -f conftest.er1 |
9628 | cat conftest.err >&5 |
9199 | cat conftest.err >&5 |
9629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9200 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9630 | (exit $ac_status); } && |
9201 | (exit $ac_status); } && |
9631 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9202 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9203 | || test ! -s conftest.err' |
9632 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9204 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9633 | (eval $ac_try) 2>&5 |
9205 | (eval $ac_try) 2>&5 |
9634 | ac_status=$? |
9206 | ac_status=$? |
9635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9636 | (exit $ac_status); }; } && |
9208 | (exit $ac_status); }; } && |
… | |
… | |
9657 | See \`config.log' for more details." >&2;} |
9229 | See \`config.log' for more details." >&2;} |
9658 | { (exit 1); exit 1; }; } ;; |
9230 | { (exit 1); exit 1; }; } ;; |
9659 | esac |
9231 | esac |
9660 | else |
9232 | else |
9661 | if test "$cross_compiling" = yes; then |
9233 | if test "$cross_compiling" = yes; then |
9662 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
9234 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
9663 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
9235 | See \`config.log' for more details." >&5 |
|
|
9236 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
9237 | See \`config.log' for more details." >&2;} |
9664 | { (exit 1); exit 1; }; } |
9238 | { (exit 1); exit 1; }; } |
9665 | else |
9239 | else |
9666 | cat >conftest.$ac_ext <<_ACEOF |
9240 | cat >conftest.$ac_ext <<_ACEOF |
9667 | /* confdefs.h. */ |
9241 | /* confdefs.h. */ |
9668 | _ACEOF |
9242 | _ACEOF |
… | |
… | |
9769 | grep -v '^ *+' conftest.er1 >conftest.err |
9343 | grep -v '^ *+' conftest.er1 >conftest.err |
9770 | rm -f conftest.er1 |
9344 | rm -f conftest.er1 |
9771 | cat conftest.err >&5 |
9345 | cat conftest.err >&5 |
9772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9773 | (exit $ac_status); } && |
9347 | (exit $ac_status); } && |
9774 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9348 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9349 | || test ! -s conftest.err' |
9775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9776 | (eval $ac_try) 2>&5 |
9351 | (eval $ac_try) 2>&5 |
9777 | ac_status=$? |
9352 | ac_status=$? |
9778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9779 | (exit $ac_status); }; } && |
9354 | (exit $ac_status); }; } && |
… | |
… | |
9851 | grep -v '^ *+' conftest.er1 >conftest.err |
9426 | grep -v '^ *+' conftest.er1 >conftest.err |
9852 | rm -f conftest.er1 |
9427 | rm -f conftest.er1 |
9853 | cat conftest.err >&5 |
9428 | cat conftest.err >&5 |
9854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9855 | (exit $ac_status); } && |
9430 | (exit $ac_status); } && |
9856 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9431 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9432 | || test ! -s conftest.err' |
9857 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9858 | (eval $ac_try) 2>&5 |
9434 | (eval $ac_try) 2>&5 |
9859 | ac_status=$? |
9435 | ac_status=$? |
9860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9861 | (exit $ac_status); }; } && |
9437 | (exit $ac_status); }; } && |
… | |
… | |
9933 | grep -v '^ *+' conftest.er1 >conftest.err |
9509 | grep -v '^ *+' conftest.er1 >conftest.err |
9934 | rm -f conftest.er1 |
9510 | rm -f conftest.er1 |
9935 | cat conftest.err >&5 |
9511 | cat conftest.err >&5 |
9936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9937 | (exit $ac_status); } && |
9513 | (exit $ac_status); } && |
9938 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9514 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9515 | || test ! -s conftest.err' |
9939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9940 | (eval $ac_try) 2>&5 |
9517 | (eval $ac_try) 2>&5 |
9941 | ac_status=$? |
9518 | ac_status=$? |
9942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9943 | (exit $ac_status); }; } && |
9520 | (exit $ac_status); }; } && |
… | |
… | |
10015 | grep -v '^ *+' conftest.er1 >conftest.err |
9592 | grep -v '^ *+' conftest.er1 >conftest.err |
10016 | rm -f conftest.er1 |
9593 | rm -f conftest.er1 |
10017 | cat conftest.err >&5 |
9594 | cat conftest.err >&5 |
10018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10019 | (exit $ac_status); } && |
9596 | (exit $ac_status); } && |
10020 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9597 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9598 | || test ! -s conftest.err' |
10021 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10022 | (eval $ac_try) 2>&5 |
9600 | (eval $ac_try) 2>&5 |
10023 | ac_status=$? |
9601 | ac_status=$? |
10024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10025 | (exit $ac_status); }; } && |
9603 | (exit $ac_status); }; } && |
… | |
… | |
10127 | grep -v '^ *+' conftest.er1 >conftest.err |
9705 | grep -v '^ *+' conftest.er1 >conftest.err |
10128 | rm -f conftest.er1 |
9706 | rm -f conftest.er1 |
10129 | cat conftest.err >&5 |
9707 | cat conftest.err >&5 |
10130 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10131 | (exit $ac_status); } && |
9709 | (exit $ac_status); } && |
10132 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9710 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9711 | || test ! -s conftest.err' |
10133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10134 | (eval $ac_try) 2>&5 |
9713 | (eval $ac_try) 2>&5 |
10135 | ac_status=$? |
9714 | ac_status=$? |
10136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10137 | (exit $ac_status); }; } && |
9716 | (exit $ac_status); }; } && |
… | |
… | |
10157 | #define RETSIGTYPE $ac_cv_type_signal |
9736 | #define RETSIGTYPE $ac_cv_type_signal |
10158 | _ACEOF |
9737 | _ACEOF |
10159 | |
9738 | |
10160 | |
9739 | |
10161 | |
9740 | |
10162 | case "$host_alias" in |
|
|
10163 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
10164 | *) break;; |
|
|
10165 | esac |
|
|
10166 | |
|
|
10167 | |
|
|
10168 | |
|
|
10169 | |
|
|
10170 | |
|
|
10171 | |
|
|
10172 | |
|
|
10173 | |
|
|
10174 | |
|
|
10175 | |
|
|
10176 | |
|
|
10177 | |
|
|
10178 | |
|
|
10179 | |
|
|
10180 | |
|
|
10181 | |
|
|
10182 | |
|
|
10183 | |
9741 | |
10184 | |
9742 | |
10185 | |
9743 | |
10186 | for ac_func in \ |
9744 | for ac_func in \ |
10187 | atexit \ |
|
|
10188 | revoke \ |
|
|
10189 | unsetenv \ |
9745 | unsetenv \ |
10190 | setutent \ |
9746 | setutent \ |
10191 | seteuid \ |
|
|
10192 | setreuid \ |
|
|
10193 | setsid \ |
|
|
10194 | setpgrp \ |
|
|
10195 | setpgid \ |
|
|
10196 | openpty \ |
|
|
10197 | _getpty \ |
|
|
10198 | grantpt \ |
|
|
10199 | unlockpt \ |
|
|
10200 | isastream \ |
|
|
10201 | on_exit \ |
9747 | on_exit \ |
10202 | nanosleep \ |
|
|
10203 | updwtmp \ |
|
|
10204 | updwtmpx \ |
|
|
10205 | ttyslot \ |
|
|
10206 | |
9748 | |
10207 | do |
9749 | do |
10208 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9750 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10209 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9751 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10210 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9752 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
10269 | grep -v '^ *+' conftest.er1 >conftest.err |
9811 | grep -v '^ *+' conftest.er1 >conftest.err |
10270 | rm -f conftest.er1 |
9812 | rm -f conftest.er1 |
10271 | cat conftest.err >&5 |
9813 | cat conftest.err >&5 |
10272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10273 | (exit $ac_status); } && |
9815 | (exit $ac_status); } && |
10274 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9816 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9817 | || test ! -s conftest.err' |
10275 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10276 | (eval $ac_try) 2>&5 |
9819 | (eval $ac_try) 2>&5 |
10277 | ac_status=$? |
9820 | ac_status=$? |
10278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10279 | (exit $ac_status); }; } && |
9822 | (exit $ac_status); }; } && |
… | |
… | |
10303 | fi |
9846 | fi |
10304 | done |
9847 | done |
10305 | |
9848 | |
10306 | |
9849 | |
10307 | |
9850 | |
|
|
9851 | support_utmp=yes |
|
|
9852 | support_wtmp=yes |
|
|
9853 | support_lastlog=yes |
|
|
9854 | |
|
|
9855 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
9856 | if test "${enable_utmp+set}" = set; then |
|
|
9857 | enableval="$enable_utmp" |
|
|
9858 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9859 | support_utmp=$enableval |
|
|
9860 | fi |
|
|
9861 | fi; |
|
|
9862 | |
|
|
9863 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
9864 | if test "${enable_wtmp+set}" = set; then |
|
|
9865 | enableval="$enable_wtmp" |
|
|
9866 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9867 | support_wtmp=$enableval |
|
|
9868 | fi |
|
|
9869 | fi; |
|
|
9870 | |
|
|
9871 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
9872 | if test "${enable_lastlog+set}" = set; then |
|
|
9873 | enableval="$enable_lastlog" |
|
|
9874 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9875 | support_lastlog=$enableval |
|
|
9876 | fi |
|
|
9877 | fi; |
|
|
9878 | |
|
|
9879 | if test x$support_utmp = xyes; then |
|
|
9880 | |
|
|
9881 | cat >>confdefs.h <<\_ACEOF |
|
|
9882 | #define UTMP_SUPPORT 1 |
|
|
9883 | _ACEOF |
|
|
9884 | |
|
|
9885 | fi |
|
|
9886 | if test x$support_wtmp = xyes; then |
|
|
9887 | |
|
|
9888 | cat >>confdefs.h <<\_ACEOF |
|
|
9889 | #define WTMP_SUPPORT 1 |
|
|
9890 | _ACEOF |
|
|
9891 | |
|
|
9892 | fi |
|
|
9893 | if test x$support_lastlog = xyes; then |
|
|
9894 | |
|
|
9895 | cat >>confdefs.h <<\_ACEOF |
|
|
9896 | #define LASTLOG_SUPPORT 1 |
|
|
9897 | _ACEOF |
|
|
9898 | |
|
|
9899 | fi |
|
|
9900 | |
|
|
9901 | |
|
|
9902 | |
|
|
9903 | |
|
|
9904 | for ac_func in \ |
|
|
9905 | ttyslot \ |
|
|
9906 | updwtmp \ |
|
|
9907 | updwtmpx \ |
|
|
9908 | |
|
|
9909 | do |
|
|
9910 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
9911 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
9912 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
9913 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
9914 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9915 | else |
|
|
9916 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9917 | /* confdefs.h. */ |
|
|
9918 | _ACEOF |
|
|
9919 | cat confdefs.h >>conftest.$ac_ext |
|
|
9920 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9921 | /* end confdefs.h. */ |
|
|
9922 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9923 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9924 | #define $ac_func innocuous_$ac_func |
|
|
9925 | |
|
|
9926 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9927 | which can conflict with char $ac_func (); below. |
|
|
9928 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9929 | <limits.h> exists even on freestanding compilers. */ |
|
|
9930 | |
|
|
9931 | #ifdef __STDC__ |
|
|
9932 | # include <limits.h> |
|
|
9933 | #else |
|
|
9934 | # include <assert.h> |
|
|
9935 | #endif |
|
|
9936 | |
|
|
9937 | #undef $ac_func |
|
|
9938 | |
|
|
9939 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9940 | #ifdef __cplusplus |
|
|
9941 | extern "C" |
|
|
9942 | { |
|
|
9943 | #endif |
|
|
9944 | /* We use char because int might match the return type of a gcc2 |
|
|
9945 | builtin and then its argument prototype would still apply. */ |
|
|
9946 | char $ac_func (); |
|
|
9947 | /* The GNU C library defines this for functions which it implements |
|
|
9948 | to always fail with ENOSYS. Some functions are actually named |
|
|
9949 | something starting with __ and the normal name is an alias. */ |
|
|
9950 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
9951 | choke me |
|
|
9952 | #else |
|
|
9953 | char (*f) () = $ac_func; |
|
|
9954 | #endif |
|
|
9955 | #ifdef __cplusplus |
|
|
9956 | } |
|
|
9957 | #endif |
|
|
9958 | |
|
|
9959 | int |
|
|
9960 | main () |
|
|
9961 | { |
|
|
9962 | return f != $ac_func; |
|
|
9963 | ; |
|
|
9964 | return 0; |
|
|
9965 | } |
|
|
9966 | _ACEOF |
|
|
9967 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9968 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9969 | (eval $ac_link) 2>conftest.er1 |
|
|
9970 | ac_status=$? |
|
|
9971 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9972 | rm -f conftest.er1 |
|
|
9973 | cat conftest.err >&5 |
|
|
9974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9975 | (exit $ac_status); } && |
|
|
9976 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9977 | || test ! -s conftest.err' |
|
|
9978 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9979 | (eval $ac_try) 2>&5 |
|
|
9980 | ac_status=$? |
|
|
9981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9982 | (exit $ac_status); }; } && |
|
|
9983 | { ac_try='test -s conftest$ac_exeext' |
|
|
9984 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9985 | (eval $ac_try) 2>&5 |
|
|
9986 | ac_status=$? |
|
|
9987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9988 | (exit $ac_status); }; }; then |
|
|
9989 | eval "$as_ac_var=yes" |
|
|
9990 | else |
|
|
9991 | echo "$as_me: failed program was:" >&5 |
|
|
9992 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9993 | |
|
|
9994 | eval "$as_ac_var=no" |
|
|
9995 | fi |
|
|
9996 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9997 | conftest$ac_exeext conftest.$ac_ext |
|
|
9998 | fi |
|
|
9999 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
10000 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
10001 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
10002 | cat >>confdefs.h <<_ACEOF |
|
|
10003 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
10004 | _ACEOF |
|
|
10005 | |
|
|
10006 | fi |
|
|
10007 | done |
|
|
10008 | |
|
|
10009 | |
|
|
10010 | |
|
|
10011 | |
|
|
10012 | |
|
|
10013 | for ac_header in \ |
|
|
10014 | utmp.h \ |
|
|
10015 | utmpx.h \ |
|
|
10016 | lastlog.h \ |
|
|
10017 | |
|
|
10018 | do |
|
|
10019 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10020 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10021 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10022 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10023 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10024 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10025 | fi |
|
|
10026 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10027 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10028 | else |
|
|
10029 | # Is the header compilable? |
|
|
10030 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
10031 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
10032 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10033 | /* confdefs.h. */ |
|
|
10034 | _ACEOF |
|
|
10035 | cat confdefs.h >>conftest.$ac_ext |
|
|
10036 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10037 | /* end confdefs.h. */ |
|
|
10038 | $ac_includes_default |
|
|
10039 | #include <$ac_header> |
|
|
10040 | _ACEOF |
|
|
10041 | rm -f conftest.$ac_objext |
|
|
10042 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10043 | (eval $ac_compile) 2>conftest.er1 |
|
|
10044 | ac_status=$? |
|
|
10045 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10046 | rm -f conftest.er1 |
|
|
10047 | cat conftest.err >&5 |
|
|
10048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10049 | (exit $ac_status); } && |
|
|
10050 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10051 | || test ! -s conftest.err' |
|
|
10052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10053 | (eval $ac_try) 2>&5 |
|
|
10054 | ac_status=$? |
|
|
10055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10056 | (exit $ac_status); }; } && |
|
|
10057 | { ac_try='test -s conftest.$ac_objext' |
|
|
10058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10059 | (eval $ac_try) 2>&5 |
|
|
10060 | ac_status=$? |
|
|
10061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10062 | (exit $ac_status); }; }; then |
|
|
10063 | ac_header_compiler=yes |
|
|
10064 | else |
|
|
10065 | echo "$as_me: failed program was:" >&5 |
|
|
10066 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10067 | |
|
|
10068 | ac_header_compiler=no |
|
|
10069 | fi |
|
|
10070 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10071 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
10072 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
10073 | |
|
|
10074 | # Is the header present? |
|
|
10075 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
10076 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
10077 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10078 | /* confdefs.h. */ |
|
|
10079 | _ACEOF |
|
|
10080 | cat confdefs.h >>conftest.$ac_ext |
|
|
10081 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10082 | /* end confdefs.h. */ |
|
|
10083 | #include <$ac_header> |
|
|
10084 | _ACEOF |
|
|
10085 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
10086 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
10087 | ac_status=$? |
|
|
10088 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10089 | rm -f conftest.er1 |
|
|
10090 | cat conftest.err >&5 |
|
|
10091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10092 | (exit $ac_status); } >/dev/null; then |
|
|
10093 | if test -s conftest.err; then |
|
|
10094 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
10095 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
10096 | else |
|
|
10097 | ac_cpp_err= |
|
|
10098 | fi |
|
|
10099 | else |
|
|
10100 | ac_cpp_err=yes |
|
|
10101 | fi |
|
|
10102 | if test -z "$ac_cpp_err"; then |
|
|
10103 | ac_header_preproc=yes |
|
|
10104 | else |
|
|
10105 | echo "$as_me: failed program was:" >&5 |
|
|
10106 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10107 | |
|
|
10108 | ac_header_preproc=no |
|
|
10109 | fi |
|
|
10110 | rm -f conftest.err conftest.$ac_ext |
|
|
10111 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
10112 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
10113 | |
|
|
10114 | # So? What about this header? |
|
|
10115 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
10116 | yes:no: ) |
|
|
10117 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
10118 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
10119 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
10120 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
10121 | ac_header_preproc=yes |
|
|
10122 | ;; |
|
|
10123 | no:yes:* ) |
|
|
10124 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
10125 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
10126 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
10127 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
10128 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
10129 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
10130 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10131 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10132 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
10133 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
10134 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
10135 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
10136 | ( |
|
|
10137 | cat <<\_ASBOX |
|
|
10138 | ## ------------------------------------------ ## |
|
|
10139 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10140 | ## ------------------------------------------ ## |
|
|
10141 | _ASBOX |
|
|
10142 | ) | |
|
|
10143 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10144 | ;; |
|
|
10145 | esac |
|
|
10146 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10147 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10148 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10150 | else |
|
|
10151 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
10152 | fi |
|
|
10153 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10154 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10155 | |
|
|
10156 | fi |
|
|
10157 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10158 | cat >>confdefs.h <<_ACEOF |
|
|
10159 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10160 | _ACEOF |
|
|
10161 | |
|
|
10162 | fi |
|
|
10163 | |
|
|
10164 | done |
|
|
10165 | |
|
|
10166 | |
|
|
10167 | |
10308 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10168 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10309 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10169 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10310 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10170 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10311 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10171 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10312 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10172 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10333 | grep -v '^ *+' conftest.er1 >conftest.err |
10193 | grep -v '^ *+' conftest.er1 >conftest.err |
10334 | rm -f conftest.er1 |
10194 | rm -f conftest.er1 |
10335 | cat conftest.err >&5 |
10195 | cat conftest.err >&5 |
10336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10337 | (exit $ac_status); } && |
10197 | (exit $ac_status); } && |
10338 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10198 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10199 | || test ! -s conftest.err' |
10339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10200 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10340 | (eval $ac_try) 2>&5 |
10201 | (eval $ac_try) 2>&5 |
10341 | ac_status=$? |
10202 | ac_status=$? |
10342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10343 | (exit $ac_status); }; } && |
10204 | (exit $ac_status); }; } && |
… | |
… | |
10442 | |
10303 | |
10443 | fi |
10304 | fi |
10444 | if test $ac_cv_header_utmp_h = yes; then |
10305 | if test $ac_cv_header_utmp_h = yes; then |
10445 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10306 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10446 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10307 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10447 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
10308 | if test "${struct_utmp+set}" = set; then |
10448 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10309 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10449 | else |
10310 | else |
10450 | cat >conftest.$ac_ext <<_ACEOF |
10311 | cat >conftest.$ac_ext <<_ACEOF |
10451 | /* confdefs.h. */ |
10312 | /* confdefs.h. */ |
10452 | _ACEOF |
10313 | _ACEOF |
10453 | cat confdefs.h >>conftest.$ac_ext |
10314 | cat confdefs.h >>conftest.$ac_ext |
10454 | cat >>conftest.$ac_ext <<_ACEOF |
10315 | cat >>conftest.$ac_ext <<_ACEOF |
10455 | /* end confdefs.h. */ |
10316 | /* end confdefs.h. */ |
10456 | #include <sys/types.h> |
10317 | #include <sys/types.h> |
10457 | #include <stdint.h> |
|
|
10458 | #include <utmp.h> |
10318 | #include <utmp.h> |
10459 | int |
10319 | int |
10460 | main () |
10320 | main () |
10461 | { |
10321 | { |
10462 | struct utmp ut; |
10322 | struct utmp ut; |
… | |
… | |
10471 | grep -v '^ *+' conftest.er1 >conftest.err |
10331 | grep -v '^ *+' conftest.er1 >conftest.err |
10472 | rm -f conftest.er1 |
10332 | rm -f conftest.er1 |
10473 | cat conftest.err >&5 |
10333 | cat conftest.err >&5 |
10474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10475 | (exit $ac_status); } && |
10335 | (exit $ac_status); } && |
10476 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10336 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10337 | || test ! -s conftest.err' |
10477 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10338 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10478 | (eval $ac_try) 2>&5 |
10339 | (eval $ac_try) 2>&5 |
10479 | ac_status=$? |
10340 | ac_status=$? |
10480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10481 | (exit $ac_status); }; } && |
10342 | (exit $ac_status); }; } && |
… | |
… | |
10483 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10344 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10484 | (eval $ac_try) 2>&5 |
10345 | (eval $ac_try) 2>&5 |
10485 | ac_status=$? |
10346 | ac_status=$? |
10486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10487 | (exit $ac_status); }; }; then |
10348 | (exit $ac_status); }; }; then |
10488 | rxvt_cv_struct_utmp=yes |
10349 | struct_utmp=yes |
10489 | else |
10350 | else |
10490 | echo "$as_me: failed program was:" >&5 |
10351 | echo "$as_me: failed program was:" >&5 |
10491 | sed 's/^/| /' conftest.$ac_ext >&5 |
10352 | sed 's/^/| /' conftest.$ac_ext >&5 |
10492 | |
10353 | |
10493 | rxvt_cv_struct_utmp=no |
10354 | struct_utmp=no |
10494 | fi |
10355 | fi |
10495 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10356 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10496 | fi |
10357 | fi |
10497 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
10358 | echo "$as_me:$LINENO: result: $struct_utmp" >&5 |
10498 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
10359 | echo "${ECHO_T}$struct_utmp" >&6 |
10499 | if test x$rxvt_cv_struct_utmp = xyes; then |
10360 | if test x$struct_utmp = xyes; then |
10500 | |
10361 | |
10501 | cat >>confdefs.h <<\_ACEOF |
10362 | cat >>confdefs.h <<\_ACEOF |
10502 | #define HAVE_STRUCT_UTMP 1 |
10363 | #define HAVE_STRUCT_UTMP 1 |
10503 | _ACEOF |
10364 | _ACEOF |
10504 | |
10365 | |
10505 | fi |
10366 | fi |
10506 | |
10367 | |
10507 | |
10368 | |
10508 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10369 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10509 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10370 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10510 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
10371 | if test "${struct_utmp_host+set}" = set; then |
10511 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10372 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10512 | else |
10373 | else |
10513 | cat >conftest.$ac_ext <<_ACEOF |
10374 | cat >conftest.$ac_ext <<_ACEOF |
10514 | /* confdefs.h. */ |
10375 | /* confdefs.h. */ |
10515 | _ACEOF |
10376 | _ACEOF |
… | |
… | |
10533 | grep -v '^ *+' conftest.er1 >conftest.err |
10394 | grep -v '^ *+' conftest.er1 >conftest.err |
10534 | rm -f conftest.er1 |
10395 | rm -f conftest.er1 |
10535 | cat conftest.err >&5 |
10396 | cat conftest.err >&5 |
10536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10537 | (exit $ac_status); } && |
10398 | (exit $ac_status); } && |
10538 | { 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' |
10539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10401 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10540 | (eval $ac_try) 2>&5 |
10402 | (eval $ac_try) 2>&5 |
10541 | ac_status=$? |
10403 | ac_status=$? |
10542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10543 | (exit $ac_status); }; } && |
10405 | (exit $ac_status); }; } && |
… | |
… | |
10545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10407 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10546 | (eval $ac_try) 2>&5 |
10408 | (eval $ac_try) 2>&5 |
10547 | ac_status=$? |
10409 | ac_status=$? |
10548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10549 | (exit $ac_status); }; }; then |
10411 | (exit $ac_status); }; }; then |
10550 | rxvt_cv_struct_utmp_host=yes |
10412 | struct_utmp_host=yes |
10551 | else |
10413 | else |
10552 | echo "$as_me: failed program was:" >&5 |
10414 | echo "$as_me: failed program was:" >&5 |
10553 | sed 's/^/| /' conftest.$ac_ext >&5 |
10415 | sed 's/^/| /' conftest.$ac_ext >&5 |
10554 | |
10416 | |
10555 | rxvt_cv_struct_utmp_host=no |
10417 | struct_utmp_host=no |
10556 | fi |
10418 | fi |
10557 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10419 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10558 | fi |
10420 | fi |
10559 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
10421 | echo "$as_me:$LINENO: result: $struct_utmp_host" >&5 |
10560 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
10422 | echo "${ECHO_T}$struct_utmp_host" >&6 |
10561 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
10423 | if test x$struct_utmp_host = xyes; then |
10562 | |
10424 | |
10563 | cat >>confdefs.h <<\_ACEOF |
10425 | cat >>confdefs.h <<\_ACEOF |
10564 | #define HAVE_UTMP_HOST 1 |
10426 | #define HAVE_UTMP_HOST 1 |
10565 | _ACEOF |
10427 | _ACEOF |
10566 | |
10428 | |
10567 | fi |
10429 | fi |
10568 | |
10430 | |
10569 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10431 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10570 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10432 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10571 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
10433 | if test "${struct_utmp_pid+set}" = set; then |
10572 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10434 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10573 | else |
10435 | else |
10574 | cat >conftest.$ac_ext <<_ACEOF |
10436 | cat >conftest.$ac_ext <<_ACEOF |
10575 | /* confdefs.h. */ |
10437 | /* confdefs.h. */ |
10576 | _ACEOF |
10438 | _ACEOF |
… | |
… | |
10594 | grep -v '^ *+' conftest.er1 >conftest.err |
10456 | grep -v '^ *+' conftest.er1 >conftest.err |
10595 | rm -f conftest.er1 |
10457 | rm -f conftest.er1 |
10596 | cat conftest.err >&5 |
10458 | cat conftest.err >&5 |
10597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10598 | (exit $ac_status); } && |
10460 | (exit $ac_status); } && |
10599 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10461 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10462 | || test ! -s conftest.err' |
10600 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10463 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10601 | (eval $ac_try) 2>&5 |
10464 | (eval $ac_try) 2>&5 |
10602 | ac_status=$? |
10465 | ac_status=$? |
10603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10604 | (exit $ac_status); }; } && |
10467 | (exit $ac_status); }; } && |
… | |
… | |
10606 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10607 | (eval $ac_try) 2>&5 |
10470 | (eval $ac_try) 2>&5 |
10608 | ac_status=$? |
10471 | ac_status=$? |
10609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10610 | (exit $ac_status); }; }; then |
10473 | (exit $ac_status); }; }; then |
10611 | rxvt_cv_struct_utmp_pid=yes |
10474 | struct_utmp_pid=yes |
10612 | else |
10475 | else |
10613 | echo "$as_me: failed program was:" >&5 |
10476 | echo "$as_me: failed program was:" >&5 |
10614 | sed 's/^/| /' conftest.$ac_ext >&5 |
10477 | sed 's/^/| /' conftest.$ac_ext >&5 |
10615 | |
10478 | |
10616 | rxvt_cv_struct_utmp_pid=no |
10479 | struct_utmp_pid=no |
10617 | fi |
10480 | fi |
10618 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10481 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10619 | fi |
10482 | fi |
10620 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
10483 | echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5 |
10621 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
10484 | echo "${ECHO_T}$struct_utmp_pid" >&6 |
10622 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
10485 | if test x$struct_utmp_pid = xyes; then |
10623 | |
10486 | |
10624 | cat >>confdefs.h <<\_ACEOF |
10487 | cat >>confdefs.h <<\_ACEOF |
10625 | #define HAVE_UTMP_PID 1 |
10488 | #define HAVE_UTMP_PID 1 |
10626 | _ACEOF |
10489 | _ACEOF |
10627 | |
10490 | |
… | |
… | |
10659 | grep -v '^ *+' conftest.er1 >conftest.err |
10522 | grep -v '^ *+' conftest.er1 >conftest.err |
10660 | rm -f conftest.er1 |
10523 | rm -f conftest.er1 |
10661 | cat conftest.err >&5 |
10524 | cat conftest.err >&5 |
10662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10663 | (exit $ac_status); } && |
10526 | (exit $ac_status); } && |
10664 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10527 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10528 | || test ! -s conftest.err' |
10665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10529 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10666 | (eval $ac_try) 2>&5 |
10530 | (eval $ac_try) 2>&5 |
10667 | ac_status=$? |
10531 | ac_status=$? |
10668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10669 | (exit $ac_status); }; } && |
10533 | (exit $ac_status); }; } && |
… | |
… | |
10768 | |
10632 | |
10769 | fi |
10633 | fi |
10770 | if test $ac_cv_header_utmpx_h = yes; then |
10634 | if test $ac_cv_header_utmpx_h = yes; then |
10771 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10635 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10772 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10636 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10773 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
10637 | if test "${struct_utmpx+set}" = set; then |
10774 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10638 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10775 | else |
10639 | else |
10776 | cat >conftest.$ac_ext <<_ACEOF |
10640 | cat >conftest.$ac_ext <<_ACEOF |
10777 | /* confdefs.h. */ |
10641 | /* confdefs.h. */ |
10778 | _ACEOF |
10642 | _ACEOF |
… | |
… | |
10796 | grep -v '^ *+' conftest.er1 >conftest.err |
10660 | grep -v '^ *+' conftest.er1 >conftest.err |
10797 | rm -f conftest.er1 |
10661 | rm -f conftest.er1 |
10798 | cat conftest.err >&5 |
10662 | cat conftest.err >&5 |
10799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10800 | (exit $ac_status); } && |
10664 | (exit $ac_status); } && |
10801 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10665 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10666 | || test ! -s conftest.err' |
10802 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10803 | (eval $ac_try) 2>&5 |
10668 | (eval $ac_try) 2>&5 |
10804 | ac_status=$? |
10669 | ac_status=$? |
10805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10806 | (exit $ac_status); }; } && |
10671 | (exit $ac_status); }; } && |
… | |
… | |
10808 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10809 | (eval $ac_try) 2>&5 |
10674 | (eval $ac_try) 2>&5 |
10810 | ac_status=$? |
10675 | ac_status=$? |
10811 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10812 | (exit $ac_status); }; }; then |
10677 | (exit $ac_status); }; }; then |
10813 | rxvt_cv_struct_utmpx=yes |
10678 | struct_utmpx=yes |
10814 | else |
10679 | else |
10815 | echo "$as_me: failed program was:" >&5 |
10680 | echo "$as_me: failed program was:" >&5 |
10816 | sed 's/^/| /' conftest.$ac_ext >&5 |
10681 | sed 's/^/| /' conftest.$ac_ext >&5 |
10817 | |
10682 | |
10818 | rxvt_cv_struct_utmpx=no |
10683 | struct_utmpx=no |
10819 | fi |
10684 | fi |
10820 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10685 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10821 | fi |
10686 | fi |
10822 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
10687 | echo "$as_me:$LINENO: result: $struct_utmpx" >&5 |
10823 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
10688 | echo "${ECHO_T}$struct_utmpx" >&6 |
10824 | if test x$rxvt_cv_struct_utmpx = xyes; then |
10689 | if test x$struct_utmpx = xyes; then |
10825 | |
10690 | |
10826 | cat >>confdefs.h <<\_ACEOF |
10691 | cat >>confdefs.h <<\_ACEOF |
10827 | #define HAVE_STRUCT_UTMPX 1 |
10692 | #define HAVE_STRUCT_UTMPX 1 |
10828 | _ACEOF |
10693 | _ACEOF |
10829 | |
10694 | |
10830 | fi |
10695 | fi |
10831 | |
10696 | |
10832 | |
10697 | |
10833 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10698 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10834 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10699 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10835 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
10700 | if test "${struct_utmpx_host+set}" = set; then |
10836 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10701 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10837 | else |
10702 | else |
10838 | cat >conftest.$ac_ext <<_ACEOF |
10703 | cat >conftest.$ac_ext <<_ACEOF |
10839 | /* confdefs.h. */ |
10704 | /* confdefs.h. */ |
10840 | _ACEOF |
10705 | _ACEOF |
… | |
… | |
10858 | grep -v '^ *+' conftest.er1 >conftest.err |
10723 | grep -v '^ *+' conftest.er1 >conftest.err |
10859 | rm -f conftest.er1 |
10724 | rm -f conftest.er1 |
10860 | cat conftest.err >&5 |
10725 | cat conftest.err >&5 |
10861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10862 | (exit $ac_status); } && |
10727 | (exit $ac_status); } && |
10863 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10728 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10729 | || test ! -s conftest.err' |
10864 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10865 | (eval $ac_try) 2>&5 |
10731 | (eval $ac_try) 2>&5 |
10866 | ac_status=$? |
10732 | ac_status=$? |
10867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10868 | (exit $ac_status); }; } && |
10734 | (exit $ac_status); }; } && |
… | |
… | |
10870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10736 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10871 | (eval $ac_try) 2>&5 |
10737 | (eval $ac_try) 2>&5 |
10872 | ac_status=$? |
10738 | ac_status=$? |
10873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10874 | (exit $ac_status); }; }; then |
10740 | (exit $ac_status); }; }; then |
10875 | rxvt_cv_struct_utmpx_host=yes |
10741 | struct_utmpx_host=yes |
10876 | else |
10742 | else |
10877 | echo "$as_me: failed program was:" >&5 |
10743 | echo "$as_me: failed program was:" >&5 |
10878 | sed 's/^/| /' conftest.$ac_ext >&5 |
10744 | sed 's/^/| /' conftest.$ac_ext >&5 |
10879 | |
10745 | |
10880 | rxvt_cv_struct_utmpx_host=no |
10746 | struct_utmpx_host=no |
10881 | fi |
10747 | fi |
10882 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10748 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10883 | fi |
10749 | fi |
10884 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
10750 | echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5 |
10885 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
10751 | echo "${ECHO_T}$struct_utmpx_host" >&6 |
10886 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
10752 | if test x$struct_utmpx_host = xyes; then |
10887 | |
10753 | |
10888 | cat >>confdefs.h <<\_ACEOF |
10754 | cat >>confdefs.h <<\_ACEOF |
10889 | #define HAVE_UTMPX_HOST 1 |
10755 | #define HAVE_UTMPX_HOST 1 |
10890 | _ACEOF |
10756 | _ACEOF |
10891 | |
10757 | |
10892 | fi |
10758 | fi |
10893 | |
10759 | |
10894 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10760 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10895 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10761 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10896 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
10762 | if test "${struct_utmpx_session+set}" = set; then |
10897 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10763 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10898 | else |
10764 | else |
10899 | cat >conftest.$ac_ext <<_ACEOF |
10765 | cat >conftest.$ac_ext <<_ACEOF |
10900 | /* confdefs.h. */ |
10766 | /* confdefs.h. */ |
10901 | _ACEOF |
10767 | _ACEOF |
… | |
… | |
10919 | grep -v '^ *+' conftest.er1 >conftest.err |
10785 | grep -v '^ *+' conftest.er1 >conftest.err |
10920 | rm -f conftest.er1 |
10786 | rm -f conftest.er1 |
10921 | cat conftest.err >&5 |
10787 | cat conftest.err >&5 |
10922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10923 | (exit $ac_status); } && |
10789 | (exit $ac_status); } && |
10924 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10790 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10791 | || test ! -s conftest.err' |
10925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10926 | (eval $ac_try) 2>&5 |
10793 | (eval $ac_try) 2>&5 |
10927 | ac_status=$? |
10794 | ac_status=$? |
10928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10929 | (exit $ac_status); }; } && |
10796 | (exit $ac_status); }; } && |
… | |
… | |
10931 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10798 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10932 | (eval $ac_try) 2>&5 |
10799 | (eval $ac_try) 2>&5 |
10933 | ac_status=$? |
10800 | ac_status=$? |
10934 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10935 | (exit $ac_status); }; }; then |
10802 | (exit $ac_status); }; }; then |
10936 | rxvt_cv_struct_utmpx_session=yes |
10803 | struct_utmpx_session=yes |
10937 | else |
10804 | else |
10938 | echo "$as_me: failed program was:" >&5 |
10805 | echo "$as_me: failed program was:" >&5 |
10939 | sed 's/^/| /' conftest.$ac_ext >&5 |
10806 | sed 's/^/| /' conftest.$ac_ext >&5 |
10940 | |
10807 | |
10941 | rxvt_cv_struct_utmpx_session=no |
10808 | struct_utmpx_session=no |
10942 | fi |
10809 | fi |
10943 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10810 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10944 | fi |
10811 | fi |
10945 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
10812 | echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5 |
10946 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
10813 | echo "${ECHO_T}$struct_utmpx_session" >&6 |
10947 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
10814 | if test x$struct_utmpx_session = xyes; then |
10948 | |
10815 | |
10949 | cat >>confdefs.h <<\_ACEOF |
10816 | cat >>confdefs.h <<\_ACEOF |
10950 | #define HAVE_UTMPX_SESSION 1 |
10817 | #define HAVE_UTMPX_SESSION 1 |
10951 | _ACEOF |
10818 | _ACEOF |
10952 | |
10819 | |
… | |
… | |
10955 | fi |
10822 | fi |
10956 | |
10823 | |
10957 | |
10824 | |
10958 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10825 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10959 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10826 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10960 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10827 | if test "${struct_lastlog+set}" = set; then |
10961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10962 | else |
10829 | else |
10963 | cat >conftest.$ac_ext <<_ACEOF |
10830 | cat >conftest.$ac_ext <<_ACEOF |
10964 | /* confdefs.h. */ |
10831 | /* confdefs.h. */ |
10965 | _ACEOF |
10832 | _ACEOF |
… | |
… | |
10987 | grep -v '^ *+' conftest.er1 >conftest.err |
10854 | grep -v '^ *+' conftest.er1 >conftest.err |
10988 | rm -f conftest.er1 |
10855 | rm -f conftest.er1 |
10989 | cat conftest.err >&5 |
10856 | cat conftest.err >&5 |
10990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10991 | (exit $ac_status); } && |
10858 | (exit $ac_status); } && |
10992 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10859 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10860 | || test ! -s conftest.err' |
10993 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10861 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10994 | (eval $ac_try) 2>&5 |
10862 | (eval $ac_try) 2>&5 |
10995 | ac_status=$? |
10863 | ac_status=$? |
10996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10997 | (exit $ac_status); }; } && |
10865 | (exit $ac_status); }; } && |
… | |
… | |
10999 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10867 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11000 | (eval $ac_try) 2>&5 |
10868 | (eval $ac_try) 2>&5 |
11001 | ac_status=$? |
10869 | ac_status=$? |
11002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11003 | (exit $ac_status); }; }; then |
10871 | (exit $ac_status); }; }; then |
11004 | rxvt_cv_struct_lastlog=yes |
10872 | struct_lastlog=yes |
11005 | else |
10873 | else |
11006 | echo "$as_me: failed program was:" >&5 |
10874 | echo "$as_me: failed program was:" >&5 |
11007 | sed 's/^/| /' conftest.$ac_ext >&5 |
10875 | sed 's/^/| /' conftest.$ac_ext >&5 |
11008 | |
10876 | |
11009 | rxvt_cv_struct_lastlog=no |
10877 | struct_lastlog=no |
11010 | fi |
10878 | fi |
11011 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10879 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11012 | fi |
10880 | fi |
11013 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
10881 | echo "$as_me:$LINENO: result: $struct_lastlog" >&5 |
11014 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
10882 | echo "${ECHO_T}$struct_lastlog" >&6 |
11015 | if test x$rxvt_cv_struct_lastlog = xyes; then |
10883 | if test x$struct_lastlog = xyes; then |
11016 | |
10884 | |
11017 | cat >>confdefs.h <<\_ACEOF |
10885 | cat >>confdefs.h <<\_ACEOF |
11018 | #define HAVE_STRUCT_LASTLOG 1 |
10886 | #define HAVE_STRUCT_LASTLOG 1 |
11019 | _ACEOF |
10887 | _ACEOF |
11020 | |
10888 | |
11021 | fi |
10889 | fi |
11022 | |
10890 | |
11023 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10891 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
11024 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10892 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
11025 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
10893 | if test "${struct_lastlogx+set}" = set; then |
11026 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11027 | else |
10895 | else |
11028 | cat >conftest.$ac_ext <<_ACEOF |
10896 | cat >conftest.$ac_ext <<_ACEOF |
11029 | /* confdefs.h. */ |
10897 | /* confdefs.h. */ |
11030 | _ACEOF |
10898 | _ACEOF |
… | |
… | |
11052 | grep -v '^ *+' conftest.er1 >conftest.err |
10920 | grep -v '^ *+' conftest.er1 >conftest.err |
11053 | rm -f conftest.er1 |
10921 | rm -f conftest.er1 |
11054 | cat conftest.err >&5 |
10922 | cat conftest.err >&5 |
11055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11056 | (exit $ac_status); } && |
10924 | (exit $ac_status); } && |
11057 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10925 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10926 | || test ! -s conftest.err' |
11058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10927 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11059 | (eval $ac_try) 2>&5 |
10928 | (eval $ac_try) 2>&5 |
11060 | ac_status=$? |
10929 | ac_status=$? |
11061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11062 | (exit $ac_status); }; } && |
10931 | (exit $ac_status); }; } && |
… | |
… | |
11064 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10933 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11065 | (eval $ac_try) 2>&5 |
10934 | (eval $ac_try) 2>&5 |
11066 | ac_status=$? |
10935 | ac_status=$? |
11067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11068 | (exit $ac_status); }; }; then |
10937 | (exit $ac_status); }; }; then |
11069 | rxvt_cv_struct_lastlogx=yes |
10938 | struct_lastlogx=yes |
11070 | else |
10939 | else |
11071 | echo "$as_me: failed program was:" >&5 |
10940 | echo "$as_me: failed program was:" >&5 |
11072 | sed 's/^/| /' conftest.$ac_ext >&5 |
10941 | sed 's/^/| /' conftest.$ac_ext >&5 |
11073 | |
10942 | |
11074 | rxvt_cv_struct_lastlogx=no |
10943 | struct_lastlogx=no |
11075 | fi |
10944 | fi |
11076 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10945 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11077 | fi |
10946 | fi |
11078 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
10947 | echo "$as_me:$LINENO: result: $struct_lastlogx" >&5 |
11079 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
10948 | echo "${ECHO_T}$struct_lastlogx" >&6 |
11080 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
10949 | if test x$struct_lastlogx = xyes; then |
11081 | |
10950 | |
11082 | cat >>confdefs.h <<\_ACEOF |
10951 | cat >>confdefs.h <<\_ACEOF |
11083 | #define HAVE_STRUCT_LASTLOGX 1 |
10952 | #define HAVE_STRUCT_LASTLOGX 1 |
11084 | _ACEOF |
10953 | _ACEOF |
11085 | |
10954 | |
11086 | fi |
10955 | fi |
11087 | |
10956 | |
11088 | |
10957 | |
11089 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10958 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
11090 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10959 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
11091 | if test "${rxvt_cv_path_utmp+set}" = set; then |
10960 | if test "${path_utmp+set}" = set; then |
11092 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11093 | else |
10962 | else |
11094 | if test "$cross_compiling" = yes; then |
10963 | if test "$cross_compiling" = yes; then |
11095 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
10964 | { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5 |
11096 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
10965 | echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
11097 | else |
10966 | else |
11098 | cat >conftest.$ac_ext <<_ACEOF |
10967 | cat >conftest.$ac_ext <<_ACEOF |
11099 | /* confdefs.h. */ |
10968 | /* confdefs.h. */ |
11100 | _ACEOF |
10969 | _ACEOF |
11101 | cat confdefs.h >>conftest.$ac_ext |
10970 | cat confdefs.h >>conftest.$ac_ext |
11102 | cat >>conftest.$ac_ext <<_ACEOF |
10971 | cat >>conftest.$ac_ext <<_ACEOF |
11103 | /* end confdefs.h. */ |
10972 | /* end confdefs.h. */ |
11104 | #include <stdio.h> |
10973 | #include <stdio.h> |
|
|
10974 | #include <stdlib.h> |
11105 | #include <sys/types.h> |
10975 | #include <sys/types.h> |
11106 | #include <utmp.h> |
10976 | #include <utmp.h> |
11107 | #include <errno.h> |
10977 | #include <errno.h> |
11108 | main() |
10978 | main() |
11109 | { |
10979 | { |
… | |
… | |
11137 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11007 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11138 | (eval $ac_try) 2>&5 |
11008 | (eval $ac_try) 2>&5 |
11139 | ac_status=$? |
11009 | ac_status=$? |
11140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11141 | (exit $ac_status); }; }; then |
11011 | (exit $ac_status); }; }; then |
11142 | rxvt_cv_path_utmp=`cat conftestval` |
11012 | path_utmp=`cat conftestval` |
11143 | else |
11013 | else |
11144 | echo "$as_me: program exited with status $ac_status" >&5 |
11014 | echo "$as_me: program exited with status $ac_status" >&5 |
11145 | echo "$as_me: failed program was:" >&5 |
11015 | echo "$as_me: failed program was:" >&5 |
11146 | sed 's/^/| /' conftest.$ac_ext >&5 |
11016 | sed 's/^/| /' conftest.$ac_ext >&5 |
11147 | |
11017 | |
11148 | ( exit $ac_status ) |
11018 | ( exit $ac_status ) |
11149 | rxvt_cv_path_utmp= |
11019 | path_utmp= |
11150 | fi |
11020 | fi |
11151 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11021 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11152 | fi |
11022 | fi |
11153 | fi |
11023 | fi |
11154 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
11024 | echo "$as_me:$LINENO: result: $path_utmp" >&5 |
11155 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
11025 | echo "${ECHO_T}$path_utmp" >&6 |
11156 | if test x$rxvt_cv_path_utmp != x; then |
11026 | if test x$path_utmp != x; then |
11157 | |
11027 | |
11158 | cat >>confdefs.h <<_ACEOF |
11028 | cat >>confdefs.h <<_ACEOF |
11159 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
11029 | #define UTMP_FILE "$path_utmp" |
11160 | _ACEOF |
11030 | _ACEOF |
11161 | |
11031 | |
11162 | fi |
11032 | fi |
11163 | |
11033 | |
11164 | |
11034 | |
11165 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11035 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11166 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11036 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11167 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
11037 | if test "${path_utmpx+set}" = set; then |
11168 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11038 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11169 | else |
11039 | else |
11170 | if test "$cross_compiling" = yes; then |
11040 | if test "$cross_compiling" = yes; then |
11171 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
11041 | { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5 |
11172 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
11042 | echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;} |
11173 | else |
11043 | else |
11174 | cat >conftest.$ac_ext <<_ACEOF |
11044 | cat >conftest.$ac_ext <<_ACEOF |
11175 | /* confdefs.h. */ |
11045 | /* confdefs.h. */ |
11176 | _ACEOF |
11046 | _ACEOF |
11177 | cat confdefs.h >>conftest.$ac_ext |
11047 | cat confdefs.h >>conftest.$ac_ext |
11178 | cat >>conftest.$ac_ext <<_ACEOF |
11048 | cat >>conftest.$ac_ext <<_ACEOF |
11179 | /* end confdefs.h. */ |
11049 | /* end confdefs.h. */ |
11180 | #include <stdio.h> |
11050 | #include <stdio.h> |
|
|
11051 | #include <stdlib.h> |
11181 | #include <sys/types.h> |
11052 | #include <sys/types.h> |
11182 | #include <utmpx.h> |
11053 | #include <utmpx.h> |
11183 | #include <errno.h> |
11054 | #include <errno.h> |
11184 | #include <sys/stat.h> |
11055 | #include <sys/stat.h> |
11185 | #ifdef HAVE_STRING_H |
11056 | #ifdef HAVE_STRING_H |
… | |
… | |
11223 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11224 | (eval $ac_try) 2>&5 |
11095 | (eval $ac_try) 2>&5 |
11225 | ac_status=$? |
11096 | ac_status=$? |
11226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11227 | (exit $ac_status); }; }; then |
11098 | (exit $ac_status); }; }; then |
11228 | rxvt_cv_path_utmpx=`cat conftestval` |
11099 | path_utmpx=`cat conftestval` |
11229 | else |
11100 | else |
11230 | echo "$as_me: program exited with status $ac_status" >&5 |
11101 | echo "$as_me: program exited with status $ac_status" >&5 |
11231 | echo "$as_me: failed program was:" >&5 |
11102 | echo "$as_me: failed program was:" >&5 |
11232 | sed 's/^/| /' conftest.$ac_ext >&5 |
11103 | sed 's/^/| /' conftest.$ac_ext >&5 |
11233 | |
11104 | |
11234 | ( exit $ac_status ) |
11105 | ( exit $ac_status ) |
11235 | rxvt_cv_path_utmpx= |
11106 | path_utmpx= |
11236 | fi |
11107 | fi |
11237 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11108 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11238 | fi |
11109 | fi |
11239 | fi |
11110 | fi |
11240 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
11111 | echo "$as_me:$LINENO: result: $path_utmpx" >&5 |
11241 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
11112 | echo "${ECHO_T}$path_utmpx" >&6 |
11242 | if test x$rxvt_cv_path_utmpx != x; then |
11113 | if test x$path_utmpx != x; then |
11243 | |
11114 | |
11244 | cat >>confdefs.h <<_ACEOF |
11115 | cat >>confdefs.h <<_ACEOF |
11245 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
11116 | #define UTMPX_FILE "$path_utmpx" |
11246 | _ACEOF |
11117 | _ACEOF |
11247 | |
11118 | |
11248 | fi |
11119 | fi |
11249 | |
11120 | |
11250 | |
11121 | |
11251 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11122 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11252 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11123 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11253 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
11124 | if test "${path_wtmp+set}" = set; then |
11254 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11125 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11255 | else |
11126 | else |
11256 | if test "$cross_compiling" = yes; then |
11127 | if test "$cross_compiling" = yes; then |
11257 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
11128 | { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5 |
11258 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
11129 | echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
11259 | else |
11130 | else |
11260 | cat >conftest.$ac_ext <<_ACEOF |
11131 | cat >conftest.$ac_ext <<_ACEOF |
11261 | /* confdefs.h. */ |
11132 | /* confdefs.h. */ |
11262 | _ACEOF |
11133 | _ACEOF |
11263 | cat confdefs.h >>conftest.$ac_ext |
11134 | cat confdefs.h >>conftest.$ac_ext |
11264 | cat >>conftest.$ac_ext <<_ACEOF |
11135 | cat >>conftest.$ac_ext <<_ACEOF |
11265 | /* end confdefs.h. */ |
11136 | /* end confdefs.h. */ |
11266 | #include <stdio.h> |
11137 | #include <stdio.h> |
|
|
11138 | #include <stdlib.h> |
11267 | #include <sys/types.h> |
11139 | #include <sys/types.h> |
11268 | #ifdef HAVE_UTMP_H |
11140 | #ifdef HAVE_UTMP_H |
11269 | #include <utmp.h> |
11141 | #include <utmp.h> |
11270 | #endif |
11142 | #endif |
11271 | #include <errno.h> |
11143 | #include <errno.h> |
… | |
… | |
11301 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11173 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11302 | (eval $ac_try) 2>&5 |
11174 | (eval $ac_try) 2>&5 |
11303 | ac_status=$? |
11175 | ac_status=$? |
11304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11305 | (exit $ac_status); }; }; then |
11177 | (exit $ac_status); }; }; then |
11306 | rxvt_cv_path_wtmp=`cat conftestval` |
11178 | path_wtmp=`cat conftestval` |
11307 | else |
11179 | else |
11308 | echo "$as_me: program exited with status $ac_status" >&5 |
11180 | echo "$as_me: program exited with status $ac_status" >&5 |
11309 | echo "$as_me: failed program was:" >&5 |
11181 | echo "$as_me: failed program was:" >&5 |
11310 | sed 's/^/| /' conftest.$ac_ext >&5 |
11182 | sed 's/^/| /' conftest.$ac_ext >&5 |
11311 | |
11183 | |
11312 | ( exit $ac_status ) |
11184 | ( exit $ac_status ) |
11313 | rxvt_cv_path_wtmp= |
11185 | path_wtmp= |
11314 | fi |
11186 | fi |
11315 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11187 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11316 | fi |
11188 | fi |
11317 | fi |
11189 | fi |
11318 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
11190 | echo "$as_me:$LINENO: result: $path_wtmp" >&5 |
11319 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
11191 | echo "${ECHO_T}$path_wtmp" >&6 |
11320 | if test x$rxvt_cv_path_wtmp != x; then |
11192 | if test x$path_wtmp != x; then |
11321 | |
11193 | |
11322 | cat >>confdefs.h <<_ACEOF |
11194 | cat >>confdefs.h <<_ACEOF |
11323 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
11195 | #define WTMP_FILE "$path_wtmp" |
11324 | _ACEOF |
11196 | _ACEOF |
11325 | |
11197 | |
11326 | fi |
11198 | fi |
11327 | |
11199 | |
11328 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11200 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11329 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11201 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11330 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
11202 | if test "${path_wtmpx+set}" = set; then |
11331 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11203 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11332 | else |
11204 | else |
11333 | if test "$cross_compiling" = yes; then |
11205 | if test "$cross_compiling" = yes; then |
11334 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
11206 | { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
11335 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
11207 | echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
11336 | else |
11208 | else |
11337 | cat >conftest.$ac_ext <<_ACEOF |
11209 | cat >conftest.$ac_ext <<_ACEOF |
11338 | /* confdefs.h. */ |
11210 | /* confdefs.h. */ |
11339 | _ACEOF |
11211 | _ACEOF |
11340 | cat confdefs.h >>conftest.$ac_ext |
11212 | cat confdefs.h >>conftest.$ac_ext |
11341 | cat >>conftest.$ac_ext <<_ACEOF |
11213 | cat >>conftest.$ac_ext <<_ACEOF |
11342 | /* end confdefs.h. */ |
11214 | /* end confdefs.h. */ |
11343 | #include <stdio.h> |
11215 | #include <stdio.h> |
|
|
11216 | #include <stdlib.h> |
11344 | #ifdef HAVE_UTMPX_H |
11217 | #ifdef HAVE_UTMPX_H |
11345 | #include <utmpx.h> |
11218 | #include <utmpx.h> |
11346 | #endif |
11219 | #endif |
11347 | #include <errno.h> |
11220 | #include <errno.h> |
11348 | main() |
11221 | main() |
… | |
… | |
11377 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11250 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11378 | (eval $ac_try) 2>&5 |
11251 | (eval $ac_try) 2>&5 |
11379 | ac_status=$? |
11252 | ac_status=$? |
11380 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11381 | (exit $ac_status); }; }; then |
11254 | (exit $ac_status); }; }; then |
11382 | rxvt_cv_path_wtmpx=`cat conftestval` |
11255 | path_wtmpx=`cat conftestval` |
11383 | else |
11256 | else |
11384 | echo "$as_me: program exited with status $ac_status" >&5 |
11257 | echo "$as_me: program exited with status $ac_status" >&5 |
11385 | echo "$as_me: failed program was:" >&5 |
11258 | echo "$as_me: failed program was:" >&5 |
11386 | sed 's/^/| /' conftest.$ac_ext >&5 |
11259 | sed 's/^/| /' conftest.$ac_ext >&5 |
11387 | |
11260 | |
11388 | ( exit $ac_status ) |
11261 | ( exit $ac_status ) |
11389 | rxvt_cv_path_wtmpx= |
11262 | path_wtmpx= |
11390 | fi |
11263 | fi |
11391 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11264 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11392 | fi |
11265 | fi |
11393 | fi |
11266 | fi |
11394 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
11267 | echo "$as_me:$LINENO: result: $path_wtmpx" >&5 |
11395 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
11268 | echo "${ECHO_T}$path_wtmpx" >&6 |
11396 | if test x$rxvt_cv_path_wtmpx != x; then |
11269 | if test x$path_wtmpx != x; then |
11397 | |
11270 | |
11398 | cat >>confdefs.h <<_ACEOF |
11271 | cat >>confdefs.h <<_ACEOF |
11399 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
11272 | #define WTMPX_FILE "$path_wtmpx" |
11400 | _ACEOF |
11273 | _ACEOF |
11401 | |
11274 | |
11402 | fi |
11275 | fi |
11403 | |
11276 | |
11404 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11277 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11405 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11278 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11406 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
11279 | if test "${path_lastlog+set}" = set; then |
11407 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11280 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11408 | else |
11281 | else |
11409 | if test "$cross_compiling" = yes; then |
11282 | if test "$cross_compiling" = yes; then |
11410 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
11283 | { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
11411 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
11284 | echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
11412 | else |
11285 | else |
11413 | cat >conftest.$ac_ext <<_ACEOF |
11286 | cat >conftest.$ac_ext <<_ACEOF |
11414 | /* confdefs.h. */ |
11287 | /* confdefs.h. */ |
11415 | _ACEOF |
11288 | _ACEOF |
11416 | cat confdefs.h >>conftest.$ac_ext |
11289 | cat confdefs.h >>conftest.$ac_ext |
11417 | cat >>conftest.$ac_ext <<_ACEOF |
11290 | cat >>conftest.$ac_ext <<_ACEOF |
11418 | /* end confdefs.h. */ |
11291 | /* end confdefs.h. */ |
11419 | #include <stdio.h> |
11292 | #include <stdio.h> |
|
|
11293 | #include <stdlib.h> |
11420 | #include <sys/types.h> |
11294 | #include <sys/types.h> |
11421 | #ifdef HAVE_UTMPX_H |
11295 | #ifdef HAVE_UTMPX_H |
11422 | #include <utmpx.h> |
11296 | #include <utmpx.h> |
11423 | #elif defined(HAVE_UTMP_H) |
11297 | #elif defined(HAVE_UTMP_H) |
11424 | #include <utmp.h> |
11298 | #include <utmp.h> |
… | |
… | |
11458 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11459 | (eval $ac_try) 2>&5 |
11333 | (eval $ac_try) 2>&5 |
11460 | ac_status=$? |
11334 | ac_status=$? |
11461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11462 | (exit $ac_status); }; }; then |
11336 | (exit $ac_status); }; }; then |
11463 | rxvt_cv_path_lastlog=`cat conftestval` |
11337 | path_lastlog=`cat conftestval` |
11464 | else |
11338 | else |
11465 | echo "$as_me: program exited with status $ac_status" >&5 |
11339 | echo "$as_me: program exited with status $ac_status" >&5 |
11466 | echo "$as_me: failed program was:" >&5 |
11340 | echo "$as_me: failed program was:" >&5 |
11467 | sed 's/^/| /' conftest.$ac_ext >&5 |
11341 | sed 's/^/| /' conftest.$ac_ext >&5 |
11468 | |
11342 | |
11469 | ( exit $ac_status ) |
11343 | ( exit $ac_status ) |
11470 | rxvt_cv_path_lastlog= |
11344 | path_lastlog= |
11471 | fi |
11345 | fi |
11472 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11346 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11473 | fi |
11347 | fi |
11474 | fi |
11348 | fi |
11475 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
11349 | echo "$as_me:$LINENO: result: $path_lastlog" >&5 |
11476 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
11350 | echo "${ECHO_T}$path_lastlog" >&6 |
11477 | if test x$rxvt_cv_path_lastlog != x; then |
11351 | if test x$path_lastlog != x; then |
11478 | |
11352 | |
11479 | cat >>confdefs.h <<_ACEOF |
11353 | cat >>confdefs.h <<_ACEOF |
11480 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
11354 | #define LASTLOG_FILE "$path_lastlog" |
11481 | _ACEOF |
11355 | _ACEOF |
11482 | |
11356 | |
11483 | if test -d "$rxvt_cv_path_lastlog"; then |
11357 | if test -d "$path_lastlog"; then |
11484 | |
11358 | |
11485 | cat >>confdefs.h <<\_ACEOF |
11359 | cat >>confdefs.h <<\_ACEOF |
11486 | #define LASTLOG_IS_DIR 1 |
11360 | #define LASTLOG_IS_DIR 1 |
11487 | _ACEOF |
11361 | _ACEOF |
11488 | |
11362 | |
11489 | fi |
11363 | fi |
11490 | fi |
11364 | fi |
11491 | |
11365 | |
11492 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11366 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11493 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11367 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11494 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
11368 | if test "${path_lastlogx+set}" = set; then |
11495 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11369 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11496 | else |
11370 | else |
11497 | if test "$cross_compiling" = yes; then |
11371 | if test "$cross_compiling" = yes; then |
11498 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
11372 | { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
11499 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
11373 | echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
11500 | else |
11374 | else |
11501 | cat >conftest.$ac_ext <<_ACEOF |
11375 | cat >conftest.$ac_ext <<_ACEOF |
11502 | /* confdefs.h. */ |
11376 | /* confdefs.h. */ |
11503 | _ACEOF |
11377 | _ACEOF |
11504 | cat confdefs.h >>conftest.$ac_ext |
11378 | cat confdefs.h >>conftest.$ac_ext |
11505 | cat >>conftest.$ac_ext <<_ACEOF |
11379 | cat >>conftest.$ac_ext <<_ACEOF |
11506 | /* end confdefs.h. */ |
11380 | /* end confdefs.h. */ |
11507 | #include <stdio.h> |
11381 | #include <stdio.h> |
|
|
11382 | #include <stdlib.h> |
11508 | #ifdef HAVE_UTMPX_H |
11383 | #ifdef HAVE_UTMPX_H |
11509 | #include <utmpx.h> |
11384 | #include <utmpx.h> |
11510 | #endif |
11385 | #endif |
11511 | #include <errno.h> |
11386 | #include <errno.h> |
11512 | main() |
11387 | main() |
… | |
… | |
11540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11415 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11541 | (eval $ac_try) 2>&5 |
11416 | (eval $ac_try) 2>&5 |
11542 | ac_status=$? |
11417 | ac_status=$? |
11543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11544 | (exit $ac_status); }; }; then |
11419 | (exit $ac_status); }; }; then |
11545 | rxvt_cv_path_lastlogx=`cat conftestval` |
11420 | path_lastlogx=`cat conftestval` |
11546 | else |
11421 | else |
11547 | echo "$as_me: program exited with status $ac_status" >&5 |
11422 | echo "$as_me: program exited with status $ac_status" >&5 |
11548 | echo "$as_me: failed program was:" >&5 |
11423 | echo "$as_me: failed program was:" >&5 |
11549 | sed 's/^/| /' conftest.$ac_ext >&5 |
11424 | sed 's/^/| /' conftest.$ac_ext >&5 |
11550 | |
11425 | |
11551 | ( exit $ac_status ) |
11426 | ( exit $ac_status ) |
11552 | rxvt_cv_path_lastlogx= |
11427 | path_lastlogx= |
11553 | fi |
11428 | fi |
11554 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11429 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11555 | fi |
11430 | fi |
11556 | fi |
11431 | fi |
11557 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
11432 | echo "$as_me:$LINENO: result: $path_lastlogx" >&5 |
11558 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
11433 | echo "${ECHO_T}$path_lastlogx" >&6 |
11559 | if test x$rxvt_cv_path_lastlogx != x; then |
11434 | if test x$path_lastlogx != x; then |
11560 | |
11435 | |
11561 | cat >>confdefs.h <<_ACEOF |
11436 | cat >>confdefs.h <<_ACEOF |
11562 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
11437 | #define LASTLOGX_FILE "$path_lastlogx" |
11563 | _ACEOF |
11438 | _ACEOF |
11564 | |
11439 | |
11565 | fi |
11440 | fi |
|
|
11441 | |
11566 | |
11442 | |
11567 | |
11443 | |
11568 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11444 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11569 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11445 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11570 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
11446 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
… | |
… | |
11611 | _ACEOF |
11487 | _ACEOF |
11612 | cat confdefs.h >>conftest.$ac_ext |
11488 | cat confdefs.h >>conftest.$ac_ext |
11613 | cat >>conftest.$ac_ext <<_ACEOF |
11489 | cat >>conftest.$ac_ext <<_ACEOF |
11614 | /* end confdefs.h. */ |
11490 | /* end confdefs.h. */ |
11615 | #include <X11/Xlib.h> |
11491 | #include <X11/Xlib.h> |
|
|
11492 | #include <stdlib.h> |
11616 | main() { |
11493 | main() { |
11617 | char *p; |
11494 | char *p; |
11618 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11495 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11619 | exit (XSupportsLocale() ? 0 : 1); |
11496 | exit (XSupportsLocale() ? 0 : 1); |
11620 | else |
11497 | else |
… | |
… | |
11681 | grep -v '^ *+' conftest.er1 >conftest.err |
11558 | grep -v '^ *+' conftest.er1 >conftest.err |
11682 | rm -f conftest.er1 |
11559 | rm -f conftest.er1 |
11683 | cat conftest.err >&5 |
11560 | cat conftest.err >&5 |
11684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11685 | (exit $ac_status); } && |
11562 | (exit $ac_status); } && |
11686 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11563 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11564 | || test ! -s conftest.err' |
11687 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11565 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11688 | (eval $ac_try) 2>&5 |
11566 | (eval $ac_try) 2>&5 |
11689 | ac_status=$? |
11567 | ac_status=$? |
11690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11691 | (exit $ac_status); }; } && |
11569 | (exit $ac_status); }; } && |
… | |
… | |
11744 | grep -v '^ *+' conftest.er1 >conftest.err |
11622 | grep -v '^ *+' conftest.er1 >conftest.err |
11745 | rm -f conftest.er1 |
11623 | rm -f conftest.er1 |
11746 | cat conftest.err >&5 |
11624 | cat conftest.err >&5 |
11747 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11748 | (exit $ac_status); } && |
11626 | (exit $ac_status); } && |
11749 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11627 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11628 | || test ! -s conftest.err' |
11750 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11629 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11751 | (eval $ac_try) 2>&5 |
11630 | (eval $ac_try) 2>&5 |
11752 | ac_status=$? |
11631 | ac_status=$? |
11753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11754 | (exit $ac_status); }; } && |
11633 | (exit $ac_status); }; } && |
… | |
… | |
11805 | grep -v '^ *+' conftest.er1 >conftest.err |
11684 | grep -v '^ *+' conftest.er1 >conftest.err |
11806 | rm -f conftest.er1 |
11685 | rm -f conftest.er1 |
11807 | cat conftest.err >&5 |
11686 | cat conftest.err >&5 |
11808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11809 | (exit $ac_status); } && |
11688 | (exit $ac_status); } && |
11810 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11689 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11690 | || test ! -s conftest.err' |
11811 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11691 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11812 | (eval $ac_try) 2>&5 |
11692 | (eval $ac_try) 2>&5 |
11813 | ac_status=$? |
11693 | ac_status=$? |
11814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11815 | (exit $ac_status); }; } && |
11695 | (exit $ac_status); }; } && |
… | |
… | |
11837 | #define HAVE_NL_LANGINFO 1 |
11717 | #define HAVE_NL_LANGINFO 1 |
11838 | _ACEOF |
11718 | _ACEOF |
11839 | |
11719 | |
11840 | fi |
11720 | fi |
11841 | |
11721 | |
|
|
11722 | |
11842 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11723 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11843 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11724 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11844 | if test "${rxvt_can_pass_fds+set}" = set; then |
11725 | if test "${can_pass_fds+set}" = set; then |
11845 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11846 | else |
11727 | else |
11847 | cat >conftest.$ac_ext <<_ACEOF |
11728 | cat >conftest.$ac_ext <<_ACEOF |
11848 | /* confdefs.h. */ |
11729 | /* confdefs.h. */ |
11849 | _ACEOF |
11730 | _ACEOF |
11850 | cat confdefs.h >>conftest.$ac_ext |
11731 | cat confdefs.h >>conftest.$ac_ext |
11851 | cat >>conftest.$ac_ext <<_ACEOF |
11732 | cat >>conftest.$ac_ext <<_ACEOF |
11852 | /* end confdefs.h. */ |
11733 | /* end confdefs.h. */ |
11853 | |
11734 | |
|
|
11735 | #include <cstddef> // broken bsds (is that redundant?) need this |
11854 | #include <sys/types.h> |
11736 | #include <sys/types.h> |
11855 | #include <sys/socket.h> |
11737 | #include <sys/socket.h> |
|
|
11738 | #include <sys/uio.h> |
11856 | |
11739 | |
11857 | int |
11740 | int |
11858 | main () |
11741 | main () |
11859 | { |
11742 | { |
11860 | |
11743 | |
… | |
… | |
11893 | grep -v '^ *+' conftest.er1 >conftest.err |
11776 | grep -v '^ *+' conftest.er1 >conftest.err |
11894 | rm -f conftest.er1 |
11777 | rm -f conftest.er1 |
11895 | cat conftest.err >&5 |
11778 | cat conftest.err >&5 |
11896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11897 | (exit $ac_status); } && |
11780 | (exit $ac_status); } && |
11898 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11781 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11782 | || test ! -s conftest.err' |
11899 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11783 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11900 | (eval $ac_try) 2>&5 |
11784 | (eval $ac_try) 2>&5 |
11901 | ac_status=$? |
11785 | ac_status=$? |
11902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11903 | (exit $ac_status); }; } && |
11787 | (exit $ac_status); }; } && |
… | |
… | |
11905 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11906 | (eval $ac_try) 2>&5 |
11790 | (eval $ac_try) 2>&5 |
11907 | ac_status=$? |
11791 | ac_status=$? |
11908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11909 | (exit $ac_status); }; }; then |
11793 | (exit $ac_status); }; }; then |
11910 | rxvt_can_pass_fds=yes |
11794 | can_pass_fds=yes |
11911 | else |
11795 | else |
11912 | echo "$as_me: failed program was:" >&5 |
11796 | echo "$as_me: failed program was:" >&5 |
11913 | sed 's/^/| /' conftest.$ac_ext >&5 |
11797 | sed 's/^/| /' conftest.$ac_ext >&5 |
11914 | |
11798 | |
11915 | rxvt_can_pass_fds=no |
11799 | can_pass_fds=no |
11916 | fi |
11800 | fi |
11917 | rm -f conftest.err conftest.$ac_objext \ |
11801 | rm -f conftest.err conftest.$ac_objext \ |
11918 | conftest$ac_exeext conftest.$ac_ext |
11802 | conftest$ac_exeext conftest.$ac_ext |
11919 | fi |
11803 | fi |
11920 | echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 |
11804 | echo "$as_me:$LINENO: result: $can_pass_fds" >&5 |
11921 | echo "${ECHO_T}$rxvt_can_pass_fds" >&6 |
11805 | echo "${ECHO_T}$can_pass_fds" >&6 |
11922 | if test x$rxvt_can_pass_fds = xyes; then |
11806 | if test x$can_pass_fds = xyes; then |
11923 | |
11807 | |
11924 | cat >>confdefs.h <<\_ACEOF |
11808 | cat >>confdefs.h <<\_ACEOF |
11925 | #define HAVE_UNIX_FDPASS 1 |
11809 | #define HAVE_UNIX_FDPASS 1 |
11926 | _ACEOF |
11810 | _ACEOF |
11927 | |
11811 | |
|
|
11812 | else |
|
|
11813 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
|
|
11814 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
|
|
11815 | { (exit 1); exit 1; }; } |
11928 | fi |
11816 | fi |
|
|
11817 | |
11929 | |
11818 | |
11930 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11819 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11931 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11820 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11932 | if test "${rxvt_broken_ximcb+set}" = set; then |
11821 | if test "${rxvt_broken_ximcb+set}" = set; then |
11933 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11822 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11951 | grep -v '^ *+' conftest.er1 >conftest.err |
11840 | grep -v '^ *+' conftest.er1 >conftest.err |
11952 | rm -f conftest.er1 |
11841 | rm -f conftest.er1 |
11953 | cat conftest.err >&5 |
11842 | cat conftest.err >&5 |
11954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11955 | (exit $ac_status); } && |
11844 | (exit $ac_status); } && |
11956 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11845 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11846 | || test ! -s conftest.err' |
11957 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11847 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11958 | (eval $ac_try) 2>&5 |
11848 | (eval $ac_try) 2>&5 |
11959 | ac_status=$? |
11849 | ac_status=$? |
11960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11961 | (exit $ac_status); }; } && |
11851 | (exit $ac_status); }; } && |
… | |
… | |
11983 | #define XIMCB_PROTO_BROKEN 1 |
11873 | #define XIMCB_PROTO_BROKEN 1 |
11984 | _ACEOF |
11874 | _ACEOF |
11985 | |
11875 | |
11986 | fi |
11876 | fi |
11987 | |
11877 | |
11988 | echo "$as_me:$LINENO: checking for getpt" >&5 |
|
|
11989 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
|
|
11990 | if test "${rxvt_cv_func_getpt+set}" = set; then |
|
|
11991 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11992 | else |
|
|
11993 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11994 | /* confdefs.h. */ |
|
|
11995 | _ACEOF |
|
|
11996 | cat confdefs.h >>conftest.$ac_ext |
|
|
11997 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11998 | /* end confdefs.h. */ |
|
|
11999 | #define _GNU_SOURCE |
|
|
12000 | #ifdef HAVE_STDLIB_H |
|
|
12001 | # include <cstdlib> |
|
|
12002 | #endif |
|
|
12003 | int |
|
|
12004 | main () |
|
|
12005 | { |
|
|
12006 | (void)getpt(); |
|
|
12007 | ; |
|
|
12008 | return 0; |
|
|
12009 | } |
|
|
12010 | _ACEOF |
|
|
12011 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12012 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12013 | (eval $ac_link) 2>conftest.er1 |
|
|
12014 | ac_status=$? |
|
|
12015 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12016 | rm -f conftest.er1 |
|
|
12017 | cat conftest.err >&5 |
|
|
12018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12019 | (exit $ac_status); } && |
|
|
12020 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12021 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12022 | (eval $ac_try) 2>&5 |
|
|
12023 | ac_status=$? |
|
|
12024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12025 | (exit $ac_status); }; } && |
|
|
12026 | { ac_try='test -s conftest$ac_exeext' |
|
|
12027 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12028 | (eval $ac_try) 2>&5 |
|
|
12029 | ac_status=$? |
|
|
12030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12031 | (exit $ac_status); }; }; then |
|
|
12032 | rxvt_cv_func_getpt=yes |
|
|
12033 | else |
|
|
12034 | echo "$as_me: failed program was:" >&5 |
|
|
12035 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12036 | |
11878 | |
12037 | rxvt_cv_func_getpt=no |
|
|
12038 | fi |
|
|
12039 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12040 | conftest$ac_exeext conftest.$ac_ext |
|
|
12041 | fi |
|
|
12042 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
|
|
12043 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
|
|
12044 | if test x$rxvt_cv_func_getpt = xyes; then |
|
|
12045 | |
11879 | |
12046 | cat >>confdefs.h <<\_ACEOF |
|
|
12047 | #define HAVE_GETPT 1 |
|
|
12048 | _ACEOF |
|
|
12049 | |
11880 | |
12050 | fi |
|
|
12051 | |
11881 | |
12052 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
|
|
12053 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
|
|
12054 | if test "${rxvt_cv_ptys+set}" = set; then |
|
|
12055 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12056 | else |
|
|
12057 | if test x$ac_cv_func_openpty = xyes; then |
|
|
12058 | rxvt_cv_ptys=OPENPTY |
|
|
12059 | else if test x$ac_cv_func__getpty = xyes; then |
|
|
12060 | rxvt_cv_ptys=SGI4 |
|
|
12061 | else if test -c /dev/ttyp20; then |
|
|
12062 | rxvt_cv_ptys=SCO |
|
|
12063 | else if test -c /dev/ptym/clone; then |
|
|
12064 | rxvt_cv_ptys=HPUX |
|
|
12065 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
12066 | rxvt_cv_ptys=GLIBC |
|
|
12067 | else if test -c /dev/ptc -a -c /dev/pts; then |
|
|
12068 | rxvt_cv_ptys=PTC |
|
|
12069 | else if test -c /dev/ptc -a -d /dev/pts; then |
|
|
12070 | rxvt_cv_ptys=PTC |
|
|
12071 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
|
|
12072 | rxvt_cv_ptys=STREAMS |
|
|
12073 | else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then |
|
|
12074 | rxvt_cv_ptys=STREAMS |
|
|
12075 | else |
|
|
12076 | rxvt_cv_ptys=BSD |
|
|
12077 | fi |
|
|
12078 | fi |
|
|
12079 | fi |
|
|
12080 | fi |
|
|
12081 | fi |
|
|
12082 | fi |
|
|
12083 | fi |
|
|
12084 | fi |
|
|
12085 | fi |
|
|
12086 | |
11882 | |
12087 | fi |
|
|
12088 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
|
|
12089 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
|
|
12090 | |
11883 | |
12091 | if test x$rxvt_cv_ptys = xOPENPTY; then |
11884 | for ac_header in \ |
|
|
11885 | pty.h \ |
|
|
11886 | util.h \ |
|
|
11887 | libutil.h \ |
|
|
11888 | sys/ioctl.h \ |
|
|
11889 | sys/stropts.h \ |
12092 | |
11890 | |
12093 | cat >>confdefs.h <<\_ACEOF |
|
|
12094 | #define PTYS_ARE_OPENPTY 1 |
|
|
12095 | _ACEOF |
|
|
12096 | |
|
|
12097 | fi |
|
|
12098 | if test x$rxvt_cv_ptys = xSCO; then |
|
|
12099 | |
|
|
12100 | cat >>confdefs.h <<\_ACEOF |
|
|
12101 | #define PTYS_ARE_NUMERIC 1 |
|
|
12102 | _ACEOF |
|
|
12103 | |
|
|
12104 | fi |
|
|
12105 | if test x$rxvt_cv_ptys = xSTREAMS; then |
|
|
12106 | |
|
|
12107 | cat >>confdefs.h <<\_ACEOF |
|
|
12108 | #define PTYS_ARE_PTMX 1 |
|
|
12109 | _ACEOF |
|
|
12110 | |
|
|
12111 | fi |
|
|
12112 | if test x$rxvt_cv_ptys = xPTC; then |
|
|
12113 | |
|
|
12114 | cat >>confdefs.h <<\_ACEOF |
|
|
12115 | #define PTYS_ARE_PTC 1 |
|
|
12116 | _ACEOF |
|
|
12117 | |
|
|
12118 | fi |
|
|
12119 | if test x$rxvt_cv_ptys = xSGI4; then |
|
|
12120 | |
|
|
12121 | cat >>confdefs.h <<\_ACEOF |
|
|
12122 | #define PTYS_ARE__GETPTY 1 |
|
|
12123 | _ACEOF |
|
|
12124 | |
|
|
12125 | fi |
|
|
12126 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
12127 | |
|
|
12128 | cat >>confdefs.h <<\_ACEOF |
|
|
12129 | #define PTYS_ARE_GETPTY 1 |
|
|
12130 | _ACEOF |
|
|
12131 | |
|
|
12132 | fi |
|
|
12133 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12134 | |
|
|
12135 | cat >>confdefs.h <<\_ACEOF |
|
|
12136 | #define PTYS_ARE_GETPT 1 |
|
|
12137 | _ACEOF |
|
|
12138 | |
|
|
12139 | fi |
|
|
12140 | if test x$rxvt_cv_ptys = xHPUX; then |
|
|
12141 | |
|
|
12142 | cat >>confdefs.h <<\_ACEOF |
|
|
12143 | #define PTYS_ARE_CLONE 1 |
|
|
12144 | _ACEOF |
|
|
12145 | |
|
|
12146 | fi |
|
|
12147 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
|
|
12148 | |
|
|
12149 | cat >>confdefs.h <<\_ACEOF |
|
|
12150 | #define PTYS_ARE_SEARCHED 1 |
|
|
12151 | _ACEOF |
|
|
12152 | |
|
|
12153 | fi |
|
|
12154 | |
|
|
12155 | |
|
|
12156 | { echo "$as_me:$LINENO: checking for pty ranges..." >&5 |
|
|
12157 | echo "$as_me: checking for pty ranges..." >&6;} |
|
|
12158 | ptys=`echo /dev/pty??` |
|
|
12159 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
|
|
12160 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
|
|
12161 | if test x$pch1 != x; then |
|
|
12162 | |
|
|
12163 | cat >>confdefs.h <<_ACEOF |
|
|
12164 | #define PTYCHAR1 "$pch1" |
|
|
12165 | _ACEOF |
|
|
12166 | |
|
|
12167 | fi |
|
|
12168 | if test x$pch2 != x; then |
|
|
12169 | |
|
|
12170 | cat >>confdefs.h <<_ACEOF |
|
|
12171 | #define PTYCHAR2 "$pch2" |
|
|
12172 | _ACEOF |
|
|
12173 | |
|
|
12174 | fi |
|
|
12175 | |
|
|
12176 | if test x$support_xft = xyes; then |
|
|
12177 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
12178 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
12179 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
12180 | |
|
|
12181 | |
|
|
12182 | for ac_header in X11/Xft/Xft.h |
|
|
12183 | do |
11891 | do |
12184 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11892 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12185 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11893 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12186 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11894 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12187 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11895 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
12210 | grep -v '^ *+' conftest.er1 >conftest.err |
11918 | grep -v '^ *+' conftest.er1 >conftest.err |
12211 | rm -f conftest.er1 |
11919 | rm -f conftest.er1 |
12212 | cat conftest.err >&5 |
11920 | cat conftest.err >&5 |
12213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12214 | (exit $ac_status); } && |
11922 | (exit $ac_status); } && |
12215 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11923 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11924 | || test ! -s conftest.err' |
12216 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12217 | (eval $ac_try) 2>&5 |
11926 | (eval $ac_try) 2>&5 |
12218 | ac_status=$? |
11927 | ac_status=$? |
12219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12220 | (exit $ac_status); }; } && |
11929 | (exit $ac_status); }; } && |
… | |
… | |
12321 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12030 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12322 | cat >>confdefs.h <<_ACEOF |
12031 | cat >>confdefs.h <<_ACEOF |
12323 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12032 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12324 | _ACEOF |
12033 | _ACEOF |
12325 | |
12034 | |
|
|
12035 | fi |
|
|
12036 | |
|
|
12037 | done |
|
|
12038 | |
|
|
12039 | |
|
|
12040 | |
|
|
12041 | |
|
|
12042 | |
|
|
12043 | |
|
|
12044 | |
|
|
12045 | |
|
|
12046 | |
|
|
12047 | |
|
|
12048 | |
|
|
12049 | for ac_func in \ |
|
|
12050 | revoke \ |
|
|
12051 | _getpty \ |
|
|
12052 | getpt \ |
|
|
12053 | posix_openpt \ |
|
|
12054 | isastream \ |
|
|
12055 | setuid \ |
|
|
12056 | seteuid \ |
|
|
12057 | setreuid \ |
|
|
12058 | setresuid \ |
|
|
12059 | |
|
|
12060 | do |
|
|
12061 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12062 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12063 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12064 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12065 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12066 | else |
|
|
12067 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12068 | /* confdefs.h. */ |
|
|
12069 | _ACEOF |
|
|
12070 | cat confdefs.h >>conftest.$ac_ext |
|
|
12071 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12072 | /* end confdefs.h. */ |
|
|
12073 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12074 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12075 | #define $ac_func innocuous_$ac_func |
|
|
12076 | |
|
|
12077 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12078 | which can conflict with char $ac_func (); below. |
|
|
12079 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12080 | <limits.h> exists even on freestanding compilers. */ |
|
|
12081 | |
|
|
12082 | #ifdef __STDC__ |
|
|
12083 | # include <limits.h> |
|
|
12084 | #else |
|
|
12085 | # include <assert.h> |
|
|
12086 | #endif |
|
|
12087 | |
|
|
12088 | #undef $ac_func |
|
|
12089 | |
|
|
12090 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12091 | #ifdef __cplusplus |
|
|
12092 | extern "C" |
|
|
12093 | { |
|
|
12094 | #endif |
|
|
12095 | /* We use char because int might match the return type of a gcc2 |
|
|
12096 | builtin and then its argument prototype would still apply. */ |
|
|
12097 | char $ac_func (); |
|
|
12098 | /* The GNU C library defines this for functions which it implements |
|
|
12099 | to always fail with ENOSYS. Some functions are actually named |
|
|
12100 | something starting with __ and the normal name is an alias. */ |
|
|
12101 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12102 | choke me |
|
|
12103 | #else |
|
|
12104 | char (*f) () = $ac_func; |
|
|
12105 | #endif |
|
|
12106 | #ifdef __cplusplus |
|
|
12107 | } |
|
|
12108 | #endif |
|
|
12109 | |
|
|
12110 | int |
|
|
12111 | main () |
|
|
12112 | { |
|
|
12113 | return f != $ac_func; |
|
|
12114 | ; |
|
|
12115 | return 0; |
|
|
12116 | } |
|
|
12117 | _ACEOF |
|
|
12118 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12119 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12120 | (eval $ac_link) 2>conftest.er1 |
|
|
12121 | ac_status=$? |
|
|
12122 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12123 | rm -f conftest.er1 |
|
|
12124 | cat conftest.err >&5 |
|
|
12125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12126 | (exit $ac_status); } && |
|
|
12127 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12128 | || test ! -s conftest.err' |
|
|
12129 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12130 | (eval $ac_try) 2>&5 |
|
|
12131 | ac_status=$? |
|
|
12132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12133 | (exit $ac_status); }; } && |
|
|
12134 | { ac_try='test -s conftest$ac_exeext' |
|
|
12135 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12136 | (eval $ac_try) 2>&5 |
|
|
12137 | ac_status=$? |
|
|
12138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12139 | (exit $ac_status); }; }; then |
|
|
12140 | eval "$as_ac_var=yes" |
|
|
12141 | else |
|
|
12142 | echo "$as_me: failed program was:" >&5 |
|
|
12143 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12144 | |
|
|
12145 | eval "$as_ac_var=no" |
|
|
12146 | fi |
|
|
12147 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12148 | conftest$ac_exeext conftest.$ac_ext |
|
|
12149 | fi |
|
|
12150 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12151 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12152 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12153 | cat >>confdefs.h <<_ACEOF |
|
|
12154 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12155 | _ACEOF |
|
|
12156 | |
|
|
12157 | fi |
|
|
12158 | done |
|
|
12159 | |
|
|
12160 | |
|
|
12161 | have_clone=no |
|
|
12162 | |
|
|
12163 | echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5 |
|
|
12164 | echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6 |
|
|
12165 | if test -e /dev/ptym/clone; then |
|
|
12166 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12167 | echo "${ECHO_T}yes" >&6 |
|
|
12168 | |
|
|
12169 | cat >>confdefs.h <<\_ACEOF |
|
|
12170 | #define HAVE_DEV_CLONE 1 |
|
|
12171 | _ACEOF |
|
|
12172 | |
|
|
12173 | |
|
|
12174 | cat >>confdefs.h <<\_ACEOF |
|
|
12175 | #define CLONE_DEVICE "/dev/ptym/clone" |
|
|
12176 | _ACEOF |
|
|
12177 | |
|
|
12178 | have_clone=yes |
|
|
12179 | else |
|
|
12180 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12181 | echo "${ECHO_T}no" >&6 |
|
|
12182 | fi |
|
|
12183 | |
|
|
12184 | echo "$as_me:$LINENO: checking for /dev/ptc" >&5 |
|
|
12185 | echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6 |
|
|
12186 | if test -e /dev/ptc; then |
|
|
12187 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12188 | echo "${ECHO_T}yes" >&6 |
|
|
12189 | |
|
|
12190 | cat >>confdefs.h <<\_ACEOF |
|
|
12191 | #define HAVE_DEV_PTC 1 |
|
|
12192 | _ACEOF |
|
|
12193 | |
|
|
12194 | |
|
|
12195 | cat >>confdefs.h <<\_ACEOF |
|
|
12196 | #define CLONE_DEVICE "/dev/ptc" |
|
|
12197 | _ACEOF |
|
|
12198 | |
|
|
12199 | have_clone=yes |
|
|
12200 | else |
|
|
12201 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12202 | echo "${ECHO_T}no" >&6 |
|
|
12203 | fi |
|
|
12204 | |
|
|
12205 | case $host in |
|
|
12206 | *-*-cygwin*) |
|
|
12207 | have_clone=yes |
|
|
12208 | |
|
|
12209 | cat >>confdefs.h <<\_ACEOF |
|
|
12210 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12211 | _ACEOF |
|
|
12212 | |
|
|
12213 | ;; |
|
|
12214 | *) |
|
|
12215 | echo "$as_me:$LINENO: checking for /dev/ptmx" >&5 |
|
|
12216 | echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6 |
|
|
12217 | if test -e /dev/ptmx; then |
|
|
12218 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12219 | echo "${ECHO_T}yes" >&6 |
|
|
12220 | |
|
|
12221 | cat >>confdefs.h <<\_ACEOF |
|
|
12222 | #define HAVE_DEV_PTMX 1 |
|
|
12223 | _ACEOF |
|
|
12224 | |
|
|
12225 | |
|
|
12226 | cat >>confdefs.h <<\_ACEOF |
|
|
12227 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12228 | _ACEOF |
|
|
12229 | |
|
|
12230 | have_clone=yes |
|
|
12231 | else |
|
|
12232 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12233 | echo "${ECHO_T}no" >&6 |
|
|
12234 | fi |
|
|
12235 | ;; |
|
|
12236 | esac |
|
|
12237 | |
|
|
12238 | if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then |
|
|
12239 | echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5 |
|
|
12240 | echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6 |
|
|
12241 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12242 | /* confdefs.h. */ |
|
|
12243 | _ACEOF |
|
|
12244 | cat confdefs.h >>conftest.$ac_ext |
|
|
12245 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12246 | /* end confdefs.h. */ |
|
|
12247 | #include <stdlib.h> |
|
|
12248 | int |
|
|
12249 | main () |
|
|
12250 | { |
|
|
12251 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
12252 | ; |
|
|
12253 | return 0; |
|
|
12254 | } |
|
|
12255 | _ACEOF |
|
|
12256 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12257 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12258 | (eval $ac_link) 2>conftest.er1 |
|
|
12259 | ac_status=$? |
|
|
12260 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12261 | rm -f conftest.er1 |
|
|
12262 | cat conftest.err >&5 |
|
|
12263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12264 | (exit $ac_status); } && |
|
|
12265 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12266 | || test ! -s conftest.err' |
|
|
12267 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12268 | (eval $ac_try) 2>&5 |
|
|
12269 | ac_status=$? |
|
|
12270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12271 | (exit $ac_status); }; } && |
|
|
12272 | { ac_try='test -s conftest$ac_exeext' |
|
|
12273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12274 | (eval $ac_try) 2>&5 |
|
|
12275 | ac_status=$? |
|
|
12276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12277 | (exit $ac_status); }; }; then |
|
|
12278 | unix98_pty=yes |
|
|
12279 | |
|
|
12280 | cat >>confdefs.h <<\_ACEOF |
|
|
12281 | #define UNIX98_PTY 1 |
|
|
12282 | _ACEOF |
|
|
12283 | |
|
|
12284 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12285 | echo "${ECHO_T}yes" >&6 |
|
|
12286 | else |
|
|
12287 | echo "$as_me: failed program was:" >&5 |
|
|
12288 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12289 | |
|
|
12290 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12291 | echo "${ECHO_T}no" >&6 |
|
|
12292 | fi |
|
|
12293 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12294 | conftest$ac_exeext conftest.$ac_ext |
|
|
12295 | fi |
|
|
12296 | |
|
|
12297 | if test -z "$unix98_pty"; then |
|
|
12298 | |
|
|
12299 | for ac_func in openpty |
|
|
12300 | do |
|
|
12301 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12302 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12303 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12304 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12305 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12306 | else |
|
|
12307 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12308 | /* confdefs.h. */ |
|
|
12309 | _ACEOF |
|
|
12310 | cat confdefs.h >>conftest.$ac_ext |
|
|
12311 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12312 | /* end confdefs.h. */ |
|
|
12313 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12314 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12315 | #define $ac_func innocuous_$ac_func |
|
|
12316 | |
|
|
12317 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12318 | which can conflict with char $ac_func (); below. |
|
|
12319 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12320 | <limits.h> exists even on freestanding compilers. */ |
|
|
12321 | |
|
|
12322 | #ifdef __STDC__ |
|
|
12323 | # include <limits.h> |
|
|
12324 | #else |
|
|
12325 | # include <assert.h> |
|
|
12326 | #endif |
|
|
12327 | |
|
|
12328 | #undef $ac_func |
|
|
12329 | |
|
|
12330 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12331 | #ifdef __cplusplus |
|
|
12332 | extern "C" |
|
|
12333 | { |
|
|
12334 | #endif |
|
|
12335 | /* We use char because int might match the return type of a gcc2 |
|
|
12336 | builtin and then its argument prototype would still apply. */ |
|
|
12337 | char $ac_func (); |
|
|
12338 | /* The GNU C library defines this for functions which it implements |
|
|
12339 | to always fail with ENOSYS. Some functions are actually named |
|
|
12340 | something starting with __ and the normal name is an alias. */ |
|
|
12341 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12342 | choke me |
|
|
12343 | #else |
|
|
12344 | char (*f) () = $ac_func; |
|
|
12345 | #endif |
|
|
12346 | #ifdef __cplusplus |
|
|
12347 | } |
|
|
12348 | #endif |
|
|
12349 | |
|
|
12350 | int |
|
|
12351 | main () |
|
|
12352 | { |
|
|
12353 | return f != $ac_func; |
|
|
12354 | ; |
|
|
12355 | return 0; |
|
|
12356 | } |
|
|
12357 | _ACEOF |
|
|
12358 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12359 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12360 | (eval $ac_link) 2>conftest.er1 |
|
|
12361 | ac_status=$? |
|
|
12362 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12363 | rm -f conftest.er1 |
|
|
12364 | cat conftest.err >&5 |
|
|
12365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12366 | (exit $ac_status); } && |
|
|
12367 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12368 | || test ! -s conftest.err' |
|
|
12369 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12370 | (eval $ac_try) 2>&5 |
|
|
12371 | ac_status=$? |
|
|
12372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12373 | (exit $ac_status); }; } && |
|
|
12374 | { ac_try='test -s conftest$ac_exeext' |
|
|
12375 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12376 | (eval $ac_try) 2>&5 |
|
|
12377 | ac_status=$? |
|
|
12378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12379 | (exit $ac_status); }; }; then |
|
|
12380 | eval "$as_ac_var=yes" |
|
|
12381 | else |
|
|
12382 | echo "$as_me: failed program was:" >&5 |
|
|
12383 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12384 | |
|
|
12385 | eval "$as_ac_var=no" |
|
|
12386 | fi |
|
|
12387 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12388 | conftest$ac_exeext conftest.$ac_ext |
|
|
12389 | fi |
|
|
12390 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12391 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12392 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12393 | cat >>confdefs.h <<_ACEOF |
|
|
12394 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12395 | _ACEOF |
|
|
12396 | |
|
|
12397 | else |
|
|
12398 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12399 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12400 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12401 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12402 | else |
|
|
12403 | ac_check_lib_save_LIBS=$LIBS |
|
|
12404 | LIBS="-lutil $LIBS" |
|
|
12405 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12406 | /* confdefs.h. */ |
|
|
12407 | _ACEOF |
|
|
12408 | cat confdefs.h >>conftest.$ac_ext |
|
|
12409 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12410 | /* end confdefs.h. */ |
|
|
12411 | |
|
|
12412 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12413 | #ifdef __cplusplus |
|
|
12414 | extern "C" |
|
|
12415 | #endif |
|
|
12416 | /* We use char because int might match the return type of a gcc2 |
|
|
12417 | builtin and then its argument prototype would still apply. */ |
|
|
12418 | char openpty (); |
|
|
12419 | int |
|
|
12420 | main () |
|
|
12421 | { |
|
|
12422 | openpty (); |
|
|
12423 | ; |
|
|
12424 | return 0; |
|
|
12425 | } |
|
|
12426 | _ACEOF |
|
|
12427 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12428 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12429 | (eval $ac_link) 2>conftest.er1 |
|
|
12430 | ac_status=$? |
|
|
12431 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12432 | rm -f conftest.er1 |
|
|
12433 | cat conftest.err >&5 |
|
|
12434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12435 | (exit $ac_status); } && |
|
|
12436 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12437 | || test ! -s conftest.err' |
|
|
12438 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12439 | (eval $ac_try) 2>&5 |
|
|
12440 | ac_status=$? |
|
|
12441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12442 | (exit $ac_status); }; } && |
|
|
12443 | { ac_try='test -s conftest$ac_exeext' |
|
|
12444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12445 | (eval $ac_try) 2>&5 |
|
|
12446 | ac_status=$? |
|
|
12447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12448 | (exit $ac_status); }; }; then |
|
|
12449 | ac_cv_lib_util_openpty=yes |
|
|
12450 | else |
|
|
12451 | echo "$as_me: failed program was:" >&5 |
|
|
12452 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12453 | |
|
|
12454 | ac_cv_lib_util_openpty=no |
|
|
12455 | fi |
|
|
12456 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12457 | conftest$ac_exeext conftest.$ac_ext |
|
|
12458 | LIBS=$ac_check_lib_save_LIBS |
|
|
12459 | fi |
|
|
12460 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12461 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12462 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12463 | cat >>confdefs.h <<\_ACEOF |
|
|
12464 | #define HAVE_OPENPTY 1 |
|
|
12465 | _ACEOF |
|
|
12466 | LIBS="$LIBS -lutil" |
|
|
12467 | fi |
|
|
12468 | |
|
|
12469 | fi |
|
|
12470 | done |
|
|
12471 | |
|
|
12472 | fi |
|
|
12473 | |
|
|
12474 | |
|
|
12475 | |
|
|
12476 | echo "$as_me:$LINENO: checking for tty group" >&5 |
|
|
12477 | echo $ECHO_N "checking for tty group... $ECHO_C" >&6 |
|
|
12478 | if test "${tty_group+set}" = set; then |
|
|
12479 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12480 | else |
|
|
12481 | if test "$cross_compiling" = yes; then |
|
|
12482 | tty_group=no |
|
|
12483 | else |
|
|
12484 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12485 | /* confdefs.h. */ |
|
|
12486 | _ACEOF |
|
|
12487 | cat confdefs.h >>conftest.$ac_ext |
|
|
12488 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12489 | /* end confdefs.h. */ |
|
|
12490 | |
|
|
12491 | #include <sys/types.h> |
|
|
12492 | #include <sys/stat.h> |
|
|
12493 | #include <unistd.h> |
|
|
12494 | #include <grp.h> |
|
|
12495 | |
|
|
12496 | main() |
|
|
12497 | { |
|
|
12498 | struct stat st; |
|
|
12499 | struct group *gr; |
|
|
12500 | char *tty; |
|
|
12501 | gr = getgrnam("tty"); |
|
|
12502 | tty = ttyname(0); |
|
|
12503 | if (gr != 0 |
|
|
12504 | && tty != 0 |
|
|
12505 | && (stat(tty, &st)) == 0 |
|
|
12506 | && st.st_gid == gr->gr_gid) |
|
|
12507 | return 0; |
|
|
12508 | else |
|
|
12509 | return 1; |
|
|
12510 | } |
|
|
12511 | _ACEOF |
|
|
12512 | rm -f conftest$ac_exeext |
|
|
12513 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12514 | (eval $ac_link) 2>&5 |
|
|
12515 | ac_status=$? |
|
|
12516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12517 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12518 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12519 | (eval $ac_try) 2>&5 |
|
|
12520 | ac_status=$? |
|
|
12521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12522 | (exit $ac_status); }; }; then |
|
|
12523 | tty_group=yes |
|
|
12524 | else |
|
|
12525 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12526 | echo "$as_me: failed program was:" >&5 |
|
|
12527 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12528 | |
|
|
12529 | ( exit $ac_status ) |
|
|
12530 | tty_group=no |
|
|
12531 | fi |
|
|
12532 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12533 | fi |
|
|
12534 | fi |
|
|
12535 | echo "$as_me:$LINENO: result: $tty_group" >&5 |
|
|
12536 | echo "${ECHO_T}$tty_group" >&6 |
|
|
12537 | if test x$tty_group = xyes; then |
|
|
12538 | |
|
|
12539 | cat >>confdefs.h <<\_ACEOF |
|
|
12540 | #define TTY_GID_SUPPORT 1 |
|
|
12541 | _ACEOF |
|
|
12542 | |
|
|
12543 | fi |
|
|
12544 | |
|
|
12545 | if test x$support_xft = xyes; then |
|
|
12546 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
12547 | set dummy pkg-config; ac_word=$2 |
|
|
12548 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12549 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12550 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
|
12551 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12552 | else |
|
|
12553 | case $PKG_CONFIG in |
|
|
12554 | [\\/]* | ?:[\\/]*) |
|
|
12555 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
12556 | ;; |
|
|
12557 | *) |
|
|
12558 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12559 | for as_dir in $PATH |
|
|
12560 | do |
|
|
12561 | IFS=$as_save_IFS |
|
|
12562 | test -z "$as_dir" && as_dir=. |
|
|
12563 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12564 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12565 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12566 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12567 | break 2 |
|
|
12568 | fi |
|
|
12569 | done |
|
|
12570 | done |
|
|
12571 | |
|
|
12572 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
12573 | ;; |
|
|
12574 | esac |
|
|
12575 | fi |
|
|
12576 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
12577 | |
|
|
12578 | if test -n "$PKG_CONFIG"; then |
|
|
12579 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
12580 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
|
12581 | else |
|
|
12582 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12583 | echo "${ECHO_T}no" >&6 |
|
|
12584 | fi |
|
|
12585 | |
|
|
12586 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
12587 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
|
|
12588 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
12589 | else |
|
|
12590 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
12591 | set dummy xft-config; ac_word=$2 |
|
|
12592 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12593 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12594 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
|
|
12595 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12596 | else |
|
|
12597 | case $XFT_CONFIG in |
|
|
12598 | [\\/]* | ?:[\\/]*) |
|
|
12599 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
12600 | ;; |
|
|
12601 | *) |
|
|
12602 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12603 | for as_dir in $PATH |
|
|
12604 | do |
|
|
12605 | IFS=$as_save_IFS |
|
|
12606 | test -z "$as_dir" && as_dir=. |
|
|
12607 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12608 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12609 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12610 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12611 | break 2 |
|
|
12612 | fi |
|
|
12613 | done |
|
|
12614 | done |
|
|
12615 | |
|
|
12616 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
12617 | ;; |
|
|
12618 | esac |
|
|
12619 | fi |
|
|
12620 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
12621 | |
|
|
12622 | if test -n "$XFT_CONFIG"; then |
|
|
12623 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
|
|
12624 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
|
|
12625 | else |
|
|
12626 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12627 | echo "${ECHO_T}no" >&6 |
|
|
12628 | fi |
|
|
12629 | |
|
|
12630 | if test $XFT_CONFIG != no; then |
|
|
12631 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
|
|
12632 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
12633 | fi |
|
|
12634 | fi |
|
|
12635 | |
|
|
12636 | |
|
|
12637 | for ac_header in X11/Xft/Xft.h |
|
|
12638 | do |
|
|
12639 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
12640 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12641 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12642 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12643 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12644 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12645 | fi |
|
|
12646 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12647 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12648 | else |
|
|
12649 | # Is the header compilable? |
|
|
12650 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
12651 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
12652 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12653 | /* confdefs.h. */ |
|
|
12654 | _ACEOF |
|
|
12655 | cat confdefs.h >>conftest.$ac_ext |
|
|
12656 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12657 | /* end confdefs.h. */ |
|
|
12658 | $ac_includes_default |
|
|
12659 | #include <$ac_header> |
|
|
12660 | _ACEOF |
|
|
12661 | rm -f conftest.$ac_objext |
|
|
12662 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12663 | (eval $ac_compile) 2>conftest.er1 |
|
|
12664 | ac_status=$? |
|
|
12665 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12666 | rm -f conftest.er1 |
|
|
12667 | cat conftest.err >&5 |
|
|
12668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12669 | (exit $ac_status); } && |
|
|
12670 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12671 | || test ! -s conftest.err' |
|
|
12672 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12673 | (eval $ac_try) 2>&5 |
|
|
12674 | ac_status=$? |
|
|
12675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12676 | (exit $ac_status); }; } && |
|
|
12677 | { ac_try='test -s conftest.$ac_objext' |
|
|
12678 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12679 | (eval $ac_try) 2>&5 |
|
|
12680 | ac_status=$? |
|
|
12681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12682 | (exit $ac_status); }; }; then |
|
|
12683 | ac_header_compiler=yes |
|
|
12684 | else |
|
|
12685 | echo "$as_me: failed program was:" >&5 |
|
|
12686 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12687 | |
|
|
12688 | ac_header_compiler=no |
|
|
12689 | fi |
|
|
12690 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12691 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
12692 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
12693 | |
|
|
12694 | # Is the header present? |
|
|
12695 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
12696 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
12697 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12698 | /* confdefs.h. */ |
|
|
12699 | _ACEOF |
|
|
12700 | cat confdefs.h >>conftest.$ac_ext |
|
|
12701 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12702 | /* end confdefs.h. */ |
|
|
12703 | #include <$ac_header> |
|
|
12704 | _ACEOF |
|
|
12705 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
12706 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
12707 | ac_status=$? |
|
|
12708 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12709 | rm -f conftest.er1 |
|
|
12710 | cat conftest.err >&5 |
|
|
12711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12712 | (exit $ac_status); } >/dev/null; then |
|
|
12713 | if test -s conftest.err; then |
|
|
12714 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
12715 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
12716 | else |
|
|
12717 | ac_cpp_err= |
|
|
12718 | fi |
|
|
12719 | else |
|
|
12720 | ac_cpp_err=yes |
|
|
12721 | fi |
|
|
12722 | if test -z "$ac_cpp_err"; then |
|
|
12723 | ac_header_preproc=yes |
|
|
12724 | else |
|
|
12725 | echo "$as_me: failed program was:" >&5 |
|
|
12726 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12727 | |
|
|
12728 | ac_header_preproc=no |
|
|
12729 | fi |
|
|
12730 | rm -f conftest.err conftest.$ac_ext |
|
|
12731 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
12732 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
12733 | |
|
|
12734 | # So? What about this header? |
|
|
12735 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
12736 | yes:no: ) |
|
|
12737 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
12738 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
12739 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
12740 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
12741 | ac_header_preproc=yes |
|
|
12742 | ;; |
|
|
12743 | no:yes:* ) |
|
|
12744 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
12745 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
12746 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
12747 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
12748 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
12749 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
12750 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
12751 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
12752 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
12753 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
12754 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
12755 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
12756 | ( |
|
|
12757 | cat <<\_ASBOX |
|
|
12758 | ## ------------------------------------------ ## |
|
|
12759 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
12760 | ## ------------------------------------------ ## |
|
|
12761 | _ASBOX |
|
|
12762 | ) | |
|
|
12763 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
12764 | ;; |
|
|
12765 | esac |
|
|
12766 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12767 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12768 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12769 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12770 | else |
|
|
12771 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
12772 | fi |
|
|
12773 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12774 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12775 | |
|
|
12776 | fi |
|
|
12777 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
12778 | cat >>confdefs.h <<_ACEOF |
|
|
12779 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
12780 | _ACEOF |
|
|
12781 | |
12326 | else |
12782 | else |
12327 | support_xft=no |
12783 | support_xft=no |
12328 | fi |
12784 | fi |
12329 | |
12785 | |
12330 | done |
12786 | done |
… | |
… | |
12366 | grep -v '^ *+' conftest.er1 >conftest.err |
12822 | grep -v '^ *+' conftest.er1 >conftest.err |
12367 | rm -f conftest.er1 |
12823 | rm -f conftest.er1 |
12368 | cat conftest.err >&5 |
12824 | cat conftest.err >&5 |
12369 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12370 | (exit $ac_status); } && |
12826 | (exit $ac_status); } && |
12371 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12827 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12828 | || test ! -s conftest.err' |
12372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12373 | (eval $ac_try) 2>&5 |
12830 | (eval $ac_try) 2>&5 |
12374 | ac_status=$? |
12831 | ac_status=$? |
12375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12376 | (exit $ac_status); }; } && |
12833 | (exit $ac_status); }; } && |
… | |
… | |
12467 | cat >>confdefs.h <<\_ACEOF |
12924 | cat >>confdefs.h <<\_ACEOF |
12468 | #define SELECTION_SCROLLING 1 |
12925 | #define SELECTION_SCROLLING 1 |
12469 | _ACEOF |
12926 | _ACEOF |
12470 | |
12927 | |
12471 | fi |
12928 | fi |
12472 | if test x$support_menubar = xyes; then |
|
|
12473 | |
|
|
12474 | cat >>confdefs.h <<\_ACEOF |
|
|
12475 | #define MENUBAR 1 |
|
|
12476 | _ACEOF |
|
|
12477 | |
|
|
12478 | fi |
|
|
12479 | if test x$support_frills = xyes; then |
12929 | if test x$support_frills = xyes; then |
12480 | |
12930 | |
12481 | cat >>confdefs.h <<\_ACEOF |
12931 | cat >>confdefs.h <<\_ACEOF |
12482 | #define ENABLE_FRILLS 1 |
12932 | #define ENABLE_FRILLS 1 |
12483 | _ACEOF |
12933 | _ACEOF |
12484 | |
12934 | |
12485 | fi |
12935 | fi |
12486 | if test x$support_24bit = xyes; then |
|
|
12487 | |
|
|
12488 | cat >>confdefs.h <<\_ACEOF |
|
|
12489 | #define PREFER_24BIT 1 |
|
|
12490 | _ACEOF |
|
|
12491 | |
|
|
12492 | fi |
|
|
12493 | if test x$support_mousewheel = xyes; then |
12936 | if test x$support_mousewheel = xyes; then |
12494 | |
12937 | |
12495 | cat >>confdefs.h <<\_ACEOF |
12938 | cat >>confdefs.h <<\_ACEOF |
12496 | #define MOUSE_WHEEL 1 |
12939 | #define MOUSE_WHEEL 1 |
12497 | _ACEOF |
12940 | _ACEOF |
… | |
… | |
12502 | cat >>confdefs.h <<\_ACEOF |
12945 | cat >>confdefs.h <<\_ACEOF |
12503 | #define MOUSE_SLIP_WHEELING 1 |
12946 | #define MOUSE_SLIP_WHEELING 1 |
12504 | _ACEOF |
12947 | _ACEOF |
12505 | |
12948 | |
12506 | fi |
12949 | fi |
12507 | if test x$support_utmp = xyes; then |
|
|
12508 | |
|
|
12509 | cat >>confdefs.h <<\_ACEOF |
|
|
12510 | #define UTMP_SUPPORT 1 |
|
|
12511 | _ACEOF |
|
|
12512 | |
|
|
12513 | fi |
|
|
12514 | if test x$support_wtmp = xyes; then |
|
|
12515 | |
|
|
12516 | cat >>confdefs.h <<\_ACEOF |
|
|
12517 | #define WTMP_SUPPORT 1 |
|
|
12518 | _ACEOF |
|
|
12519 | |
|
|
12520 | fi |
|
|
12521 | if test x$support_lastlog = xyes; then |
|
|
12522 | |
|
|
12523 | cat >>confdefs.h <<\_ACEOF |
|
|
12524 | #define LASTLOG_SUPPORT 1 |
|
|
12525 | _ACEOF |
|
|
12526 | |
|
|
12527 | fi |
|
|
12528 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
12950 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
12529 | if test x$rxvt_cv_func_xlocale = xyes; then |
12951 | if test x$rxvt_cv_func_xlocale = xyes; then |
12530 | |
12952 | |
12531 | cat >>confdefs.h <<\_ACEOF |
12953 | cat >>confdefs.h <<\_ACEOF |
12532 | #define USE_XIM 1 |
12954 | #define USE_XIM 1 |
12533 | _ACEOF |
12955 | _ACEOF |
12534 | |
12956 | |
12535 | fi |
12957 | fi |
12536 | fi |
12958 | fi |
12537 | if test x$support_xpm = xyes; then |
12959 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
12538 | |
12960 | |
12539 | cat >>confdefs.h <<\_ACEOF |
12961 | cat >>confdefs.h <<\_ACEOF |
12540 | #define XPM_BACKGROUND 1 |
12962 | #define XPM_BACKGROUND 1 |
12541 | _ACEOF |
12963 | _ACEOF |
12542 | |
12964 | |
12543 | fi |
12965 | fi |
|
|
12966 | |
|
|
12967 | if test x$support_afterimage = xyes; then |
|
|
12968 | |
|
|
12969 | cat >>confdefs.h <<\_ACEOF |
|
|
12970 | #define HAVE_AFTERIMAGE 1 |
|
|
12971 | _ACEOF |
|
|
12972 | |
|
|
12973 | fi |
|
|
12974 | |
|
|
12975 | if test x$support_afterstep = xyes; then |
|
|
12976 | |
|
|
12977 | cat >>confdefs.h <<\_ACEOF |
|
|
12978 | #define AFTERSTEP_INTEGRATION 1 |
|
|
12979 | _ACEOF |
|
|
12980 | |
|
|
12981 | fi |
|
|
12982 | |
12544 | if test x$support_scroll_rxvt = xyes; then |
12983 | if test x$support_scroll_rxvt = xyes; then |
12545 | |
12984 | |
12546 | cat >>confdefs.h <<\_ACEOF |
12985 | cat >>confdefs.h <<\_ACEOF |
12547 | #define RXVT_SCROLLBAR 1 |
12986 | #define RXVT_SCROLLBAR 1 |
12548 | _ACEOF |
12987 | _ACEOF |
… | |
… | |
12642 | _ACEOF |
13081 | _ACEOF |
12643 | ;; |
13082 | ;; |
12644 | esac |
13083 | esac |
12645 | done |
13084 | done |
12646 | |
13085 | |
|
|
13086 | IF_PERL=\# |
|
|
13087 | if test x$support_perl = xyes; then |
|
|
13088 | # Extract the first word of "perl5", so it can be a program name with args. |
|
|
13089 | set dummy perl5; ac_word=$2 |
|
|
13090 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
13091 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
13092 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
13093 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13094 | else |
|
|
13095 | case $PERL in |
|
|
13096 | [\\/]* | ?:[\\/]*) |
|
|
13097 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
13098 | ;; |
|
|
13099 | *) |
|
|
13100 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
13101 | for as_dir in $PATH |
|
|
13102 | do |
|
|
13103 | IFS=$as_save_IFS |
|
|
13104 | test -z "$as_dir" && as_dir=. |
|
|
13105 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
13106 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
13107 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
13108 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
13109 | break 2 |
|
|
13110 | fi |
|
|
13111 | done |
|
|
13112 | done |
12647 | |
13113 | |
12648 | CFLAGS=${CFLAGS--O} |
13114 | ;; |
12649 | LDFLAGS=${LDFLAGS--O} |
13115 | esac |
|
|
13116 | fi |
|
|
13117 | PERL=$ac_cv_path_PERL |
12650 | |
13118 | |
12651 | CPPFLAGS="$CPPFLAGS" |
13119 | if test -n "$PERL"; then |
|
|
13120 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
13121 | echo "${ECHO_T}$PERL" >&6 |
|
|
13122 | else |
|
|
13123 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
13124 | echo "${ECHO_T}no" >&6 |
|
|
13125 | fi |
12652 | |
13126 | |
|
|
13127 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
13128 | set dummy perl; ac_word=$2 |
|
|
13129 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
13130 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
13131 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
13132 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13133 | else |
|
|
13134 | case $PERL in |
|
|
13135 | [\\/]* | ?:[\\/]*) |
|
|
13136 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
13137 | ;; |
|
|
13138 | *) |
|
|
13139 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
13140 | for as_dir in $PATH |
|
|
13141 | do |
|
|
13142 | IFS=$as_save_IFS |
|
|
13143 | test -z "$as_dir" && as_dir=. |
|
|
13144 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
13145 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
13146 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
13147 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
13148 | break 2 |
|
|
13149 | fi |
|
|
13150 | done |
|
|
13151 | done |
|
|
13152 | |
|
|
13153 | ;; |
|
|
13154 | esac |
|
|
13155 | fi |
|
|
13156 | PERL=$ac_cv_path_PERL |
|
|
13157 | |
|
|
13158 | if test -n "$PERL"; then |
|
|
13159 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
13160 | echo "${ECHO_T}$PERL" >&6 |
|
|
13161 | else |
|
|
13162 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
13163 | echo "${ECHO_T}no" >&6 |
|
|
13164 | fi |
|
|
13165 | |
|
|
13166 | |
|
|
13167 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
|
|
13168 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
|
|
13169 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
13170 | |
|
|
13171 | save_CXXFLAGS="$CXXFLAGS" |
|
|
13172 | save_LIBS="$LIBS" |
|
|
13173 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
13174 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
13175 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13176 | /* confdefs.h. */ |
|
|
13177 | _ACEOF |
|
|
13178 | cat confdefs.h >>conftest.$ac_ext |
|
|
13179 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13180 | /* end confdefs.h. */ |
|
|
13181 | |
|
|
13182 | #include <EXTERN.h> |
|
|
13183 | #include <perl.h> |
|
|
13184 | #include <XSUB.h> |
|
|
13185 | |
|
|
13186 | int |
|
|
13187 | main () |
|
|
13188 | { |
|
|
13189 | |
|
|
13190 | PerlInterpreter *perl = perl_alloc (); |
|
|
13191 | |
|
|
13192 | ; |
|
|
13193 | return 0; |
|
|
13194 | } |
|
|
13195 | _ACEOF |
|
|
13196 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
13197 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13198 | (eval $ac_link) 2>conftest.er1 |
|
|
13199 | ac_status=$? |
|
|
13200 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13201 | rm -f conftest.er1 |
|
|
13202 | cat conftest.err >&5 |
|
|
13203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13204 | (exit $ac_status); } && |
|
|
13205 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13206 | || test ! -s conftest.err' |
|
|
13207 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13208 | (eval $ac_try) 2>&5 |
|
|
13209 | ac_status=$? |
|
|
13210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13211 | (exit $ac_status); }; } && |
|
|
13212 | { ac_try='test -s conftest$ac_exeext' |
|
|
13213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13214 | (eval $ac_try) 2>&5 |
|
|
13215 | ac_status=$? |
|
|
13216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13217 | (exit $ac_status); }; }; then |
|
|
13218 | rxvt_perl_link=yes |
|
|
13219 | else |
|
|
13220 | echo "$as_me: failed program was:" >&5 |
|
|
13221 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13222 | |
|
|
13223 | rxvt_perl_link=no |
|
|
13224 | fi |
|
|
13225 | rm -f conftest.err conftest.$ac_objext \ |
|
|
13226 | conftest$ac_exeext conftest.$ac_ext |
|
|
13227 | CXXFLAGS="$save_CXXFLAGS" |
|
|
13228 | LIBS="$save_LIBS" |
|
|
13229 | |
|
|
13230 | if test x$rxvt_perl_link = xyes; then |
|
|
13231 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
13232 | echo "${ECHO_T}ok" >&6 |
|
|
13233 | |
|
|
13234 | cat >>confdefs.h <<\_ACEOF |
|
|
13235 | #define ENABLE_PERL 1 |
|
|
13236 | _ACEOF |
|
|
13237 | |
|
|
13238 | IF_PERL= |
|
|
13239 | PERL_O=rxvtperl.o |
|
|
13240 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
13241 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
13242 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
13243 | else |
|
|
13244 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
|
|
13245 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
13246 | { (exit 1); exit 1; }; } |
|
|
13247 | fi |
|
|
13248 | else |
|
|
13249 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
|
|
13250 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
|
|
13251 | { (exit 1); exit 1; }; } |
|
|
13252 | fi |
|
|
13253 | fi |
|
|
13254 | |
|
|
13255 | |
|
|
13256 | |
|
|
13257 | |
|
|
13258 | |
|
|
13259 | |
|
|
13260 | |
|
|
13261 | if test x$support_perl = xyes; then |
|
|
13262 | support_frills=yes |
|
|
13263 | fi |
12653 | |
13264 | |
12654 | |
13265 | |
12655 | |
13266 | |
12656 | |
13267 | |
12657 | |
13268 | |
12658 | |
13269 | |
12659 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
13270 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
12660 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
12661 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
13271 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
12662 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
13272 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
12663 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
13273 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
12664 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
13274 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12665 | fi |
13275 | fi |
12666 | |
13276 | |
12667 | |
13277 | |
12668 | |
13278 | |
12669 | |
13279 | |
12670 | |
13280 | |
12671 | if test x$support_addstrings = xno; then |
|
|
12672 | |
|
|
12673 | cat >>confdefs.h <<\_ACEOF |
|
|
12674 | #define NO_STRINGS 1 |
|
|
12675 | _ACEOF |
|
|
12676 | |
|
|
12677 | fi |
|
|
12678 | |
|
|
12679 | MCOMMON=./autoconf/Make.common |
|
|
12680 | |
13281 | |
12681 | |
13282 | |
12682 | test "$program_prefix" != NONE && |
13283 | test "$program_prefix" != NONE && |
12683 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
13284 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12684 | # Use a double $ so make ignores it. |
13285 | # Use a double $ so make ignores it. |
… | |
… | |
12760 | include_time_h="#include <time.h>" |
13361 | include_time_h="#include <time.h>" |
12761 | else |
13362 | else |
12762 | include_time_h="/* #include <time.h> */" |
13363 | include_time_h="/* #include <time.h> */" |
12763 | fi |
13364 | fi |
12764 | |
13365 | |
12765 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
13366 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12766 | |
13367 | |
12767 | cat >confcache <<\_ACEOF |
13368 | cat >confcache <<\_ACEOF |
12768 | # This file is a shell script that caches the results of configure |
13369 | # This file is a shell script that caches the results of configure |
12769 | # tests run on this system so they can be shared between configure |
13370 | # tests run on this system so they can be shared between configure |
12770 | # scripts and configure runs, see configure's option --config-cache. |
13371 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13287 | cat >>$CONFIG_STATUS <<\_ACEOF |
13888 | cat >>$CONFIG_STATUS <<\_ACEOF |
13288 | for ac_config_target in $ac_config_targets |
13889 | for ac_config_target in $ac_config_targets |
13289 | do |
13890 | do |
13290 | case "$ac_config_target" in |
13891 | case "$ac_config_target" in |
13291 | # Handling of arguments. |
13892 | # Handling of arguments. |
13292 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13293 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13893 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13294 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13894 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13295 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13895 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13296 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13896 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13297 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13897 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
13298 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13898 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13299 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13899 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13300 | { (exit 1); exit 1; }; };; |
13900 | { (exit 1); exit 1; }; };; |
13301 | esac |
13901 | esac |
13302 | done |
13902 | done |
… | |
… | |
13403 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
14003 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13404 | s,@CPP@,$CPP,;t t |
14004 | s,@CPP@,$CPP,;t t |
13405 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
14005 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13406 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
14006 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13407 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
14007 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13408 | s,@AWK@,$AWK,;t t |
14008 | s,@EGREP@,$EGREP,;t t |
13409 | s,@LINKER@,$LINKER,;t t |
14009 | s,@LINKER@,$LINKER,;t t |
13410 | s,@CXXCPP@,$CXXCPP,;t t |
14010 | s,@CXXLIB@,$CXXLIB,;t t |
13411 | s,@EGREP@,$EGREP,;t t |
|
|
13412 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
14011 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13413 | s,@RXVTNAME@,$RXVTNAME,;t t |
14012 | s,@RXVTNAME@,$RXVTNAME,;t t |
13414 | s,@MV@,$MV,;t t |
|
|
13415 | s,@RM@,$RM,;t t |
|
|
13416 | s,@CP@,$CP,;t t |
|
|
13417 | s,@LN@,$LN,;t t |
|
|
13418 | s,@SED@,$SED,;t t |
|
|
13419 | s,@ECHO@,$ECHO,;t t |
|
|
13420 | s,@CMP@,$CMP,;t t |
|
|
13421 | s,@TBL@,$TBL,;t t |
|
|
13422 | s,@TIC@,$TIC,;t t |
14013 | s,@TIC@,$TIC,;t t |
|
|
14014 | s,@CXXCPP@,$CXXCPP,;t t |
13423 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
14015 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13424 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
14016 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13425 | s,@X_LIBS@,$X_LIBS,;t t |
14017 | s,@X_LIBS@,$X_LIBS,;t t |
13426 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
14018 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
|
|
14019 | s,@afterimage_config@,$afterimage_config,;t t |
13427 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
14020 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
13428 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
14021 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
13429 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
14022 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
13430 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
14023 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
13431 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
14024 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13432 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
14025 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13433 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
14026 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13434 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
14027 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13435 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
14028 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13436 | s,@DEBUG@,$DEBUG,;t t |
14029 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
13437 | s,@DINCLUDE@,$DINCLUDE,;t t |
14030 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
|
|
14031 | s,@PERL@,$PERL,;t t |
13438 | s,@DLIB@,$DLIB,;t t |
14032 | s,@PERLLIB@,$PERLLIB,;t t |
|
|
14033 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
|
|
14034 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
|
|
14035 | s,@IF_PERL@,$IF_PERL,;t t |
|
|
14036 | s,@PERL_O@,$PERL_O,;t t |
|
|
14037 | s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t |
|
|
14038 | s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t |
13439 | s,@include_stdint_h@,$include_stdint_h,;t t |
14039 | s,@include_stdint_h@,$include_stdint_h,;t t |
13440 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
14040 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13441 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
14041 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
13442 | s,@include_unistd_h@,$include_unistd_h,;t t |
14042 | s,@include_unistd_h@,$include_unistd_h,;t t |
13443 | s,@include_string_h@,$include_string_h,;t t |
14043 | s,@include_string_h@,$include_string_h,;t t |
… | |
… | |
13449 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
14049 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13450 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
14050 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13451 | s,@include_time_h@,$include_time_h,;t t |
14051 | s,@include_time_h@,$include_time_h,;t t |
13452 | s,@LIBOBJS@,$LIBOBJS,;t t |
14052 | s,@LIBOBJS@,$LIBOBJS,;t t |
13453 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
14053 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13454 | /@MCOMMON@/r $MCOMMON |
|
|
13455 | s,@MCOMMON@,,;t t |
|
|
13456 | CEOF |
14054 | CEOF |
13457 | |
14055 | |
13458 | _ACEOF |
14056 | _ACEOF |
13459 | |
14057 | |
13460 | cat >>$CONFIG_STATUS <<\_ACEOF |
14058 | cat >>$CONFIG_STATUS <<\_ACEOF |
… | |
… | |
13617 | case $INSTALL in |
14215 | case $INSTALL in |
13618 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
14216 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
13619 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
14217 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
13620 | esac |
14218 | esac |
13621 | |
14219 | |
|
|
14220 | if test x"$ac_file" != x-; then |
|
|
14221 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
14222 | echo "$as_me: creating $ac_file" >&6;} |
|
|
14223 | rm -f "$ac_file" |
|
|
14224 | fi |
13622 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
14225 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
13623 | # use $as_me), people would be surprised to read: |
14226 | # use $as_me), people would be surprised to read: |
13624 | # /* config.h. Generated by config.status. */ |
14227 | # /* config.h. Generated by config.status. */ |
13625 | if test x"$ac_file" = x-; then |
14228 | if test x"$ac_file" = x-; then |
13626 | configure_input= |
14229 | configure_input= |
… | |
… | |
13655 | echo "$as_me: error: cannot find input file: $f" >&2;} |
14258 | echo "$as_me: error: cannot find input file: $f" >&2;} |
13656 | { (exit 1); exit 1; }; } |
14259 | { (exit 1); exit 1; }; } |
13657 | fi;; |
14260 | fi;; |
13658 | esac |
14261 | esac |
13659 | done` || { (exit 1); exit 1; } |
14262 | done` || { (exit 1); exit 1; } |
13660 | |
|
|
13661 | if test x"$ac_file" != x-; then |
|
|
13662 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
13663 | echo "$as_me: creating $ac_file" >&6;} |
|
|
13664 | rm -f "$ac_file" |
|
|
13665 | fi |
|
|
13666 | _ACEOF |
14263 | _ACEOF |
13667 | cat >>$CONFIG_STATUS <<_ACEOF |
14264 | cat >>$CONFIG_STATUS <<_ACEOF |
13668 | sed "$ac_vpsub |
14265 | sed "$ac_vpsub |
13669 | $extrasub |
14266 | $extrasub |
13670 | _ACEOF |
14267 | _ACEOF |
… | |
… | |
13950 | |
14547 | |
13951 | Rxvt version: $VERSION : $DATE |
14548 | Rxvt version: $VERSION : $DATE |
13952 | Source code location: $srcdir |
14549 | Source code location: $srcdir |
13953 | Install path: ${prefix}/bin |
14550 | Install path: ${prefix}/bin |
13954 | Compiler: $CXX |
14551 | Compiler: $CXX |
13955 | Compiler flags: $CFLAGS |
14552 | Compiler flags: $CXXFLAGS |
13956 | Linker: $LINKER" |
14553 | Linker: $LINKER" |
13957 | |
|
|
13958 | if test "$MALLOC_TYPE" = S; then |
|
|
13959 | echo " malloc support: system default" |
|
|
13960 | fi |
|
|
13961 | if test "$MALLOC_TYPE" = G; then |
|
|
13962 | echo " malloc support: Gray Watson's dmalloc" |
|
|
13963 | fi |
|
|
13964 | if test "$MALLOC_TYPE" = D; then |
|
|
13965 | echo " malloc support: Doug Lea's malloc" |
|
|
13966 | fi |
|
|
13967 | |
14554 | |
13968 | if test x$support_xpm = xyes; then |
14555 | if test x$support_xpm = xyes; then |
13969 | echo " Xpm library: $XPM_LIBS" |
14556 | echo " Xpm library: $XPM_LIBS" |
13970 | fi |
14557 | fi |
13971 | |
14558 | |
13972 | echo " |
14559 | if test x$support_afterimage = xyes; then |
13973 | The following are set in config.h |
14560 | echo " AfterImage support: yes" |
13974 | " |
14561 | fi |
13975 | echo " pty/tty type: "$rxvt_cv_ptys |
14562 | |
13976 | if test x$support_utmp != xyes; then |
14563 | if test x$support_afterstep = xyes; then |
13977 | echo " utmp support: disabled" |
14564 | echo " AfterStep integration: yes" |
13978 | echo |
|
|
13979 | else |
|
|
13980 | echo " utmp support: enabled |
|
|
13981 | utmp file: $rxvt_cv_path_utmp |
|
|
13982 | utmpx file: $rxvt_cv_path_utmpx |
|
|
13983 | wtmp file: $rxvt_cv_path_wtmp |
|
|
13984 | wtmpx file: $rxvt_cv_path_wtmpx |
|
|
13985 | lastlog file: $rxvt_cv_path_lastlog |
|
|
13986 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
|
|
13987 | echo |
|
|
13988 | fi |
14565 | fi |
|
|
14566 | |
13989 | if test x$term != x; then |
14567 | if test x$term != x; then |
13990 | echo " set TERM to: $term" |
14568 | echo " set TERM to: $term" |
13991 | fi |
14569 | fi |
13992 | if test x$terminfo != x; then |
14570 | if test x$terminfo != x; then |
13993 | echo " set TERMINFO to: $terminfo" |
14571 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
13996 | echo " resource class: $RESCLASS" |
14574 | echo " resource class: $RESCLASS" |
13997 | if test x$RESFALLBACK != x; then |
14575 | if test x$RESFALLBACK != x; then |
13998 | echo " resource class fallback: $RESFALLBACK" |
14576 | echo " resource class fallback: $RESFALLBACK" |
13999 | fi |
14577 | fi |
14000 | echo |
14578 | echo |
14001 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
14579 | echo " embedded perl: $support_perl" |
14002 | echo ".----------------------------------------------------------------." |
14580 | echo |
14003 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
|
|
14004 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
|
|
14005 | echo ".----------------------------------------------------------------." |
|
|
14006 | fi |
|
|
14007 | if test x$support_xpm = xneedsmanualspecification; then |
14581 | if test x$support_xpm = xneedsmanualspecification; then |
14008 | echo ".----------------------------------------------------------------." |
14582 | echo ".----------------------------------------------------------------." |
14009 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14583 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14010 | echo ". XPM includes files and libraries could not be found. ." |
14584 | echo ". XPM includes files and libraries could not be found. ." |
14011 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
14585 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
… | |
… | |
14020 | echo ". functions could not be found. ." |
14594 | echo ". functions could not be found. ." |
14021 | echo ". XIM is now being DISABLED! ." |
14595 | echo ". XIM is now being DISABLED! ." |
14022 | echo ".----------------------------------------------------------------." |
14596 | echo ".----------------------------------------------------------------." |
14023 | fi |
14597 | fi |
14024 | |
14598 | |
14025 | echo " *** Optionally check src/feature.h for further options ***" |
14599 | echo "*** Optionally check src/feature.h for further, rarely used options ***" |
14026 | echo |
14600 | echo |
14027 | |
14601 | |
14028 | echo ".----------------------------------------------------------------." |
|
|
14029 | echo ". NOTE: some features are disabled by default, try ." |
|
|
14030 | echo ". configure --help to get an idea of the optional features, ." |
|
|
14031 | echo ". or read ./README.configure ." |
|
|
14032 | echo ". ." |
|
|
14033 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
14034 | echo ". you do not want to read documentation and still want some ." |
|
|
14035 | echo ". useful features. ." |
|
|
14036 | echo ".----------------------------------------------------------------." |
|
|
14037 | echo |
|
|
14038 | |
|
|