… | |
… | |
307 | #endif |
307 | #endif |
308 | #if HAVE_UNISTD_H |
308 | #if HAVE_UNISTD_H |
309 | # include <unistd.h> |
309 | # include <unistd.h> |
310 | #endif" |
310 | #endif" |
311 | |
311 | |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER CXXLIB INSTALL_LIBRXVT RXVTNAME TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS afterimage_config XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
313 | ac_subst_files='MCOMMON' |
313 | ac_subst_files='' |
314 | |
314 | |
315 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
316 | ac_init_help= |
316 | ac_init_help= |
317 | ac_init_version=false |
317 | ac_init_version=false |
318 | # The variables have the same names as the options, with |
318 | # The variables have the same names as the options, with |
… | |
… | |
870 | NOTE: automatically enabled with --enable-shared |
870 | NOTE: automatically enabled with --enable-shared |
871 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
871 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
872 | --enable-combining enable composition of base and combining characters |
872 | --enable-combining enable composition of base and combining characters |
873 | --enable-xft enable xft support on systems that have it |
873 | --enable-xft enable xft support on systems that have it |
874 | --enable-font-styles enable bold and italic support |
874 | --enable-font-styles enable bold and italic support |
875 | --enable-utmp enable utmp (utmpx) support |
|
|
876 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
|
|
877 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
|
|
878 | --enable-xpm-background enable XPM background pixmaps |
875 | --enable-xpm-background enable background pixmaps |
|
|
876 | --enable-afterimage enable integration with libAfterImage for background images |
|
|
877 | --enable-afterstep enable integration with AfterStep window manager |
879 | --enable-transparency enable transparent backgrounds |
878 | --enable-transparency enable transparent backgrounds |
880 | --enable-tinting enable tinting of transparent bg |
879 | --enable-tinting enable tinting of transparent bg |
881 | --enable-fading enable colors fading when off focus |
880 | --enable-fading enable colors fading when off focus |
882 | --enable-menubar enable menubar |
|
|
883 | --enable-rxvt-scroll enable rxvt style scrollbar |
881 | --enable-rxvt-scroll enable rxvt style scrollbar |
884 | --enable-next-scroll enable NeXT style scrollbar |
882 | --enable-next-scroll enable NeXT style scrollbar |
885 | --enable-xterm-scroll enable Xterm style scrollbar |
883 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
884 | --enable-perl enable embedded perl interpreter |
886 | --enable-plain-scroll enable plain style scrollbar |
885 | --enable-plain-scroll enable plain style scrollbar |
887 | --enable-half-shadow use half width/height shadow on rxvt scrollbar |
|
|
888 | --enable-xim XIM (X Input Method) protocol support |
886 | --enable-xim XIM (X Input Method) protocol support |
889 | --enable-ttygid enable tty setting to group named "tty" |
|
|
890 | --disable-backspace-key disable handling of the backspace key |
887 | --disable-backspace-key disable handling of the backspace key |
891 | --disable-delete-key disable handling of the delete key |
888 | --disable-delete-key disable handling of the delete key |
892 | --disable-resources disable all resource checking |
889 | --disable-resources disable all resource checking |
893 | --enable-xgetdefault enable resources via X instead of our small version |
|
|
894 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
890 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
895 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
891 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
896 | --enable-strings enable some replacement system functions |
|
|
897 | --disable-swapscreen disable swap screen support |
892 | --disable-swapscreen disable swap screen support |
898 | --enable-iso14755 enable support for extended ISO 14755 modes |
893 | --enable-iso14755 enable support for extended ISO 14755 modes |
899 | --enable-frills enable support for rarely used features |
894 | --enable-frills enable support for rarely used features |
900 | --enable-24bit enable support for using 24bit visuals if available |
|
|
901 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
895 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
902 | --enable-selectionscrolling enable scrolling during selections |
896 | --enable-selectionscrolling enable scrolling during selections |
903 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
897 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
904 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
898 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
905 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
|
|
906 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
|
|
907 | NOTE: enable only one malloc package |
|
|
908 | --enable-smart-resize enable smart growth/shrink behaviour |
899 | --enable-smart-resize enable smart growth/shrink behaviour |
909 | --enable-cursor-blink enable blinking cursor |
|
|
910 | --enable-text-blink enable blinking text |
900 | --enable-text-blink enable blinking text |
911 | --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) |
912 | |
905 | |
913 | Optional Packages: |
906 | Optional Packages: |
914 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
907 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
915 | --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 |
916 | --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) |
917 | --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) |
918 | --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) |
919 | --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) |
920 | --with-term=NAME set the terminal to NAME (default: rxvt) |
914 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1025 | echo |
1019 | echo |
1026 | $ac_configure --help |
1020 | $ac_configure --help |
1027 | else |
1021 | else |
1028 | 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 |
1029 | fi |
1023 | fi |
1030 | cd "$ac_popdir" |
1024 | cd $ac_popdir |
1031 | done |
1025 | done |
1032 | fi |
1026 | fi |
1033 | |
1027 | |
1034 | test -n "$ac_init_help" && exit 0 |
1028 | test -n "$ac_init_help" && exit 0 |
1035 | if $ac_init_version; then |
1029 | if $ac_init_version; then |
… | |
… | |
1373 | |
1367 | |
1374 | |
1368 | |
1375 | |
1369 | |
1376 | |
1370 | |
1377 | |
1371 | |
|
|
1372 | |
|
|
1373 | ac_config_headers="$ac_config_headers config.h:config.h.in" |
|
|
1374 | |
|
|
1375 | |
1378 | ac_aux_dir= |
1376 | ac_aux_dir= |
1379 | for ac_dir in autoconf $srcdir/autoconf; do |
1377 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1380 | if test -f $ac_dir/install-sh; then |
1378 | if test -f $ac_dir/install-sh; then |
1381 | ac_aux_dir=$ac_dir |
1379 | ac_aux_dir=$ac_dir |
1382 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1380 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1383 | break |
1381 | break |
1384 | elif test -f $ac_dir/install.sh; then |
1382 | elif test -f $ac_dir/install.sh; then |
… | |
… | |
1390 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1388 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1391 | break |
1389 | break |
1392 | fi |
1390 | fi |
1393 | done |
1391 | done |
1394 | if test -z "$ac_aux_dir"; then |
1392 | if test -z "$ac_aux_dir"; then |
1395 | { { 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 |
1396 | 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;} |
1397 | { (exit 1); exit 1; }; } |
1395 | { (exit 1); exit 1; }; } |
1398 | fi |
1396 | fi |
1399 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1397 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1400 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1398 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1401 | 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. |
1402 | |
|
|
1403 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
|
|
1404 | |
|
|
1405 | |
1400 | |
1406 | # Make sure we can run config.sub. |
1401 | # Make sure we can run config.sub. |
1407 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1402 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1408 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1403 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1409 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1404 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1461 | 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` |
1462 | 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` |
1463 | echo "" |
1458 | echo "" |
1464 | echo "configuring for rxvt $VERSION" |
1459 | echo "configuring for rxvt $VERSION" |
1465 | echo "" |
1460 | echo "" |
|
|
1461 | |
|
|
1462 | orig_CXXFLAGS="$CXXFLAGS" |
1466 | |
1463 | |
1467 | |
1464 | |
1468 | ac_ext=c |
1465 | ac_ext=c |
1469 | ac_cpp='$CPP $CPPFLAGS' |
1466 | ac_cpp='$CPP $CPPFLAGS' |
1470 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1467 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
2031 | grep -v '^ *+' conftest.er1 >conftest.err |
2028 | grep -v '^ *+' conftest.er1 >conftest.err |
2032 | rm -f conftest.er1 |
2029 | rm -f conftest.er1 |
2033 | cat conftest.err >&5 |
2030 | cat conftest.err >&5 |
2034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2035 | (exit $ac_status); } && |
2032 | (exit $ac_status); } && |
2036 | { 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' |
2037 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2035 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2038 | (eval $ac_try) 2>&5 |
2036 | (eval $ac_try) 2>&5 |
2039 | ac_status=$? |
2037 | ac_status=$? |
2040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2041 | (exit $ac_status); }; } && |
2039 | (exit $ac_status); }; } && |
… | |
… | |
2089 | grep -v '^ *+' conftest.er1 >conftest.err |
2087 | grep -v '^ *+' conftest.er1 >conftest.err |
2090 | rm -f conftest.er1 |
2088 | rm -f conftest.er1 |
2091 | cat conftest.err >&5 |
2089 | cat conftest.err >&5 |
2092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2093 | (exit $ac_status); } && |
2091 | (exit $ac_status); } && |
2094 | { 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' |
2095 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2096 | (eval $ac_try) 2>&5 |
2095 | (eval $ac_try) 2>&5 |
2097 | ac_status=$? |
2096 | ac_status=$? |
2098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2099 | (exit $ac_status); }; } && |
2098 | (exit $ac_status); }; } && |
… | |
… | |
2205 | grep -v '^ *+' conftest.er1 >conftest.err |
2204 | grep -v '^ *+' conftest.er1 >conftest.err |
2206 | rm -f conftest.er1 |
2205 | rm -f conftest.er1 |
2207 | cat conftest.err >&5 |
2206 | cat conftest.err >&5 |
2208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2209 | (exit $ac_status); } && |
2208 | (exit $ac_status); } && |
2210 | { 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' |
2211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2212 | (eval $ac_try) 2>&5 |
2212 | (eval $ac_try) 2>&5 |
2213 | ac_status=$? |
2213 | ac_status=$? |
2214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2215 | (exit $ac_status); }; } && |
2215 | (exit $ac_status); }; } && |
… | |
… | |
2259 | grep -v '^ *+' conftest.er1 >conftest.err |
2259 | grep -v '^ *+' conftest.er1 >conftest.err |
2260 | rm -f conftest.er1 |
2260 | rm -f conftest.er1 |
2261 | cat conftest.err >&5 |
2261 | cat conftest.err >&5 |
2262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2263 | (exit $ac_status); } && |
2263 | (exit $ac_status); } && |
2264 | { 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' |
2265 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2266 | (eval $ac_try) 2>&5 |
2267 | (eval $ac_try) 2>&5 |
2267 | ac_status=$? |
2268 | ac_status=$? |
2268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2269 | (exit $ac_status); }; } && |
2270 | (exit $ac_status); }; } && |
… | |
… | |
2304 | grep -v '^ *+' conftest.er1 >conftest.err |
2305 | grep -v '^ *+' conftest.er1 >conftest.err |
2305 | rm -f conftest.er1 |
2306 | rm -f conftest.er1 |
2306 | cat conftest.err >&5 |
2307 | cat conftest.err >&5 |
2307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2308 | (exit $ac_status); } && |
2309 | (exit $ac_status); } && |
2309 | { 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' |
2310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2311 | (eval $ac_try) 2>&5 |
2313 | (eval $ac_try) 2>&5 |
2312 | ac_status=$? |
2314 | ac_status=$? |
2313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2314 | (exit $ac_status); }; } && |
2316 | (exit $ac_status); }; } && |
… | |
… | |
2348 | grep -v '^ *+' conftest.er1 >conftest.err |
2350 | grep -v '^ *+' conftest.er1 >conftest.err |
2349 | rm -f conftest.er1 |
2351 | rm -f conftest.er1 |
2350 | cat conftest.err >&5 |
2352 | cat conftest.err >&5 |
2351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2352 | (exit $ac_status); } && |
2354 | (exit $ac_status); } && |
2353 | { 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' |
2354 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2355 | (eval $ac_try) 2>&5 |
2358 | (eval $ac_try) 2>&5 |
2356 | ac_status=$? |
2359 | ac_status=$? |
2357 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2358 | (exit $ac_status); }; } && |
2361 | (exit $ac_status); }; } && |
… | |
… | |
2532 | grep -v '^ *+' conftest.er1 >conftest.err |
2535 | grep -v '^ *+' conftest.er1 >conftest.err |
2533 | rm -f conftest.er1 |
2536 | rm -f conftest.er1 |
2534 | cat conftest.err >&5 |
2537 | cat conftest.err >&5 |
2535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2536 | (exit $ac_status); } && |
2539 | (exit $ac_status); } && |
2537 | { 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' |
2538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2542 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2539 | (eval $ac_try) 2>&5 |
2543 | (eval $ac_try) 2>&5 |
2540 | ac_status=$? |
2544 | ac_status=$? |
2541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2542 | (exit $ac_status); }; } && |
2546 | (exit $ac_status); }; } && |
… | |
… | |
2590 | grep -v '^ *+' conftest.er1 >conftest.err |
2594 | grep -v '^ *+' conftest.er1 >conftest.err |
2591 | rm -f conftest.er1 |
2595 | rm -f conftest.er1 |
2592 | cat conftest.err >&5 |
2596 | cat conftest.err >&5 |
2593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2594 | (exit $ac_status); } && |
2598 | (exit $ac_status); } && |
2595 | { 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' |
2596 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2601 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2597 | (eval $ac_try) 2>&5 |
2602 | (eval $ac_try) 2>&5 |
2598 | ac_status=$? |
2603 | ac_status=$? |
2599 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2600 | (exit $ac_status); }; } && |
2605 | (exit $ac_status); }; } && |
… | |
… | |
2661 | grep -v '^ *+' conftest.er1 >conftest.err |
2666 | grep -v '^ *+' conftest.er1 >conftest.err |
2662 | rm -f conftest.er1 |
2667 | rm -f conftest.er1 |
2663 | cat conftest.err >&5 |
2668 | cat conftest.err >&5 |
2664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2665 | (exit $ac_status); } && |
2670 | (exit $ac_status); } && |
2666 | { 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' |
2667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2668 | (eval $ac_try) 2>&5 |
2674 | (eval $ac_try) 2>&5 |
2669 | ac_status=$? |
2675 | ac_status=$? |
2670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2671 | (exit $ac_status); }; } && |
2677 | (exit $ac_status); }; } && |
… | |
… | |
2705 | grep -v '^ *+' conftest.er1 >conftest.err |
2711 | grep -v '^ *+' conftest.er1 >conftest.err |
2706 | rm -f conftest.er1 |
2712 | rm -f conftest.er1 |
2707 | cat conftest.err >&5 |
2713 | cat conftest.err >&5 |
2708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2709 | (exit $ac_status); } && |
2715 | (exit $ac_status); } && |
2710 | { 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' |
2711 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2712 | (eval $ac_try) 2>&5 |
2719 | (eval $ac_try) 2>&5 |
2713 | ac_status=$? |
2720 | ac_status=$? |
2714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2715 | (exit $ac_status); }; } && |
2722 | (exit $ac_status); }; } && |
… | |
… | |
3051 | |
3058 | |
3052 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3059 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3053 | |
3060 | |
3054 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3061 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3055 | |
3062 | |
3056 | for ac_prog in gawk mawk nawk awk |
|
|
3057 | do |
|
|
3058 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3059 | set dummy $ac_prog; ac_word=$2 |
|
|
3060 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
3061 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
3062 | if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
3063 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3064 | else |
|
|
3065 | if test -n "$AWK"; then |
|
|
3066 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3067 | else |
|
|
3068 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3069 | for as_dir in $PATH |
|
|
3070 | do |
|
|
3071 | IFS=$as_save_IFS |
|
|
3072 | test -z "$as_dir" && as_dir=. |
|
|
3073 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3074 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3075 | ac_cv_prog_AWK="$ac_prog" |
|
|
3076 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3077 | break 2 |
|
|
3078 | fi |
|
|
3079 | done |
|
|
3080 | done |
|
|
3081 | |
3063 | |
3082 | fi |
|
|
3083 | fi |
|
|
3084 | AWK=$ac_cv_prog_AWK |
|
|
3085 | if test -n "$AWK"; then |
|
|
3086 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3087 | echo "${ECHO_T}$AWK" >&6 |
|
|
3088 | else |
|
|
3089 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3090 | echo "${ECHO_T}no" >&6 |
|
|
3091 | fi |
|
|
3092 | |
|
|
3093 | test -n "$AWK" && break |
|
|
3094 | done |
|
|
3095 | |
|
|
3096 | |
|
|
3097 | ac_ext=c |
|
|
3098 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3099 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3100 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3101 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3102 | |
|
|
3103 | |
|
|
3104 | if test -z "$orig_CXXFLAGS"; then |
|
|
3105 | CXXFLAGS='-O' |
|
|
3106 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3107 | CXXFLAGS="-g -O3" |
|
|
3108 | fi |
|
|
3109 | CFLAGS="$CXXFLAGS" |
|
|
3110 | fi |
|
|
3111 | |
|
|
3112 | LINKER="$CXX" |
|
|
3113 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3114 | |
|
|
3115 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
|
|
3116 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
|
|
3117 | if test "${ac_cv_lib_supcpp_main+set}" = set; then |
|
|
3118 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3119 | else |
|
|
3120 | ac_check_lib_save_LIBS=$LIBS |
|
|
3121 | LIBS="-lsupc++ $LIBS" |
|
|
3122 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3123 | /* confdefs.h. */ |
|
|
3124 | _ACEOF |
|
|
3125 | cat confdefs.h >>conftest.$ac_ext |
|
|
3126 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3127 | /* end confdefs.h. */ |
|
|
3128 | |
|
|
3129 | |
|
|
3130 | int |
|
|
3131 | main () |
|
|
3132 | { |
|
|
3133 | main (); |
|
|
3134 | ; |
|
|
3135 | return 0; |
|
|
3136 | } |
|
|
3137 | _ACEOF |
|
|
3138 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3139 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3140 | (eval $ac_link) 2>conftest.er1 |
|
|
3141 | ac_status=$? |
|
|
3142 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3143 | rm -f conftest.er1 |
|
|
3144 | cat conftest.err >&5 |
|
|
3145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3146 | (exit $ac_status); } && |
|
|
3147 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3149 | (eval $ac_try) 2>&5 |
|
|
3150 | ac_status=$? |
|
|
3151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3152 | (exit $ac_status); }; } && |
|
|
3153 | { ac_try='test -s conftest$ac_exeext' |
|
|
3154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3155 | (eval $ac_try) 2>&5 |
|
|
3156 | ac_status=$? |
|
|
3157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3158 | (exit $ac_status); }; }; then |
|
|
3159 | ac_cv_lib_supcpp_main=yes |
|
|
3160 | else |
|
|
3161 | echo "$as_me: failed program was:" >&5 |
|
|
3162 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3163 | |
|
|
3164 | ac_cv_lib_supcpp_main=no |
|
|
3165 | fi |
|
|
3166 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3167 | conftest$ac_exeext conftest.$ac_ext |
|
|
3168 | LIBS=$ac_check_lib_save_LIBS |
|
|
3169 | fi |
|
|
3170 | echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5 |
|
|
3171 | echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6 |
|
|
3172 | if test $ac_cv_lib_supcpp_main = yes; then |
|
|
3173 | |
|
|
3174 | LINKER="$CC" |
|
|
3175 | LIBS="$LIBS -lsupc++" |
|
|
3176 | |
|
|
3177 | fi |
|
|
3178 | |
|
|
3179 | fi |
|
|
3180 | LINKER=$LINKER |
|
|
3181 | |
|
|
3182 | |
|
|
3183 | |
|
|
3184 | cat >>confdefs.h <<\_ACEOF |
|
|
3185 | #define _GNU_SOURCE 1 |
|
|
3186 | _ACEOF |
|
|
3187 | |
|
|
3188 | |
|
|
3189 | case $host in |
|
|
3190 | *-*-solaris* ) |
|
|
3191 | |
|
|
3192 | cat >>confdefs.h <<\_ACEOF |
|
|
3193 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3194 | _ACEOF |
|
|
3195 | |
|
|
3196 | |
|
|
3197 | cat >>confdefs.h <<\_ACEOF |
|
|
3198 | #define _XOPEN_SOURCE 2 |
|
|
3199 | _ACEOF |
|
|
3200 | |
|
|
3201 | |
|
|
3202 | cat >>confdefs.h <<\_ACEOF |
|
|
3203 | #define __EXTENSIONS__ 1 |
|
|
3204 | _ACEOF |
|
|
3205 | |
|
|
3206 | ;; |
|
|
3207 | esac |
|
|
3208 | |
|
|
3209 | |
|
|
3210 | ac_ext=cc |
|
|
3211 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3212 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3213 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3214 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3215 | |
|
|
3216 | |
|
|
3217 | |
|
|
3218 | ac_ext=cc |
|
|
3219 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3220 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3221 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3222 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3223 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
3224 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
3225 | if test -z "$CXXCPP"; then |
|
|
3226 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
3227 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3228 | else |
|
|
3229 | # Double quotes because CXXCPP needs to be expanded |
|
|
3230 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
3231 | do |
|
|
3232 | ac_preproc_ok=false |
|
|
3233 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3234 | do |
|
|
3235 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3236 | # with a fresh cross-compiler works. |
|
|
3237 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3238 | # <limits.h> exists even on freestanding compilers. |
|
|
3239 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3240 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3241 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3242 | /* confdefs.h. */ |
|
|
3243 | _ACEOF |
|
|
3244 | cat confdefs.h >>conftest.$ac_ext |
|
|
3245 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3246 | /* end confdefs.h. */ |
|
|
3247 | #ifdef __STDC__ |
|
|
3248 | # include <limits.h> |
|
|
3249 | #else |
|
|
3250 | # include <assert.h> |
|
|
3251 | #endif |
|
|
3252 | Syntax error |
|
|
3253 | _ACEOF |
|
|
3254 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3255 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3256 | ac_status=$? |
|
|
3257 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3258 | rm -f conftest.er1 |
|
|
3259 | cat conftest.err >&5 |
|
|
3260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3261 | (exit $ac_status); } >/dev/null; then |
|
|
3262 | if test -s conftest.err; then |
|
|
3263 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3264 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3265 | else |
|
|
3266 | ac_cpp_err= |
|
|
3267 | fi |
|
|
3268 | else |
|
|
3269 | ac_cpp_err=yes |
|
|
3270 | fi |
|
|
3271 | if test -z "$ac_cpp_err"; then |
|
|
3272 | : |
|
|
3273 | else |
|
|
3274 | echo "$as_me: failed program was:" >&5 |
|
|
3275 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3276 | |
|
|
3277 | # Broken: fails on valid input. |
|
|
3278 | continue |
|
|
3279 | fi |
|
|
3280 | rm -f conftest.err conftest.$ac_ext |
|
|
3281 | |
|
|
3282 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3283 | # can be detected and how. |
|
|
3284 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3285 | /* confdefs.h. */ |
|
|
3286 | _ACEOF |
|
|
3287 | cat confdefs.h >>conftest.$ac_ext |
|
|
3288 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3289 | /* end confdefs.h. */ |
|
|
3290 | #include <ac_nonexistent.h> |
|
|
3291 | _ACEOF |
|
|
3292 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3293 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3294 | ac_status=$? |
|
|
3295 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3296 | rm -f conftest.er1 |
|
|
3297 | cat conftest.err >&5 |
|
|
3298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3299 | (exit $ac_status); } >/dev/null; then |
|
|
3300 | if test -s conftest.err; then |
|
|
3301 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3302 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3303 | else |
|
|
3304 | ac_cpp_err= |
|
|
3305 | fi |
|
|
3306 | else |
|
|
3307 | ac_cpp_err=yes |
|
|
3308 | fi |
|
|
3309 | if test -z "$ac_cpp_err"; then |
|
|
3310 | # Broken: success on invalid input. |
|
|
3311 | continue |
|
|
3312 | else |
|
|
3313 | echo "$as_me: failed program was:" >&5 |
|
|
3314 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3315 | |
|
|
3316 | # Passes both tests. |
|
|
3317 | ac_preproc_ok=: |
|
|
3318 | break |
|
|
3319 | fi |
|
|
3320 | rm -f conftest.err conftest.$ac_ext |
|
|
3321 | |
|
|
3322 | done |
|
|
3323 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3324 | rm -f conftest.err conftest.$ac_ext |
|
|
3325 | if $ac_preproc_ok; then |
|
|
3326 | break |
|
|
3327 | fi |
|
|
3328 | |
|
|
3329 | done |
|
|
3330 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3331 | |
|
|
3332 | fi |
|
|
3333 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
3334 | else |
|
|
3335 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3336 | fi |
|
|
3337 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
3338 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
3339 | ac_preproc_ok=false |
|
|
3340 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3341 | do |
|
|
3342 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3343 | # with a fresh cross-compiler works. |
|
|
3344 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3345 | # <limits.h> exists even on freestanding compilers. |
|
|
3346 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3347 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3348 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3349 | /* confdefs.h. */ |
|
|
3350 | _ACEOF |
|
|
3351 | cat confdefs.h >>conftest.$ac_ext |
|
|
3352 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3353 | /* end confdefs.h. */ |
|
|
3354 | #ifdef __STDC__ |
|
|
3355 | # include <limits.h> |
|
|
3356 | #else |
|
|
3357 | # include <assert.h> |
|
|
3358 | #endif |
|
|
3359 | Syntax error |
|
|
3360 | _ACEOF |
|
|
3361 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3362 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3363 | ac_status=$? |
|
|
3364 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3365 | rm -f conftest.er1 |
|
|
3366 | cat conftest.err >&5 |
|
|
3367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3368 | (exit $ac_status); } >/dev/null; then |
|
|
3369 | if test -s conftest.err; then |
|
|
3370 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3371 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3372 | else |
|
|
3373 | ac_cpp_err= |
|
|
3374 | fi |
|
|
3375 | else |
|
|
3376 | ac_cpp_err=yes |
|
|
3377 | fi |
|
|
3378 | if test -z "$ac_cpp_err"; then |
|
|
3379 | : |
|
|
3380 | else |
|
|
3381 | echo "$as_me: failed program was:" >&5 |
|
|
3382 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3383 | |
|
|
3384 | # Broken: fails on valid input. |
|
|
3385 | continue |
|
|
3386 | fi |
|
|
3387 | rm -f conftest.err conftest.$ac_ext |
|
|
3388 | |
|
|
3389 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3390 | # can be detected and how. |
|
|
3391 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3392 | /* confdefs.h. */ |
|
|
3393 | _ACEOF |
|
|
3394 | cat confdefs.h >>conftest.$ac_ext |
|
|
3395 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3396 | /* end confdefs.h. */ |
|
|
3397 | #include <ac_nonexistent.h> |
|
|
3398 | _ACEOF |
|
|
3399 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3400 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3401 | ac_status=$? |
|
|
3402 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3403 | rm -f conftest.er1 |
|
|
3404 | cat conftest.err >&5 |
|
|
3405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3406 | (exit $ac_status); } >/dev/null; then |
|
|
3407 | if test -s conftest.err; then |
|
|
3408 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3409 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3410 | else |
|
|
3411 | ac_cpp_err= |
|
|
3412 | fi |
|
|
3413 | else |
|
|
3414 | ac_cpp_err=yes |
|
|
3415 | fi |
|
|
3416 | if test -z "$ac_cpp_err"; then |
|
|
3417 | # Broken: success on invalid input. |
|
|
3418 | continue |
|
|
3419 | else |
|
|
3420 | echo "$as_me: failed program was:" >&5 |
|
|
3421 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3422 | |
|
|
3423 | # Passes both tests. |
|
|
3424 | ac_preproc_ok=: |
|
|
3425 | break |
|
|
3426 | fi |
|
|
3427 | rm -f conftest.err conftest.$ac_ext |
|
|
3428 | |
|
|
3429 | done |
|
|
3430 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3431 | rm -f conftest.err conftest.$ac_ext |
|
|
3432 | if $ac_preproc_ok; then |
|
|
3433 | : |
|
|
3434 | else |
|
|
3435 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3436 | See \`config.log' for more details." >&5 |
|
|
3437 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3438 | See \`config.log' for more details." >&2;} |
|
|
3439 | { (exit 1); exit 1; }; } |
|
|
3440 | fi |
|
|
3441 | |
|
|
3442 | ac_ext=cc |
|
|
3443 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3444 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3445 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3446 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3447 | |
3064 | |
3448 | |
3065 | |
3449 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3066 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3450 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3067 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3451 | if test "${ac_cv_prog_egrep+set}" = set; then |
3068 | if test "${ac_cv_prog_egrep+set}" = set; then |
… | |
… | |
3526 | grep -v '^ *+' conftest.er1 >conftest.err |
3143 | grep -v '^ *+' conftest.er1 >conftest.err |
3527 | rm -f conftest.er1 |
3144 | rm -f conftest.er1 |
3528 | cat conftest.err >&5 |
3145 | cat conftest.err >&5 |
3529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3530 | (exit $ac_status); } && |
3147 | (exit $ac_status); } && |
3531 | { 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' |
3532 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3150 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3533 | (eval $ac_try) 2>&5 |
3151 | (eval $ac_try) 2>&5 |
3534 | ac_status=$? |
3152 | ac_status=$? |
3535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3536 | (exit $ac_status); }; } && |
3154 | (exit $ac_status); }; } && |
… | |
… | |
3580 | grep -v '^ *+' conftest.er1 >conftest.err |
3198 | grep -v '^ *+' conftest.er1 >conftest.err |
3581 | rm -f conftest.er1 |
3199 | rm -f conftest.er1 |
3582 | cat conftest.err >&5 |
3200 | cat conftest.err >&5 |
3583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3584 | (exit $ac_status); } && |
3202 | (exit $ac_status); } && |
3585 | { 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' |
3586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3205 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3587 | (eval $ac_try) 2>&5 |
3206 | (eval $ac_try) 2>&5 |
3588 | ac_status=$? |
3207 | ac_status=$? |
3589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3590 | (exit $ac_status); }; } && |
3209 | (exit $ac_status); }; } && |
… | |
… | |
3612 | if test "$ac_cv_search_strerror" != no; then |
3231 | if test "$ac_cv_search_strerror" != no; then |
3613 | 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" |
3614 | |
3233 | |
3615 | fi |
3234 | fi |
3616 | |
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 |
3617 | |
3241 | |
|
|
3242 | |
|
|
3243 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3244 | echo "$as_me:$LINENO: checking for working libsupc++" >&5 |
|
|
3245 | echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6 |
|
|
3246 | save_CXX="$CXX" |
|
|
3247 | save_LIBS="$LIBS" |
|
|
3248 | CXX="$CC" |
|
|
3249 | LIBS="$LIBS -lsupc++" |
|
|
3250 | LINKER="$CC" |
|
|
3251 | |
|
|
3252 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3253 | /* confdefs.h. */ |
|
|
3254 | _ACEOF |
|
|
3255 | cat confdefs.h >>conftest.$ac_ext |
|
|
3256 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3257 | /* end confdefs.h. */ |
|
|
3258 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
|
|
3259 | int |
|
|
3260 | main () |
|
|
3261 | { |
|
|
3262 | |
|
|
3263 | ; |
|
|
3264 | return 0; |
|
|
3265 | } |
|
|
3266 | _ACEOF |
|
|
3267 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3268 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3269 | (eval $ac_link) 2>conftest.er1 |
|
|
3270 | ac_status=$? |
|
|
3271 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3272 | rm -f conftest.er1 |
|
|
3273 | cat conftest.err >&5 |
|
|
3274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3275 | (exit $ac_status); } && |
|
|
3276 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3277 | || test ! -s conftest.err' |
|
|
3278 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3279 | (eval $ac_try) 2>&5 |
|
|
3280 | ac_status=$? |
|
|
3281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3282 | (exit $ac_status); }; } && |
|
|
3283 | { ac_try='test -s conftest$ac_exeext' |
|
|
3284 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3285 | (eval $ac_try) 2>&5 |
|
|
3286 | ac_status=$? |
|
|
3287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3288 | (exit $ac_status); }; }; then |
|
|
3289 | |
|
|
3290 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
3291 | echo "${ECHO_T}ok" >&6 |
|
|
3292 | CXXLIB="-lsupc++" |
|
|
3293 | |
|
|
3294 | else |
|
|
3295 | echo "$as_me: failed program was:" >&5 |
|
|
3296 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3297 | |
|
|
3298 | |
|
|
3299 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3300 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3301 | LIBS="$save_LIBS" |
|
|
3302 | LINKER="$save_CXX" |
|
|
3303 | |
|
|
3304 | |
|
|
3305 | fi |
|
|
3306 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3307 | conftest$ac_exeext conftest.$ac_ext |
|
|
3308 | CXX="$save_CXX" |
|
|
3309 | fi |
|
|
3310 | LINKER=$LINKER |
|
|
3311 | |
|
|
3312 | |
|
|
3313 | |
|
|
3314 | if test -z "$orig_CXXFLAGS"; then |
|
|
3315 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3316 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
|
|
3317 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3318 | /* confdefs.h. */ |
|
|
3319 | _ACEOF |
|
|
3320 | cat confdefs.h >>conftest.$ac_ext |
|
|
3321 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3322 | /* end confdefs.h. */ |
|
|
3323 | |
|
|
3324 | int |
|
|
3325 | main () |
|
|
3326 | { |
|
|
3327 | |
|
|
3328 | ; |
|
|
3329 | return 0; |
|
|
3330 | } |
|
|
3331 | _ACEOF |
|
|
3332 | rm -f conftest.$ac_objext |
|
|
3333 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
3334 | (eval $ac_compile) 2>conftest.er1 |
|
|
3335 | ac_status=$? |
|
|
3336 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3337 | rm -f conftest.er1 |
|
|
3338 | cat conftest.err >&5 |
|
|
3339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3340 | (exit $ac_status); } && |
|
|
3341 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3342 | || test ! -s conftest.err' |
|
|
3343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3344 | (eval $ac_try) 2>&5 |
|
|
3345 | ac_status=$? |
|
|
3346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3347 | (exit $ac_status); }; } && |
|
|
3348 | { ac_try='test -s conftest.$ac_objext' |
|
|
3349 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3350 | (eval $ac_try) 2>&5 |
|
|
3351 | ac_status=$? |
|
|
3352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3353 | (exit $ac_status); }; }; then |
|
|
3354 | : |
|
|
3355 | else |
|
|
3356 | echo "$as_me: failed program was:" >&5 |
|
|
3357 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3358 | |
|
|
3359 | CXXFLAGS="-g -O3" |
|
|
3360 | fi |
|
|
3361 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3362 | else |
|
|
3363 | CXXFLAGS="-O" |
|
|
3364 | fi |
|
|
3365 | CFLAGS="$CXXFLAGS" |
|
|
3366 | fi |
|
|
3367 | |
|
|
3368 | |
|
|
3369 | cat >>confdefs.h <<\_ACEOF |
|
|
3370 | #define _GNU_SOURCE 1 |
|
|
3371 | _ACEOF |
|
|
3372 | |
|
|
3373 | |
|
|
3374 | case $host in |
|
|
3375 | *-*-solaris* ) |
|
|
3376 | |
|
|
3377 | cat >>confdefs.h <<\_ACEOF |
|
|
3378 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3379 | _ACEOF |
|
|
3380 | |
|
|
3381 | |
|
|
3382 | cat >>confdefs.h <<\_ACEOF |
|
|
3383 | #define _XOPEN_SOURCE 2 |
|
|
3384 | _ACEOF |
|
|
3385 | |
|
|
3386 | |
|
|
3387 | cat >>confdefs.h <<\_ACEOF |
|
|
3388 | #define __EXTENSIONS__ 1 |
|
|
3389 | _ACEOF |
|
|
3390 | |
|
|
3391 | ;; |
|
|
3392 | esac |
|
|
3393 | |
|
|
3394 | |
|
|
3395 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
|
|
3396 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
|
|
3397 | if test "${ac_cv_func_setlocale+set}" = set; then |
|
|
3398 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3399 | else |
|
|
3400 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3401 | /* confdefs.h. */ |
|
|
3402 | _ACEOF |
|
|
3403 | cat confdefs.h >>conftest.$ac_ext |
|
|
3404 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3405 | /* end confdefs.h. */ |
|
|
3406 | /* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale. |
|
|
3407 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3408 | #define setlocale innocuous_setlocale |
|
|
3409 | |
|
|
3410 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3411 | which can conflict with char setlocale (); below. |
|
|
3412 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3413 | <limits.h> exists even on freestanding compilers. */ |
|
|
3414 | |
|
|
3415 | #ifdef __STDC__ |
|
|
3416 | # include <limits.h> |
|
|
3417 | #else |
|
|
3418 | # include <assert.h> |
|
|
3419 | #endif |
|
|
3420 | |
|
|
3421 | #undef setlocale |
|
|
3422 | |
|
|
3423 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3424 | #ifdef __cplusplus |
|
|
3425 | extern "C" |
|
|
3426 | { |
|
|
3427 | #endif |
|
|
3428 | /* We use char because int might match the return type of a gcc2 |
|
|
3429 | builtin and then its argument prototype would still apply. */ |
|
|
3430 | char setlocale (); |
|
|
3431 | /* The GNU C library defines this for functions which it implements |
|
|
3432 | to always fail with ENOSYS. Some functions are actually named |
|
|
3433 | something starting with __ and the normal name is an alias. */ |
|
|
3434 | #if defined (__stub_setlocale) || defined (__stub___setlocale) |
|
|
3435 | choke me |
|
|
3436 | #else |
|
|
3437 | char (*f) () = setlocale; |
|
|
3438 | #endif |
|
|
3439 | #ifdef __cplusplus |
|
|
3440 | } |
|
|
3441 | #endif |
|
|
3442 | |
|
|
3443 | int |
|
|
3444 | main () |
|
|
3445 | { |
|
|
3446 | return f != setlocale; |
|
|
3447 | ; |
|
|
3448 | return 0; |
|
|
3449 | } |
|
|
3450 | _ACEOF |
|
|
3451 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3452 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3453 | (eval $ac_link) 2>conftest.er1 |
|
|
3454 | ac_status=$? |
|
|
3455 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3456 | rm -f conftest.er1 |
|
|
3457 | cat conftest.err >&5 |
|
|
3458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3459 | (exit $ac_status); } && |
|
|
3460 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3461 | || test ! -s conftest.err' |
|
|
3462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3463 | (eval $ac_try) 2>&5 |
|
|
3464 | ac_status=$? |
|
|
3465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3466 | (exit $ac_status); }; } && |
|
|
3467 | { ac_try='test -s conftest$ac_exeext' |
|
|
3468 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3469 | (eval $ac_try) 2>&5 |
|
|
3470 | ac_status=$? |
|
|
3471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3472 | (exit $ac_status); }; }; then |
|
|
3473 | ac_cv_func_setlocale=yes |
|
|
3474 | else |
|
|
3475 | echo "$as_me: failed program was:" >&5 |
|
|
3476 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3477 | |
|
|
3478 | ac_cv_func_setlocale=no |
|
|
3479 | fi |
|
|
3480 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3481 | conftest$ac_exeext conftest.$ac_ext |
|
|
3482 | fi |
|
|
3483 | echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5 |
|
|
3484 | echo "${ECHO_T}$ac_cv_func_setlocale" >&6 |
|
|
3485 | if test $ac_cv_func_setlocale = yes; then |
|
|
3486 | : |
|
|
3487 | else |
3618 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
3488 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
3619 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
3489 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
3620 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
3490 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
3621 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3491 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3622 | else |
3492 | else |
3623 | ac_check_lib_save_LIBS=$LIBS |
3493 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3651 | grep -v '^ *+' conftest.er1 >conftest.err |
3521 | grep -v '^ *+' conftest.er1 >conftest.err |
3652 | rm -f conftest.er1 |
3522 | rm -f conftest.er1 |
3653 | cat conftest.err >&5 |
3523 | cat conftest.err >&5 |
3654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3655 | (exit $ac_status); } && |
3525 | (exit $ac_status); } && |
3656 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3526 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3527 | || test ! -s conftest.err' |
3657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3528 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3658 | (eval $ac_try) 2>&5 |
3529 | (eval $ac_try) 2>&5 |
3659 | ac_status=$? |
3530 | ac_status=$? |
3660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3661 | (exit $ac_status); }; } && |
3532 | (exit $ac_status); }; } && |
… | |
… | |
3680 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
3551 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
3681 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
3552 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
3682 | LIBS="$LIBS -lxpg4" |
3553 | LIBS="$LIBS -lxpg4" |
3683 | fi |
3554 | fi |
3684 | |
3555 | |
|
|
3556 | fi |
3685 | |
3557 | |
|
|
3558 | |
|
|
3559 | echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
|
|
3560 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
|
|
3561 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
|
3562 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3563 | else |
|
|
3564 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3565 | /* confdefs.h. */ |
|
|
3566 | _ACEOF |
|
|
3567 | cat confdefs.h >>conftest.$ac_ext |
|
|
3568 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3569 | /* end confdefs.h. */ |
|
|
3570 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
|
3571 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3572 | #define gethostbyname innocuous_gethostbyname |
|
|
3573 | |
|
|
3574 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3575 | which can conflict with char gethostbyname (); below. |
|
|
3576 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3577 | <limits.h> exists even on freestanding compilers. */ |
|
|
3578 | |
|
|
3579 | #ifdef __STDC__ |
|
|
3580 | # include <limits.h> |
|
|
3581 | #else |
|
|
3582 | # include <assert.h> |
|
|
3583 | #endif |
|
|
3584 | |
|
|
3585 | #undef gethostbyname |
|
|
3586 | |
|
|
3587 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3588 | #ifdef __cplusplus |
|
|
3589 | extern "C" |
|
|
3590 | { |
|
|
3591 | #endif |
|
|
3592 | /* We use char because int might match the return type of a gcc2 |
|
|
3593 | builtin and then its argument prototype would still apply. */ |
|
|
3594 | char gethostbyname (); |
|
|
3595 | /* The GNU C library defines this for functions which it implements |
|
|
3596 | to always fail with ENOSYS. Some functions are actually named |
|
|
3597 | something starting with __ and the normal name is an alias. */ |
|
|
3598 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
|
|
3599 | choke me |
|
|
3600 | #else |
|
|
3601 | char (*f) () = gethostbyname; |
|
|
3602 | #endif |
|
|
3603 | #ifdef __cplusplus |
|
|
3604 | } |
|
|
3605 | #endif |
|
|
3606 | |
|
|
3607 | int |
|
|
3608 | main () |
|
|
3609 | { |
|
|
3610 | return f != gethostbyname; |
|
|
3611 | ; |
|
|
3612 | return 0; |
|
|
3613 | } |
|
|
3614 | _ACEOF |
|
|
3615 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3616 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3617 | (eval $ac_link) 2>conftest.er1 |
|
|
3618 | ac_status=$? |
|
|
3619 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3620 | rm -f conftest.er1 |
|
|
3621 | cat conftest.err >&5 |
|
|
3622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3623 | (exit $ac_status); } && |
|
|
3624 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3625 | || test ! -s conftest.err' |
|
|
3626 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3627 | (eval $ac_try) 2>&5 |
|
|
3628 | ac_status=$? |
|
|
3629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3630 | (exit $ac_status); }; } && |
|
|
3631 | { ac_try='test -s conftest$ac_exeext' |
|
|
3632 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3633 | (eval $ac_try) 2>&5 |
|
|
3634 | ac_status=$? |
|
|
3635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3636 | (exit $ac_status); }; }; then |
|
|
3637 | ac_cv_func_gethostbyname=yes |
|
|
3638 | else |
|
|
3639 | echo "$as_me: failed program was:" >&5 |
|
|
3640 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3641 | |
|
|
3642 | ac_cv_func_gethostbyname=no |
|
|
3643 | fi |
|
|
3644 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3645 | conftest$ac_exeext conftest.$ac_ext |
|
|
3646 | fi |
|
|
3647 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
|
|
3648 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
|
|
3649 | if test $ac_cv_func_gethostbyname = yes; then |
|
|
3650 | : |
|
|
3651 | else |
3686 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
3652 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
3687 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
3653 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
3688 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
3654 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
3689 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3655 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3690 | else |
3656 | else |
3691 | ac_check_lib_save_LIBS=$LIBS |
3657 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3719 | grep -v '^ *+' conftest.er1 >conftest.err |
3685 | grep -v '^ *+' conftest.er1 >conftest.err |
3720 | rm -f conftest.er1 |
3686 | rm -f conftest.er1 |
3721 | cat conftest.err >&5 |
3687 | cat conftest.err >&5 |
3722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3723 | (exit $ac_status); } && |
3689 | (exit $ac_status); } && |
3724 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3690 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3691 | || test ! -s conftest.err' |
3725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3692 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3726 | (eval $ac_try) 2>&5 |
3693 | (eval $ac_try) 2>&5 |
3727 | ac_status=$? |
3694 | ac_status=$? |
3728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3729 | (exit $ac_status); }; } && |
3696 | (exit $ac_status); }; } && |
… | |
… | |
3748 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
3715 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
3749 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
3716 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
3750 | LIBS="$LIBS -lnsl" |
3717 | LIBS="$LIBS -lnsl" |
3751 | fi |
3718 | fi |
3752 | |
3719 | |
|
|
3720 | fi |
|
|
3721 | |
|
|
3722 | echo "$as_me:$LINENO: checking for socket" >&5 |
|
|
3723 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
|
|
3724 | if test "${ac_cv_func_socket+set}" = set; then |
|
|
3725 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3726 | else |
|
|
3727 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3728 | /* confdefs.h. */ |
|
|
3729 | _ACEOF |
|
|
3730 | cat confdefs.h >>conftest.$ac_ext |
|
|
3731 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3732 | /* end confdefs.h. */ |
|
|
3733 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. |
|
|
3734 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3735 | #define socket innocuous_socket |
|
|
3736 | |
|
|
3737 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3738 | which can conflict with char socket (); below. |
|
|
3739 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3740 | <limits.h> exists even on freestanding compilers. */ |
|
|
3741 | |
|
|
3742 | #ifdef __STDC__ |
|
|
3743 | # include <limits.h> |
|
|
3744 | #else |
|
|
3745 | # include <assert.h> |
|
|
3746 | #endif |
|
|
3747 | |
|
|
3748 | #undef socket |
|
|
3749 | |
|
|
3750 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3751 | #ifdef __cplusplus |
|
|
3752 | extern "C" |
|
|
3753 | { |
|
|
3754 | #endif |
|
|
3755 | /* We use char because int might match the return type of a gcc2 |
|
|
3756 | builtin and then its argument prototype would still apply. */ |
|
|
3757 | char socket (); |
|
|
3758 | /* The GNU C library defines this for functions which it implements |
|
|
3759 | to always fail with ENOSYS. Some functions are actually named |
|
|
3760 | something starting with __ and the normal name is an alias. */ |
|
|
3761 | #if defined (__stub_socket) || defined (__stub___socket) |
|
|
3762 | choke me |
|
|
3763 | #else |
|
|
3764 | char (*f) () = socket; |
|
|
3765 | #endif |
|
|
3766 | #ifdef __cplusplus |
|
|
3767 | } |
|
|
3768 | #endif |
|
|
3769 | |
|
|
3770 | int |
|
|
3771 | main () |
|
|
3772 | { |
|
|
3773 | return f != socket; |
|
|
3774 | ; |
|
|
3775 | return 0; |
|
|
3776 | } |
|
|
3777 | _ACEOF |
|
|
3778 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3779 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3780 | (eval $ac_link) 2>conftest.er1 |
|
|
3781 | ac_status=$? |
|
|
3782 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3783 | rm -f conftest.er1 |
|
|
3784 | cat conftest.err >&5 |
|
|
3785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3786 | (exit $ac_status); } && |
|
|
3787 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3788 | || test ! -s conftest.err' |
|
|
3789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3790 | (eval $ac_try) 2>&5 |
|
|
3791 | ac_status=$? |
|
|
3792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3793 | (exit $ac_status); }; } && |
|
|
3794 | { ac_try='test -s conftest$ac_exeext' |
|
|
3795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3796 | (eval $ac_try) 2>&5 |
|
|
3797 | ac_status=$? |
|
|
3798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3799 | (exit $ac_status); }; }; then |
|
|
3800 | ac_cv_func_socket=yes |
|
|
3801 | else |
|
|
3802 | echo "$as_me: failed program was:" >&5 |
|
|
3803 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3804 | |
|
|
3805 | ac_cv_func_socket=no |
|
|
3806 | fi |
|
|
3807 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3808 | conftest$ac_exeext conftest.$ac_ext |
|
|
3809 | fi |
|
|
3810 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
|
|
3811 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
|
|
3812 | if test $ac_cv_func_socket = yes; then |
|
|
3813 | : |
|
|
3814 | else |
3753 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3815 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3754 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3816 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3755 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
3817 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
3756 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3818 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3757 | else |
3819 | else |
3758 | ac_check_lib_save_LIBS=$LIBS |
3820 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3786 | grep -v '^ *+' conftest.er1 >conftest.err |
3848 | grep -v '^ *+' conftest.er1 >conftest.err |
3787 | rm -f conftest.er1 |
3849 | rm -f conftest.er1 |
3788 | cat conftest.err >&5 |
3850 | cat conftest.err >&5 |
3789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3790 | (exit $ac_status); } && |
3852 | (exit $ac_status); } && |
3791 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3853 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3854 | || test ! -s conftest.err' |
3792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3793 | (eval $ac_try) 2>&5 |
3856 | (eval $ac_try) 2>&5 |
3794 | ac_status=$? |
3857 | ac_status=$? |
3795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3796 | (exit $ac_status); }; } && |
3859 | (exit $ac_status); }; } && |
… | |
… | |
3815 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3878 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3816 | if test $ac_cv_lib_socket_socket = yes; then |
3879 | if test $ac_cv_lib_socket_socket = yes; then |
3817 | LIBS="$LIBS -lsocket" |
3880 | LIBS="$LIBS -lsocket" |
3818 | fi |
3881 | fi |
3819 | |
3882 | |
|
|
3883 | fi |
3820 | |
3884 | |
3821 | |
3885 | |
3822 | MALLOC_TYPE=S |
3886 | |
3823 | support_addstrings=no |
|
|
3824 | support_frills=no |
3887 | support_frills=yes |
3825 | support_inheritpixmap=no |
3888 | support_inheritpixmap=yes |
3826 | support_tinting=no |
3889 | support_tinting=yes |
3827 | support_fading=no |
3890 | support_fading=yes |
3828 | support_keepscrolling=no |
3891 | support_keepscrolling=yes |
3829 | support_selectionscrolling=no |
3892 | support_selectionscrolling=yes |
3830 | support_menubar=no |
|
|
3831 | support_mousewheel=no |
3893 | support_mousewheel=yes |
3832 | support_mouseslipwheel=no |
3894 | support_mouseslipwheel=yes |
3833 | support_utmp=no |
|
|
3834 | support_wtmp=no |
|
|
3835 | support_lastlog=no |
|
|
3836 | support_cursor_blink=no |
|
|
3837 | support_text_blink=no |
3895 | support_text_blink=yes |
3838 | support_pointer_blank=no |
3896 | support_pointer_blank=yes |
3839 | support_scroll_rxvt=no |
3897 | support_scroll_rxvt=yes |
3840 | support_scroll_next=no |
3898 | support_scroll_next=yes |
3841 | support_scroll_xterm=no |
3899 | support_scroll_xterm=yes |
3842 | support_scroll_plain=no |
3900 | support_scroll_plain=yes |
3843 | support_xim=no |
3901 | support_xim=yes |
3844 | support_xpm=no |
3902 | support_xpm=yes |
|
|
3903 | support_afterimage=yes |
|
|
3904 | support_afterstep=yes |
3845 | support_xft=no |
3905 | support_xft=yes |
3846 | support_unicode3=no |
3906 | support_unicode3=no |
3847 | support_combining=no |
3907 | support_combining=yes |
3848 | support_8bitctrls=no |
3908 | support_8bitctrls=no |
3849 | support_iso14755=no |
3909 | support_iso14755=yes |
3850 | support_styles=no |
3910 | support_styles=yes |
|
|
3911 | support_perl=yes |
3851 | codesets= |
3912 | codesets=all |
3852 | |
3913 | |
3853 | |
3914 | |
3854 | if test "x$enable_shared" = xyes; then |
3915 | if test "x$enable_shared" = xyes; then |
3855 | |
3916 | |
3856 | cat >>confdefs.h <<\_ACEOF |
3917 | cat >>confdefs.h <<\_ACEOF |
… | |
… | |
3862 | |
3923 | |
3863 | |
3924 | |
3864 | # Check whether --enable-everything or --disable-everything was given. |
3925 | # Check whether --enable-everything or --disable-everything was given. |
3865 | if test "${enable_everything+set}" = set; then |
3926 | if test "${enable_everything+set}" = set; then |
3866 | enableval="$enable_everything" |
3927 | enableval="$enable_everything" |
|
|
3928 | |
|
|
3929 | if test x$enableval = xno; then |
|
|
3930 | support_frills=no |
|
|
3931 | support_inheritpixmap=no |
|
|
3932 | support_tinting=no |
|
|
3933 | support_fading=no |
|
|
3934 | support_keepscrolling=no |
|
|
3935 | support_selectionscrolling=no |
|
|
3936 | support_lastlog=no |
|
|
3937 | support_mousewheel=no |
|
|
3938 | support_mouseslipwheel=no |
|
|
3939 | support_text_blink=no |
|
|
3940 | support_pointer_blank=no |
|
|
3941 | support_scroll_rxvt=no |
|
|
3942 | support_scroll_next=no |
|
|
3943 | support_scroll_xterm=no |
|
|
3944 | support_scroll_plain=no |
|
|
3945 | support_utmp=no |
|
|
3946 | support_wtmp=no |
|
|
3947 | support_xim=no |
|
|
3948 | support_xpm=no |
|
|
3949 | support_afterimage=no |
|
|
3950 | support_afterstep=no |
|
|
3951 | support_xft=no |
|
|
3952 | support_unicode3=no |
|
|
3953 | support_combining=no |
|
|
3954 | support_8bitctrls=no |
|
|
3955 | support_iso14755=no |
|
|
3956 | support_styles=no |
|
|
3957 | support_perl=no |
|
|
3958 | codesets= |
|
|
3959 | fi |
3867 | if test x$enableval = xyes; then |
3960 | if test x$enableval = xyes; then |
3868 | support_24bit=yes |
|
|
3869 | support_frills=yes |
3961 | support_frills=yes |
3870 | support_inheritpixmap=yes |
3962 | support_inheritpixmap=yes |
3871 | support_tinting=yes |
3963 | support_tinting=yes |
3872 | support_fading=yes |
3964 | support_fading=yes |
3873 | support_keepscrolling=yes |
3965 | support_keepscrolling=yes |
3874 | support_selectionscrolling=yes |
3966 | support_selectionscrolling=yes |
3875 | support_lastlog=yes |
3967 | support_lastlog=yes |
3876 | support_menubar=yes |
|
|
3877 | support_mousewheel=yes |
3968 | support_mousewheel=yes |
3878 | support_mouseslipwheel=yes |
3969 | support_mouseslipwheel=yes |
3879 | support_cursor_blink=yes |
|
|
3880 | support_text_blink=yes |
3970 | support_text_blink=yes |
3881 | support_pointer_blank=yes |
3971 | support_pointer_blank=yes |
3882 | support_scroll_rxvt=yes |
3972 | support_scroll_rxvt=yes |
3883 | support_scroll_next=yes |
3973 | support_scroll_next=yes |
3884 | support_scroll_xterm=yes |
3974 | support_scroll_xterm=yes |
3885 | support_scroll_plain=yes |
3975 | support_scroll_plain=yes |
3886 | support_utmp=yes |
3976 | support_utmp=yes |
3887 | support_wtmp=yes |
3977 | support_wtmp=yes |
3888 | support_xim=yes |
3978 | support_xim=yes |
3889 | support_xpm=yes |
3979 | support_xpm=yes |
|
|
3980 | support_afterimage=yes |
|
|
3981 | support_afterstep=yes |
3890 | support_xft=yes |
3982 | support_xft=yes |
3891 | support_unicode3=yes |
3983 | support_unicode3=yes |
3892 | support_combining=yes |
3984 | support_combining=yes |
3893 | #support_8bitctrls=yes |
3985 | #support_8bitctrls=yes |
3894 | support_iso14755=yes |
3986 | support_iso14755=yes |
3895 | support_styles=yes |
3987 | support_styles=yes |
|
|
3988 | support_perl=yes |
3896 | codesets=all |
3989 | codesets=all |
3897 | fi |
3990 | fi |
|
|
3991 | |
3898 | fi; |
3992 | fi; |
3899 | |
3993 | |
3900 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
3994 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
3901 | if test "${enable_unicode3+set}" = set; then |
3995 | if test "${enable_unicode3+set}" = set; then |
3902 | enableval="$enable_unicode3" |
3996 | enableval="$enable_unicode3" |
… | |
… | |
3927 | if test x$enableval = xyes -o x$enableval = xno; then |
4021 | if test x$enableval = xyes -o x$enableval = xno; then |
3928 | support_styles=$enableval |
4022 | support_styles=$enableval |
3929 | fi |
4023 | fi |
3930 | fi; |
4024 | fi; |
3931 | |
4025 | |
3932 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
3933 | if test "${enable_utmp+set}" = set; then |
|
|
3934 | enableval="$enable_utmp" |
|
|
3935 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
3936 | support_utmp=$enableval |
|
|
3937 | fi |
|
|
3938 | fi; |
|
|
3939 | |
|
|
3940 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
3941 | if test "${enable_wtmp+set}" = set; then |
|
|
3942 | enableval="$enable_wtmp" |
|
|
3943 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
3944 | support_wtmp=$enableval |
|
|
3945 | fi |
|
|
3946 | fi; |
|
|
3947 | |
|
|
3948 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
3949 | if test "${enable_lastlog+set}" = set; then |
|
|
3950 | enableval="$enable_lastlog" |
|
|
3951 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
3952 | support_lastlog=$enableval |
|
|
3953 | fi |
|
|
3954 | fi; |
|
|
3955 | |
|
|
3956 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4026 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
3957 | if test "${enable_xpm_background+set}" = set; then |
4027 | if test "${enable_xpm_background+set}" = set; then |
3958 | enableval="$enable_xpm_background" |
4028 | enableval="$enable_xpm_background" |
3959 | if test x$enableval = xyes -o x$enableval = xno; then |
4029 | if test x$enableval = xyes -o x$enableval = xno; then |
3960 | support_xpm=$enableval |
4030 | support_xpm=$enableval |
3961 | fi |
4031 | fi |
3962 | fi; |
4032 | fi; |
3963 | |
4033 | |
|
|
4034 | # Check whether --enable-afterimage or --disable-afterimage was given. |
|
|
4035 | if test "${enable_afterimage+set}" = set; then |
|
|
4036 | enableval="$enable_afterimage" |
|
|
4037 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4038 | support_afterimage=$enableval |
|
|
4039 | fi |
|
|
4040 | fi; |
|
|
4041 | |
|
|
4042 | |
|
|
4043 | # Check whether --with-afterimage_config or --without-afterimage_config was given. |
|
|
4044 | if test "${with_afterimage_config+set}" = set; then |
|
|
4045 | withval="$with_afterimage_config" |
|
|
4046 | if test "x$withval" != x; then |
|
|
4047 | afterimage_config=$withval/afterimage-config |
|
|
4048 | fi |
|
|
4049 | fi; |
|
|
4050 | |
|
|
4051 | # Check whether --enable-afterstep or --disable-afterstep was given. |
|
|
4052 | if test "${enable_afterstep+set}" = set; then |
|
|
4053 | enableval="$enable_afterstep" |
|
|
4054 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4055 | support_afterstep=$enableval |
|
|
4056 | fi |
|
|
4057 | fi; |
|
|
4058 | |
3964 | # Check whether --enable-transparency or --disable-transparency was given. |
4059 | # Check whether --enable-transparency or --disable-transparency was given. |
3965 | if test "${enable_transparency+set}" = set; then |
4060 | if test "${enable_transparency+set}" = set; then |
3966 | enableval="$enable_transparency" |
4061 | enableval="$enable_transparency" |
3967 | if test x$enableval = xyes -o x$enableval = xno; then |
4062 | if test x$enableval = xyes -o x$enableval = xno; then |
3968 | support_inheritpixmap=$enableval |
4063 | support_inheritpixmap=$enableval |
… | |
… | |
3983 | if test x$enableval = xyes -o x$enableval = xno; then |
4078 | if test x$enableval = xyes -o x$enableval = xno; then |
3984 | support_fading=$enableval |
4079 | support_fading=$enableval |
3985 | fi |
4080 | fi |
3986 | fi; |
4081 | fi; |
3987 | |
4082 | |
3988 | # Check whether --enable-menubar or --disable-menubar was given. |
|
|
3989 | if test "${enable_menubar+set}" = set; then |
|
|
3990 | enableval="$enable_menubar" |
|
|
3991 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
3992 | support_menubar=$enableval |
|
|
3993 | fi |
|
|
3994 | fi; |
|
|
3995 | |
|
|
3996 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4083 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
3997 | if test "${enable_rxvt_scroll+set}" = set; then |
4084 | if test "${enable_rxvt_scroll+set}" = set; then |
3998 | enableval="$enable_rxvt_scroll" |
4085 | enableval="$enable_rxvt_scroll" |
3999 | if test x$enableval = xyes -o x$enableval = xno; then |
4086 | if test x$enableval = xyes -o x$enableval = xno; then |
4000 | support_scroll_rxvt=$enableval |
4087 | support_scroll_rxvt=$enableval |
… | |
… | |
4015 | if test x$enableval = xyes -o x$enableval = xno; then |
4102 | if test x$enableval = xyes -o x$enableval = xno; then |
4016 | support_scroll_xterm=$enableval |
4103 | support_scroll_xterm=$enableval |
4017 | fi |
4104 | fi |
4018 | fi; |
4105 | fi; |
4019 | |
4106 | |
|
|
4107 | # Check whether --enable-perl or --disable-perl was given. |
|
|
4108 | if test "${enable_perl+set}" = set; then |
|
|
4109 | enableval="$enable_perl" |
|
|
4110 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4111 | support_perl=$enableval |
|
|
4112 | fi |
|
|
4113 | fi; |
|
|
4114 | |
4020 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4115 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4021 | if test "${enable_plain_scroll+set}" = set; then |
4116 | if test "${enable_plain_scroll+set}" = set; then |
4022 | enableval="$enable_plain_scroll" |
4117 | enableval="$enable_plain_scroll" |
4023 | if test x$enableval = xyes -o x$enableval = xno; then |
4118 | if test x$enableval = xyes -o x$enableval = xno; then |
4024 | support_scroll_plain=$enableval |
4119 | support_scroll_plain=$enableval |
4025 | fi |
4120 | fi |
4026 | fi; |
4121 | fi; |
4027 | |
4122 | |
4028 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
4029 | if test "${enable_half_shadow+set}" = set; then |
|
|
4030 | enableval="$enable_half_shadow" |
|
|
4031 | if test x$enableval = xyes; then |
|
|
4032 | |
|
|
4033 | cat >>confdefs.h <<\_ACEOF |
|
|
4034 | #define HALFSHADOW 1 |
|
|
4035 | _ACEOF |
|
|
4036 | |
|
|
4037 | fi |
|
|
4038 | fi; |
|
|
4039 | |
|
|
4040 | |
4123 | |
4041 | # Check whether --with-codesets or --without-codesets was given. |
4124 | # Check whether --with-codesets or --without-codesets was given. |
4042 | if test "${with_codesets+set}" = set; then |
4125 | if test "${with_codesets+set}" = set; then |
4043 | withval="$with_codesets" |
4126 | withval="$with_codesets" |
4044 | codesets="$withval" |
4127 | codesets="$withval" |
… | |
… | |
4050 | if test x$enableval = xyes -o x$enableval = xno; then |
4133 | if test x$enableval = xyes -o x$enableval = xno; then |
4051 | support_xim=$enableval |
4134 | support_xim=$enableval |
4052 | fi |
4135 | fi |
4053 | fi; |
4136 | fi; |
4054 | |
4137 | |
4055 | # Check whether --enable-ttygid or --disable-ttygid was given. |
|
|
4056 | if test "${enable_ttygid+set}" = set; then |
|
|
4057 | enableval="$enable_ttygid" |
|
|
4058 | if test x$enableval = xyes; then |
|
|
4059 | |
|
|
4060 | cat >>confdefs.h <<\_ACEOF |
|
|
4061 | #define TTY_GID_SUPPORT 1 |
|
|
4062 | _ACEOF |
|
|
4063 | |
|
|
4064 | fi |
|
|
4065 | fi; |
|
|
4066 | |
|
|
4067 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4138 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4068 | if test "${enable_backspace_key+set}" = set; then |
4139 | if test "${enable_backspace_key+set}" = set; then |
4069 | enableval="$enable_backspace_key" |
4140 | enableval="$enable_backspace_key" |
4070 | if test x$enableval = xno; then |
4141 | if test x$enableval = xno; then |
4071 | |
4142 | |
… | |
… | |
4093 | enableval="$enable_resources" |
4164 | enableval="$enable_resources" |
4094 | if test x$enableval = xno; then |
4165 | if test x$enableval = xno; then |
4095 | |
4166 | |
4096 | cat >>confdefs.h <<\_ACEOF |
4167 | cat >>confdefs.h <<\_ACEOF |
4097 | #define NO_RESOURCES 1 |
4168 | #define NO_RESOURCES 1 |
4098 | _ACEOF |
|
|
4099 | |
|
|
4100 | fi |
|
|
4101 | fi; |
|
|
4102 | |
|
|
4103 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
|
|
4104 | if test "${enable_xgetdefault+set}" = set; then |
|
|
4105 | enableval="$enable_xgetdefault" |
|
|
4106 | if test x$enableval = xyes; then |
|
|
4107 | |
|
|
4108 | cat >>confdefs.h <<\_ACEOF |
|
|
4109 | #define USE_XGETDEFAULT 1 |
|
|
4110 | _ACEOF |
4169 | _ACEOF |
4111 | |
4170 | |
4112 | fi |
4171 | fi |
4113 | fi; |
4172 | fi; |
4114 | |
4173 | |
… | |
… | |
4179 | |
4238 | |
4180 | |
4239 | |
4181 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4240 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4182 | |
4241 | |
4183 | |
4242 | |
4184 | # Check whether --enable-strings or --disable-strings was given. |
|
|
4185 | if test "${enable_strings+set}" = set; then |
|
|
4186 | enableval="$enable_strings" |
|
|
4187 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4188 | support_addstrings=$enableval |
|
|
4189 | fi |
|
|
4190 | fi; |
|
|
4191 | |
|
|
4192 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4243 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4193 | if test "${enable_swapscreen+set}" = set; then |
4244 | if test "${enable_swapscreen+set}" = set; then |
4194 | enableval="$enable_swapscreen" |
4245 | enableval="$enable_swapscreen" |
4195 | if test x$enableval = xno; then |
4246 | if test x$enableval = xno; then |
4196 | |
4247 | |
… | |
… | |
4215 | if test x$enableval = xyes -o x$enableval = xno; then |
4266 | if test x$enableval = xyes -o x$enableval = xno; then |
4216 | support_frills=$enableval |
4267 | support_frills=$enableval |
4217 | fi |
4268 | fi |
4218 | fi; |
4269 | fi; |
4219 | |
4270 | |
4220 | # Check whether --enable-24bit or --disable-24bit was given. |
|
|
4221 | if test "${enable_24bit+set}" = set; then |
|
|
4222 | enableval="$enable_24bit" |
|
|
4223 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4224 | support_24bit=$enableval |
|
|
4225 | fi |
|
|
4226 | fi; |
|
|
4227 | |
|
|
4228 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4271 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4229 | if test "${enable_keepscrolling+set}" = set; then |
4272 | if test "${enable_keepscrolling+set}" = set; then |
4230 | enableval="$enable_keepscrolling" |
4273 | enableval="$enable_keepscrolling" |
4231 | if test x$enableval = xyes -o x$enableval = xno; then |
4274 | if test x$enableval = xyes -o x$enableval = xno; then |
4232 | support_keepscrolling=$enableval |
4275 | support_keepscrolling=$enableval |
… | |
… | |
4255 | if test x$enableval = xyes -o x$enableval = xno; then |
4298 | if test x$enableval = xyes -o x$enableval = xno; then |
4256 | support_mouseslipwheel=$enableval |
4299 | support_mouseslipwheel=$enableval |
4257 | fi |
4300 | fi |
4258 | fi; |
4301 | fi; |
4259 | |
4302 | |
4260 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
|
|
4261 | if test "${enable_dmalloc+set}" = set; then |
|
|
4262 | enableval="$enable_dmalloc" |
|
|
4263 | if test x$enableval = xyes; then |
|
|
4264 | MALLOC_TYPE=G |
|
|
4265 | DEBUG=-DDEBUG_MALLOC |
|
|
4266 | DLIB="-L/usr/local/lib -ldmalloc" |
|
|
4267 | DINCLUDE=-I/usr/local/include |
|
|
4268 | fi |
|
|
4269 | fi; |
|
|
4270 | |
|
|
4271 | # Check whether --enable-dlmalloc or --disable-dlmalloc was given. |
|
|
4272 | if test "${enable_dlmalloc+set}" = set; then |
|
|
4273 | enableval="$enable_dlmalloc" |
|
|
4274 | if test x$enableval = xyes; then |
|
|
4275 | MALLOC_TYPE=D |
|
|
4276 | DEBUG= |
|
|
4277 | DLIB="-L/usr/local/lib -ldlmalloc" |
|
|
4278 | DINCLUDE= |
|
|
4279 | fi |
|
|
4280 | fi; |
|
|
4281 | |
|
|
4282 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4303 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4283 | if test "${enable_smart_resize+set}" = set; then |
4304 | if test "${enable_smart_resize+set}" = set; then |
4284 | enableval="$enable_smart_resize" |
4305 | enableval="$enable_smart_resize" |
4285 | if test x$enableval = xyes; then |
4306 | if test x$enableval = xyes; then |
4286 | |
4307 | |
4287 | cat >>confdefs.h <<\_ACEOF |
4308 | cat >>confdefs.h <<\_ACEOF |
4288 | #define SMART_RESIZE 1 |
4309 | #define SMART_RESIZE 1 |
4289 | _ACEOF |
4310 | _ACEOF |
4290 | |
4311 | |
4291 | fi |
|
|
4292 | fi; |
|
|
4293 | |
|
|
4294 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
|
|
4295 | if test "${enable_cursor_blink+set}" = set; then |
|
|
4296 | enableval="$enable_cursor_blink" |
|
|
4297 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4298 | support_cursor_blink=$enableval |
|
|
4299 | fi |
4312 | fi |
4300 | fi; |
4313 | fi; |
4301 | |
4314 | |
4302 | # Check whether --enable-text-blink or --disable-text-blink was given. |
4315 | # Check whether --enable-text-blink or --disable-text-blink was given. |
4303 | if test "${enable_text_blink+set}" = set; then |
4316 | if test "${enable_text_blink+set}" = set; then |
… | |
… | |
4339 | _ACEOF |
4352 | _ACEOF |
4340 | terminfo="$withval" |
4353 | terminfo="$withval" |
4341 | fi |
4354 | fi |
4342 | fi; |
4355 | fi; |
4343 | |
4356 | |
4344 | |
|
|
4345 | |
|
|
4346 | cat >>confdefs.h <<\_ACEOF |
|
|
4347 | #define PROTOTYPES 1 |
|
|
4348 | _ACEOF |
|
|
4349 | |
|
|
4350 | |
|
|
4351 | # Extract the first word of "mv", so it can be a program name with args. |
|
|
4352 | set dummy mv; ac_word=$2 |
|
|
4353 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4354 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4355 | if test "${ac_cv_path_MV+set}" = set; then |
|
|
4356 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4357 | else |
|
|
4358 | case $MV in |
|
|
4359 | [\\/]* | ?:[\\/]*) |
|
|
4360 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
|
|
4361 | ;; |
|
|
4362 | *) |
|
|
4363 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4364 | for as_dir in $PATH |
|
|
4365 | do |
|
|
4366 | IFS=$as_save_IFS |
|
|
4367 | test -z "$as_dir" && as_dir=. |
|
|
4368 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4369 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4370 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
|
|
4371 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4372 | break 2 |
|
|
4373 | fi |
|
|
4374 | done |
|
|
4375 | done |
|
|
4376 | |
|
|
4377 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
|
|
4378 | ;; |
|
|
4379 | esac |
|
|
4380 | fi |
|
|
4381 | MV=$ac_cv_path_MV |
|
|
4382 | |
|
|
4383 | if test -n "$MV"; then |
|
|
4384 | echo "$as_me:$LINENO: result: $MV" >&5 |
|
|
4385 | echo "${ECHO_T}$MV" >&6 |
|
|
4386 | else |
|
|
4387 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4388 | echo "${ECHO_T}no" >&6 |
|
|
4389 | fi |
|
|
4390 | |
|
|
4391 | # Extract the first word of "rm", so it can be a program name with args. |
|
|
4392 | set dummy rm; ac_word=$2 |
|
|
4393 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4394 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4395 | if test "${ac_cv_path_RM+set}" = set; then |
|
|
4396 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4397 | else |
|
|
4398 | case $RM in |
|
|
4399 | [\\/]* | ?:[\\/]*) |
|
|
4400 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
|
|
4401 | ;; |
|
|
4402 | *) |
|
|
4403 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4404 | for as_dir in $PATH |
|
|
4405 | do |
|
|
4406 | IFS=$as_save_IFS |
|
|
4407 | test -z "$as_dir" && as_dir=. |
|
|
4408 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4409 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4410 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
|
|
4411 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4412 | break 2 |
|
|
4413 | fi |
|
|
4414 | done |
|
|
4415 | done |
|
|
4416 | |
|
|
4417 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" |
|
|
4418 | ;; |
|
|
4419 | esac |
|
|
4420 | fi |
|
|
4421 | RM=$ac_cv_path_RM |
|
|
4422 | |
|
|
4423 | if test -n "$RM"; then |
|
|
4424 | echo "$as_me:$LINENO: result: $RM" >&5 |
|
|
4425 | echo "${ECHO_T}$RM" >&6 |
|
|
4426 | else |
|
|
4427 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4428 | echo "${ECHO_T}no" >&6 |
|
|
4429 | fi |
|
|
4430 | |
|
|
4431 | # Extract the first word of "cp", so it can be a program name with args. |
|
|
4432 | set dummy cp; ac_word=$2 |
|
|
4433 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4434 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4435 | if test "${ac_cv_path_CP+set}" = set; then |
|
|
4436 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4437 | else |
|
|
4438 | case $CP in |
|
|
4439 | [\\/]* | ?:[\\/]*) |
|
|
4440 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
|
|
4441 | ;; |
|
|
4442 | *) |
|
|
4443 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4444 | for as_dir in $PATH |
|
|
4445 | do |
|
|
4446 | IFS=$as_save_IFS |
|
|
4447 | test -z "$as_dir" && as_dir=. |
|
|
4448 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4449 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4450 | ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
|
|
4451 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4452 | break 2 |
|
|
4453 | fi |
|
|
4454 | done |
|
|
4455 | done |
|
|
4456 | |
|
|
4457 | test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" |
|
|
4458 | ;; |
|
|
4459 | esac |
|
|
4460 | fi |
|
|
4461 | CP=$ac_cv_path_CP |
|
|
4462 | |
|
|
4463 | if test -n "$CP"; then |
|
|
4464 | echo "$as_me:$LINENO: result: $CP" >&5 |
|
|
4465 | echo "${ECHO_T}$CP" >&6 |
|
|
4466 | else |
|
|
4467 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4468 | echo "${ECHO_T}no" >&6 |
|
|
4469 | fi |
|
|
4470 | |
|
|
4471 | # Extract the first word of "ln", so it can be a program name with args. |
|
|
4472 | set dummy ln; ac_word=$2 |
|
|
4473 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4474 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4475 | if test "${ac_cv_path_LN+set}" = set; then |
|
|
4476 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4477 | else |
|
|
4478 | case $LN in |
|
|
4479 | [\\/]* | ?:[\\/]*) |
|
|
4480 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
|
|
4481 | ;; |
|
|
4482 | *) |
|
|
4483 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4484 | for as_dir in $PATH |
|
|
4485 | do |
|
|
4486 | IFS=$as_save_IFS |
|
|
4487 | test -z "$as_dir" && as_dir=. |
|
|
4488 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4489 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4490 | ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
|
|
4491 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4492 | break 2 |
|
|
4493 | fi |
|
|
4494 | done |
|
|
4495 | done |
|
|
4496 | |
|
|
4497 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
|
|
4498 | ;; |
|
|
4499 | esac |
|
|
4500 | fi |
|
|
4501 | LN=$ac_cv_path_LN |
|
|
4502 | |
|
|
4503 | if test -n "$LN"; then |
|
|
4504 | echo "$as_me:$LINENO: result: $LN" >&5 |
|
|
4505 | echo "${ECHO_T}$LN" >&6 |
|
|
4506 | else |
|
|
4507 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4508 | echo "${ECHO_T}no" >&6 |
|
|
4509 | fi |
|
|
4510 | |
|
|
4511 | # Extract the first word of "sed", so it can be a program name with args. |
|
|
4512 | set dummy sed; ac_word=$2 |
|
|
4513 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4514 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4515 | if test "${ac_cv_path_SED+set}" = set; then |
|
|
4516 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4517 | else |
|
|
4518 | case $SED in |
|
|
4519 | [\\/]* | ?:[\\/]*) |
|
|
4520 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
|
|
4521 | ;; |
|
|
4522 | *) |
|
|
4523 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4524 | for as_dir in $PATH |
|
|
4525 | do |
|
|
4526 | IFS=$as_save_IFS |
|
|
4527 | test -z "$as_dir" && as_dir=. |
|
|
4528 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4529 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4530 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
|
|
4531 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4532 | break 2 |
|
|
4533 | fi |
|
|
4534 | done |
|
|
4535 | done |
|
|
4536 | |
|
|
4537 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" |
|
|
4538 | ;; |
|
|
4539 | esac |
|
|
4540 | fi |
|
|
4541 | SED=$ac_cv_path_SED |
|
|
4542 | |
|
|
4543 | if test -n "$SED"; then |
|
|
4544 | echo "$as_me:$LINENO: result: $SED" >&5 |
|
|
4545 | echo "${ECHO_T}$SED" >&6 |
|
|
4546 | else |
|
|
4547 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4548 | echo "${ECHO_T}no" >&6 |
|
|
4549 | fi |
|
|
4550 | |
|
|
4551 | # Extract the first word of "echo", so it can be a program name with args. |
|
|
4552 | set dummy echo; ac_word=$2 |
|
|
4553 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4554 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4555 | if test "${ac_cv_path_ECHO+set}" = set; then |
|
|
4556 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4557 | else |
|
|
4558 | case $ECHO in |
|
|
4559 | [\\/]* | ?:[\\/]*) |
|
|
4560 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. |
|
|
4561 | ;; |
|
|
4562 | *) |
|
|
4563 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4564 | for as_dir in $PATH |
|
|
4565 | do |
|
|
4566 | IFS=$as_save_IFS |
|
|
4567 | test -z "$as_dir" && as_dir=. |
|
|
4568 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4569 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4570 | ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" |
|
|
4571 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4572 | break 2 |
|
|
4573 | fi |
|
|
4574 | done |
|
|
4575 | done |
|
|
4576 | |
|
|
4577 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" |
|
|
4578 | ;; |
|
|
4579 | esac |
|
|
4580 | fi |
|
|
4581 | ECHO=$ac_cv_path_ECHO |
|
|
4582 | |
|
|
4583 | if test -n "$ECHO"; then |
|
|
4584 | echo "$as_me:$LINENO: result: $ECHO" >&5 |
|
|
4585 | echo "${ECHO_T}$ECHO" >&6 |
|
|
4586 | else |
|
|
4587 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4588 | echo "${ECHO_T}no" >&6 |
|
|
4589 | fi |
|
|
4590 | |
|
|
4591 | # Extract the first word of "cmp", so it can be a program name with args. |
|
|
4592 | set dummy cmp; ac_word=$2 |
|
|
4593 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4594 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4595 | if test "${ac_cv_path_CMP+set}" = set; then |
|
|
4596 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4597 | else |
|
|
4598 | case $CMP in |
|
|
4599 | [\\/]* | ?:[\\/]*) |
|
|
4600 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
|
|
4601 | ;; |
|
|
4602 | *) |
|
|
4603 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4604 | for as_dir in $PATH |
|
|
4605 | do |
|
|
4606 | IFS=$as_save_IFS |
|
|
4607 | test -z "$as_dir" && as_dir=. |
|
|
4608 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4609 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4610 | ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" |
|
|
4611 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4612 | break 2 |
|
|
4613 | fi |
|
|
4614 | done |
|
|
4615 | done |
|
|
4616 | |
|
|
4617 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
|
|
4618 | ;; |
|
|
4619 | esac |
|
|
4620 | fi |
|
|
4621 | CMP=$ac_cv_path_CMP |
|
|
4622 | |
|
|
4623 | if test -n "$CMP"; then |
|
|
4624 | echo "$as_me:$LINENO: result: $CMP" >&5 |
|
|
4625 | echo "${ECHO_T}$CMP" >&6 |
|
|
4626 | else |
|
|
4627 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4628 | echo "${ECHO_T}no" >&6 |
|
|
4629 | fi |
|
|
4630 | |
|
|
4631 | # Extract the first word of "tbl", so it can be a program name with args. |
|
|
4632 | set dummy tbl; ac_word=$2 |
|
|
4633 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4634 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4635 | if test "${ac_cv_path_TBL+set}" = set; then |
|
|
4636 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4637 | else |
|
|
4638 | case $TBL in |
|
|
4639 | [\\/]* | ?:[\\/]*) |
|
|
4640 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
|
|
4641 | ;; |
|
|
4642 | *) |
|
|
4643 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4644 | for as_dir in $PATH |
|
|
4645 | do |
|
|
4646 | IFS=$as_save_IFS |
|
|
4647 | test -z "$as_dir" && as_dir=. |
|
|
4648 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4649 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4650 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
4651 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4652 | break 2 |
|
|
4653 | fi |
|
|
4654 | done |
|
|
4655 | done |
|
|
4656 | |
|
|
4657 | ;; |
|
|
4658 | esac |
|
|
4659 | fi |
|
|
4660 | TBL=$ac_cv_path_TBL |
|
|
4661 | |
|
|
4662 | if test -n "$TBL"; then |
|
|
4663 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
4664 | echo "${ECHO_T}$TBL" >&6 |
|
|
4665 | else |
|
|
4666 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4667 | echo "${ECHO_T}no" >&6 |
|
|
4668 | fi |
|
|
4669 | |
4357 | |
4670 | # Extract the first word of "tic", so it can be a program name with args. |
4358 | # Extract the first word of "tic", so it can be a program name with args. |
4671 | set dummy tic; ac_word=$2 |
4359 | set dummy tic; ac_word=$2 |
4672 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4360 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4673 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4361 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
4707 | fi |
4395 | fi |
4708 | |
4396 | |
4709 | |
4397 | |
4710 | |
4398 | |
4711 | |
4399 | |
|
|
4400 | ac_ext=cc |
|
|
4401 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4402 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4403 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4404 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4405 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4406 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
4407 | if test -z "$CXXCPP"; then |
|
|
4408 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4410 | else |
|
|
4411 | # Double quotes because CXXCPP needs to be expanded |
|
|
4412 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4413 | do |
|
|
4414 | ac_preproc_ok=false |
|
|
4415 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4416 | do |
|
|
4417 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4418 | # with a fresh cross-compiler works. |
|
|
4419 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4420 | # <limits.h> exists even on freestanding compilers. |
|
|
4421 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4422 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4423 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4424 | /* confdefs.h. */ |
|
|
4425 | _ACEOF |
|
|
4426 | cat confdefs.h >>conftest.$ac_ext |
|
|
4427 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4428 | /* end confdefs.h. */ |
|
|
4429 | #ifdef __STDC__ |
|
|
4430 | # include <limits.h> |
|
|
4431 | #else |
|
|
4432 | # include <assert.h> |
|
|
4433 | #endif |
|
|
4434 | Syntax error |
|
|
4435 | _ACEOF |
|
|
4436 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4437 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4438 | ac_status=$? |
|
|
4439 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4440 | rm -f conftest.er1 |
|
|
4441 | cat conftest.err >&5 |
|
|
4442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4443 | (exit $ac_status); } >/dev/null; then |
|
|
4444 | if test -s conftest.err; then |
|
|
4445 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4446 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4447 | else |
|
|
4448 | ac_cpp_err= |
|
|
4449 | fi |
|
|
4450 | else |
|
|
4451 | ac_cpp_err=yes |
|
|
4452 | fi |
|
|
4453 | if test -z "$ac_cpp_err"; then |
|
|
4454 | : |
|
|
4455 | else |
|
|
4456 | echo "$as_me: failed program was:" >&5 |
|
|
4457 | sed 's/^/| /' conftest.$ac_ext >&5 |
4712 | |
4458 | |
4713 | if test "x$ac_path_x_has_been_run" != xyes; then |
4459 | # Broken: fails on valid input. |
|
|
4460 | continue |
|
|
4461 | fi |
|
|
4462 | rm -f conftest.err conftest.$ac_ext |
|
|
4463 | |
|
|
4464 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4465 | # can be detected and how. |
|
|
4466 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4467 | /* confdefs.h. */ |
|
|
4468 | _ACEOF |
|
|
4469 | cat confdefs.h >>conftest.$ac_ext |
|
|
4470 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4471 | /* end confdefs.h. */ |
|
|
4472 | #include <ac_nonexistent.h> |
|
|
4473 | _ACEOF |
|
|
4474 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4475 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4476 | ac_status=$? |
|
|
4477 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4478 | rm -f conftest.er1 |
|
|
4479 | cat conftest.err >&5 |
|
|
4480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4481 | (exit $ac_status); } >/dev/null; then |
|
|
4482 | if test -s conftest.err; then |
|
|
4483 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4484 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4485 | else |
|
|
4486 | ac_cpp_err= |
|
|
4487 | fi |
|
|
4488 | else |
|
|
4489 | ac_cpp_err=yes |
|
|
4490 | fi |
|
|
4491 | if test -z "$ac_cpp_err"; then |
|
|
4492 | # Broken: success on invalid input. |
|
|
4493 | continue |
|
|
4494 | else |
|
|
4495 | echo "$as_me: failed program was:" >&5 |
|
|
4496 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4497 | |
|
|
4498 | # Passes both tests. |
|
|
4499 | ac_preproc_ok=: |
|
|
4500 | break |
|
|
4501 | fi |
|
|
4502 | rm -f conftest.err conftest.$ac_ext |
|
|
4503 | |
|
|
4504 | done |
|
|
4505 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4506 | rm -f conftest.err conftest.$ac_ext |
|
|
4507 | if $ac_preproc_ok; then |
|
|
4508 | break |
|
|
4509 | fi |
|
|
4510 | |
|
|
4511 | done |
|
|
4512 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4513 | |
|
|
4514 | fi |
|
|
4515 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
4516 | else |
|
|
4517 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4518 | fi |
|
|
4519 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
4520 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
4521 | ac_preproc_ok=false |
|
|
4522 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4523 | do |
|
|
4524 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4525 | # with a fresh cross-compiler works. |
|
|
4526 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4527 | # <limits.h> exists even on freestanding compilers. |
|
|
4528 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4529 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4530 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4531 | /* confdefs.h. */ |
|
|
4532 | _ACEOF |
|
|
4533 | cat confdefs.h >>conftest.$ac_ext |
|
|
4534 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4535 | /* end confdefs.h. */ |
|
|
4536 | #ifdef __STDC__ |
|
|
4537 | # include <limits.h> |
|
|
4538 | #else |
|
|
4539 | # include <assert.h> |
|
|
4540 | #endif |
|
|
4541 | Syntax error |
|
|
4542 | _ACEOF |
|
|
4543 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4544 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4545 | ac_status=$? |
|
|
4546 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4547 | rm -f conftest.er1 |
|
|
4548 | cat conftest.err >&5 |
|
|
4549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4550 | (exit $ac_status); } >/dev/null; then |
|
|
4551 | if test -s conftest.err; then |
|
|
4552 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4553 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4554 | else |
|
|
4555 | ac_cpp_err= |
|
|
4556 | fi |
|
|
4557 | else |
|
|
4558 | ac_cpp_err=yes |
|
|
4559 | fi |
|
|
4560 | if test -z "$ac_cpp_err"; then |
|
|
4561 | : |
|
|
4562 | else |
|
|
4563 | echo "$as_me: failed program was:" >&5 |
|
|
4564 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4565 | |
|
|
4566 | # Broken: fails on valid input. |
|
|
4567 | continue |
|
|
4568 | fi |
|
|
4569 | rm -f conftest.err conftest.$ac_ext |
|
|
4570 | |
|
|
4571 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4572 | # can be detected and how. |
|
|
4573 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4574 | /* confdefs.h. */ |
|
|
4575 | _ACEOF |
|
|
4576 | cat confdefs.h >>conftest.$ac_ext |
|
|
4577 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4578 | /* end confdefs.h. */ |
|
|
4579 | #include <ac_nonexistent.h> |
|
|
4580 | _ACEOF |
|
|
4581 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4582 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4583 | ac_status=$? |
|
|
4584 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4585 | rm -f conftest.er1 |
|
|
4586 | cat conftest.err >&5 |
|
|
4587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4588 | (exit $ac_status); } >/dev/null; then |
|
|
4589 | if test -s conftest.err; then |
|
|
4590 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4591 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4592 | else |
|
|
4593 | ac_cpp_err= |
|
|
4594 | fi |
|
|
4595 | else |
|
|
4596 | ac_cpp_err=yes |
|
|
4597 | fi |
|
|
4598 | if test -z "$ac_cpp_err"; then |
|
|
4599 | # Broken: success on invalid input. |
|
|
4600 | continue |
|
|
4601 | else |
|
|
4602 | echo "$as_me: failed program was:" >&5 |
|
|
4603 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4604 | |
|
|
4605 | # Passes both tests. |
|
|
4606 | ac_preproc_ok=: |
|
|
4607 | break |
|
|
4608 | fi |
|
|
4609 | rm -f conftest.err conftest.$ac_ext |
|
|
4610 | |
|
|
4611 | done |
|
|
4612 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4613 | rm -f conftest.err conftest.$ac_ext |
|
|
4614 | if $ac_preproc_ok; then |
|
|
4615 | : |
|
|
4616 | else |
|
|
4617 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4618 | See \`config.log' for more details." >&5 |
|
|
4619 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4620 | See \`config.log' for more details." >&2;} |
|
|
4621 | { (exit 1); exit 1; }; } |
|
|
4622 | fi |
|
|
4623 | |
|
|
4624 | ac_ext=cc |
|
|
4625 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4626 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4627 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4628 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4629 | |
|
|
4630 | |
4714 | echo "$as_me:$LINENO: checking for X" >&5 |
4631 | echo "$as_me:$LINENO: checking for X" >&5 |
4715 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4632 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4716 | |
4633 | |
4717 | ac_path_x_has_been_run=yes |
|
|
4718 | |
4634 | |
4719 | # Check whether --with-x or --without-x was given. |
4635 | # Check whether --with-x or --without-x was given. |
4720 | if test "${with_x+set}" = set; then |
4636 | if test "${with_x+set}" = set; then |
4721 | withval="$with_x" |
4637 | withval="$with_x" |
4722 | |
4638 | |
… | |
… | |
4805 | |
4721 | |
4806 | /usr/openwin/include |
4722 | /usr/openwin/include |
4807 | /usr/openwin/share/include' |
4723 | /usr/openwin/share/include' |
4808 | |
4724 | |
4809 | if test "$ac_x_includes" = no; then |
4725 | if test "$ac_x_includes" = no; then |
4810 | # Guess where to find include files, by looking for a specified header file. |
4726 | # Guess where to find include files, by looking for Intrinsic.h. |
4811 | # First, try using that file with no special directory specified. |
4727 | # First, try using that file with no special directory specified. |
4812 | cat >conftest.$ac_ext <<_ACEOF |
4728 | cat >conftest.$ac_ext <<_ACEOF |
4813 | /* confdefs.h. */ |
4729 | /* confdefs.h. */ |
4814 | _ACEOF |
4730 | _ACEOF |
4815 | cat confdefs.h >>conftest.$ac_ext |
4731 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
4879 | grep -v '^ *+' conftest.er1 >conftest.err |
4795 | grep -v '^ *+' conftest.er1 >conftest.err |
4880 | rm -f conftest.er1 |
4796 | rm -f conftest.er1 |
4881 | cat conftest.err >&5 |
4797 | cat conftest.err >&5 |
4882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4883 | (exit $ac_status); } && |
4799 | (exit $ac_status); } && |
4884 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4800 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4801 | || test ! -s conftest.err' |
4885 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4802 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4886 | (eval $ac_try) 2>&5 |
4803 | (eval $ac_try) 2>&5 |
4887 | ac_status=$? |
4804 | ac_status=$? |
4888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4889 | (exit $ac_status); }; } && |
4806 | (exit $ac_status); }; } && |
… | |
… | |
4939 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4856 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4940 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4857 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4941 | # Update the cache value to reflect the command line values. |
4858 | # Update the cache value to reflect the command line values. |
4942 | ac_cv_have_x="have_x=yes \ |
4859 | ac_cv_have_x="have_x=yes \ |
4943 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
4860 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
4944 | # It might be that x_includes is empty (headers are found in the |
|
|
4945 | # standard search path. Then output the corresponding message |
|
|
4946 | ac_out_x_includes=$x_includes |
|
|
4947 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" |
|
|
4948 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 |
4861 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
4949 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
4862 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
4950 | fi |
4863 | fi |
4951 | |
4864 | |
4952 | fi |
|
|
4953 | if test "$no_x" = yes; then |
4865 | if test "$no_x" = yes; then |
4954 | # Not all programs may use this symbol, but it does not hurt to define it. |
4866 | # Not all programs may use this symbol, but it does not hurt to define it. |
4955 | |
4867 | |
4956 | cat >>confdefs.h <<\_ACEOF |
4868 | cat >>confdefs.h <<\_ACEOF |
4957 | #define X_DISPLAY_MISSING 1 |
4869 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
4995 | grep -v '^ *+' conftest.er1 >conftest.err |
4907 | grep -v '^ *+' conftest.er1 >conftest.err |
4996 | rm -f conftest.er1 |
4908 | rm -f conftest.er1 |
4997 | cat conftest.err >&5 |
4909 | cat conftest.err >&5 |
4998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4999 | (exit $ac_status); } && |
4911 | (exit $ac_status); } && |
5000 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4912 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4913 | || test ! -s conftest.err' |
5001 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5002 | (eval $ac_try) 2>&5 |
4915 | (eval $ac_try) 2>&5 |
5003 | ac_status=$? |
4916 | ac_status=$? |
5004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5005 | (exit $ac_status); }; } && |
4918 | (exit $ac_status); }; } && |
… | |
… | |
5046 | grep -v '^ *+' conftest.er1 >conftest.err |
4959 | grep -v '^ *+' conftest.er1 >conftest.err |
5047 | rm -f conftest.er1 |
4960 | rm -f conftest.er1 |
5048 | cat conftest.err >&5 |
4961 | cat conftest.err >&5 |
5049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5050 | (exit $ac_status); } && |
4963 | (exit $ac_status); } && |
5051 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4964 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4965 | || test ! -s conftest.err' |
5052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5053 | (eval $ac_try) 2>&5 |
4967 | (eval $ac_try) 2>&5 |
5054 | ac_status=$? |
4968 | ac_status=$? |
5055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5056 | (exit $ac_status); }; } && |
4970 | (exit $ac_status); }; } && |
… | |
… | |
5122 | grep -v '^ *+' conftest.er1 >conftest.err |
5036 | grep -v '^ *+' conftest.er1 >conftest.err |
5123 | rm -f conftest.er1 |
5037 | rm -f conftest.er1 |
5124 | cat conftest.err >&5 |
5038 | cat conftest.err >&5 |
5125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5126 | (exit $ac_status); } && |
5040 | (exit $ac_status); } && |
5127 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5041 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5042 | || test ! -s conftest.err' |
5128 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5043 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5129 | (eval $ac_try) 2>&5 |
5044 | (eval $ac_try) 2>&5 |
5130 | ac_status=$? |
5045 | ac_status=$? |
5131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5132 | (exit $ac_status); }; } && |
5047 | (exit $ac_status); }; } && |
… | |
… | |
5177 | grep -v '^ *+' conftest.er1 >conftest.err |
5092 | grep -v '^ *+' conftest.er1 >conftest.err |
5178 | rm -f conftest.er1 |
5093 | rm -f conftest.er1 |
5179 | cat conftest.err >&5 |
5094 | cat conftest.err >&5 |
5180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5181 | (exit $ac_status); } && |
5096 | (exit $ac_status); } && |
5182 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5097 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5098 | || test ! -s conftest.err' |
5183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5184 | (eval $ac_try) 2>&5 |
5100 | (eval $ac_try) 2>&5 |
5185 | ac_status=$? |
5101 | ac_status=$? |
5186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5187 | (exit $ac_status); }; } && |
5103 | (exit $ac_status); }; } && |
… | |
… | |
5245 | grep -v '^ *+' conftest.er1 >conftest.err |
5161 | grep -v '^ *+' conftest.er1 >conftest.err |
5246 | rm -f conftest.er1 |
5162 | rm -f conftest.er1 |
5247 | cat conftest.err >&5 |
5163 | cat conftest.err >&5 |
5248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5249 | (exit $ac_status); } && |
5165 | (exit $ac_status); } && |
5250 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5166 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5167 | || test ! -s conftest.err' |
5251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5168 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5252 | (eval $ac_try) 2>&5 |
5169 | (eval $ac_try) 2>&5 |
5253 | ac_status=$? |
5170 | ac_status=$? |
5254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5255 | (exit $ac_status); }; } && |
5172 | (exit $ac_status); }; } && |
… | |
… | |
5353 | grep -v '^ *+' conftest.er1 >conftest.err |
5270 | grep -v '^ *+' conftest.er1 >conftest.err |
5354 | rm -f conftest.er1 |
5271 | rm -f conftest.er1 |
5355 | cat conftest.err >&5 |
5272 | cat conftest.err >&5 |
5356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5357 | (exit $ac_status); } && |
5274 | (exit $ac_status); } && |
5358 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5275 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5276 | || test ! -s conftest.err' |
5359 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5360 | (eval $ac_try) 2>&5 |
5278 | (eval $ac_try) 2>&5 |
5361 | ac_status=$? |
5279 | ac_status=$? |
5362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5363 | (exit $ac_status); }; } && |
5281 | (exit $ac_status); }; } && |
… | |
… | |
5417 | grep -v '^ *+' conftest.er1 >conftest.err |
5335 | grep -v '^ *+' conftest.er1 >conftest.err |
5418 | rm -f conftest.er1 |
5336 | rm -f conftest.er1 |
5419 | cat conftest.err >&5 |
5337 | cat conftest.err >&5 |
5420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5421 | (exit $ac_status); } && |
5339 | (exit $ac_status); } && |
5422 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5340 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5341 | || test ! -s conftest.err' |
5423 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5342 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5424 | (eval $ac_try) 2>&5 |
5343 | (eval $ac_try) 2>&5 |
5425 | ac_status=$? |
5344 | ac_status=$? |
5426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5427 | (exit $ac_status); }; } && |
5346 | (exit $ac_status); }; } && |
… | |
… | |
5485 | grep -v '^ *+' conftest.er1 >conftest.err |
5404 | grep -v '^ *+' conftest.er1 >conftest.err |
5486 | rm -f conftest.er1 |
5405 | rm -f conftest.er1 |
5487 | cat conftest.err >&5 |
5406 | cat conftest.err >&5 |
5488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5489 | (exit $ac_status); } && |
5408 | (exit $ac_status); } && |
5490 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5409 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5410 | || test ! -s conftest.err' |
5491 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5411 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5492 | (eval $ac_try) 2>&5 |
5412 | (eval $ac_try) 2>&5 |
5493 | ac_status=$? |
5413 | ac_status=$? |
5494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5495 | (exit $ac_status); }; } && |
5415 | (exit $ac_status); }; } && |
… | |
… | |
5589 | grep -v '^ *+' conftest.er1 >conftest.err |
5509 | grep -v '^ *+' conftest.er1 >conftest.err |
5590 | rm -f conftest.er1 |
5510 | rm -f conftest.er1 |
5591 | cat conftest.err >&5 |
5511 | cat conftest.err >&5 |
5592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5593 | (exit $ac_status); } && |
5513 | (exit $ac_status); } && |
5594 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5514 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5515 | || test ! -s conftest.err' |
5595 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5596 | (eval $ac_try) 2>&5 |
5517 | (eval $ac_try) 2>&5 |
5597 | ac_status=$? |
5518 | ac_status=$? |
5598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5599 | (exit $ac_status); }; } && |
5520 | (exit $ac_status); }; } && |
… | |
… | |
5653 | grep -v '^ *+' conftest.er1 >conftest.err |
5574 | grep -v '^ *+' conftest.er1 >conftest.err |
5654 | rm -f conftest.er1 |
5575 | rm -f conftest.er1 |
5655 | cat conftest.err >&5 |
5576 | cat conftest.err >&5 |
5656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5657 | (exit $ac_status); } && |
5578 | (exit $ac_status); } && |
5658 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5579 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5580 | || test ! -s conftest.err' |
5659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5660 | (eval $ac_try) 2>&5 |
5582 | (eval $ac_try) 2>&5 |
5661 | ac_status=$? |
5583 | ac_status=$? |
5662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5663 | (exit $ac_status); }; } && |
5585 | (exit $ac_status); }; } && |
… | |
… | |
5750 | grep -v '^ *+' conftest.er1 >conftest.err |
5672 | grep -v '^ *+' conftest.er1 >conftest.err |
5751 | rm -f conftest.er1 |
5673 | rm -f conftest.er1 |
5752 | cat conftest.err >&5 |
5674 | cat conftest.err >&5 |
5753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5754 | (exit $ac_status); } && |
5676 | (exit $ac_status); } && |
5755 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5677 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5678 | || test ! -s conftest.err' |
5756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5757 | (eval $ac_try) 2>&5 |
5680 | (eval $ac_try) 2>&5 |
5758 | ac_status=$? |
5681 | ac_status=$? |
5759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5760 | (exit $ac_status); }; } && |
5683 | (exit $ac_status); }; } && |
… | |
… | |
5814 | grep -v '^ *+' conftest.er1 >conftest.err |
5737 | grep -v '^ *+' conftest.er1 >conftest.err |
5815 | rm -f conftest.er1 |
5738 | rm -f conftest.er1 |
5816 | cat conftest.err >&5 |
5739 | cat conftest.err >&5 |
5817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5818 | (exit $ac_status); } && |
5741 | (exit $ac_status); } && |
5819 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5742 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5743 | || test ! -s conftest.err' |
5820 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5744 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5821 | (eval $ac_try) 2>&5 |
5745 | (eval $ac_try) 2>&5 |
5822 | ac_status=$? |
5746 | ac_status=$? |
5823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5747 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5824 | (exit $ac_status); }; } && |
5748 | (exit $ac_status); }; } && |
… | |
… | |
5911 | grep -v '^ *+' conftest.er1 >conftest.err |
5835 | grep -v '^ *+' conftest.er1 >conftest.err |
5912 | rm -f conftest.er1 |
5836 | rm -f conftest.er1 |
5913 | cat conftest.err >&5 |
5837 | cat conftest.err >&5 |
5914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5915 | (exit $ac_status); } && |
5839 | (exit $ac_status); } && |
5916 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5840 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5841 | || test ! -s conftest.err' |
5917 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5842 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5918 | (eval $ac_try) 2>&5 |
5843 | (eval $ac_try) 2>&5 |
5919 | ac_status=$? |
5844 | ac_status=$? |
5920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5921 | (exit $ac_status); }; } && |
5846 | (exit $ac_status); }; } && |
… | |
… | |
5975 | grep -v '^ *+' conftest.er1 >conftest.err |
5900 | grep -v '^ *+' conftest.er1 >conftest.err |
5976 | rm -f conftest.er1 |
5901 | rm -f conftest.er1 |
5977 | cat conftest.err >&5 |
5902 | cat conftest.err >&5 |
5978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5979 | (exit $ac_status); } && |
5904 | (exit $ac_status); } && |
5980 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5905 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5906 | || test ! -s conftest.err' |
5981 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5982 | (eval $ac_try) 2>&5 |
5908 | (eval $ac_try) 2>&5 |
5983 | ac_status=$? |
5909 | ac_status=$? |
5984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5985 | (exit $ac_status); }; } && |
5911 | (exit $ac_status); }; } && |
… | |
… | |
6054 | grep -v '^ *+' conftest.er1 >conftest.err |
5980 | grep -v '^ *+' conftest.er1 >conftest.err |
6055 | rm -f conftest.er1 |
5981 | rm -f conftest.er1 |
6056 | cat conftest.err >&5 |
5982 | cat conftest.err >&5 |
6057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6058 | (exit $ac_status); } && |
5984 | (exit $ac_status); } && |
6059 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5985 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5986 | || test ! -s conftest.err' |
6060 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5987 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6061 | (eval $ac_try) 2>&5 |
5988 | (eval $ac_try) 2>&5 |
6062 | ac_status=$? |
5989 | ac_status=$? |
6063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6064 | (exit $ac_status); }; } && |
5991 | (exit $ac_status); }; } && |
… | |
… | |
6089 | |
6016 | |
6090 | fi |
6017 | fi |
6091 | |
6018 | |
6092 | |
6019 | |
6093 | |
6020 | |
|
|
6021 | LIBAFTERIMAGE_CFLAGS= |
|
|
6022 | AFTERIMAGE_LIBS= |
|
|
6023 | have_afterimage= |
|
|
6024 | |
6094 | if test x$support_xpm = xyes; then |
6025 | if test x$support_afterimage = xyes; then |
|
|
6026 | support_afterimage=no |
|
|
6027 | |
|
|
6028 | if test "x$afterimage_config" = "x" ; then |
|
|
6029 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6030 | set dummy afterimage-config; ac_word=$2 |
|
|
6031 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6032 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
6033 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
|
|
6034 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6035 | else |
|
|
6036 | case $afterimage_config in |
|
|
6037 | [\\/]* | ?:[\\/]*) |
|
|
6038 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6039 | ;; |
|
|
6040 | *) |
|
|
6041 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6042 | for as_dir in $PATH |
|
|
6043 | do |
|
|
6044 | IFS=$as_save_IFS |
|
|
6045 | test -z "$as_dir" && as_dir=. |
|
|
6046 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6047 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
6048 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6049 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6050 | break 2 |
|
|
6051 | fi |
|
|
6052 | done |
|
|
6053 | done |
|
|
6054 | |
|
|
6055 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6056 | ;; |
|
|
6057 | esac |
|
|
6058 | fi |
|
|
6059 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6060 | |
|
|
6061 | if test -n "$afterimage_config"; then |
|
|
6062 | echo "$as_me:$LINENO: result: $afterimage_config" >&5 |
|
|
6063 | echo "${ECHO_T}$afterimage_config" >&6 |
|
|
6064 | else |
|
|
6065 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6066 | echo "${ECHO_T}no" >&6 |
|
|
6067 | fi |
|
|
6068 | |
|
|
6069 | fi |
|
|
6070 | |
|
|
6071 | echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
|
|
6072 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6 |
|
|
6073 | if $afterimage_config --version >/dev/null 2>&1 ; then |
|
|
6074 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6075 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6076 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
|
|
6077 | support_afterimage=yes |
|
|
6078 | fi |
|
|
6079 | fi |
|
|
6080 | |
|
|
6081 | if test "x$support_afterimage" = "xyes"; then |
|
|
6082 | echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6083 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6 |
|
|
6084 | else |
|
|
6085 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6086 | echo "${ECHO_T}no" >&6 |
|
|
6087 | fi |
|
|
6088 | fi |
|
|
6089 | |
|
|
6090 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
6095 | |
6091 | |
6096 | |
6092 | |
6097 | |
6093 | |
6098 | # Initialize some more variables set by options. |
6094 | # Initialize some more variables set by options. |
6099 | # The variables have the same names as the options, with |
6095 | # The variables have the same names as the options, with |
… | |
… | |
6270 | grep -v '^ *+' conftest.er1 >conftest.err |
6266 | grep -v '^ *+' conftest.er1 >conftest.err |
6271 | rm -f conftest.er1 |
6267 | rm -f conftest.er1 |
6272 | cat conftest.err >&5 |
6268 | cat conftest.err >&5 |
6273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6274 | (exit $ac_status); } && |
6270 | (exit $ac_status); } && |
6275 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6271 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6272 | || test ! -s conftest.err' |
6276 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6277 | (eval $ac_try) 2>&5 |
6274 | (eval $ac_try) 2>&5 |
6278 | ac_status=$? |
6275 | ac_status=$? |
6279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6280 | (exit $ac_status); }; } && |
6277 | (exit $ac_status); }; } && |
… | |
… | |
6484 | grep -v '^ *+' conftest.er1 >conftest.err |
6481 | grep -v '^ *+' conftest.er1 >conftest.err |
6485 | rm -f conftest.er1 |
6482 | rm -f conftest.er1 |
6486 | cat conftest.err >&5 |
6483 | cat conftest.err >&5 |
6487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6488 | (exit $ac_status); } && |
6485 | (exit $ac_status); } && |
6489 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6486 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6487 | || test ! -s conftest.err' |
6490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6488 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6491 | (eval $ac_try) 2>&5 |
6489 | (eval $ac_try) 2>&5 |
6492 | ac_status=$? |
6490 | ac_status=$? |
6493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6494 | (exit $ac_status); }; } && |
6492 | (exit $ac_status); }; } && |
… | |
… | |
6548 | grep -v '^ *+' conftest.er1 >conftest.err |
6546 | grep -v '^ *+' conftest.er1 >conftest.err |
6549 | rm -f conftest.er1 |
6547 | rm -f conftest.er1 |
6550 | cat conftest.err >&5 |
6548 | cat conftest.err >&5 |
6551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6552 | (exit $ac_status); } && |
6550 | (exit $ac_status); } && |
6553 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6551 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6552 | || test ! -s conftest.err' |
6554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6553 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6555 | (eval $ac_try) 2>&5 |
6554 | (eval $ac_try) 2>&5 |
6556 | ac_status=$? |
6555 | ac_status=$? |
6557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6556 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6558 | (exit $ac_status); }; } && |
6557 | (exit $ac_status); }; } && |
… | |
… | |
6718 | grep -v '^ *+' conftest.er1 >conftest.err |
6717 | grep -v '^ *+' conftest.er1 >conftest.err |
6719 | rm -f conftest.er1 |
6718 | rm -f conftest.er1 |
6720 | cat conftest.err >&5 |
6719 | cat conftest.err >&5 |
6721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6722 | (exit $ac_status); } && |
6721 | (exit $ac_status); } && |
6723 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6722 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6723 | || test ! -s conftest.err' |
6724 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6724 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6725 | (eval $ac_try) 2>&5 |
6725 | (eval $ac_try) 2>&5 |
6726 | ac_status=$? |
6726 | ac_status=$? |
6727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6728 | (exit $ac_status); }; } && |
6728 | (exit $ac_status); }; } && |
… | |
… | |
6768 | |
6768 | |
6769 | |
6769 | |
6770 | |
6770 | |
6771 | |
6771 | |
6772 | |
6772 | |
6773 | |
|
|
6774 | |
|
|
6775 | |
|
|
6776 | |
|
|
6777 | |
|
|
6778 | |
|
|
6779 | |
|
|
6780 | for ac_header in \ |
6773 | for ac_header in \ |
6781 | assert.h \ |
6774 | assert.h \ |
6782 | fcntl.h \ |
6775 | fcntl.h \ |
6783 | grp.h \ |
|
|
6784 | libc.h \ |
|
|
6785 | lastlog.h \ |
|
|
6786 | stdarg.h \ |
6776 | stdarg.h \ |
6787 | stdlib.h \ |
6777 | stdlib.h \ |
6788 | string.h \ |
6778 | string.h \ |
6789 | termios.h \ |
6779 | termios.h \ |
6790 | unistd.h \ |
6780 | unistd.h \ |
6791 | sys/byteorder.h \ |
6781 | sys/byteorder.h \ |
6792 | sys/ioctl.h \ |
6782 | sys/ioctl.h \ |
6793 | sys/select.h \ |
6783 | sys/select.h \ |
6794 | sys/sockio.h \ |
6784 | sys/sockio.h \ |
6795 | sys/strredir.h \ |
6785 | sys/strredir.h \ |
6796 | sys/stropts.h \ |
|
|
6797 | sys/time.h \ |
6786 | sys/time.h \ |
6798 | utmp.h \ |
6787 | stdint.h \ |
6799 | utmpx.h \ |
6788 | wchar.h \ |
6800 | stdint.h \ |
6789 | cwchar \ |
6801 | pty.h \ |
6790 | clocale \ |
6802 | wchar.h \ |
|
|
6803 | cwchar \ |
|
|
6804 | clocale \ |
|
|
6805 | |
6791 | |
6806 | do |
6792 | do |
6807 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6793 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6808 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6794 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6809 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6795 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
6833 | grep -v '^ *+' conftest.er1 >conftest.err |
6819 | grep -v '^ *+' conftest.er1 >conftest.err |
6834 | rm -f conftest.er1 |
6820 | rm -f conftest.er1 |
6835 | cat conftest.err >&5 |
6821 | cat conftest.err >&5 |
6836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6822 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6837 | (exit $ac_status); } && |
6823 | (exit $ac_status); } && |
6838 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6824 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6825 | || test ! -s conftest.err' |
6839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6840 | (eval $ac_try) 2>&5 |
6827 | (eval $ac_try) 2>&5 |
6841 | ac_status=$? |
6828 | ac_status=$? |
6842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6843 | (exit $ac_status); }; } && |
6830 | (exit $ac_status); }; } && |
… | |
… | |
6982 | grep -v '^ *+' conftest.er1 >conftest.err |
6969 | grep -v '^ *+' conftest.er1 >conftest.err |
6983 | rm -f conftest.er1 |
6970 | rm -f conftest.er1 |
6984 | cat conftest.err >&5 |
6971 | cat conftest.err >&5 |
6985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6986 | (exit $ac_status); } && |
6973 | (exit $ac_status); } && |
6987 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6974 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6975 | || test ! -s conftest.err' |
6988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6976 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6989 | (eval $ac_try) 2>&5 |
6977 | (eval $ac_try) 2>&5 |
6990 | ac_status=$? |
6978 | ac_status=$? |
6991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6992 | (exit $ac_status); }; } && |
6980 | (exit $ac_status); }; } && |
… | |
… | |
7047 | grep -v '^ *+' conftest.er1 >conftest.err |
7035 | grep -v '^ *+' conftest.er1 >conftest.err |
7048 | rm -f conftest.er1 |
7036 | rm -f conftest.er1 |
7049 | cat conftest.err >&5 |
7037 | cat conftest.err >&5 |
7050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7051 | (exit $ac_status); } && |
7039 | (exit $ac_status); } && |
7052 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7040 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7041 | || test ! -s conftest.err' |
7053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7054 | (eval $ac_try) 2>&5 |
7043 | (eval $ac_try) 2>&5 |
7055 | ac_status=$? |
7044 | ac_status=$? |
7056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7057 | (exit $ac_status); }; } && |
7046 | (exit $ac_status); }; } && |
… | |
… | |
7097 | /* confdefs.h. */ |
7086 | /* confdefs.h. */ |
7098 | _ACEOF |
7087 | _ACEOF |
7099 | cat confdefs.h >>conftest.$ac_ext |
7088 | cat confdefs.h >>conftest.$ac_ext |
7100 | cat >>conftest.$ac_ext <<_ACEOF |
7089 | cat >>conftest.$ac_ext <<_ACEOF |
7101 | /* end confdefs.h. */ |
7090 | /* end confdefs.h. */ |
7102 | |
7091 | #include <X11/Xlib.h> |
|
|
7092 | #include <stdlib.h> |
7103 | main() |
7093 | main() |
7104 | { |
7094 | { |
7105 | exit(0); |
7095 | exit(0); |
7106 | (void) XOpenDisplay("foobar"); |
7096 | (void) XOpenDisplay("foobar"); |
7107 | } |
7097 | } |
… | |
… | |
7146 | /* confdefs.h. */ |
7136 | /* confdefs.h. */ |
7147 | _ACEOF |
7137 | _ACEOF |
7148 | cat confdefs.h >>conftest.$ac_ext |
7138 | cat confdefs.h >>conftest.$ac_ext |
7149 | cat >>conftest.$ac_ext <<_ACEOF |
7139 | cat >>conftest.$ac_ext <<_ACEOF |
7150 | /* end confdefs.h. */ |
7140 | /* end confdefs.h. */ |
7151 | |
7141 | #include <X11/Xlib.h> |
|
|
7142 | #include <stdlib.h> |
7152 | main() |
7143 | main() |
7153 | { |
7144 | { |
7154 | exit(0); |
7145 | exit(0); |
7155 | (void) XOpenDisplay("foobar"); |
7146 | (void) XOpenDisplay("foobar"); |
7156 | } |
7147 | } |
… | |
… | |
7212 | grep -v '^ *+' conftest.er1 >conftest.err |
7203 | grep -v '^ *+' conftest.er1 >conftest.err |
7213 | rm -f conftest.er1 |
7204 | rm -f conftest.er1 |
7214 | cat conftest.err >&5 |
7205 | cat conftest.err >&5 |
7215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7216 | (exit $ac_status); } && |
7207 | (exit $ac_status); } && |
7217 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7208 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7209 | || test ! -s conftest.err' |
7218 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7219 | (eval $ac_try) 2>&5 |
7211 | (eval $ac_try) 2>&5 |
7220 | ac_status=$? |
7212 | ac_status=$? |
7221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7222 | (exit $ac_status); }; } && |
7214 | (exit $ac_status); }; } && |
… | |
… | |
7245 | |
7237 | |
7246 | fi |
7238 | fi |
7247 | LIBS=$ac_save_LIBS |
7239 | LIBS=$ac_save_LIBS |
7248 | CFLAGS=$ac_save_CFLAGS |
7240 | CFLAGS=$ac_save_CFLAGS |
7249 | |
7241 | |
|
|
7242 | echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
7243 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 |
|
|
7244 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
|
|
7245 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7246 | else |
|
|
7247 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7248 | /* confdefs.h. */ |
|
|
7249 | _ACEOF |
|
|
7250 | cat confdefs.h >>conftest.$ac_ext |
|
|
7251 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7252 | /* end confdefs.h. */ |
|
|
7253 | |
|
|
7254 | #define XLIB_ILLEGAL_ACCESS |
|
|
7255 | #include <X11/Xlib.h> |
|
|
7256 | |
|
|
7257 | int |
|
|
7258 | main () |
|
|
7259 | { |
|
|
7260 | |
|
|
7261 | Display *dpy; |
|
|
7262 | dpy->xdefaults = (char *)0; |
|
|
7263 | |
|
|
7264 | ; |
|
|
7265 | return 0; |
|
|
7266 | } |
|
|
7267 | _ACEOF |
|
|
7268 | rm -f conftest.$ac_objext |
|
|
7269 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7270 | (eval $ac_compile) 2>conftest.er1 |
|
|
7271 | ac_status=$? |
|
|
7272 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7273 | rm -f conftest.er1 |
|
|
7274 | cat conftest.err >&5 |
|
|
7275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7276 | (exit $ac_status); } && |
|
|
7277 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7278 | || test ! -s conftest.err' |
|
|
7279 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7280 | (eval $ac_try) 2>&5 |
|
|
7281 | ac_status=$? |
|
|
7282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7283 | (exit $ac_status); }; } && |
|
|
7284 | { ac_try='test -s conftest.$ac_objext' |
|
|
7285 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7286 | (eval $ac_try) 2>&5 |
|
|
7287 | ac_status=$? |
|
|
7288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7289 | (exit $ac_status); }; }; then |
|
|
7290 | rxvt_xlib_illegal_access=yes |
|
|
7291 | else |
|
|
7292 | echo "$as_me: failed program was:" >&5 |
|
|
7293 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7294 | |
|
|
7295 | rxvt_xlib_illegal_access=no |
|
|
7296 | |
|
|
7297 | fi |
|
|
7298 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7299 | fi |
|
|
7300 | echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
|
|
7301 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6 |
|
|
7302 | if test x$rxvt_xlib_illegal_access = xyes; then |
|
|
7303 | |
|
|
7304 | cat >>confdefs.h <<\_ACEOF |
|
|
7305 | #define XLIB_ILLEGAL_ACCESS 1 |
|
|
7306 | _ACEOF |
|
|
7307 | |
|
|
7308 | fi |
7250 | |
7309 | |
7251 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7310 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7252 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7311 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7253 | if test "${ac_cv_c_const+set}" = set; then |
7312 | if test "${ac_cv_c_const+set}" = set; then |
7254 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7313 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7321 | grep -v '^ *+' conftest.er1 >conftest.err |
7380 | grep -v '^ *+' conftest.er1 >conftest.err |
7322 | rm -f conftest.er1 |
7381 | rm -f conftest.er1 |
7323 | cat conftest.err >&5 |
7382 | cat conftest.err >&5 |
7324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7325 | (exit $ac_status); } && |
7384 | (exit $ac_status); } && |
7326 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7385 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7386 | || test ! -s conftest.err' |
7327 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7328 | (eval $ac_try) 2>&5 |
7388 | (eval $ac_try) 2>&5 |
7329 | ac_status=$? |
7389 | ac_status=$? |
7330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7331 | (exit $ac_status); }; } && |
7391 | (exit $ac_status); }; } && |
… | |
… | |
7381 | grep -v '^ *+' conftest.er1 >conftest.err |
7441 | grep -v '^ *+' conftest.er1 >conftest.err |
7382 | rm -f conftest.er1 |
7442 | rm -f conftest.er1 |
7383 | cat conftest.err >&5 |
7443 | cat conftest.err >&5 |
7384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7385 | (exit $ac_status); } && |
7445 | (exit $ac_status); } && |
7386 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7446 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7447 | || test ! -s conftest.err' |
7387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7388 | (eval $ac_try) 2>&5 |
7449 | (eval $ac_try) 2>&5 |
7389 | ac_status=$? |
7450 | ac_status=$? |
7390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7391 | (exit $ac_status); }; } && |
7452 | (exit $ac_status); }; } && |
… | |
… | |
7456 | grep -v '^ *+' conftest.er1 >conftest.err |
7517 | grep -v '^ *+' conftest.er1 >conftest.err |
7457 | rm -f conftest.er1 |
7518 | rm -f conftest.er1 |
7458 | cat conftest.err >&5 |
7519 | cat conftest.err >&5 |
7459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7460 | (exit $ac_status); } && |
7521 | (exit $ac_status); } && |
7461 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7522 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7523 | || test ! -s conftest.err' |
7462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7524 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7463 | (eval $ac_try) 2>&5 |
7525 | (eval $ac_try) 2>&5 |
7464 | ac_status=$? |
7526 | ac_status=$? |
7465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7466 | (exit $ac_status); }; } && |
7528 | (exit $ac_status); }; } && |
… | |
… | |
7521 | grep -v '^ *+' conftest.er1 >conftest.err |
7583 | grep -v '^ *+' conftest.er1 >conftest.err |
7522 | rm -f conftest.er1 |
7584 | rm -f conftest.er1 |
7523 | cat conftest.err >&5 |
7585 | cat conftest.err >&5 |
7524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7525 | (exit $ac_status); } && |
7587 | (exit $ac_status); } && |
7526 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7588 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7589 | || test ! -s conftest.err' |
7527 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7590 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7528 | (eval $ac_try) 2>&5 |
7591 | (eval $ac_try) 2>&5 |
7529 | ac_status=$? |
7592 | ac_status=$? |
7530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7531 | (exit $ac_status); }; } && |
7594 | (exit $ac_status); }; } && |
… | |
… | |
7625 | grep -v '^ *+' conftest.er1 >conftest.err |
7688 | grep -v '^ *+' conftest.er1 >conftest.err |
7626 | rm -f conftest.er1 |
7689 | rm -f conftest.er1 |
7627 | cat conftest.err >&5 |
7690 | cat conftest.err >&5 |
7628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7629 | (exit $ac_status); } && |
7692 | (exit $ac_status); } && |
7630 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7693 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7694 | || test ! -s conftest.err' |
7631 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7695 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7632 | (eval $ac_try) 2>&5 |
7696 | (eval $ac_try) 2>&5 |
7633 | ac_status=$? |
7697 | ac_status=$? |
7634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7635 | (exit $ac_status); }; } && |
7699 | (exit $ac_status); }; } && |
… | |
… | |
7687 | grep -v '^ *+' conftest.er1 >conftest.err |
7751 | grep -v '^ *+' conftest.er1 >conftest.err |
7688 | rm -f conftest.er1 |
7752 | rm -f conftest.er1 |
7689 | cat conftest.err >&5 |
7753 | cat conftest.err >&5 |
7690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7691 | (exit $ac_status); } && |
7755 | (exit $ac_status); } && |
7692 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7756 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7757 | || test ! -s conftest.err' |
7693 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7694 | (eval $ac_try) 2>&5 |
7759 | (eval $ac_try) 2>&5 |
7695 | ac_status=$? |
7760 | ac_status=$? |
7696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7697 | (exit $ac_status); }; } && |
7762 | (exit $ac_status); }; } && |
… | |
… | |
7727 | grep -v '^ *+' conftest.er1 >conftest.err |
7792 | grep -v '^ *+' conftest.er1 >conftest.err |
7728 | rm -f conftest.er1 |
7793 | rm -f conftest.er1 |
7729 | cat conftest.err >&5 |
7794 | cat conftest.err >&5 |
7730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7731 | (exit $ac_status); } && |
7796 | (exit $ac_status); } && |
7732 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7797 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7798 | || test ! -s conftest.err' |
7733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7799 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7734 | (eval $ac_try) 2>&5 |
7800 | (eval $ac_try) 2>&5 |
7735 | ac_status=$? |
7801 | ac_status=$? |
7736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7737 | (exit $ac_status); }; } && |
7803 | (exit $ac_status); }; } && |
… | |
… | |
7783 | grep -v '^ *+' conftest.er1 >conftest.err |
7849 | grep -v '^ *+' conftest.er1 >conftest.err |
7784 | rm -f conftest.er1 |
7850 | rm -f conftest.er1 |
7785 | cat conftest.err >&5 |
7851 | cat conftest.err >&5 |
7786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7787 | (exit $ac_status); } && |
7853 | (exit $ac_status); } && |
7788 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7854 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7855 | || test ! -s conftest.err' |
7789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7856 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7790 | (eval $ac_try) 2>&5 |
7857 | (eval $ac_try) 2>&5 |
7791 | ac_status=$? |
7858 | ac_status=$? |
7792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7793 | (exit $ac_status); }; } && |
7860 | (exit $ac_status); }; } && |
… | |
… | |
7823 | grep -v '^ *+' conftest.er1 >conftest.err |
7890 | grep -v '^ *+' conftest.er1 >conftest.err |
7824 | rm -f conftest.er1 |
7891 | rm -f conftest.er1 |
7825 | cat conftest.err >&5 |
7892 | cat conftest.err >&5 |
7826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7827 | (exit $ac_status); } && |
7894 | (exit $ac_status); } && |
7828 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7895 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7896 | || test ! -s conftest.err' |
7829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7830 | (eval $ac_try) 2>&5 |
7898 | (eval $ac_try) 2>&5 |
7831 | ac_status=$? |
7899 | ac_status=$? |
7832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7833 | (exit $ac_status); }; } && |
7901 | (exit $ac_status); }; } && |
… | |
… | |
7887 | grep -v '^ *+' conftest.er1 >conftest.err |
7955 | grep -v '^ *+' conftest.er1 >conftest.err |
7888 | rm -f conftest.er1 |
7956 | rm -f conftest.er1 |
7889 | cat conftest.err >&5 |
7957 | cat conftest.err >&5 |
7890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7891 | (exit $ac_status); } && |
7959 | (exit $ac_status); } && |
7892 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7960 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7961 | || test ! -s conftest.err' |
7893 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7894 | (eval $ac_try) 2>&5 |
7963 | (eval $ac_try) 2>&5 |
7895 | ac_status=$? |
7964 | ac_status=$? |
7896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7897 | (exit $ac_status); }; } && |
7966 | (exit $ac_status); }; } && |
… | |
… | |
7918 | See \`config.log' for more details." >&2;} |
7987 | See \`config.log' for more details." >&2;} |
7919 | { (exit 1); exit 1; }; } ;; |
7988 | { (exit 1); exit 1; }; } ;; |
7920 | esac |
7989 | esac |
7921 | else |
7990 | else |
7922 | if test "$cross_compiling" = yes; then |
7991 | if test "$cross_compiling" = yes; then |
7923 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
7992 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
7924 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
7993 | See \`config.log' for more details." >&5 |
|
|
7994 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
7995 | See \`config.log' for more details." >&2;} |
7925 | { (exit 1); exit 1; }; } |
7996 | { (exit 1); exit 1; }; } |
7926 | else |
7997 | else |
7927 | cat >conftest.$ac_ext <<_ACEOF |
7998 | cat >conftest.$ac_ext <<_ACEOF |
7928 | /* confdefs.h. */ |
7999 | /* confdefs.h. */ |
7929 | _ACEOF |
8000 | _ACEOF |
… | |
… | |
8031 | grep -v '^ *+' conftest.er1 >conftest.err |
8102 | grep -v '^ *+' conftest.er1 >conftest.err |
8032 | rm -f conftest.er1 |
8103 | rm -f conftest.er1 |
8033 | cat conftest.err >&5 |
8104 | cat conftest.err >&5 |
8034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8035 | (exit $ac_status); } && |
8106 | (exit $ac_status); } && |
8036 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8107 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8108 | || test ! -s conftest.err' |
8037 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8109 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8038 | (eval $ac_try) 2>&5 |
8110 | (eval $ac_try) 2>&5 |
8039 | ac_status=$? |
8111 | ac_status=$? |
8040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8041 | (exit $ac_status); }; } && |
8113 | (exit $ac_status); }; } && |
… | |
… | |
8093 | grep -v '^ *+' conftest.er1 >conftest.err |
8165 | grep -v '^ *+' conftest.er1 >conftest.err |
8094 | rm -f conftest.er1 |
8166 | rm -f conftest.er1 |
8095 | cat conftest.err >&5 |
8167 | cat conftest.err >&5 |
8096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8097 | (exit $ac_status); } && |
8169 | (exit $ac_status); } && |
8098 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8170 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8171 | || test ! -s conftest.err' |
8099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8100 | (eval $ac_try) 2>&5 |
8173 | (eval $ac_try) 2>&5 |
8101 | ac_status=$? |
8174 | ac_status=$? |
8102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8103 | (exit $ac_status); }; } && |
8176 | (exit $ac_status); }; } && |
… | |
… | |
8133 | grep -v '^ *+' conftest.er1 >conftest.err |
8206 | grep -v '^ *+' conftest.er1 >conftest.err |
8134 | rm -f conftest.er1 |
8207 | rm -f conftest.er1 |
8135 | cat conftest.err >&5 |
8208 | cat conftest.err >&5 |
8136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8137 | (exit $ac_status); } && |
8210 | (exit $ac_status); } && |
8138 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8211 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8212 | || test ! -s conftest.err' |
8139 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8140 | (eval $ac_try) 2>&5 |
8214 | (eval $ac_try) 2>&5 |
8141 | ac_status=$? |
8215 | ac_status=$? |
8142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8143 | (exit $ac_status); }; } && |
8217 | (exit $ac_status); }; } && |
… | |
… | |
8189 | grep -v '^ *+' conftest.er1 >conftest.err |
8263 | grep -v '^ *+' conftest.er1 >conftest.err |
8190 | rm -f conftest.er1 |
8264 | rm -f conftest.er1 |
8191 | cat conftest.err >&5 |
8265 | cat conftest.err >&5 |
8192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8193 | (exit $ac_status); } && |
8267 | (exit $ac_status); } && |
8194 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8268 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8269 | || test ! -s conftest.err' |
8195 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8196 | (eval $ac_try) 2>&5 |
8271 | (eval $ac_try) 2>&5 |
8197 | ac_status=$? |
8272 | ac_status=$? |
8198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8199 | (exit $ac_status); }; } && |
8274 | (exit $ac_status); }; } && |
… | |
… | |
8229 | grep -v '^ *+' conftest.er1 >conftest.err |
8304 | grep -v '^ *+' conftest.er1 >conftest.err |
8230 | rm -f conftest.er1 |
8305 | rm -f conftest.er1 |
8231 | cat conftest.err >&5 |
8306 | cat conftest.err >&5 |
8232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8233 | (exit $ac_status); } && |
8308 | (exit $ac_status); } && |
8234 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8309 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8310 | || test ! -s conftest.err' |
8235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8311 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8236 | (eval $ac_try) 2>&5 |
8312 | (eval $ac_try) 2>&5 |
8237 | ac_status=$? |
8313 | ac_status=$? |
8238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8239 | (exit $ac_status); }; } && |
8315 | (exit $ac_status); }; } && |
… | |
… | |
8293 | grep -v '^ *+' conftest.er1 >conftest.err |
8369 | grep -v '^ *+' conftest.er1 >conftest.err |
8294 | rm -f conftest.er1 |
8370 | rm -f conftest.er1 |
8295 | cat conftest.err >&5 |
8371 | cat conftest.err >&5 |
8296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8297 | (exit $ac_status); } && |
8373 | (exit $ac_status); } && |
8298 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8374 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8375 | || test ! -s conftest.err' |
8299 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8300 | (eval $ac_try) 2>&5 |
8377 | (eval $ac_try) 2>&5 |
8301 | ac_status=$? |
8378 | ac_status=$? |
8302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8303 | (exit $ac_status); }; } && |
8380 | (exit $ac_status); }; } && |
… | |
… | |
8324 | See \`config.log' for more details." >&2;} |
8401 | See \`config.log' for more details." >&2;} |
8325 | { (exit 1); exit 1; }; } ;; |
8402 | { (exit 1); exit 1; }; } ;; |
8326 | esac |
8403 | esac |
8327 | else |
8404 | else |
8328 | if test "$cross_compiling" = yes; then |
8405 | if test "$cross_compiling" = yes; then |
8329 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8406 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8330 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8407 | See \`config.log' for more details." >&5 |
|
|
8408 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8409 | See \`config.log' for more details." >&2;} |
8331 | { (exit 1); exit 1; }; } |
8410 | { (exit 1); exit 1; }; } |
8332 | else |
8411 | else |
8333 | cat >conftest.$ac_ext <<_ACEOF |
8412 | cat >conftest.$ac_ext <<_ACEOF |
8334 | /* confdefs.h. */ |
8413 | /* confdefs.h. */ |
8335 | _ACEOF |
8414 | _ACEOF |
… | |
… | |
8437 | grep -v '^ *+' conftest.er1 >conftest.err |
8516 | grep -v '^ *+' conftest.er1 >conftest.err |
8438 | rm -f conftest.er1 |
8517 | rm -f conftest.er1 |
8439 | cat conftest.err >&5 |
8518 | cat conftest.err >&5 |
8440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8441 | (exit $ac_status); } && |
8520 | (exit $ac_status); } && |
8442 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8521 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8522 | || test ! -s conftest.err' |
8443 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8523 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8444 | (eval $ac_try) 2>&5 |
8524 | (eval $ac_try) 2>&5 |
8445 | ac_status=$? |
8525 | ac_status=$? |
8446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8447 | (exit $ac_status); }; } && |
8527 | (exit $ac_status); }; } && |
… | |
… | |
8499 | grep -v '^ *+' conftest.er1 >conftest.err |
8579 | grep -v '^ *+' conftest.er1 >conftest.err |
8500 | rm -f conftest.er1 |
8580 | rm -f conftest.er1 |
8501 | cat conftest.err >&5 |
8581 | cat conftest.err >&5 |
8502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8503 | (exit $ac_status); } && |
8583 | (exit $ac_status); } && |
8504 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8584 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8585 | || test ! -s conftest.err' |
8505 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8506 | (eval $ac_try) 2>&5 |
8587 | (eval $ac_try) 2>&5 |
8507 | ac_status=$? |
8588 | ac_status=$? |
8508 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8509 | (exit $ac_status); }; } && |
8590 | (exit $ac_status); }; } && |
… | |
… | |
8539 | grep -v '^ *+' conftest.er1 >conftest.err |
8620 | grep -v '^ *+' conftest.er1 >conftest.err |
8540 | rm -f conftest.er1 |
8621 | rm -f conftest.er1 |
8541 | cat conftest.err >&5 |
8622 | cat conftest.err >&5 |
8542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8543 | (exit $ac_status); } && |
8624 | (exit $ac_status); } && |
8544 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8625 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8626 | || test ! -s conftest.err' |
8545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8627 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8546 | (eval $ac_try) 2>&5 |
8628 | (eval $ac_try) 2>&5 |
8547 | ac_status=$? |
8629 | ac_status=$? |
8548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8549 | (exit $ac_status); }; } && |
8631 | (exit $ac_status); }; } && |
… | |
… | |
8595 | grep -v '^ *+' conftest.er1 >conftest.err |
8677 | grep -v '^ *+' conftest.er1 >conftest.err |
8596 | rm -f conftest.er1 |
8678 | rm -f conftest.er1 |
8597 | cat conftest.err >&5 |
8679 | cat conftest.err >&5 |
8598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8599 | (exit $ac_status); } && |
8681 | (exit $ac_status); } && |
8600 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8682 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8683 | || test ! -s conftest.err' |
8601 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8684 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8602 | (eval $ac_try) 2>&5 |
8685 | (eval $ac_try) 2>&5 |
8603 | ac_status=$? |
8686 | ac_status=$? |
8604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8605 | (exit $ac_status); }; } && |
8688 | (exit $ac_status); }; } && |
… | |
… | |
8635 | grep -v '^ *+' conftest.er1 >conftest.err |
8718 | grep -v '^ *+' conftest.er1 >conftest.err |
8636 | rm -f conftest.er1 |
8719 | rm -f conftest.er1 |
8637 | cat conftest.err >&5 |
8720 | cat conftest.err >&5 |
8638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8639 | (exit $ac_status); } && |
8722 | (exit $ac_status); } && |
8640 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8723 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8724 | || test ! -s conftest.err' |
8641 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8642 | (eval $ac_try) 2>&5 |
8726 | (eval $ac_try) 2>&5 |
8643 | ac_status=$? |
8727 | ac_status=$? |
8644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8645 | (exit $ac_status); }; } && |
8729 | (exit $ac_status); }; } && |
… | |
… | |
8699 | grep -v '^ *+' conftest.er1 >conftest.err |
8783 | grep -v '^ *+' conftest.er1 >conftest.err |
8700 | rm -f conftest.er1 |
8784 | rm -f conftest.er1 |
8701 | cat conftest.err >&5 |
8785 | cat conftest.err >&5 |
8702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8703 | (exit $ac_status); } && |
8787 | (exit $ac_status); } && |
8704 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8788 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8789 | || test ! -s conftest.err' |
8705 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8706 | (eval $ac_try) 2>&5 |
8791 | (eval $ac_try) 2>&5 |
8707 | ac_status=$? |
8792 | ac_status=$? |
8708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8709 | (exit $ac_status); }; } && |
8794 | (exit $ac_status); }; } && |
… | |
… | |
8730 | See \`config.log' for more details." >&2;} |
8815 | See \`config.log' for more details." >&2;} |
8731 | { (exit 1); exit 1; }; } ;; |
8816 | { (exit 1); exit 1; }; } ;; |
8732 | esac |
8817 | esac |
8733 | else |
8818 | else |
8734 | if test "$cross_compiling" = yes; then |
8819 | if test "$cross_compiling" = yes; then |
8735 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8820 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8736 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8821 | See \`config.log' for more details." >&5 |
|
|
8822 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8823 | See \`config.log' for more details." >&2;} |
8737 | { (exit 1); exit 1; }; } |
8824 | { (exit 1); exit 1; }; } |
8738 | else |
8825 | else |
8739 | cat >conftest.$ac_ext <<_ACEOF |
8826 | cat >conftest.$ac_ext <<_ACEOF |
8740 | /* confdefs.h. */ |
8827 | /* confdefs.h. */ |
8741 | _ACEOF |
8828 | _ACEOF |
… | |
… | |
8843 | grep -v '^ *+' conftest.er1 >conftest.err |
8930 | grep -v '^ *+' conftest.er1 >conftest.err |
8844 | rm -f conftest.er1 |
8931 | rm -f conftest.er1 |
8845 | cat conftest.err >&5 |
8932 | cat conftest.err >&5 |
8846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8847 | (exit $ac_status); } && |
8934 | (exit $ac_status); } && |
8848 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8935 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8936 | || test ! -s conftest.err' |
8849 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8850 | (eval $ac_try) 2>&5 |
8938 | (eval $ac_try) 2>&5 |
8851 | ac_status=$? |
8939 | ac_status=$? |
8852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8853 | (exit $ac_status); }; } && |
8941 | (exit $ac_status); }; } && |
… | |
… | |
8905 | grep -v '^ *+' conftest.er1 >conftest.err |
8993 | grep -v '^ *+' conftest.er1 >conftest.err |
8906 | rm -f conftest.er1 |
8994 | rm -f conftest.er1 |
8907 | cat conftest.err >&5 |
8995 | cat conftest.err >&5 |
8908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8909 | (exit $ac_status); } && |
8997 | (exit $ac_status); } && |
8910 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8998 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8999 | || test ! -s conftest.err' |
8911 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9000 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8912 | (eval $ac_try) 2>&5 |
9001 | (eval $ac_try) 2>&5 |
8913 | ac_status=$? |
9002 | ac_status=$? |
8914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8915 | (exit $ac_status); }; } && |
9004 | (exit $ac_status); }; } && |
… | |
… | |
8945 | grep -v '^ *+' conftest.er1 >conftest.err |
9034 | grep -v '^ *+' conftest.er1 >conftest.err |
8946 | rm -f conftest.er1 |
9035 | rm -f conftest.er1 |
8947 | cat conftest.err >&5 |
9036 | cat conftest.err >&5 |
8948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8949 | (exit $ac_status); } && |
9038 | (exit $ac_status); } && |
8950 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9039 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9040 | || test ! -s conftest.err' |
8951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9041 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8952 | (eval $ac_try) 2>&5 |
9042 | (eval $ac_try) 2>&5 |
8953 | ac_status=$? |
9043 | ac_status=$? |
8954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8955 | (exit $ac_status); }; } && |
9045 | (exit $ac_status); }; } && |
… | |
… | |
9001 | grep -v '^ *+' conftest.er1 >conftest.err |
9091 | grep -v '^ *+' conftest.er1 >conftest.err |
9002 | rm -f conftest.er1 |
9092 | rm -f conftest.er1 |
9003 | cat conftest.err >&5 |
9093 | cat conftest.err >&5 |
9004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9005 | (exit $ac_status); } && |
9095 | (exit $ac_status); } && |
9006 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9096 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9097 | || test ! -s conftest.err' |
9007 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9008 | (eval $ac_try) 2>&5 |
9099 | (eval $ac_try) 2>&5 |
9009 | ac_status=$? |
9100 | ac_status=$? |
9010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9011 | (exit $ac_status); }; } && |
9102 | (exit $ac_status); }; } && |
… | |
… | |
9041 | grep -v '^ *+' conftest.er1 >conftest.err |
9132 | grep -v '^ *+' conftest.er1 >conftest.err |
9042 | rm -f conftest.er1 |
9133 | rm -f conftest.er1 |
9043 | cat conftest.err >&5 |
9134 | cat conftest.err >&5 |
9044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9045 | (exit $ac_status); } && |
9136 | (exit $ac_status); } && |
9046 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9137 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9138 | || test ! -s conftest.err' |
9047 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9139 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9048 | (eval $ac_try) 2>&5 |
9140 | (eval $ac_try) 2>&5 |
9049 | ac_status=$? |
9141 | ac_status=$? |
9050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9051 | (exit $ac_status); }; } && |
9143 | (exit $ac_status); }; } && |
… | |
… | |
9105 | grep -v '^ *+' conftest.er1 >conftest.err |
9197 | grep -v '^ *+' conftest.er1 >conftest.err |
9106 | rm -f conftest.er1 |
9198 | rm -f conftest.er1 |
9107 | cat conftest.err >&5 |
9199 | cat conftest.err >&5 |
9108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9200 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9109 | (exit $ac_status); } && |
9201 | (exit $ac_status); } && |
9110 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9202 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9203 | || test ! -s conftest.err' |
9111 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9204 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9112 | (eval $ac_try) 2>&5 |
9205 | (eval $ac_try) 2>&5 |
9113 | ac_status=$? |
9206 | ac_status=$? |
9114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9115 | (exit $ac_status); }; } && |
9208 | (exit $ac_status); }; } && |
… | |
… | |
9136 | See \`config.log' for more details." >&2;} |
9229 | See \`config.log' for more details." >&2;} |
9137 | { (exit 1); exit 1; }; } ;; |
9230 | { (exit 1); exit 1; }; } ;; |
9138 | esac |
9231 | esac |
9139 | else |
9232 | else |
9140 | if test "$cross_compiling" = yes; then |
9233 | if test "$cross_compiling" = yes; then |
9141 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
9234 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
9142 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
9235 | See \`config.log' for more details." >&5 |
|
|
9236 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
9237 | See \`config.log' for more details." >&2;} |
9143 | { (exit 1); exit 1; }; } |
9238 | { (exit 1); exit 1; }; } |
9144 | else |
9239 | else |
9145 | cat >conftest.$ac_ext <<_ACEOF |
9240 | cat >conftest.$ac_ext <<_ACEOF |
9146 | /* confdefs.h. */ |
9241 | /* confdefs.h. */ |
9147 | _ACEOF |
9242 | _ACEOF |
… | |
… | |
9248 | grep -v '^ *+' conftest.er1 >conftest.err |
9343 | grep -v '^ *+' conftest.er1 >conftest.err |
9249 | rm -f conftest.er1 |
9344 | rm -f conftest.er1 |
9250 | cat conftest.err >&5 |
9345 | cat conftest.err >&5 |
9251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9252 | (exit $ac_status); } && |
9347 | (exit $ac_status); } && |
9253 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9348 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9349 | || test ! -s conftest.err' |
9254 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9255 | (eval $ac_try) 2>&5 |
9351 | (eval $ac_try) 2>&5 |
9256 | ac_status=$? |
9352 | ac_status=$? |
9257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9258 | (exit $ac_status); }; } && |
9354 | (exit $ac_status); }; } && |
… | |
… | |
9330 | grep -v '^ *+' conftest.er1 >conftest.err |
9426 | grep -v '^ *+' conftest.er1 >conftest.err |
9331 | rm -f conftest.er1 |
9427 | rm -f conftest.er1 |
9332 | cat conftest.err >&5 |
9428 | cat conftest.err >&5 |
9333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9334 | (exit $ac_status); } && |
9430 | (exit $ac_status); } && |
9335 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9431 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9432 | || test ! -s conftest.err' |
9336 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9337 | (eval $ac_try) 2>&5 |
9434 | (eval $ac_try) 2>&5 |
9338 | ac_status=$? |
9435 | ac_status=$? |
9339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9340 | (exit $ac_status); }; } && |
9437 | (exit $ac_status); }; } && |
… | |
… | |
9412 | grep -v '^ *+' conftest.er1 >conftest.err |
9509 | grep -v '^ *+' conftest.er1 >conftest.err |
9413 | rm -f conftest.er1 |
9510 | rm -f conftest.er1 |
9414 | cat conftest.err >&5 |
9511 | cat conftest.err >&5 |
9415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9416 | (exit $ac_status); } && |
9513 | (exit $ac_status); } && |
9417 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9514 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9515 | || test ! -s conftest.err' |
9418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9419 | (eval $ac_try) 2>&5 |
9517 | (eval $ac_try) 2>&5 |
9420 | ac_status=$? |
9518 | ac_status=$? |
9421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9422 | (exit $ac_status); }; } && |
9520 | (exit $ac_status); }; } && |
… | |
… | |
9494 | grep -v '^ *+' conftest.er1 >conftest.err |
9592 | grep -v '^ *+' conftest.er1 >conftest.err |
9495 | rm -f conftest.er1 |
9593 | rm -f conftest.er1 |
9496 | cat conftest.err >&5 |
9594 | cat conftest.err >&5 |
9497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9498 | (exit $ac_status); } && |
9596 | (exit $ac_status); } && |
9499 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9597 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9598 | || test ! -s conftest.err' |
9500 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9501 | (eval $ac_try) 2>&5 |
9600 | (eval $ac_try) 2>&5 |
9502 | ac_status=$? |
9601 | ac_status=$? |
9503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9504 | (exit $ac_status); }; } && |
9603 | (exit $ac_status); }; } && |
… | |
… | |
9606 | grep -v '^ *+' conftest.er1 >conftest.err |
9705 | grep -v '^ *+' conftest.er1 >conftest.err |
9607 | rm -f conftest.er1 |
9706 | rm -f conftest.er1 |
9608 | cat conftest.err >&5 |
9707 | cat conftest.err >&5 |
9609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9610 | (exit $ac_status); } && |
9709 | (exit $ac_status); } && |
9611 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9710 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9711 | || test ! -s conftest.err' |
9612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9613 | (eval $ac_try) 2>&5 |
9713 | (eval $ac_try) 2>&5 |
9614 | ac_status=$? |
9714 | ac_status=$? |
9615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9616 | (exit $ac_status); }; } && |
9716 | (exit $ac_status); }; } && |
… | |
… | |
9636 | #define RETSIGTYPE $ac_cv_type_signal |
9736 | #define RETSIGTYPE $ac_cv_type_signal |
9637 | _ACEOF |
9737 | _ACEOF |
9638 | |
9738 | |
9639 | |
9739 | |
9640 | |
9740 | |
9641 | case "$host_alias" in |
|
|
9642 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
9643 | *) break;; |
|
|
9644 | esac |
|
|
9645 | |
|
|
9646 | |
|
|
9647 | |
|
|
9648 | |
|
|
9649 | |
|
|
9650 | |
|
|
9651 | |
|
|
9652 | |
|
|
9653 | |
|
|
9654 | |
|
|
9655 | |
|
|
9656 | |
|
|
9657 | |
|
|
9658 | |
|
|
9659 | |
|
|
9660 | |
|
|
9661 | |
|
|
9662 | |
9741 | |
9663 | |
9742 | |
9664 | |
9743 | |
9665 | for ac_func in \ |
9744 | for ac_func in \ |
9666 | atexit \ |
|
|
9667 | revoke \ |
|
|
9668 | unsetenv \ |
9745 | unsetenv \ |
9669 | setutent \ |
9746 | setutent \ |
9670 | seteuid \ |
|
|
9671 | setreuid \ |
|
|
9672 | setsid \ |
|
|
9673 | setpgrp \ |
|
|
9674 | setpgid \ |
|
|
9675 | openpty \ |
|
|
9676 | _getpty \ |
|
|
9677 | grantpt \ |
|
|
9678 | unlockpt \ |
|
|
9679 | isastream \ |
|
|
9680 | on_exit \ |
9747 | on_exit \ |
9681 | nanosleep \ |
|
|
9682 | updwtmp \ |
|
|
9683 | updwtmpx \ |
|
|
9684 | ttyslot \ |
|
|
9685 | |
9748 | |
9686 | do |
9749 | do |
9687 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9750 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9688 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9751 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9689 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9752 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
9748 | grep -v '^ *+' conftest.er1 >conftest.err |
9811 | grep -v '^ *+' conftest.er1 >conftest.err |
9749 | rm -f conftest.er1 |
9812 | rm -f conftest.er1 |
9750 | cat conftest.err >&5 |
9813 | cat conftest.err >&5 |
9751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9752 | (exit $ac_status); } && |
9815 | (exit $ac_status); } && |
9753 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9816 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9817 | || test ! -s conftest.err' |
9754 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9755 | (eval $ac_try) 2>&5 |
9819 | (eval $ac_try) 2>&5 |
9756 | ac_status=$? |
9820 | ac_status=$? |
9757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9758 | (exit $ac_status); }; } && |
9822 | (exit $ac_status); }; } && |
… | |
… | |
9782 | fi |
9846 | fi |
9783 | done |
9847 | done |
9784 | |
9848 | |
9785 | |
9849 | |
9786 | |
9850 | |
|
|
9851 | support_utmp=yes |
|
|
9852 | support_wtmp=yes |
|
|
9853 | support_lastlog=yes |
|
|
9854 | |
|
|
9855 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
9856 | if test "${enable_utmp+set}" = set; then |
|
|
9857 | enableval="$enable_utmp" |
|
|
9858 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9859 | support_utmp=$enableval |
|
|
9860 | fi |
|
|
9861 | fi; |
|
|
9862 | |
|
|
9863 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
9864 | if test "${enable_wtmp+set}" = set; then |
|
|
9865 | enableval="$enable_wtmp" |
|
|
9866 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9867 | support_wtmp=$enableval |
|
|
9868 | fi |
|
|
9869 | fi; |
|
|
9870 | |
|
|
9871 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
9872 | if test "${enable_lastlog+set}" = set; then |
|
|
9873 | enableval="$enable_lastlog" |
|
|
9874 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9875 | support_lastlog=$enableval |
|
|
9876 | fi |
|
|
9877 | fi; |
|
|
9878 | |
|
|
9879 | if test x$support_utmp = xyes; then |
|
|
9880 | |
|
|
9881 | cat >>confdefs.h <<\_ACEOF |
|
|
9882 | #define UTMP_SUPPORT 1 |
|
|
9883 | _ACEOF |
|
|
9884 | |
|
|
9885 | fi |
|
|
9886 | if test x$support_wtmp = xyes; then |
|
|
9887 | |
|
|
9888 | cat >>confdefs.h <<\_ACEOF |
|
|
9889 | #define WTMP_SUPPORT 1 |
|
|
9890 | _ACEOF |
|
|
9891 | |
|
|
9892 | fi |
|
|
9893 | if test x$support_lastlog = xyes; then |
|
|
9894 | |
|
|
9895 | cat >>confdefs.h <<\_ACEOF |
|
|
9896 | #define LASTLOG_SUPPORT 1 |
|
|
9897 | _ACEOF |
|
|
9898 | |
|
|
9899 | fi |
|
|
9900 | |
|
|
9901 | |
|
|
9902 | |
|
|
9903 | |
|
|
9904 | for ac_func in \ |
|
|
9905 | ttyslot \ |
|
|
9906 | updwtmp \ |
|
|
9907 | updwtmpx \ |
|
|
9908 | |
|
|
9909 | do |
|
|
9910 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
9911 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
9912 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
9913 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
9914 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9915 | else |
|
|
9916 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9917 | /* confdefs.h. */ |
|
|
9918 | _ACEOF |
|
|
9919 | cat confdefs.h >>conftest.$ac_ext |
|
|
9920 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9921 | /* end confdefs.h. */ |
|
|
9922 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9923 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9924 | #define $ac_func innocuous_$ac_func |
|
|
9925 | |
|
|
9926 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9927 | which can conflict with char $ac_func (); below. |
|
|
9928 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9929 | <limits.h> exists even on freestanding compilers. */ |
|
|
9930 | |
|
|
9931 | #ifdef __STDC__ |
|
|
9932 | # include <limits.h> |
|
|
9933 | #else |
|
|
9934 | # include <assert.h> |
|
|
9935 | #endif |
|
|
9936 | |
|
|
9937 | #undef $ac_func |
|
|
9938 | |
|
|
9939 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9940 | #ifdef __cplusplus |
|
|
9941 | extern "C" |
|
|
9942 | { |
|
|
9943 | #endif |
|
|
9944 | /* We use char because int might match the return type of a gcc2 |
|
|
9945 | builtin and then its argument prototype would still apply. */ |
|
|
9946 | char $ac_func (); |
|
|
9947 | /* The GNU C library defines this for functions which it implements |
|
|
9948 | to always fail with ENOSYS. Some functions are actually named |
|
|
9949 | something starting with __ and the normal name is an alias. */ |
|
|
9950 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
9951 | choke me |
|
|
9952 | #else |
|
|
9953 | char (*f) () = $ac_func; |
|
|
9954 | #endif |
|
|
9955 | #ifdef __cplusplus |
|
|
9956 | } |
|
|
9957 | #endif |
|
|
9958 | |
|
|
9959 | int |
|
|
9960 | main () |
|
|
9961 | { |
|
|
9962 | return f != $ac_func; |
|
|
9963 | ; |
|
|
9964 | return 0; |
|
|
9965 | } |
|
|
9966 | _ACEOF |
|
|
9967 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9968 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9969 | (eval $ac_link) 2>conftest.er1 |
|
|
9970 | ac_status=$? |
|
|
9971 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9972 | rm -f conftest.er1 |
|
|
9973 | cat conftest.err >&5 |
|
|
9974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9975 | (exit $ac_status); } && |
|
|
9976 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9977 | || test ! -s conftest.err' |
|
|
9978 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9979 | (eval $ac_try) 2>&5 |
|
|
9980 | ac_status=$? |
|
|
9981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9982 | (exit $ac_status); }; } && |
|
|
9983 | { ac_try='test -s conftest$ac_exeext' |
|
|
9984 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9985 | (eval $ac_try) 2>&5 |
|
|
9986 | ac_status=$? |
|
|
9987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9988 | (exit $ac_status); }; }; then |
|
|
9989 | eval "$as_ac_var=yes" |
|
|
9990 | else |
|
|
9991 | echo "$as_me: failed program was:" >&5 |
|
|
9992 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9993 | |
|
|
9994 | eval "$as_ac_var=no" |
|
|
9995 | fi |
|
|
9996 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9997 | conftest$ac_exeext conftest.$ac_ext |
|
|
9998 | fi |
|
|
9999 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
10000 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
10001 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
10002 | cat >>confdefs.h <<_ACEOF |
|
|
10003 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
10004 | _ACEOF |
|
|
10005 | |
|
|
10006 | fi |
|
|
10007 | done |
|
|
10008 | |
|
|
10009 | |
|
|
10010 | |
|
|
10011 | |
|
|
10012 | |
|
|
10013 | for ac_header in \ |
|
|
10014 | utmp.h \ |
|
|
10015 | utmpx.h \ |
|
|
10016 | lastlog.h \ |
|
|
10017 | |
|
|
10018 | do |
|
|
10019 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10020 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10021 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10022 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10023 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10024 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10025 | fi |
|
|
10026 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10027 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10028 | else |
|
|
10029 | # Is the header compilable? |
|
|
10030 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
10031 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
10032 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10033 | /* confdefs.h. */ |
|
|
10034 | _ACEOF |
|
|
10035 | cat confdefs.h >>conftest.$ac_ext |
|
|
10036 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10037 | /* end confdefs.h. */ |
|
|
10038 | $ac_includes_default |
|
|
10039 | #include <$ac_header> |
|
|
10040 | _ACEOF |
|
|
10041 | rm -f conftest.$ac_objext |
|
|
10042 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10043 | (eval $ac_compile) 2>conftest.er1 |
|
|
10044 | ac_status=$? |
|
|
10045 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10046 | rm -f conftest.er1 |
|
|
10047 | cat conftest.err >&5 |
|
|
10048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10049 | (exit $ac_status); } && |
|
|
10050 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10051 | || test ! -s conftest.err' |
|
|
10052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10053 | (eval $ac_try) 2>&5 |
|
|
10054 | ac_status=$? |
|
|
10055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10056 | (exit $ac_status); }; } && |
|
|
10057 | { ac_try='test -s conftest.$ac_objext' |
|
|
10058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10059 | (eval $ac_try) 2>&5 |
|
|
10060 | ac_status=$? |
|
|
10061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10062 | (exit $ac_status); }; }; then |
|
|
10063 | ac_header_compiler=yes |
|
|
10064 | else |
|
|
10065 | echo "$as_me: failed program was:" >&5 |
|
|
10066 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10067 | |
|
|
10068 | ac_header_compiler=no |
|
|
10069 | fi |
|
|
10070 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10071 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
10072 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
10073 | |
|
|
10074 | # Is the header present? |
|
|
10075 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
10076 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
10077 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10078 | /* confdefs.h. */ |
|
|
10079 | _ACEOF |
|
|
10080 | cat confdefs.h >>conftest.$ac_ext |
|
|
10081 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10082 | /* end confdefs.h. */ |
|
|
10083 | #include <$ac_header> |
|
|
10084 | _ACEOF |
|
|
10085 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
10086 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
10087 | ac_status=$? |
|
|
10088 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10089 | rm -f conftest.er1 |
|
|
10090 | cat conftest.err >&5 |
|
|
10091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10092 | (exit $ac_status); } >/dev/null; then |
|
|
10093 | if test -s conftest.err; then |
|
|
10094 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
10095 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
10096 | else |
|
|
10097 | ac_cpp_err= |
|
|
10098 | fi |
|
|
10099 | else |
|
|
10100 | ac_cpp_err=yes |
|
|
10101 | fi |
|
|
10102 | if test -z "$ac_cpp_err"; then |
|
|
10103 | ac_header_preproc=yes |
|
|
10104 | else |
|
|
10105 | echo "$as_me: failed program was:" >&5 |
|
|
10106 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10107 | |
|
|
10108 | ac_header_preproc=no |
|
|
10109 | fi |
|
|
10110 | rm -f conftest.err conftest.$ac_ext |
|
|
10111 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
10112 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
10113 | |
|
|
10114 | # So? What about this header? |
|
|
10115 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
10116 | yes:no: ) |
|
|
10117 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
10118 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
10119 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
10120 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
10121 | ac_header_preproc=yes |
|
|
10122 | ;; |
|
|
10123 | no:yes:* ) |
|
|
10124 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
10125 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
10126 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
10127 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
10128 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
10129 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
10130 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10131 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10132 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
10133 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
10134 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
10135 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
10136 | ( |
|
|
10137 | cat <<\_ASBOX |
|
|
10138 | ## ------------------------------------------ ## |
|
|
10139 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10140 | ## ------------------------------------------ ## |
|
|
10141 | _ASBOX |
|
|
10142 | ) | |
|
|
10143 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10144 | ;; |
|
|
10145 | esac |
|
|
10146 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10147 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10148 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10150 | else |
|
|
10151 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
10152 | fi |
|
|
10153 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10154 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10155 | |
|
|
10156 | fi |
|
|
10157 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10158 | cat >>confdefs.h <<_ACEOF |
|
|
10159 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10160 | _ACEOF |
|
|
10161 | |
|
|
10162 | fi |
|
|
10163 | |
|
|
10164 | done |
|
|
10165 | |
|
|
10166 | |
|
|
10167 | |
9787 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10168 | if test "${ac_cv_header_utmp_h+set}" = set; then |
9788 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10169 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
9789 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10170 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
9790 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10171 | if test "${ac_cv_header_utmp_h+set}" = set; then |
9791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10172 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
9812 | grep -v '^ *+' conftest.er1 >conftest.err |
10193 | grep -v '^ *+' conftest.er1 >conftest.err |
9813 | rm -f conftest.er1 |
10194 | rm -f conftest.er1 |
9814 | cat conftest.err >&5 |
10195 | cat conftest.err >&5 |
9815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9816 | (exit $ac_status); } && |
10197 | (exit $ac_status); } && |
9817 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10198 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10199 | || test ! -s conftest.err' |
9818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10200 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9819 | (eval $ac_try) 2>&5 |
10201 | (eval $ac_try) 2>&5 |
9820 | ac_status=$? |
10202 | ac_status=$? |
9821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9822 | (exit $ac_status); }; } && |
10204 | (exit $ac_status); }; } && |
… | |
… | |
9921 | |
10303 | |
9922 | fi |
10304 | fi |
9923 | if test $ac_cv_header_utmp_h = yes; then |
10305 | if test $ac_cv_header_utmp_h = yes; then |
9924 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10306 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
9925 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10307 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
9926 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
10308 | if test "${struct_utmp+set}" = set; then |
9927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10309 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9928 | else |
10310 | else |
9929 | cat >conftest.$ac_ext <<_ACEOF |
10311 | cat >conftest.$ac_ext <<_ACEOF |
9930 | /* confdefs.h. */ |
10312 | /* confdefs.h. */ |
9931 | _ACEOF |
10313 | _ACEOF |
9932 | cat confdefs.h >>conftest.$ac_ext |
10314 | cat confdefs.h >>conftest.$ac_ext |
9933 | cat >>conftest.$ac_ext <<_ACEOF |
10315 | cat >>conftest.$ac_ext <<_ACEOF |
9934 | /* end confdefs.h. */ |
10316 | /* end confdefs.h. */ |
9935 | #include <sys/types.h> |
10317 | #include <sys/types.h> |
9936 | #include <stdint.h> |
|
|
9937 | #include <utmp.h> |
10318 | #include <utmp.h> |
9938 | int |
10319 | int |
9939 | main () |
10320 | main () |
9940 | { |
10321 | { |
9941 | struct utmp ut; |
10322 | struct utmp ut; |
… | |
… | |
9950 | grep -v '^ *+' conftest.er1 >conftest.err |
10331 | grep -v '^ *+' conftest.er1 >conftest.err |
9951 | rm -f conftest.er1 |
10332 | rm -f conftest.er1 |
9952 | cat conftest.err >&5 |
10333 | cat conftest.err >&5 |
9953 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9954 | (exit $ac_status); } && |
10335 | (exit $ac_status); } && |
9955 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10336 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10337 | || test ! -s conftest.err' |
9956 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10338 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9957 | (eval $ac_try) 2>&5 |
10339 | (eval $ac_try) 2>&5 |
9958 | ac_status=$? |
10340 | ac_status=$? |
9959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9960 | (exit $ac_status); }; } && |
10342 | (exit $ac_status); }; } && |
… | |
… | |
9962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10344 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9963 | (eval $ac_try) 2>&5 |
10345 | (eval $ac_try) 2>&5 |
9964 | ac_status=$? |
10346 | ac_status=$? |
9965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9966 | (exit $ac_status); }; }; then |
10348 | (exit $ac_status); }; }; then |
9967 | rxvt_cv_struct_utmp=yes |
10349 | struct_utmp=yes |
9968 | else |
10350 | else |
9969 | echo "$as_me: failed program was:" >&5 |
10351 | echo "$as_me: failed program was:" >&5 |
9970 | sed 's/^/| /' conftest.$ac_ext >&5 |
10352 | sed 's/^/| /' conftest.$ac_ext >&5 |
9971 | |
10353 | |
9972 | rxvt_cv_struct_utmp=no |
10354 | struct_utmp=no |
9973 | fi |
10355 | fi |
9974 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10356 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9975 | fi |
10357 | fi |
9976 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
10358 | echo "$as_me:$LINENO: result: $struct_utmp" >&5 |
9977 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
10359 | echo "${ECHO_T}$struct_utmp" >&6 |
9978 | if test x$rxvt_cv_struct_utmp = xyes; then |
10360 | if test x$struct_utmp = xyes; then |
9979 | |
10361 | |
9980 | cat >>confdefs.h <<\_ACEOF |
10362 | cat >>confdefs.h <<\_ACEOF |
9981 | #define HAVE_STRUCT_UTMP 1 |
10363 | #define HAVE_STRUCT_UTMP 1 |
9982 | _ACEOF |
10364 | _ACEOF |
9983 | |
10365 | |
9984 | fi |
10366 | fi |
9985 | |
10367 | |
9986 | |
10368 | |
9987 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10369 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
9988 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10370 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
9989 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
10371 | if test "${struct_utmp_host+set}" = set; then |
9990 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10372 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9991 | else |
10373 | else |
9992 | cat >conftest.$ac_ext <<_ACEOF |
10374 | cat >conftest.$ac_ext <<_ACEOF |
9993 | /* confdefs.h. */ |
10375 | /* confdefs.h. */ |
9994 | _ACEOF |
10376 | _ACEOF |
… | |
… | |
10012 | grep -v '^ *+' conftest.er1 >conftest.err |
10394 | grep -v '^ *+' conftest.er1 >conftest.err |
10013 | rm -f conftest.er1 |
10395 | rm -f conftest.er1 |
10014 | cat conftest.err >&5 |
10396 | cat conftest.err >&5 |
10015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10016 | (exit $ac_status); } && |
10398 | (exit $ac_status); } && |
10017 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10399 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10400 | || test ! -s conftest.err' |
10018 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10401 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10019 | (eval $ac_try) 2>&5 |
10402 | (eval $ac_try) 2>&5 |
10020 | ac_status=$? |
10403 | ac_status=$? |
10021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10022 | (exit $ac_status); }; } && |
10405 | (exit $ac_status); }; } && |
… | |
… | |
10024 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10407 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10025 | (eval $ac_try) 2>&5 |
10408 | (eval $ac_try) 2>&5 |
10026 | ac_status=$? |
10409 | ac_status=$? |
10027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10028 | (exit $ac_status); }; }; then |
10411 | (exit $ac_status); }; }; then |
10029 | rxvt_cv_struct_utmp_host=yes |
10412 | struct_utmp_host=yes |
10030 | else |
10413 | else |
10031 | echo "$as_me: failed program was:" >&5 |
10414 | echo "$as_me: failed program was:" >&5 |
10032 | sed 's/^/| /' conftest.$ac_ext >&5 |
10415 | sed 's/^/| /' conftest.$ac_ext >&5 |
10033 | |
10416 | |
10034 | rxvt_cv_struct_utmp_host=no |
10417 | struct_utmp_host=no |
10035 | fi |
10418 | fi |
10036 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10419 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10037 | fi |
10420 | fi |
10038 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
10421 | echo "$as_me:$LINENO: result: $struct_utmp_host" >&5 |
10039 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
10422 | echo "${ECHO_T}$struct_utmp_host" >&6 |
10040 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
10423 | if test x$struct_utmp_host = xyes; then |
10041 | |
10424 | |
10042 | cat >>confdefs.h <<\_ACEOF |
10425 | cat >>confdefs.h <<\_ACEOF |
10043 | #define HAVE_UTMP_HOST 1 |
10426 | #define HAVE_UTMP_HOST 1 |
10044 | _ACEOF |
10427 | _ACEOF |
10045 | |
10428 | |
10046 | fi |
10429 | fi |
10047 | |
10430 | |
10048 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10431 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10049 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10432 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10050 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
10433 | if test "${struct_utmp_pid+set}" = set; then |
10051 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10434 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10052 | else |
10435 | else |
10053 | cat >conftest.$ac_ext <<_ACEOF |
10436 | cat >conftest.$ac_ext <<_ACEOF |
10054 | /* confdefs.h. */ |
10437 | /* confdefs.h. */ |
10055 | _ACEOF |
10438 | _ACEOF |
… | |
… | |
10073 | grep -v '^ *+' conftest.er1 >conftest.err |
10456 | grep -v '^ *+' conftest.er1 >conftest.err |
10074 | rm -f conftest.er1 |
10457 | rm -f conftest.er1 |
10075 | cat conftest.err >&5 |
10458 | cat conftest.err >&5 |
10076 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10077 | (exit $ac_status); } && |
10460 | (exit $ac_status); } && |
10078 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10461 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10462 | || test ! -s conftest.err' |
10079 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10463 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10080 | (eval $ac_try) 2>&5 |
10464 | (eval $ac_try) 2>&5 |
10081 | ac_status=$? |
10465 | ac_status=$? |
10082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10083 | (exit $ac_status); }; } && |
10467 | (exit $ac_status); }; } && |
… | |
… | |
10085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10086 | (eval $ac_try) 2>&5 |
10470 | (eval $ac_try) 2>&5 |
10087 | ac_status=$? |
10471 | ac_status=$? |
10088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10089 | (exit $ac_status); }; }; then |
10473 | (exit $ac_status); }; }; then |
10090 | rxvt_cv_struct_utmp_pid=yes |
10474 | struct_utmp_pid=yes |
10091 | else |
10475 | else |
10092 | echo "$as_me: failed program was:" >&5 |
10476 | echo "$as_me: failed program was:" >&5 |
10093 | sed 's/^/| /' conftest.$ac_ext >&5 |
10477 | sed 's/^/| /' conftest.$ac_ext >&5 |
10094 | |
10478 | |
10095 | rxvt_cv_struct_utmp_pid=no |
10479 | struct_utmp_pid=no |
10096 | fi |
10480 | fi |
10097 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10481 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10098 | fi |
10482 | fi |
10099 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
10483 | echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5 |
10100 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
10484 | echo "${ECHO_T}$struct_utmp_pid" >&6 |
10101 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
10485 | if test x$struct_utmp_pid = xyes; then |
10102 | |
10486 | |
10103 | cat >>confdefs.h <<\_ACEOF |
10487 | cat >>confdefs.h <<\_ACEOF |
10104 | #define HAVE_UTMP_PID 1 |
10488 | #define HAVE_UTMP_PID 1 |
10105 | _ACEOF |
10489 | _ACEOF |
10106 | |
10490 | |
… | |
… | |
10138 | grep -v '^ *+' conftest.er1 >conftest.err |
10522 | grep -v '^ *+' conftest.er1 >conftest.err |
10139 | rm -f conftest.er1 |
10523 | rm -f conftest.er1 |
10140 | cat conftest.err >&5 |
10524 | cat conftest.err >&5 |
10141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10142 | (exit $ac_status); } && |
10526 | (exit $ac_status); } && |
10143 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10527 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10528 | || test ! -s conftest.err' |
10144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10529 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10145 | (eval $ac_try) 2>&5 |
10530 | (eval $ac_try) 2>&5 |
10146 | ac_status=$? |
10531 | ac_status=$? |
10147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10148 | (exit $ac_status); }; } && |
10533 | (exit $ac_status); }; } && |
… | |
… | |
10247 | |
10632 | |
10248 | fi |
10633 | fi |
10249 | if test $ac_cv_header_utmpx_h = yes; then |
10634 | if test $ac_cv_header_utmpx_h = yes; then |
10250 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10635 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10251 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10636 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10252 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
10637 | if test "${struct_utmpx+set}" = set; then |
10253 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10638 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10254 | else |
10639 | else |
10255 | cat >conftest.$ac_ext <<_ACEOF |
10640 | cat >conftest.$ac_ext <<_ACEOF |
10256 | /* confdefs.h. */ |
10641 | /* confdefs.h. */ |
10257 | _ACEOF |
10642 | _ACEOF |
… | |
… | |
10275 | grep -v '^ *+' conftest.er1 >conftest.err |
10660 | grep -v '^ *+' conftest.er1 >conftest.err |
10276 | rm -f conftest.er1 |
10661 | rm -f conftest.er1 |
10277 | cat conftest.err >&5 |
10662 | cat conftest.err >&5 |
10278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10279 | (exit $ac_status); } && |
10664 | (exit $ac_status); } && |
10280 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10665 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10666 | || test ! -s conftest.err' |
10281 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10282 | (eval $ac_try) 2>&5 |
10668 | (eval $ac_try) 2>&5 |
10283 | ac_status=$? |
10669 | ac_status=$? |
10284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10285 | (exit $ac_status); }; } && |
10671 | (exit $ac_status); }; } && |
… | |
… | |
10287 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10288 | (eval $ac_try) 2>&5 |
10674 | (eval $ac_try) 2>&5 |
10289 | ac_status=$? |
10675 | ac_status=$? |
10290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10291 | (exit $ac_status); }; }; then |
10677 | (exit $ac_status); }; }; then |
10292 | rxvt_cv_struct_utmpx=yes |
10678 | struct_utmpx=yes |
10293 | else |
10679 | else |
10294 | echo "$as_me: failed program was:" >&5 |
10680 | echo "$as_me: failed program was:" >&5 |
10295 | sed 's/^/| /' conftest.$ac_ext >&5 |
10681 | sed 's/^/| /' conftest.$ac_ext >&5 |
10296 | |
10682 | |
10297 | rxvt_cv_struct_utmpx=no |
10683 | struct_utmpx=no |
10298 | fi |
10684 | fi |
10299 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10685 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10300 | fi |
10686 | fi |
10301 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
10687 | echo "$as_me:$LINENO: result: $struct_utmpx" >&5 |
10302 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
10688 | echo "${ECHO_T}$struct_utmpx" >&6 |
10303 | if test x$rxvt_cv_struct_utmpx = xyes; then |
10689 | if test x$struct_utmpx = xyes; then |
10304 | |
10690 | |
10305 | cat >>confdefs.h <<\_ACEOF |
10691 | cat >>confdefs.h <<\_ACEOF |
10306 | #define HAVE_STRUCT_UTMPX 1 |
10692 | #define HAVE_STRUCT_UTMPX 1 |
10307 | _ACEOF |
10693 | _ACEOF |
10308 | |
10694 | |
10309 | fi |
10695 | fi |
10310 | |
10696 | |
10311 | |
10697 | |
10312 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10698 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10313 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10699 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10314 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
10700 | if test "${struct_utmpx_host+set}" = set; then |
10315 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10701 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10316 | else |
10702 | else |
10317 | cat >conftest.$ac_ext <<_ACEOF |
10703 | cat >conftest.$ac_ext <<_ACEOF |
10318 | /* confdefs.h. */ |
10704 | /* confdefs.h. */ |
10319 | _ACEOF |
10705 | _ACEOF |
… | |
… | |
10337 | grep -v '^ *+' conftest.er1 >conftest.err |
10723 | grep -v '^ *+' conftest.er1 >conftest.err |
10338 | rm -f conftest.er1 |
10724 | rm -f conftest.er1 |
10339 | cat conftest.err >&5 |
10725 | cat conftest.err >&5 |
10340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10341 | (exit $ac_status); } && |
10727 | (exit $ac_status); } && |
10342 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10728 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10729 | || test ! -s conftest.err' |
10343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10344 | (eval $ac_try) 2>&5 |
10731 | (eval $ac_try) 2>&5 |
10345 | ac_status=$? |
10732 | ac_status=$? |
10346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10347 | (exit $ac_status); }; } && |
10734 | (exit $ac_status); }; } && |
… | |
… | |
10349 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10736 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10350 | (eval $ac_try) 2>&5 |
10737 | (eval $ac_try) 2>&5 |
10351 | ac_status=$? |
10738 | ac_status=$? |
10352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10353 | (exit $ac_status); }; }; then |
10740 | (exit $ac_status); }; }; then |
10354 | rxvt_cv_struct_utmpx_host=yes |
10741 | struct_utmpx_host=yes |
10355 | else |
10742 | else |
10356 | echo "$as_me: failed program was:" >&5 |
10743 | echo "$as_me: failed program was:" >&5 |
10357 | sed 's/^/| /' conftest.$ac_ext >&5 |
10744 | sed 's/^/| /' conftest.$ac_ext >&5 |
10358 | |
10745 | |
10359 | rxvt_cv_struct_utmpx_host=no |
10746 | struct_utmpx_host=no |
10360 | fi |
10747 | fi |
10361 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10748 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10362 | fi |
10749 | fi |
10363 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
10750 | echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5 |
10364 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
10751 | echo "${ECHO_T}$struct_utmpx_host" >&6 |
10365 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
10752 | if test x$struct_utmpx_host = xyes; then |
10366 | |
10753 | |
10367 | cat >>confdefs.h <<\_ACEOF |
10754 | cat >>confdefs.h <<\_ACEOF |
10368 | #define HAVE_UTMPX_HOST 1 |
10755 | #define HAVE_UTMPX_HOST 1 |
10369 | _ACEOF |
10756 | _ACEOF |
10370 | |
10757 | |
10371 | fi |
10758 | fi |
10372 | |
10759 | |
10373 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10760 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10374 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10761 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10375 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
10762 | if test "${struct_utmpx_session+set}" = set; then |
10376 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10763 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10377 | else |
10764 | else |
10378 | cat >conftest.$ac_ext <<_ACEOF |
10765 | cat >conftest.$ac_ext <<_ACEOF |
10379 | /* confdefs.h. */ |
10766 | /* confdefs.h. */ |
10380 | _ACEOF |
10767 | _ACEOF |
… | |
… | |
10398 | grep -v '^ *+' conftest.er1 >conftest.err |
10785 | grep -v '^ *+' conftest.er1 >conftest.err |
10399 | rm -f conftest.er1 |
10786 | rm -f conftest.er1 |
10400 | cat conftest.err >&5 |
10787 | cat conftest.err >&5 |
10401 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10402 | (exit $ac_status); } && |
10789 | (exit $ac_status); } && |
10403 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10790 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10791 | || test ! -s conftest.err' |
10404 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10405 | (eval $ac_try) 2>&5 |
10793 | (eval $ac_try) 2>&5 |
10406 | ac_status=$? |
10794 | ac_status=$? |
10407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10408 | (exit $ac_status); }; } && |
10796 | (exit $ac_status); }; } && |
… | |
… | |
10410 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10798 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10411 | (eval $ac_try) 2>&5 |
10799 | (eval $ac_try) 2>&5 |
10412 | ac_status=$? |
10800 | ac_status=$? |
10413 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10414 | (exit $ac_status); }; }; then |
10802 | (exit $ac_status); }; }; then |
10415 | rxvt_cv_struct_utmpx_session=yes |
10803 | struct_utmpx_session=yes |
10416 | else |
10804 | else |
10417 | echo "$as_me: failed program was:" >&5 |
10805 | echo "$as_me: failed program was:" >&5 |
10418 | sed 's/^/| /' conftest.$ac_ext >&5 |
10806 | sed 's/^/| /' conftest.$ac_ext >&5 |
10419 | |
10807 | |
10420 | rxvt_cv_struct_utmpx_session=no |
10808 | struct_utmpx_session=no |
10421 | fi |
10809 | fi |
10422 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10810 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10423 | fi |
10811 | fi |
10424 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
10812 | echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5 |
10425 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
10813 | echo "${ECHO_T}$struct_utmpx_session" >&6 |
10426 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
10814 | if test x$struct_utmpx_session = xyes; then |
10427 | |
10815 | |
10428 | cat >>confdefs.h <<\_ACEOF |
10816 | cat >>confdefs.h <<\_ACEOF |
10429 | #define HAVE_UTMPX_SESSION 1 |
10817 | #define HAVE_UTMPX_SESSION 1 |
10430 | _ACEOF |
10818 | _ACEOF |
10431 | |
10819 | |
… | |
… | |
10434 | fi |
10822 | fi |
10435 | |
10823 | |
10436 | |
10824 | |
10437 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10825 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10438 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10826 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10439 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10827 | if test "${struct_lastlog+set}" = set; then |
10440 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10441 | else |
10829 | else |
10442 | cat >conftest.$ac_ext <<_ACEOF |
10830 | cat >conftest.$ac_ext <<_ACEOF |
10443 | /* confdefs.h. */ |
10831 | /* confdefs.h. */ |
10444 | _ACEOF |
10832 | _ACEOF |
… | |
… | |
10466 | grep -v '^ *+' conftest.er1 >conftest.err |
10854 | grep -v '^ *+' conftest.er1 >conftest.err |
10467 | rm -f conftest.er1 |
10855 | rm -f conftest.er1 |
10468 | cat conftest.err >&5 |
10856 | cat conftest.err >&5 |
10469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10470 | (exit $ac_status); } && |
10858 | (exit $ac_status); } && |
10471 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10859 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10860 | || test ! -s conftest.err' |
10472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10861 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10473 | (eval $ac_try) 2>&5 |
10862 | (eval $ac_try) 2>&5 |
10474 | ac_status=$? |
10863 | ac_status=$? |
10475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10476 | (exit $ac_status); }; } && |
10865 | (exit $ac_status); }; } && |
… | |
… | |
10478 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10867 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10479 | (eval $ac_try) 2>&5 |
10868 | (eval $ac_try) 2>&5 |
10480 | ac_status=$? |
10869 | ac_status=$? |
10481 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10482 | (exit $ac_status); }; }; then |
10871 | (exit $ac_status); }; }; then |
10483 | rxvt_cv_struct_lastlog=yes |
10872 | struct_lastlog=yes |
10484 | else |
10873 | else |
10485 | echo "$as_me: failed program was:" >&5 |
10874 | echo "$as_me: failed program was:" >&5 |
10486 | sed 's/^/| /' conftest.$ac_ext >&5 |
10875 | sed 's/^/| /' conftest.$ac_ext >&5 |
10487 | |
10876 | |
10488 | rxvt_cv_struct_lastlog=no |
10877 | struct_lastlog=no |
10489 | fi |
10878 | fi |
10490 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10879 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10491 | fi |
10880 | fi |
10492 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
10881 | echo "$as_me:$LINENO: result: $struct_lastlog" >&5 |
10493 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
10882 | echo "${ECHO_T}$struct_lastlog" >&6 |
10494 | if test x$rxvt_cv_struct_lastlog = xyes; then |
10883 | if test x$struct_lastlog = xyes; then |
10495 | |
10884 | |
10496 | cat >>confdefs.h <<\_ACEOF |
10885 | cat >>confdefs.h <<\_ACEOF |
10497 | #define HAVE_STRUCT_LASTLOG 1 |
10886 | #define HAVE_STRUCT_LASTLOG 1 |
10498 | _ACEOF |
10887 | _ACEOF |
10499 | |
10888 | |
10500 | fi |
10889 | fi |
10501 | |
10890 | |
10502 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10891 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10503 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10892 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10504 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
10893 | if test "${struct_lastlogx+set}" = set; then |
10505 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10506 | else |
10895 | else |
10507 | cat >conftest.$ac_ext <<_ACEOF |
10896 | cat >conftest.$ac_ext <<_ACEOF |
10508 | /* confdefs.h. */ |
10897 | /* confdefs.h. */ |
10509 | _ACEOF |
10898 | _ACEOF |
… | |
… | |
10531 | grep -v '^ *+' conftest.er1 >conftest.err |
10920 | grep -v '^ *+' conftest.er1 >conftest.err |
10532 | rm -f conftest.er1 |
10921 | rm -f conftest.er1 |
10533 | cat conftest.err >&5 |
10922 | cat conftest.err >&5 |
10534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10535 | (exit $ac_status); } && |
10924 | (exit $ac_status); } && |
10536 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10925 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10926 | || test ! -s conftest.err' |
10537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10927 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10538 | (eval $ac_try) 2>&5 |
10928 | (eval $ac_try) 2>&5 |
10539 | ac_status=$? |
10929 | ac_status=$? |
10540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10541 | (exit $ac_status); }; } && |
10931 | (exit $ac_status); }; } && |
… | |
… | |
10543 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10933 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10544 | (eval $ac_try) 2>&5 |
10934 | (eval $ac_try) 2>&5 |
10545 | ac_status=$? |
10935 | ac_status=$? |
10546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10547 | (exit $ac_status); }; }; then |
10937 | (exit $ac_status); }; }; then |
10548 | rxvt_cv_struct_lastlogx=yes |
10938 | struct_lastlogx=yes |
10549 | else |
10939 | else |
10550 | echo "$as_me: failed program was:" >&5 |
10940 | echo "$as_me: failed program was:" >&5 |
10551 | sed 's/^/| /' conftest.$ac_ext >&5 |
10941 | sed 's/^/| /' conftest.$ac_ext >&5 |
10552 | |
10942 | |
10553 | rxvt_cv_struct_lastlogx=no |
10943 | struct_lastlogx=no |
10554 | fi |
10944 | fi |
10555 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10945 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10556 | fi |
10946 | fi |
10557 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
10947 | echo "$as_me:$LINENO: result: $struct_lastlogx" >&5 |
10558 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
10948 | echo "${ECHO_T}$struct_lastlogx" >&6 |
10559 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
10949 | if test x$struct_lastlogx = xyes; then |
10560 | |
10950 | |
10561 | cat >>confdefs.h <<\_ACEOF |
10951 | cat >>confdefs.h <<\_ACEOF |
10562 | #define HAVE_STRUCT_LASTLOGX 1 |
10952 | #define HAVE_STRUCT_LASTLOGX 1 |
10563 | _ACEOF |
10953 | _ACEOF |
10564 | |
10954 | |
10565 | fi |
10955 | fi |
10566 | |
10956 | |
10567 | |
10957 | |
10568 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10958 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10569 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10959 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10570 | if test "${rxvt_cv_path_utmp+set}" = set; then |
10960 | if test "${path_utmp+set}" = set; then |
10571 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10572 | else |
10962 | else |
10573 | if test "$cross_compiling" = yes; then |
10963 | if test "$cross_compiling" = yes; then |
10574 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
10964 | { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5 |
10575 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
10965 | echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
10576 | else |
10966 | else |
10577 | cat >conftest.$ac_ext <<_ACEOF |
10967 | cat >conftest.$ac_ext <<_ACEOF |
10578 | /* confdefs.h. */ |
10968 | /* confdefs.h. */ |
10579 | _ACEOF |
10969 | _ACEOF |
10580 | cat confdefs.h >>conftest.$ac_ext |
10970 | cat confdefs.h >>conftest.$ac_ext |
10581 | cat >>conftest.$ac_ext <<_ACEOF |
10971 | cat >>conftest.$ac_ext <<_ACEOF |
10582 | /* end confdefs.h. */ |
10972 | /* end confdefs.h. */ |
10583 | #include <stdio.h> |
10973 | #include <stdio.h> |
|
|
10974 | #include <stdlib.h> |
10584 | #include <sys/types.h> |
10975 | #include <sys/types.h> |
10585 | #include <utmp.h> |
10976 | #include <utmp.h> |
10586 | #include <errno.h> |
10977 | #include <errno.h> |
10587 | main() |
10978 | main() |
10588 | { |
10979 | { |
… | |
… | |
10616 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11007 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10617 | (eval $ac_try) 2>&5 |
11008 | (eval $ac_try) 2>&5 |
10618 | ac_status=$? |
11009 | ac_status=$? |
10619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10620 | (exit $ac_status); }; }; then |
11011 | (exit $ac_status); }; }; then |
10621 | rxvt_cv_path_utmp=`cat conftestval` |
11012 | path_utmp=`cat conftestval` |
10622 | else |
11013 | else |
10623 | echo "$as_me: program exited with status $ac_status" >&5 |
11014 | echo "$as_me: program exited with status $ac_status" >&5 |
10624 | echo "$as_me: failed program was:" >&5 |
11015 | echo "$as_me: failed program was:" >&5 |
10625 | sed 's/^/| /' conftest.$ac_ext >&5 |
11016 | sed 's/^/| /' conftest.$ac_ext >&5 |
10626 | |
11017 | |
10627 | ( exit $ac_status ) |
11018 | ( exit $ac_status ) |
10628 | rxvt_cv_path_utmp= |
11019 | path_utmp= |
10629 | fi |
11020 | fi |
10630 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11021 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10631 | fi |
11022 | fi |
10632 | fi |
11023 | fi |
10633 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
11024 | echo "$as_me:$LINENO: result: $path_utmp" >&5 |
10634 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
11025 | echo "${ECHO_T}$path_utmp" >&6 |
10635 | if test x$rxvt_cv_path_utmp != x; then |
11026 | if test x$path_utmp != x; then |
10636 | |
11027 | |
10637 | cat >>confdefs.h <<_ACEOF |
11028 | cat >>confdefs.h <<_ACEOF |
10638 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
11029 | #define UTMP_FILE "$path_utmp" |
10639 | _ACEOF |
11030 | _ACEOF |
10640 | |
11031 | |
10641 | fi |
11032 | fi |
10642 | |
11033 | |
10643 | |
11034 | |
10644 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11035 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
10645 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11036 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
10646 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
11037 | if test "${path_utmpx+set}" = set; then |
10647 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11038 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10648 | else |
11039 | else |
10649 | if test "$cross_compiling" = yes; then |
11040 | if test "$cross_compiling" = yes; then |
10650 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
11041 | { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5 |
10651 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
11042 | echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;} |
10652 | else |
11043 | else |
10653 | cat >conftest.$ac_ext <<_ACEOF |
11044 | cat >conftest.$ac_ext <<_ACEOF |
10654 | /* confdefs.h. */ |
11045 | /* confdefs.h. */ |
10655 | _ACEOF |
11046 | _ACEOF |
10656 | cat confdefs.h >>conftest.$ac_ext |
11047 | cat confdefs.h >>conftest.$ac_ext |
10657 | cat >>conftest.$ac_ext <<_ACEOF |
11048 | cat >>conftest.$ac_ext <<_ACEOF |
10658 | /* end confdefs.h. */ |
11049 | /* end confdefs.h. */ |
10659 | #include <stdio.h> |
11050 | #include <stdio.h> |
|
|
11051 | #include <stdlib.h> |
10660 | #include <sys/types.h> |
11052 | #include <sys/types.h> |
10661 | #include <utmpx.h> |
11053 | #include <utmpx.h> |
10662 | #include <errno.h> |
11054 | #include <errno.h> |
10663 | #include <sys/stat.h> |
11055 | #include <sys/stat.h> |
10664 | #ifdef HAVE_STRING_H |
11056 | #ifdef HAVE_STRING_H |
… | |
… | |
10702 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10703 | (eval $ac_try) 2>&5 |
11095 | (eval $ac_try) 2>&5 |
10704 | ac_status=$? |
11096 | ac_status=$? |
10705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10706 | (exit $ac_status); }; }; then |
11098 | (exit $ac_status); }; }; then |
10707 | rxvt_cv_path_utmpx=`cat conftestval` |
11099 | path_utmpx=`cat conftestval` |
10708 | else |
11100 | else |
10709 | echo "$as_me: program exited with status $ac_status" >&5 |
11101 | echo "$as_me: program exited with status $ac_status" >&5 |
10710 | echo "$as_me: failed program was:" >&5 |
11102 | echo "$as_me: failed program was:" >&5 |
10711 | sed 's/^/| /' conftest.$ac_ext >&5 |
11103 | sed 's/^/| /' conftest.$ac_ext >&5 |
10712 | |
11104 | |
10713 | ( exit $ac_status ) |
11105 | ( exit $ac_status ) |
10714 | rxvt_cv_path_utmpx= |
11106 | path_utmpx= |
10715 | fi |
11107 | fi |
10716 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11108 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10717 | fi |
11109 | fi |
10718 | fi |
11110 | fi |
10719 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
11111 | echo "$as_me:$LINENO: result: $path_utmpx" >&5 |
10720 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
11112 | echo "${ECHO_T}$path_utmpx" >&6 |
10721 | if test x$rxvt_cv_path_utmpx != x; then |
11113 | if test x$path_utmpx != x; then |
10722 | |
11114 | |
10723 | cat >>confdefs.h <<_ACEOF |
11115 | cat >>confdefs.h <<_ACEOF |
10724 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
11116 | #define UTMPX_FILE "$path_utmpx" |
10725 | _ACEOF |
11117 | _ACEOF |
10726 | |
11118 | |
10727 | fi |
11119 | fi |
10728 | |
11120 | |
10729 | |
11121 | |
10730 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11122 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
10731 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11123 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
10732 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
11124 | if test "${path_wtmp+set}" = set; then |
10733 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11125 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10734 | else |
11126 | else |
10735 | if test "$cross_compiling" = yes; then |
11127 | if test "$cross_compiling" = yes; then |
10736 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
11128 | { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5 |
10737 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
11129 | echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
10738 | else |
11130 | else |
10739 | cat >conftest.$ac_ext <<_ACEOF |
11131 | cat >conftest.$ac_ext <<_ACEOF |
10740 | /* confdefs.h. */ |
11132 | /* confdefs.h. */ |
10741 | _ACEOF |
11133 | _ACEOF |
10742 | cat confdefs.h >>conftest.$ac_ext |
11134 | cat confdefs.h >>conftest.$ac_ext |
10743 | cat >>conftest.$ac_ext <<_ACEOF |
11135 | cat >>conftest.$ac_ext <<_ACEOF |
10744 | /* end confdefs.h. */ |
11136 | /* end confdefs.h. */ |
10745 | #include <stdio.h> |
11137 | #include <stdio.h> |
|
|
11138 | #include <stdlib.h> |
10746 | #include <sys/types.h> |
11139 | #include <sys/types.h> |
10747 | #ifdef HAVE_UTMP_H |
11140 | #ifdef HAVE_UTMP_H |
10748 | #include <utmp.h> |
11141 | #include <utmp.h> |
10749 | #endif |
11142 | #endif |
10750 | #include <errno.h> |
11143 | #include <errno.h> |
… | |
… | |
10780 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11173 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10781 | (eval $ac_try) 2>&5 |
11174 | (eval $ac_try) 2>&5 |
10782 | ac_status=$? |
11175 | ac_status=$? |
10783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10784 | (exit $ac_status); }; }; then |
11177 | (exit $ac_status); }; }; then |
10785 | rxvt_cv_path_wtmp=`cat conftestval` |
11178 | path_wtmp=`cat conftestval` |
10786 | else |
11179 | else |
10787 | echo "$as_me: program exited with status $ac_status" >&5 |
11180 | echo "$as_me: program exited with status $ac_status" >&5 |
10788 | echo "$as_me: failed program was:" >&5 |
11181 | echo "$as_me: failed program was:" >&5 |
10789 | sed 's/^/| /' conftest.$ac_ext >&5 |
11182 | sed 's/^/| /' conftest.$ac_ext >&5 |
10790 | |
11183 | |
10791 | ( exit $ac_status ) |
11184 | ( exit $ac_status ) |
10792 | rxvt_cv_path_wtmp= |
11185 | path_wtmp= |
10793 | fi |
11186 | fi |
10794 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11187 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10795 | fi |
11188 | fi |
10796 | fi |
11189 | fi |
10797 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
11190 | echo "$as_me:$LINENO: result: $path_wtmp" >&5 |
10798 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
11191 | echo "${ECHO_T}$path_wtmp" >&6 |
10799 | if test x$rxvt_cv_path_wtmp != x; then |
11192 | if test x$path_wtmp != x; then |
10800 | |
11193 | |
10801 | cat >>confdefs.h <<_ACEOF |
11194 | cat >>confdefs.h <<_ACEOF |
10802 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
11195 | #define WTMP_FILE "$path_wtmp" |
10803 | _ACEOF |
11196 | _ACEOF |
10804 | |
11197 | |
10805 | fi |
11198 | fi |
10806 | |
11199 | |
10807 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11200 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
10808 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11201 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
10809 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
11202 | if test "${path_wtmpx+set}" = set; then |
10810 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11203 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10811 | else |
11204 | else |
10812 | if test "$cross_compiling" = yes; then |
11205 | if test "$cross_compiling" = yes; then |
10813 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
11206 | { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
10814 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
11207 | echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
10815 | else |
11208 | else |
10816 | cat >conftest.$ac_ext <<_ACEOF |
11209 | cat >conftest.$ac_ext <<_ACEOF |
10817 | /* confdefs.h. */ |
11210 | /* confdefs.h. */ |
10818 | _ACEOF |
11211 | _ACEOF |
10819 | cat confdefs.h >>conftest.$ac_ext |
11212 | cat confdefs.h >>conftest.$ac_ext |
10820 | cat >>conftest.$ac_ext <<_ACEOF |
11213 | cat >>conftest.$ac_ext <<_ACEOF |
10821 | /* end confdefs.h. */ |
11214 | /* end confdefs.h. */ |
10822 | #include <stdio.h> |
11215 | #include <stdio.h> |
|
|
11216 | #include <stdlib.h> |
10823 | #ifdef HAVE_UTMPX_H |
11217 | #ifdef HAVE_UTMPX_H |
10824 | #include <utmpx.h> |
11218 | #include <utmpx.h> |
10825 | #endif |
11219 | #endif |
10826 | #include <errno.h> |
11220 | #include <errno.h> |
10827 | main() |
11221 | main() |
… | |
… | |
10856 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11250 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10857 | (eval $ac_try) 2>&5 |
11251 | (eval $ac_try) 2>&5 |
10858 | ac_status=$? |
11252 | ac_status=$? |
10859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10860 | (exit $ac_status); }; }; then |
11254 | (exit $ac_status); }; }; then |
10861 | rxvt_cv_path_wtmpx=`cat conftestval` |
11255 | path_wtmpx=`cat conftestval` |
10862 | else |
11256 | else |
10863 | echo "$as_me: program exited with status $ac_status" >&5 |
11257 | echo "$as_me: program exited with status $ac_status" >&5 |
10864 | echo "$as_me: failed program was:" >&5 |
11258 | echo "$as_me: failed program was:" >&5 |
10865 | sed 's/^/| /' conftest.$ac_ext >&5 |
11259 | sed 's/^/| /' conftest.$ac_ext >&5 |
10866 | |
11260 | |
10867 | ( exit $ac_status ) |
11261 | ( exit $ac_status ) |
10868 | rxvt_cv_path_wtmpx= |
11262 | path_wtmpx= |
10869 | fi |
11263 | fi |
10870 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11264 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10871 | fi |
11265 | fi |
10872 | fi |
11266 | fi |
10873 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
11267 | echo "$as_me:$LINENO: result: $path_wtmpx" >&5 |
10874 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
11268 | echo "${ECHO_T}$path_wtmpx" >&6 |
10875 | if test x$rxvt_cv_path_wtmpx != x; then |
11269 | if test x$path_wtmpx != x; then |
10876 | |
11270 | |
10877 | cat >>confdefs.h <<_ACEOF |
11271 | cat >>confdefs.h <<_ACEOF |
10878 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
11272 | #define WTMPX_FILE "$path_wtmpx" |
10879 | _ACEOF |
11273 | _ACEOF |
10880 | |
11274 | |
10881 | fi |
11275 | fi |
10882 | |
11276 | |
10883 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11277 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
10884 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11278 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
10885 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
11279 | if test "${path_lastlog+set}" = set; then |
10886 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11280 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10887 | else |
11281 | else |
10888 | if test "$cross_compiling" = yes; then |
11282 | if test "$cross_compiling" = yes; then |
10889 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
11283 | { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
10890 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
11284 | echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
10891 | else |
11285 | else |
10892 | cat >conftest.$ac_ext <<_ACEOF |
11286 | cat >conftest.$ac_ext <<_ACEOF |
10893 | /* confdefs.h. */ |
11287 | /* confdefs.h. */ |
10894 | _ACEOF |
11288 | _ACEOF |
10895 | cat confdefs.h >>conftest.$ac_ext |
11289 | cat confdefs.h >>conftest.$ac_ext |
10896 | cat >>conftest.$ac_ext <<_ACEOF |
11290 | cat >>conftest.$ac_ext <<_ACEOF |
10897 | /* end confdefs.h. */ |
11291 | /* end confdefs.h. */ |
10898 | #include <stdio.h> |
11292 | #include <stdio.h> |
|
|
11293 | #include <stdlib.h> |
10899 | #include <sys/types.h> |
11294 | #include <sys/types.h> |
10900 | #ifdef HAVE_UTMPX_H |
11295 | #ifdef HAVE_UTMPX_H |
10901 | #include <utmpx.h> |
11296 | #include <utmpx.h> |
10902 | #elif defined(HAVE_UTMP_H) |
11297 | #elif defined(HAVE_UTMP_H) |
10903 | #include <utmp.h> |
11298 | #include <utmp.h> |
… | |
… | |
10937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10938 | (eval $ac_try) 2>&5 |
11333 | (eval $ac_try) 2>&5 |
10939 | ac_status=$? |
11334 | ac_status=$? |
10940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10941 | (exit $ac_status); }; }; then |
11336 | (exit $ac_status); }; }; then |
10942 | rxvt_cv_path_lastlog=`cat conftestval` |
11337 | path_lastlog=`cat conftestval` |
10943 | else |
11338 | else |
10944 | echo "$as_me: program exited with status $ac_status" >&5 |
11339 | echo "$as_me: program exited with status $ac_status" >&5 |
10945 | echo "$as_me: failed program was:" >&5 |
11340 | echo "$as_me: failed program was:" >&5 |
10946 | sed 's/^/| /' conftest.$ac_ext >&5 |
11341 | sed 's/^/| /' conftest.$ac_ext >&5 |
10947 | |
11342 | |
10948 | ( exit $ac_status ) |
11343 | ( exit $ac_status ) |
10949 | rxvt_cv_path_lastlog= |
11344 | path_lastlog= |
10950 | fi |
11345 | fi |
10951 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11346 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10952 | fi |
11347 | fi |
10953 | fi |
11348 | fi |
10954 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
11349 | echo "$as_me:$LINENO: result: $path_lastlog" >&5 |
10955 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
11350 | echo "${ECHO_T}$path_lastlog" >&6 |
10956 | if test x$rxvt_cv_path_lastlog != x; then |
11351 | if test x$path_lastlog != x; then |
10957 | |
11352 | |
10958 | cat >>confdefs.h <<_ACEOF |
11353 | cat >>confdefs.h <<_ACEOF |
10959 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
11354 | #define LASTLOG_FILE "$path_lastlog" |
10960 | _ACEOF |
11355 | _ACEOF |
10961 | |
11356 | |
10962 | if test -d "$rxvt_cv_path_lastlog"; then |
11357 | if test -d "$path_lastlog"; then |
10963 | |
11358 | |
10964 | cat >>confdefs.h <<\_ACEOF |
11359 | cat >>confdefs.h <<\_ACEOF |
10965 | #define LASTLOG_IS_DIR 1 |
11360 | #define LASTLOG_IS_DIR 1 |
10966 | _ACEOF |
11361 | _ACEOF |
10967 | |
11362 | |
10968 | fi |
11363 | fi |
10969 | fi |
11364 | fi |
10970 | |
11365 | |
10971 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11366 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
10972 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11367 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
10973 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
11368 | if test "${path_lastlogx+set}" = set; then |
10974 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11369 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10975 | else |
11370 | else |
10976 | if test "$cross_compiling" = yes; then |
11371 | if test "$cross_compiling" = yes; then |
10977 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
11372 | { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
10978 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
11373 | echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
10979 | else |
11374 | else |
10980 | cat >conftest.$ac_ext <<_ACEOF |
11375 | cat >conftest.$ac_ext <<_ACEOF |
10981 | /* confdefs.h. */ |
11376 | /* confdefs.h. */ |
10982 | _ACEOF |
11377 | _ACEOF |
10983 | cat confdefs.h >>conftest.$ac_ext |
11378 | cat confdefs.h >>conftest.$ac_ext |
10984 | cat >>conftest.$ac_ext <<_ACEOF |
11379 | cat >>conftest.$ac_ext <<_ACEOF |
10985 | /* end confdefs.h. */ |
11380 | /* end confdefs.h. */ |
10986 | #include <stdio.h> |
11381 | #include <stdio.h> |
|
|
11382 | #include <stdlib.h> |
10987 | #ifdef HAVE_UTMPX_H |
11383 | #ifdef HAVE_UTMPX_H |
10988 | #include <utmpx.h> |
11384 | #include <utmpx.h> |
10989 | #endif |
11385 | #endif |
10990 | #include <errno.h> |
11386 | #include <errno.h> |
10991 | main() |
11387 | main() |
… | |
… | |
11019 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11415 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11020 | (eval $ac_try) 2>&5 |
11416 | (eval $ac_try) 2>&5 |
11021 | ac_status=$? |
11417 | ac_status=$? |
11022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11023 | (exit $ac_status); }; }; then |
11419 | (exit $ac_status); }; }; then |
11024 | rxvt_cv_path_lastlogx=`cat conftestval` |
11420 | path_lastlogx=`cat conftestval` |
11025 | else |
11421 | else |
11026 | echo "$as_me: program exited with status $ac_status" >&5 |
11422 | echo "$as_me: program exited with status $ac_status" >&5 |
11027 | echo "$as_me: failed program was:" >&5 |
11423 | echo "$as_me: failed program was:" >&5 |
11028 | sed 's/^/| /' conftest.$ac_ext >&5 |
11424 | sed 's/^/| /' conftest.$ac_ext >&5 |
11029 | |
11425 | |
11030 | ( exit $ac_status ) |
11426 | ( exit $ac_status ) |
11031 | rxvt_cv_path_lastlogx= |
11427 | path_lastlogx= |
11032 | fi |
11428 | fi |
11033 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11429 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11034 | fi |
11430 | fi |
11035 | fi |
11431 | fi |
11036 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
11432 | echo "$as_me:$LINENO: result: $path_lastlogx" >&5 |
11037 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
11433 | echo "${ECHO_T}$path_lastlogx" >&6 |
11038 | if test x$rxvt_cv_path_lastlogx != x; then |
11434 | if test x$path_lastlogx != x; then |
11039 | |
11435 | |
11040 | cat >>confdefs.h <<_ACEOF |
11436 | cat >>confdefs.h <<_ACEOF |
11041 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
11437 | #define LASTLOGX_FILE "$path_lastlogx" |
11042 | _ACEOF |
11438 | _ACEOF |
11043 | |
11439 | |
11044 | fi |
11440 | fi |
|
|
11441 | |
11045 | |
11442 | |
11046 | |
11443 | |
11047 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11444 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11048 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11445 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11049 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
11446 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
… | |
… | |
11090 | _ACEOF |
11487 | _ACEOF |
11091 | cat confdefs.h >>conftest.$ac_ext |
11488 | cat confdefs.h >>conftest.$ac_ext |
11092 | cat >>conftest.$ac_ext <<_ACEOF |
11489 | cat >>conftest.$ac_ext <<_ACEOF |
11093 | /* end confdefs.h. */ |
11490 | /* end confdefs.h. */ |
11094 | #include <X11/Xlib.h> |
11491 | #include <X11/Xlib.h> |
|
|
11492 | #include <stdlib.h> |
11095 | main() { |
11493 | main() { |
11096 | char *p; |
11494 | char *p; |
11097 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11495 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11098 | exit (XSupportsLocale() ? 0 : 1); |
11496 | exit (XSupportsLocale() ? 0 : 1); |
11099 | else |
11497 | else |
… | |
… | |
11160 | grep -v '^ *+' conftest.er1 >conftest.err |
11558 | grep -v '^ *+' conftest.er1 >conftest.err |
11161 | rm -f conftest.er1 |
11559 | rm -f conftest.er1 |
11162 | cat conftest.err >&5 |
11560 | cat conftest.err >&5 |
11163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11164 | (exit $ac_status); } && |
11562 | (exit $ac_status); } && |
11165 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11563 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11564 | || test ! -s conftest.err' |
11166 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11565 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11167 | (eval $ac_try) 2>&5 |
11566 | (eval $ac_try) 2>&5 |
11168 | ac_status=$? |
11567 | ac_status=$? |
11169 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11170 | (exit $ac_status); }; } && |
11569 | (exit $ac_status); }; } && |
… | |
… | |
11223 | grep -v '^ *+' conftest.er1 >conftest.err |
11622 | grep -v '^ *+' conftest.er1 >conftest.err |
11224 | rm -f conftest.er1 |
11623 | rm -f conftest.er1 |
11225 | cat conftest.err >&5 |
11624 | cat conftest.err >&5 |
11226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11227 | (exit $ac_status); } && |
11626 | (exit $ac_status); } && |
11228 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11627 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11628 | || test ! -s conftest.err' |
11229 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11629 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11230 | (eval $ac_try) 2>&5 |
11630 | (eval $ac_try) 2>&5 |
11231 | ac_status=$? |
11631 | ac_status=$? |
11232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11233 | (exit $ac_status); }; } && |
11633 | (exit $ac_status); }; } && |
… | |
… | |
11284 | grep -v '^ *+' conftest.er1 >conftest.err |
11684 | grep -v '^ *+' conftest.er1 >conftest.err |
11285 | rm -f conftest.er1 |
11685 | rm -f conftest.er1 |
11286 | cat conftest.err >&5 |
11686 | cat conftest.err >&5 |
11287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11288 | (exit $ac_status); } && |
11688 | (exit $ac_status); } && |
11289 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11689 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11690 | || test ! -s conftest.err' |
11290 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11691 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11291 | (eval $ac_try) 2>&5 |
11692 | (eval $ac_try) 2>&5 |
11292 | ac_status=$? |
11693 | ac_status=$? |
11293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11294 | (exit $ac_status); }; } && |
11695 | (exit $ac_status); }; } && |
… | |
… | |
11315 | cat >>confdefs.h <<\_ACEOF |
11716 | cat >>confdefs.h <<\_ACEOF |
11316 | #define HAVE_NL_LANGINFO 1 |
11717 | #define HAVE_NL_LANGINFO 1 |
11317 | _ACEOF |
11718 | _ACEOF |
11318 | |
11719 | |
11319 | fi |
11720 | fi |
|
|
11721 | |
|
|
11722 | |
|
|
11723 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
|
|
11724 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
|
|
11725 | if test "${can_pass_fds+set}" = set; then |
|
|
11726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11727 | else |
|
|
11728 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11729 | /* confdefs.h. */ |
|
|
11730 | _ACEOF |
|
|
11731 | cat confdefs.h >>conftest.$ac_ext |
|
|
11732 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11733 | /* end confdefs.h. */ |
|
|
11734 | |
|
|
11735 | #include <cstddef> // broken bsds (is that redundant?) need this |
|
|
11736 | #include <sys/types.h> |
|
|
11737 | #include <sys/socket.h> |
|
|
11738 | #include <sys/uio.h> |
|
|
11739 | |
|
|
11740 | int |
|
|
11741 | main () |
|
|
11742 | { |
|
|
11743 | |
|
|
11744 | { |
|
|
11745 | msghdr msg; |
|
|
11746 | iovec iov; |
|
|
11747 | char buf [100]; |
|
|
11748 | char data = 0; |
|
|
11749 | |
|
|
11750 | iov.iov_base = &data; |
|
|
11751 | iov.iov_len = 1; |
|
|
11752 | |
|
|
11753 | msg.msg_iov = &iov; |
|
|
11754 | msg.msg_iovlen = 1; |
|
|
11755 | msg.msg_control = buf; |
|
|
11756 | msg.msg_controllen = sizeof buf; |
|
|
11757 | |
|
|
11758 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
11759 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
11760 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
11761 | cmsg->cmsg_len = 100; |
|
|
11762 | |
|
|
11763 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
11764 | |
|
|
11765 | return sendmsg (3, &msg, 0); |
|
|
11766 | } |
|
|
11767 | |
|
|
11768 | ; |
|
|
11769 | return 0; |
|
|
11770 | } |
|
|
11771 | _ACEOF |
|
|
11772 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11773 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11774 | (eval $ac_link) 2>conftest.er1 |
|
|
11775 | ac_status=$? |
|
|
11776 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11777 | rm -f conftest.er1 |
|
|
11778 | cat conftest.err >&5 |
|
|
11779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11780 | (exit $ac_status); } && |
|
|
11781 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11782 | || test ! -s conftest.err' |
|
|
11783 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11784 | (eval $ac_try) 2>&5 |
|
|
11785 | ac_status=$? |
|
|
11786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11787 | (exit $ac_status); }; } && |
|
|
11788 | { ac_try='test -s conftest$ac_exeext' |
|
|
11789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11790 | (eval $ac_try) 2>&5 |
|
|
11791 | ac_status=$? |
|
|
11792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11793 | (exit $ac_status); }; }; then |
|
|
11794 | can_pass_fds=yes |
|
|
11795 | else |
|
|
11796 | echo "$as_me: failed program was:" >&5 |
|
|
11797 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11798 | |
|
|
11799 | can_pass_fds=no |
|
|
11800 | fi |
|
|
11801 | rm -f conftest.err conftest.$ac_objext \ |
|
|
11802 | conftest$ac_exeext conftest.$ac_ext |
|
|
11803 | fi |
|
|
11804 | echo "$as_me:$LINENO: result: $can_pass_fds" >&5 |
|
|
11805 | echo "${ECHO_T}$can_pass_fds" >&6 |
|
|
11806 | if test x$can_pass_fds = xyes; then |
|
|
11807 | |
|
|
11808 | cat >>confdefs.h <<\_ACEOF |
|
|
11809 | #define HAVE_UNIX_FDPASS 1 |
|
|
11810 | _ACEOF |
|
|
11811 | |
|
|
11812 | else |
|
|
11813 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
|
|
11814 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
|
|
11815 | { (exit 1); exit 1; }; } |
|
|
11816 | fi |
|
|
11817 | |
11320 | |
11818 | |
11321 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11819 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11322 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11820 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11323 | if test "${rxvt_broken_ximcb+set}" = set; then |
11821 | if test "${rxvt_broken_ximcb+set}" = set; then |
11324 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11822 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11342 | grep -v '^ *+' conftest.er1 >conftest.err |
11840 | grep -v '^ *+' conftest.er1 >conftest.err |
11343 | rm -f conftest.er1 |
11841 | rm -f conftest.er1 |
11344 | cat conftest.err >&5 |
11842 | cat conftest.err >&5 |
11345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11346 | (exit $ac_status); } && |
11844 | (exit $ac_status); } && |
11347 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11845 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11846 | || test ! -s conftest.err' |
11348 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11847 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11349 | (eval $ac_try) 2>&5 |
11848 | (eval $ac_try) 2>&5 |
11350 | ac_status=$? |
11849 | ac_status=$? |
11351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11352 | (exit $ac_status); }; } && |
11851 | (exit $ac_status); }; } && |
… | |
… | |
11374 | #define XIMCB_PROTO_BROKEN 1 |
11873 | #define XIMCB_PROTO_BROKEN 1 |
11375 | _ACEOF |
11874 | _ACEOF |
11376 | |
11875 | |
11377 | fi |
11876 | fi |
11378 | |
11877 | |
11379 | echo "$as_me:$LINENO: checking for getpt" >&5 |
|
|
11380 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
|
|
11381 | if test "${rxvt_cv_func_getpt+set}" = set; then |
|
|
11382 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11383 | else |
|
|
11384 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11385 | /* confdefs.h. */ |
|
|
11386 | _ACEOF |
|
|
11387 | cat confdefs.h >>conftest.$ac_ext |
|
|
11388 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11389 | /* end confdefs.h. */ |
|
|
11390 | #define _GNU_SOURCE |
|
|
11391 | #ifdef HAVE_STDLIB_H |
|
|
11392 | # include <cstdlib> |
|
|
11393 | #endif |
|
|
11394 | int |
|
|
11395 | main () |
|
|
11396 | { |
|
|
11397 | (void)getpt(); |
|
|
11398 | ; |
|
|
11399 | return 0; |
|
|
11400 | } |
|
|
11401 | _ACEOF |
|
|
11402 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11403 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11404 | (eval $ac_link) 2>conftest.er1 |
|
|
11405 | ac_status=$? |
|
|
11406 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11407 | rm -f conftest.er1 |
|
|
11408 | cat conftest.err >&5 |
|
|
11409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11410 | (exit $ac_status); } && |
|
|
11411 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11412 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11413 | (eval $ac_try) 2>&5 |
|
|
11414 | ac_status=$? |
|
|
11415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11416 | (exit $ac_status); }; } && |
|
|
11417 | { ac_try='test -s conftest$ac_exeext' |
|
|
11418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11419 | (eval $ac_try) 2>&5 |
|
|
11420 | ac_status=$? |
|
|
11421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11422 | (exit $ac_status); }; }; then |
|
|
11423 | rxvt_cv_func_getpt=yes |
|
|
11424 | else |
|
|
11425 | echo "$as_me: failed program was:" >&5 |
|
|
11426 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11427 | |
11878 | |
11428 | rxvt_cv_func_getpt=no |
|
|
11429 | fi |
|
|
11430 | rm -f conftest.err conftest.$ac_objext \ |
|
|
11431 | conftest$ac_exeext conftest.$ac_ext |
|
|
11432 | fi |
|
|
11433 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
|
|
11434 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
|
|
11435 | if test x$rxvt_cv_func_getpt = xyes; then |
|
|
11436 | |
11879 | |
11437 | cat >>confdefs.h <<\_ACEOF |
|
|
11438 | #define HAVE_GETPT 1 |
|
|
11439 | _ACEOF |
|
|
11440 | |
11880 | |
11441 | fi |
|
|
11442 | |
11881 | |
11443 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
|
|
11444 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
|
|
11445 | if test "${rxvt_cv_ptys+set}" = set; then |
|
|
11446 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11447 | else |
|
|
11448 | if test x$ac_cv_func_openpty = xyes; then |
|
|
11449 | rxvt_cv_ptys=OPENPTY |
|
|
11450 | else if test x$ac_cv_func__getpty = xyes; then |
|
|
11451 | rxvt_cv_ptys=SGI4 |
|
|
11452 | else if test -c /dev/ttyp20; then |
|
|
11453 | rxvt_cv_ptys=SCO |
|
|
11454 | else if test -c /dev/ptym/clone; then |
|
|
11455 | rxvt_cv_ptys=HPUX |
|
|
11456 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
11457 | rxvt_cv_ptys=GLIBC |
|
|
11458 | else if test -c /dev/ptc -a -c /dev/pts; then |
|
|
11459 | rxvt_cv_ptys=PTC |
|
|
11460 | else if test -c /dev/ptc -a -d /dev/pts; then |
|
|
11461 | rxvt_cv_ptys=PTC |
|
|
11462 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
|
|
11463 | rxvt_cv_ptys=STREAMS |
|
|
11464 | else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then |
|
|
11465 | rxvt_cv_ptys=STREAMS |
|
|
11466 | else |
|
|
11467 | rxvt_cv_ptys=BSD |
|
|
11468 | fi |
|
|
11469 | fi |
|
|
11470 | fi |
|
|
11471 | fi |
|
|
11472 | fi |
|
|
11473 | fi |
|
|
11474 | fi |
|
|
11475 | fi |
|
|
11476 | fi |
|
|
11477 | |
11882 | |
11478 | fi |
|
|
11479 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
|
|
11480 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
|
|
11481 | |
11883 | |
11482 | if test x$rxvt_cv_ptys = xOPENPTY; then |
11884 | for ac_header in \ |
|
|
11885 | pty.h \ |
|
|
11886 | util.h \ |
|
|
11887 | libutil.h \ |
|
|
11888 | sys/ioctl.h \ |
|
|
11889 | sys/stropts.h \ |
11483 | |
11890 | |
11484 | cat >>confdefs.h <<\_ACEOF |
|
|
11485 | #define PTYS_ARE_OPENPTY 1 |
|
|
11486 | _ACEOF |
|
|
11487 | |
|
|
11488 | fi |
|
|
11489 | if test x$rxvt_cv_ptys = xSCO; then |
|
|
11490 | |
|
|
11491 | cat >>confdefs.h <<\_ACEOF |
|
|
11492 | #define PTYS_ARE_NUMERIC 1 |
|
|
11493 | _ACEOF |
|
|
11494 | |
|
|
11495 | fi |
|
|
11496 | if test x$rxvt_cv_ptys = xSTREAMS; then |
|
|
11497 | |
|
|
11498 | cat >>confdefs.h <<\_ACEOF |
|
|
11499 | #define PTYS_ARE_PTMX 1 |
|
|
11500 | _ACEOF |
|
|
11501 | |
|
|
11502 | fi |
|
|
11503 | if test x$rxvt_cv_ptys = xPTC; then |
|
|
11504 | |
|
|
11505 | cat >>confdefs.h <<\_ACEOF |
|
|
11506 | #define PTYS_ARE_PTC 1 |
|
|
11507 | _ACEOF |
|
|
11508 | |
|
|
11509 | fi |
|
|
11510 | if test x$rxvt_cv_ptys = xSGI4; then |
|
|
11511 | |
|
|
11512 | cat >>confdefs.h <<\_ACEOF |
|
|
11513 | #define PTYS_ARE__GETPTY 1 |
|
|
11514 | _ACEOF |
|
|
11515 | |
|
|
11516 | fi |
|
|
11517 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
11518 | |
|
|
11519 | cat >>confdefs.h <<\_ACEOF |
|
|
11520 | #define PTYS_ARE_GETPTY 1 |
|
|
11521 | _ACEOF |
|
|
11522 | |
|
|
11523 | fi |
|
|
11524 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
11525 | |
|
|
11526 | cat >>confdefs.h <<\_ACEOF |
|
|
11527 | #define PTYS_ARE_GETPT 1 |
|
|
11528 | _ACEOF |
|
|
11529 | |
|
|
11530 | fi |
|
|
11531 | if test x$rxvt_cv_ptys = xHPUX; then |
|
|
11532 | |
|
|
11533 | cat >>confdefs.h <<\_ACEOF |
|
|
11534 | #define PTYS_ARE_CLONE 1 |
|
|
11535 | _ACEOF |
|
|
11536 | |
|
|
11537 | fi |
|
|
11538 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
|
|
11539 | |
|
|
11540 | cat >>confdefs.h <<\_ACEOF |
|
|
11541 | #define PTYS_ARE_SEARCHED 1 |
|
|
11542 | _ACEOF |
|
|
11543 | |
|
|
11544 | fi |
|
|
11545 | |
|
|
11546 | |
|
|
11547 | { echo "$as_me:$LINENO: checking for pty ranges..." >&5 |
|
|
11548 | echo "$as_me: checking for pty ranges..." >&6;} |
|
|
11549 | ptys=`echo /dev/pty??` |
|
|
11550 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
|
|
11551 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
|
|
11552 | if test x$pch1 != x; then |
|
|
11553 | |
|
|
11554 | cat >>confdefs.h <<_ACEOF |
|
|
11555 | #define PTYCHAR1 "$pch1" |
|
|
11556 | _ACEOF |
|
|
11557 | |
|
|
11558 | fi |
|
|
11559 | if test x$pch2 != x; then |
|
|
11560 | |
|
|
11561 | cat >>confdefs.h <<_ACEOF |
|
|
11562 | #define PTYCHAR2 "$pch2" |
|
|
11563 | _ACEOF |
|
|
11564 | |
|
|
11565 | fi |
|
|
11566 | |
|
|
11567 | if test x$support_xft = xyes; then |
|
|
11568 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
11569 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
11570 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
11571 | |
|
|
11572 | |
|
|
11573 | for ac_header in X11/Xft/Xft.h |
|
|
11574 | do |
11891 | do |
11575 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11892 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11576 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11893 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11577 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11894 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11578 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11895 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
11601 | grep -v '^ *+' conftest.er1 >conftest.err |
11918 | grep -v '^ *+' conftest.er1 >conftest.err |
11602 | rm -f conftest.er1 |
11919 | rm -f conftest.er1 |
11603 | cat conftest.err >&5 |
11920 | cat conftest.err >&5 |
11604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11605 | (exit $ac_status); } && |
11922 | (exit $ac_status); } && |
11606 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11923 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11924 | || test ! -s conftest.err' |
11607 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11608 | (eval $ac_try) 2>&5 |
11926 | (eval $ac_try) 2>&5 |
11609 | ac_status=$? |
11927 | ac_status=$? |
11610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11611 | (exit $ac_status); }; } && |
11929 | (exit $ac_status); }; } && |
… | |
… | |
11712 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12030 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11713 | cat >>confdefs.h <<_ACEOF |
12031 | cat >>confdefs.h <<_ACEOF |
11714 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12032 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11715 | _ACEOF |
12033 | _ACEOF |
11716 | |
12034 | |
|
|
12035 | fi |
|
|
12036 | |
|
|
12037 | done |
|
|
12038 | |
|
|
12039 | |
|
|
12040 | |
|
|
12041 | |
|
|
12042 | |
|
|
12043 | |
|
|
12044 | |
|
|
12045 | |
|
|
12046 | |
|
|
12047 | |
|
|
12048 | |
|
|
12049 | for ac_func in \ |
|
|
12050 | revoke \ |
|
|
12051 | _getpty \ |
|
|
12052 | getpt \ |
|
|
12053 | posix_openpt \ |
|
|
12054 | isastream \ |
|
|
12055 | setuid \ |
|
|
12056 | seteuid \ |
|
|
12057 | setreuid \ |
|
|
12058 | setresuid \ |
|
|
12059 | |
|
|
12060 | do |
|
|
12061 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12062 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12063 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12064 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12065 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12066 | else |
|
|
12067 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12068 | /* confdefs.h. */ |
|
|
12069 | _ACEOF |
|
|
12070 | cat confdefs.h >>conftest.$ac_ext |
|
|
12071 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12072 | /* end confdefs.h. */ |
|
|
12073 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12074 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12075 | #define $ac_func innocuous_$ac_func |
|
|
12076 | |
|
|
12077 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12078 | which can conflict with char $ac_func (); below. |
|
|
12079 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12080 | <limits.h> exists even on freestanding compilers. */ |
|
|
12081 | |
|
|
12082 | #ifdef __STDC__ |
|
|
12083 | # include <limits.h> |
|
|
12084 | #else |
|
|
12085 | # include <assert.h> |
|
|
12086 | #endif |
|
|
12087 | |
|
|
12088 | #undef $ac_func |
|
|
12089 | |
|
|
12090 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12091 | #ifdef __cplusplus |
|
|
12092 | extern "C" |
|
|
12093 | { |
|
|
12094 | #endif |
|
|
12095 | /* We use char because int might match the return type of a gcc2 |
|
|
12096 | builtin and then its argument prototype would still apply. */ |
|
|
12097 | char $ac_func (); |
|
|
12098 | /* The GNU C library defines this for functions which it implements |
|
|
12099 | to always fail with ENOSYS. Some functions are actually named |
|
|
12100 | something starting with __ and the normal name is an alias. */ |
|
|
12101 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12102 | choke me |
|
|
12103 | #else |
|
|
12104 | char (*f) () = $ac_func; |
|
|
12105 | #endif |
|
|
12106 | #ifdef __cplusplus |
|
|
12107 | } |
|
|
12108 | #endif |
|
|
12109 | |
|
|
12110 | int |
|
|
12111 | main () |
|
|
12112 | { |
|
|
12113 | return f != $ac_func; |
|
|
12114 | ; |
|
|
12115 | return 0; |
|
|
12116 | } |
|
|
12117 | _ACEOF |
|
|
12118 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12119 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12120 | (eval $ac_link) 2>conftest.er1 |
|
|
12121 | ac_status=$? |
|
|
12122 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12123 | rm -f conftest.er1 |
|
|
12124 | cat conftest.err >&5 |
|
|
12125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12126 | (exit $ac_status); } && |
|
|
12127 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12128 | || test ! -s conftest.err' |
|
|
12129 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12130 | (eval $ac_try) 2>&5 |
|
|
12131 | ac_status=$? |
|
|
12132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12133 | (exit $ac_status); }; } && |
|
|
12134 | { ac_try='test -s conftest$ac_exeext' |
|
|
12135 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12136 | (eval $ac_try) 2>&5 |
|
|
12137 | ac_status=$? |
|
|
12138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12139 | (exit $ac_status); }; }; then |
|
|
12140 | eval "$as_ac_var=yes" |
|
|
12141 | else |
|
|
12142 | echo "$as_me: failed program was:" >&5 |
|
|
12143 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12144 | |
|
|
12145 | eval "$as_ac_var=no" |
|
|
12146 | fi |
|
|
12147 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12148 | conftest$ac_exeext conftest.$ac_ext |
|
|
12149 | fi |
|
|
12150 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12151 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12152 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12153 | cat >>confdefs.h <<_ACEOF |
|
|
12154 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12155 | _ACEOF |
|
|
12156 | |
|
|
12157 | fi |
|
|
12158 | done |
|
|
12159 | |
|
|
12160 | |
|
|
12161 | have_clone=no |
|
|
12162 | |
|
|
12163 | echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5 |
|
|
12164 | echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6 |
|
|
12165 | if test -e /dev/ptym/clone; then |
|
|
12166 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12167 | echo "${ECHO_T}yes" >&6 |
|
|
12168 | |
|
|
12169 | cat >>confdefs.h <<\_ACEOF |
|
|
12170 | #define HAVE_DEV_CLONE 1 |
|
|
12171 | _ACEOF |
|
|
12172 | |
|
|
12173 | |
|
|
12174 | cat >>confdefs.h <<\_ACEOF |
|
|
12175 | #define CLONE_DEVICE "/dev/ptym/clone" |
|
|
12176 | _ACEOF |
|
|
12177 | |
|
|
12178 | have_clone=yes |
|
|
12179 | else |
|
|
12180 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12181 | echo "${ECHO_T}no" >&6 |
|
|
12182 | fi |
|
|
12183 | |
|
|
12184 | echo "$as_me:$LINENO: checking for /dev/ptc" >&5 |
|
|
12185 | echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6 |
|
|
12186 | if test -e /dev/ptc; then |
|
|
12187 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12188 | echo "${ECHO_T}yes" >&6 |
|
|
12189 | |
|
|
12190 | cat >>confdefs.h <<\_ACEOF |
|
|
12191 | #define HAVE_DEV_PTC 1 |
|
|
12192 | _ACEOF |
|
|
12193 | |
|
|
12194 | |
|
|
12195 | cat >>confdefs.h <<\_ACEOF |
|
|
12196 | #define CLONE_DEVICE "/dev/ptc" |
|
|
12197 | _ACEOF |
|
|
12198 | |
|
|
12199 | have_clone=yes |
|
|
12200 | else |
|
|
12201 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12202 | echo "${ECHO_T}no" >&6 |
|
|
12203 | fi |
|
|
12204 | |
|
|
12205 | case $host in |
|
|
12206 | *-*-cygwin*) |
|
|
12207 | have_clone=yes |
|
|
12208 | |
|
|
12209 | cat >>confdefs.h <<\_ACEOF |
|
|
12210 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12211 | _ACEOF |
|
|
12212 | |
|
|
12213 | ;; |
|
|
12214 | *) |
|
|
12215 | echo "$as_me:$LINENO: checking for /dev/ptmx" >&5 |
|
|
12216 | echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6 |
|
|
12217 | if test -e /dev/ptmx; then |
|
|
12218 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12219 | echo "${ECHO_T}yes" >&6 |
|
|
12220 | |
|
|
12221 | cat >>confdefs.h <<\_ACEOF |
|
|
12222 | #define HAVE_DEV_PTMX 1 |
|
|
12223 | _ACEOF |
|
|
12224 | |
|
|
12225 | |
|
|
12226 | cat >>confdefs.h <<\_ACEOF |
|
|
12227 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12228 | _ACEOF |
|
|
12229 | |
|
|
12230 | have_clone=yes |
|
|
12231 | else |
|
|
12232 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12233 | echo "${ECHO_T}no" >&6 |
|
|
12234 | fi |
|
|
12235 | ;; |
|
|
12236 | esac |
|
|
12237 | |
|
|
12238 | if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then |
|
|
12239 | echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5 |
|
|
12240 | echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6 |
|
|
12241 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12242 | /* confdefs.h. */ |
|
|
12243 | _ACEOF |
|
|
12244 | cat confdefs.h >>conftest.$ac_ext |
|
|
12245 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12246 | /* end confdefs.h. */ |
|
|
12247 | #include <stdlib.h> |
|
|
12248 | int |
|
|
12249 | main () |
|
|
12250 | { |
|
|
12251 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
12252 | ; |
|
|
12253 | return 0; |
|
|
12254 | } |
|
|
12255 | _ACEOF |
|
|
12256 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12257 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12258 | (eval $ac_link) 2>conftest.er1 |
|
|
12259 | ac_status=$? |
|
|
12260 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12261 | rm -f conftest.er1 |
|
|
12262 | cat conftest.err >&5 |
|
|
12263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12264 | (exit $ac_status); } && |
|
|
12265 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12266 | || test ! -s conftest.err' |
|
|
12267 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12268 | (eval $ac_try) 2>&5 |
|
|
12269 | ac_status=$? |
|
|
12270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12271 | (exit $ac_status); }; } && |
|
|
12272 | { ac_try='test -s conftest$ac_exeext' |
|
|
12273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12274 | (eval $ac_try) 2>&5 |
|
|
12275 | ac_status=$? |
|
|
12276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12277 | (exit $ac_status); }; }; then |
|
|
12278 | unix98_pty=yes |
|
|
12279 | |
|
|
12280 | cat >>confdefs.h <<\_ACEOF |
|
|
12281 | #define UNIX98_PTY 1 |
|
|
12282 | _ACEOF |
|
|
12283 | |
|
|
12284 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12285 | echo "${ECHO_T}yes" >&6 |
|
|
12286 | else |
|
|
12287 | echo "$as_me: failed program was:" >&5 |
|
|
12288 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12289 | |
|
|
12290 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12291 | echo "${ECHO_T}no" >&6 |
|
|
12292 | fi |
|
|
12293 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12294 | conftest$ac_exeext conftest.$ac_ext |
|
|
12295 | fi |
|
|
12296 | |
|
|
12297 | if test -z "$unix98_pty"; then |
|
|
12298 | |
|
|
12299 | for ac_func in openpty |
|
|
12300 | do |
|
|
12301 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12302 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12303 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12304 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12305 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12306 | else |
|
|
12307 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12308 | /* confdefs.h. */ |
|
|
12309 | _ACEOF |
|
|
12310 | cat confdefs.h >>conftest.$ac_ext |
|
|
12311 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12312 | /* end confdefs.h. */ |
|
|
12313 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12314 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12315 | #define $ac_func innocuous_$ac_func |
|
|
12316 | |
|
|
12317 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12318 | which can conflict with char $ac_func (); below. |
|
|
12319 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12320 | <limits.h> exists even on freestanding compilers. */ |
|
|
12321 | |
|
|
12322 | #ifdef __STDC__ |
|
|
12323 | # include <limits.h> |
|
|
12324 | #else |
|
|
12325 | # include <assert.h> |
|
|
12326 | #endif |
|
|
12327 | |
|
|
12328 | #undef $ac_func |
|
|
12329 | |
|
|
12330 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12331 | #ifdef __cplusplus |
|
|
12332 | extern "C" |
|
|
12333 | { |
|
|
12334 | #endif |
|
|
12335 | /* We use char because int might match the return type of a gcc2 |
|
|
12336 | builtin and then its argument prototype would still apply. */ |
|
|
12337 | char $ac_func (); |
|
|
12338 | /* The GNU C library defines this for functions which it implements |
|
|
12339 | to always fail with ENOSYS. Some functions are actually named |
|
|
12340 | something starting with __ and the normal name is an alias. */ |
|
|
12341 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12342 | choke me |
|
|
12343 | #else |
|
|
12344 | char (*f) () = $ac_func; |
|
|
12345 | #endif |
|
|
12346 | #ifdef __cplusplus |
|
|
12347 | } |
|
|
12348 | #endif |
|
|
12349 | |
|
|
12350 | int |
|
|
12351 | main () |
|
|
12352 | { |
|
|
12353 | return f != $ac_func; |
|
|
12354 | ; |
|
|
12355 | return 0; |
|
|
12356 | } |
|
|
12357 | _ACEOF |
|
|
12358 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12359 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12360 | (eval $ac_link) 2>conftest.er1 |
|
|
12361 | ac_status=$? |
|
|
12362 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12363 | rm -f conftest.er1 |
|
|
12364 | cat conftest.err >&5 |
|
|
12365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12366 | (exit $ac_status); } && |
|
|
12367 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12368 | || test ! -s conftest.err' |
|
|
12369 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12370 | (eval $ac_try) 2>&5 |
|
|
12371 | ac_status=$? |
|
|
12372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12373 | (exit $ac_status); }; } && |
|
|
12374 | { ac_try='test -s conftest$ac_exeext' |
|
|
12375 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12376 | (eval $ac_try) 2>&5 |
|
|
12377 | ac_status=$? |
|
|
12378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12379 | (exit $ac_status); }; }; then |
|
|
12380 | eval "$as_ac_var=yes" |
|
|
12381 | else |
|
|
12382 | echo "$as_me: failed program was:" >&5 |
|
|
12383 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12384 | |
|
|
12385 | eval "$as_ac_var=no" |
|
|
12386 | fi |
|
|
12387 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12388 | conftest$ac_exeext conftest.$ac_ext |
|
|
12389 | fi |
|
|
12390 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12391 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12392 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12393 | cat >>confdefs.h <<_ACEOF |
|
|
12394 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12395 | _ACEOF |
|
|
12396 | |
|
|
12397 | else |
|
|
12398 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12399 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12400 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12401 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12402 | else |
|
|
12403 | ac_check_lib_save_LIBS=$LIBS |
|
|
12404 | LIBS="-lutil $LIBS" |
|
|
12405 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12406 | /* confdefs.h. */ |
|
|
12407 | _ACEOF |
|
|
12408 | cat confdefs.h >>conftest.$ac_ext |
|
|
12409 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12410 | /* end confdefs.h. */ |
|
|
12411 | |
|
|
12412 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12413 | #ifdef __cplusplus |
|
|
12414 | extern "C" |
|
|
12415 | #endif |
|
|
12416 | /* We use char because int might match the return type of a gcc2 |
|
|
12417 | builtin and then its argument prototype would still apply. */ |
|
|
12418 | char openpty (); |
|
|
12419 | int |
|
|
12420 | main () |
|
|
12421 | { |
|
|
12422 | openpty (); |
|
|
12423 | ; |
|
|
12424 | return 0; |
|
|
12425 | } |
|
|
12426 | _ACEOF |
|
|
12427 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12428 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12429 | (eval $ac_link) 2>conftest.er1 |
|
|
12430 | ac_status=$? |
|
|
12431 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12432 | rm -f conftest.er1 |
|
|
12433 | cat conftest.err >&5 |
|
|
12434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12435 | (exit $ac_status); } && |
|
|
12436 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12437 | || test ! -s conftest.err' |
|
|
12438 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12439 | (eval $ac_try) 2>&5 |
|
|
12440 | ac_status=$? |
|
|
12441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12442 | (exit $ac_status); }; } && |
|
|
12443 | { ac_try='test -s conftest$ac_exeext' |
|
|
12444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12445 | (eval $ac_try) 2>&5 |
|
|
12446 | ac_status=$? |
|
|
12447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12448 | (exit $ac_status); }; }; then |
|
|
12449 | ac_cv_lib_util_openpty=yes |
|
|
12450 | else |
|
|
12451 | echo "$as_me: failed program was:" >&5 |
|
|
12452 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12453 | |
|
|
12454 | ac_cv_lib_util_openpty=no |
|
|
12455 | fi |
|
|
12456 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12457 | conftest$ac_exeext conftest.$ac_ext |
|
|
12458 | LIBS=$ac_check_lib_save_LIBS |
|
|
12459 | fi |
|
|
12460 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12461 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12462 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12463 | cat >>confdefs.h <<\_ACEOF |
|
|
12464 | #define HAVE_OPENPTY 1 |
|
|
12465 | _ACEOF |
|
|
12466 | LIBS="$LIBS -lutil" |
|
|
12467 | fi |
|
|
12468 | |
|
|
12469 | fi |
|
|
12470 | done |
|
|
12471 | |
|
|
12472 | fi |
|
|
12473 | |
|
|
12474 | |
|
|
12475 | |
|
|
12476 | echo "$as_me:$LINENO: checking for tty group" >&5 |
|
|
12477 | echo $ECHO_N "checking for tty group... $ECHO_C" >&6 |
|
|
12478 | if test "${tty_group+set}" = set; then |
|
|
12479 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12480 | else |
|
|
12481 | if test "$cross_compiling" = yes; then |
|
|
12482 | tty_group=no |
|
|
12483 | else |
|
|
12484 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12485 | /* confdefs.h. */ |
|
|
12486 | _ACEOF |
|
|
12487 | cat confdefs.h >>conftest.$ac_ext |
|
|
12488 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12489 | /* end confdefs.h. */ |
|
|
12490 | |
|
|
12491 | #include <sys/types.h> |
|
|
12492 | #include <sys/stat.h> |
|
|
12493 | #include <unistd.h> |
|
|
12494 | #include <grp.h> |
|
|
12495 | |
|
|
12496 | main() |
|
|
12497 | { |
|
|
12498 | struct stat st; |
|
|
12499 | struct group *gr; |
|
|
12500 | char *tty; |
|
|
12501 | gr = getgrnam("tty"); |
|
|
12502 | tty = ttyname(0); |
|
|
12503 | if (gr != 0 |
|
|
12504 | && tty != 0 |
|
|
12505 | && (stat(tty, &st)) == 0 |
|
|
12506 | && st.st_gid == gr->gr_gid) |
|
|
12507 | return 0; |
|
|
12508 | else |
|
|
12509 | return 1; |
|
|
12510 | } |
|
|
12511 | _ACEOF |
|
|
12512 | rm -f conftest$ac_exeext |
|
|
12513 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12514 | (eval $ac_link) 2>&5 |
|
|
12515 | ac_status=$? |
|
|
12516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12517 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12518 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12519 | (eval $ac_try) 2>&5 |
|
|
12520 | ac_status=$? |
|
|
12521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12522 | (exit $ac_status); }; }; then |
|
|
12523 | tty_group=yes |
|
|
12524 | else |
|
|
12525 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12526 | echo "$as_me: failed program was:" >&5 |
|
|
12527 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12528 | |
|
|
12529 | ( exit $ac_status ) |
|
|
12530 | tty_group=no |
|
|
12531 | fi |
|
|
12532 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12533 | fi |
|
|
12534 | fi |
|
|
12535 | echo "$as_me:$LINENO: result: $tty_group" >&5 |
|
|
12536 | echo "${ECHO_T}$tty_group" >&6 |
|
|
12537 | if test x$tty_group = xyes; then |
|
|
12538 | |
|
|
12539 | cat >>confdefs.h <<\_ACEOF |
|
|
12540 | #define TTY_GID_SUPPORT 1 |
|
|
12541 | _ACEOF |
|
|
12542 | |
|
|
12543 | fi |
|
|
12544 | |
|
|
12545 | if test x$support_xft = xyes; then |
|
|
12546 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
12547 | set dummy pkg-config; ac_word=$2 |
|
|
12548 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12549 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12550 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
|
12551 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12552 | else |
|
|
12553 | case $PKG_CONFIG in |
|
|
12554 | [\\/]* | ?:[\\/]*) |
|
|
12555 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
12556 | ;; |
|
|
12557 | *) |
|
|
12558 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12559 | for as_dir in $PATH |
|
|
12560 | do |
|
|
12561 | IFS=$as_save_IFS |
|
|
12562 | test -z "$as_dir" && as_dir=. |
|
|
12563 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12564 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12565 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12566 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12567 | break 2 |
|
|
12568 | fi |
|
|
12569 | done |
|
|
12570 | done |
|
|
12571 | |
|
|
12572 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
12573 | ;; |
|
|
12574 | esac |
|
|
12575 | fi |
|
|
12576 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
12577 | |
|
|
12578 | if test -n "$PKG_CONFIG"; then |
|
|
12579 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
12580 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
|
12581 | else |
|
|
12582 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12583 | echo "${ECHO_T}no" >&6 |
|
|
12584 | fi |
|
|
12585 | |
|
|
12586 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
12587 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
|
|
12588 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
12589 | else |
|
|
12590 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
12591 | set dummy xft-config; ac_word=$2 |
|
|
12592 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12593 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12594 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
|
|
12595 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12596 | else |
|
|
12597 | case $XFT_CONFIG in |
|
|
12598 | [\\/]* | ?:[\\/]*) |
|
|
12599 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
12600 | ;; |
|
|
12601 | *) |
|
|
12602 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12603 | for as_dir in $PATH |
|
|
12604 | do |
|
|
12605 | IFS=$as_save_IFS |
|
|
12606 | test -z "$as_dir" && as_dir=. |
|
|
12607 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12608 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12609 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12610 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12611 | break 2 |
|
|
12612 | fi |
|
|
12613 | done |
|
|
12614 | done |
|
|
12615 | |
|
|
12616 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
12617 | ;; |
|
|
12618 | esac |
|
|
12619 | fi |
|
|
12620 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
12621 | |
|
|
12622 | if test -n "$XFT_CONFIG"; then |
|
|
12623 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
|
|
12624 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
|
|
12625 | else |
|
|
12626 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12627 | echo "${ECHO_T}no" >&6 |
|
|
12628 | fi |
|
|
12629 | |
|
|
12630 | if test $XFT_CONFIG != no; then |
|
|
12631 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
|
|
12632 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
12633 | fi |
|
|
12634 | fi |
|
|
12635 | |
|
|
12636 | |
|
|
12637 | for ac_header in X11/Xft/Xft.h |
|
|
12638 | do |
|
|
12639 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
12640 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12641 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12642 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12643 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12644 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12645 | fi |
|
|
12646 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12647 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12648 | else |
|
|
12649 | # Is the header compilable? |
|
|
12650 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
12651 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
12652 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12653 | /* confdefs.h. */ |
|
|
12654 | _ACEOF |
|
|
12655 | cat confdefs.h >>conftest.$ac_ext |
|
|
12656 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12657 | /* end confdefs.h. */ |
|
|
12658 | $ac_includes_default |
|
|
12659 | #include <$ac_header> |
|
|
12660 | _ACEOF |
|
|
12661 | rm -f conftest.$ac_objext |
|
|
12662 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12663 | (eval $ac_compile) 2>conftest.er1 |
|
|
12664 | ac_status=$? |
|
|
12665 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12666 | rm -f conftest.er1 |
|
|
12667 | cat conftest.err >&5 |
|
|
12668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12669 | (exit $ac_status); } && |
|
|
12670 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12671 | || test ! -s conftest.err' |
|
|
12672 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12673 | (eval $ac_try) 2>&5 |
|
|
12674 | ac_status=$? |
|
|
12675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12676 | (exit $ac_status); }; } && |
|
|
12677 | { ac_try='test -s conftest.$ac_objext' |
|
|
12678 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12679 | (eval $ac_try) 2>&5 |
|
|
12680 | ac_status=$? |
|
|
12681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12682 | (exit $ac_status); }; }; then |
|
|
12683 | ac_header_compiler=yes |
|
|
12684 | else |
|
|
12685 | echo "$as_me: failed program was:" >&5 |
|
|
12686 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12687 | |
|
|
12688 | ac_header_compiler=no |
|
|
12689 | fi |
|
|
12690 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12691 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
12692 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
12693 | |
|
|
12694 | # Is the header present? |
|
|
12695 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
12696 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
12697 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12698 | /* confdefs.h. */ |
|
|
12699 | _ACEOF |
|
|
12700 | cat confdefs.h >>conftest.$ac_ext |
|
|
12701 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12702 | /* end confdefs.h. */ |
|
|
12703 | #include <$ac_header> |
|
|
12704 | _ACEOF |
|
|
12705 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
12706 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
12707 | ac_status=$? |
|
|
12708 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12709 | rm -f conftest.er1 |
|
|
12710 | cat conftest.err >&5 |
|
|
12711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12712 | (exit $ac_status); } >/dev/null; then |
|
|
12713 | if test -s conftest.err; then |
|
|
12714 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
12715 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
12716 | else |
|
|
12717 | ac_cpp_err= |
|
|
12718 | fi |
|
|
12719 | else |
|
|
12720 | ac_cpp_err=yes |
|
|
12721 | fi |
|
|
12722 | if test -z "$ac_cpp_err"; then |
|
|
12723 | ac_header_preproc=yes |
|
|
12724 | else |
|
|
12725 | echo "$as_me: failed program was:" >&5 |
|
|
12726 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12727 | |
|
|
12728 | ac_header_preproc=no |
|
|
12729 | fi |
|
|
12730 | rm -f conftest.err conftest.$ac_ext |
|
|
12731 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
12732 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
12733 | |
|
|
12734 | # So? What about this header? |
|
|
12735 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
12736 | yes:no: ) |
|
|
12737 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
12738 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
12739 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
12740 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
12741 | ac_header_preproc=yes |
|
|
12742 | ;; |
|
|
12743 | no:yes:* ) |
|
|
12744 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
12745 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
12746 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
12747 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
12748 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
12749 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
12750 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
12751 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
12752 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
12753 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
12754 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
12755 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
12756 | ( |
|
|
12757 | cat <<\_ASBOX |
|
|
12758 | ## ------------------------------------------ ## |
|
|
12759 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
12760 | ## ------------------------------------------ ## |
|
|
12761 | _ASBOX |
|
|
12762 | ) | |
|
|
12763 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
12764 | ;; |
|
|
12765 | esac |
|
|
12766 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12767 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12768 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12769 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12770 | else |
|
|
12771 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
12772 | fi |
|
|
12773 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12774 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12775 | |
|
|
12776 | fi |
|
|
12777 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
12778 | cat >>confdefs.h <<_ACEOF |
|
|
12779 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
12780 | _ACEOF |
|
|
12781 | |
11717 | else |
12782 | else |
11718 | support_xft=no |
12783 | support_xft=no |
11719 | fi |
12784 | fi |
11720 | |
12785 | |
11721 | done |
12786 | done |
… | |
… | |
11757 | grep -v '^ *+' conftest.er1 >conftest.err |
12822 | grep -v '^ *+' conftest.er1 >conftest.err |
11758 | rm -f conftest.er1 |
12823 | rm -f conftest.er1 |
11759 | cat conftest.err >&5 |
12824 | cat conftest.err >&5 |
11760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11761 | (exit $ac_status); } && |
12826 | (exit $ac_status); } && |
11762 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12827 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12828 | || test ! -s conftest.err' |
11763 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11764 | (eval $ac_try) 2>&5 |
12830 | (eval $ac_try) 2>&5 |
11765 | ac_status=$? |
12831 | ac_status=$? |
11766 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11767 | (exit $ac_status); }; } && |
12833 | (exit $ac_status); }; } && |
… | |
… | |
11858 | cat >>confdefs.h <<\_ACEOF |
12924 | cat >>confdefs.h <<\_ACEOF |
11859 | #define SELECTION_SCROLLING 1 |
12925 | #define SELECTION_SCROLLING 1 |
11860 | _ACEOF |
12926 | _ACEOF |
11861 | |
12927 | |
11862 | fi |
12928 | fi |
11863 | if test x$support_menubar = xyes; then |
|
|
11864 | |
|
|
11865 | cat >>confdefs.h <<\_ACEOF |
|
|
11866 | #define MENUBAR 1 |
|
|
11867 | _ACEOF |
|
|
11868 | |
|
|
11869 | fi |
|
|
11870 | if test x$support_frills = xyes; then |
12929 | if test x$support_frills = xyes; then |
11871 | |
12930 | |
11872 | cat >>confdefs.h <<\_ACEOF |
12931 | cat >>confdefs.h <<\_ACEOF |
11873 | #define ENABLE_FRILLS 1 |
12932 | #define ENABLE_FRILLS 1 |
11874 | _ACEOF |
12933 | _ACEOF |
11875 | |
12934 | |
11876 | fi |
12935 | fi |
11877 | if test x$support_24bit = xyes; then |
|
|
11878 | |
|
|
11879 | cat >>confdefs.h <<\_ACEOF |
|
|
11880 | #define PREFER_24BIT 1 |
|
|
11881 | _ACEOF |
|
|
11882 | |
|
|
11883 | fi |
|
|
11884 | if test x$support_mousewheel = xyes; then |
12936 | if test x$support_mousewheel = xyes; then |
11885 | |
12937 | |
11886 | cat >>confdefs.h <<\_ACEOF |
12938 | cat >>confdefs.h <<\_ACEOF |
11887 | #define MOUSE_WHEEL 1 |
12939 | #define MOUSE_WHEEL 1 |
11888 | _ACEOF |
12940 | _ACEOF |
… | |
… | |
11893 | cat >>confdefs.h <<\_ACEOF |
12945 | cat >>confdefs.h <<\_ACEOF |
11894 | #define MOUSE_SLIP_WHEELING 1 |
12946 | #define MOUSE_SLIP_WHEELING 1 |
11895 | _ACEOF |
12947 | _ACEOF |
11896 | |
12948 | |
11897 | fi |
12949 | fi |
11898 | if test x$support_utmp = xyes; then |
|
|
11899 | |
|
|
11900 | cat >>confdefs.h <<\_ACEOF |
|
|
11901 | #define UTMP_SUPPORT 1 |
|
|
11902 | _ACEOF |
|
|
11903 | |
|
|
11904 | fi |
|
|
11905 | if test x$support_wtmp = xyes; then |
|
|
11906 | |
|
|
11907 | cat >>confdefs.h <<\_ACEOF |
|
|
11908 | #define WTMP_SUPPORT 1 |
|
|
11909 | _ACEOF |
|
|
11910 | |
|
|
11911 | fi |
|
|
11912 | if test x$support_lastlog = xyes; then |
|
|
11913 | |
|
|
11914 | cat >>confdefs.h <<\_ACEOF |
|
|
11915 | #define LASTLOG_SUPPORT 1 |
|
|
11916 | _ACEOF |
|
|
11917 | |
|
|
11918 | fi |
|
|
11919 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
12950 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
11920 | if test x$rxvt_cv_func_xlocale = xyes; then |
12951 | if test x$rxvt_cv_func_xlocale = xyes; then |
11921 | |
12952 | |
11922 | cat >>confdefs.h <<\_ACEOF |
12953 | cat >>confdefs.h <<\_ACEOF |
11923 | #define USE_XIM 1 |
12954 | #define USE_XIM 1 |
11924 | _ACEOF |
12955 | _ACEOF |
11925 | |
12956 | |
11926 | fi |
12957 | fi |
11927 | fi |
12958 | fi |
11928 | if test x$support_xpm = xyes; then |
12959 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
11929 | |
12960 | |
11930 | cat >>confdefs.h <<\_ACEOF |
12961 | cat >>confdefs.h <<\_ACEOF |
11931 | #define XPM_BACKGROUND 1 |
12962 | #define XPM_BACKGROUND 1 |
11932 | _ACEOF |
12963 | _ACEOF |
11933 | |
12964 | |
11934 | fi |
12965 | fi |
|
|
12966 | |
|
|
12967 | if test x$support_afterimage = xyes; then |
|
|
12968 | |
|
|
12969 | cat >>confdefs.h <<\_ACEOF |
|
|
12970 | #define HAVE_AFTERIMAGE 1 |
|
|
12971 | _ACEOF |
|
|
12972 | |
|
|
12973 | fi |
|
|
12974 | |
|
|
12975 | if test x$support_afterstep = xyes; then |
|
|
12976 | |
|
|
12977 | cat >>confdefs.h <<\_ACEOF |
|
|
12978 | #define AFTERSTEP_INTEGRATION 1 |
|
|
12979 | _ACEOF |
|
|
12980 | |
|
|
12981 | fi |
|
|
12982 | |
11935 | if test x$support_scroll_rxvt = xyes; then |
12983 | if test x$support_scroll_rxvt = xyes; then |
11936 | |
12984 | |
11937 | cat >>confdefs.h <<\_ACEOF |
12985 | cat >>confdefs.h <<\_ACEOF |
11938 | #define RXVT_SCROLLBAR 1 |
12986 | #define RXVT_SCROLLBAR 1 |
11939 | _ACEOF |
12987 | _ACEOF |
… | |
… | |
11966 | fi |
13014 | fi |
11967 | if test x$support_pointer_blank = xyes; then |
13015 | if test x$support_pointer_blank = xyes; then |
11968 | |
13016 | |
11969 | cat >>confdefs.h <<\_ACEOF |
13017 | cat >>confdefs.h <<\_ACEOF |
11970 | #define POINTER_BLANK 1 |
13018 | #define POINTER_BLANK 1 |
11971 | _ACEOF |
|
|
11972 | |
|
|
11973 | fi |
|
|
11974 | if test x$support_cursor_blink = xyes; then |
|
|
11975 | |
|
|
11976 | cat >>confdefs.h <<\_ACEOF |
|
|
11977 | #define CURSOR_BLINK 1 |
|
|
11978 | _ACEOF |
13019 | _ACEOF |
11979 | |
13020 | |
11980 | fi |
13021 | fi |
11981 | if test x$support_text_blink = xyes; then |
13022 | if test x$support_text_blink = xyes; then |
11982 | |
13023 | |
… | |
… | |
12040 | _ACEOF |
13081 | _ACEOF |
12041 | ;; |
13082 | ;; |
12042 | esac |
13083 | esac |
12043 | done |
13084 | done |
12044 | |
13085 | |
|
|
13086 | IF_PERL=\# |
|
|
13087 | if test x$support_perl = xyes; then |
|
|
13088 | # Extract the first word of "perl5", so it can be a program name with args. |
|
|
13089 | set dummy perl5; ac_word=$2 |
|
|
13090 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
13091 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
13092 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
13093 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13094 | else |
|
|
13095 | case $PERL in |
|
|
13096 | [\\/]* | ?:[\\/]*) |
|
|
13097 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
13098 | ;; |
|
|
13099 | *) |
|
|
13100 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
13101 | for as_dir in $PATH |
|
|
13102 | do |
|
|
13103 | IFS=$as_save_IFS |
|
|
13104 | test -z "$as_dir" && as_dir=. |
|
|
13105 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
13106 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
13107 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
13108 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
13109 | break 2 |
|
|
13110 | fi |
|
|
13111 | done |
|
|
13112 | done |
12045 | |
13113 | |
12046 | CFLAGS=${CFLAGS--O} |
13114 | ;; |
12047 | LDFLAGS=${LDFLAGS--O} |
13115 | esac |
|
|
13116 | fi |
|
|
13117 | PERL=$ac_cv_path_PERL |
12048 | |
13118 | |
12049 | CPPFLAGS="$CPPFLAGS" |
13119 | if test -n "$PERL"; then |
|
|
13120 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
13121 | echo "${ECHO_T}$PERL" >&6 |
|
|
13122 | else |
|
|
13123 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
13124 | echo "${ECHO_T}no" >&6 |
|
|
13125 | fi |
12050 | |
13126 | |
|
|
13127 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
13128 | set dummy perl; ac_word=$2 |
|
|
13129 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
13130 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
13131 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
13132 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13133 | else |
|
|
13134 | case $PERL in |
|
|
13135 | [\\/]* | ?:[\\/]*) |
|
|
13136 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
13137 | ;; |
|
|
13138 | *) |
|
|
13139 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
13140 | for as_dir in $PATH |
|
|
13141 | do |
|
|
13142 | IFS=$as_save_IFS |
|
|
13143 | test -z "$as_dir" && as_dir=. |
|
|
13144 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
13145 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
13146 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
13147 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
13148 | break 2 |
|
|
13149 | fi |
|
|
13150 | done |
|
|
13151 | done |
|
|
13152 | |
|
|
13153 | ;; |
|
|
13154 | esac |
|
|
13155 | fi |
|
|
13156 | PERL=$ac_cv_path_PERL |
|
|
13157 | |
|
|
13158 | if test -n "$PERL"; then |
|
|
13159 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
13160 | echo "${ECHO_T}$PERL" >&6 |
|
|
13161 | else |
|
|
13162 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
13163 | echo "${ECHO_T}no" >&6 |
|
|
13164 | fi |
|
|
13165 | |
|
|
13166 | |
|
|
13167 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
|
|
13168 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
|
|
13169 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
13170 | |
|
|
13171 | save_CXXFLAGS="$CXXFLAGS" |
|
|
13172 | save_LIBS="$LIBS" |
|
|
13173 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
13174 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
13175 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13176 | /* confdefs.h. */ |
|
|
13177 | _ACEOF |
|
|
13178 | cat confdefs.h >>conftest.$ac_ext |
|
|
13179 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13180 | /* end confdefs.h. */ |
|
|
13181 | |
|
|
13182 | #include <EXTERN.h> |
|
|
13183 | #include <perl.h> |
|
|
13184 | #include <XSUB.h> |
|
|
13185 | |
|
|
13186 | int |
|
|
13187 | main () |
|
|
13188 | { |
|
|
13189 | |
|
|
13190 | PerlInterpreter *perl = perl_alloc (); |
|
|
13191 | |
|
|
13192 | ; |
|
|
13193 | return 0; |
|
|
13194 | } |
|
|
13195 | _ACEOF |
|
|
13196 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
13197 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13198 | (eval $ac_link) 2>conftest.er1 |
|
|
13199 | ac_status=$? |
|
|
13200 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13201 | rm -f conftest.er1 |
|
|
13202 | cat conftest.err >&5 |
|
|
13203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13204 | (exit $ac_status); } && |
|
|
13205 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13206 | || test ! -s conftest.err' |
|
|
13207 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13208 | (eval $ac_try) 2>&5 |
|
|
13209 | ac_status=$? |
|
|
13210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13211 | (exit $ac_status); }; } && |
|
|
13212 | { ac_try='test -s conftest$ac_exeext' |
|
|
13213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13214 | (eval $ac_try) 2>&5 |
|
|
13215 | ac_status=$? |
|
|
13216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13217 | (exit $ac_status); }; }; then |
|
|
13218 | rxvt_perl_link=yes |
|
|
13219 | else |
|
|
13220 | echo "$as_me: failed program was:" >&5 |
|
|
13221 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13222 | |
|
|
13223 | rxvt_perl_link=no |
|
|
13224 | fi |
|
|
13225 | rm -f conftest.err conftest.$ac_objext \ |
|
|
13226 | conftest$ac_exeext conftest.$ac_ext |
|
|
13227 | CXXFLAGS="$save_CXXFLAGS" |
|
|
13228 | LIBS="$save_LIBS" |
|
|
13229 | |
|
|
13230 | if test x$rxvt_perl_link = xyes; then |
|
|
13231 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
13232 | echo "${ECHO_T}ok" >&6 |
|
|
13233 | |
|
|
13234 | cat >>confdefs.h <<\_ACEOF |
|
|
13235 | #define ENABLE_PERL 1 |
|
|
13236 | _ACEOF |
|
|
13237 | |
|
|
13238 | IF_PERL= |
|
|
13239 | PERL_O=rxvtperl.o |
|
|
13240 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
13241 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
13242 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
13243 | else |
|
|
13244 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
|
|
13245 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
13246 | { (exit 1); exit 1; }; } |
|
|
13247 | fi |
|
|
13248 | else |
|
|
13249 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
|
|
13250 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
|
|
13251 | { (exit 1); exit 1; }; } |
|
|
13252 | fi |
|
|
13253 | fi |
|
|
13254 | |
|
|
13255 | |
|
|
13256 | |
|
|
13257 | |
|
|
13258 | |
|
|
13259 | |
|
|
13260 | |
|
|
13261 | if test x$support_perl = xyes; then |
|
|
13262 | support_frills=yes |
|
|
13263 | fi |
12051 | |
13264 | |
12052 | |
13265 | |
12053 | |
13266 | |
12054 | |
13267 | |
12055 | |
13268 | |
12056 | |
13269 | |
12057 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
13270 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
12058 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
12059 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
13271 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
12060 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
13272 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
12061 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
13273 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
12062 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
13274 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12063 | fi |
13275 | fi |
12064 | |
13276 | |
12065 | |
13277 | |
12066 | |
13278 | |
12067 | |
13279 | |
12068 | |
13280 | |
12069 | if test x$support_addstrings = xno; then |
|
|
12070 | |
|
|
12071 | cat >>confdefs.h <<\_ACEOF |
|
|
12072 | #define NO_STRINGS 1 |
|
|
12073 | _ACEOF |
|
|
12074 | |
|
|
12075 | fi |
|
|
12076 | |
|
|
12077 | MCOMMON=./autoconf/Make.common |
|
|
12078 | |
13281 | |
12079 | |
13282 | |
12080 | test "$program_prefix" != NONE && |
13283 | test "$program_prefix" != NONE && |
12081 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
13284 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12082 | # Use a double $ so make ignores it. |
13285 | # Use a double $ so make ignores it. |
… | |
… | |
12158 | include_time_h="#include <time.h>" |
13361 | include_time_h="#include <time.h>" |
12159 | else |
13362 | else |
12160 | include_time_h="/* #include <time.h> */" |
13363 | include_time_h="/* #include <time.h> */" |
12161 | fi |
13364 | fi |
12162 | |
13365 | |
12163 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
13366 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12164 | |
13367 | |
12165 | cat >confcache <<\_ACEOF |
13368 | cat >confcache <<\_ACEOF |
12166 | # This file is a shell script that caches the results of configure |
13369 | # This file is a shell script that caches the results of configure |
12167 | # tests run on this system so they can be shared between configure |
13370 | # tests run on this system so they can be shared between configure |
12168 | # scripts and configure runs, see configure's option --config-cache. |
13371 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
12685 | cat >>$CONFIG_STATUS <<\_ACEOF |
13888 | cat >>$CONFIG_STATUS <<\_ACEOF |
12686 | for ac_config_target in $ac_config_targets |
13889 | for ac_config_target in $ac_config_targets |
12687 | do |
13890 | do |
12688 | case "$ac_config_target" in |
13891 | case "$ac_config_target" in |
12689 | # Handling of arguments. |
13892 | # Handling of arguments. |
12690 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
12691 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13893 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12692 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13894 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12693 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13895 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12694 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13896 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
12695 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13897 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12696 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13898 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12697 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13899 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12698 | { (exit 1); exit 1; }; };; |
13900 | { (exit 1); exit 1; }; };; |
12699 | esac |
13901 | esac |
12700 | done |
13902 | done |
… | |
… | |
12801 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
14003 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
12802 | s,@CPP@,$CPP,;t t |
14004 | s,@CPP@,$CPP,;t t |
12803 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
14005 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
12804 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
14006 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
12805 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
14007 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
12806 | s,@AWK@,$AWK,;t t |
14008 | s,@EGREP@,$EGREP,;t t |
12807 | s,@LINKER@,$LINKER,;t t |
14009 | s,@LINKER@,$LINKER,;t t |
12808 | s,@CXXCPP@,$CXXCPP,;t t |
14010 | s,@CXXLIB@,$CXXLIB,;t t |
12809 | s,@EGREP@,$EGREP,;t t |
|
|
12810 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
14011 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
12811 | s,@RXVTNAME@,$RXVTNAME,;t t |
14012 | s,@RXVTNAME@,$RXVTNAME,;t t |
12812 | s,@MV@,$MV,;t t |
|
|
12813 | s,@RM@,$RM,;t t |
|
|
12814 | s,@CP@,$CP,;t t |
|
|
12815 | s,@LN@,$LN,;t t |
|
|
12816 | s,@SED@,$SED,;t t |
|
|
12817 | s,@ECHO@,$ECHO,;t t |
|
|
12818 | s,@CMP@,$CMP,;t t |
|
|
12819 | s,@TBL@,$TBL,;t t |
|
|
12820 | s,@TIC@,$TIC,;t t |
14013 | s,@TIC@,$TIC,;t t |
|
|
14014 | s,@CXXCPP@,$CXXCPP,;t t |
12821 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
14015 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
12822 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
14016 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
12823 | s,@X_LIBS@,$X_LIBS,;t t |
14017 | s,@X_LIBS@,$X_LIBS,;t t |
12824 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
14018 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
|
|
14019 | s,@afterimage_config@,$afterimage_config,;t t |
12825 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
14020 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
12826 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
14021 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
12827 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
14022 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
12828 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
14023 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
12829 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
14024 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
12830 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
14025 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
12831 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
14026 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
12832 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
14027 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
12833 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
14028 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
12834 | s,@DEBUG@,$DEBUG,;t t |
14029 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
12835 | s,@DINCLUDE@,$DINCLUDE,;t t |
14030 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
|
|
14031 | s,@PERL@,$PERL,;t t |
12836 | s,@DLIB@,$DLIB,;t t |
14032 | s,@PERLLIB@,$PERLLIB,;t t |
|
|
14033 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
|
|
14034 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
|
|
14035 | s,@IF_PERL@,$IF_PERL,;t t |
|
|
14036 | s,@PERL_O@,$PERL_O,;t t |
|
|
14037 | s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t |
|
|
14038 | s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t |
12837 | s,@include_stdint_h@,$include_stdint_h,;t t |
14039 | s,@include_stdint_h@,$include_stdint_h,;t t |
12838 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
14040 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
12839 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
14041 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
12840 | s,@include_unistd_h@,$include_unistd_h,;t t |
14042 | s,@include_unistd_h@,$include_unistd_h,;t t |
12841 | s,@include_string_h@,$include_string_h,;t t |
14043 | s,@include_string_h@,$include_string_h,;t t |
… | |
… | |
12847 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
14049 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
12848 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
14050 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
12849 | s,@include_time_h@,$include_time_h,;t t |
14051 | s,@include_time_h@,$include_time_h,;t t |
12850 | s,@LIBOBJS@,$LIBOBJS,;t t |
14052 | s,@LIBOBJS@,$LIBOBJS,;t t |
12851 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
14053 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
12852 | /@MCOMMON@/r $MCOMMON |
|
|
12853 | s,@MCOMMON@,,;t t |
|
|
12854 | CEOF |
14054 | CEOF |
12855 | |
14055 | |
12856 | _ACEOF |
14056 | _ACEOF |
12857 | |
14057 | |
12858 | cat >>$CONFIG_STATUS <<\_ACEOF |
14058 | cat >>$CONFIG_STATUS <<\_ACEOF |
… | |
… | |
13015 | case $INSTALL in |
14215 | case $INSTALL in |
13016 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
14216 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
13017 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
14217 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
13018 | esac |
14218 | esac |
13019 | |
14219 | |
|
|
14220 | if test x"$ac_file" != x-; then |
|
|
14221 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
14222 | echo "$as_me: creating $ac_file" >&6;} |
|
|
14223 | rm -f "$ac_file" |
|
|
14224 | fi |
13020 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
14225 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
13021 | # use $as_me), people would be surprised to read: |
14226 | # use $as_me), people would be surprised to read: |
13022 | # /* config.h. Generated by config.status. */ |
14227 | # /* config.h. Generated by config.status. */ |
13023 | if test x"$ac_file" = x-; then |
14228 | if test x"$ac_file" = x-; then |
13024 | configure_input= |
14229 | configure_input= |
… | |
… | |
13053 | echo "$as_me: error: cannot find input file: $f" >&2;} |
14258 | echo "$as_me: error: cannot find input file: $f" >&2;} |
13054 | { (exit 1); exit 1; }; } |
14259 | { (exit 1); exit 1; }; } |
13055 | fi;; |
14260 | fi;; |
13056 | esac |
14261 | esac |
13057 | done` || { (exit 1); exit 1; } |
14262 | done` || { (exit 1); exit 1; } |
13058 | |
|
|
13059 | if test x"$ac_file" != x-; then |
|
|
13060 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
13061 | echo "$as_me: creating $ac_file" >&6;} |
|
|
13062 | rm -f "$ac_file" |
|
|
13063 | fi |
|
|
13064 | _ACEOF |
14263 | _ACEOF |
13065 | cat >>$CONFIG_STATUS <<_ACEOF |
14264 | cat >>$CONFIG_STATUS <<_ACEOF |
13066 | sed "$ac_vpsub |
14265 | sed "$ac_vpsub |
13067 | $extrasub |
14266 | $extrasub |
13068 | _ACEOF |
14267 | _ACEOF |
… | |
… | |
13348 | |
14547 | |
13349 | Rxvt version: $VERSION : $DATE |
14548 | Rxvt version: $VERSION : $DATE |
13350 | Source code location: $srcdir |
14549 | Source code location: $srcdir |
13351 | Install path: ${prefix}/bin |
14550 | Install path: ${prefix}/bin |
13352 | Compiler: $CXX |
14551 | Compiler: $CXX |
13353 | Compiler flags: $CFLAGS |
14552 | Compiler flags: $CXXFLAGS |
13354 | Linker: $LINKER" |
14553 | Linker: $LINKER" |
13355 | |
|
|
13356 | if test "$MALLOC_TYPE" = S; then |
|
|
13357 | echo " malloc support: system default" |
|
|
13358 | fi |
|
|
13359 | if test "$MALLOC_TYPE" = G; then |
|
|
13360 | echo " malloc support: Gray Watson's dmalloc" |
|
|
13361 | fi |
|
|
13362 | if test "$MALLOC_TYPE" = D; then |
|
|
13363 | echo " malloc support: Doug Lea's malloc" |
|
|
13364 | fi |
|
|
13365 | |
14554 | |
13366 | if test x$support_xpm = xyes; then |
14555 | if test x$support_xpm = xyes; then |
13367 | echo " Xpm library: $XPM_LIBS" |
14556 | echo " Xpm library: $XPM_LIBS" |
13368 | fi |
14557 | fi |
13369 | |
14558 | |
13370 | echo " |
14559 | if test x$support_afterimage = xyes; then |
13371 | The following are set in config.h |
14560 | echo " AfterImage support: yes" |
13372 | " |
14561 | fi |
13373 | echo " pty/tty type: "$rxvt_cv_ptys |
14562 | |
13374 | if test x$support_utmp != xyes; then |
14563 | if test x$support_afterstep = xyes; then |
13375 | echo " utmp support: disabled" |
14564 | echo " AfterStep integration: yes" |
13376 | echo |
|
|
13377 | else |
|
|
13378 | echo " utmp support: enabled |
|
|
13379 | utmp file: $rxvt_cv_path_utmp |
|
|
13380 | utmpx file: $rxvt_cv_path_utmpx |
|
|
13381 | wtmp file: $rxvt_cv_path_wtmp |
|
|
13382 | wtmpx file: $rxvt_cv_path_wtmpx |
|
|
13383 | lastlog file: $rxvt_cv_path_lastlog |
|
|
13384 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
|
|
13385 | echo |
|
|
13386 | fi |
14565 | fi |
|
|
14566 | |
13387 | if test x$term != x; then |
14567 | if test x$term != x; then |
13388 | echo " set TERM to: $term" |
14568 | echo " set TERM to: $term" |
13389 | fi |
14569 | fi |
13390 | if test x$terminfo != x; then |
14570 | if test x$terminfo != x; then |
13391 | echo " set TERMINFO to: $terminfo" |
14571 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
13394 | echo " resource class: $RESCLASS" |
14574 | echo " resource class: $RESCLASS" |
13395 | if test x$RESFALLBACK != x; then |
14575 | if test x$RESFALLBACK != x; then |
13396 | echo " resource class fallback: $RESFALLBACK" |
14576 | echo " resource class fallback: $RESFALLBACK" |
13397 | fi |
14577 | fi |
13398 | echo |
14578 | echo |
13399 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
14579 | echo " embedded perl: $support_perl" |
13400 | echo ".----------------------------------------------------------------." |
14580 | echo |
13401 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
|
|
13402 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
|
|
13403 | echo ".----------------------------------------------------------------." |
|
|
13404 | fi |
|
|
13405 | if test x$support_xpm = xneedsmanualspecification; then |
14581 | if test x$support_xpm = xneedsmanualspecification; then |
13406 | echo ".----------------------------------------------------------------." |
14582 | echo ".----------------------------------------------------------------." |
13407 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14583 | echo ". WARNING: --enable-xpm-background was specified however the ." |
13408 | echo ". XPM includes files and libraries could not be found. ." |
14584 | echo ". XPM includes files and libraries could not be found. ." |
13409 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
14585 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
… | |
… | |
13418 | echo ". functions could not be found. ." |
14594 | echo ". functions could not be found. ." |
13419 | echo ". XIM is now being DISABLED! ." |
14595 | echo ". XIM is now being DISABLED! ." |
13420 | echo ".----------------------------------------------------------------." |
14596 | echo ".----------------------------------------------------------------." |
13421 | fi |
14597 | fi |
13422 | |
14598 | |
13423 | echo " *** Optionally check src/feature.h for further options ***" |
14599 | echo "*** Optionally check src/feature.h for further, rarely used options ***" |
13424 | echo |
14600 | echo |
13425 | |
14601 | |
13426 | echo ".----------------------------------------------------------------." |
|
|
13427 | echo ". NOTE: most features are disabled by default, try ." |
|
|
13428 | echo ". configure --help to get an idea of the optional features, ." |
|
|
13429 | echo ". or read ./README.configure ." |
|
|
13430 | echo ". ." |
|
|
13431 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
13432 | echo ". you do not want to read documentation and still want some ." |
|
|
13433 | echo ". useful features. ." |
|
|
13434 | echo ".----------------------------------------------------------------." |
|
|
13435 | echo |
|
|
13436 | |
|
|