… | |
… | |
307 | #endif |
307 | #endif |
308 | #if HAVE_UNISTD_H |
308 | #if HAVE_UNISTD_H |
309 | # include <unistd.h> |
309 | # include <unistd.h> |
310 | #endif" |
310 | #endif" |
311 | |
311 | |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME 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-rxvt-scroll enable rxvt style scrollbar |
881 | --enable-rxvt-scroll enable rxvt style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
882 | --enable-next-scroll enable NeXT style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
883 | --enable-xterm-scroll enable Xterm style scrollbar |
885 | --enable-perl enable embedded perl interpreter |
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-8bitctrls enable 8 bit control sequences (not recommended) |
890 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
894 | --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) |
895 | --disable-swapscreen disable swap screen support |
892 | --disable-swapscreen disable swap screen support |
896 | --enable-iso14755 enable support for extended ISO 14755 modes |
893 | --enable-iso14755 enable support for extended ISO 14755 modes |
897 | --enable-frills enable support for rarely used features |
894 | --enable-frills enable support for rarely used features |
898 | --enable-24bit enable support for using 24bit visuals if available |
|
|
899 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
895 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
900 | --enable-selectionscrolling enable scrolling during selections |
896 | --enable-selectionscrolling enable scrolling during selections |
901 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
897 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
902 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
898 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
903 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
|
|
904 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
|
|
905 | NOTE: enable only one malloc package |
|
|
906 | --enable-smart-resize enable smart growth/shrink behaviour |
899 | --enable-smart-resize enable smart growth/shrink behaviour |
907 | --enable-text-blink enable blinking text |
900 | --enable-text-blink enable blinking text |
908 | --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) |
909 | |
905 | |
910 | Optional Packages: |
906 | Optional Packages: |
911 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
907 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
912 | --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 |
913 | --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) |
914 | --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) |
915 | --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) |
916 | --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) |
917 | --with-term=NAME set the terminal to NAME (default: rxvt) |
914 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1022 | echo |
1019 | echo |
1023 | $ac_configure --help |
1020 | $ac_configure --help |
1024 | else |
1021 | else |
1025 | 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 |
1026 | fi |
1023 | fi |
1027 | cd "$ac_popdir" |
1024 | cd $ac_popdir |
1028 | done |
1025 | done |
1029 | fi |
1026 | fi |
1030 | |
1027 | |
1031 | test -n "$ac_init_help" && exit 0 |
1028 | test -n "$ac_init_help" && exit 0 |
1032 | if $ac_init_version; then |
1029 | if $ac_init_version; then |
… | |
… | |
1370 | |
1367 | |
1371 | |
1368 | |
1372 | |
1369 | |
1373 | |
1370 | |
1374 | |
1371 | |
|
|
1372 | |
|
|
1373 | ac_config_headers="$ac_config_headers config.h:config.h.in" |
|
|
1374 | |
|
|
1375 | |
1375 | ac_aux_dir= |
1376 | ac_aux_dir= |
1376 | for ac_dir in autoconf $srcdir/autoconf; do |
1377 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1377 | if test -f $ac_dir/install-sh; then |
1378 | if test -f $ac_dir/install-sh; then |
1378 | ac_aux_dir=$ac_dir |
1379 | ac_aux_dir=$ac_dir |
1379 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1380 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1380 | break |
1381 | break |
1381 | elif test -f $ac_dir/install.sh; then |
1382 | elif test -f $ac_dir/install.sh; then |
… | |
… | |
1387 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1388 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1388 | break |
1389 | break |
1389 | fi |
1390 | fi |
1390 | done |
1391 | done |
1391 | if test -z "$ac_aux_dir"; then |
1392 | if test -z "$ac_aux_dir"; then |
1392 | { { 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 |
1393 | 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;} |
1394 | { (exit 1); exit 1; }; } |
1395 | { (exit 1); exit 1; }; } |
1395 | fi |
1396 | fi |
1396 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1397 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1397 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1398 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1398 | 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. |
1399 | |
|
|
1400 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
|
|
1401 | |
|
|
1402 | |
1400 | |
1403 | # Make sure we can run config.sub. |
1401 | # Make sure we can run config.sub. |
1404 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1402 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1405 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1403 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1406 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1404 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1458 | 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` |
1459 | 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` |
1460 | echo "" |
1458 | echo "" |
1461 | echo "configuring for rxvt $VERSION" |
1459 | echo "configuring for rxvt $VERSION" |
1462 | echo "" |
1460 | echo "" |
|
|
1461 | |
|
|
1462 | orig_CXXFLAGS="$CXXFLAGS" |
1463 | |
1463 | |
1464 | |
1464 | |
1465 | ac_ext=c |
1465 | ac_ext=c |
1466 | ac_cpp='$CPP $CPPFLAGS' |
1466 | ac_cpp='$CPP $CPPFLAGS' |
1467 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1467 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
2028 | grep -v '^ *+' conftest.er1 >conftest.err |
2028 | grep -v '^ *+' conftest.er1 >conftest.err |
2029 | rm -f conftest.er1 |
2029 | rm -f conftest.er1 |
2030 | cat conftest.err >&5 |
2030 | cat conftest.err >&5 |
2031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2032 | (exit $ac_status); } && |
2032 | (exit $ac_status); } && |
2033 | { 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' |
2034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2035 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2035 | (eval $ac_try) 2>&5 |
2036 | (eval $ac_try) 2>&5 |
2036 | ac_status=$? |
2037 | ac_status=$? |
2037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2038 | (exit $ac_status); }; } && |
2039 | (exit $ac_status); }; } && |
… | |
… | |
2086 | grep -v '^ *+' conftest.er1 >conftest.err |
2087 | grep -v '^ *+' conftest.er1 >conftest.err |
2087 | rm -f conftest.er1 |
2088 | rm -f conftest.er1 |
2088 | cat conftest.err >&5 |
2089 | cat conftest.err >&5 |
2089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2090 | (exit $ac_status); } && |
2091 | (exit $ac_status); } && |
2091 | { 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' |
2092 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2093 | (eval $ac_try) 2>&5 |
2095 | (eval $ac_try) 2>&5 |
2094 | ac_status=$? |
2096 | ac_status=$? |
2095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2096 | (exit $ac_status); }; } && |
2098 | (exit $ac_status); }; } && |
… | |
… | |
2202 | grep -v '^ *+' conftest.er1 >conftest.err |
2204 | grep -v '^ *+' conftest.er1 >conftest.err |
2203 | rm -f conftest.er1 |
2205 | rm -f conftest.er1 |
2204 | cat conftest.err >&5 |
2206 | cat conftest.err >&5 |
2205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2206 | (exit $ac_status); } && |
2208 | (exit $ac_status); } && |
2207 | { 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' |
2208 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2209 | (eval $ac_try) 2>&5 |
2212 | (eval $ac_try) 2>&5 |
2210 | ac_status=$? |
2213 | ac_status=$? |
2211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2212 | (exit $ac_status); }; } && |
2215 | (exit $ac_status); }; } && |
… | |
… | |
2256 | grep -v '^ *+' conftest.er1 >conftest.err |
2259 | grep -v '^ *+' conftest.er1 >conftest.err |
2257 | rm -f conftest.er1 |
2260 | rm -f conftest.er1 |
2258 | cat conftest.err >&5 |
2261 | cat conftest.err >&5 |
2259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2260 | (exit $ac_status); } && |
2263 | (exit $ac_status); } && |
2261 | { 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' |
2262 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2263 | (eval $ac_try) 2>&5 |
2267 | (eval $ac_try) 2>&5 |
2264 | ac_status=$? |
2268 | ac_status=$? |
2265 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2266 | (exit $ac_status); }; } && |
2270 | (exit $ac_status); }; } && |
… | |
… | |
2301 | grep -v '^ *+' conftest.er1 >conftest.err |
2305 | grep -v '^ *+' conftest.er1 >conftest.err |
2302 | rm -f conftest.er1 |
2306 | rm -f conftest.er1 |
2303 | cat conftest.err >&5 |
2307 | cat conftest.err >&5 |
2304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2305 | (exit $ac_status); } && |
2309 | (exit $ac_status); } && |
2306 | { 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' |
2307 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2308 | (eval $ac_try) 2>&5 |
2313 | (eval $ac_try) 2>&5 |
2309 | ac_status=$? |
2314 | ac_status=$? |
2310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2311 | (exit $ac_status); }; } && |
2316 | (exit $ac_status); }; } && |
… | |
… | |
2345 | grep -v '^ *+' conftest.er1 >conftest.err |
2350 | grep -v '^ *+' conftest.er1 >conftest.err |
2346 | rm -f conftest.er1 |
2351 | rm -f conftest.er1 |
2347 | cat conftest.err >&5 |
2352 | cat conftest.err >&5 |
2348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2349 | (exit $ac_status); } && |
2354 | (exit $ac_status); } && |
2350 | { 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' |
2351 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2352 | (eval $ac_try) 2>&5 |
2358 | (eval $ac_try) 2>&5 |
2353 | ac_status=$? |
2359 | ac_status=$? |
2354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2355 | (exit $ac_status); }; } && |
2361 | (exit $ac_status); }; } && |
… | |
… | |
2529 | grep -v '^ *+' conftest.er1 >conftest.err |
2535 | grep -v '^ *+' conftest.er1 >conftest.err |
2530 | rm -f conftest.er1 |
2536 | rm -f conftest.er1 |
2531 | cat conftest.err >&5 |
2537 | cat conftest.err >&5 |
2532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2533 | (exit $ac_status); } && |
2539 | (exit $ac_status); } && |
2534 | { 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' |
2535 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2542 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2536 | (eval $ac_try) 2>&5 |
2543 | (eval $ac_try) 2>&5 |
2537 | ac_status=$? |
2544 | ac_status=$? |
2538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2539 | (exit $ac_status); }; } && |
2546 | (exit $ac_status); }; } && |
… | |
… | |
2587 | grep -v '^ *+' conftest.er1 >conftest.err |
2594 | grep -v '^ *+' conftest.er1 >conftest.err |
2588 | rm -f conftest.er1 |
2595 | rm -f conftest.er1 |
2589 | cat conftest.err >&5 |
2596 | cat conftest.err >&5 |
2590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2591 | (exit $ac_status); } && |
2598 | (exit $ac_status); } && |
2592 | { 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' |
2593 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2601 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2594 | (eval $ac_try) 2>&5 |
2602 | (eval $ac_try) 2>&5 |
2595 | ac_status=$? |
2603 | ac_status=$? |
2596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2597 | (exit $ac_status); }; } && |
2605 | (exit $ac_status); }; } && |
… | |
… | |
2658 | grep -v '^ *+' conftest.er1 >conftest.err |
2666 | grep -v '^ *+' conftest.er1 >conftest.err |
2659 | rm -f conftest.er1 |
2667 | rm -f conftest.er1 |
2660 | cat conftest.err >&5 |
2668 | cat conftest.err >&5 |
2661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2662 | (exit $ac_status); } && |
2670 | (exit $ac_status); } && |
2663 | { 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' |
2664 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2665 | (eval $ac_try) 2>&5 |
2674 | (eval $ac_try) 2>&5 |
2666 | ac_status=$? |
2675 | ac_status=$? |
2667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2668 | (exit $ac_status); }; } && |
2677 | (exit $ac_status); }; } && |
… | |
… | |
2702 | grep -v '^ *+' conftest.er1 >conftest.err |
2711 | grep -v '^ *+' conftest.er1 >conftest.err |
2703 | rm -f conftest.er1 |
2712 | rm -f conftest.er1 |
2704 | cat conftest.err >&5 |
2713 | cat conftest.err >&5 |
2705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2706 | (exit $ac_status); } && |
2715 | (exit $ac_status); } && |
2707 | { 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' |
2708 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2709 | (eval $ac_try) 2>&5 |
2719 | (eval $ac_try) 2>&5 |
2710 | ac_status=$? |
2720 | ac_status=$? |
2711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2712 | (exit $ac_status); }; } && |
2722 | (exit $ac_status); }; } && |
… | |
… | |
3048 | |
3058 | |
3049 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3059 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3050 | |
3060 | |
3051 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3061 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3052 | |
3062 | |
3053 | for ac_prog in gawk mawk nawk awk |
|
|
3054 | do |
|
|
3055 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3056 | set dummy $ac_prog; ac_word=$2 |
|
|
3057 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
3058 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
3059 | if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
3060 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3061 | else |
|
|
3062 | if test -n "$AWK"; then |
|
|
3063 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3064 | else |
|
|
3065 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3066 | for as_dir in $PATH |
|
|
3067 | do |
|
|
3068 | IFS=$as_save_IFS |
|
|
3069 | test -z "$as_dir" && as_dir=. |
|
|
3070 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3071 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3072 | ac_cv_prog_AWK="$ac_prog" |
|
|
3073 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3074 | break 2 |
|
|
3075 | fi |
|
|
3076 | done |
|
|
3077 | done |
|
|
3078 | |
3063 | |
3079 | fi |
|
|
3080 | fi |
|
|
3081 | AWK=$ac_cv_prog_AWK |
|
|
3082 | if test -n "$AWK"; then |
|
|
3083 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3084 | echo "${ECHO_T}$AWK" >&6 |
|
|
3085 | else |
|
|
3086 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3087 | echo "${ECHO_T}no" >&6 |
|
|
3088 | fi |
|
|
3089 | |
|
|
3090 | test -n "$AWK" && break |
|
|
3091 | done |
|
|
3092 | |
|
|
3093 | |
|
|
3094 | ac_ext=c |
|
|
3095 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3096 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3097 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3098 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3099 | |
|
|
3100 | |
|
|
3101 | if test -z "$orig_CXXFLAGS"; then |
|
|
3102 | CXXFLAGS='-O' |
|
|
3103 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3104 | CXXFLAGS="-g -O3" |
|
|
3105 | fi |
|
|
3106 | CFLAGS="$CXXFLAGS" |
|
|
3107 | fi |
|
|
3108 | |
|
|
3109 | LINKER="$CXX" |
|
|
3110 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3111 | |
|
|
3112 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
|
|
3113 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
|
|
3114 | if test "${ac_cv_lib_supcpp_main+set}" = set; then |
|
|
3115 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3116 | else |
|
|
3117 | ac_check_lib_save_LIBS=$LIBS |
|
|
3118 | LIBS="-lsupc++ $LIBS" |
|
|
3119 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3120 | /* confdefs.h. */ |
|
|
3121 | _ACEOF |
|
|
3122 | cat confdefs.h >>conftest.$ac_ext |
|
|
3123 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3124 | /* end confdefs.h. */ |
|
|
3125 | |
|
|
3126 | |
|
|
3127 | int |
|
|
3128 | main () |
|
|
3129 | { |
|
|
3130 | main (); |
|
|
3131 | ; |
|
|
3132 | return 0; |
|
|
3133 | } |
|
|
3134 | _ACEOF |
|
|
3135 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3136 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3137 | (eval $ac_link) 2>conftest.er1 |
|
|
3138 | ac_status=$? |
|
|
3139 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3140 | rm -f conftest.er1 |
|
|
3141 | cat conftest.err >&5 |
|
|
3142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3143 | (exit $ac_status); } && |
|
|
3144 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3145 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3146 | (eval $ac_try) 2>&5 |
|
|
3147 | ac_status=$? |
|
|
3148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3149 | (exit $ac_status); }; } && |
|
|
3150 | { ac_try='test -s conftest$ac_exeext' |
|
|
3151 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3152 | (eval $ac_try) 2>&5 |
|
|
3153 | ac_status=$? |
|
|
3154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3155 | (exit $ac_status); }; }; then |
|
|
3156 | ac_cv_lib_supcpp_main=yes |
|
|
3157 | else |
|
|
3158 | echo "$as_me: failed program was:" >&5 |
|
|
3159 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3160 | |
|
|
3161 | ac_cv_lib_supcpp_main=no |
|
|
3162 | fi |
|
|
3163 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3164 | conftest$ac_exeext conftest.$ac_ext |
|
|
3165 | LIBS=$ac_check_lib_save_LIBS |
|
|
3166 | fi |
|
|
3167 | echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5 |
|
|
3168 | echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6 |
|
|
3169 | if test $ac_cv_lib_supcpp_main = yes; then |
|
|
3170 | |
|
|
3171 | LINKER="$CC" |
|
|
3172 | LIBS="$LIBS -lsupc++" |
|
|
3173 | |
|
|
3174 | fi |
|
|
3175 | |
|
|
3176 | fi |
|
|
3177 | LINKER=$LINKER |
|
|
3178 | |
|
|
3179 | |
|
|
3180 | |
|
|
3181 | cat >>confdefs.h <<\_ACEOF |
|
|
3182 | #define _GNU_SOURCE 1 |
|
|
3183 | _ACEOF |
|
|
3184 | |
|
|
3185 | |
|
|
3186 | case $host in |
|
|
3187 | *-*-solaris* ) |
|
|
3188 | |
|
|
3189 | cat >>confdefs.h <<\_ACEOF |
|
|
3190 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3191 | _ACEOF |
|
|
3192 | |
|
|
3193 | |
|
|
3194 | cat >>confdefs.h <<\_ACEOF |
|
|
3195 | #define _XOPEN_SOURCE 2 |
|
|
3196 | _ACEOF |
|
|
3197 | |
|
|
3198 | |
|
|
3199 | cat >>confdefs.h <<\_ACEOF |
|
|
3200 | #define __EXTENSIONS__ 1 |
|
|
3201 | _ACEOF |
|
|
3202 | |
|
|
3203 | ;; |
|
|
3204 | esac |
|
|
3205 | |
|
|
3206 | |
|
|
3207 | ac_ext=cc |
|
|
3208 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3209 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3210 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3211 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3212 | |
|
|
3213 | |
|
|
3214 | |
|
|
3215 | ac_ext=cc |
|
|
3216 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3217 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3218 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3219 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3220 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
3221 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
3222 | if test -z "$CXXCPP"; then |
|
|
3223 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
3224 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3225 | else |
|
|
3226 | # Double quotes because CXXCPP needs to be expanded |
|
|
3227 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
3228 | do |
|
|
3229 | ac_preproc_ok=false |
|
|
3230 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3231 | do |
|
|
3232 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3233 | # with a fresh cross-compiler works. |
|
|
3234 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3235 | # <limits.h> exists even on freestanding compilers. |
|
|
3236 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3237 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3238 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3239 | /* confdefs.h. */ |
|
|
3240 | _ACEOF |
|
|
3241 | cat confdefs.h >>conftest.$ac_ext |
|
|
3242 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3243 | /* end confdefs.h. */ |
|
|
3244 | #ifdef __STDC__ |
|
|
3245 | # include <limits.h> |
|
|
3246 | #else |
|
|
3247 | # include <assert.h> |
|
|
3248 | #endif |
|
|
3249 | Syntax error |
|
|
3250 | _ACEOF |
|
|
3251 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3252 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3253 | ac_status=$? |
|
|
3254 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3255 | rm -f conftest.er1 |
|
|
3256 | cat conftest.err >&5 |
|
|
3257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3258 | (exit $ac_status); } >/dev/null; then |
|
|
3259 | if test -s conftest.err; then |
|
|
3260 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3261 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3262 | else |
|
|
3263 | ac_cpp_err= |
|
|
3264 | fi |
|
|
3265 | else |
|
|
3266 | ac_cpp_err=yes |
|
|
3267 | fi |
|
|
3268 | if test -z "$ac_cpp_err"; then |
|
|
3269 | : |
|
|
3270 | else |
|
|
3271 | echo "$as_me: failed program was:" >&5 |
|
|
3272 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3273 | |
|
|
3274 | # Broken: fails on valid input. |
|
|
3275 | continue |
|
|
3276 | fi |
|
|
3277 | rm -f conftest.err conftest.$ac_ext |
|
|
3278 | |
|
|
3279 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3280 | # can be detected and how. |
|
|
3281 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3282 | /* confdefs.h. */ |
|
|
3283 | _ACEOF |
|
|
3284 | cat confdefs.h >>conftest.$ac_ext |
|
|
3285 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3286 | /* end confdefs.h. */ |
|
|
3287 | #include <ac_nonexistent.h> |
|
|
3288 | _ACEOF |
|
|
3289 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3290 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3291 | ac_status=$? |
|
|
3292 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3293 | rm -f conftest.er1 |
|
|
3294 | cat conftest.err >&5 |
|
|
3295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3296 | (exit $ac_status); } >/dev/null; then |
|
|
3297 | if test -s conftest.err; then |
|
|
3298 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3299 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3300 | else |
|
|
3301 | ac_cpp_err= |
|
|
3302 | fi |
|
|
3303 | else |
|
|
3304 | ac_cpp_err=yes |
|
|
3305 | fi |
|
|
3306 | if test -z "$ac_cpp_err"; then |
|
|
3307 | # Broken: success on invalid input. |
|
|
3308 | continue |
|
|
3309 | else |
|
|
3310 | echo "$as_me: failed program was:" >&5 |
|
|
3311 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3312 | |
|
|
3313 | # Passes both tests. |
|
|
3314 | ac_preproc_ok=: |
|
|
3315 | break |
|
|
3316 | fi |
|
|
3317 | rm -f conftest.err conftest.$ac_ext |
|
|
3318 | |
|
|
3319 | done |
|
|
3320 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3321 | rm -f conftest.err conftest.$ac_ext |
|
|
3322 | if $ac_preproc_ok; then |
|
|
3323 | break |
|
|
3324 | fi |
|
|
3325 | |
|
|
3326 | done |
|
|
3327 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3328 | |
|
|
3329 | fi |
|
|
3330 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
3331 | else |
|
|
3332 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3333 | fi |
|
|
3334 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
3335 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
3336 | ac_preproc_ok=false |
|
|
3337 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3338 | do |
|
|
3339 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3340 | # with a fresh cross-compiler works. |
|
|
3341 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3342 | # <limits.h> exists even on freestanding compilers. |
|
|
3343 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3344 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3345 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3346 | /* confdefs.h. */ |
|
|
3347 | _ACEOF |
|
|
3348 | cat confdefs.h >>conftest.$ac_ext |
|
|
3349 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3350 | /* end confdefs.h. */ |
|
|
3351 | #ifdef __STDC__ |
|
|
3352 | # include <limits.h> |
|
|
3353 | #else |
|
|
3354 | # include <assert.h> |
|
|
3355 | #endif |
|
|
3356 | Syntax error |
|
|
3357 | _ACEOF |
|
|
3358 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3359 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3360 | ac_status=$? |
|
|
3361 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3362 | rm -f conftest.er1 |
|
|
3363 | cat conftest.err >&5 |
|
|
3364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3365 | (exit $ac_status); } >/dev/null; then |
|
|
3366 | if test -s conftest.err; then |
|
|
3367 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3368 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3369 | else |
|
|
3370 | ac_cpp_err= |
|
|
3371 | fi |
|
|
3372 | else |
|
|
3373 | ac_cpp_err=yes |
|
|
3374 | fi |
|
|
3375 | if test -z "$ac_cpp_err"; then |
|
|
3376 | : |
|
|
3377 | else |
|
|
3378 | echo "$as_me: failed program was:" >&5 |
|
|
3379 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3380 | |
|
|
3381 | # Broken: fails on valid input. |
|
|
3382 | continue |
|
|
3383 | fi |
|
|
3384 | rm -f conftest.err conftest.$ac_ext |
|
|
3385 | |
|
|
3386 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3387 | # can be detected and how. |
|
|
3388 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3389 | /* confdefs.h. */ |
|
|
3390 | _ACEOF |
|
|
3391 | cat confdefs.h >>conftest.$ac_ext |
|
|
3392 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3393 | /* end confdefs.h. */ |
|
|
3394 | #include <ac_nonexistent.h> |
|
|
3395 | _ACEOF |
|
|
3396 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3397 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3398 | ac_status=$? |
|
|
3399 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3400 | rm -f conftest.er1 |
|
|
3401 | cat conftest.err >&5 |
|
|
3402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3403 | (exit $ac_status); } >/dev/null; then |
|
|
3404 | if test -s conftest.err; then |
|
|
3405 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3406 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3407 | else |
|
|
3408 | ac_cpp_err= |
|
|
3409 | fi |
|
|
3410 | else |
|
|
3411 | ac_cpp_err=yes |
|
|
3412 | fi |
|
|
3413 | if test -z "$ac_cpp_err"; then |
|
|
3414 | # Broken: success on invalid input. |
|
|
3415 | continue |
|
|
3416 | else |
|
|
3417 | echo "$as_me: failed program was:" >&5 |
|
|
3418 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3419 | |
|
|
3420 | # Passes both tests. |
|
|
3421 | ac_preproc_ok=: |
|
|
3422 | break |
|
|
3423 | fi |
|
|
3424 | rm -f conftest.err conftest.$ac_ext |
|
|
3425 | |
|
|
3426 | done |
|
|
3427 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3428 | rm -f conftest.err conftest.$ac_ext |
|
|
3429 | if $ac_preproc_ok; then |
|
|
3430 | : |
|
|
3431 | else |
|
|
3432 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3433 | See \`config.log' for more details." >&5 |
|
|
3434 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3435 | See \`config.log' for more details." >&2;} |
|
|
3436 | { (exit 1); exit 1; }; } |
|
|
3437 | fi |
|
|
3438 | |
|
|
3439 | ac_ext=cc |
|
|
3440 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3441 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3442 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3443 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3444 | |
3064 | |
3445 | |
3065 | |
3446 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3066 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3447 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3067 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3448 | if test "${ac_cv_prog_egrep+set}" = set; then |
3068 | if test "${ac_cv_prog_egrep+set}" = set; then |
… | |
… | |
3523 | grep -v '^ *+' conftest.er1 >conftest.err |
3143 | grep -v '^ *+' conftest.er1 >conftest.err |
3524 | rm -f conftest.er1 |
3144 | rm -f conftest.er1 |
3525 | cat conftest.err >&5 |
3145 | cat conftest.err >&5 |
3526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3527 | (exit $ac_status); } && |
3147 | (exit $ac_status); } && |
3528 | { 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' |
3529 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3150 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3530 | (eval $ac_try) 2>&5 |
3151 | (eval $ac_try) 2>&5 |
3531 | ac_status=$? |
3152 | ac_status=$? |
3532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3533 | (exit $ac_status); }; } && |
3154 | (exit $ac_status); }; } && |
… | |
… | |
3577 | grep -v '^ *+' conftest.er1 >conftest.err |
3198 | grep -v '^ *+' conftest.er1 >conftest.err |
3578 | rm -f conftest.er1 |
3199 | rm -f conftest.er1 |
3579 | cat conftest.err >&5 |
3200 | cat conftest.err >&5 |
3580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3581 | (exit $ac_status); } && |
3202 | (exit $ac_status); } && |
3582 | { 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' |
3583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3205 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3584 | (eval $ac_try) 2>&5 |
3206 | (eval $ac_try) 2>&5 |
3585 | ac_status=$? |
3207 | ac_status=$? |
3586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3587 | (exit $ac_status); }; } && |
3209 | (exit $ac_status); }; } && |
… | |
… | |
3608 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3230 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3609 | if test "$ac_cv_search_strerror" != no; then |
3231 | if test "$ac_cv_search_strerror" != no; then |
3610 | 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" |
3611 | |
3233 | |
3612 | 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 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
3290 | echo "${ECHO_T}ok" >&6 |
|
|
3291 | else |
|
|
3292 | echo "$as_me: failed program was:" >&5 |
|
|
3293 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3294 | |
|
|
3295 | |
|
|
3296 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3297 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3298 | LIBS="$save_LIBS" |
|
|
3299 | LINKER="$save_CXX" |
|
|
3300 | |
|
|
3301 | |
|
|
3302 | fi |
|
|
3303 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3304 | conftest$ac_exeext conftest.$ac_ext |
|
|
3305 | CXX="$save_CXX" |
|
|
3306 | fi |
|
|
3307 | LINKER=$LINKER |
|
|
3308 | |
|
|
3309 | |
|
|
3310 | if test -z "$orig_CXXFLAGS"; then |
|
|
3311 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3312 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
|
|
3313 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3314 | /* confdefs.h. */ |
|
|
3315 | _ACEOF |
|
|
3316 | cat confdefs.h >>conftest.$ac_ext |
|
|
3317 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3318 | /* end confdefs.h. */ |
|
|
3319 | |
|
|
3320 | int |
|
|
3321 | main () |
|
|
3322 | { |
|
|
3323 | |
|
|
3324 | ; |
|
|
3325 | return 0; |
|
|
3326 | } |
|
|
3327 | _ACEOF |
|
|
3328 | rm -f conftest.$ac_objext |
|
|
3329 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
3330 | (eval $ac_compile) 2>conftest.er1 |
|
|
3331 | ac_status=$? |
|
|
3332 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3333 | rm -f conftest.er1 |
|
|
3334 | cat conftest.err >&5 |
|
|
3335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3336 | (exit $ac_status); } && |
|
|
3337 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3338 | || test ! -s conftest.err' |
|
|
3339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3340 | (eval $ac_try) 2>&5 |
|
|
3341 | ac_status=$? |
|
|
3342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3343 | (exit $ac_status); }; } && |
|
|
3344 | { ac_try='test -s conftest.$ac_objext' |
|
|
3345 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3346 | (eval $ac_try) 2>&5 |
|
|
3347 | ac_status=$? |
|
|
3348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3349 | (exit $ac_status); }; }; then |
|
|
3350 | : |
|
|
3351 | else |
|
|
3352 | echo "$as_me: failed program was:" >&5 |
|
|
3353 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3354 | |
|
|
3355 | CXXFLAGS="-g -O3" |
|
|
3356 | fi |
|
|
3357 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3358 | else |
|
|
3359 | CXXFLAGS="-O" |
|
|
3360 | fi |
|
|
3361 | CFLAGS="$CXXFLAGS" |
|
|
3362 | fi |
|
|
3363 | |
|
|
3364 | |
|
|
3365 | cat >>confdefs.h <<\_ACEOF |
|
|
3366 | #define _GNU_SOURCE 1 |
|
|
3367 | _ACEOF |
|
|
3368 | |
|
|
3369 | |
|
|
3370 | case $host in |
|
|
3371 | *-*-solaris* ) |
|
|
3372 | |
|
|
3373 | cat >>confdefs.h <<\_ACEOF |
|
|
3374 | #define _XOPEN_SOURCE 500 |
|
|
3375 | _ACEOF |
|
|
3376 | |
|
|
3377 | ;; |
|
|
3378 | esac |
3613 | |
3379 | |
3614 | |
3380 | |
3615 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
3381 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
3616 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
3382 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
3617 | if test "${ac_cv_func_setlocale+set}" = set; then |
3383 | if test "${ac_cv_func_setlocale+set}" = set; then |
… | |
… | |
3675 | grep -v '^ *+' conftest.er1 >conftest.err |
3441 | grep -v '^ *+' conftest.er1 >conftest.err |
3676 | rm -f conftest.er1 |
3442 | rm -f conftest.er1 |
3677 | cat conftest.err >&5 |
3443 | cat conftest.err >&5 |
3678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3679 | (exit $ac_status); } && |
3445 | (exit $ac_status); } && |
3680 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3446 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3447 | || test ! -s conftest.err' |
3681 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3682 | (eval $ac_try) 2>&5 |
3449 | (eval $ac_try) 2>&5 |
3683 | ac_status=$? |
3450 | ac_status=$? |
3684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3685 | (exit $ac_status); }; } && |
3452 | (exit $ac_status); }; } && |
… | |
… | |
3740 | grep -v '^ *+' conftest.er1 >conftest.err |
3507 | grep -v '^ *+' conftest.er1 >conftest.err |
3741 | rm -f conftest.er1 |
3508 | rm -f conftest.er1 |
3742 | cat conftest.err >&5 |
3509 | cat conftest.err >&5 |
3743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3510 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3744 | (exit $ac_status); } && |
3511 | (exit $ac_status); } && |
3745 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3512 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3513 | || test ! -s conftest.err' |
3746 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3514 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3747 | (eval $ac_try) 2>&5 |
3515 | (eval $ac_try) 2>&5 |
3748 | ac_status=$? |
3516 | ac_status=$? |
3749 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3750 | (exit $ac_status); }; } && |
3518 | (exit $ac_status); }; } && |
… | |
… | |
3837 | grep -v '^ *+' conftest.er1 >conftest.err |
3605 | grep -v '^ *+' conftest.er1 >conftest.err |
3838 | rm -f conftest.er1 |
3606 | rm -f conftest.er1 |
3839 | cat conftest.err >&5 |
3607 | cat conftest.err >&5 |
3840 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3841 | (exit $ac_status); } && |
3609 | (exit $ac_status); } && |
3842 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3610 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3611 | || test ! -s conftest.err' |
3843 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3844 | (eval $ac_try) 2>&5 |
3613 | (eval $ac_try) 2>&5 |
3845 | ac_status=$? |
3614 | ac_status=$? |
3846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3847 | (exit $ac_status); }; } && |
3616 | (exit $ac_status); }; } && |
… | |
… | |
3902 | grep -v '^ *+' conftest.er1 >conftest.err |
3671 | grep -v '^ *+' conftest.er1 >conftest.err |
3903 | rm -f conftest.er1 |
3672 | rm -f conftest.er1 |
3904 | cat conftest.err >&5 |
3673 | cat conftest.err >&5 |
3905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3906 | (exit $ac_status); } && |
3675 | (exit $ac_status); } && |
3907 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3676 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3677 | || test ! -s conftest.err' |
3908 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3678 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3909 | (eval $ac_try) 2>&5 |
3679 | (eval $ac_try) 2>&5 |
3910 | ac_status=$? |
3680 | ac_status=$? |
3911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3912 | (exit $ac_status); }; } && |
3682 | (exit $ac_status); }; } && |
… | |
… | |
3998 | grep -v '^ *+' conftest.er1 >conftest.err |
3768 | grep -v '^ *+' conftest.er1 >conftest.err |
3999 | rm -f conftest.er1 |
3769 | rm -f conftest.er1 |
4000 | cat conftest.err >&5 |
3770 | cat conftest.err >&5 |
4001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4002 | (exit $ac_status); } && |
3772 | (exit $ac_status); } && |
4003 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3773 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3774 | || test ! -s conftest.err' |
4004 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4005 | (eval $ac_try) 2>&5 |
3776 | (eval $ac_try) 2>&5 |
4006 | ac_status=$? |
3777 | ac_status=$? |
4007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4008 | (exit $ac_status); }; } && |
3779 | (exit $ac_status); }; } && |
… | |
… | |
4063 | grep -v '^ *+' conftest.er1 >conftest.err |
3834 | grep -v '^ *+' conftest.er1 >conftest.err |
4064 | rm -f conftest.er1 |
3835 | rm -f conftest.er1 |
4065 | cat conftest.err >&5 |
3836 | cat conftest.err >&5 |
4066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4067 | (exit $ac_status); } && |
3838 | (exit $ac_status); } && |
4068 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3839 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3840 | || test ! -s conftest.err' |
4069 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4070 | (eval $ac_try) 2>&5 |
3842 | (eval $ac_try) 2>&5 |
4071 | ac_status=$? |
3843 | ac_status=$? |
4072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4073 | (exit $ac_status); }; } && |
3845 | (exit $ac_status); }; } && |
… | |
… | |
4095 | fi |
3867 | fi |
4096 | |
3868 | |
4097 | fi |
3869 | fi |
4098 | |
3870 | |
4099 | |
3871 | |
4100 | echo "$as_me:$LINENO: checking for sched_yield" >&5 |
|
|
4101 | echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6 |
|
|
4102 | if test "${ac_cv_func_sched_yield+set}" = set; then |
|
|
4103 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4104 | else |
|
|
4105 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4106 | /* confdefs.h. */ |
|
|
4107 | _ACEOF |
|
|
4108 | cat confdefs.h >>conftest.$ac_ext |
|
|
4109 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4110 | /* end confdefs.h. */ |
|
|
4111 | /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield. |
|
|
4112 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
4113 | #define sched_yield innocuous_sched_yield |
|
|
4114 | |
|
|
4115 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
4116 | which can conflict with char sched_yield (); below. |
|
|
4117 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4118 | <limits.h> exists even on freestanding compilers. */ |
|
|
4119 | |
|
|
4120 | #ifdef __STDC__ |
|
|
4121 | # include <limits.h> |
|
|
4122 | #else |
|
|
4123 | # include <assert.h> |
|
|
4124 | #endif |
|
|
4125 | |
|
|
4126 | #undef sched_yield |
|
|
4127 | |
|
|
4128 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
4129 | #ifdef __cplusplus |
|
|
4130 | extern "C" |
|
|
4131 | { |
|
|
4132 | #endif |
|
|
4133 | /* We use char because int might match the return type of a gcc2 |
|
|
4134 | builtin and then its argument prototype would still apply. */ |
|
|
4135 | char sched_yield (); |
|
|
4136 | /* The GNU C library defines this for functions which it implements |
|
|
4137 | to always fail with ENOSYS. Some functions are actually named |
|
|
4138 | something starting with __ and the normal name is an alias. */ |
|
|
4139 | #if defined (__stub_sched_yield) || defined (__stub___sched_yield) |
|
|
4140 | choke me |
|
|
4141 | #else |
|
|
4142 | char (*f) () = sched_yield; |
|
|
4143 | #endif |
|
|
4144 | #ifdef __cplusplus |
|
|
4145 | } |
|
|
4146 | #endif |
|
|
4147 | |
|
|
4148 | int |
|
|
4149 | main () |
|
|
4150 | { |
|
|
4151 | return f != sched_yield; |
|
|
4152 | ; |
|
|
4153 | return 0; |
|
|
4154 | } |
|
|
4155 | _ACEOF |
|
|
4156 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4157 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4158 | (eval $ac_link) 2>conftest.er1 |
|
|
4159 | ac_status=$? |
|
|
4160 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4161 | rm -f conftest.er1 |
|
|
4162 | cat conftest.err >&5 |
|
|
4163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4164 | (exit $ac_status); } && |
|
|
4165 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4166 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4167 | (eval $ac_try) 2>&5 |
|
|
4168 | ac_status=$? |
|
|
4169 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4170 | (exit $ac_status); }; } && |
|
|
4171 | { ac_try='test -s conftest$ac_exeext' |
|
|
4172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4173 | (eval $ac_try) 2>&5 |
|
|
4174 | ac_status=$? |
|
|
4175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4176 | (exit $ac_status); }; }; then |
|
|
4177 | ac_cv_func_sched_yield=yes |
|
|
4178 | else |
|
|
4179 | echo "$as_me: failed program was:" >&5 |
|
|
4180 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4181 | |
|
|
4182 | ac_cv_func_sched_yield=no |
|
|
4183 | fi |
|
|
4184 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4185 | conftest$ac_exeext conftest.$ac_ext |
|
|
4186 | fi |
|
|
4187 | echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5 |
|
|
4188 | echo "${ECHO_T}$ac_cv_func_sched_yield" >&6 |
|
|
4189 | if test $ac_cv_func_sched_yield = yes; then |
|
|
4190 | : |
|
|
4191 | else |
|
|
4192 | echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5 |
|
|
4193 | echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6 |
|
|
4194 | if test "${ac_cv_lib_rt_sched_yield+set}" = set; then |
|
|
4195 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4196 | else |
|
|
4197 | ac_check_lib_save_LIBS=$LIBS |
|
|
4198 | LIBS="-lrt $LIBS" |
|
|
4199 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4200 | /* confdefs.h. */ |
|
|
4201 | _ACEOF |
|
|
4202 | cat confdefs.h >>conftest.$ac_ext |
|
|
4203 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4204 | /* end confdefs.h. */ |
|
|
4205 | |
|
|
4206 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
4207 | #ifdef __cplusplus |
|
|
4208 | extern "C" |
|
|
4209 | #endif |
|
|
4210 | /* We use char because int might match the return type of a gcc2 |
|
|
4211 | builtin and then its argument prototype would still apply. */ |
|
|
4212 | char sched_yield (); |
|
|
4213 | int |
|
|
4214 | main () |
|
|
4215 | { |
|
|
4216 | sched_yield (); |
|
|
4217 | ; |
|
|
4218 | return 0; |
|
|
4219 | } |
|
|
4220 | _ACEOF |
|
|
4221 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4222 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4223 | (eval $ac_link) 2>conftest.er1 |
|
|
4224 | ac_status=$? |
|
|
4225 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4226 | rm -f conftest.er1 |
|
|
4227 | cat conftest.err >&5 |
|
|
4228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4229 | (exit $ac_status); } && |
|
|
4230 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4232 | (eval $ac_try) 2>&5 |
|
|
4233 | ac_status=$? |
|
|
4234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4235 | (exit $ac_status); }; } && |
|
|
4236 | { ac_try='test -s conftest$ac_exeext' |
|
|
4237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4238 | (eval $ac_try) 2>&5 |
|
|
4239 | ac_status=$? |
|
|
4240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4241 | (exit $ac_status); }; }; then |
|
|
4242 | ac_cv_lib_rt_sched_yield=yes |
|
|
4243 | else |
|
|
4244 | echo "$as_me: failed program was:" >&5 |
|
|
4245 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4246 | |
|
|
4247 | ac_cv_lib_rt_sched_yield=no |
|
|
4248 | fi |
|
|
4249 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4250 | conftest$ac_exeext conftest.$ac_ext |
|
|
4251 | LIBS=$ac_check_lib_save_LIBS |
|
|
4252 | fi |
|
|
4253 | echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5 |
|
|
4254 | echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6 |
|
|
4255 | if test $ac_cv_lib_rt_sched_yield = yes; then |
|
|
4256 | LIBS="$LIBS -lrt" |
|
|
4257 | fi |
|
|
4258 | |
|
|
4259 | fi |
|
|
4260 | |
|
|
4261 | |
|
|
4262 | echo "$as_me:$LINENO: checking for sched_yield support" >&5 |
|
|
4263 | echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6 |
|
|
4264 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4265 | /* confdefs.h. */ |
|
|
4266 | _ACEOF |
|
|
4267 | cat confdefs.h >>conftest.$ac_ext |
|
|
4268 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4269 | /* end confdefs.h. */ |
|
|
4270 | #include <sched.h> |
|
|
4271 | int |
|
|
4272 | main () |
|
|
4273 | { |
|
|
4274 | sched_yield () |
|
|
4275 | ; |
|
|
4276 | return 0; |
|
|
4277 | } |
|
|
4278 | _ACEOF |
|
|
4279 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4280 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4281 | (eval $ac_link) 2>conftest.er1 |
|
|
4282 | ac_status=$? |
|
|
4283 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4284 | rm -f conftest.er1 |
|
|
4285 | cat conftest.err >&5 |
|
|
4286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4287 | (exit $ac_status); } && |
|
|
4288 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4289 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4290 | (eval $ac_try) 2>&5 |
|
|
4291 | ac_status=$? |
|
|
4292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4293 | (exit $ac_status); }; } && |
|
|
4294 | { ac_try='test -s conftest$ac_exeext' |
|
|
4295 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4296 | (eval $ac_try) 2>&5 |
|
|
4297 | ac_status=$? |
|
|
4298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4299 | (exit $ac_status); }; }; then |
|
|
4300 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
4301 | echo "${ECHO_T}yes" >&6 |
|
|
4302 | |
|
|
4303 | cat >>confdefs.h <<\_ACEOF |
|
|
4304 | #define HAVE_SCHED_YIELD 1 |
|
|
4305 | _ACEOF |
|
|
4306 | |
|
|
4307 | else |
|
|
4308 | echo "$as_me: failed program was:" >&5 |
|
|
4309 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4310 | |
|
|
4311 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4312 | echo "${ECHO_T}no" >&6 |
|
|
4313 | fi |
|
|
4314 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4315 | conftest$ac_exeext conftest.$ac_ext |
|
|
4316 | |
|
|
4317 | |
|
|
4318 | MALLOC_TYPE=S |
|
|
4319 | |
3872 | |
4320 | support_frills=yes |
3873 | support_frills=yes |
4321 | support_inheritpixmap=yes |
3874 | support_inheritpixmap=yes |
4322 | support_tinting=yes |
3875 | support_tinting=yes |
4323 | support_fading=yes |
3876 | support_fading=yes |
4324 | support_keepscrolling=yes |
3877 | support_keepscrolling=yes |
4325 | support_selectionscrolling=yes |
3878 | support_selectionscrolling=yes |
4326 | support_mousewheel=yes |
3879 | support_mousewheel=yes |
4327 | support_mouseslipwheel=yes |
3880 | support_mouseslipwheel=yes |
4328 | support_utmp=yes |
|
|
4329 | support_wtmp=yes |
|
|
4330 | support_lastlog=yes |
|
|
4331 | support_text_blink=yes |
3881 | support_text_blink=yes |
4332 | support_pointer_blank=yes |
3882 | support_pointer_blank=yes |
4333 | support_scroll_rxvt=yes |
3883 | support_scroll_rxvt=yes |
4334 | support_scroll_next=yes |
3884 | support_scroll_next=yes |
4335 | support_scroll_xterm=yes |
3885 | support_scroll_xterm=yes |
4336 | support_scroll_plain=yes |
3886 | support_scroll_plain=yes |
4337 | support_xim=yes |
3887 | support_xim=yes |
4338 | support_xpm=yes |
3888 | support_xpm=yes |
|
|
3889 | support_afterimage=yes |
|
|
3890 | support_afterstep=yes |
4339 | support_xft=yes |
3891 | support_xft=yes |
4340 | support_unicode3=no |
3892 | support_unicode3=no |
4341 | support_combining=yes |
3893 | support_combining=yes |
4342 | support_8bitctrls=no |
3894 | support_8bitctrls=no |
4343 | support_iso14755=yes |
3895 | support_iso14755=yes |
… | |
… | |
4359 | # Check whether --enable-everything or --disable-everything was given. |
3911 | # Check whether --enable-everything or --disable-everything was given. |
4360 | if test "${enable_everything+set}" = set; then |
3912 | if test "${enable_everything+set}" = set; then |
4361 | enableval="$enable_everything" |
3913 | enableval="$enable_everything" |
4362 | |
3914 | |
4363 | if test x$enableval = xno; then |
3915 | if test x$enableval = xno; then |
4364 | support_24bit=no |
|
|
4365 | support_frills=no |
3916 | support_frills=no |
4366 | support_inheritpixmap=no |
3917 | support_inheritpixmap=no |
4367 | support_tinting=no |
3918 | support_tinting=no |
4368 | support_fading=no |
3919 | support_fading=no |
4369 | support_keepscrolling=no |
3920 | support_keepscrolling=no |
… | |
… | |
4379 | support_scroll_plain=no |
3930 | support_scroll_plain=no |
4380 | support_utmp=no |
3931 | support_utmp=no |
4381 | support_wtmp=no |
3932 | support_wtmp=no |
4382 | support_xim=no |
3933 | support_xim=no |
4383 | support_xpm=no |
3934 | support_xpm=no |
|
|
3935 | support_afterimage=no |
|
|
3936 | support_afterstep=no |
4384 | support_xft=no |
3937 | support_xft=no |
4385 | support_unicode3=no |
3938 | support_unicode3=no |
4386 | support_combining=no |
3939 | support_combining=no |
4387 | support_8bitctrls=no |
3940 | support_8bitctrls=no |
4388 | support_iso14755=no |
3941 | support_iso14755=no |
4389 | support_styles=no |
3942 | support_styles=no |
4390 | support_perl=no |
3943 | support_perl=no |
4391 | codesets= |
3944 | codesets= |
4392 | fi |
3945 | fi |
4393 | if test x$enableval = xyes; then |
3946 | if test x$enableval = xyes; then |
4394 | support_24bit=yes |
|
|
4395 | support_frills=yes |
3947 | support_frills=yes |
4396 | support_inheritpixmap=yes |
3948 | support_inheritpixmap=yes |
4397 | support_tinting=yes |
3949 | support_tinting=yes |
4398 | support_fading=yes |
3950 | support_fading=yes |
4399 | support_keepscrolling=yes |
3951 | support_keepscrolling=yes |
… | |
… | |
4409 | support_scroll_plain=yes |
3961 | support_scroll_plain=yes |
4410 | support_utmp=yes |
3962 | support_utmp=yes |
4411 | support_wtmp=yes |
3963 | support_wtmp=yes |
4412 | support_xim=yes |
3964 | support_xim=yes |
4413 | support_xpm=yes |
3965 | support_xpm=yes |
|
|
3966 | support_afterimage=yes |
|
|
3967 | support_afterstep=yes |
4414 | support_xft=yes |
3968 | support_xft=yes |
4415 | support_unicode3=yes |
3969 | support_unicode3=yes |
4416 | support_combining=yes |
3970 | support_combining=yes |
4417 | #support_8bitctrls=yes |
3971 | #support_8bitctrls=yes |
4418 | support_iso14755=yes |
3972 | support_iso14755=yes |
… | |
… | |
4453 | if test x$enableval = xyes -o x$enableval = xno; then |
4007 | if test x$enableval = xyes -o x$enableval = xno; then |
4454 | support_styles=$enableval |
4008 | support_styles=$enableval |
4455 | fi |
4009 | fi |
4456 | fi; |
4010 | fi; |
4457 | |
4011 | |
4458 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
4459 | if test "${enable_utmp+set}" = set; then |
|
|
4460 | enableval="$enable_utmp" |
|
|
4461 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4462 | support_utmp=$enableval |
|
|
4463 | fi |
|
|
4464 | fi; |
|
|
4465 | |
|
|
4466 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
4467 | if test "${enable_wtmp+set}" = set; then |
|
|
4468 | enableval="$enable_wtmp" |
|
|
4469 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4470 | support_wtmp=$enableval |
|
|
4471 | fi |
|
|
4472 | fi; |
|
|
4473 | |
|
|
4474 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
4475 | if test "${enable_lastlog+set}" = set; then |
|
|
4476 | enableval="$enable_lastlog" |
|
|
4477 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4478 | support_lastlog=$enableval |
|
|
4479 | fi |
|
|
4480 | fi; |
|
|
4481 | |
|
|
4482 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4012 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4483 | if test "${enable_xpm_background+set}" = set; then |
4013 | if test "${enable_xpm_background+set}" = set; then |
4484 | enableval="$enable_xpm_background" |
4014 | enableval="$enable_xpm_background" |
4485 | if test x$enableval = xyes -o x$enableval = xno; then |
4015 | if test x$enableval = xyes -o x$enableval = xno; then |
4486 | support_xpm=$enableval |
4016 | support_xpm=$enableval |
4487 | fi |
4017 | fi |
4488 | fi; |
4018 | fi; |
4489 | |
4019 | |
|
|
4020 | # Check whether --enable-afterimage or --disable-afterimage was given. |
|
|
4021 | if test "${enable_afterimage+set}" = set; then |
|
|
4022 | enableval="$enable_afterimage" |
|
|
4023 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4024 | support_afterimage=$enableval |
|
|
4025 | fi |
|
|
4026 | fi; |
|
|
4027 | |
|
|
4028 | |
|
|
4029 | # Check whether --with-afterimage_config or --without-afterimage_config was given. |
|
|
4030 | if test "${with_afterimage_config+set}" = set; then |
|
|
4031 | withval="$with_afterimage_config" |
|
|
4032 | if test "x$withval" != x; then |
|
|
4033 | afterimage_config=$withval/afterimage-config |
|
|
4034 | fi |
|
|
4035 | fi; |
|
|
4036 | |
|
|
4037 | # Check whether --enable-afterstep or --disable-afterstep was given. |
|
|
4038 | if test "${enable_afterstep+set}" = set; then |
|
|
4039 | enableval="$enable_afterstep" |
|
|
4040 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4041 | support_afterstep=$enableval |
|
|
4042 | fi |
|
|
4043 | fi; |
|
|
4044 | |
4490 | # Check whether --enable-transparency or --disable-transparency was given. |
4045 | # Check whether --enable-transparency or --disable-transparency was given. |
4491 | if test "${enable_transparency+set}" = set; then |
4046 | if test "${enable_transparency+set}" = set; then |
4492 | enableval="$enable_transparency" |
4047 | enableval="$enable_transparency" |
4493 | if test x$enableval = xyes -o x$enableval = xno; then |
4048 | if test x$enableval = xyes -o x$enableval = xno; then |
4494 | support_inheritpixmap=$enableval |
4049 | support_inheritpixmap=$enableval |
… | |
… | |
4549 | if test x$enableval = xyes -o x$enableval = xno; then |
4104 | if test x$enableval = xyes -o x$enableval = xno; then |
4550 | support_scroll_plain=$enableval |
4105 | support_scroll_plain=$enableval |
4551 | fi |
4106 | fi |
4552 | fi; |
4107 | fi; |
4553 | |
4108 | |
4554 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
4555 | if test "${enable_half_shadow+set}" = set; then |
|
|
4556 | enableval="$enable_half_shadow" |
|
|
4557 | if test x$enableval = xyes; then |
|
|
4558 | |
|
|
4559 | cat >>confdefs.h <<\_ACEOF |
|
|
4560 | #define HALFSHADOW 1 |
|
|
4561 | _ACEOF |
|
|
4562 | |
|
|
4563 | fi |
|
|
4564 | fi; |
|
|
4565 | |
|
|
4566 | |
4109 | |
4567 | # Check whether --with-codesets or --without-codesets was given. |
4110 | # Check whether --with-codesets or --without-codesets was given. |
4568 | if test "${with_codesets+set}" = set; then |
4111 | if test "${with_codesets+set}" = set; then |
4569 | withval="$with_codesets" |
4112 | withval="$with_codesets" |
4570 | codesets="$withval" |
4113 | codesets="$withval" |
… | |
… | |
4576 | if test x$enableval = xyes -o x$enableval = xno; then |
4119 | if test x$enableval = xyes -o x$enableval = xno; then |
4577 | support_xim=$enableval |
4120 | support_xim=$enableval |
4578 | fi |
4121 | fi |
4579 | fi; |
4122 | fi; |
4580 | |
4123 | |
4581 | # Check whether --enable-ttygid or --disable-ttygid was given. |
|
|
4582 | if test "${enable_ttygid+set}" = set; then |
|
|
4583 | enableval="$enable_ttygid" |
|
|
4584 | if test x$enableval = xyes; then |
|
|
4585 | |
|
|
4586 | cat >>confdefs.h <<\_ACEOF |
|
|
4587 | #define TTY_GID_SUPPORT 1 |
|
|
4588 | _ACEOF |
|
|
4589 | |
|
|
4590 | fi |
|
|
4591 | fi; |
|
|
4592 | |
|
|
4593 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4124 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4594 | if test "${enable_backspace_key+set}" = set; then |
4125 | if test "${enable_backspace_key+set}" = set; then |
4595 | enableval="$enable_backspace_key" |
4126 | enableval="$enable_backspace_key" |
4596 | if test x$enableval = xno; then |
4127 | if test x$enableval = xno; then |
4597 | |
4128 | |
… | |
… | |
4721 | if test x$enableval = xyes -o x$enableval = xno; then |
4252 | if test x$enableval = xyes -o x$enableval = xno; then |
4722 | support_frills=$enableval |
4253 | support_frills=$enableval |
4723 | fi |
4254 | fi |
4724 | fi; |
4255 | fi; |
4725 | |
4256 | |
4726 | # Check whether --enable-24bit or --disable-24bit was given. |
|
|
4727 | if test "${enable_24bit+set}" = set; then |
|
|
4728 | enableval="$enable_24bit" |
|
|
4729 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4730 | support_24bit=$enableval |
|
|
4731 | fi |
|
|
4732 | fi; |
|
|
4733 | |
|
|
4734 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4257 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4735 | if test "${enable_keepscrolling+set}" = set; then |
4258 | if test "${enable_keepscrolling+set}" = set; then |
4736 | enableval="$enable_keepscrolling" |
4259 | enableval="$enable_keepscrolling" |
4737 | if test x$enableval = xyes -o x$enableval = xno; then |
4260 | if test x$enableval = xyes -o x$enableval = xno; then |
4738 | support_keepscrolling=$enableval |
4261 | support_keepscrolling=$enableval |
… | |
… | |
4761 | if test x$enableval = xyes -o x$enableval = xno; then |
4284 | if test x$enableval = xyes -o x$enableval = xno; then |
4762 | support_mouseslipwheel=$enableval |
4285 | support_mouseslipwheel=$enableval |
4763 | fi |
4286 | fi |
4764 | fi; |
4287 | fi; |
4765 | |
4288 | |
4766 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
|
|
4767 | if test "${enable_dmalloc+set}" = set; then |
|
|
4768 | enableval="$enable_dmalloc" |
|
|
4769 | if test x$enableval = xyes; then |
|
|
4770 | MALLOC_TYPE=G |
|
|
4771 | DEBUG=-DDEBUG_MALLOC |
|
|
4772 | DLIB="-L/usr/local/lib -ldmalloc" |
|
|
4773 | DINCLUDE=-I/usr/local/include |
|
|
4774 | fi |
|
|
4775 | fi; |
|
|
4776 | |
|
|
4777 | # Check whether --enable-dlmalloc or --disable-dlmalloc was given. |
|
|
4778 | if test "${enable_dlmalloc+set}" = set; then |
|
|
4779 | enableval="$enable_dlmalloc" |
|
|
4780 | if test x$enableval = xyes; then |
|
|
4781 | MALLOC_TYPE=D |
|
|
4782 | DEBUG= |
|
|
4783 | DLIB="-L/usr/local/lib -ldlmalloc" |
|
|
4784 | DINCLUDE= |
|
|
4785 | fi |
|
|
4786 | fi; |
|
|
4787 | |
|
|
4788 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4289 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4789 | if test "${enable_smart_resize+set}" = set; then |
4290 | if test "${enable_smart_resize+set}" = set; then |
4790 | enableval="$enable_smart_resize" |
4291 | enableval="$enable_smart_resize" |
4791 | if test x$enableval = xyes; then |
4292 | if test x$enableval = xyes; then |
4792 | |
4293 | |
… | |
… | |
4837 | _ACEOF |
4338 | _ACEOF |
4838 | terminfo="$withval" |
4339 | terminfo="$withval" |
4839 | fi |
4340 | fi |
4840 | fi; |
4341 | fi; |
4841 | |
4342 | |
4842 | |
|
|
4843 | |
|
|
4844 | cat >>confdefs.h <<\_ACEOF |
|
|
4845 | #define PROTOTYPES 1 |
|
|
4846 | _ACEOF |
|
|
4847 | |
|
|
4848 | |
|
|
4849 | # Extract the first word of "mv", so it can be a program name with args. |
|
|
4850 | set dummy mv; ac_word=$2 |
|
|
4851 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4852 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4853 | if test "${ac_cv_path_MV+set}" = set; then |
|
|
4854 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4855 | else |
|
|
4856 | case $MV in |
|
|
4857 | [\\/]* | ?:[\\/]*) |
|
|
4858 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
|
|
4859 | ;; |
|
|
4860 | *) |
|
|
4861 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4862 | for as_dir in $PATH |
|
|
4863 | do |
|
|
4864 | IFS=$as_save_IFS |
|
|
4865 | test -z "$as_dir" && as_dir=. |
|
|
4866 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4867 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4868 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
|
|
4869 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4870 | break 2 |
|
|
4871 | fi |
|
|
4872 | done |
|
|
4873 | done |
|
|
4874 | |
|
|
4875 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
|
|
4876 | ;; |
|
|
4877 | esac |
|
|
4878 | fi |
|
|
4879 | MV=$ac_cv_path_MV |
|
|
4880 | |
|
|
4881 | if test -n "$MV"; then |
|
|
4882 | echo "$as_me:$LINENO: result: $MV" >&5 |
|
|
4883 | echo "${ECHO_T}$MV" >&6 |
|
|
4884 | else |
|
|
4885 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4886 | echo "${ECHO_T}no" >&6 |
|
|
4887 | fi |
|
|
4888 | |
|
|
4889 | # Extract the first word of "rm", so it can be a program name with args. |
|
|
4890 | set dummy rm; ac_word=$2 |
|
|
4891 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4892 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4893 | if test "${ac_cv_path_RM+set}" = set; then |
|
|
4894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4895 | else |
|
|
4896 | case $RM in |
|
|
4897 | [\\/]* | ?:[\\/]*) |
|
|
4898 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
|
|
4899 | ;; |
|
|
4900 | *) |
|
|
4901 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4902 | for as_dir in $PATH |
|
|
4903 | do |
|
|
4904 | IFS=$as_save_IFS |
|
|
4905 | test -z "$as_dir" && as_dir=. |
|
|
4906 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4907 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4908 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
|
|
4909 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4910 | break 2 |
|
|
4911 | fi |
|
|
4912 | done |
|
|
4913 | done |
|
|
4914 | |
|
|
4915 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" |
|
|
4916 | ;; |
|
|
4917 | esac |
|
|
4918 | fi |
|
|
4919 | RM=$ac_cv_path_RM |
|
|
4920 | |
|
|
4921 | if test -n "$RM"; then |
|
|
4922 | echo "$as_me:$LINENO: result: $RM" >&5 |
|
|
4923 | echo "${ECHO_T}$RM" >&6 |
|
|
4924 | else |
|
|
4925 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4926 | echo "${ECHO_T}no" >&6 |
|
|
4927 | fi |
|
|
4928 | |
|
|
4929 | # Extract the first word of "cp", so it can be a program name with args. |
|
|
4930 | set dummy cp; ac_word=$2 |
|
|
4931 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4932 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4933 | if test "${ac_cv_path_CP+set}" = set; then |
|
|
4934 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4935 | else |
|
|
4936 | case $CP in |
|
|
4937 | [\\/]* | ?:[\\/]*) |
|
|
4938 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
|
|
4939 | ;; |
|
|
4940 | *) |
|
|
4941 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4942 | for as_dir in $PATH |
|
|
4943 | do |
|
|
4944 | IFS=$as_save_IFS |
|
|
4945 | test -z "$as_dir" && as_dir=. |
|
|
4946 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4947 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4948 | ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
|
|
4949 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4950 | break 2 |
|
|
4951 | fi |
|
|
4952 | done |
|
|
4953 | done |
|
|
4954 | |
|
|
4955 | test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" |
|
|
4956 | ;; |
|
|
4957 | esac |
|
|
4958 | fi |
|
|
4959 | CP=$ac_cv_path_CP |
|
|
4960 | |
|
|
4961 | if test -n "$CP"; then |
|
|
4962 | echo "$as_me:$LINENO: result: $CP" >&5 |
|
|
4963 | echo "${ECHO_T}$CP" >&6 |
|
|
4964 | else |
|
|
4965 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4966 | echo "${ECHO_T}no" >&6 |
|
|
4967 | fi |
|
|
4968 | |
|
|
4969 | # Extract the first word of "ln", so it can be a program name with args. |
|
|
4970 | set dummy ln; ac_word=$2 |
|
|
4971 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4972 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4973 | if test "${ac_cv_path_LN+set}" = set; then |
|
|
4974 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4975 | else |
|
|
4976 | case $LN in |
|
|
4977 | [\\/]* | ?:[\\/]*) |
|
|
4978 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
|
|
4979 | ;; |
|
|
4980 | *) |
|
|
4981 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4982 | for as_dir in $PATH |
|
|
4983 | do |
|
|
4984 | IFS=$as_save_IFS |
|
|
4985 | test -z "$as_dir" && as_dir=. |
|
|
4986 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4987 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4988 | ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
|
|
4989 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4990 | break 2 |
|
|
4991 | fi |
|
|
4992 | done |
|
|
4993 | done |
|
|
4994 | |
|
|
4995 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
|
|
4996 | ;; |
|
|
4997 | esac |
|
|
4998 | fi |
|
|
4999 | LN=$ac_cv_path_LN |
|
|
5000 | |
|
|
5001 | if test -n "$LN"; then |
|
|
5002 | echo "$as_me:$LINENO: result: $LN" >&5 |
|
|
5003 | echo "${ECHO_T}$LN" >&6 |
|
|
5004 | else |
|
|
5005 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5006 | echo "${ECHO_T}no" >&6 |
|
|
5007 | fi |
|
|
5008 | |
|
|
5009 | # Extract the first word of "sed", so it can be a program name with args. |
|
|
5010 | set dummy sed; ac_word=$2 |
|
|
5011 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5012 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5013 | if test "${ac_cv_path_SED+set}" = set; then |
|
|
5014 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5015 | else |
|
|
5016 | case $SED in |
|
|
5017 | [\\/]* | ?:[\\/]*) |
|
|
5018 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
|
|
5019 | ;; |
|
|
5020 | *) |
|
|
5021 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5022 | for as_dir in $PATH |
|
|
5023 | do |
|
|
5024 | IFS=$as_save_IFS |
|
|
5025 | test -z "$as_dir" && as_dir=. |
|
|
5026 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5027 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5028 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
|
|
5029 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5030 | break 2 |
|
|
5031 | fi |
|
|
5032 | done |
|
|
5033 | done |
|
|
5034 | |
|
|
5035 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" |
|
|
5036 | ;; |
|
|
5037 | esac |
|
|
5038 | fi |
|
|
5039 | SED=$ac_cv_path_SED |
|
|
5040 | |
|
|
5041 | if test -n "$SED"; then |
|
|
5042 | echo "$as_me:$LINENO: result: $SED" >&5 |
|
|
5043 | echo "${ECHO_T}$SED" >&6 |
|
|
5044 | else |
|
|
5045 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5046 | echo "${ECHO_T}no" >&6 |
|
|
5047 | fi |
|
|
5048 | |
|
|
5049 | # Extract the first word of "echo", so it can be a program name with args. |
|
|
5050 | set dummy echo; ac_word=$2 |
|
|
5051 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5052 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5053 | if test "${ac_cv_path_ECHO+set}" = set; then |
|
|
5054 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5055 | else |
|
|
5056 | case $ECHO in |
|
|
5057 | [\\/]* | ?:[\\/]*) |
|
|
5058 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. |
|
|
5059 | ;; |
|
|
5060 | *) |
|
|
5061 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5062 | for as_dir in $PATH |
|
|
5063 | do |
|
|
5064 | IFS=$as_save_IFS |
|
|
5065 | test -z "$as_dir" && as_dir=. |
|
|
5066 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5067 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5068 | ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" |
|
|
5069 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5070 | break 2 |
|
|
5071 | fi |
|
|
5072 | done |
|
|
5073 | done |
|
|
5074 | |
|
|
5075 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" |
|
|
5076 | ;; |
|
|
5077 | esac |
|
|
5078 | fi |
|
|
5079 | ECHO=$ac_cv_path_ECHO |
|
|
5080 | |
|
|
5081 | if test -n "$ECHO"; then |
|
|
5082 | echo "$as_me:$LINENO: result: $ECHO" >&5 |
|
|
5083 | echo "${ECHO_T}$ECHO" >&6 |
|
|
5084 | else |
|
|
5085 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5086 | echo "${ECHO_T}no" >&6 |
|
|
5087 | fi |
|
|
5088 | |
|
|
5089 | # Extract the first word of "cmp", so it can be a program name with args. |
|
|
5090 | set dummy cmp; ac_word=$2 |
|
|
5091 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5092 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5093 | if test "${ac_cv_path_CMP+set}" = set; then |
|
|
5094 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5095 | else |
|
|
5096 | case $CMP in |
|
|
5097 | [\\/]* | ?:[\\/]*) |
|
|
5098 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
|
|
5099 | ;; |
|
|
5100 | *) |
|
|
5101 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5102 | for as_dir in $PATH |
|
|
5103 | do |
|
|
5104 | IFS=$as_save_IFS |
|
|
5105 | test -z "$as_dir" && as_dir=. |
|
|
5106 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5107 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5108 | ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" |
|
|
5109 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5110 | break 2 |
|
|
5111 | fi |
|
|
5112 | done |
|
|
5113 | done |
|
|
5114 | |
|
|
5115 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
|
|
5116 | ;; |
|
|
5117 | esac |
|
|
5118 | fi |
|
|
5119 | CMP=$ac_cv_path_CMP |
|
|
5120 | |
|
|
5121 | if test -n "$CMP"; then |
|
|
5122 | echo "$as_me:$LINENO: result: $CMP" >&5 |
|
|
5123 | echo "${ECHO_T}$CMP" >&6 |
|
|
5124 | else |
|
|
5125 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5126 | echo "${ECHO_T}no" >&6 |
|
|
5127 | fi |
|
|
5128 | |
|
|
5129 | # Extract the first word of "tbl", so it can be a program name with args. |
|
|
5130 | set dummy tbl; ac_word=$2 |
|
|
5131 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5132 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5133 | if test "${ac_cv_path_TBL+set}" = set; then |
|
|
5134 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5135 | else |
|
|
5136 | case $TBL in |
|
|
5137 | [\\/]* | ?:[\\/]*) |
|
|
5138 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
|
|
5139 | ;; |
|
|
5140 | *) |
|
|
5141 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5142 | for as_dir in $PATH |
|
|
5143 | do |
|
|
5144 | IFS=$as_save_IFS |
|
|
5145 | test -z "$as_dir" && as_dir=. |
|
|
5146 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5147 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5148 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
5149 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5150 | break 2 |
|
|
5151 | fi |
|
|
5152 | done |
|
|
5153 | done |
|
|
5154 | |
|
|
5155 | ;; |
|
|
5156 | esac |
|
|
5157 | fi |
|
|
5158 | TBL=$ac_cv_path_TBL |
|
|
5159 | |
|
|
5160 | if test -n "$TBL"; then |
|
|
5161 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
5162 | echo "${ECHO_T}$TBL" >&6 |
|
|
5163 | else |
|
|
5164 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5165 | echo "${ECHO_T}no" >&6 |
|
|
5166 | fi |
|
|
5167 | |
4343 | |
5168 | # Extract the first word of "tic", so it can be a program name with args. |
4344 | # Extract the first word of "tic", so it can be a program name with args. |
5169 | set dummy tic; ac_word=$2 |
4345 | set dummy tic; ac_word=$2 |
5170 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4346 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5171 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4347 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
5205 | fi |
4381 | fi |
5206 | |
4382 | |
5207 | |
4383 | |
5208 | |
4384 | |
5209 | |
4385 | |
|
|
4386 | ac_ext=cc |
|
|
4387 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4388 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4389 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4390 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4391 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4392 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
4393 | if test -z "$CXXCPP"; then |
|
|
4394 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4395 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4396 | else |
|
|
4397 | # Double quotes because CXXCPP needs to be expanded |
|
|
4398 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4399 | do |
|
|
4400 | ac_preproc_ok=false |
|
|
4401 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4402 | do |
|
|
4403 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4404 | # with a fresh cross-compiler works. |
|
|
4405 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4406 | # <limits.h> exists even on freestanding compilers. |
|
|
4407 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4408 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4409 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4410 | /* confdefs.h. */ |
|
|
4411 | _ACEOF |
|
|
4412 | cat confdefs.h >>conftest.$ac_ext |
|
|
4413 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4414 | /* end confdefs.h. */ |
|
|
4415 | #ifdef __STDC__ |
|
|
4416 | # include <limits.h> |
|
|
4417 | #else |
|
|
4418 | # include <assert.h> |
|
|
4419 | #endif |
|
|
4420 | Syntax error |
|
|
4421 | _ACEOF |
|
|
4422 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4423 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4424 | ac_status=$? |
|
|
4425 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4426 | rm -f conftest.er1 |
|
|
4427 | cat conftest.err >&5 |
|
|
4428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4429 | (exit $ac_status); } >/dev/null; then |
|
|
4430 | if test -s conftest.err; then |
|
|
4431 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4432 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4433 | else |
|
|
4434 | ac_cpp_err= |
|
|
4435 | fi |
|
|
4436 | else |
|
|
4437 | ac_cpp_err=yes |
|
|
4438 | fi |
|
|
4439 | if test -z "$ac_cpp_err"; then |
|
|
4440 | : |
|
|
4441 | else |
|
|
4442 | echo "$as_me: failed program was:" >&5 |
|
|
4443 | sed 's/^/| /' conftest.$ac_ext >&5 |
5210 | |
4444 | |
5211 | if test "x$ac_path_x_has_been_run" != xyes; then |
4445 | # Broken: fails on valid input. |
|
|
4446 | continue |
|
|
4447 | fi |
|
|
4448 | rm -f conftest.err conftest.$ac_ext |
|
|
4449 | |
|
|
4450 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4451 | # can be detected and how. |
|
|
4452 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4453 | /* confdefs.h. */ |
|
|
4454 | _ACEOF |
|
|
4455 | cat confdefs.h >>conftest.$ac_ext |
|
|
4456 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4457 | /* end confdefs.h. */ |
|
|
4458 | #include <ac_nonexistent.h> |
|
|
4459 | _ACEOF |
|
|
4460 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4461 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4462 | ac_status=$? |
|
|
4463 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4464 | rm -f conftest.er1 |
|
|
4465 | cat conftest.err >&5 |
|
|
4466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4467 | (exit $ac_status); } >/dev/null; then |
|
|
4468 | if test -s conftest.err; then |
|
|
4469 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4470 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4471 | else |
|
|
4472 | ac_cpp_err= |
|
|
4473 | fi |
|
|
4474 | else |
|
|
4475 | ac_cpp_err=yes |
|
|
4476 | fi |
|
|
4477 | if test -z "$ac_cpp_err"; then |
|
|
4478 | # Broken: success on invalid input. |
|
|
4479 | continue |
|
|
4480 | else |
|
|
4481 | echo "$as_me: failed program was:" >&5 |
|
|
4482 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4483 | |
|
|
4484 | # Passes both tests. |
|
|
4485 | ac_preproc_ok=: |
|
|
4486 | break |
|
|
4487 | fi |
|
|
4488 | rm -f conftest.err conftest.$ac_ext |
|
|
4489 | |
|
|
4490 | done |
|
|
4491 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4492 | rm -f conftest.err conftest.$ac_ext |
|
|
4493 | if $ac_preproc_ok; then |
|
|
4494 | break |
|
|
4495 | fi |
|
|
4496 | |
|
|
4497 | done |
|
|
4498 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4499 | |
|
|
4500 | fi |
|
|
4501 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
4502 | else |
|
|
4503 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4504 | fi |
|
|
4505 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
4506 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
4507 | ac_preproc_ok=false |
|
|
4508 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4509 | do |
|
|
4510 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4511 | # with a fresh cross-compiler works. |
|
|
4512 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4513 | # <limits.h> exists even on freestanding compilers. |
|
|
4514 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4515 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4516 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4517 | /* confdefs.h. */ |
|
|
4518 | _ACEOF |
|
|
4519 | cat confdefs.h >>conftest.$ac_ext |
|
|
4520 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4521 | /* end confdefs.h. */ |
|
|
4522 | #ifdef __STDC__ |
|
|
4523 | # include <limits.h> |
|
|
4524 | #else |
|
|
4525 | # include <assert.h> |
|
|
4526 | #endif |
|
|
4527 | Syntax error |
|
|
4528 | _ACEOF |
|
|
4529 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4530 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4531 | ac_status=$? |
|
|
4532 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4533 | rm -f conftest.er1 |
|
|
4534 | cat conftest.err >&5 |
|
|
4535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4536 | (exit $ac_status); } >/dev/null; then |
|
|
4537 | if test -s conftest.err; then |
|
|
4538 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4539 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4540 | else |
|
|
4541 | ac_cpp_err= |
|
|
4542 | fi |
|
|
4543 | else |
|
|
4544 | ac_cpp_err=yes |
|
|
4545 | fi |
|
|
4546 | if test -z "$ac_cpp_err"; then |
|
|
4547 | : |
|
|
4548 | else |
|
|
4549 | echo "$as_me: failed program was:" >&5 |
|
|
4550 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4551 | |
|
|
4552 | # Broken: fails on valid input. |
|
|
4553 | continue |
|
|
4554 | fi |
|
|
4555 | rm -f conftest.err conftest.$ac_ext |
|
|
4556 | |
|
|
4557 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4558 | # can be detected and how. |
|
|
4559 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4560 | /* confdefs.h. */ |
|
|
4561 | _ACEOF |
|
|
4562 | cat confdefs.h >>conftest.$ac_ext |
|
|
4563 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4564 | /* end confdefs.h. */ |
|
|
4565 | #include <ac_nonexistent.h> |
|
|
4566 | _ACEOF |
|
|
4567 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4568 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4569 | ac_status=$? |
|
|
4570 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4571 | rm -f conftest.er1 |
|
|
4572 | cat conftest.err >&5 |
|
|
4573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4574 | (exit $ac_status); } >/dev/null; then |
|
|
4575 | if test -s conftest.err; then |
|
|
4576 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4577 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4578 | else |
|
|
4579 | ac_cpp_err= |
|
|
4580 | fi |
|
|
4581 | else |
|
|
4582 | ac_cpp_err=yes |
|
|
4583 | fi |
|
|
4584 | if test -z "$ac_cpp_err"; then |
|
|
4585 | # Broken: success on invalid input. |
|
|
4586 | continue |
|
|
4587 | else |
|
|
4588 | echo "$as_me: failed program was:" >&5 |
|
|
4589 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4590 | |
|
|
4591 | # Passes both tests. |
|
|
4592 | ac_preproc_ok=: |
|
|
4593 | break |
|
|
4594 | fi |
|
|
4595 | rm -f conftest.err conftest.$ac_ext |
|
|
4596 | |
|
|
4597 | done |
|
|
4598 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4599 | rm -f conftest.err conftest.$ac_ext |
|
|
4600 | if $ac_preproc_ok; then |
|
|
4601 | : |
|
|
4602 | else |
|
|
4603 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4604 | See \`config.log' for more details." >&5 |
|
|
4605 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4606 | See \`config.log' for more details." >&2;} |
|
|
4607 | { (exit 1); exit 1; }; } |
|
|
4608 | fi |
|
|
4609 | |
|
|
4610 | ac_ext=cc |
|
|
4611 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4612 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4613 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4614 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4615 | |
|
|
4616 | |
5212 | echo "$as_me:$LINENO: checking for X" >&5 |
4617 | echo "$as_me:$LINENO: checking for X" >&5 |
5213 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4618 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
5214 | |
4619 | |
5215 | ac_path_x_has_been_run=yes |
|
|
5216 | |
4620 | |
5217 | # Check whether --with-x or --without-x was given. |
4621 | # Check whether --with-x or --without-x was given. |
5218 | if test "${with_x+set}" = set; then |
4622 | if test "${with_x+set}" = set; then |
5219 | withval="$with_x" |
4623 | withval="$with_x" |
5220 | |
4624 | |
… | |
… | |
5303 | |
4707 | |
5304 | /usr/openwin/include |
4708 | /usr/openwin/include |
5305 | /usr/openwin/share/include' |
4709 | /usr/openwin/share/include' |
5306 | |
4710 | |
5307 | if test "$ac_x_includes" = no; then |
4711 | if test "$ac_x_includes" = no; then |
5308 | # Guess where to find include files, by looking for a specified header file. |
4712 | # Guess where to find include files, by looking for Intrinsic.h. |
5309 | # First, try using that file with no special directory specified. |
4713 | # First, try using that file with no special directory specified. |
5310 | cat >conftest.$ac_ext <<_ACEOF |
4714 | cat >conftest.$ac_ext <<_ACEOF |
5311 | /* confdefs.h. */ |
4715 | /* confdefs.h. */ |
5312 | _ACEOF |
4716 | _ACEOF |
5313 | cat confdefs.h >>conftest.$ac_ext |
4717 | cat confdefs.h >>conftest.$ac_ext |
5314 | cat >>conftest.$ac_ext <<_ACEOF |
4718 | cat >>conftest.$ac_ext <<_ACEOF |
5315 | /* end confdefs.h. */ |
4719 | /* end confdefs.h. */ |
5316 | #include <X11/Xlib.h> |
4720 | #include <X11/Intrinsic.h> |
5317 | _ACEOF |
4721 | _ACEOF |
5318 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4722 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5319 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4723 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5320 | ac_status=$? |
4724 | ac_status=$? |
5321 | grep -v '^ *+' conftest.er1 >conftest.err |
4725 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5338 | else |
4742 | else |
5339 | echo "$as_me: failed program was:" >&5 |
4743 | echo "$as_me: failed program was:" >&5 |
5340 | sed 's/^/| /' conftest.$ac_ext >&5 |
4744 | sed 's/^/| /' conftest.$ac_ext >&5 |
5341 | |
4745 | |
5342 | for ac_dir in $ac_x_header_dirs; do |
4746 | for ac_dir in $ac_x_header_dirs; do |
5343 | if test -r "$ac_dir/X11/Xlib.h"; then |
4747 | if test -r "$ac_dir/X11/Intrinsic.h"; then |
5344 | ac_x_includes=$ac_dir |
4748 | ac_x_includes=$ac_dir |
5345 | break |
4749 | break |
5346 | fi |
4750 | fi |
5347 | done |
4751 | done |
5348 | fi |
4752 | fi |
… | |
… | |
5352 | if test "$ac_x_libraries" = no; then |
4756 | if test "$ac_x_libraries" = no; then |
5353 | # Check for the libraries. |
4757 | # Check for the libraries. |
5354 | # See if we find them without any special options. |
4758 | # See if we find them without any special options. |
5355 | # Don't add to $LIBS permanently. |
4759 | # Don't add to $LIBS permanently. |
5356 | ac_save_LIBS=$LIBS |
4760 | ac_save_LIBS=$LIBS |
5357 | LIBS="-lX11 $LIBS" |
4761 | LIBS="-lXt $LIBS" |
5358 | cat >conftest.$ac_ext <<_ACEOF |
4762 | cat >conftest.$ac_ext <<_ACEOF |
5359 | /* confdefs.h. */ |
4763 | /* confdefs.h. */ |
5360 | _ACEOF |
4764 | _ACEOF |
5361 | cat confdefs.h >>conftest.$ac_ext |
4765 | cat confdefs.h >>conftest.$ac_ext |
5362 | cat >>conftest.$ac_ext <<_ACEOF |
4766 | cat >>conftest.$ac_ext <<_ACEOF |
5363 | /* end confdefs.h. */ |
4767 | /* end confdefs.h. */ |
5364 | #include <X11/Xlib.h> |
4768 | #include <X11/Intrinsic.h> |
5365 | int |
4769 | int |
5366 | main () |
4770 | main () |
5367 | { |
4771 | { |
5368 | XrmInitialize () |
4772 | XtMalloc (0) |
5369 | ; |
4773 | ; |
5370 | return 0; |
4774 | return 0; |
5371 | } |
4775 | } |
5372 | _ACEOF |
4776 | _ACEOF |
5373 | rm -f conftest.$ac_objext conftest$ac_exeext |
4777 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
5377 | grep -v '^ *+' conftest.er1 >conftest.err |
4781 | grep -v '^ *+' conftest.er1 >conftest.err |
5378 | rm -f conftest.er1 |
4782 | rm -f conftest.er1 |
5379 | cat conftest.err >&5 |
4783 | cat conftest.err >&5 |
5380 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5381 | (exit $ac_status); } && |
4785 | (exit $ac_status); } && |
5382 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4786 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4787 | || test ! -s conftest.err' |
5383 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5384 | (eval $ac_try) 2>&5 |
4789 | (eval $ac_try) 2>&5 |
5385 | ac_status=$? |
4790 | ac_status=$? |
5386 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5387 | (exit $ac_status); }; } && |
4792 | (exit $ac_status); }; } && |
… | |
… | |
5401 | LIBS=$ac_save_LIBS |
4806 | LIBS=$ac_save_LIBS |
5402 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
4807 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
5403 | do |
4808 | do |
5404 | # Don't even attempt the hair of trying to link an X program! |
4809 | # Don't even attempt the hair of trying to link an X program! |
5405 | for ac_extension in a so sl; do |
4810 | for ac_extension in a so sl; do |
5406 | if test -r $ac_dir/libX11.$ac_extension; then |
4811 | if test -r $ac_dir/libXt.$ac_extension; then |
5407 | ac_x_libraries=$ac_dir |
4812 | ac_x_libraries=$ac_dir |
5408 | break 2 |
4813 | break 2 |
5409 | fi |
4814 | fi |
5410 | done |
4815 | done |
5411 | done |
4816 | done |
… | |
… | |
5437 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4842 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
5438 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4843 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
5439 | # Update the cache value to reflect the command line values. |
4844 | # Update the cache value to reflect the command line values. |
5440 | ac_cv_have_x="have_x=yes \ |
4845 | ac_cv_have_x="have_x=yes \ |
5441 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
4846 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
5442 | # It might be that x_includes is empty (headers are found in the |
|
|
5443 | # standard search path. Then output the corresponding message |
|
|
5444 | ac_out_x_includes=$x_includes |
|
|
5445 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" |
|
|
5446 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 |
4847 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
5447 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
4848 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
5448 | fi |
4849 | fi |
5449 | |
4850 | |
5450 | fi |
|
|
5451 | if test "$no_x" = yes; then |
4851 | if test "$no_x" = yes; then |
5452 | # Not all programs may use this symbol, but it does not hurt to define it. |
4852 | # Not all programs may use this symbol, but it does not hurt to define it. |
5453 | |
4853 | |
5454 | cat >>confdefs.h <<\_ACEOF |
4854 | cat >>confdefs.h <<\_ACEOF |
5455 | #define X_DISPLAY_MISSING 1 |
4855 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
5493 | grep -v '^ *+' conftest.er1 >conftest.err |
4893 | grep -v '^ *+' conftest.er1 >conftest.err |
5494 | rm -f conftest.er1 |
4894 | rm -f conftest.er1 |
5495 | cat conftest.err >&5 |
4895 | cat conftest.err >&5 |
5496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5497 | (exit $ac_status); } && |
4897 | (exit $ac_status); } && |
5498 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4898 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4899 | || test ! -s conftest.err' |
5499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4900 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5500 | (eval $ac_try) 2>&5 |
4901 | (eval $ac_try) 2>&5 |
5501 | ac_status=$? |
4902 | ac_status=$? |
5502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5503 | (exit $ac_status); }; } && |
4904 | (exit $ac_status); }; } && |
… | |
… | |
5544 | grep -v '^ *+' conftest.er1 >conftest.err |
4945 | grep -v '^ *+' conftest.er1 >conftest.err |
5545 | rm -f conftest.er1 |
4946 | rm -f conftest.er1 |
5546 | cat conftest.err >&5 |
4947 | cat conftest.err >&5 |
5547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5548 | (exit $ac_status); } && |
4949 | (exit $ac_status); } && |
5549 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4950 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4951 | || test ! -s conftest.err' |
5550 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4952 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5551 | (eval $ac_try) 2>&5 |
4953 | (eval $ac_try) 2>&5 |
5552 | ac_status=$? |
4954 | ac_status=$? |
5553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5554 | (exit $ac_status); }; } && |
4956 | (exit $ac_status); }; } && |
… | |
… | |
5620 | grep -v '^ *+' conftest.er1 >conftest.err |
5022 | grep -v '^ *+' conftest.er1 >conftest.err |
5621 | rm -f conftest.er1 |
5023 | rm -f conftest.er1 |
5622 | cat conftest.err >&5 |
5024 | cat conftest.err >&5 |
5623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5624 | (exit $ac_status); } && |
5026 | (exit $ac_status); } && |
5625 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5027 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5028 | || test ! -s conftest.err' |
5626 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5029 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5627 | (eval $ac_try) 2>&5 |
5030 | (eval $ac_try) 2>&5 |
5628 | ac_status=$? |
5031 | ac_status=$? |
5629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5630 | (exit $ac_status); }; } && |
5033 | (exit $ac_status); }; } && |
… | |
… | |
5675 | grep -v '^ *+' conftest.er1 >conftest.err |
5078 | grep -v '^ *+' conftest.er1 >conftest.err |
5676 | rm -f conftest.er1 |
5079 | rm -f conftest.er1 |
5677 | cat conftest.err >&5 |
5080 | cat conftest.err >&5 |
5678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5679 | (exit $ac_status); } && |
5082 | (exit $ac_status); } && |
5680 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5083 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5084 | || test ! -s conftest.err' |
5681 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5682 | (eval $ac_try) 2>&5 |
5086 | (eval $ac_try) 2>&5 |
5683 | ac_status=$? |
5087 | ac_status=$? |
5684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5685 | (exit $ac_status); }; } && |
5089 | (exit $ac_status); }; } && |
… | |
… | |
5743 | grep -v '^ *+' conftest.er1 >conftest.err |
5147 | grep -v '^ *+' conftest.er1 >conftest.err |
5744 | rm -f conftest.er1 |
5148 | rm -f conftest.er1 |
5745 | cat conftest.err >&5 |
5149 | cat conftest.err >&5 |
5746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5747 | (exit $ac_status); } && |
5151 | (exit $ac_status); } && |
5748 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5152 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5153 | || test ! -s conftest.err' |
5749 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5750 | (eval $ac_try) 2>&5 |
5155 | (eval $ac_try) 2>&5 |
5751 | ac_status=$? |
5156 | ac_status=$? |
5752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5753 | (exit $ac_status); }; } && |
5158 | (exit $ac_status); }; } && |
… | |
… | |
5851 | grep -v '^ *+' conftest.er1 >conftest.err |
5256 | grep -v '^ *+' conftest.er1 >conftest.err |
5852 | rm -f conftest.er1 |
5257 | rm -f conftest.er1 |
5853 | cat conftest.err >&5 |
5258 | cat conftest.err >&5 |
5854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5855 | (exit $ac_status); } && |
5260 | (exit $ac_status); } && |
5856 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5261 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5262 | || test ! -s conftest.err' |
5857 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5263 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5858 | (eval $ac_try) 2>&5 |
5264 | (eval $ac_try) 2>&5 |
5859 | ac_status=$? |
5265 | ac_status=$? |
5860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5861 | (exit $ac_status); }; } && |
5267 | (exit $ac_status); }; } && |
… | |
… | |
5915 | grep -v '^ *+' conftest.er1 >conftest.err |
5321 | grep -v '^ *+' conftest.er1 >conftest.err |
5916 | rm -f conftest.er1 |
5322 | rm -f conftest.er1 |
5917 | cat conftest.err >&5 |
5323 | cat conftest.err >&5 |
5918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5919 | (exit $ac_status); } && |
5325 | (exit $ac_status); } && |
5920 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5326 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5327 | || test ! -s conftest.err' |
5921 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5328 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5922 | (eval $ac_try) 2>&5 |
5329 | (eval $ac_try) 2>&5 |
5923 | ac_status=$? |
5330 | ac_status=$? |
5924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5925 | (exit $ac_status); }; } && |
5332 | (exit $ac_status); }; } && |
… | |
… | |
5983 | grep -v '^ *+' conftest.er1 >conftest.err |
5390 | grep -v '^ *+' conftest.er1 >conftest.err |
5984 | rm -f conftest.er1 |
5391 | rm -f conftest.er1 |
5985 | cat conftest.err >&5 |
5392 | cat conftest.err >&5 |
5986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5393 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5987 | (exit $ac_status); } && |
5394 | (exit $ac_status); } && |
5988 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5395 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5396 | || test ! -s conftest.err' |
5989 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5397 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5990 | (eval $ac_try) 2>&5 |
5398 | (eval $ac_try) 2>&5 |
5991 | ac_status=$? |
5399 | ac_status=$? |
5992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5993 | (exit $ac_status); }; } && |
5401 | (exit $ac_status); }; } && |
… | |
… | |
6087 | grep -v '^ *+' conftest.er1 >conftest.err |
5495 | grep -v '^ *+' conftest.er1 >conftest.err |
6088 | rm -f conftest.er1 |
5496 | rm -f conftest.er1 |
6089 | cat conftest.err >&5 |
5497 | cat conftest.err >&5 |
6090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6091 | (exit $ac_status); } && |
5499 | (exit $ac_status); } && |
6092 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5500 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5501 | || test ! -s conftest.err' |
6093 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5502 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6094 | (eval $ac_try) 2>&5 |
5503 | (eval $ac_try) 2>&5 |
6095 | ac_status=$? |
5504 | ac_status=$? |
6096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6097 | (exit $ac_status); }; } && |
5506 | (exit $ac_status); }; } && |
… | |
… | |
6151 | grep -v '^ *+' conftest.er1 >conftest.err |
5560 | grep -v '^ *+' conftest.er1 >conftest.err |
6152 | rm -f conftest.er1 |
5561 | rm -f conftest.er1 |
6153 | cat conftest.err >&5 |
5562 | cat conftest.err >&5 |
6154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6155 | (exit $ac_status); } && |
5564 | (exit $ac_status); } && |
6156 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5565 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5566 | || test ! -s conftest.err' |
6157 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6158 | (eval $ac_try) 2>&5 |
5568 | (eval $ac_try) 2>&5 |
6159 | ac_status=$? |
5569 | ac_status=$? |
6160 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6161 | (exit $ac_status); }; } && |
5571 | (exit $ac_status); }; } && |
… | |
… | |
6248 | grep -v '^ *+' conftest.er1 >conftest.err |
5658 | grep -v '^ *+' conftest.er1 >conftest.err |
6249 | rm -f conftest.er1 |
5659 | rm -f conftest.er1 |
6250 | cat conftest.err >&5 |
5660 | cat conftest.err >&5 |
6251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6252 | (exit $ac_status); } && |
5662 | (exit $ac_status); } && |
6253 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5663 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5664 | || test ! -s conftest.err' |
6254 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6255 | (eval $ac_try) 2>&5 |
5666 | (eval $ac_try) 2>&5 |
6256 | ac_status=$? |
5667 | ac_status=$? |
6257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6258 | (exit $ac_status); }; } && |
5669 | (exit $ac_status); }; } && |
… | |
… | |
6312 | grep -v '^ *+' conftest.er1 >conftest.err |
5723 | grep -v '^ *+' conftest.er1 >conftest.err |
6313 | rm -f conftest.er1 |
5724 | rm -f conftest.er1 |
6314 | cat conftest.err >&5 |
5725 | cat conftest.err >&5 |
6315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6316 | (exit $ac_status); } && |
5727 | (exit $ac_status); } && |
6317 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5728 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5729 | || test ! -s conftest.err' |
6318 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6319 | (eval $ac_try) 2>&5 |
5731 | (eval $ac_try) 2>&5 |
6320 | ac_status=$? |
5732 | ac_status=$? |
6321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6322 | (exit $ac_status); }; } && |
5734 | (exit $ac_status); }; } && |
… | |
… | |
6409 | grep -v '^ *+' conftest.er1 >conftest.err |
5821 | grep -v '^ *+' conftest.er1 >conftest.err |
6410 | rm -f conftest.er1 |
5822 | rm -f conftest.er1 |
6411 | cat conftest.err >&5 |
5823 | cat conftest.err >&5 |
6412 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6413 | (exit $ac_status); } && |
5825 | (exit $ac_status); } && |
6414 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5826 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5827 | || test ! -s conftest.err' |
6415 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6416 | (eval $ac_try) 2>&5 |
5829 | (eval $ac_try) 2>&5 |
6417 | ac_status=$? |
5830 | ac_status=$? |
6418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6419 | (exit $ac_status); }; } && |
5832 | (exit $ac_status); }; } && |
… | |
… | |
6473 | grep -v '^ *+' conftest.er1 >conftest.err |
5886 | grep -v '^ *+' conftest.er1 >conftest.err |
6474 | rm -f conftest.er1 |
5887 | rm -f conftest.er1 |
6475 | cat conftest.err >&5 |
5888 | cat conftest.err >&5 |
6476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6477 | (exit $ac_status); } && |
5890 | (exit $ac_status); } && |
6478 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5891 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5892 | || test ! -s conftest.err' |
6479 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5893 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6480 | (eval $ac_try) 2>&5 |
5894 | (eval $ac_try) 2>&5 |
6481 | ac_status=$? |
5895 | ac_status=$? |
6482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6483 | (exit $ac_status); }; } && |
5897 | (exit $ac_status); }; } && |
… | |
… | |
6552 | grep -v '^ *+' conftest.er1 >conftest.err |
5966 | grep -v '^ *+' conftest.er1 >conftest.err |
6553 | rm -f conftest.er1 |
5967 | rm -f conftest.er1 |
6554 | cat conftest.err >&5 |
5968 | cat conftest.err >&5 |
6555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6556 | (exit $ac_status); } && |
5970 | (exit $ac_status); } && |
6557 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5971 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5972 | || test ! -s conftest.err' |
6558 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5973 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6559 | (eval $ac_try) 2>&5 |
5974 | (eval $ac_try) 2>&5 |
6560 | ac_status=$? |
5975 | ac_status=$? |
6561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6562 | (exit $ac_status); }; } && |
5977 | (exit $ac_status); }; } && |
… | |
… | |
6587 | |
6002 | |
6588 | fi |
6003 | fi |
6589 | |
6004 | |
6590 | |
6005 | |
6591 | |
6006 | |
|
|
6007 | LIBAFTERIMAGE_CFLAGS= |
|
|
6008 | AFTERIMAGE_LIBS= |
|
|
6009 | have_afterimage= |
|
|
6010 | |
6592 | if test x$support_xpm = xyes; then |
6011 | if test x$support_afterimage = xyes; then |
|
|
6012 | support_afterimage=no |
|
|
6013 | |
|
|
6014 | if test "x$afterimage_config" = "x" ; then |
|
|
6015 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6016 | set dummy afterimage-config; ac_word=$2 |
|
|
6017 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6018 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
6019 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
|
|
6020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6021 | else |
|
|
6022 | case $afterimage_config in |
|
|
6023 | [\\/]* | ?:[\\/]*) |
|
|
6024 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6025 | ;; |
|
|
6026 | *) |
|
|
6027 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6028 | for as_dir in $PATH |
|
|
6029 | do |
|
|
6030 | IFS=$as_save_IFS |
|
|
6031 | test -z "$as_dir" && as_dir=. |
|
|
6032 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6033 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
6034 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6035 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6036 | break 2 |
|
|
6037 | fi |
|
|
6038 | done |
|
|
6039 | done |
|
|
6040 | |
|
|
6041 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6042 | ;; |
|
|
6043 | esac |
|
|
6044 | fi |
|
|
6045 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6046 | |
|
|
6047 | if test -n "$afterimage_config"; then |
|
|
6048 | echo "$as_me:$LINENO: result: $afterimage_config" >&5 |
|
|
6049 | echo "${ECHO_T}$afterimage_config" >&6 |
|
|
6050 | else |
|
|
6051 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6052 | echo "${ECHO_T}no" >&6 |
|
|
6053 | fi |
|
|
6054 | |
|
|
6055 | fi |
|
|
6056 | |
|
|
6057 | echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
|
|
6058 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6 |
|
|
6059 | if $afterimage_config --version >/dev/null 2>&1 ; then |
|
|
6060 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6061 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6062 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
|
|
6063 | support_afterimage=yes |
|
|
6064 | fi |
|
|
6065 | fi |
|
|
6066 | |
|
|
6067 | if test "x$support_afterimage" = "xyes"; then |
|
|
6068 | echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6069 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6 |
|
|
6070 | else |
|
|
6071 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6072 | echo "${ECHO_T}no" >&6 |
|
|
6073 | fi |
|
|
6074 | fi |
|
|
6075 | |
|
|
6076 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
6593 | |
6077 | |
6594 | |
6078 | |
6595 | |
6079 | |
6596 | # Initialize some more variables set by options. |
6080 | # Initialize some more variables set by options. |
6597 | # The variables have the same names as the options, with |
6081 | # The variables have the same names as the options, with |
… | |
… | |
6768 | grep -v '^ *+' conftest.er1 >conftest.err |
6252 | grep -v '^ *+' conftest.er1 >conftest.err |
6769 | rm -f conftest.er1 |
6253 | rm -f conftest.er1 |
6770 | cat conftest.err >&5 |
6254 | cat conftest.err >&5 |
6771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6772 | (exit $ac_status); } && |
6256 | (exit $ac_status); } && |
6773 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6257 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6258 | || test ! -s conftest.err' |
6774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6775 | (eval $ac_try) 2>&5 |
6260 | (eval $ac_try) 2>&5 |
6776 | ac_status=$? |
6261 | ac_status=$? |
6777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6778 | (exit $ac_status); }; } && |
6263 | (exit $ac_status); }; } && |
… | |
… | |
6982 | grep -v '^ *+' conftest.er1 >conftest.err |
6467 | grep -v '^ *+' conftest.er1 >conftest.err |
6983 | rm -f conftest.er1 |
6468 | rm -f conftest.er1 |
6984 | cat conftest.err >&5 |
6469 | cat conftest.err >&5 |
6985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6986 | (exit $ac_status); } && |
6471 | (exit $ac_status); } && |
6987 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6472 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6473 | || test ! -s conftest.err' |
6988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6474 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6989 | (eval $ac_try) 2>&5 |
6475 | (eval $ac_try) 2>&5 |
6990 | ac_status=$? |
6476 | ac_status=$? |
6991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6992 | (exit $ac_status); }; } && |
6478 | (exit $ac_status); }; } && |
… | |
… | |
7046 | grep -v '^ *+' conftest.er1 >conftest.err |
6532 | grep -v '^ *+' conftest.er1 >conftest.err |
7047 | rm -f conftest.er1 |
6533 | rm -f conftest.er1 |
7048 | cat conftest.err >&5 |
6534 | cat conftest.err >&5 |
7049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7050 | (exit $ac_status); } && |
6536 | (exit $ac_status); } && |
7051 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6537 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6538 | || test ! -s conftest.err' |
7052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7053 | (eval $ac_try) 2>&5 |
6540 | (eval $ac_try) 2>&5 |
7054 | ac_status=$? |
6541 | ac_status=$? |
7055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7056 | (exit $ac_status); }; } && |
6543 | (exit $ac_status); }; } && |
… | |
… | |
7216 | grep -v '^ *+' conftest.er1 >conftest.err |
6703 | grep -v '^ *+' conftest.er1 >conftest.err |
7217 | rm -f conftest.er1 |
6704 | rm -f conftest.er1 |
7218 | cat conftest.err >&5 |
6705 | cat conftest.err >&5 |
7219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7220 | (exit $ac_status); } && |
6707 | (exit $ac_status); } && |
7221 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6708 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6709 | || test ! -s conftest.err' |
7222 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7223 | (eval $ac_try) 2>&5 |
6711 | (eval $ac_try) 2>&5 |
7224 | ac_status=$? |
6712 | ac_status=$? |
7225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7226 | (exit $ac_status); }; } && |
6714 | (exit $ac_status); }; } && |
… | |
… | |
7266 | |
6754 | |
7267 | |
6755 | |
7268 | |
6756 | |
7269 | |
6757 | |
7270 | |
6758 | |
7271 | |
|
|
7272 | |
|
|
7273 | |
|
|
7274 | |
|
|
7275 | |
|
|
7276 | |
|
|
7277 | |
|
|
7278 | |
|
|
7279 | |
|
|
7280 | for ac_header in \ |
6759 | for ac_header in \ |
7281 | assert.h \ |
6760 | assert.h \ |
7282 | fcntl.h \ |
6761 | fcntl.h \ |
7283 | grp.h \ |
|
|
7284 | libc.h \ |
|
|
7285 | lastlog.h \ |
|
|
7286 | stdarg.h \ |
6762 | stdarg.h \ |
7287 | stdlib.h \ |
6763 | stdlib.h \ |
7288 | string.h \ |
6764 | string.h \ |
7289 | termios.h \ |
6765 | termios.h \ |
7290 | unistd.h \ |
6766 | unistd.h \ |
7291 | sys/byteorder.h \ |
6767 | sys/byteorder.h \ |
7292 | sys/ioctl.h \ |
6768 | sys/ioctl.h \ |
7293 | sys/select.h \ |
6769 | sys/select.h \ |
7294 | sys/sockio.h \ |
6770 | sys/sockio.h \ |
7295 | sys/strredir.h \ |
6771 | sys/strredir.h \ |
7296 | sys/stropts.h \ |
|
|
7297 | sys/time.h \ |
6772 | sys/time.h \ |
7298 | utmp.h \ |
6773 | stdint.h \ |
7299 | utmpx.h \ |
6774 | wchar.h \ |
7300 | stdint.h \ |
6775 | cwchar \ |
7301 | pty.h \ |
6776 | clocale \ |
7302 | util.h \ |
|
|
7303 | libutil.h \ |
|
|
7304 | wchar.h \ |
|
|
7305 | cwchar \ |
|
|
7306 | clocale \ |
|
|
7307 | |
6777 | |
7308 | do |
6778 | do |
7309 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6779 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7310 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6780 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7311 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6781 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7335 | grep -v '^ *+' conftest.er1 >conftest.err |
6805 | grep -v '^ *+' conftest.er1 >conftest.err |
7336 | rm -f conftest.er1 |
6806 | rm -f conftest.er1 |
7337 | cat conftest.err >&5 |
6807 | cat conftest.err >&5 |
7338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7339 | (exit $ac_status); } && |
6809 | (exit $ac_status); } && |
7340 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6810 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6811 | || test ! -s conftest.err' |
7341 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7342 | (eval $ac_try) 2>&5 |
6813 | (eval $ac_try) 2>&5 |
7343 | ac_status=$? |
6814 | ac_status=$? |
7344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7345 | (exit $ac_status); }; } && |
6816 | (exit $ac_status); }; } && |
… | |
… | |
7484 | grep -v '^ *+' conftest.er1 >conftest.err |
6955 | grep -v '^ *+' conftest.er1 >conftest.err |
7485 | rm -f conftest.er1 |
6956 | rm -f conftest.er1 |
7486 | cat conftest.err >&5 |
6957 | cat conftest.err >&5 |
7487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7488 | (exit $ac_status); } && |
6959 | (exit $ac_status); } && |
7489 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6960 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6961 | || test ! -s conftest.err' |
7490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7491 | (eval $ac_try) 2>&5 |
6963 | (eval $ac_try) 2>&5 |
7492 | ac_status=$? |
6964 | ac_status=$? |
7493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7494 | (exit $ac_status); }; } && |
6966 | (exit $ac_status); }; } && |
… | |
… | |
7549 | grep -v '^ *+' conftest.er1 >conftest.err |
7021 | grep -v '^ *+' conftest.er1 >conftest.err |
7550 | rm -f conftest.er1 |
7022 | rm -f conftest.er1 |
7551 | cat conftest.err >&5 |
7023 | cat conftest.err >&5 |
7552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7553 | (exit $ac_status); } && |
7025 | (exit $ac_status); } && |
7554 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7026 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7027 | || test ! -s conftest.err' |
7555 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7028 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7556 | (eval $ac_try) 2>&5 |
7029 | (eval $ac_try) 2>&5 |
7557 | ac_status=$? |
7030 | ac_status=$? |
7558 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7559 | (exit $ac_status); }; } && |
7032 | (exit $ac_status); }; } && |
… | |
… | |
7572 | fi |
7045 | fi |
7573 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7046 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7574 | fi |
7047 | fi |
7575 | echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7048 | echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7576 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 |
7049 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 |
7577 | |
|
|
7578 | if test -n "$GCC"; then |
|
|
7579 | LDARG="-Wl," |
|
|
7580 | else |
|
|
7581 | LDARG="" |
|
|
7582 | fi |
|
|
7583 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g' |
|
|
7584 | |
|
|
7585 | ac_save_CFLAGS=$CFLAGS |
|
|
7586 | ac_save_LIBS=$LIBS |
|
|
7587 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
7588 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7589 | echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5 |
|
|
7590 | echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6 |
|
|
7591 | if test "${rxvt_cv_rpath+set}" = set; then |
|
|
7592 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7593 | else |
|
|
7594 | if test "$cross_compiling" = yes; then |
|
|
7595 | { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5 |
|
|
7596 | echo "$as_me: WARNING: You may need to check the LIBS line" >&2;} |
|
|
7597 | else |
|
|
7598 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7599 | /* confdefs.h. */ |
|
|
7600 | _ACEOF |
|
|
7601 | cat confdefs.h >>conftest.$ac_ext |
|
|
7602 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7603 | /* end confdefs.h. */ |
|
|
7604 | |
|
|
7605 | main() |
|
|
7606 | { |
|
|
7607 | exit(0); |
|
|
7608 | (void) XOpenDisplay("foobar"); |
|
|
7609 | } |
|
|
7610 | _ACEOF |
|
|
7611 | rm -f conftest$ac_exeext |
|
|
7612 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7613 | (eval $ac_link) 2>&5 |
|
|
7614 | ac_status=$? |
|
|
7615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7616 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7617 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7618 | (eval $ac_try) 2>&5 |
|
|
7619 | ac_status=$? |
|
|
7620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7621 | (exit $ac_status); }; }; then |
|
|
7622 | rxvt_cv_rpath=yes |
|
|
7623 | else |
|
|
7624 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7625 | echo "$as_me: failed program was:" >&5 |
|
|
7626 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7627 | |
|
|
7628 | ( exit $ac_status ) |
|
|
7629 | rxvt_cv_rpath=no |
|
|
7630 | fi |
|
|
7631 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7632 | fi |
|
|
7633 | fi |
|
|
7634 | echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5 |
|
|
7635 | echo "${ECHO_T}$rxvt_cv_rpath" >&6 |
|
|
7636 | if test x$rxvt_cv_rpath != xyes; then |
|
|
7637 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
|
|
7638 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7639 | echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5 |
|
|
7640 | echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6 |
|
|
7641 | if test "${rxvt_cv_R+set}" = set; then |
|
|
7642 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7643 | else |
|
|
7644 | if test "$cross_compiling" = yes; then |
|
|
7645 | rxvt_cv_R=no |
|
|
7646 | else |
|
|
7647 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7648 | /* confdefs.h. */ |
|
|
7649 | _ACEOF |
|
|
7650 | cat confdefs.h >>conftest.$ac_ext |
|
|
7651 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7652 | /* end confdefs.h. */ |
|
|
7653 | |
|
|
7654 | main() |
|
|
7655 | { |
|
|
7656 | exit(0); |
|
|
7657 | (void) XOpenDisplay("foobar"); |
|
|
7658 | } |
|
|
7659 | _ACEOF |
|
|
7660 | rm -f conftest$ac_exeext |
|
|
7661 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7662 | (eval $ac_link) 2>&5 |
|
|
7663 | ac_status=$? |
|
|
7664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7665 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7666 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7667 | (eval $ac_try) 2>&5 |
|
|
7668 | ac_status=$? |
|
|
7669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7670 | (exit $ac_status); }; }; then |
|
|
7671 | rxvt_cv_R=yes |
|
|
7672 | else |
|
|
7673 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7674 | echo "$as_me: failed program was:" >&5 |
|
|
7675 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7676 | |
|
|
7677 | ( exit $ac_status ) |
|
|
7678 | rxvt_cv_R=no |
|
|
7679 | fi |
|
|
7680 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7681 | fi |
|
|
7682 | fi |
|
|
7683 | echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5 |
|
|
7684 | echo "${ECHO_T}$rxvt_cv_R" >&6 |
|
|
7685 | if test x$rxvt_cv_R != xyes; then |
|
|
7686 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
7687 | fi |
|
|
7688 | fi |
|
|
7689 | |
7050 | |
7690 | echo "$as_me:$LINENO: checking for XPointer" >&5 |
7051 | echo "$as_me:$LINENO: checking for XPointer" >&5 |
7691 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 |
7052 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 |
7692 | if test "${rxvt_cv_xpointer+set}" = set; then |
7053 | if test "${rxvt_cv_xpointer+set}" = set; then |
7693 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7054 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7714 | grep -v '^ *+' conftest.er1 >conftest.err |
7075 | grep -v '^ *+' conftest.er1 >conftest.err |
7715 | rm -f conftest.er1 |
7076 | rm -f conftest.er1 |
7716 | cat conftest.err >&5 |
7077 | cat conftest.err >&5 |
7717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7078 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7718 | (exit $ac_status); } && |
7079 | (exit $ac_status); } && |
7719 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7080 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7081 | || test ! -s conftest.err' |
7720 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7721 | (eval $ac_try) 2>&5 |
7083 | (eval $ac_try) 2>&5 |
7722 | ac_status=$? |
7084 | ac_status=$? |
7723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7724 | (exit $ac_status); }; } && |
7086 | (exit $ac_status); }; } && |
… | |
… | |
7744 | cat >>confdefs.h <<\_ACEOF |
7106 | cat >>confdefs.h <<\_ACEOF |
7745 | #define HAVE_XPOINTER 1 |
7107 | #define HAVE_XPOINTER 1 |
7746 | _ACEOF |
7108 | _ACEOF |
7747 | |
7109 | |
7748 | fi |
7110 | fi |
7749 | LIBS=$ac_save_LIBS |
|
|
7750 | CFLAGS=$ac_save_CFLAGS |
|
|
7751 | |
7111 | |
|
|
7112 | echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
7113 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 |
|
|
7114 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
|
|
7115 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7116 | else |
|
|
7117 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7118 | /* confdefs.h. */ |
|
|
7119 | _ACEOF |
|
|
7120 | cat confdefs.h >>conftest.$ac_ext |
|
|
7121 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7122 | /* end confdefs.h. */ |
|
|
7123 | |
|
|
7124 | #define XLIB_ILLEGAL_ACCESS |
|
|
7125 | #include <X11/Xlib.h> |
|
|
7126 | |
|
|
7127 | int |
|
|
7128 | main () |
|
|
7129 | { |
|
|
7130 | |
|
|
7131 | Display *dpy; |
|
|
7132 | dpy->xdefaults = (char *)0; |
|
|
7133 | |
|
|
7134 | ; |
|
|
7135 | return 0; |
|
|
7136 | } |
|
|
7137 | _ACEOF |
|
|
7138 | rm -f conftest.$ac_objext |
|
|
7139 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7140 | (eval $ac_compile) 2>conftest.er1 |
|
|
7141 | ac_status=$? |
|
|
7142 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7143 | rm -f conftest.er1 |
|
|
7144 | cat conftest.err >&5 |
|
|
7145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7146 | (exit $ac_status); } && |
|
|
7147 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7148 | || test ! -s conftest.err' |
|
|
7149 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7150 | (eval $ac_try) 2>&5 |
|
|
7151 | ac_status=$? |
|
|
7152 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7153 | (exit $ac_status); }; } && |
|
|
7154 | { ac_try='test -s conftest.$ac_objext' |
|
|
7155 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7156 | (eval $ac_try) 2>&5 |
|
|
7157 | ac_status=$? |
|
|
7158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7159 | (exit $ac_status); }; }; then |
|
|
7160 | rxvt_xlib_illegal_access=yes |
|
|
7161 | else |
|
|
7162 | echo "$as_me: failed program was:" >&5 |
|
|
7163 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7164 | |
|
|
7165 | rxvt_xlib_illegal_access=no |
|
|
7166 | |
|
|
7167 | fi |
|
|
7168 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7169 | fi |
|
|
7170 | echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
|
|
7171 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6 |
|
|
7172 | if test x$rxvt_xlib_illegal_access = xyes; then |
|
|
7173 | |
|
|
7174 | cat >>confdefs.h <<\_ACEOF |
|
|
7175 | #define XLIB_ILLEGAL_ACCESS 1 |
|
|
7176 | _ACEOF |
|
|
7177 | |
|
|
7178 | fi |
7752 | |
7179 | |
7753 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7180 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7754 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7181 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7755 | if test "${ac_cv_c_const+set}" = set; then |
7182 | if test "${ac_cv_c_const+set}" = set; then |
7756 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7183 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7823 | grep -v '^ *+' conftest.er1 >conftest.err |
7250 | grep -v '^ *+' conftest.er1 >conftest.err |
7824 | rm -f conftest.er1 |
7251 | rm -f conftest.er1 |
7825 | cat conftest.err >&5 |
7252 | cat conftest.err >&5 |
7826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7827 | (exit $ac_status); } && |
7254 | (exit $ac_status); } && |
7828 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7255 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7256 | || test ! -s conftest.err' |
7829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7257 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7830 | (eval $ac_try) 2>&5 |
7258 | (eval $ac_try) 2>&5 |
7831 | ac_status=$? |
7259 | ac_status=$? |
7832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7833 | (exit $ac_status); }; } && |
7261 | (exit $ac_status); }; } && |
… | |
… | |
7883 | grep -v '^ *+' conftest.er1 >conftest.err |
7311 | grep -v '^ *+' conftest.er1 >conftest.err |
7884 | rm -f conftest.er1 |
7312 | rm -f conftest.er1 |
7885 | cat conftest.err >&5 |
7313 | cat conftest.err >&5 |
7886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7887 | (exit $ac_status); } && |
7315 | (exit $ac_status); } && |
7888 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7316 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7317 | || test ! -s conftest.err' |
7889 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7318 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7890 | (eval $ac_try) 2>&5 |
7319 | (eval $ac_try) 2>&5 |
7891 | ac_status=$? |
7320 | ac_status=$? |
7892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7893 | (exit $ac_status); }; } && |
7322 | (exit $ac_status); }; } && |
… | |
… | |
7958 | grep -v '^ *+' conftest.er1 >conftest.err |
7387 | grep -v '^ *+' conftest.er1 >conftest.err |
7959 | rm -f conftest.er1 |
7388 | rm -f conftest.er1 |
7960 | cat conftest.err >&5 |
7389 | cat conftest.err >&5 |
7961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7962 | (exit $ac_status); } && |
7391 | (exit $ac_status); } && |
7963 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7392 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7393 | || test ! -s conftest.err' |
7964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7394 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7965 | (eval $ac_try) 2>&5 |
7395 | (eval $ac_try) 2>&5 |
7966 | ac_status=$? |
7396 | ac_status=$? |
7967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7968 | (exit $ac_status); }; } && |
7398 | (exit $ac_status); }; } && |
… | |
… | |
8023 | grep -v '^ *+' conftest.er1 >conftest.err |
7453 | grep -v '^ *+' conftest.er1 >conftest.err |
8024 | rm -f conftest.er1 |
7454 | rm -f conftest.er1 |
8025 | cat conftest.err >&5 |
7455 | cat conftest.err >&5 |
8026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8027 | (exit $ac_status); } && |
7457 | (exit $ac_status); } && |
8028 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7458 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7459 | || test ! -s conftest.err' |
8029 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7460 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8030 | (eval $ac_try) 2>&5 |
7461 | (eval $ac_try) 2>&5 |
8031 | ac_status=$? |
7462 | ac_status=$? |
8032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8033 | (exit $ac_status); }; } && |
7464 | (exit $ac_status); }; } && |
… | |
… | |
8127 | grep -v '^ *+' conftest.er1 >conftest.err |
7558 | grep -v '^ *+' conftest.er1 >conftest.err |
8128 | rm -f conftest.er1 |
7559 | rm -f conftest.er1 |
8129 | cat conftest.err >&5 |
7560 | cat conftest.err >&5 |
8130 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8131 | (exit $ac_status); } && |
7562 | (exit $ac_status); } && |
8132 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7563 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7564 | || test ! -s conftest.err' |
8133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7565 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8134 | (eval $ac_try) 2>&5 |
7566 | (eval $ac_try) 2>&5 |
8135 | ac_status=$? |
7567 | ac_status=$? |
8136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8137 | (exit $ac_status); }; } && |
7569 | (exit $ac_status); }; } && |
… | |
… | |
8189 | grep -v '^ *+' conftest.er1 >conftest.err |
7621 | grep -v '^ *+' conftest.er1 >conftest.err |
8190 | rm -f conftest.er1 |
7622 | rm -f conftest.er1 |
8191 | cat conftest.err >&5 |
7623 | cat conftest.err >&5 |
8192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8193 | (exit $ac_status); } && |
7625 | (exit $ac_status); } && |
8194 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7626 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7627 | || test ! -s conftest.err' |
8195 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7628 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8196 | (eval $ac_try) 2>&5 |
7629 | (eval $ac_try) 2>&5 |
8197 | ac_status=$? |
7630 | ac_status=$? |
8198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8199 | (exit $ac_status); }; } && |
7632 | (exit $ac_status); }; } && |
… | |
… | |
8229 | grep -v '^ *+' conftest.er1 >conftest.err |
7662 | grep -v '^ *+' conftest.er1 >conftest.err |
8230 | rm -f conftest.er1 |
7663 | rm -f conftest.er1 |
8231 | cat conftest.err >&5 |
7664 | cat conftest.err >&5 |
8232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8233 | (exit $ac_status); } && |
7666 | (exit $ac_status); } && |
8234 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7667 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7668 | || test ! -s conftest.err' |
8235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7669 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8236 | (eval $ac_try) 2>&5 |
7670 | (eval $ac_try) 2>&5 |
8237 | ac_status=$? |
7671 | ac_status=$? |
8238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8239 | (exit $ac_status); }; } && |
7673 | (exit $ac_status); }; } && |
… | |
… | |
8285 | grep -v '^ *+' conftest.er1 >conftest.err |
7719 | grep -v '^ *+' conftest.er1 >conftest.err |
8286 | rm -f conftest.er1 |
7720 | rm -f conftest.er1 |
8287 | cat conftest.err >&5 |
7721 | cat conftest.err >&5 |
8288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8289 | (exit $ac_status); } && |
7723 | (exit $ac_status); } && |
8290 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7724 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7725 | || test ! -s conftest.err' |
8291 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7726 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8292 | (eval $ac_try) 2>&5 |
7727 | (eval $ac_try) 2>&5 |
8293 | ac_status=$? |
7728 | ac_status=$? |
8294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8295 | (exit $ac_status); }; } && |
7730 | (exit $ac_status); }; } && |
… | |
… | |
8325 | grep -v '^ *+' conftest.er1 >conftest.err |
7760 | grep -v '^ *+' conftest.er1 >conftest.err |
8326 | rm -f conftest.er1 |
7761 | rm -f conftest.er1 |
8327 | cat conftest.err >&5 |
7762 | cat conftest.err >&5 |
8328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8329 | (exit $ac_status); } && |
7764 | (exit $ac_status); } && |
8330 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7765 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7766 | || test ! -s conftest.err' |
8331 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7767 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8332 | (eval $ac_try) 2>&5 |
7768 | (eval $ac_try) 2>&5 |
8333 | ac_status=$? |
7769 | ac_status=$? |
8334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8335 | (exit $ac_status); }; } && |
7771 | (exit $ac_status); }; } && |
… | |
… | |
8389 | grep -v '^ *+' conftest.er1 >conftest.err |
7825 | grep -v '^ *+' conftest.er1 >conftest.err |
8390 | rm -f conftest.er1 |
7826 | rm -f conftest.er1 |
8391 | cat conftest.err >&5 |
7827 | cat conftest.err >&5 |
8392 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8393 | (exit $ac_status); } && |
7829 | (exit $ac_status); } && |
8394 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7830 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7831 | || test ! -s conftest.err' |
8395 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7832 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8396 | (eval $ac_try) 2>&5 |
7833 | (eval $ac_try) 2>&5 |
8397 | ac_status=$? |
7834 | ac_status=$? |
8398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8399 | (exit $ac_status); }; } && |
7836 | (exit $ac_status); }; } && |
… | |
… | |
8420 | See \`config.log' for more details." >&2;} |
7857 | See \`config.log' for more details." >&2;} |
8421 | { (exit 1); exit 1; }; } ;; |
7858 | { (exit 1); exit 1; }; } ;; |
8422 | esac |
7859 | esac |
8423 | else |
7860 | else |
8424 | if test "$cross_compiling" = yes; then |
7861 | if test "$cross_compiling" = yes; then |
8425 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
7862 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8426 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
7863 | See \`config.log' for more details." >&5 |
|
|
7864 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
7865 | See \`config.log' for more details." >&2;} |
8427 | { (exit 1); exit 1; }; } |
7866 | { (exit 1); exit 1; }; } |
8428 | else |
7867 | else |
8429 | cat >conftest.$ac_ext <<_ACEOF |
7868 | cat >conftest.$ac_ext <<_ACEOF |
8430 | /* confdefs.h. */ |
7869 | /* confdefs.h. */ |
8431 | _ACEOF |
7870 | _ACEOF |
… | |
… | |
8533 | grep -v '^ *+' conftest.er1 >conftest.err |
7972 | grep -v '^ *+' conftest.er1 >conftest.err |
8534 | rm -f conftest.er1 |
7973 | rm -f conftest.er1 |
8535 | cat conftest.err >&5 |
7974 | cat conftest.err >&5 |
8536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8537 | (exit $ac_status); } && |
7976 | (exit $ac_status); } && |
8538 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7977 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7978 | || test ! -s conftest.err' |
8539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7979 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8540 | (eval $ac_try) 2>&5 |
7980 | (eval $ac_try) 2>&5 |
8541 | ac_status=$? |
7981 | ac_status=$? |
8542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8543 | (exit $ac_status); }; } && |
7983 | (exit $ac_status); }; } && |
… | |
… | |
8595 | grep -v '^ *+' conftest.er1 >conftest.err |
8035 | grep -v '^ *+' conftest.er1 >conftest.err |
8596 | rm -f conftest.er1 |
8036 | rm -f conftest.er1 |
8597 | cat conftest.err >&5 |
8037 | cat conftest.err >&5 |
8598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8599 | (exit $ac_status); } && |
8039 | (exit $ac_status); } && |
8600 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8040 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8041 | || test ! -s conftest.err' |
8601 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8602 | (eval $ac_try) 2>&5 |
8043 | (eval $ac_try) 2>&5 |
8603 | ac_status=$? |
8044 | ac_status=$? |
8604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8605 | (exit $ac_status); }; } && |
8046 | (exit $ac_status); }; } && |
… | |
… | |
8635 | grep -v '^ *+' conftest.er1 >conftest.err |
8076 | grep -v '^ *+' conftest.er1 >conftest.err |
8636 | rm -f conftest.er1 |
8077 | rm -f conftest.er1 |
8637 | cat conftest.err >&5 |
8078 | cat conftest.err >&5 |
8638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8639 | (exit $ac_status); } && |
8080 | (exit $ac_status); } && |
8640 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8081 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8082 | || test ! -s conftest.err' |
8641 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8083 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8642 | (eval $ac_try) 2>&5 |
8084 | (eval $ac_try) 2>&5 |
8643 | ac_status=$? |
8085 | ac_status=$? |
8644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8645 | (exit $ac_status); }; } && |
8087 | (exit $ac_status); }; } && |
… | |
… | |
8691 | grep -v '^ *+' conftest.er1 >conftest.err |
8133 | grep -v '^ *+' conftest.er1 >conftest.err |
8692 | rm -f conftest.er1 |
8134 | rm -f conftest.er1 |
8693 | cat conftest.err >&5 |
8135 | cat conftest.err >&5 |
8694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8695 | (exit $ac_status); } && |
8137 | (exit $ac_status); } && |
8696 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8138 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8139 | || test ! -s conftest.err' |
8697 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8140 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8698 | (eval $ac_try) 2>&5 |
8141 | (eval $ac_try) 2>&5 |
8699 | ac_status=$? |
8142 | ac_status=$? |
8700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8701 | (exit $ac_status); }; } && |
8144 | (exit $ac_status); }; } && |
… | |
… | |
8731 | grep -v '^ *+' conftest.er1 >conftest.err |
8174 | grep -v '^ *+' conftest.er1 >conftest.err |
8732 | rm -f conftest.er1 |
8175 | rm -f conftest.er1 |
8733 | cat conftest.err >&5 |
8176 | cat conftest.err >&5 |
8734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8735 | (exit $ac_status); } && |
8178 | (exit $ac_status); } && |
8736 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8179 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8180 | || test ! -s conftest.err' |
8737 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8181 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8738 | (eval $ac_try) 2>&5 |
8182 | (eval $ac_try) 2>&5 |
8739 | ac_status=$? |
8183 | ac_status=$? |
8740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8184 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8741 | (exit $ac_status); }; } && |
8185 | (exit $ac_status); }; } && |
… | |
… | |
8795 | grep -v '^ *+' conftest.er1 >conftest.err |
8239 | grep -v '^ *+' conftest.er1 >conftest.err |
8796 | rm -f conftest.er1 |
8240 | rm -f conftest.er1 |
8797 | cat conftest.err >&5 |
8241 | cat conftest.err >&5 |
8798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8799 | (exit $ac_status); } && |
8243 | (exit $ac_status); } && |
8800 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8244 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8245 | || test ! -s conftest.err' |
8801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8246 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8802 | (eval $ac_try) 2>&5 |
8247 | (eval $ac_try) 2>&5 |
8803 | ac_status=$? |
8248 | ac_status=$? |
8804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8805 | (exit $ac_status); }; } && |
8250 | (exit $ac_status); }; } && |
… | |
… | |
8826 | See \`config.log' for more details." >&2;} |
8271 | See \`config.log' for more details." >&2;} |
8827 | { (exit 1); exit 1; }; } ;; |
8272 | { (exit 1); exit 1; }; } ;; |
8828 | esac |
8273 | esac |
8829 | else |
8274 | else |
8830 | if test "$cross_compiling" = yes; then |
8275 | if test "$cross_compiling" = yes; then |
8831 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8276 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8832 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8277 | See \`config.log' for more details." >&5 |
|
|
8278 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8279 | See \`config.log' for more details." >&2;} |
8833 | { (exit 1); exit 1; }; } |
8280 | { (exit 1); exit 1; }; } |
8834 | else |
8281 | else |
8835 | cat >conftest.$ac_ext <<_ACEOF |
8282 | cat >conftest.$ac_ext <<_ACEOF |
8836 | /* confdefs.h. */ |
8283 | /* confdefs.h. */ |
8837 | _ACEOF |
8284 | _ACEOF |
… | |
… | |
8939 | grep -v '^ *+' conftest.er1 >conftest.err |
8386 | grep -v '^ *+' conftest.er1 >conftest.err |
8940 | rm -f conftest.er1 |
8387 | rm -f conftest.er1 |
8941 | cat conftest.err >&5 |
8388 | cat conftest.err >&5 |
8942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8943 | (exit $ac_status); } && |
8390 | (exit $ac_status); } && |
8944 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8391 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8392 | || test ! -s conftest.err' |
8945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8393 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8946 | (eval $ac_try) 2>&5 |
8394 | (eval $ac_try) 2>&5 |
8947 | ac_status=$? |
8395 | ac_status=$? |
8948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8949 | (exit $ac_status); }; } && |
8397 | (exit $ac_status); }; } && |
… | |
… | |
9001 | grep -v '^ *+' conftest.er1 >conftest.err |
8449 | grep -v '^ *+' conftest.er1 >conftest.err |
9002 | rm -f conftest.er1 |
8450 | rm -f conftest.er1 |
9003 | cat conftest.err >&5 |
8451 | cat conftest.err >&5 |
9004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9005 | (exit $ac_status); } && |
8453 | (exit $ac_status); } && |
9006 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8454 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8455 | || test ! -s conftest.err' |
9007 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8456 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9008 | (eval $ac_try) 2>&5 |
8457 | (eval $ac_try) 2>&5 |
9009 | ac_status=$? |
8458 | ac_status=$? |
9010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9011 | (exit $ac_status); }; } && |
8460 | (exit $ac_status); }; } && |
… | |
… | |
9041 | grep -v '^ *+' conftest.er1 >conftest.err |
8490 | grep -v '^ *+' conftest.er1 >conftest.err |
9042 | rm -f conftest.er1 |
8491 | rm -f conftest.er1 |
9043 | cat conftest.err >&5 |
8492 | cat conftest.err >&5 |
9044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9045 | (exit $ac_status); } && |
8494 | (exit $ac_status); } && |
9046 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8495 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8496 | || test ! -s conftest.err' |
9047 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9048 | (eval $ac_try) 2>&5 |
8498 | (eval $ac_try) 2>&5 |
9049 | ac_status=$? |
8499 | ac_status=$? |
9050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9051 | (exit $ac_status); }; } && |
8501 | (exit $ac_status); }; } && |
… | |
… | |
9097 | grep -v '^ *+' conftest.er1 >conftest.err |
8547 | grep -v '^ *+' conftest.er1 >conftest.err |
9098 | rm -f conftest.er1 |
8548 | rm -f conftest.er1 |
9099 | cat conftest.err >&5 |
8549 | cat conftest.err >&5 |
9100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8550 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9101 | (exit $ac_status); } && |
8551 | (exit $ac_status); } && |
9102 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8552 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8553 | || test ! -s conftest.err' |
9103 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9104 | (eval $ac_try) 2>&5 |
8555 | (eval $ac_try) 2>&5 |
9105 | ac_status=$? |
8556 | ac_status=$? |
9106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9107 | (exit $ac_status); }; } && |
8558 | (exit $ac_status); }; } && |
… | |
… | |
9137 | grep -v '^ *+' conftest.er1 >conftest.err |
8588 | grep -v '^ *+' conftest.er1 >conftest.err |
9138 | rm -f conftest.er1 |
8589 | rm -f conftest.er1 |
9139 | cat conftest.err >&5 |
8590 | cat conftest.err >&5 |
9140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9141 | (exit $ac_status); } && |
8592 | (exit $ac_status); } && |
9142 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8593 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8594 | || test ! -s conftest.err' |
9143 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8595 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9144 | (eval $ac_try) 2>&5 |
8596 | (eval $ac_try) 2>&5 |
9145 | ac_status=$? |
8597 | ac_status=$? |
9146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9147 | (exit $ac_status); }; } && |
8599 | (exit $ac_status); }; } && |
… | |
… | |
9201 | grep -v '^ *+' conftest.er1 >conftest.err |
8653 | grep -v '^ *+' conftest.er1 >conftest.err |
9202 | rm -f conftest.er1 |
8654 | rm -f conftest.er1 |
9203 | cat conftest.err >&5 |
8655 | cat conftest.err >&5 |
9204 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9205 | (exit $ac_status); } && |
8657 | (exit $ac_status); } && |
9206 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8658 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8659 | || test ! -s conftest.err' |
9207 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9208 | (eval $ac_try) 2>&5 |
8661 | (eval $ac_try) 2>&5 |
9209 | ac_status=$? |
8662 | ac_status=$? |
9210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9211 | (exit $ac_status); }; } && |
8664 | (exit $ac_status); }; } && |
… | |
… | |
9232 | See \`config.log' for more details." >&2;} |
8685 | See \`config.log' for more details." >&2;} |
9233 | { (exit 1); exit 1; }; } ;; |
8686 | { (exit 1); exit 1; }; } ;; |
9234 | esac |
8687 | esac |
9235 | else |
8688 | else |
9236 | if test "$cross_compiling" = yes; then |
8689 | if test "$cross_compiling" = yes; then |
9237 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8690 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
9238 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8691 | See \`config.log' for more details." >&5 |
|
|
8692 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8693 | See \`config.log' for more details." >&2;} |
9239 | { (exit 1); exit 1; }; } |
8694 | { (exit 1); exit 1; }; } |
9240 | else |
8695 | else |
9241 | cat >conftest.$ac_ext <<_ACEOF |
8696 | cat >conftest.$ac_ext <<_ACEOF |
9242 | /* confdefs.h. */ |
8697 | /* confdefs.h. */ |
9243 | _ACEOF |
8698 | _ACEOF |
… | |
… | |
9345 | grep -v '^ *+' conftest.er1 >conftest.err |
8800 | grep -v '^ *+' conftest.er1 >conftest.err |
9346 | rm -f conftest.er1 |
8801 | rm -f conftest.er1 |
9347 | cat conftest.err >&5 |
8802 | cat conftest.err >&5 |
9348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9349 | (exit $ac_status); } && |
8804 | (exit $ac_status); } && |
9350 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8805 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8806 | || test ! -s conftest.err' |
9351 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9352 | (eval $ac_try) 2>&5 |
8808 | (eval $ac_try) 2>&5 |
9353 | ac_status=$? |
8809 | ac_status=$? |
9354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9355 | (exit $ac_status); }; } && |
8811 | (exit $ac_status); }; } && |
… | |
… | |
9407 | grep -v '^ *+' conftest.er1 >conftest.err |
8863 | grep -v '^ *+' conftest.er1 >conftest.err |
9408 | rm -f conftest.er1 |
8864 | rm -f conftest.er1 |
9409 | cat conftest.err >&5 |
8865 | cat conftest.err >&5 |
9410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9411 | (exit $ac_status); } && |
8867 | (exit $ac_status); } && |
9412 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8868 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8869 | || test ! -s conftest.err' |
9413 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9414 | (eval $ac_try) 2>&5 |
8871 | (eval $ac_try) 2>&5 |
9415 | ac_status=$? |
8872 | ac_status=$? |
9416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9417 | (exit $ac_status); }; } && |
8874 | (exit $ac_status); }; } && |
… | |
… | |
9447 | grep -v '^ *+' conftest.er1 >conftest.err |
8904 | grep -v '^ *+' conftest.er1 >conftest.err |
9448 | rm -f conftest.er1 |
8905 | rm -f conftest.er1 |
9449 | cat conftest.err >&5 |
8906 | cat conftest.err >&5 |
9450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9451 | (exit $ac_status); } && |
8908 | (exit $ac_status); } && |
9452 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8909 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8910 | || test ! -s conftest.err' |
9453 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8911 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9454 | (eval $ac_try) 2>&5 |
8912 | (eval $ac_try) 2>&5 |
9455 | ac_status=$? |
8913 | ac_status=$? |
9456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9457 | (exit $ac_status); }; } && |
8915 | (exit $ac_status); }; } && |
… | |
… | |
9503 | grep -v '^ *+' conftest.er1 >conftest.err |
8961 | grep -v '^ *+' conftest.er1 >conftest.err |
9504 | rm -f conftest.er1 |
8962 | rm -f conftest.er1 |
9505 | cat conftest.err >&5 |
8963 | cat conftest.err >&5 |
9506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9507 | (exit $ac_status); } && |
8965 | (exit $ac_status); } && |
9508 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8966 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8967 | || test ! -s conftest.err' |
9509 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9510 | (eval $ac_try) 2>&5 |
8969 | (eval $ac_try) 2>&5 |
9511 | ac_status=$? |
8970 | ac_status=$? |
9512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9513 | (exit $ac_status); }; } && |
8972 | (exit $ac_status); }; } && |
… | |
… | |
9543 | grep -v '^ *+' conftest.er1 >conftest.err |
9002 | grep -v '^ *+' conftest.er1 >conftest.err |
9544 | rm -f conftest.er1 |
9003 | rm -f conftest.er1 |
9545 | cat conftest.err >&5 |
9004 | cat conftest.err >&5 |
9546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9547 | (exit $ac_status); } && |
9006 | (exit $ac_status); } && |
9548 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9007 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9008 | || test ! -s conftest.err' |
9549 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9009 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9550 | (eval $ac_try) 2>&5 |
9010 | (eval $ac_try) 2>&5 |
9551 | ac_status=$? |
9011 | ac_status=$? |
9552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9012 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9553 | (exit $ac_status); }; } && |
9013 | (exit $ac_status); }; } && |
… | |
… | |
9607 | grep -v '^ *+' conftest.er1 >conftest.err |
9067 | grep -v '^ *+' conftest.er1 >conftest.err |
9608 | rm -f conftest.er1 |
9068 | rm -f conftest.er1 |
9609 | cat conftest.err >&5 |
9069 | cat conftest.err >&5 |
9610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9611 | (exit $ac_status); } && |
9071 | (exit $ac_status); } && |
9612 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9072 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9073 | || test ! -s conftest.err' |
9613 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9074 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9614 | (eval $ac_try) 2>&5 |
9075 | (eval $ac_try) 2>&5 |
9615 | ac_status=$? |
9076 | ac_status=$? |
9616 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9617 | (exit $ac_status); }; } && |
9078 | (exit $ac_status); }; } && |
… | |
… | |
9638 | See \`config.log' for more details." >&2;} |
9099 | See \`config.log' for more details." >&2;} |
9639 | { (exit 1); exit 1; }; } ;; |
9100 | { (exit 1); exit 1; }; } ;; |
9640 | esac |
9101 | esac |
9641 | else |
9102 | else |
9642 | if test "$cross_compiling" = yes; then |
9103 | if test "$cross_compiling" = yes; then |
9643 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
9104 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
9644 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
9105 | See \`config.log' for more details." >&5 |
|
|
9106 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
9107 | See \`config.log' for more details." >&2;} |
9645 | { (exit 1); exit 1; }; } |
9108 | { (exit 1); exit 1; }; } |
9646 | else |
9109 | else |
9647 | cat >conftest.$ac_ext <<_ACEOF |
9110 | cat >conftest.$ac_ext <<_ACEOF |
9648 | /* confdefs.h. */ |
9111 | /* confdefs.h. */ |
9649 | _ACEOF |
9112 | _ACEOF |
… | |
… | |
9750 | grep -v '^ *+' conftest.er1 >conftest.err |
9213 | grep -v '^ *+' conftest.er1 >conftest.err |
9751 | rm -f conftest.er1 |
9214 | rm -f conftest.er1 |
9752 | cat conftest.err >&5 |
9215 | cat conftest.err >&5 |
9753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9754 | (exit $ac_status); } && |
9217 | (exit $ac_status); } && |
9755 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9218 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9219 | || test ! -s conftest.err' |
9756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9220 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9757 | (eval $ac_try) 2>&5 |
9221 | (eval $ac_try) 2>&5 |
9758 | ac_status=$? |
9222 | ac_status=$? |
9759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9760 | (exit $ac_status); }; } && |
9224 | (exit $ac_status); }; } && |
… | |
… | |
9832 | grep -v '^ *+' conftest.er1 >conftest.err |
9296 | grep -v '^ *+' conftest.er1 >conftest.err |
9833 | rm -f conftest.er1 |
9297 | rm -f conftest.er1 |
9834 | cat conftest.err >&5 |
9298 | cat conftest.err >&5 |
9835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9299 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9836 | (exit $ac_status); } && |
9300 | (exit $ac_status); } && |
9837 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9301 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9302 | || test ! -s conftest.err' |
9838 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9839 | (eval $ac_try) 2>&5 |
9304 | (eval $ac_try) 2>&5 |
9840 | ac_status=$? |
9305 | ac_status=$? |
9841 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9842 | (exit $ac_status); }; } && |
9307 | (exit $ac_status); }; } && |
… | |
… | |
9914 | grep -v '^ *+' conftest.er1 >conftest.err |
9379 | grep -v '^ *+' conftest.er1 >conftest.err |
9915 | rm -f conftest.er1 |
9380 | rm -f conftest.er1 |
9916 | cat conftest.err >&5 |
9381 | cat conftest.err >&5 |
9917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9918 | (exit $ac_status); } && |
9383 | (exit $ac_status); } && |
9919 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9384 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9385 | || test ! -s conftest.err' |
9920 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9921 | (eval $ac_try) 2>&5 |
9387 | (eval $ac_try) 2>&5 |
9922 | ac_status=$? |
9388 | ac_status=$? |
9923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9924 | (exit $ac_status); }; } && |
9390 | (exit $ac_status); }; } && |
… | |
… | |
9996 | grep -v '^ *+' conftest.er1 >conftest.err |
9462 | grep -v '^ *+' conftest.er1 >conftest.err |
9997 | rm -f conftest.er1 |
9463 | rm -f conftest.er1 |
9998 | cat conftest.err >&5 |
9464 | cat conftest.err >&5 |
9999 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10000 | (exit $ac_status); } && |
9466 | (exit $ac_status); } && |
10001 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9467 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9468 | || test ! -s conftest.err' |
10002 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10003 | (eval $ac_try) 2>&5 |
9470 | (eval $ac_try) 2>&5 |
10004 | ac_status=$? |
9471 | ac_status=$? |
10005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10006 | (exit $ac_status); }; } && |
9473 | (exit $ac_status); }; } && |
… | |
… | |
10108 | grep -v '^ *+' conftest.er1 >conftest.err |
9575 | grep -v '^ *+' conftest.er1 >conftest.err |
10109 | rm -f conftest.er1 |
9576 | rm -f conftest.er1 |
10110 | cat conftest.err >&5 |
9577 | cat conftest.err >&5 |
10111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10112 | (exit $ac_status); } && |
9579 | (exit $ac_status); } && |
10113 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9580 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9581 | || test ! -s conftest.err' |
10114 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9582 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10115 | (eval $ac_try) 2>&5 |
9583 | (eval $ac_try) 2>&5 |
10116 | ac_status=$? |
9584 | ac_status=$? |
10117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9585 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10118 | (exit $ac_status); }; } && |
9586 | (exit $ac_status); }; } && |
… | |
… | |
10138 | #define RETSIGTYPE $ac_cv_type_signal |
9606 | #define RETSIGTYPE $ac_cv_type_signal |
10139 | _ACEOF |
9607 | _ACEOF |
10140 | |
9608 | |
10141 | |
9609 | |
10142 | |
9610 | |
10143 | case "$host_alias" in |
|
|
10144 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
10145 | *) break;; |
|
|
10146 | esac |
|
|
10147 | |
|
|
10148 | |
|
|
10149 | |
|
|
10150 | |
|
|
10151 | |
|
|
10152 | |
|
|
10153 | |
|
|
10154 | |
|
|
10155 | |
|
|
10156 | |
|
|
10157 | |
|
|
10158 | |
|
|
10159 | |
|
|
10160 | |
|
|
10161 | |
|
|
10162 | |
|
|
10163 | |
|
|
10164 | |
9611 | |
10165 | |
9612 | |
10166 | |
9613 | |
10167 | for ac_func in \ |
9614 | for ac_func in \ |
10168 | atexit \ |
|
|
10169 | revoke \ |
|
|
10170 | unsetenv \ |
9615 | unsetenv \ |
10171 | setutent \ |
9616 | setutent \ |
10172 | seteuid \ |
|
|
10173 | setreuid \ |
|
|
10174 | setsid \ |
|
|
10175 | setpgrp \ |
|
|
10176 | setpgid \ |
|
|
10177 | _getpty \ |
|
|
10178 | posix_openpt \ |
|
|
10179 | grantpt \ |
|
|
10180 | unlockpt \ |
|
|
10181 | isastream \ |
|
|
10182 | on_exit \ |
9617 | on_exit \ |
10183 | nanosleep \ |
|
|
10184 | updwtmp \ |
|
|
10185 | updwtmpx \ |
|
|
10186 | ttyslot \ |
|
|
10187 | |
9618 | |
10188 | do |
9619 | do |
10189 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9620 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10190 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9621 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10191 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9622 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
10250 | grep -v '^ *+' conftest.er1 >conftest.err |
9681 | grep -v '^ *+' conftest.er1 >conftest.err |
10251 | rm -f conftest.er1 |
9682 | rm -f conftest.er1 |
10252 | cat conftest.err >&5 |
9683 | cat conftest.err >&5 |
10253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10254 | (exit $ac_status); } && |
9685 | (exit $ac_status); } && |
10255 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9686 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9687 | || test ! -s conftest.err' |
10256 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9688 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10257 | (eval $ac_try) 2>&5 |
9689 | (eval $ac_try) 2>&5 |
10258 | ac_status=$? |
9690 | ac_status=$? |
10259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10260 | (exit $ac_status); }; } && |
9692 | (exit $ac_status); }; } && |
… | |
… | |
10284 | fi |
9716 | fi |
10285 | done |
9717 | done |
10286 | |
9718 | |
10287 | |
9719 | |
10288 | |
9720 | |
|
|
9721 | support_utmp=yes |
|
|
9722 | support_wtmp=yes |
|
|
9723 | support_lastlog=yes |
|
|
9724 | |
|
|
9725 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
9726 | if test "${enable_utmp+set}" = set; then |
|
|
9727 | enableval="$enable_utmp" |
|
|
9728 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9729 | support_utmp=$enableval |
|
|
9730 | fi |
|
|
9731 | fi; |
|
|
9732 | |
|
|
9733 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
9734 | if test "${enable_wtmp+set}" = set; then |
|
|
9735 | enableval="$enable_wtmp" |
|
|
9736 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9737 | support_wtmp=$enableval |
|
|
9738 | fi |
|
|
9739 | fi; |
|
|
9740 | |
|
|
9741 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
9742 | if test "${enable_lastlog+set}" = set; then |
|
|
9743 | enableval="$enable_lastlog" |
|
|
9744 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9745 | support_lastlog=$enableval |
|
|
9746 | fi |
|
|
9747 | fi; |
|
|
9748 | |
|
|
9749 | if test x$support_utmp = xyes; then |
|
|
9750 | |
|
|
9751 | cat >>confdefs.h <<\_ACEOF |
|
|
9752 | #define UTMP_SUPPORT 1 |
|
|
9753 | _ACEOF |
|
|
9754 | |
|
|
9755 | fi |
|
|
9756 | if test x$support_wtmp = xyes; then |
|
|
9757 | |
|
|
9758 | cat >>confdefs.h <<\_ACEOF |
|
|
9759 | #define WTMP_SUPPORT 1 |
|
|
9760 | _ACEOF |
|
|
9761 | |
|
|
9762 | fi |
|
|
9763 | if test x$support_lastlog = xyes; then |
|
|
9764 | |
|
|
9765 | cat >>confdefs.h <<\_ACEOF |
|
|
9766 | #define LASTLOG_SUPPORT 1 |
|
|
9767 | _ACEOF |
|
|
9768 | |
|
|
9769 | fi |
|
|
9770 | |
|
|
9771 | |
|
|
9772 | |
|
|
9773 | |
|
|
9774 | for ac_func in \ |
|
|
9775 | ttyslot \ |
|
|
9776 | updwtmp \ |
|
|
9777 | updwtmpx \ |
|
|
9778 | |
|
|
9779 | do |
|
|
9780 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
9781 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
9782 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
9783 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
9784 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9785 | else |
|
|
9786 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9787 | /* confdefs.h. */ |
|
|
9788 | _ACEOF |
|
|
9789 | cat confdefs.h >>conftest.$ac_ext |
|
|
9790 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9791 | /* end confdefs.h. */ |
|
|
9792 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9793 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9794 | #define $ac_func innocuous_$ac_func |
|
|
9795 | |
|
|
9796 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9797 | which can conflict with char $ac_func (); below. |
|
|
9798 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9799 | <limits.h> exists even on freestanding compilers. */ |
|
|
9800 | |
|
|
9801 | #ifdef __STDC__ |
|
|
9802 | # include <limits.h> |
|
|
9803 | #else |
|
|
9804 | # include <assert.h> |
|
|
9805 | #endif |
|
|
9806 | |
|
|
9807 | #undef $ac_func |
|
|
9808 | |
|
|
9809 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9810 | #ifdef __cplusplus |
|
|
9811 | extern "C" |
|
|
9812 | { |
|
|
9813 | #endif |
|
|
9814 | /* We use char because int might match the return type of a gcc2 |
|
|
9815 | builtin and then its argument prototype would still apply. */ |
|
|
9816 | char $ac_func (); |
|
|
9817 | /* The GNU C library defines this for functions which it implements |
|
|
9818 | to always fail with ENOSYS. Some functions are actually named |
|
|
9819 | something starting with __ and the normal name is an alias. */ |
|
|
9820 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
9821 | choke me |
|
|
9822 | #else |
|
|
9823 | char (*f) () = $ac_func; |
|
|
9824 | #endif |
|
|
9825 | #ifdef __cplusplus |
|
|
9826 | } |
|
|
9827 | #endif |
|
|
9828 | |
|
|
9829 | int |
|
|
9830 | main () |
|
|
9831 | { |
|
|
9832 | return f != $ac_func; |
|
|
9833 | ; |
|
|
9834 | return 0; |
|
|
9835 | } |
|
|
9836 | _ACEOF |
|
|
9837 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9838 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9839 | (eval $ac_link) 2>conftest.er1 |
|
|
9840 | ac_status=$? |
|
|
9841 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9842 | rm -f conftest.er1 |
|
|
9843 | cat conftest.err >&5 |
|
|
9844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9845 | (exit $ac_status); } && |
|
|
9846 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9847 | || test ! -s conftest.err' |
|
|
9848 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9849 | (eval $ac_try) 2>&5 |
|
|
9850 | ac_status=$? |
|
|
9851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9852 | (exit $ac_status); }; } && |
|
|
9853 | { ac_try='test -s conftest$ac_exeext' |
|
|
9854 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9855 | (eval $ac_try) 2>&5 |
|
|
9856 | ac_status=$? |
|
|
9857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9858 | (exit $ac_status); }; }; then |
|
|
9859 | eval "$as_ac_var=yes" |
|
|
9860 | else |
|
|
9861 | echo "$as_me: failed program was:" >&5 |
|
|
9862 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9863 | |
|
|
9864 | eval "$as_ac_var=no" |
|
|
9865 | fi |
|
|
9866 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9867 | conftest$ac_exeext conftest.$ac_ext |
|
|
9868 | fi |
|
|
9869 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
9870 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
9871 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
9872 | cat >>confdefs.h <<_ACEOF |
|
|
9873 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
9874 | _ACEOF |
|
|
9875 | |
|
|
9876 | fi |
|
|
9877 | done |
|
|
9878 | |
|
|
9879 | |
|
|
9880 | |
|
|
9881 | |
|
|
9882 | |
|
|
9883 | for ac_header in \ |
|
|
9884 | utmp.h \ |
|
|
9885 | utmpx.h \ |
|
|
9886 | lastlog.h \ |
|
|
9887 | |
|
|
9888 | do |
|
|
9889 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
9890 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
9891 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
9892 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
9893 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
9894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9895 | fi |
|
|
9896 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
9897 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
9898 | else |
|
|
9899 | # Is the header compilable? |
|
|
9900 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
9901 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
9902 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9903 | /* confdefs.h. */ |
|
|
9904 | _ACEOF |
|
|
9905 | cat confdefs.h >>conftest.$ac_ext |
|
|
9906 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9907 | /* end confdefs.h. */ |
|
|
9908 | $ac_includes_default |
|
|
9909 | #include <$ac_header> |
|
|
9910 | _ACEOF |
|
|
9911 | rm -f conftest.$ac_objext |
|
|
9912 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
9913 | (eval $ac_compile) 2>conftest.er1 |
|
|
9914 | ac_status=$? |
|
|
9915 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9916 | rm -f conftest.er1 |
|
|
9917 | cat conftest.err >&5 |
|
|
9918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9919 | (exit $ac_status); } && |
|
|
9920 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9921 | || test ! -s conftest.err' |
|
|
9922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9923 | (eval $ac_try) 2>&5 |
|
|
9924 | ac_status=$? |
|
|
9925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9926 | (exit $ac_status); }; } && |
|
|
9927 | { ac_try='test -s conftest.$ac_objext' |
|
|
9928 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9929 | (eval $ac_try) 2>&5 |
|
|
9930 | ac_status=$? |
|
|
9931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9932 | (exit $ac_status); }; }; then |
|
|
9933 | ac_header_compiler=yes |
|
|
9934 | else |
|
|
9935 | echo "$as_me: failed program was:" >&5 |
|
|
9936 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9937 | |
|
|
9938 | ac_header_compiler=no |
|
|
9939 | fi |
|
|
9940 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9941 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
9942 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
9943 | |
|
|
9944 | # Is the header present? |
|
|
9945 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
9946 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
9947 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9948 | /* confdefs.h. */ |
|
|
9949 | _ACEOF |
|
|
9950 | cat confdefs.h >>conftest.$ac_ext |
|
|
9951 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9952 | /* end confdefs.h. */ |
|
|
9953 | #include <$ac_header> |
|
|
9954 | _ACEOF |
|
|
9955 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
9956 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
9957 | ac_status=$? |
|
|
9958 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9959 | rm -f conftest.er1 |
|
|
9960 | cat conftest.err >&5 |
|
|
9961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9962 | (exit $ac_status); } >/dev/null; then |
|
|
9963 | if test -s conftest.err; then |
|
|
9964 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
9965 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
9966 | else |
|
|
9967 | ac_cpp_err= |
|
|
9968 | fi |
|
|
9969 | else |
|
|
9970 | ac_cpp_err=yes |
|
|
9971 | fi |
|
|
9972 | if test -z "$ac_cpp_err"; then |
|
|
9973 | ac_header_preproc=yes |
|
|
9974 | else |
|
|
9975 | echo "$as_me: failed program was:" >&5 |
|
|
9976 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9977 | |
|
|
9978 | ac_header_preproc=no |
|
|
9979 | fi |
|
|
9980 | rm -f conftest.err conftest.$ac_ext |
|
|
9981 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
9982 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
9983 | |
|
|
9984 | # So? What about this header? |
|
|
9985 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
9986 | yes:no: ) |
|
|
9987 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
9988 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
9989 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
9990 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
9991 | ac_header_preproc=yes |
|
|
9992 | ;; |
|
|
9993 | no:yes:* ) |
|
|
9994 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
9995 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
9996 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
9997 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
9998 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
9999 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
10000 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10001 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10002 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
10003 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
10004 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
10005 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
10006 | ( |
|
|
10007 | cat <<\_ASBOX |
|
|
10008 | ## ------------------------------------------ ## |
|
|
10009 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10010 | ## ------------------------------------------ ## |
|
|
10011 | _ASBOX |
|
|
10012 | ) | |
|
|
10013 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10014 | ;; |
|
|
10015 | esac |
|
|
10016 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10017 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10018 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10019 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10020 | else |
|
|
10021 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
10022 | fi |
|
|
10023 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10024 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10025 | |
|
|
10026 | fi |
|
|
10027 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10028 | cat >>confdefs.h <<_ACEOF |
|
|
10029 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10030 | _ACEOF |
|
|
10031 | |
|
|
10032 | fi |
|
|
10033 | |
|
|
10034 | done |
|
|
10035 | |
|
|
10036 | |
|
|
10037 | |
10289 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10038 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10290 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10039 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10291 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10040 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10292 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10041 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10293 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10042 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10314 | grep -v '^ *+' conftest.er1 >conftest.err |
10063 | grep -v '^ *+' conftest.er1 >conftest.err |
10315 | rm -f conftest.er1 |
10064 | rm -f conftest.er1 |
10316 | cat conftest.err >&5 |
10065 | cat conftest.err >&5 |
10317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10318 | (exit $ac_status); } && |
10067 | (exit $ac_status); } && |
10319 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10068 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10069 | || test ! -s conftest.err' |
10320 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10070 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10321 | (eval $ac_try) 2>&5 |
10071 | (eval $ac_try) 2>&5 |
10322 | ac_status=$? |
10072 | ac_status=$? |
10323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10324 | (exit $ac_status); }; } && |
10074 | (exit $ac_status); }; } && |
… | |
… | |
10423 | |
10173 | |
10424 | fi |
10174 | fi |
10425 | if test $ac_cv_header_utmp_h = yes; then |
10175 | if test $ac_cv_header_utmp_h = yes; then |
10426 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10176 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10427 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10177 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10428 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
10178 | if test "${struct_utmp+set}" = set; then |
10429 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10179 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10430 | else |
10180 | else |
10431 | cat >conftest.$ac_ext <<_ACEOF |
10181 | cat >conftest.$ac_ext <<_ACEOF |
10432 | /* confdefs.h. */ |
10182 | /* confdefs.h. */ |
10433 | _ACEOF |
10183 | _ACEOF |
10434 | cat confdefs.h >>conftest.$ac_ext |
10184 | cat confdefs.h >>conftest.$ac_ext |
10435 | cat >>conftest.$ac_ext <<_ACEOF |
10185 | cat >>conftest.$ac_ext <<_ACEOF |
10436 | /* end confdefs.h. */ |
10186 | /* end confdefs.h. */ |
10437 | #include <sys/types.h> |
10187 | #include <sys/types.h> |
10438 | #include <stdint.h> |
|
|
10439 | #include <utmp.h> |
10188 | #include <utmp.h> |
10440 | int |
10189 | int |
10441 | main () |
10190 | main () |
10442 | { |
10191 | { |
10443 | struct utmp ut; |
10192 | struct utmp ut; |
… | |
… | |
10452 | grep -v '^ *+' conftest.er1 >conftest.err |
10201 | grep -v '^ *+' conftest.er1 >conftest.err |
10453 | rm -f conftest.er1 |
10202 | rm -f conftest.er1 |
10454 | cat conftest.err >&5 |
10203 | cat conftest.err >&5 |
10455 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10204 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10456 | (exit $ac_status); } && |
10205 | (exit $ac_status); } && |
10457 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10206 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10207 | || test ! -s conftest.err' |
10458 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10208 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10459 | (eval $ac_try) 2>&5 |
10209 | (eval $ac_try) 2>&5 |
10460 | ac_status=$? |
10210 | ac_status=$? |
10461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10462 | (exit $ac_status); }; } && |
10212 | (exit $ac_status); }; } && |
… | |
… | |
10464 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10214 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10465 | (eval $ac_try) 2>&5 |
10215 | (eval $ac_try) 2>&5 |
10466 | ac_status=$? |
10216 | ac_status=$? |
10467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10468 | (exit $ac_status); }; }; then |
10218 | (exit $ac_status); }; }; then |
10469 | rxvt_cv_struct_utmp=yes |
10219 | struct_utmp=yes |
10470 | else |
10220 | else |
10471 | echo "$as_me: failed program was:" >&5 |
10221 | echo "$as_me: failed program was:" >&5 |
10472 | sed 's/^/| /' conftest.$ac_ext >&5 |
10222 | sed 's/^/| /' conftest.$ac_ext >&5 |
10473 | |
10223 | |
10474 | rxvt_cv_struct_utmp=no |
10224 | struct_utmp=no |
10475 | fi |
10225 | fi |
10476 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10226 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10477 | fi |
10227 | fi |
10478 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
10228 | echo "$as_me:$LINENO: result: $struct_utmp" >&5 |
10479 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
10229 | echo "${ECHO_T}$struct_utmp" >&6 |
10480 | if test x$rxvt_cv_struct_utmp = xyes; then |
10230 | if test x$struct_utmp = xyes; then |
10481 | |
10231 | |
10482 | cat >>confdefs.h <<\_ACEOF |
10232 | cat >>confdefs.h <<\_ACEOF |
10483 | #define HAVE_STRUCT_UTMP 1 |
10233 | #define HAVE_STRUCT_UTMP 1 |
10484 | _ACEOF |
10234 | _ACEOF |
10485 | |
10235 | |
10486 | fi |
10236 | fi |
10487 | |
10237 | |
10488 | |
10238 | |
10489 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10239 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10490 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10240 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10491 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
10241 | if test "${struct_utmp_host+set}" = set; then |
10492 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10242 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10493 | else |
10243 | else |
10494 | cat >conftest.$ac_ext <<_ACEOF |
10244 | cat >conftest.$ac_ext <<_ACEOF |
10495 | /* confdefs.h. */ |
10245 | /* confdefs.h. */ |
10496 | _ACEOF |
10246 | _ACEOF |
… | |
… | |
10514 | grep -v '^ *+' conftest.er1 >conftest.err |
10264 | grep -v '^ *+' conftest.er1 >conftest.err |
10515 | rm -f conftest.er1 |
10265 | rm -f conftest.er1 |
10516 | cat conftest.err >&5 |
10266 | cat conftest.err >&5 |
10517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10518 | (exit $ac_status); } && |
10268 | (exit $ac_status); } && |
10519 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10269 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10270 | || test ! -s conftest.err' |
10520 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10521 | (eval $ac_try) 2>&5 |
10272 | (eval $ac_try) 2>&5 |
10522 | ac_status=$? |
10273 | ac_status=$? |
10523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10524 | (exit $ac_status); }; } && |
10275 | (exit $ac_status); }; } && |
… | |
… | |
10526 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10527 | (eval $ac_try) 2>&5 |
10278 | (eval $ac_try) 2>&5 |
10528 | ac_status=$? |
10279 | ac_status=$? |
10529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10530 | (exit $ac_status); }; }; then |
10281 | (exit $ac_status); }; }; then |
10531 | rxvt_cv_struct_utmp_host=yes |
10282 | struct_utmp_host=yes |
10532 | else |
10283 | else |
10533 | echo "$as_me: failed program was:" >&5 |
10284 | echo "$as_me: failed program was:" >&5 |
10534 | sed 's/^/| /' conftest.$ac_ext >&5 |
10285 | sed 's/^/| /' conftest.$ac_ext >&5 |
10535 | |
10286 | |
10536 | rxvt_cv_struct_utmp_host=no |
10287 | struct_utmp_host=no |
10537 | fi |
10288 | fi |
10538 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10289 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10539 | fi |
10290 | fi |
10540 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
10291 | echo "$as_me:$LINENO: result: $struct_utmp_host" >&5 |
10541 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
10292 | echo "${ECHO_T}$struct_utmp_host" >&6 |
10542 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
10293 | if test x$struct_utmp_host = xyes; then |
10543 | |
10294 | |
10544 | cat >>confdefs.h <<\_ACEOF |
10295 | cat >>confdefs.h <<\_ACEOF |
10545 | #define HAVE_UTMP_HOST 1 |
10296 | #define HAVE_UTMP_HOST 1 |
10546 | _ACEOF |
10297 | _ACEOF |
10547 | |
10298 | |
10548 | fi |
10299 | fi |
10549 | |
10300 | |
10550 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10301 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10551 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10302 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10552 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
10303 | if test "${struct_utmp_pid+set}" = set; then |
10553 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10304 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10554 | else |
10305 | else |
10555 | cat >conftest.$ac_ext <<_ACEOF |
10306 | cat >conftest.$ac_ext <<_ACEOF |
10556 | /* confdefs.h. */ |
10307 | /* confdefs.h. */ |
10557 | _ACEOF |
10308 | _ACEOF |
… | |
… | |
10575 | grep -v '^ *+' conftest.er1 >conftest.err |
10326 | grep -v '^ *+' conftest.er1 >conftest.err |
10576 | rm -f conftest.er1 |
10327 | rm -f conftest.er1 |
10577 | cat conftest.err >&5 |
10328 | cat conftest.err >&5 |
10578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10579 | (exit $ac_status); } && |
10330 | (exit $ac_status); } && |
10580 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10331 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10332 | || test ! -s conftest.err' |
10581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10333 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10582 | (eval $ac_try) 2>&5 |
10334 | (eval $ac_try) 2>&5 |
10583 | ac_status=$? |
10335 | ac_status=$? |
10584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10585 | (exit $ac_status); }; } && |
10337 | (exit $ac_status); }; } && |
… | |
… | |
10587 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10588 | (eval $ac_try) 2>&5 |
10340 | (eval $ac_try) 2>&5 |
10589 | ac_status=$? |
10341 | ac_status=$? |
10590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10591 | (exit $ac_status); }; }; then |
10343 | (exit $ac_status); }; }; then |
10592 | rxvt_cv_struct_utmp_pid=yes |
10344 | struct_utmp_pid=yes |
10593 | else |
10345 | else |
10594 | echo "$as_me: failed program was:" >&5 |
10346 | echo "$as_me: failed program was:" >&5 |
10595 | sed 's/^/| /' conftest.$ac_ext >&5 |
10347 | sed 's/^/| /' conftest.$ac_ext >&5 |
10596 | |
10348 | |
10597 | rxvt_cv_struct_utmp_pid=no |
10349 | struct_utmp_pid=no |
10598 | fi |
10350 | fi |
10599 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10351 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10600 | fi |
10352 | fi |
10601 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
10353 | echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5 |
10602 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
10354 | echo "${ECHO_T}$struct_utmp_pid" >&6 |
10603 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
10355 | if test x$struct_utmp_pid = xyes; then |
10604 | |
10356 | |
10605 | cat >>confdefs.h <<\_ACEOF |
10357 | cat >>confdefs.h <<\_ACEOF |
10606 | #define HAVE_UTMP_PID 1 |
10358 | #define HAVE_UTMP_PID 1 |
10607 | _ACEOF |
10359 | _ACEOF |
10608 | |
10360 | |
… | |
… | |
10640 | grep -v '^ *+' conftest.er1 >conftest.err |
10392 | grep -v '^ *+' conftest.er1 >conftest.err |
10641 | rm -f conftest.er1 |
10393 | rm -f conftest.er1 |
10642 | cat conftest.err >&5 |
10394 | cat conftest.err >&5 |
10643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10644 | (exit $ac_status); } && |
10396 | (exit $ac_status); } && |
10645 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10397 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10398 | || test ! -s conftest.err' |
10646 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10399 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10647 | (eval $ac_try) 2>&5 |
10400 | (eval $ac_try) 2>&5 |
10648 | ac_status=$? |
10401 | ac_status=$? |
10649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10650 | (exit $ac_status); }; } && |
10403 | (exit $ac_status); }; } && |
… | |
… | |
10749 | |
10502 | |
10750 | fi |
10503 | fi |
10751 | if test $ac_cv_header_utmpx_h = yes; then |
10504 | if test $ac_cv_header_utmpx_h = yes; then |
10752 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10505 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10753 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10506 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10754 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
10507 | if test "${struct_utmpx+set}" = set; then |
10755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10508 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10756 | else |
10509 | else |
10757 | cat >conftest.$ac_ext <<_ACEOF |
10510 | cat >conftest.$ac_ext <<_ACEOF |
10758 | /* confdefs.h. */ |
10511 | /* confdefs.h. */ |
10759 | _ACEOF |
10512 | _ACEOF |
… | |
… | |
10777 | grep -v '^ *+' conftest.er1 >conftest.err |
10530 | grep -v '^ *+' conftest.er1 >conftest.err |
10778 | rm -f conftest.er1 |
10531 | rm -f conftest.er1 |
10779 | cat conftest.err >&5 |
10532 | cat conftest.err >&5 |
10780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10781 | (exit $ac_status); } && |
10534 | (exit $ac_status); } && |
10782 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10535 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10536 | || test ! -s conftest.err' |
10783 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10784 | (eval $ac_try) 2>&5 |
10538 | (eval $ac_try) 2>&5 |
10785 | ac_status=$? |
10539 | ac_status=$? |
10786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10787 | (exit $ac_status); }; } && |
10541 | (exit $ac_status); }; } && |
… | |
… | |
10789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10543 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10790 | (eval $ac_try) 2>&5 |
10544 | (eval $ac_try) 2>&5 |
10791 | ac_status=$? |
10545 | ac_status=$? |
10792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10793 | (exit $ac_status); }; }; then |
10547 | (exit $ac_status); }; }; then |
10794 | rxvt_cv_struct_utmpx=yes |
10548 | struct_utmpx=yes |
10795 | else |
10549 | else |
10796 | echo "$as_me: failed program was:" >&5 |
10550 | echo "$as_me: failed program was:" >&5 |
10797 | sed 's/^/| /' conftest.$ac_ext >&5 |
10551 | sed 's/^/| /' conftest.$ac_ext >&5 |
10798 | |
10552 | |
10799 | rxvt_cv_struct_utmpx=no |
10553 | struct_utmpx=no |
10800 | fi |
10554 | fi |
10801 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10555 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10802 | fi |
10556 | fi |
10803 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
10557 | echo "$as_me:$LINENO: result: $struct_utmpx" >&5 |
10804 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
10558 | echo "${ECHO_T}$struct_utmpx" >&6 |
10805 | if test x$rxvt_cv_struct_utmpx = xyes; then |
10559 | if test x$struct_utmpx = xyes; then |
10806 | |
10560 | |
10807 | cat >>confdefs.h <<\_ACEOF |
10561 | cat >>confdefs.h <<\_ACEOF |
10808 | #define HAVE_STRUCT_UTMPX 1 |
10562 | #define HAVE_STRUCT_UTMPX 1 |
10809 | _ACEOF |
10563 | _ACEOF |
10810 | |
10564 | |
10811 | fi |
10565 | fi |
10812 | |
10566 | |
10813 | |
10567 | |
10814 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10568 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10815 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10569 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10816 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
10570 | if test "${struct_utmpx_host+set}" = set; then |
10817 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10571 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10818 | else |
10572 | else |
10819 | cat >conftest.$ac_ext <<_ACEOF |
10573 | cat >conftest.$ac_ext <<_ACEOF |
10820 | /* confdefs.h. */ |
10574 | /* confdefs.h. */ |
10821 | _ACEOF |
10575 | _ACEOF |
… | |
… | |
10839 | grep -v '^ *+' conftest.er1 >conftest.err |
10593 | grep -v '^ *+' conftest.er1 >conftest.err |
10840 | rm -f conftest.er1 |
10594 | rm -f conftest.er1 |
10841 | cat conftest.err >&5 |
10595 | cat conftest.err >&5 |
10842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10843 | (exit $ac_status); } && |
10597 | (exit $ac_status); } && |
10844 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10598 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10599 | || test ! -s conftest.err' |
10845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10600 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10846 | (eval $ac_try) 2>&5 |
10601 | (eval $ac_try) 2>&5 |
10847 | ac_status=$? |
10602 | ac_status=$? |
10848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10849 | (exit $ac_status); }; } && |
10604 | (exit $ac_status); }; } && |
… | |
… | |
10851 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10606 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10852 | (eval $ac_try) 2>&5 |
10607 | (eval $ac_try) 2>&5 |
10853 | ac_status=$? |
10608 | ac_status=$? |
10854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10855 | (exit $ac_status); }; }; then |
10610 | (exit $ac_status); }; }; then |
10856 | rxvt_cv_struct_utmpx_host=yes |
10611 | struct_utmpx_host=yes |
10857 | else |
10612 | else |
10858 | echo "$as_me: failed program was:" >&5 |
10613 | echo "$as_me: failed program was:" >&5 |
10859 | sed 's/^/| /' conftest.$ac_ext >&5 |
10614 | sed 's/^/| /' conftest.$ac_ext >&5 |
10860 | |
10615 | |
10861 | rxvt_cv_struct_utmpx_host=no |
10616 | struct_utmpx_host=no |
10862 | fi |
10617 | fi |
10863 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10618 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10864 | fi |
10619 | fi |
10865 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
10620 | echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5 |
10866 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
10621 | echo "${ECHO_T}$struct_utmpx_host" >&6 |
10867 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
10622 | if test x$struct_utmpx_host = xyes; then |
10868 | |
10623 | |
10869 | cat >>confdefs.h <<\_ACEOF |
10624 | cat >>confdefs.h <<\_ACEOF |
10870 | #define HAVE_UTMPX_HOST 1 |
10625 | #define HAVE_UTMPX_HOST 1 |
10871 | _ACEOF |
10626 | _ACEOF |
10872 | |
10627 | |
10873 | fi |
10628 | fi |
10874 | |
10629 | |
10875 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10630 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10876 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10631 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10877 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
10632 | if test "${struct_utmpx_session+set}" = set; then |
10878 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10633 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10879 | else |
10634 | else |
10880 | cat >conftest.$ac_ext <<_ACEOF |
10635 | cat >conftest.$ac_ext <<_ACEOF |
10881 | /* confdefs.h. */ |
10636 | /* confdefs.h. */ |
10882 | _ACEOF |
10637 | _ACEOF |
… | |
… | |
10900 | grep -v '^ *+' conftest.er1 >conftest.err |
10655 | grep -v '^ *+' conftest.er1 >conftest.err |
10901 | rm -f conftest.er1 |
10656 | rm -f conftest.er1 |
10902 | cat conftest.err >&5 |
10657 | cat conftest.err >&5 |
10903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10904 | (exit $ac_status); } && |
10659 | (exit $ac_status); } && |
10905 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10660 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10661 | || test ! -s conftest.err' |
10906 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10662 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10907 | (eval $ac_try) 2>&5 |
10663 | (eval $ac_try) 2>&5 |
10908 | ac_status=$? |
10664 | ac_status=$? |
10909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10910 | (exit $ac_status); }; } && |
10666 | (exit $ac_status); }; } && |
… | |
… | |
10912 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10913 | (eval $ac_try) 2>&5 |
10669 | (eval $ac_try) 2>&5 |
10914 | ac_status=$? |
10670 | ac_status=$? |
10915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10916 | (exit $ac_status); }; }; then |
10672 | (exit $ac_status); }; }; then |
10917 | rxvt_cv_struct_utmpx_session=yes |
10673 | struct_utmpx_session=yes |
10918 | else |
10674 | else |
10919 | echo "$as_me: failed program was:" >&5 |
10675 | echo "$as_me: failed program was:" >&5 |
10920 | sed 's/^/| /' conftest.$ac_ext >&5 |
10676 | sed 's/^/| /' conftest.$ac_ext >&5 |
10921 | |
10677 | |
10922 | rxvt_cv_struct_utmpx_session=no |
10678 | struct_utmpx_session=no |
10923 | fi |
10679 | fi |
10924 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10680 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10925 | fi |
10681 | fi |
10926 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
10682 | echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5 |
10927 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
10683 | echo "${ECHO_T}$struct_utmpx_session" >&6 |
10928 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
10684 | if test x$struct_utmpx_session = xyes; then |
10929 | |
10685 | |
10930 | cat >>confdefs.h <<\_ACEOF |
10686 | cat >>confdefs.h <<\_ACEOF |
10931 | #define HAVE_UTMPX_SESSION 1 |
10687 | #define HAVE_UTMPX_SESSION 1 |
10932 | _ACEOF |
10688 | _ACEOF |
10933 | |
10689 | |
… | |
… | |
10936 | fi |
10692 | fi |
10937 | |
10693 | |
10938 | |
10694 | |
10939 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10695 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10940 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10696 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10941 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10697 | if test "${struct_lastlog+set}" = set; then |
10942 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10943 | else |
10699 | else |
10944 | cat >conftest.$ac_ext <<_ACEOF |
10700 | cat >conftest.$ac_ext <<_ACEOF |
10945 | /* confdefs.h. */ |
10701 | /* confdefs.h. */ |
10946 | _ACEOF |
10702 | _ACEOF |
… | |
… | |
10968 | grep -v '^ *+' conftest.er1 >conftest.err |
10724 | grep -v '^ *+' conftest.er1 >conftest.err |
10969 | rm -f conftest.er1 |
10725 | rm -f conftest.er1 |
10970 | cat conftest.err >&5 |
10726 | cat conftest.err >&5 |
10971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10972 | (exit $ac_status); } && |
10728 | (exit $ac_status); } && |
10973 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10729 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10730 | || test ! -s conftest.err' |
10974 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10975 | (eval $ac_try) 2>&5 |
10732 | (eval $ac_try) 2>&5 |
10976 | ac_status=$? |
10733 | ac_status=$? |
10977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10978 | (exit $ac_status); }; } && |
10735 | (exit $ac_status); }; } && |
… | |
… | |
10980 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10737 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10981 | (eval $ac_try) 2>&5 |
10738 | (eval $ac_try) 2>&5 |
10982 | ac_status=$? |
10739 | ac_status=$? |
10983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10984 | (exit $ac_status); }; }; then |
10741 | (exit $ac_status); }; }; then |
10985 | rxvt_cv_struct_lastlog=yes |
10742 | struct_lastlog=yes |
10986 | else |
10743 | else |
10987 | echo "$as_me: failed program was:" >&5 |
10744 | echo "$as_me: failed program was:" >&5 |
10988 | sed 's/^/| /' conftest.$ac_ext >&5 |
10745 | sed 's/^/| /' conftest.$ac_ext >&5 |
10989 | |
10746 | |
10990 | rxvt_cv_struct_lastlog=no |
10747 | struct_lastlog=no |
10991 | fi |
10748 | fi |
10992 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10749 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10993 | fi |
10750 | fi |
10994 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
10751 | echo "$as_me:$LINENO: result: $struct_lastlog" >&5 |
10995 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
10752 | echo "${ECHO_T}$struct_lastlog" >&6 |
10996 | if test x$rxvt_cv_struct_lastlog = xyes; then |
10753 | if test x$struct_lastlog = xyes; then |
10997 | |
10754 | |
10998 | cat >>confdefs.h <<\_ACEOF |
10755 | cat >>confdefs.h <<\_ACEOF |
10999 | #define HAVE_STRUCT_LASTLOG 1 |
10756 | #define HAVE_STRUCT_LASTLOG 1 |
11000 | _ACEOF |
10757 | _ACEOF |
11001 | |
10758 | |
11002 | fi |
10759 | fi |
11003 | |
10760 | |
11004 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10761 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
11005 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10762 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
11006 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
10763 | if test "${struct_lastlogx+set}" = set; then |
11007 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11008 | else |
10765 | else |
11009 | cat >conftest.$ac_ext <<_ACEOF |
10766 | cat >conftest.$ac_ext <<_ACEOF |
11010 | /* confdefs.h. */ |
10767 | /* confdefs.h. */ |
11011 | _ACEOF |
10768 | _ACEOF |
… | |
… | |
11033 | grep -v '^ *+' conftest.er1 >conftest.err |
10790 | grep -v '^ *+' conftest.er1 >conftest.err |
11034 | rm -f conftest.er1 |
10791 | rm -f conftest.er1 |
11035 | cat conftest.err >&5 |
10792 | cat conftest.err >&5 |
11036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11037 | (exit $ac_status); } && |
10794 | (exit $ac_status); } && |
11038 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10795 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10796 | || test ! -s conftest.err' |
11039 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10797 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11040 | (eval $ac_try) 2>&5 |
10798 | (eval $ac_try) 2>&5 |
11041 | ac_status=$? |
10799 | ac_status=$? |
11042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11043 | (exit $ac_status); }; } && |
10801 | (exit $ac_status); }; } && |
… | |
… | |
11045 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11046 | (eval $ac_try) 2>&5 |
10804 | (eval $ac_try) 2>&5 |
11047 | ac_status=$? |
10805 | ac_status=$? |
11048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11049 | (exit $ac_status); }; }; then |
10807 | (exit $ac_status); }; }; then |
11050 | rxvt_cv_struct_lastlogx=yes |
10808 | struct_lastlogx=yes |
11051 | else |
10809 | else |
11052 | echo "$as_me: failed program was:" >&5 |
10810 | echo "$as_me: failed program was:" >&5 |
11053 | sed 's/^/| /' conftest.$ac_ext >&5 |
10811 | sed 's/^/| /' conftest.$ac_ext >&5 |
11054 | |
10812 | |
11055 | rxvt_cv_struct_lastlogx=no |
10813 | struct_lastlogx=no |
11056 | fi |
10814 | fi |
11057 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10815 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11058 | fi |
10816 | fi |
11059 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
10817 | echo "$as_me:$LINENO: result: $struct_lastlogx" >&5 |
11060 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
10818 | echo "${ECHO_T}$struct_lastlogx" >&6 |
11061 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
10819 | if test x$struct_lastlogx = xyes; then |
11062 | |
10820 | |
11063 | cat >>confdefs.h <<\_ACEOF |
10821 | cat >>confdefs.h <<\_ACEOF |
11064 | #define HAVE_STRUCT_LASTLOGX 1 |
10822 | #define HAVE_STRUCT_LASTLOGX 1 |
11065 | _ACEOF |
10823 | _ACEOF |
11066 | |
10824 | |
11067 | fi |
10825 | fi |
11068 | |
10826 | |
11069 | |
10827 | |
11070 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10828 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
11071 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10829 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
11072 | if test "${rxvt_cv_path_utmp+set}" = set; then |
10830 | if test "${path_utmp+set}" = set; then |
11073 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10831 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11074 | else |
10832 | else |
11075 | if test "$cross_compiling" = yes; then |
10833 | if test "$cross_compiling" = yes; then |
11076 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
10834 | { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5 |
11077 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
10835 | echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
11078 | else |
10836 | else |
11079 | cat >conftest.$ac_ext <<_ACEOF |
10837 | cat >conftest.$ac_ext <<_ACEOF |
11080 | /* confdefs.h. */ |
10838 | /* confdefs.h. */ |
11081 | _ACEOF |
10839 | _ACEOF |
11082 | cat confdefs.h >>conftest.$ac_ext |
10840 | cat confdefs.h >>conftest.$ac_ext |
11083 | cat >>conftest.$ac_ext <<_ACEOF |
10841 | cat >>conftest.$ac_ext <<_ACEOF |
11084 | /* end confdefs.h. */ |
10842 | /* end confdefs.h. */ |
11085 | #include <stdio.h> |
10843 | #include <stdio.h> |
|
|
10844 | #include <stdlib.h> |
11086 | #include <sys/types.h> |
10845 | #include <sys/types.h> |
11087 | #include <utmp.h> |
10846 | #include <utmp.h> |
11088 | #include <errno.h> |
10847 | #include <errno.h> |
11089 | main() |
10848 | main() |
11090 | { |
10849 | { |
… | |
… | |
11118 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10877 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11119 | (eval $ac_try) 2>&5 |
10878 | (eval $ac_try) 2>&5 |
11120 | ac_status=$? |
10879 | ac_status=$? |
11121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11122 | (exit $ac_status); }; }; then |
10881 | (exit $ac_status); }; }; then |
11123 | rxvt_cv_path_utmp=`cat conftestval` |
10882 | path_utmp=`cat conftestval` |
11124 | else |
10883 | else |
11125 | echo "$as_me: program exited with status $ac_status" >&5 |
10884 | echo "$as_me: program exited with status $ac_status" >&5 |
11126 | echo "$as_me: failed program was:" >&5 |
10885 | echo "$as_me: failed program was:" >&5 |
11127 | sed 's/^/| /' conftest.$ac_ext >&5 |
10886 | sed 's/^/| /' conftest.$ac_ext >&5 |
11128 | |
10887 | |
11129 | ( exit $ac_status ) |
10888 | ( exit $ac_status ) |
11130 | rxvt_cv_path_utmp= |
10889 | path_utmp= |
11131 | fi |
10890 | fi |
11132 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10891 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11133 | fi |
10892 | fi |
11134 | fi |
10893 | fi |
11135 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
10894 | echo "$as_me:$LINENO: result: $path_utmp" >&5 |
11136 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
10895 | echo "${ECHO_T}$path_utmp" >&6 |
11137 | if test x$rxvt_cv_path_utmp != x; then |
10896 | if test x$path_utmp != x; then |
11138 | |
10897 | |
11139 | cat >>confdefs.h <<_ACEOF |
10898 | cat >>confdefs.h <<_ACEOF |
11140 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
10899 | #define UTMP_FILE "$path_utmp" |
11141 | _ACEOF |
10900 | _ACEOF |
11142 | |
10901 | |
11143 | fi |
10902 | fi |
11144 | |
10903 | |
11145 | |
10904 | |
11146 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
10905 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11147 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
10906 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11148 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
10907 | if test "${path_utmpx+set}" = set; then |
11149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10908 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11150 | else |
10909 | else |
11151 | if test "$cross_compiling" = yes; then |
10910 | if test "$cross_compiling" = yes; then |
11152 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
10911 | { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5 |
11153 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
10912 | echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;} |
11154 | else |
10913 | else |
11155 | cat >conftest.$ac_ext <<_ACEOF |
10914 | cat >conftest.$ac_ext <<_ACEOF |
11156 | /* confdefs.h. */ |
10915 | /* confdefs.h. */ |
11157 | _ACEOF |
10916 | _ACEOF |
11158 | cat confdefs.h >>conftest.$ac_ext |
10917 | cat confdefs.h >>conftest.$ac_ext |
11159 | cat >>conftest.$ac_ext <<_ACEOF |
10918 | cat >>conftest.$ac_ext <<_ACEOF |
11160 | /* end confdefs.h. */ |
10919 | /* end confdefs.h. */ |
11161 | #include <stdio.h> |
10920 | #include <stdio.h> |
|
|
10921 | #include <stdlib.h> |
11162 | #include <sys/types.h> |
10922 | #include <sys/types.h> |
11163 | #include <utmpx.h> |
10923 | #include <utmpx.h> |
11164 | #include <errno.h> |
10924 | #include <errno.h> |
11165 | #include <sys/stat.h> |
10925 | #include <sys/stat.h> |
11166 | #ifdef HAVE_STRING_H |
10926 | #ifdef HAVE_STRING_H |
… | |
… | |
11204 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11205 | (eval $ac_try) 2>&5 |
10965 | (eval $ac_try) 2>&5 |
11206 | ac_status=$? |
10966 | ac_status=$? |
11207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11208 | (exit $ac_status); }; }; then |
10968 | (exit $ac_status); }; }; then |
11209 | rxvt_cv_path_utmpx=`cat conftestval` |
10969 | path_utmpx=`cat conftestval` |
11210 | else |
10970 | else |
11211 | echo "$as_me: program exited with status $ac_status" >&5 |
10971 | echo "$as_me: program exited with status $ac_status" >&5 |
11212 | echo "$as_me: failed program was:" >&5 |
10972 | echo "$as_me: failed program was:" >&5 |
11213 | sed 's/^/| /' conftest.$ac_ext >&5 |
10973 | sed 's/^/| /' conftest.$ac_ext >&5 |
11214 | |
10974 | |
11215 | ( exit $ac_status ) |
10975 | ( exit $ac_status ) |
11216 | rxvt_cv_path_utmpx= |
10976 | path_utmpx= |
11217 | fi |
10977 | fi |
11218 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10978 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11219 | fi |
10979 | fi |
11220 | fi |
10980 | fi |
11221 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
10981 | echo "$as_me:$LINENO: result: $path_utmpx" >&5 |
11222 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
10982 | echo "${ECHO_T}$path_utmpx" >&6 |
11223 | if test x$rxvt_cv_path_utmpx != x; then |
10983 | if test x$path_utmpx != x; then |
11224 | |
10984 | |
11225 | cat >>confdefs.h <<_ACEOF |
10985 | cat >>confdefs.h <<_ACEOF |
11226 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
10986 | #define UTMPX_FILE "$path_utmpx" |
11227 | _ACEOF |
10987 | _ACEOF |
11228 | |
10988 | |
11229 | fi |
10989 | fi |
11230 | |
10990 | |
11231 | |
10991 | |
11232 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
10992 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11233 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
10993 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11234 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
10994 | if test "${path_wtmp+set}" = set; then |
11235 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10995 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11236 | else |
10996 | else |
11237 | if test "$cross_compiling" = yes; then |
10997 | if test "$cross_compiling" = yes; then |
11238 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
10998 | { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5 |
11239 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
10999 | echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
11240 | else |
11000 | else |
11241 | cat >conftest.$ac_ext <<_ACEOF |
11001 | cat >conftest.$ac_ext <<_ACEOF |
11242 | /* confdefs.h. */ |
11002 | /* confdefs.h. */ |
11243 | _ACEOF |
11003 | _ACEOF |
11244 | cat confdefs.h >>conftest.$ac_ext |
11004 | cat confdefs.h >>conftest.$ac_ext |
11245 | cat >>conftest.$ac_ext <<_ACEOF |
11005 | cat >>conftest.$ac_ext <<_ACEOF |
11246 | /* end confdefs.h. */ |
11006 | /* end confdefs.h. */ |
11247 | #include <stdio.h> |
11007 | #include <stdio.h> |
|
|
11008 | #include <stdlib.h> |
11248 | #include <sys/types.h> |
11009 | #include <sys/types.h> |
11249 | #ifdef HAVE_UTMP_H |
11010 | #ifdef HAVE_UTMP_H |
11250 | #include <utmp.h> |
11011 | #include <utmp.h> |
11251 | #endif |
11012 | #endif |
11252 | #include <errno.h> |
11013 | #include <errno.h> |
… | |
… | |
11282 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11043 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11283 | (eval $ac_try) 2>&5 |
11044 | (eval $ac_try) 2>&5 |
11284 | ac_status=$? |
11045 | ac_status=$? |
11285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11286 | (exit $ac_status); }; }; then |
11047 | (exit $ac_status); }; }; then |
11287 | rxvt_cv_path_wtmp=`cat conftestval` |
11048 | path_wtmp=`cat conftestval` |
11288 | else |
11049 | else |
11289 | echo "$as_me: program exited with status $ac_status" >&5 |
11050 | echo "$as_me: program exited with status $ac_status" >&5 |
11290 | echo "$as_me: failed program was:" >&5 |
11051 | echo "$as_me: failed program was:" >&5 |
11291 | sed 's/^/| /' conftest.$ac_ext >&5 |
11052 | sed 's/^/| /' conftest.$ac_ext >&5 |
11292 | |
11053 | |
11293 | ( exit $ac_status ) |
11054 | ( exit $ac_status ) |
11294 | rxvt_cv_path_wtmp= |
11055 | path_wtmp= |
11295 | fi |
11056 | fi |
11296 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11057 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11297 | fi |
11058 | fi |
11298 | fi |
11059 | fi |
11299 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
11060 | echo "$as_me:$LINENO: result: $path_wtmp" >&5 |
11300 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
11061 | echo "${ECHO_T}$path_wtmp" >&6 |
11301 | if test x$rxvt_cv_path_wtmp != x; then |
11062 | if test x$path_wtmp != x; then |
11302 | |
11063 | |
11303 | cat >>confdefs.h <<_ACEOF |
11064 | cat >>confdefs.h <<_ACEOF |
11304 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
11065 | #define WTMP_FILE "$path_wtmp" |
11305 | _ACEOF |
11066 | _ACEOF |
11306 | |
11067 | |
11307 | fi |
11068 | fi |
11308 | |
11069 | |
11309 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11070 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11310 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11071 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11311 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
11072 | if test "${path_wtmpx+set}" = set; then |
11312 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11073 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11313 | else |
11074 | else |
11314 | if test "$cross_compiling" = yes; then |
11075 | if test "$cross_compiling" = yes; then |
11315 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
11076 | { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
11316 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
11077 | echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
11317 | else |
11078 | else |
11318 | cat >conftest.$ac_ext <<_ACEOF |
11079 | cat >conftest.$ac_ext <<_ACEOF |
11319 | /* confdefs.h. */ |
11080 | /* confdefs.h. */ |
11320 | _ACEOF |
11081 | _ACEOF |
11321 | cat confdefs.h >>conftest.$ac_ext |
11082 | cat confdefs.h >>conftest.$ac_ext |
11322 | cat >>conftest.$ac_ext <<_ACEOF |
11083 | cat >>conftest.$ac_ext <<_ACEOF |
11323 | /* end confdefs.h. */ |
11084 | /* end confdefs.h. */ |
11324 | #include <stdio.h> |
11085 | #include <stdio.h> |
|
|
11086 | #include <stdlib.h> |
11325 | #ifdef HAVE_UTMPX_H |
11087 | #ifdef HAVE_UTMPX_H |
11326 | #include <utmpx.h> |
11088 | #include <utmpx.h> |
11327 | #endif |
11089 | #endif |
11328 | #include <errno.h> |
11090 | #include <errno.h> |
11329 | main() |
11091 | main() |
… | |
… | |
11358 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11120 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11359 | (eval $ac_try) 2>&5 |
11121 | (eval $ac_try) 2>&5 |
11360 | ac_status=$? |
11122 | ac_status=$? |
11361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11362 | (exit $ac_status); }; }; then |
11124 | (exit $ac_status); }; }; then |
11363 | rxvt_cv_path_wtmpx=`cat conftestval` |
11125 | path_wtmpx=`cat conftestval` |
11364 | else |
11126 | else |
11365 | echo "$as_me: program exited with status $ac_status" >&5 |
11127 | echo "$as_me: program exited with status $ac_status" >&5 |
11366 | echo "$as_me: failed program was:" >&5 |
11128 | echo "$as_me: failed program was:" >&5 |
11367 | sed 's/^/| /' conftest.$ac_ext >&5 |
11129 | sed 's/^/| /' conftest.$ac_ext >&5 |
11368 | |
11130 | |
11369 | ( exit $ac_status ) |
11131 | ( exit $ac_status ) |
11370 | rxvt_cv_path_wtmpx= |
11132 | path_wtmpx= |
11371 | fi |
11133 | fi |
11372 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11134 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11373 | fi |
11135 | fi |
11374 | fi |
11136 | fi |
11375 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
11137 | echo "$as_me:$LINENO: result: $path_wtmpx" >&5 |
11376 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
11138 | echo "${ECHO_T}$path_wtmpx" >&6 |
11377 | if test x$rxvt_cv_path_wtmpx != x; then |
11139 | if test x$path_wtmpx != x; then |
11378 | |
11140 | |
11379 | cat >>confdefs.h <<_ACEOF |
11141 | cat >>confdefs.h <<_ACEOF |
11380 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
11142 | #define WTMPX_FILE "$path_wtmpx" |
11381 | _ACEOF |
11143 | _ACEOF |
11382 | |
11144 | |
11383 | fi |
11145 | fi |
11384 | |
11146 | |
11385 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11147 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11386 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11148 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11387 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
11149 | if test "${path_lastlog+set}" = set; then |
11388 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11150 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11389 | else |
11151 | else |
11390 | if test "$cross_compiling" = yes; then |
11152 | if test "$cross_compiling" = yes; then |
11391 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
11153 | { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
11392 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
11154 | echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
11393 | else |
11155 | else |
11394 | cat >conftest.$ac_ext <<_ACEOF |
11156 | cat >conftest.$ac_ext <<_ACEOF |
11395 | /* confdefs.h. */ |
11157 | /* confdefs.h. */ |
11396 | _ACEOF |
11158 | _ACEOF |
11397 | cat confdefs.h >>conftest.$ac_ext |
11159 | cat confdefs.h >>conftest.$ac_ext |
11398 | cat >>conftest.$ac_ext <<_ACEOF |
11160 | cat >>conftest.$ac_ext <<_ACEOF |
11399 | /* end confdefs.h. */ |
11161 | /* end confdefs.h. */ |
11400 | #include <stdio.h> |
11162 | #include <stdio.h> |
|
|
11163 | #include <stdlib.h> |
11401 | #include <sys/types.h> |
11164 | #include <sys/types.h> |
11402 | #ifdef HAVE_UTMPX_H |
11165 | #ifdef HAVE_UTMPX_H |
11403 | #include <utmpx.h> |
11166 | #include <utmpx.h> |
11404 | #elif defined(HAVE_UTMP_H) |
11167 | #elif defined(HAVE_UTMP_H) |
11405 | #include <utmp.h> |
11168 | #include <utmp.h> |
… | |
… | |
11439 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11440 | (eval $ac_try) 2>&5 |
11203 | (eval $ac_try) 2>&5 |
11441 | ac_status=$? |
11204 | ac_status=$? |
11442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11443 | (exit $ac_status); }; }; then |
11206 | (exit $ac_status); }; }; then |
11444 | rxvt_cv_path_lastlog=`cat conftestval` |
11207 | path_lastlog=`cat conftestval` |
11445 | else |
11208 | else |
11446 | echo "$as_me: program exited with status $ac_status" >&5 |
11209 | echo "$as_me: program exited with status $ac_status" >&5 |
11447 | echo "$as_me: failed program was:" >&5 |
11210 | echo "$as_me: failed program was:" >&5 |
11448 | sed 's/^/| /' conftest.$ac_ext >&5 |
11211 | sed 's/^/| /' conftest.$ac_ext >&5 |
11449 | |
11212 | |
11450 | ( exit $ac_status ) |
11213 | ( exit $ac_status ) |
11451 | rxvt_cv_path_lastlog= |
11214 | path_lastlog= |
11452 | fi |
11215 | fi |
11453 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11216 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11454 | fi |
11217 | fi |
11455 | fi |
11218 | fi |
11456 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
11219 | echo "$as_me:$LINENO: result: $path_lastlog" >&5 |
11457 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
11220 | echo "${ECHO_T}$path_lastlog" >&6 |
11458 | if test x$rxvt_cv_path_lastlog != x; then |
11221 | if test x$path_lastlog != x; then |
11459 | |
11222 | |
11460 | cat >>confdefs.h <<_ACEOF |
11223 | cat >>confdefs.h <<_ACEOF |
11461 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
11224 | #define LASTLOG_FILE "$path_lastlog" |
11462 | _ACEOF |
11225 | _ACEOF |
11463 | |
11226 | |
11464 | if test -d "$rxvt_cv_path_lastlog"; then |
11227 | if test -d "$path_lastlog"; then |
11465 | |
11228 | |
11466 | cat >>confdefs.h <<\_ACEOF |
11229 | cat >>confdefs.h <<\_ACEOF |
11467 | #define LASTLOG_IS_DIR 1 |
11230 | #define LASTLOG_IS_DIR 1 |
11468 | _ACEOF |
11231 | _ACEOF |
11469 | |
11232 | |
11470 | fi |
11233 | fi |
11471 | fi |
11234 | fi |
11472 | |
11235 | |
11473 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11236 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11474 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11237 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11475 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
11238 | if test "${path_lastlogx+set}" = set; then |
11476 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11239 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11477 | else |
11240 | else |
11478 | if test "$cross_compiling" = yes; then |
11241 | if test "$cross_compiling" = yes; then |
11479 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
11242 | { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
11480 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
11243 | echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
11481 | else |
11244 | else |
11482 | cat >conftest.$ac_ext <<_ACEOF |
11245 | cat >conftest.$ac_ext <<_ACEOF |
11483 | /* confdefs.h. */ |
11246 | /* confdefs.h. */ |
11484 | _ACEOF |
11247 | _ACEOF |
11485 | cat confdefs.h >>conftest.$ac_ext |
11248 | cat confdefs.h >>conftest.$ac_ext |
11486 | cat >>conftest.$ac_ext <<_ACEOF |
11249 | cat >>conftest.$ac_ext <<_ACEOF |
11487 | /* end confdefs.h. */ |
11250 | /* end confdefs.h. */ |
11488 | #include <stdio.h> |
11251 | #include <stdio.h> |
|
|
11252 | #include <stdlib.h> |
11489 | #ifdef HAVE_UTMPX_H |
11253 | #ifdef HAVE_UTMPX_H |
11490 | #include <utmpx.h> |
11254 | #include <utmpx.h> |
11491 | #endif |
11255 | #endif |
11492 | #include <errno.h> |
11256 | #include <errno.h> |
11493 | main() |
11257 | main() |
… | |
… | |
11521 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11285 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11522 | (eval $ac_try) 2>&5 |
11286 | (eval $ac_try) 2>&5 |
11523 | ac_status=$? |
11287 | ac_status=$? |
11524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11525 | (exit $ac_status); }; }; then |
11289 | (exit $ac_status); }; }; then |
11526 | rxvt_cv_path_lastlogx=`cat conftestval` |
11290 | path_lastlogx=`cat conftestval` |
11527 | else |
11291 | else |
11528 | echo "$as_me: program exited with status $ac_status" >&5 |
11292 | echo "$as_me: program exited with status $ac_status" >&5 |
11529 | echo "$as_me: failed program was:" >&5 |
11293 | echo "$as_me: failed program was:" >&5 |
11530 | sed 's/^/| /' conftest.$ac_ext >&5 |
11294 | sed 's/^/| /' conftest.$ac_ext >&5 |
11531 | |
11295 | |
11532 | ( exit $ac_status ) |
11296 | ( exit $ac_status ) |
11533 | rxvt_cv_path_lastlogx= |
11297 | path_lastlogx= |
11534 | fi |
11298 | fi |
11535 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11299 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11536 | fi |
11300 | fi |
11537 | fi |
11301 | fi |
11538 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
11302 | echo "$as_me:$LINENO: result: $path_lastlogx" >&5 |
11539 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
11303 | echo "${ECHO_T}$path_lastlogx" >&6 |
11540 | if test x$rxvt_cv_path_lastlogx != x; then |
11304 | if test x$path_lastlogx != x; then |
11541 | |
11305 | |
11542 | cat >>confdefs.h <<_ACEOF |
11306 | cat >>confdefs.h <<_ACEOF |
11543 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
11307 | #define LASTLOGX_FILE "$path_lastlogx" |
11544 | _ACEOF |
11308 | _ACEOF |
11545 | |
11309 | |
11546 | fi |
11310 | fi |
|
|
11311 | |
11547 | |
11312 | |
11548 | |
11313 | |
11549 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11314 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11550 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11315 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11551 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
11316 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
… | |
… | |
11573 | |
11338 | |
11574 | ac_save_LIBS=$LIBS |
11339 | ac_save_LIBS=$LIBS |
11575 | ac_save_CFLAGS=$CFLAGS |
11340 | ac_save_CFLAGS=$CFLAGS |
11576 | CFLAGS="$CFLAGS $X_CFLAGS" |
11341 | CFLAGS="$CFLAGS $X_CFLAGS" |
11577 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11342 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11578 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
11579 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
11580 | fi |
|
|
11581 | echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11343 | echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11582 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 |
11344 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 |
11583 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11345 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11584 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11346 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11585 | else |
11347 | else |
11586 | if test "$cross_compiling" = yes; then |
11348 | if test "$cross_compiling" = yes; then |
11587 | { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 |
11349 | : |
11588 | echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;} |
|
|
11589 | else |
11350 | else |
11590 | cat >conftest.$ac_ext <<_ACEOF |
11351 | cat >conftest.$ac_ext <<_ACEOF |
11591 | /* confdefs.h. */ |
11352 | /* confdefs.h. */ |
11592 | _ACEOF |
11353 | _ACEOF |
11593 | cat confdefs.h >>conftest.$ac_ext |
11354 | cat confdefs.h >>conftest.$ac_ext |
11594 | cat >>conftest.$ac_ext <<_ACEOF |
11355 | cat >>conftest.$ac_ext <<_ACEOF |
11595 | /* end confdefs.h. */ |
11356 | /* end confdefs.h. */ |
11596 | #include <X11/Xlib.h> |
11357 | #include <X11/Xlib.h> |
|
|
11358 | #include <stdlib.h> |
11597 | main() { |
11359 | main() { |
11598 | char *p; |
11360 | char *p; |
11599 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11361 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11600 | exit (XSupportsLocale() ? 0 : 1); |
11362 | exit (XSupportsLocale() ? 0 : 1); |
11601 | else |
11363 | else |
… | |
… | |
11624 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11386 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11625 | fi |
11387 | fi |
11626 | fi |
11388 | fi |
11627 | echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11389 | echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11628 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 |
11390 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 |
|
|
11391 | if test x$support_xim = xyes; then |
11629 | if test x$rxvt_cv_func_xlocale = xyes; then |
11392 | if test x$rxvt_cv_func_xlocale = xyes; then |
11630 | |
11393 | |
11631 | cat >>confdefs.h <<\_ACEOF |
11394 | cat >>confdefs.h <<\_ACEOF |
11632 | #define HAVE_XLOCALE 1 |
11395 | #define USE_XIM 1 |
11633 | _ACEOF |
11396 | _ACEOF |
11634 | |
11397 | |
|
|
11398 | fi |
11635 | fi |
11399 | fi |
11636 | |
11400 | |
11637 | echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11401 | echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11638 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 |
11402 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 |
11639 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
11403 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
… | |
… | |
11662 | grep -v '^ *+' conftest.er1 >conftest.err |
11426 | grep -v '^ *+' conftest.er1 >conftest.err |
11663 | rm -f conftest.er1 |
11427 | rm -f conftest.er1 |
11664 | cat conftest.err >&5 |
11428 | cat conftest.err >&5 |
11665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11666 | (exit $ac_status); } && |
11430 | (exit $ac_status); } && |
11667 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11431 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11432 | || test ! -s conftest.err' |
11668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11669 | (eval $ac_try) 2>&5 |
11434 | (eval $ac_try) 2>&5 |
11670 | ac_status=$? |
11435 | ac_status=$? |
11671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11672 | (exit $ac_status); }; } && |
11437 | (exit $ac_status); }; } && |
… | |
… | |
11725 | grep -v '^ *+' conftest.er1 >conftest.err |
11490 | grep -v '^ *+' conftest.er1 >conftest.err |
11726 | rm -f conftest.er1 |
11491 | rm -f conftest.er1 |
11727 | cat conftest.err >&5 |
11492 | cat conftest.err >&5 |
11728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11729 | (exit $ac_status); } && |
11494 | (exit $ac_status); } && |
11730 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11495 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11496 | || test ! -s conftest.err' |
11731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11732 | (eval $ac_try) 2>&5 |
11498 | (eval $ac_try) 2>&5 |
11733 | ac_status=$? |
11499 | ac_status=$? |
11734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11735 | (exit $ac_status); }; } && |
11501 | (exit $ac_status); }; } && |
… | |
… | |
11786 | grep -v '^ *+' conftest.er1 >conftest.err |
11552 | grep -v '^ *+' conftest.er1 >conftest.err |
11787 | rm -f conftest.er1 |
11553 | rm -f conftest.er1 |
11788 | cat conftest.err >&5 |
11554 | cat conftest.err >&5 |
11789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11790 | (exit $ac_status); } && |
11556 | (exit $ac_status); } && |
11791 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11557 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11558 | || test ! -s conftest.err' |
11792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11559 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11793 | (eval $ac_try) 2>&5 |
11560 | (eval $ac_try) 2>&5 |
11794 | ac_status=$? |
11561 | ac_status=$? |
11795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11562 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11796 | (exit $ac_status); }; } && |
11563 | (exit $ac_status); }; } && |
… | |
… | |
11818 | #define HAVE_NL_LANGINFO 1 |
11585 | #define HAVE_NL_LANGINFO 1 |
11819 | _ACEOF |
11586 | _ACEOF |
11820 | |
11587 | |
11821 | fi |
11588 | fi |
11822 | |
11589 | |
|
|
11590 | |
11823 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11591 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11824 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11592 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11825 | if test "${rxvt_can_pass_fds+set}" = set; then |
11593 | if test "${can_pass_fds+set}" = set; then |
11826 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11594 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11827 | else |
11595 | else |
11828 | cat >conftest.$ac_ext <<_ACEOF |
11596 | cat >conftest.$ac_ext <<_ACEOF |
11829 | /* confdefs.h. */ |
11597 | /* confdefs.h. */ |
11830 | _ACEOF |
11598 | _ACEOF |
11831 | cat confdefs.h >>conftest.$ac_ext |
11599 | cat confdefs.h >>conftest.$ac_ext |
11832 | cat >>conftest.$ac_ext <<_ACEOF |
11600 | cat >>conftest.$ac_ext <<_ACEOF |
11833 | /* end confdefs.h. */ |
11601 | /* end confdefs.h. */ |
11834 | |
11602 | |
|
|
11603 | #include <cstddef> // broken bsds (is that redundant?) need this |
11835 | #include <sys/types.h> |
11604 | #include <sys/types.h> |
11836 | #include <sys/socket.h> |
11605 | #include <sys/socket.h> |
|
|
11606 | #include <sys/uio.h> |
11837 | |
11607 | |
11838 | int |
11608 | int |
11839 | main () |
11609 | main () |
11840 | { |
11610 | { |
11841 | |
11611 | |
… | |
… | |
11874 | grep -v '^ *+' conftest.er1 >conftest.err |
11644 | grep -v '^ *+' conftest.er1 >conftest.err |
11875 | rm -f conftest.er1 |
11645 | rm -f conftest.er1 |
11876 | cat conftest.err >&5 |
11646 | cat conftest.err >&5 |
11877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11878 | (exit $ac_status); } && |
11648 | (exit $ac_status); } && |
11879 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11649 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11650 | || test ! -s conftest.err' |
11880 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11651 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11881 | (eval $ac_try) 2>&5 |
11652 | (eval $ac_try) 2>&5 |
11882 | ac_status=$? |
11653 | ac_status=$? |
11883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11884 | (exit $ac_status); }; } && |
11655 | (exit $ac_status); }; } && |
… | |
… | |
11886 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11887 | (eval $ac_try) 2>&5 |
11658 | (eval $ac_try) 2>&5 |
11888 | ac_status=$? |
11659 | ac_status=$? |
11889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11890 | (exit $ac_status); }; }; then |
11661 | (exit $ac_status); }; }; then |
11891 | rxvt_can_pass_fds=yes |
11662 | can_pass_fds=yes |
11892 | else |
11663 | else |
11893 | echo "$as_me: failed program was:" >&5 |
11664 | echo "$as_me: failed program was:" >&5 |
11894 | sed 's/^/| /' conftest.$ac_ext >&5 |
11665 | sed 's/^/| /' conftest.$ac_ext >&5 |
11895 | |
11666 | |
11896 | rxvt_can_pass_fds=no |
11667 | can_pass_fds=no |
11897 | fi |
11668 | fi |
11898 | rm -f conftest.err conftest.$ac_objext \ |
11669 | rm -f conftest.err conftest.$ac_objext \ |
11899 | conftest$ac_exeext conftest.$ac_ext |
11670 | conftest$ac_exeext conftest.$ac_ext |
11900 | fi |
11671 | fi |
11901 | echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 |
11672 | echo "$as_me:$LINENO: result: $can_pass_fds" >&5 |
11902 | echo "${ECHO_T}$rxvt_can_pass_fds" >&6 |
11673 | echo "${ECHO_T}$can_pass_fds" >&6 |
11903 | if test x$rxvt_can_pass_fds = xyes; then |
11674 | if test x$can_pass_fds = xyes; then |
11904 | |
11675 | |
11905 | cat >>confdefs.h <<\_ACEOF |
11676 | cat >>confdefs.h <<\_ACEOF |
11906 | #define HAVE_UNIX_FDPASS 1 |
11677 | #define HAVE_UNIX_FDPASS 1 |
11907 | _ACEOF |
11678 | _ACEOF |
11908 | |
11679 | |
|
|
11680 | else |
|
|
11681 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
|
|
11682 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
|
|
11683 | { (exit 1); exit 1; }; } |
11909 | fi |
11684 | fi |
|
|
11685 | |
11910 | |
11686 | |
11911 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11687 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11912 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11688 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11913 | if test "${rxvt_broken_ximcb+set}" = set; then |
11689 | if test "${rxvt_broken_ximcb+set}" = set; then |
11914 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11690 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11932 | grep -v '^ *+' conftest.er1 >conftest.err |
11708 | grep -v '^ *+' conftest.er1 >conftest.err |
11933 | rm -f conftest.er1 |
11709 | rm -f conftest.er1 |
11934 | cat conftest.err >&5 |
11710 | cat conftest.err >&5 |
11935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11936 | (exit $ac_status); } && |
11712 | (exit $ac_status); } && |
11937 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11713 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11714 | || test ! -s conftest.err' |
11938 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11715 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11939 | (eval $ac_try) 2>&5 |
11716 | (eval $ac_try) 2>&5 |
11940 | ac_status=$? |
11717 | ac_status=$? |
11941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11942 | (exit $ac_status); }; } && |
11719 | (exit $ac_status); }; } && |
… | |
… | |
11964 | #define XIMCB_PROTO_BROKEN 1 |
11741 | #define XIMCB_PROTO_BROKEN 1 |
11965 | _ACEOF |
11742 | _ACEOF |
11966 | |
11743 | |
11967 | fi |
11744 | fi |
11968 | |
11745 | |
11969 | if test x$ac_cv_func_posix_openpt = xno; then |
|
|
11970 | echo "$as_me:$LINENO: checking for openpty" >&5 |
|
|
11971 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
|
|
11972 | if test "${ac_cv_func_openpty+set}" = set; then |
|
|
11973 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11974 | else |
|
|
11975 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11976 | /* confdefs.h. */ |
|
|
11977 | _ACEOF |
|
|
11978 | cat confdefs.h >>conftest.$ac_ext |
|
|
11979 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11980 | /* end confdefs.h. */ |
|
|
11981 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
|
|
11982 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
11983 | #define openpty innocuous_openpty |
|
|
11984 | |
11746 | |
11985 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11986 | which can conflict with char openpty (); below. |
|
|
11987 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
11988 | <limits.h> exists even on freestanding compilers. */ |
|
|
11989 | |
11747 | |
11990 | #ifdef __STDC__ |
|
|
11991 | # include <limits.h> |
|
|
11992 | #else |
|
|
11993 | # include <assert.h> |
|
|
11994 | #endif |
|
|
11995 | |
11748 | |
11996 | #undef openpty |
|
|
11997 | |
11749 | |
11998 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11999 | #ifdef __cplusplus |
|
|
12000 | extern "C" |
|
|
12001 | { |
|
|
12002 | #endif |
|
|
12003 | /* We use char because int might match the return type of a gcc2 |
|
|
12004 | builtin and then its argument prototype would still apply. */ |
|
|
12005 | char openpty (); |
|
|
12006 | /* The GNU C library defines this for functions which it implements |
|
|
12007 | to always fail with ENOSYS. Some functions are actually named |
|
|
12008 | something starting with __ and the normal name is an alias. */ |
|
|
12009 | #if defined (__stub_openpty) || defined (__stub___openpty) |
|
|
12010 | choke me |
|
|
12011 | #else |
|
|
12012 | char (*f) () = openpty; |
|
|
12013 | #endif |
|
|
12014 | #ifdef __cplusplus |
|
|
12015 | } |
|
|
12016 | #endif |
|
|
12017 | |
11750 | |
12018 | int |
|
|
12019 | main () |
|
|
12020 | { |
|
|
12021 | return f != openpty; |
|
|
12022 | ; |
|
|
12023 | return 0; |
|
|
12024 | } |
|
|
12025 | _ACEOF |
|
|
12026 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12027 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12028 | (eval $ac_link) 2>conftest.er1 |
|
|
12029 | ac_status=$? |
|
|
12030 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12031 | rm -f conftest.er1 |
|
|
12032 | cat conftest.err >&5 |
|
|
12033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12034 | (exit $ac_status); } && |
|
|
12035 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12036 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12037 | (eval $ac_try) 2>&5 |
|
|
12038 | ac_status=$? |
|
|
12039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12040 | (exit $ac_status); }; } && |
|
|
12041 | { ac_try='test -s conftest$ac_exeext' |
|
|
12042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12043 | (eval $ac_try) 2>&5 |
|
|
12044 | ac_status=$? |
|
|
12045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12046 | (exit $ac_status); }; }; then |
|
|
12047 | ac_cv_func_openpty=yes |
|
|
12048 | else |
|
|
12049 | echo "$as_me: failed program was:" >&5 |
|
|
12050 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12051 | |
11751 | |
12052 | ac_cv_func_openpty=no |
11752 | for ac_header in \ |
12053 | fi |
11753 | pty.h \ |
12054 | rm -f conftest.err conftest.$ac_objext \ |
11754 | util.h \ |
12055 | conftest$ac_exeext conftest.$ac_ext |
11755 | libutil.h \ |
12056 | fi |
11756 | sys/ioctl.h \ |
12057 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
11757 | sys/stropts.h \ |
12058 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
|
|
12059 | if test $ac_cv_func_openpty = yes; then |
|
|
12060 | : |
|
|
12061 | else |
|
|
12062 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12063 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12064 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12065 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12066 | else |
|
|
12067 | ac_check_lib_save_LIBS=$LIBS |
|
|
12068 | LIBS="-lutil $LIBS" |
|
|
12069 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12070 | /* confdefs.h. */ |
|
|
12071 | _ACEOF |
|
|
12072 | cat confdefs.h >>conftest.$ac_ext |
|
|
12073 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12074 | /* end confdefs.h. */ |
|
|
12075 | |
11758 | |
12076 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12077 | #ifdef __cplusplus |
|
|
12078 | extern "C" |
|
|
12079 | #endif |
|
|
12080 | /* We use char because int might match the return type of a gcc2 |
|
|
12081 | builtin and then its argument prototype would still apply. */ |
|
|
12082 | char openpty (); |
|
|
12083 | int |
|
|
12084 | main () |
|
|
12085 | { |
|
|
12086 | openpty (); |
|
|
12087 | ; |
|
|
12088 | return 0; |
|
|
12089 | } |
|
|
12090 | _ACEOF |
|
|
12091 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12092 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12093 | (eval $ac_link) 2>conftest.er1 |
|
|
12094 | ac_status=$? |
|
|
12095 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12096 | rm -f conftest.er1 |
|
|
12097 | cat conftest.err >&5 |
|
|
12098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12099 | (exit $ac_status); } && |
|
|
12100 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12101 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12102 | (eval $ac_try) 2>&5 |
|
|
12103 | ac_status=$? |
|
|
12104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12105 | (exit $ac_status); }; } && |
|
|
12106 | { ac_try='test -s conftest$ac_exeext' |
|
|
12107 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12108 | (eval $ac_try) 2>&5 |
|
|
12109 | ac_status=$? |
|
|
12110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12111 | (exit $ac_status); }; }; then |
|
|
12112 | ac_cv_lib_util_openpty=yes |
|
|
12113 | else |
|
|
12114 | echo "$as_me: failed program was:" >&5 |
|
|
12115 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12116 | |
|
|
12117 | ac_cv_lib_util_openpty=no |
|
|
12118 | fi |
|
|
12119 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12120 | conftest$ac_exeext conftest.$ac_ext |
|
|
12121 | LIBS=$ac_check_lib_save_LIBS |
|
|
12122 | fi |
|
|
12123 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12124 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12125 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12126 | LIBS="$LIBS -lutil" |
|
|
12127 | fi |
|
|
12128 | |
|
|
12129 | fi |
|
|
12130 | |
|
|
12131 | fi |
|
|
12132 | |
|
|
12133 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
|
|
12134 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
|
|
12135 | if test "${rxvt_cv_ptys+set}" = set; then |
|
|
12136 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12137 | else |
|
|
12138 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
|
|
12139 | rxvt_cv_ptys=OPENPTY |
|
|
12140 | else if test x$ac_cv_func_posix_openpt = xyes; then |
|
|
12141 | rxvt_cv_ptys=POSIX |
|
|
12142 | else if test x$ac_cv_func__getpty = xyes; then |
|
|
12143 | rxvt_cv_ptys=SGI4 |
|
|
12144 | else if test -c /dev/ttyp20; then |
|
|
12145 | rxvt_cv_ptys=SCO |
|
|
12146 | else if test -c /dev/ptym/clone; then |
|
|
12147 | rxvt_cv_ptys=HPUX |
|
|
12148 | else if test -c /dev/ptc -a -c /dev/pts; then |
|
|
12149 | rxvt_cv_ptys=PTC |
|
|
12150 | else if test -c /dev/ptc -a -d /dev/pts; then |
|
|
12151 | rxvt_cv_ptys=PTC |
|
|
12152 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
|
|
12153 | rxvt_cv_ptys=STREAMS |
|
|
12154 | else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then |
|
|
12155 | rxvt_cv_ptys=STREAMS |
|
|
12156 | else |
|
|
12157 | rxvt_cv_ptys=BSD |
|
|
12158 | fi |
|
|
12159 | fi |
|
|
12160 | fi |
|
|
12161 | fi |
|
|
12162 | fi |
|
|
12163 | fi |
|
|
12164 | fi |
|
|
12165 | fi |
|
|
12166 | fi |
|
|
12167 | |
|
|
12168 | fi |
|
|
12169 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
|
|
12170 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
|
|
12171 | |
|
|
12172 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12173 | |
|
|
12174 | cat >>confdefs.h <<\_ACEOF |
|
|
12175 | #define PTYS_ARE_POSIX 1 |
|
|
12176 | _ACEOF |
|
|
12177 | |
|
|
12178 | fi |
|
|
12179 | if test x$rxvt_cv_ptys = xOPENPTY; then |
|
|
12180 | |
|
|
12181 | cat >>confdefs.h <<\_ACEOF |
|
|
12182 | #define PTYS_ARE_OPENPTY 1 |
|
|
12183 | _ACEOF |
|
|
12184 | |
|
|
12185 | fi |
|
|
12186 | if test x$rxvt_cv_ptys = xSCO; then |
|
|
12187 | |
|
|
12188 | cat >>confdefs.h <<\_ACEOF |
|
|
12189 | #define PTYS_ARE_NUMERIC 1 |
|
|
12190 | _ACEOF |
|
|
12191 | |
|
|
12192 | fi |
|
|
12193 | if test x$rxvt_cv_ptys = xSTREAMS; then |
|
|
12194 | |
|
|
12195 | cat >>confdefs.h <<\_ACEOF |
|
|
12196 | #define PTYS_ARE_PTMX 1 |
|
|
12197 | _ACEOF |
|
|
12198 | |
|
|
12199 | fi |
|
|
12200 | if test x$rxvt_cv_ptys = xPTC; then |
|
|
12201 | |
|
|
12202 | cat >>confdefs.h <<\_ACEOF |
|
|
12203 | #define PTYS_ARE_PTC 1 |
|
|
12204 | _ACEOF |
|
|
12205 | |
|
|
12206 | fi |
|
|
12207 | if test x$rxvt_cv_ptys = xSGI4; then |
|
|
12208 | |
|
|
12209 | cat >>confdefs.h <<\_ACEOF |
|
|
12210 | #define PTYS_ARE__GETPTY 1 |
|
|
12211 | _ACEOF |
|
|
12212 | |
|
|
12213 | fi |
|
|
12214 | if test x$rxvt_cv_ptys = xHPUX; then |
|
|
12215 | |
|
|
12216 | cat >>confdefs.h <<\_ACEOF |
|
|
12217 | #define PTYS_ARE_CLONE 1 |
|
|
12218 | _ACEOF |
|
|
12219 | |
|
|
12220 | fi |
|
|
12221 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
|
|
12222 | |
|
|
12223 | cat >>confdefs.h <<\_ACEOF |
|
|
12224 | #define PTYS_ARE_SEARCHED 1 |
|
|
12225 | _ACEOF |
|
|
12226 | |
|
|
12227 | fi |
|
|
12228 | |
|
|
12229 | |
|
|
12230 | { echo "$as_me:$LINENO: checking for pty ranges..." >&5 |
|
|
12231 | echo "$as_me: checking for pty ranges..." >&6;} |
|
|
12232 | ptys=`echo /dev/pty??` |
|
|
12233 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
|
|
12234 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
|
|
12235 | if test x$pch1 != x; then |
|
|
12236 | |
|
|
12237 | cat >>confdefs.h <<_ACEOF |
|
|
12238 | #define PTYCHAR1 "$pch1" |
|
|
12239 | _ACEOF |
|
|
12240 | |
|
|
12241 | fi |
|
|
12242 | if test x$pch2 != x; then |
|
|
12243 | |
|
|
12244 | cat >>confdefs.h <<_ACEOF |
|
|
12245 | #define PTYCHAR2 "$pch2" |
|
|
12246 | _ACEOF |
|
|
12247 | |
|
|
12248 | fi |
|
|
12249 | |
|
|
12250 | if test x$support_xft = xyes; then |
|
|
12251 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
12252 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
12253 | |
|
|
12254 | |
|
|
12255 | for ac_header in X11/Xft/Xft.h |
|
|
12256 | do |
11759 | do |
12257 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11760 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12258 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11761 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12259 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11762 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12260 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11763 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
12283 | grep -v '^ *+' conftest.er1 >conftest.err |
11786 | grep -v '^ *+' conftest.er1 >conftest.err |
12284 | rm -f conftest.er1 |
11787 | rm -f conftest.er1 |
12285 | cat conftest.err >&5 |
11788 | cat conftest.err >&5 |
12286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12287 | (exit $ac_status); } && |
11790 | (exit $ac_status); } && |
12288 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11791 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11792 | || test ! -s conftest.err' |
12289 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11793 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12290 | (eval $ac_try) 2>&5 |
11794 | (eval $ac_try) 2>&5 |
12291 | ac_status=$? |
11795 | ac_status=$? |
12292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12293 | (exit $ac_status); }; } && |
11797 | (exit $ac_status); }; } && |
… | |
… | |
12394 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11898 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12395 | cat >>confdefs.h <<_ACEOF |
11899 | cat >>confdefs.h <<_ACEOF |
12396 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11900 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12397 | _ACEOF |
11901 | _ACEOF |
12398 | |
11902 | |
|
|
11903 | fi |
|
|
11904 | |
|
|
11905 | done |
|
|
11906 | |
|
|
11907 | |
|
|
11908 | |
|
|
11909 | |
|
|
11910 | |
|
|
11911 | |
|
|
11912 | |
|
|
11913 | |
|
|
11914 | |
|
|
11915 | |
|
|
11916 | |
|
|
11917 | for ac_func in \ |
|
|
11918 | revoke \ |
|
|
11919 | _getpty \ |
|
|
11920 | getpt \ |
|
|
11921 | posix_openpt \ |
|
|
11922 | isastream \ |
|
|
11923 | setuid \ |
|
|
11924 | seteuid \ |
|
|
11925 | setreuid \ |
|
|
11926 | setresuid \ |
|
|
11927 | |
|
|
11928 | do |
|
|
11929 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
11930 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
11931 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
11932 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
11933 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11934 | else |
|
|
11935 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11936 | /* confdefs.h. */ |
|
|
11937 | _ACEOF |
|
|
11938 | cat confdefs.h >>conftest.$ac_ext |
|
|
11939 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11940 | /* end confdefs.h. */ |
|
|
11941 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
11942 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
11943 | #define $ac_func innocuous_$ac_func |
|
|
11944 | |
|
|
11945 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11946 | which can conflict with char $ac_func (); below. |
|
|
11947 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
11948 | <limits.h> exists even on freestanding compilers. */ |
|
|
11949 | |
|
|
11950 | #ifdef __STDC__ |
|
|
11951 | # include <limits.h> |
|
|
11952 | #else |
|
|
11953 | # include <assert.h> |
|
|
11954 | #endif |
|
|
11955 | |
|
|
11956 | #undef $ac_func |
|
|
11957 | |
|
|
11958 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11959 | #ifdef __cplusplus |
|
|
11960 | extern "C" |
|
|
11961 | { |
|
|
11962 | #endif |
|
|
11963 | /* We use char because int might match the return type of a gcc2 |
|
|
11964 | builtin and then its argument prototype would still apply. */ |
|
|
11965 | char $ac_func (); |
|
|
11966 | /* The GNU C library defines this for functions which it implements |
|
|
11967 | to always fail with ENOSYS. Some functions are actually named |
|
|
11968 | something starting with __ and the normal name is an alias. */ |
|
|
11969 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
11970 | choke me |
|
|
11971 | #else |
|
|
11972 | char (*f) () = $ac_func; |
|
|
11973 | #endif |
|
|
11974 | #ifdef __cplusplus |
|
|
11975 | } |
|
|
11976 | #endif |
|
|
11977 | |
|
|
11978 | int |
|
|
11979 | main () |
|
|
11980 | { |
|
|
11981 | return f != $ac_func; |
|
|
11982 | ; |
|
|
11983 | return 0; |
|
|
11984 | } |
|
|
11985 | _ACEOF |
|
|
11986 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11987 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11988 | (eval $ac_link) 2>conftest.er1 |
|
|
11989 | ac_status=$? |
|
|
11990 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11991 | rm -f conftest.er1 |
|
|
11992 | cat conftest.err >&5 |
|
|
11993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11994 | (exit $ac_status); } && |
|
|
11995 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11996 | || test ! -s conftest.err' |
|
|
11997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11998 | (eval $ac_try) 2>&5 |
|
|
11999 | ac_status=$? |
|
|
12000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12001 | (exit $ac_status); }; } && |
|
|
12002 | { ac_try='test -s conftest$ac_exeext' |
|
|
12003 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12004 | (eval $ac_try) 2>&5 |
|
|
12005 | ac_status=$? |
|
|
12006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12007 | (exit $ac_status); }; }; then |
|
|
12008 | eval "$as_ac_var=yes" |
|
|
12009 | else |
|
|
12010 | echo "$as_me: failed program was:" >&5 |
|
|
12011 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12012 | |
|
|
12013 | eval "$as_ac_var=no" |
|
|
12014 | fi |
|
|
12015 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12016 | conftest$ac_exeext conftest.$ac_ext |
|
|
12017 | fi |
|
|
12018 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12019 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12020 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12021 | cat >>confdefs.h <<_ACEOF |
|
|
12022 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12023 | _ACEOF |
|
|
12024 | |
|
|
12025 | fi |
|
|
12026 | done |
|
|
12027 | |
|
|
12028 | |
|
|
12029 | have_clone=no |
|
|
12030 | |
|
|
12031 | echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5 |
|
|
12032 | echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6 |
|
|
12033 | if test -e /dev/ptym/clone; then |
|
|
12034 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12035 | echo "${ECHO_T}yes" >&6 |
|
|
12036 | |
|
|
12037 | cat >>confdefs.h <<\_ACEOF |
|
|
12038 | #define HAVE_DEV_CLONE 1 |
|
|
12039 | _ACEOF |
|
|
12040 | |
|
|
12041 | |
|
|
12042 | cat >>confdefs.h <<\_ACEOF |
|
|
12043 | #define CLONE_DEVICE "/dev/ptym/clone" |
|
|
12044 | _ACEOF |
|
|
12045 | |
|
|
12046 | have_clone=yes |
|
|
12047 | else |
|
|
12048 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12049 | echo "${ECHO_T}no" >&6 |
|
|
12050 | fi |
|
|
12051 | |
|
|
12052 | echo "$as_me:$LINENO: checking for /dev/ptc" >&5 |
|
|
12053 | echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6 |
|
|
12054 | if test -e /dev/ptc; then |
|
|
12055 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12056 | echo "${ECHO_T}yes" >&6 |
|
|
12057 | |
|
|
12058 | cat >>confdefs.h <<\_ACEOF |
|
|
12059 | #define HAVE_DEV_PTC 1 |
|
|
12060 | _ACEOF |
|
|
12061 | |
|
|
12062 | |
|
|
12063 | cat >>confdefs.h <<\_ACEOF |
|
|
12064 | #define CLONE_DEVICE "/dev/ptc" |
|
|
12065 | _ACEOF |
|
|
12066 | |
|
|
12067 | have_clone=yes |
|
|
12068 | else |
|
|
12069 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12070 | echo "${ECHO_T}no" >&6 |
|
|
12071 | fi |
|
|
12072 | |
|
|
12073 | case $host in |
|
|
12074 | *-*-cygwin*) |
|
|
12075 | have_clone=yes |
|
|
12076 | |
|
|
12077 | cat >>confdefs.h <<\_ACEOF |
|
|
12078 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12079 | _ACEOF |
|
|
12080 | |
|
|
12081 | ;; |
|
|
12082 | *) |
|
|
12083 | echo "$as_me:$LINENO: checking for /dev/ptmx" >&5 |
|
|
12084 | echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6 |
|
|
12085 | if test -e /dev/ptmx; then |
|
|
12086 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12087 | echo "${ECHO_T}yes" >&6 |
|
|
12088 | |
|
|
12089 | cat >>confdefs.h <<\_ACEOF |
|
|
12090 | #define HAVE_DEV_PTMX 1 |
|
|
12091 | _ACEOF |
|
|
12092 | |
|
|
12093 | |
|
|
12094 | cat >>confdefs.h <<\_ACEOF |
|
|
12095 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12096 | _ACEOF |
|
|
12097 | |
|
|
12098 | have_clone=yes |
|
|
12099 | else |
|
|
12100 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12101 | echo "${ECHO_T}no" >&6 |
|
|
12102 | fi |
|
|
12103 | ;; |
|
|
12104 | esac |
|
|
12105 | |
|
|
12106 | if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then |
|
|
12107 | echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5 |
|
|
12108 | echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6 |
|
|
12109 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12110 | /* confdefs.h. */ |
|
|
12111 | _ACEOF |
|
|
12112 | cat confdefs.h >>conftest.$ac_ext |
|
|
12113 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12114 | /* end confdefs.h. */ |
|
|
12115 | #include <stdlib.h> |
|
|
12116 | int |
|
|
12117 | main () |
|
|
12118 | { |
|
|
12119 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
12120 | ; |
|
|
12121 | return 0; |
|
|
12122 | } |
|
|
12123 | _ACEOF |
|
|
12124 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12125 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12126 | (eval $ac_link) 2>conftest.er1 |
|
|
12127 | ac_status=$? |
|
|
12128 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12129 | rm -f conftest.er1 |
|
|
12130 | cat conftest.err >&5 |
|
|
12131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12132 | (exit $ac_status); } && |
|
|
12133 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12134 | || test ! -s conftest.err' |
|
|
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); }; } && |
|
|
12140 | { ac_try='test -s conftest$ac_exeext' |
|
|
12141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12142 | (eval $ac_try) 2>&5 |
|
|
12143 | ac_status=$? |
|
|
12144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12145 | (exit $ac_status); }; }; then |
|
|
12146 | unix98_pty=yes |
|
|
12147 | |
|
|
12148 | cat >>confdefs.h <<\_ACEOF |
|
|
12149 | #define UNIX98_PTY 1 |
|
|
12150 | _ACEOF |
|
|
12151 | |
|
|
12152 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12153 | echo "${ECHO_T}yes" >&6 |
|
|
12154 | else |
|
|
12155 | echo "$as_me: failed program was:" >&5 |
|
|
12156 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12157 | |
|
|
12158 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12159 | echo "${ECHO_T}no" >&6 |
|
|
12160 | fi |
|
|
12161 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12162 | conftest$ac_exeext conftest.$ac_ext |
|
|
12163 | fi |
|
|
12164 | |
|
|
12165 | if test -z "$unix98_pty"; then |
|
|
12166 | |
|
|
12167 | for ac_func in openpty |
|
|
12168 | do |
|
|
12169 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12170 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12171 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12172 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12173 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12174 | else |
|
|
12175 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12176 | /* confdefs.h. */ |
|
|
12177 | _ACEOF |
|
|
12178 | cat confdefs.h >>conftest.$ac_ext |
|
|
12179 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12180 | /* end confdefs.h. */ |
|
|
12181 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12182 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12183 | #define $ac_func innocuous_$ac_func |
|
|
12184 | |
|
|
12185 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12186 | which can conflict with char $ac_func (); below. |
|
|
12187 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12188 | <limits.h> exists even on freestanding compilers. */ |
|
|
12189 | |
|
|
12190 | #ifdef __STDC__ |
|
|
12191 | # include <limits.h> |
|
|
12192 | #else |
|
|
12193 | # include <assert.h> |
|
|
12194 | #endif |
|
|
12195 | |
|
|
12196 | #undef $ac_func |
|
|
12197 | |
|
|
12198 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12199 | #ifdef __cplusplus |
|
|
12200 | extern "C" |
|
|
12201 | { |
|
|
12202 | #endif |
|
|
12203 | /* We use char because int might match the return type of a gcc2 |
|
|
12204 | builtin and then its argument prototype would still apply. */ |
|
|
12205 | char $ac_func (); |
|
|
12206 | /* The GNU C library defines this for functions which it implements |
|
|
12207 | to always fail with ENOSYS. Some functions are actually named |
|
|
12208 | something starting with __ and the normal name is an alias. */ |
|
|
12209 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12210 | choke me |
|
|
12211 | #else |
|
|
12212 | char (*f) () = $ac_func; |
|
|
12213 | #endif |
|
|
12214 | #ifdef __cplusplus |
|
|
12215 | } |
|
|
12216 | #endif |
|
|
12217 | |
|
|
12218 | int |
|
|
12219 | main () |
|
|
12220 | { |
|
|
12221 | return f != $ac_func; |
|
|
12222 | ; |
|
|
12223 | return 0; |
|
|
12224 | } |
|
|
12225 | _ACEOF |
|
|
12226 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12227 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12228 | (eval $ac_link) 2>conftest.er1 |
|
|
12229 | ac_status=$? |
|
|
12230 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12231 | rm -f conftest.er1 |
|
|
12232 | cat conftest.err >&5 |
|
|
12233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12234 | (exit $ac_status); } && |
|
|
12235 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12236 | || test ! -s conftest.err' |
|
|
12237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12238 | (eval $ac_try) 2>&5 |
|
|
12239 | ac_status=$? |
|
|
12240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12241 | (exit $ac_status); }; } && |
|
|
12242 | { ac_try='test -s conftest$ac_exeext' |
|
|
12243 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12244 | (eval $ac_try) 2>&5 |
|
|
12245 | ac_status=$? |
|
|
12246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12247 | (exit $ac_status); }; }; then |
|
|
12248 | eval "$as_ac_var=yes" |
|
|
12249 | else |
|
|
12250 | echo "$as_me: failed program was:" >&5 |
|
|
12251 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12252 | |
|
|
12253 | eval "$as_ac_var=no" |
|
|
12254 | fi |
|
|
12255 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12256 | conftest$ac_exeext conftest.$ac_ext |
|
|
12257 | fi |
|
|
12258 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12259 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12260 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12261 | cat >>confdefs.h <<_ACEOF |
|
|
12262 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12263 | _ACEOF |
|
|
12264 | |
|
|
12265 | else |
|
|
12266 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12267 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12268 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12269 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12270 | else |
|
|
12271 | ac_check_lib_save_LIBS=$LIBS |
|
|
12272 | LIBS="-lutil $LIBS" |
|
|
12273 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12274 | /* confdefs.h. */ |
|
|
12275 | _ACEOF |
|
|
12276 | cat confdefs.h >>conftest.$ac_ext |
|
|
12277 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12278 | /* end confdefs.h. */ |
|
|
12279 | |
|
|
12280 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12281 | #ifdef __cplusplus |
|
|
12282 | extern "C" |
|
|
12283 | #endif |
|
|
12284 | /* We use char because int might match the return type of a gcc2 |
|
|
12285 | builtin and then its argument prototype would still apply. */ |
|
|
12286 | char openpty (); |
|
|
12287 | int |
|
|
12288 | main () |
|
|
12289 | { |
|
|
12290 | openpty (); |
|
|
12291 | ; |
|
|
12292 | return 0; |
|
|
12293 | } |
|
|
12294 | _ACEOF |
|
|
12295 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12296 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12297 | (eval $ac_link) 2>conftest.er1 |
|
|
12298 | ac_status=$? |
|
|
12299 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12300 | rm -f conftest.er1 |
|
|
12301 | cat conftest.err >&5 |
|
|
12302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12303 | (exit $ac_status); } && |
|
|
12304 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12305 | || test ! -s conftest.err' |
|
|
12306 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12307 | (eval $ac_try) 2>&5 |
|
|
12308 | ac_status=$? |
|
|
12309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12310 | (exit $ac_status); }; } && |
|
|
12311 | { ac_try='test -s conftest$ac_exeext' |
|
|
12312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12313 | (eval $ac_try) 2>&5 |
|
|
12314 | ac_status=$? |
|
|
12315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12316 | (exit $ac_status); }; }; then |
|
|
12317 | ac_cv_lib_util_openpty=yes |
|
|
12318 | else |
|
|
12319 | echo "$as_me: failed program was:" >&5 |
|
|
12320 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12321 | |
|
|
12322 | ac_cv_lib_util_openpty=no |
|
|
12323 | fi |
|
|
12324 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12325 | conftest$ac_exeext conftest.$ac_ext |
|
|
12326 | LIBS=$ac_check_lib_save_LIBS |
|
|
12327 | fi |
|
|
12328 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12329 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12330 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12331 | cat >>confdefs.h <<\_ACEOF |
|
|
12332 | #define HAVE_OPENPTY 1 |
|
|
12333 | _ACEOF |
|
|
12334 | LIBS="$LIBS -lutil" |
|
|
12335 | fi |
|
|
12336 | |
|
|
12337 | fi |
|
|
12338 | done |
|
|
12339 | |
|
|
12340 | fi |
|
|
12341 | |
|
|
12342 | |
|
|
12343 | |
|
|
12344 | echo "$as_me:$LINENO: checking for tty group" >&5 |
|
|
12345 | echo $ECHO_N "checking for tty group... $ECHO_C" >&6 |
|
|
12346 | if test "${tty_group+set}" = set; then |
|
|
12347 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12348 | else |
|
|
12349 | if test "$cross_compiling" = yes; then |
|
|
12350 | tty_group=no |
|
|
12351 | else |
|
|
12352 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12353 | /* confdefs.h. */ |
|
|
12354 | _ACEOF |
|
|
12355 | cat confdefs.h >>conftest.$ac_ext |
|
|
12356 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12357 | /* end confdefs.h. */ |
|
|
12358 | |
|
|
12359 | #include <sys/types.h> |
|
|
12360 | #include <sys/stat.h> |
|
|
12361 | #include <unistd.h> |
|
|
12362 | #include <grp.h> |
|
|
12363 | |
|
|
12364 | main() |
|
|
12365 | { |
|
|
12366 | struct stat st; |
|
|
12367 | struct group *gr; |
|
|
12368 | char *tty; |
|
|
12369 | gr = getgrnam("tty"); |
|
|
12370 | tty = ttyname(0); |
|
|
12371 | if (gr != 0 |
|
|
12372 | && tty != 0 |
|
|
12373 | && (stat(tty, &st)) == 0 |
|
|
12374 | && st.st_gid == gr->gr_gid) |
|
|
12375 | return 0; |
|
|
12376 | else |
|
|
12377 | return 1; |
|
|
12378 | } |
|
|
12379 | _ACEOF |
|
|
12380 | rm -f conftest$ac_exeext |
|
|
12381 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12382 | (eval $ac_link) 2>&5 |
|
|
12383 | ac_status=$? |
|
|
12384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12385 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12387 | (eval $ac_try) 2>&5 |
|
|
12388 | ac_status=$? |
|
|
12389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12390 | (exit $ac_status); }; }; then |
|
|
12391 | tty_group=yes |
|
|
12392 | else |
|
|
12393 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12394 | echo "$as_me: failed program was:" >&5 |
|
|
12395 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12396 | |
|
|
12397 | ( exit $ac_status ) |
|
|
12398 | tty_group=no |
|
|
12399 | fi |
|
|
12400 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12401 | fi |
|
|
12402 | fi |
|
|
12403 | echo "$as_me:$LINENO: result: $tty_group" >&5 |
|
|
12404 | echo "${ECHO_T}$tty_group" >&6 |
|
|
12405 | if test x$tty_group = xyes; then |
|
|
12406 | |
|
|
12407 | cat >>confdefs.h <<\_ACEOF |
|
|
12408 | #define TTY_GID_SUPPORT 1 |
|
|
12409 | _ACEOF |
|
|
12410 | |
|
|
12411 | fi |
|
|
12412 | |
|
|
12413 | if test x$support_xft = xyes; then |
|
|
12414 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
12415 | set dummy pkg-config; ac_word=$2 |
|
|
12416 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12417 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12418 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
|
12419 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12420 | else |
|
|
12421 | case $PKG_CONFIG in |
|
|
12422 | [\\/]* | ?:[\\/]*) |
|
|
12423 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
12424 | ;; |
|
|
12425 | *) |
|
|
12426 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12427 | for as_dir in $PATH |
|
|
12428 | do |
|
|
12429 | IFS=$as_save_IFS |
|
|
12430 | test -z "$as_dir" && as_dir=. |
|
|
12431 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12432 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12433 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12434 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12435 | break 2 |
|
|
12436 | fi |
|
|
12437 | done |
|
|
12438 | done |
|
|
12439 | |
|
|
12440 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
12441 | ;; |
|
|
12442 | esac |
|
|
12443 | fi |
|
|
12444 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
12445 | |
|
|
12446 | if test -n "$PKG_CONFIG"; then |
|
|
12447 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
12448 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
|
12449 | else |
|
|
12450 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12451 | echo "${ECHO_T}no" >&6 |
|
|
12452 | fi |
|
|
12453 | |
|
|
12454 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
12455 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
|
|
12456 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
12457 | else |
|
|
12458 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
12459 | set dummy xft-config; ac_word=$2 |
|
|
12460 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12461 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12462 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
|
|
12463 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12464 | else |
|
|
12465 | case $XFT_CONFIG in |
|
|
12466 | [\\/]* | ?:[\\/]*) |
|
|
12467 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
12468 | ;; |
|
|
12469 | *) |
|
|
12470 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12471 | for as_dir in $PATH |
|
|
12472 | do |
|
|
12473 | IFS=$as_save_IFS |
|
|
12474 | test -z "$as_dir" && as_dir=. |
|
|
12475 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12476 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12477 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12478 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12479 | break 2 |
|
|
12480 | fi |
|
|
12481 | done |
|
|
12482 | done |
|
|
12483 | |
|
|
12484 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
12485 | ;; |
|
|
12486 | esac |
|
|
12487 | fi |
|
|
12488 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
12489 | |
|
|
12490 | if test -n "$XFT_CONFIG"; then |
|
|
12491 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
|
|
12492 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
|
|
12493 | else |
|
|
12494 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12495 | echo "${ECHO_T}no" >&6 |
|
|
12496 | fi |
|
|
12497 | |
|
|
12498 | if test $XFT_CONFIG != no; then |
|
|
12499 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
|
|
12500 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
12501 | fi |
|
|
12502 | fi |
|
|
12503 | |
|
|
12504 | |
|
|
12505 | for ac_header in X11/Xft/Xft.h |
|
|
12506 | do |
|
|
12507 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
12508 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12509 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12510 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12511 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12512 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12513 | fi |
|
|
12514 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12515 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12516 | else |
|
|
12517 | # Is the header compilable? |
|
|
12518 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
12519 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
12520 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12521 | /* confdefs.h. */ |
|
|
12522 | _ACEOF |
|
|
12523 | cat confdefs.h >>conftest.$ac_ext |
|
|
12524 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12525 | /* end confdefs.h. */ |
|
|
12526 | $ac_includes_default |
|
|
12527 | #include <$ac_header> |
|
|
12528 | _ACEOF |
|
|
12529 | rm -f conftest.$ac_objext |
|
|
12530 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12531 | (eval $ac_compile) 2>conftest.er1 |
|
|
12532 | ac_status=$? |
|
|
12533 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12534 | rm -f conftest.er1 |
|
|
12535 | cat conftest.err >&5 |
|
|
12536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12537 | (exit $ac_status); } && |
|
|
12538 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12539 | || test ! -s conftest.err' |
|
|
12540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12541 | (eval $ac_try) 2>&5 |
|
|
12542 | ac_status=$? |
|
|
12543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12544 | (exit $ac_status); }; } && |
|
|
12545 | { ac_try='test -s conftest.$ac_objext' |
|
|
12546 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12547 | (eval $ac_try) 2>&5 |
|
|
12548 | ac_status=$? |
|
|
12549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12550 | (exit $ac_status); }; }; then |
|
|
12551 | ac_header_compiler=yes |
|
|
12552 | else |
|
|
12553 | echo "$as_me: failed program was:" >&5 |
|
|
12554 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12555 | |
|
|
12556 | ac_header_compiler=no |
|
|
12557 | fi |
|
|
12558 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12559 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
12560 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
12561 | |
|
|
12562 | # Is the header present? |
|
|
12563 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
12564 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
12565 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12566 | /* confdefs.h. */ |
|
|
12567 | _ACEOF |
|
|
12568 | cat confdefs.h >>conftest.$ac_ext |
|
|
12569 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12570 | /* end confdefs.h. */ |
|
|
12571 | #include <$ac_header> |
|
|
12572 | _ACEOF |
|
|
12573 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
12574 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
12575 | ac_status=$? |
|
|
12576 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12577 | rm -f conftest.er1 |
|
|
12578 | cat conftest.err >&5 |
|
|
12579 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12580 | (exit $ac_status); } >/dev/null; then |
|
|
12581 | if test -s conftest.err; then |
|
|
12582 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
12583 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
12584 | else |
|
|
12585 | ac_cpp_err= |
|
|
12586 | fi |
|
|
12587 | else |
|
|
12588 | ac_cpp_err=yes |
|
|
12589 | fi |
|
|
12590 | if test -z "$ac_cpp_err"; then |
|
|
12591 | ac_header_preproc=yes |
|
|
12592 | else |
|
|
12593 | echo "$as_me: failed program was:" >&5 |
|
|
12594 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12595 | |
|
|
12596 | ac_header_preproc=no |
|
|
12597 | fi |
|
|
12598 | rm -f conftest.err conftest.$ac_ext |
|
|
12599 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
12600 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
12601 | |
|
|
12602 | # So? What about this header? |
|
|
12603 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
12604 | yes:no: ) |
|
|
12605 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
12606 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
12607 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
12608 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
12609 | ac_header_preproc=yes |
|
|
12610 | ;; |
|
|
12611 | no:yes:* ) |
|
|
12612 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
12613 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
12614 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
12615 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
12616 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
12617 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
12618 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
12619 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
12620 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
12621 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
12622 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
12623 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
12624 | ( |
|
|
12625 | cat <<\_ASBOX |
|
|
12626 | ## ------------------------------------------ ## |
|
|
12627 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
12628 | ## ------------------------------------------ ## |
|
|
12629 | _ASBOX |
|
|
12630 | ) | |
|
|
12631 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
12632 | ;; |
|
|
12633 | esac |
|
|
12634 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12635 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12636 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12637 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12638 | else |
|
|
12639 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
12640 | fi |
|
|
12641 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12642 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12643 | |
|
|
12644 | fi |
|
|
12645 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
12646 | cat >>confdefs.h <<_ACEOF |
|
|
12647 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
12648 | _ACEOF |
|
|
12649 | |
12399 | else |
12650 | else |
12400 | support_xft=no |
12651 | support_xft=no |
12401 | fi |
12652 | fi |
12402 | |
12653 | |
12403 | done |
12654 | done |
… | |
… | |
12439 | grep -v '^ *+' conftest.er1 >conftest.err |
12690 | grep -v '^ *+' conftest.er1 >conftest.err |
12440 | rm -f conftest.er1 |
12691 | rm -f conftest.er1 |
12441 | cat conftest.err >&5 |
12692 | cat conftest.err >&5 |
12442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12443 | (exit $ac_status); } && |
12694 | (exit $ac_status); } && |
12444 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12695 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12696 | || test ! -s conftest.err' |
12445 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12697 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12446 | (eval $ac_try) 2>&5 |
12698 | (eval $ac_try) 2>&5 |
12447 | ac_status=$? |
12699 | ac_status=$? |
12448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12449 | (exit $ac_status); }; } && |
12701 | (exit $ac_status); }; } && |
… | |
… | |
12522 | |
12774 | |
12523 | fi |
12775 | fi |
12524 | if test x$support_inheritpixmap = xyes; then |
12776 | if test x$support_inheritpixmap = xyes; then |
12525 | |
12777 | |
12526 | cat >>confdefs.h <<\_ACEOF |
12778 | cat >>confdefs.h <<\_ACEOF |
12527 | #define TRANSPARENT 1 |
12779 | #define ENABLE_TRANSPARENCY 1 |
12528 | _ACEOF |
12780 | _ACEOF |
12529 | |
12781 | |
12530 | fi |
12782 | fi |
12531 | if test x$support_keepscrolling = xno; then |
12783 | if test x$support_keepscrolling = xno; then |
12532 | |
12784 | |
… | |
… | |
12540 | cat >>confdefs.h <<\_ACEOF |
12792 | cat >>confdefs.h <<\_ACEOF |
12541 | #define SELECTION_SCROLLING 1 |
12793 | #define SELECTION_SCROLLING 1 |
12542 | _ACEOF |
12794 | _ACEOF |
12543 | |
12795 | |
12544 | fi |
12796 | fi |
12545 | if test x$support_frills = xyes; then |
|
|
12546 | |
|
|
12547 | cat >>confdefs.h <<\_ACEOF |
|
|
12548 | #define ENABLE_FRILLS 1 |
|
|
12549 | _ACEOF |
|
|
12550 | |
|
|
12551 | fi |
|
|
12552 | if test x$support_24bit = xyes; then |
|
|
12553 | |
|
|
12554 | cat >>confdefs.h <<\_ACEOF |
|
|
12555 | #define PREFER_24BIT 1 |
|
|
12556 | _ACEOF |
|
|
12557 | |
|
|
12558 | fi |
|
|
12559 | if test x$support_mousewheel = xyes; then |
12797 | if test x$support_mousewheel = xyes; then |
12560 | |
12798 | |
12561 | cat >>confdefs.h <<\_ACEOF |
12799 | cat >>confdefs.h <<\_ACEOF |
12562 | #define MOUSE_WHEEL 1 |
12800 | #define MOUSE_WHEEL 1 |
12563 | _ACEOF |
12801 | _ACEOF |
… | |
… | |
12568 | cat >>confdefs.h <<\_ACEOF |
12806 | cat >>confdefs.h <<\_ACEOF |
12569 | #define MOUSE_SLIP_WHEELING 1 |
12807 | #define MOUSE_SLIP_WHEELING 1 |
12570 | _ACEOF |
12808 | _ACEOF |
12571 | |
12809 | |
12572 | fi |
12810 | fi |
12573 | if test x$support_utmp = xyes; then |
|
|
12574 | |
|
|
12575 | cat >>confdefs.h <<\_ACEOF |
|
|
12576 | #define UTMP_SUPPORT 1 |
|
|
12577 | _ACEOF |
|
|
12578 | |
|
|
12579 | fi |
|
|
12580 | if test x$support_wtmp = xyes; then |
|
|
12581 | |
|
|
12582 | cat >>confdefs.h <<\_ACEOF |
|
|
12583 | #define WTMP_SUPPORT 1 |
|
|
12584 | _ACEOF |
|
|
12585 | |
|
|
12586 | fi |
|
|
12587 | if test x$support_lastlog = xyes; then |
|
|
12588 | |
|
|
12589 | cat >>confdefs.h <<\_ACEOF |
|
|
12590 | #define LASTLOG_SUPPORT 1 |
|
|
12591 | _ACEOF |
|
|
12592 | |
|
|
12593 | fi |
|
|
12594 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
12811 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
12595 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
12596 | |
|
|
12597 | cat >>confdefs.h <<\_ACEOF |
|
|
12598 | #define USE_XIM 1 |
|
|
12599 | _ACEOF |
|
|
12600 | |
|
|
12601 | fi |
|
|
12602 | fi |
|
|
12603 | if test x$support_xpm = xyes; then |
|
|
12604 | |
12812 | |
12605 | cat >>confdefs.h <<\_ACEOF |
12813 | cat >>confdefs.h <<\_ACEOF |
12606 | #define XPM_BACKGROUND 1 |
12814 | #define XPM_BACKGROUND 1 |
12607 | _ACEOF |
12815 | _ACEOF |
12608 | |
12816 | |
12609 | fi |
12817 | fi |
|
|
12818 | |
|
|
12819 | if test x$support_afterimage = xyes; then |
|
|
12820 | |
|
|
12821 | cat >>confdefs.h <<\_ACEOF |
|
|
12822 | #define HAVE_AFTERIMAGE 1 |
|
|
12823 | _ACEOF |
|
|
12824 | |
|
|
12825 | fi |
|
|
12826 | |
|
|
12827 | if test x$support_afterstep = xyes; then |
|
|
12828 | |
|
|
12829 | cat >>confdefs.h <<\_ACEOF |
|
|
12830 | #define AFTERSTEP_INTEGRATION 1 |
|
|
12831 | _ACEOF |
|
|
12832 | |
|
|
12833 | fi |
|
|
12834 | |
12610 | if test x$support_scroll_rxvt = xyes; then |
12835 | if test x$support_scroll_rxvt = xyes; then |
12611 | |
12836 | |
12612 | cat >>confdefs.h <<\_ACEOF |
12837 | cat >>confdefs.h <<\_ACEOF |
12613 | #define RXVT_SCROLLBAR 1 |
12838 | #define RXVT_SCROLLBAR 1 |
12614 | _ACEOF |
12839 | _ACEOF |
… | |
… | |
12827 | grep -v '^ *+' conftest.er1 >conftest.err |
13052 | grep -v '^ *+' conftest.er1 >conftest.err |
12828 | rm -f conftest.er1 |
13053 | rm -f conftest.er1 |
12829 | cat conftest.err >&5 |
13054 | cat conftest.err >&5 |
12830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12831 | (exit $ac_status); } && |
13056 | (exit $ac_status); } && |
12832 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
13057 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13058 | || test ! -s conftest.err' |
12833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13059 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12834 | (eval $ac_try) 2>&5 |
13060 | (eval $ac_try) 2>&5 |
12835 | ac_status=$? |
13061 | ac_status=$? |
12836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12837 | (exit $ac_status); }; } && |
13063 | (exit $ac_status); }; } && |
… | |
… | |
12865 | PERL_O=rxvtperl.o |
13091 | PERL_O=rxvtperl.o |
12866 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
13092 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12867 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
13093 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12868 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
13094 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12869 | else |
13095 | else |
12870 | support_perl=no |
|
|
12871 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
13096 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
12872 | echo "${ECHO_T}no, unable to link" >&6 |
13097 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
13098 | { (exit 1); exit 1; }; } |
12873 | fi |
13099 | fi |
12874 | else |
13100 | else |
12875 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
13101 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
12876 | echo "$as_me: error: no working perl found" >&2;} |
13102 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
12877 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
13103 | { (exit 1); exit 1; }; } |
12878 | support_perl=no |
|
|
12879 | fi |
13104 | fi |
12880 | fi |
13105 | fi |
12881 | |
13106 | |
12882 | |
13107 | |
12883 | |
13108 | |
… | |
… | |
12887 | |
13112 | |
12888 | if test x$support_perl = xyes; then |
13113 | if test x$support_perl = xyes; then |
12889 | support_frills=yes |
13114 | support_frills=yes |
12890 | fi |
13115 | fi |
12891 | |
13116 | |
|
|
13117 | if test x$support_frills = xyes; then |
12892 | |
13118 | |
12893 | CFLAGS=${CFLAGS--O} |
13119 | cat >>confdefs.h <<\_ACEOF |
12894 | LDFLAGS=${LDFLAGS--O} |
13120 | #define ENABLE_FRILLS 1 |
|
|
13121 | _ACEOF |
12895 | |
13122 | |
12896 | CPPFLAGS="$CPPFLAGS" |
|
|
12897 | |
|
|
12898 | |
|
|
12899 | |
|
|
12900 | |
|
|
12901 | |
|
|
12902 | |
|
|
12903 | |
|
|
12904 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
12905 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
12906 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
12907 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
12908 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
12909 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
12910 | fi |
13123 | fi |
12911 | |
13124 | |
12912 | |
13125 | |
12913 | |
13126 | |
12914 | |
13127 | |
12915 | |
13128 | |
12916 | MCOMMON=./autoconf/Make.common |
13129 | |
|
|
13130 | |
|
|
13131 | |
|
|
13132 | |
|
|
13133 | |
|
|
13134 | |
12917 | |
13135 | |
12918 | |
13136 | |
12919 | test "$program_prefix" != NONE && |
13137 | test "$program_prefix" != NONE && |
12920 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
13138 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12921 | # Use a double $ so make ignores it. |
13139 | # Use a double $ so make ignores it. |
… | |
… | |
12997 | include_time_h="#include <time.h>" |
13215 | include_time_h="#include <time.h>" |
12998 | else |
13216 | else |
12999 | include_time_h="/* #include <time.h> */" |
13217 | include_time_h="/* #include <time.h> */" |
13000 | fi |
13218 | fi |
13001 | |
13219 | |
13002 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
13220 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
13003 | |
13221 | |
13004 | cat >confcache <<\_ACEOF |
13222 | cat >confcache <<\_ACEOF |
13005 | # This file is a shell script that caches the results of configure |
13223 | # This file is a shell script that caches the results of configure |
13006 | # tests run on this system so they can be shared between configure |
13224 | # tests run on this system so they can be shared between configure |
13007 | # scripts and configure runs, see configure's option --config-cache. |
13225 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13524 | cat >>$CONFIG_STATUS <<\_ACEOF |
13742 | cat >>$CONFIG_STATUS <<\_ACEOF |
13525 | for ac_config_target in $ac_config_targets |
13743 | for ac_config_target in $ac_config_targets |
13526 | do |
13744 | do |
13527 | case "$ac_config_target" in |
13745 | case "$ac_config_target" in |
13528 | # Handling of arguments. |
13746 | # Handling of arguments. |
13529 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13530 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13747 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13531 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13748 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13532 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13749 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13533 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13750 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13534 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13751 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
13535 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13752 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13536 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13753 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13537 | { (exit 1); exit 1; }; };; |
13754 | { (exit 1); exit 1; }; };; |
13538 | esac |
13755 | esac |
13539 | done |
13756 | done |
… | |
… | |
13640 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13857 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13641 | s,@CPP@,$CPP,;t t |
13858 | s,@CPP@,$CPP,;t t |
13642 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13859 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13643 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13860 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13644 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13861 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13645 | s,@AWK@,$AWK,;t t |
13862 | s,@EGREP@,$EGREP,;t t |
13646 | s,@LINKER@,$LINKER,;t t |
13863 | s,@LINKER@,$LINKER,;t t |
13647 | s,@CXXCPP@,$CXXCPP,;t t |
|
|
13648 | s,@EGREP@,$EGREP,;t t |
|
|
13649 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13864 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13650 | s,@RXVTNAME@,$RXVTNAME,;t t |
13865 | s,@RXVTNAME@,$RXVTNAME,;t t |
13651 | s,@MV@,$MV,;t t |
|
|
13652 | s,@RM@,$RM,;t t |
|
|
13653 | s,@CP@,$CP,;t t |
|
|
13654 | s,@LN@,$LN,;t t |
|
|
13655 | s,@SED@,$SED,;t t |
|
|
13656 | s,@ECHO@,$ECHO,;t t |
|
|
13657 | s,@CMP@,$CMP,;t t |
|
|
13658 | s,@TBL@,$TBL,;t t |
|
|
13659 | s,@TIC@,$TIC,;t t |
13866 | s,@TIC@,$TIC,;t t |
|
|
13867 | s,@CXXCPP@,$CXXCPP,;t t |
13660 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13868 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13661 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13869 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13662 | s,@X_LIBS@,$X_LIBS,;t t |
13870 | s,@X_LIBS@,$X_LIBS,;t t |
13663 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13871 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
|
|
13872 | s,@afterimage_config@,$afterimage_config,;t t |
13664 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
13873 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
13665 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
13874 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
13666 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
13875 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
13667 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
13876 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
13668 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13877 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13669 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13878 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13670 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13879 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13671 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13880 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13672 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13881 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
13882 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
|
|
13883 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
13673 | s,@PERL@,$PERL,;t t |
13884 | s,@PERL@,$PERL,;t t |
13674 | s,@PERLLIB@,$PERLLIB,;t t |
13885 | s,@PERLLIB@,$PERLLIB,;t t |
13675 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
13886 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
13676 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
13887 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
13677 | s,@IF_PERL@,$IF_PERL,;t t |
13888 | s,@IF_PERL@,$IF_PERL,;t t |
13678 | s,@PERL_O@,$PERL_O,;t t |
13889 | s,@PERL_O@,$PERL_O,;t t |
13679 | s,@DEBUG@,$DEBUG,;t t |
13890 | s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t |
13680 | s,@DINCLUDE@,$DINCLUDE,;t t |
13891 | s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t |
13681 | s,@DLIB@,$DLIB,;t t |
|
|
13682 | s,@include_stdint_h@,$include_stdint_h,;t t |
13892 | s,@include_stdint_h@,$include_stdint_h,;t t |
13683 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13893 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13684 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
13894 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
13685 | s,@include_unistd_h@,$include_unistd_h,;t t |
13895 | s,@include_unistd_h@,$include_unistd_h,;t t |
13686 | s,@include_string_h@,$include_string_h,;t t |
13896 | s,@include_string_h@,$include_string_h,;t t |
… | |
… | |
13692 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13902 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13693 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13903 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13694 | s,@include_time_h@,$include_time_h,;t t |
13904 | s,@include_time_h@,$include_time_h,;t t |
13695 | s,@LIBOBJS@,$LIBOBJS,;t t |
13905 | s,@LIBOBJS@,$LIBOBJS,;t t |
13696 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13906 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13697 | /@MCOMMON@/r $MCOMMON |
|
|
13698 | s,@MCOMMON@,,;t t |
|
|
13699 | CEOF |
13907 | CEOF |
13700 | |
13908 | |
13701 | _ACEOF |
13909 | _ACEOF |
13702 | |
13910 | |
13703 | cat >>$CONFIG_STATUS <<\_ACEOF |
13911 | cat >>$CONFIG_STATUS <<\_ACEOF |
… | |
… | |
13860 | case $INSTALL in |
14068 | case $INSTALL in |
13861 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
14069 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
13862 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
14070 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
13863 | esac |
14071 | esac |
13864 | |
14072 | |
|
|
14073 | if test x"$ac_file" != x-; then |
|
|
14074 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
14075 | echo "$as_me: creating $ac_file" >&6;} |
|
|
14076 | rm -f "$ac_file" |
|
|
14077 | fi |
13865 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
14078 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
13866 | # use $as_me), people would be surprised to read: |
14079 | # use $as_me), people would be surprised to read: |
13867 | # /* config.h. Generated by config.status. */ |
14080 | # /* config.h. Generated by config.status. */ |
13868 | if test x"$ac_file" = x-; then |
14081 | if test x"$ac_file" = x-; then |
13869 | configure_input= |
14082 | configure_input= |
… | |
… | |
13898 | echo "$as_me: error: cannot find input file: $f" >&2;} |
14111 | echo "$as_me: error: cannot find input file: $f" >&2;} |
13899 | { (exit 1); exit 1; }; } |
14112 | { (exit 1); exit 1; }; } |
13900 | fi;; |
14113 | fi;; |
13901 | esac |
14114 | esac |
13902 | done` || { (exit 1); exit 1; } |
14115 | done` || { (exit 1); exit 1; } |
13903 | |
|
|
13904 | if test x"$ac_file" != x-; then |
|
|
13905 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
13906 | echo "$as_me: creating $ac_file" >&6;} |
|
|
13907 | rm -f "$ac_file" |
|
|
13908 | fi |
|
|
13909 | _ACEOF |
14116 | _ACEOF |
13910 | cat >>$CONFIG_STATUS <<_ACEOF |
14117 | cat >>$CONFIG_STATUS <<_ACEOF |
13911 | sed "$ac_vpsub |
14118 | sed "$ac_vpsub |
13912 | $extrasub |
14119 | $extrasub |
13913 | _ACEOF |
14120 | _ACEOF |
… | |
… | |
14193 | |
14400 | |
14194 | Rxvt version: $VERSION : $DATE |
14401 | Rxvt version: $VERSION : $DATE |
14195 | Source code location: $srcdir |
14402 | Source code location: $srcdir |
14196 | Install path: ${prefix}/bin |
14403 | Install path: ${prefix}/bin |
14197 | Compiler: $CXX |
14404 | Compiler: $CXX |
14198 | Compiler flags: $CFLAGS |
14405 | Compiler flags: $CXXFLAGS |
14199 | Linker: $LINKER" |
14406 | Linker: $LINKER" |
14200 | |
|
|
14201 | if test "$MALLOC_TYPE" = S; then |
|
|
14202 | echo " malloc support: system default" |
|
|
14203 | fi |
|
|
14204 | if test "$MALLOC_TYPE" = G; then |
|
|
14205 | echo " malloc support: Gray Watson's dmalloc" |
|
|
14206 | fi |
|
|
14207 | if test "$MALLOC_TYPE" = D; then |
|
|
14208 | echo " malloc support: Doug Lea's malloc" |
|
|
14209 | fi |
|
|
14210 | |
14407 | |
14211 | if test x$support_xpm = xyes; then |
14408 | if test x$support_xpm = xyes; then |
14212 | echo " Xpm library: $XPM_LIBS" |
14409 | echo " Xpm library: $XPM_LIBS" |
14213 | fi |
14410 | fi |
14214 | |
14411 | |
14215 | echo " |
14412 | if test x$support_afterimage = xyes; then |
14216 | The following are set in config.h |
14413 | echo " AfterImage support: yes" |
14217 | " |
14414 | fi |
14218 | echo " pty/tty type: "$rxvt_cv_ptys |
14415 | |
14219 | if test x$support_utmp != xyes; then |
14416 | if test x$support_afterstep = xyes; then |
14220 | echo " utmp support: disabled" |
14417 | echo " AfterStep integration: yes" |
14221 | echo |
|
|
14222 | else |
|
|
14223 | echo " utmp support: enabled |
|
|
14224 | utmp file: $rxvt_cv_path_utmp |
|
|
14225 | utmpx file: $rxvt_cv_path_utmpx |
|
|
14226 | wtmp file: $rxvt_cv_path_wtmp |
|
|
14227 | wtmpx file: $rxvt_cv_path_wtmpx |
|
|
14228 | lastlog file: $rxvt_cv_path_lastlog |
|
|
14229 | ttys/ttytab file: $rxvt_cv_path_ttytab |
|
|
14230 | embedded perl: $support_perl" |
|
|
14231 | echo |
|
|
14232 | fi |
14418 | fi |
|
|
14419 | |
14233 | if test x$term != x; then |
14420 | if test x$term != x; then |
14234 | echo " set TERM to: $term" |
14421 | echo " set TERM to: $term" |
14235 | fi |
14422 | fi |
14236 | if test x$terminfo != x; then |
14423 | if test x$terminfo != x; then |
14237 | echo " set TERMINFO to: $terminfo" |
14424 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
14240 | echo " resource class: $RESCLASS" |
14427 | echo " resource class: $RESCLASS" |
14241 | if test x$RESFALLBACK != x; then |
14428 | if test x$RESFALLBACK != x; then |
14242 | echo " resource class fallback: $RESFALLBACK" |
14429 | echo " resource class fallback: $RESFALLBACK" |
14243 | fi |
14430 | fi |
14244 | echo |
14431 | echo |
14245 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
14432 | echo " embedded perl: $support_perl" |
14246 | echo ".----------------------------------------------------------------." |
14433 | echo |
14247 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
|
|
14248 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
|
|
14249 | echo ".----------------------------------------------------------------." |
|
|
14250 | fi |
|
|
14251 | if test x$support_xpm = xneedsmanualspecification; then |
14434 | if test x$support_xpm = xneedsmanualspecification; then |
14252 | echo ".----------------------------------------------------------------." |
14435 | echo ".----------------------------------------------------------------." |
14253 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14436 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14254 | echo ". XPM includes files and libraries could not be found. ." |
14437 | echo ". XPM includes files and libraries could not be found. ." |
14255 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
14438 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
… | |
… | |
14264 | echo ". functions could not be found. ." |
14447 | echo ". functions could not be found. ." |
14265 | echo ". XIM is now being DISABLED! ." |
14448 | echo ". XIM is now being DISABLED! ." |
14266 | echo ".----------------------------------------------------------------." |
14449 | echo ".----------------------------------------------------------------." |
14267 | fi |
14450 | fi |
14268 | |
14451 | |
14269 | echo " *** Optionally check src/feature.h for further options ***" |
14452 | echo "*** Optionally check src/feature.h for further, rarely used options ***" |
14270 | echo |
14453 | echo |
14271 | |
14454 | |
14272 | echo ".----------------------------------------------------------------." |
|
|
14273 | echo ". NOTE: some features are disabled by default, try ." |
|
|
14274 | echo ". configure --help to get an idea of the optional features, ." |
|
|
14275 | echo ". or read ./README.configure ." |
|
|
14276 | echo ". ." |
|
|
14277 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
14278 | echo ". you do not want to read documentation and still want some ." |
|
|
14279 | echo ". useful features. ." |
|
|
14280 | echo ".----------------------------------------------------------------." |
|
|
14281 | echo |
|
|
14282 | |
|
|