… | |
… | |
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 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 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
3290 | echo "${ECHO_T}ok" >&6 |
|
|
3291 | else |
|
|
3292 | echo "$as_me: failed program was:" >&5 |
|
|
3293 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3294 | |
|
|
3295 | |
|
|
3296 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3297 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3298 | LIBS="$save_LIBS" |
|
|
3299 | LINKER="$save_CXX" |
|
|
3300 | |
|
|
3301 | |
|
|
3302 | fi |
|
|
3303 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3304 | conftest$ac_exeext conftest.$ac_ext |
|
|
3305 | CXX="$save_CXX" |
|
|
3306 | fi |
|
|
3307 | LINKER=$LINKER |
|
|
3308 | |
|
|
3309 | |
|
|
3310 | if test -z "$orig_CXXFLAGS"; then |
|
|
3311 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3312 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
|
|
3313 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3314 | /* confdefs.h. */ |
|
|
3315 | _ACEOF |
|
|
3316 | cat confdefs.h >>conftest.$ac_ext |
|
|
3317 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3318 | /* end confdefs.h. */ |
|
|
3319 | |
|
|
3320 | int |
|
|
3321 | main () |
|
|
3322 | { |
|
|
3323 | |
|
|
3324 | ; |
|
|
3325 | return 0; |
|
|
3326 | } |
|
|
3327 | _ACEOF |
|
|
3328 | rm -f conftest.$ac_objext |
|
|
3329 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
3330 | (eval $ac_compile) 2>conftest.er1 |
|
|
3331 | ac_status=$? |
|
|
3332 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3333 | rm -f conftest.er1 |
|
|
3334 | cat conftest.err >&5 |
|
|
3335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3336 | (exit $ac_status); } && |
|
|
3337 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3338 | || test ! -s conftest.err' |
|
|
3339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3340 | (eval $ac_try) 2>&5 |
|
|
3341 | ac_status=$? |
|
|
3342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3343 | (exit $ac_status); }; } && |
|
|
3344 | { ac_try='test -s conftest.$ac_objext' |
|
|
3345 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3346 | (eval $ac_try) 2>&5 |
|
|
3347 | ac_status=$? |
|
|
3348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3349 | (exit $ac_status); }; }; then |
|
|
3350 | : |
|
|
3351 | else |
|
|
3352 | echo "$as_me: failed program was:" >&5 |
|
|
3353 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3354 | |
|
|
3355 | CXXFLAGS="-g -O3" |
|
|
3356 | fi |
|
|
3357 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3358 | else |
|
|
3359 | CXXFLAGS="-O" |
|
|
3360 | fi |
|
|
3361 | CFLAGS="$CXXFLAGS" |
|
|
3362 | fi |
|
|
3363 | |
|
|
3364 | |
|
|
3365 | cat >>confdefs.h <<\_ACEOF |
|
|
3366 | #define _GNU_SOURCE 1 |
|
|
3367 | _ACEOF |
|
|
3368 | |
|
|
3369 | |
|
|
3370 | case $host in |
|
|
3371 | *-*-solaris* ) |
|
|
3372 | |
|
|
3373 | cat >>confdefs.h <<\_ACEOF |
|
|
3374 | #define _XOPEN_SOURCE 500 |
|
|
3375 | _ACEOF |
|
|
3376 | |
|
|
3377 | ;; |
|
|
3378 | esac |
|
|
3379 | |
|
|
3380 | |
|
|
3381 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
|
|
3382 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
|
|
3383 | if test "${ac_cv_func_setlocale+set}" = set; then |
|
|
3384 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3385 | else |
|
|
3386 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3387 | /* confdefs.h. */ |
|
|
3388 | _ACEOF |
|
|
3389 | cat confdefs.h >>conftest.$ac_ext |
|
|
3390 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3391 | /* end confdefs.h. */ |
|
|
3392 | /* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale. |
|
|
3393 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3394 | #define setlocale innocuous_setlocale |
|
|
3395 | |
|
|
3396 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3397 | which can conflict with char setlocale (); below. |
|
|
3398 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3399 | <limits.h> exists even on freestanding compilers. */ |
|
|
3400 | |
|
|
3401 | #ifdef __STDC__ |
|
|
3402 | # include <limits.h> |
|
|
3403 | #else |
|
|
3404 | # include <assert.h> |
|
|
3405 | #endif |
|
|
3406 | |
|
|
3407 | #undef setlocale |
|
|
3408 | |
|
|
3409 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3410 | #ifdef __cplusplus |
|
|
3411 | extern "C" |
|
|
3412 | { |
|
|
3413 | #endif |
|
|
3414 | /* We use char because int might match the return type of a gcc2 |
|
|
3415 | builtin and then its argument prototype would still apply. */ |
|
|
3416 | char setlocale (); |
|
|
3417 | /* The GNU C library defines this for functions which it implements |
|
|
3418 | to always fail with ENOSYS. Some functions are actually named |
|
|
3419 | something starting with __ and the normal name is an alias. */ |
|
|
3420 | #if defined (__stub_setlocale) || defined (__stub___setlocale) |
|
|
3421 | choke me |
|
|
3422 | #else |
|
|
3423 | char (*f) () = setlocale; |
|
|
3424 | #endif |
|
|
3425 | #ifdef __cplusplus |
|
|
3426 | } |
|
|
3427 | #endif |
|
|
3428 | |
|
|
3429 | int |
|
|
3430 | main () |
|
|
3431 | { |
|
|
3432 | return f != setlocale; |
|
|
3433 | ; |
|
|
3434 | return 0; |
|
|
3435 | } |
|
|
3436 | _ACEOF |
|
|
3437 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3438 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3439 | (eval $ac_link) 2>conftest.er1 |
|
|
3440 | ac_status=$? |
|
|
3441 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3442 | rm -f conftest.er1 |
|
|
3443 | cat conftest.err >&5 |
|
|
3444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3445 | (exit $ac_status); } && |
|
|
3446 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3447 | || test ! -s conftest.err' |
|
|
3448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3449 | (eval $ac_try) 2>&5 |
|
|
3450 | ac_status=$? |
|
|
3451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3452 | (exit $ac_status); }; } && |
|
|
3453 | { ac_try='test -s conftest$ac_exeext' |
|
|
3454 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3455 | (eval $ac_try) 2>&5 |
|
|
3456 | ac_status=$? |
|
|
3457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3458 | (exit $ac_status); }; }; then |
|
|
3459 | ac_cv_func_setlocale=yes |
|
|
3460 | else |
|
|
3461 | echo "$as_me: failed program was:" >&5 |
|
|
3462 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3463 | |
|
|
3464 | ac_cv_func_setlocale=no |
|
|
3465 | fi |
|
|
3466 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3467 | conftest$ac_exeext conftest.$ac_ext |
|
|
3468 | fi |
|
|
3469 | echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5 |
|
|
3470 | echo "${ECHO_T}$ac_cv_func_setlocale" >&6 |
|
|
3471 | if test $ac_cv_func_setlocale = yes; then |
|
|
3472 | : |
|
|
3473 | else |
3618 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
3474 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
3619 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
3475 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
3620 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
3476 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
3621 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3477 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3622 | else |
3478 | else |
3623 | ac_check_lib_save_LIBS=$LIBS |
3479 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3651 | grep -v '^ *+' conftest.er1 >conftest.err |
3507 | grep -v '^ *+' conftest.er1 >conftest.err |
3652 | rm -f conftest.er1 |
3508 | rm -f conftest.er1 |
3653 | cat conftest.err >&5 |
3509 | cat conftest.err >&5 |
3654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3510 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3655 | (exit $ac_status); } && |
3511 | (exit $ac_status); } && |
3656 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3512 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3513 | || test ! -s conftest.err' |
3657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3514 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3658 | (eval $ac_try) 2>&5 |
3515 | (eval $ac_try) 2>&5 |
3659 | ac_status=$? |
3516 | ac_status=$? |
3660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3661 | (exit $ac_status); }; } && |
3518 | (exit $ac_status); }; } && |
… | |
… | |
3680 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
3537 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
3681 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
3538 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
3682 | LIBS="$LIBS -lxpg4" |
3539 | LIBS="$LIBS -lxpg4" |
3683 | fi |
3540 | fi |
3684 | |
3541 | |
|
|
3542 | fi |
3685 | |
3543 | |
|
|
3544 | |
|
|
3545 | echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
|
|
3546 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
|
|
3547 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
|
3548 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3549 | else |
|
|
3550 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3551 | /* confdefs.h. */ |
|
|
3552 | _ACEOF |
|
|
3553 | cat confdefs.h >>conftest.$ac_ext |
|
|
3554 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3555 | /* end confdefs.h. */ |
|
|
3556 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
|
3557 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3558 | #define gethostbyname innocuous_gethostbyname |
|
|
3559 | |
|
|
3560 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3561 | which can conflict with char gethostbyname (); below. |
|
|
3562 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3563 | <limits.h> exists even on freestanding compilers. */ |
|
|
3564 | |
|
|
3565 | #ifdef __STDC__ |
|
|
3566 | # include <limits.h> |
|
|
3567 | #else |
|
|
3568 | # include <assert.h> |
|
|
3569 | #endif |
|
|
3570 | |
|
|
3571 | #undef gethostbyname |
|
|
3572 | |
|
|
3573 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3574 | #ifdef __cplusplus |
|
|
3575 | extern "C" |
|
|
3576 | { |
|
|
3577 | #endif |
|
|
3578 | /* We use char because int might match the return type of a gcc2 |
|
|
3579 | builtin and then its argument prototype would still apply. */ |
|
|
3580 | char gethostbyname (); |
|
|
3581 | /* The GNU C library defines this for functions which it implements |
|
|
3582 | to always fail with ENOSYS. Some functions are actually named |
|
|
3583 | something starting with __ and the normal name is an alias. */ |
|
|
3584 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
|
|
3585 | choke me |
|
|
3586 | #else |
|
|
3587 | char (*f) () = gethostbyname; |
|
|
3588 | #endif |
|
|
3589 | #ifdef __cplusplus |
|
|
3590 | } |
|
|
3591 | #endif |
|
|
3592 | |
|
|
3593 | int |
|
|
3594 | main () |
|
|
3595 | { |
|
|
3596 | return f != gethostbyname; |
|
|
3597 | ; |
|
|
3598 | return 0; |
|
|
3599 | } |
|
|
3600 | _ACEOF |
|
|
3601 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3602 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3603 | (eval $ac_link) 2>conftest.er1 |
|
|
3604 | ac_status=$? |
|
|
3605 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3606 | rm -f conftest.er1 |
|
|
3607 | cat conftest.err >&5 |
|
|
3608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3609 | (exit $ac_status); } && |
|
|
3610 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3611 | || test ! -s conftest.err' |
|
|
3612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3613 | (eval $ac_try) 2>&5 |
|
|
3614 | ac_status=$? |
|
|
3615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3616 | (exit $ac_status); }; } && |
|
|
3617 | { ac_try='test -s conftest$ac_exeext' |
|
|
3618 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3619 | (eval $ac_try) 2>&5 |
|
|
3620 | ac_status=$? |
|
|
3621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3622 | (exit $ac_status); }; }; then |
|
|
3623 | ac_cv_func_gethostbyname=yes |
|
|
3624 | else |
|
|
3625 | echo "$as_me: failed program was:" >&5 |
|
|
3626 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3627 | |
|
|
3628 | ac_cv_func_gethostbyname=no |
|
|
3629 | fi |
|
|
3630 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3631 | conftest$ac_exeext conftest.$ac_ext |
|
|
3632 | fi |
|
|
3633 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
|
|
3634 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
|
|
3635 | if test $ac_cv_func_gethostbyname = yes; then |
|
|
3636 | : |
|
|
3637 | else |
3686 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
3638 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
3687 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
3639 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
3688 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
3640 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
3689 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3641 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3690 | else |
3642 | else |
3691 | ac_check_lib_save_LIBS=$LIBS |
3643 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3719 | grep -v '^ *+' conftest.er1 >conftest.err |
3671 | grep -v '^ *+' conftest.er1 >conftest.err |
3720 | rm -f conftest.er1 |
3672 | rm -f conftest.er1 |
3721 | cat conftest.err >&5 |
3673 | cat conftest.err >&5 |
3722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3723 | (exit $ac_status); } && |
3675 | (exit $ac_status); } && |
3724 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3676 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3677 | || test ! -s conftest.err' |
3725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3678 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3726 | (eval $ac_try) 2>&5 |
3679 | (eval $ac_try) 2>&5 |
3727 | ac_status=$? |
3680 | ac_status=$? |
3728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3729 | (exit $ac_status); }; } && |
3682 | (exit $ac_status); }; } && |
… | |
… | |
3748 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
3701 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
3749 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
3702 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
3750 | LIBS="$LIBS -lnsl" |
3703 | LIBS="$LIBS -lnsl" |
3751 | fi |
3704 | fi |
3752 | |
3705 | |
|
|
3706 | fi |
|
|
3707 | |
|
|
3708 | echo "$as_me:$LINENO: checking for socket" >&5 |
|
|
3709 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
|
|
3710 | if test "${ac_cv_func_socket+set}" = set; then |
|
|
3711 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3712 | else |
|
|
3713 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3714 | /* confdefs.h. */ |
|
|
3715 | _ACEOF |
|
|
3716 | cat confdefs.h >>conftest.$ac_ext |
|
|
3717 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3718 | /* end confdefs.h. */ |
|
|
3719 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. |
|
|
3720 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3721 | #define socket innocuous_socket |
|
|
3722 | |
|
|
3723 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3724 | which can conflict with char socket (); below. |
|
|
3725 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3726 | <limits.h> exists even on freestanding compilers. */ |
|
|
3727 | |
|
|
3728 | #ifdef __STDC__ |
|
|
3729 | # include <limits.h> |
|
|
3730 | #else |
|
|
3731 | # include <assert.h> |
|
|
3732 | #endif |
|
|
3733 | |
|
|
3734 | #undef socket |
|
|
3735 | |
|
|
3736 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3737 | #ifdef __cplusplus |
|
|
3738 | extern "C" |
|
|
3739 | { |
|
|
3740 | #endif |
|
|
3741 | /* We use char because int might match the return type of a gcc2 |
|
|
3742 | builtin and then its argument prototype would still apply. */ |
|
|
3743 | char socket (); |
|
|
3744 | /* The GNU C library defines this for functions which it implements |
|
|
3745 | to always fail with ENOSYS. Some functions are actually named |
|
|
3746 | something starting with __ and the normal name is an alias. */ |
|
|
3747 | #if defined (__stub_socket) || defined (__stub___socket) |
|
|
3748 | choke me |
|
|
3749 | #else |
|
|
3750 | char (*f) () = socket; |
|
|
3751 | #endif |
|
|
3752 | #ifdef __cplusplus |
|
|
3753 | } |
|
|
3754 | #endif |
|
|
3755 | |
|
|
3756 | int |
|
|
3757 | main () |
|
|
3758 | { |
|
|
3759 | return f != socket; |
|
|
3760 | ; |
|
|
3761 | return 0; |
|
|
3762 | } |
|
|
3763 | _ACEOF |
|
|
3764 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3765 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3766 | (eval $ac_link) 2>conftest.er1 |
|
|
3767 | ac_status=$? |
|
|
3768 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3769 | rm -f conftest.er1 |
|
|
3770 | cat conftest.err >&5 |
|
|
3771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3772 | (exit $ac_status); } && |
|
|
3773 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3774 | || test ! -s conftest.err' |
|
|
3775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3776 | (eval $ac_try) 2>&5 |
|
|
3777 | ac_status=$? |
|
|
3778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3779 | (exit $ac_status); }; } && |
|
|
3780 | { ac_try='test -s conftest$ac_exeext' |
|
|
3781 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3782 | (eval $ac_try) 2>&5 |
|
|
3783 | ac_status=$? |
|
|
3784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3785 | (exit $ac_status); }; }; then |
|
|
3786 | ac_cv_func_socket=yes |
|
|
3787 | else |
|
|
3788 | echo "$as_me: failed program was:" >&5 |
|
|
3789 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3790 | |
|
|
3791 | ac_cv_func_socket=no |
|
|
3792 | fi |
|
|
3793 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3794 | conftest$ac_exeext conftest.$ac_ext |
|
|
3795 | fi |
|
|
3796 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
|
|
3797 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
|
|
3798 | if test $ac_cv_func_socket = yes; then |
|
|
3799 | : |
|
|
3800 | else |
3753 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3801 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3754 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3802 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3755 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
3803 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
3756 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3804 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3757 | else |
3805 | else |
3758 | ac_check_lib_save_LIBS=$LIBS |
3806 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3786 | grep -v '^ *+' conftest.er1 >conftest.err |
3834 | grep -v '^ *+' conftest.er1 >conftest.err |
3787 | rm -f conftest.er1 |
3835 | rm -f conftest.er1 |
3788 | cat conftest.err >&5 |
3836 | cat conftest.err >&5 |
3789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3790 | (exit $ac_status); } && |
3838 | (exit $ac_status); } && |
3791 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3839 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3840 | || test ! -s conftest.err' |
3792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3793 | (eval $ac_try) 2>&5 |
3842 | (eval $ac_try) 2>&5 |
3794 | ac_status=$? |
3843 | ac_status=$? |
3795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3796 | (exit $ac_status); }; } && |
3845 | (exit $ac_status); }; } && |
… | |
… | |
3815 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3864 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3816 | if test $ac_cv_lib_socket_socket = yes; then |
3865 | if test $ac_cv_lib_socket_socket = yes; then |
3817 | LIBS="$LIBS -lsocket" |
3866 | LIBS="$LIBS -lsocket" |
3818 | fi |
3867 | fi |
3819 | |
3868 | |
|
|
3869 | fi |
3820 | |
3870 | |
3821 | |
3871 | |
3822 | MALLOC_TYPE=S |
3872 | |
3823 | support_addstrings=no |
|
|
3824 | support_frills=no |
3873 | support_frills=yes |
3825 | support_inheritpixmap=no |
3874 | support_inheritpixmap=yes |
3826 | support_tinting=no |
3875 | support_tinting=yes |
3827 | support_fading=no |
3876 | support_fading=yes |
3828 | support_keepscrolling=no |
3877 | support_keepscrolling=yes |
3829 | support_selectionscrolling=no |
3878 | support_selectionscrolling=yes |
3830 | support_menubar=no |
|
|
3831 | support_mousewheel=no |
3879 | support_mousewheel=yes |
3832 | support_mouseslipwheel=no |
3880 | 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 |
3881 | support_text_blink=yes |
3838 | support_pointer_blank=no |
3882 | support_pointer_blank=yes |
3839 | support_scroll_rxvt=no |
3883 | support_scroll_rxvt=yes |
3840 | support_scroll_next=no |
3884 | support_scroll_next=yes |
3841 | support_scroll_xterm=no |
3885 | support_scroll_xterm=yes |
3842 | support_scroll_plain=no |
3886 | support_scroll_plain=yes |
3843 | support_xim=no |
3887 | support_xim=yes |
3844 | support_xpm=no |
3888 | support_xpm=yes |
|
|
3889 | support_afterimage=yes |
|
|
3890 | support_afterstep=yes |
3845 | support_xft=no |
3891 | support_xft=yes |
3846 | support_unicode3=no |
3892 | support_unicode3=no |
3847 | support_combining=no |
3893 | support_combining=yes |
3848 | support_8bitctrls=no |
3894 | support_8bitctrls=no |
3849 | support_iso14755=no |
3895 | support_iso14755=yes |
3850 | support_styles=no |
3896 | support_styles=yes |
|
|
3897 | support_perl=yes |
3851 | codesets= |
3898 | codesets=all |
3852 | |
3899 | |
3853 | |
3900 | |
3854 | if test "x$enable_shared" = xyes; then |
3901 | if test "x$enable_shared" = xyes; then |
3855 | |
3902 | |
3856 | cat >>confdefs.h <<\_ACEOF |
3903 | cat >>confdefs.h <<\_ACEOF |
… | |
… | |
3862 | |
3909 | |
3863 | |
3910 | |
3864 | # Check whether --enable-everything or --disable-everything was given. |
3911 | # Check whether --enable-everything or --disable-everything was given. |
3865 | if test "${enable_everything+set}" = set; then |
3912 | if test "${enable_everything+set}" = set; then |
3866 | enableval="$enable_everything" |
3913 | enableval="$enable_everything" |
|
|
3914 | |
|
|
3915 | if test x$enableval = xno; then |
|
|
3916 | support_frills=no |
|
|
3917 | support_inheritpixmap=no |
|
|
3918 | support_tinting=no |
|
|
3919 | support_fading=no |
|
|
3920 | support_keepscrolling=no |
|
|
3921 | support_selectionscrolling=no |
|
|
3922 | support_lastlog=no |
|
|
3923 | support_mousewheel=no |
|
|
3924 | support_mouseslipwheel=no |
|
|
3925 | support_text_blink=no |
|
|
3926 | support_pointer_blank=no |
|
|
3927 | support_scroll_rxvt=no |
|
|
3928 | support_scroll_next=no |
|
|
3929 | support_scroll_xterm=no |
|
|
3930 | support_scroll_plain=no |
|
|
3931 | support_utmp=no |
|
|
3932 | support_wtmp=no |
|
|
3933 | support_xim=no |
|
|
3934 | support_xpm=no |
|
|
3935 | support_afterimage=no |
|
|
3936 | support_afterstep=no |
|
|
3937 | support_xft=no |
|
|
3938 | support_unicode3=no |
|
|
3939 | support_combining=no |
|
|
3940 | support_8bitctrls=no |
|
|
3941 | support_iso14755=no |
|
|
3942 | support_styles=no |
|
|
3943 | support_perl=no |
|
|
3944 | codesets= |
|
|
3945 | fi |
3867 | if test x$enableval = xyes; then |
3946 | if test x$enableval = xyes; then |
3868 | support_24bit=yes |
|
|
3869 | support_frills=yes |
3947 | support_frills=yes |
3870 | support_inheritpixmap=yes |
3948 | support_inheritpixmap=yes |
3871 | support_tinting=yes |
3949 | support_tinting=yes |
3872 | support_fading=yes |
3950 | support_fading=yes |
3873 | support_keepscrolling=yes |
3951 | support_keepscrolling=yes |
3874 | support_selectionscrolling=yes |
3952 | support_selectionscrolling=yes |
3875 | support_lastlog=yes |
3953 | support_lastlog=yes |
3876 | support_menubar=yes |
|
|
3877 | support_mousewheel=yes |
3954 | support_mousewheel=yes |
3878 | support_mouseslipwheel=yes |
3955 | support_mouseslipwheel=yes |
3879 | support_cursor_blink=yes |
|
|
3880 | support_text_blink=yes |
3956 | support_text_blink=yes |
3881 | support_pointer_blank=yes |
3957 | support_pointer_blank=yes |
3882 | support_scroll_rxvt=yes |
3958 | support_scroll_rxvt=yes |
3883 | support_scroll_next=yes |
3959 | support_scroll_next=yes |
3884 | support_scroll_xterm=yes |
3960 | support_scroll_xterm=yes |
3885 | support_scroll_plain=yes |
3961 | support_scroll_plain=yes |
3886 | support_utmp=yes |
3962 | support_utmp=yes |
3887 | support_wtmp=yes |
3963 | support_wtmp=yes |
3888 | support_xim=yes |
3964 | support_xim=yes |
3889 | support_xpm=yes |
3965 | support_xpm=yes |
|
|
3966 | support_afterimage=yes |
|
|
3967 | support_afterstep=yes |
3890 | support_xft=yes |
3968 | support_xft=yes |
3891 | support_unicode3=yes |
3969 | support_unicode3=yes |
3892 | support_combining=yes |
3970 | support_combining=yes |
3893 | #support_8bitctrls=yes |
3971 | #support_8bitctrls=yes |
3894 | support_iso14755=yes |
3972 | support_iso14755=yes |
3895 | support_styles=yes |
3973 | support_styles=yes |
|
|
3974 | support_perl=yes |
3896 | codesets=all |
3975 | codesets=all |
3897 | fi |
3976 | fi |
|
|
3977 | |
3898 | fi; |
3978 | fi; |
3899 | |
3979 | |
3900 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
3980 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
3901 | if test "${enable_unicode3+set}" = set; then |
3981 | if test "${enable_unicode3+set}" = set; then |
3902 | enableval="$enable_unicode3" |
3982 | enableval="$enable_unicode3" |
… | |
… | |
3927 | if test x$enableval = xyes -o x$enableval = xno; then |
4007 | if test x$enableval = xyes -o x$enableval = xno; then |
3928 | support_styles=$enableval |
4008 | support_styles=$enableval |
3929 | fi |
4009 | fi |
3930 | fi; |
4010 | fi; |
3931 | |
4011 | |
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. |
4012 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
3957 | if test "${enable_xpm_background+set}" = set; then |
4013 | if test "${enable_xpm_background+set}" = set; then |
3958 | enableval="$enable_xpm_background" |
4014 | enableval="$enable_xpm_background" |
3959 | if test x$enableval = xyes -o x$enableval = xno; then |
4015 | if test x$enableval = xyes -o x$enableval = xno; then |
3960 | support_xpm=$enableval |
4016 | support_xpm=$enableval |
3961 | fi |
4017 | fi |
3962 | fi; |
4018 | fi; |
3963 | |
4019 | |
|
|
4020 | # Check whether --enable-afterimage or --disable-afterimage was given. |
|
|
4021 | if test "${enable_afterimage+set}" = set; then |
|
|
4022 | enableval="$enable_afterimage" |
|
|
4023 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4024 | support_afterimage=$enableval |
|
|
4025 | fi |
|
|
4026 | fi; |
|
|
4027 | |
|
|
4028 | |
|
|
4029 | # Check whether --with-afterimage_config or --without-afterimage_config was given. |
|
|
4030 | if test "${with_afterimage_config+set}" = set; then |
|
|
4031 | withval="$with_afterimage_config" |
|
|
4032 | if test "x$withval" != x; then |
|
|
4033 | afterimage_config=$withval/afterimage-config |
|
|
4034 | fi |
|
|
4035 | fi; |
|
|
4036 | |
|
|
4037 | # Check whether --enable-afterstep or --disable-afterstep was given. |
|
|
4038 | if test "${enable_afterstep+set}" = set; then |
|
|
4039 | enableval="$enable_afterstep" |
|
|
4040 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4041 | support_afterstep=$enableval |
|
|
4042 | fi |
|
|
4043 | fi; |
|
|
4044 | |
3964 | # Check whether --enable-transparency or --disable-transparency was given. |
4045 | # Check whether --enable-transparency or --disable-transparency was given. |
3965 | if test "${enable_transparency+set}" = set; then |
4046 | if test "${enable_transparency+set}" = set; then |
3966 | enableval="$enable_transparency" |
4047 | enableval="$enable_transparency" |
3967 | if test x$enableval = xyes -o x$enableval = xno; then |
4048 | if test x$enableval = xyes -o x$enableval = xno; then |
3968 | support_inheritpixmap=$enableval |
4049 | support_inheritpixmap=$enableval |
… | |
… | |
3983 | if test x$enableval = xyes -o x$enableval = xno; then |
4064 | if test x$enableval = xyes -o x$enableval = xno; then |
3984 | support_fading=$enableval |
4065 | support_fading=$enableval |
3985 | fi |
4066 | fi |
3986 | fi; |
4067 | fi; |
3987 | |
4068 | |
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. |
4069 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
3997 | if test "${enable_rxvt_scroll+set}" = set; then |
4070 | if test "${enable_rxvt_scroll+set}" = set; then |
3998 | enableval="$enable_rxvt_scroll" |
4071 | enableval="$enable_rxvt_scroll" |
3999 | if test x$enableval = xyes -o x$enableval = xno; then |
4072 | if test x$enableval = xyes -o x$enableval = xno; then |
4000 | support_scroll_rxvt=$enableval |
4073 | support_scroll_rxvt=$enableval |
… | |
… | |
4015 | if test x$enableval = xyes -o x$enableval = xno; then |
4088 | if test x$enableval = xyes -o x$enableval = xno; then |
4016 | support_scroll_xterm=$enableval |
4089 | support_scroll_xterm=$enableval |
4017 | fi |
4090 | fi |
4018 | fi; |
4091 | fi; |
4019 | |
4092 | |
|
|
4093 | # Check whether --enable-perl or --disable-perl was given. |
|
|
4094 | if test "${enable_perl+set}" = set; then |
|
|
4095 | enableval="$enable_perl" |
|
|
4096 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4097 | support_perl=$enableval |
|
|
4098 | fi |
|
|
4099 | fi; |
|
|
4100 | |
4020 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4101 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4021 | if test "${enable_plain_scroll+set}" = set; then |
4102 | if test "${enable_plain_scroll+set}" = set; then |
4022 | enableval="$enable_plain_scroll" |
4103 | enableval="$enable_plain_scroll" |
4023 | if test x$enableval = xyes -o x$enableval = xno; then |
4104 | if test x$enableval = xyes -o x$enableval = xno; then |
4024 | support_scroll_plain=$enableval |
4105 | support_scroll_plain=$enableval |
4025 | fi |
4106 | fi |
4026 | fi; |
4107 | fi; |
4027 | |
4108 | |
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 | |
4109 | |
4041 | # Check whether --with-codesets or --without-codesets was given. |
4110 | # Check whether --with-codesets or --without-codesets was given. |
4042 | if test "${with_codesets+set}" = set; then |
4111 | if test "${with_codesets+set}" = set; then |
4043 | withval="$with_codesets" |
4112 | withval="$with_codesets" |
4044 | codesets="$withval" |
4113 | codesets="$withval" |
… | |
… | |
4050 | if test x$enableval = xyes -o x$enableval = xno; then |
4119 | if test x$enableval = xyes -o x$enableval = xno; then |
4051 | support_xim=$enableval |
4120 | support_xim=$enableval |
4052 | fi |
4121 | fi |
4053 | fi; |
4122 | fi; |
4054 | |
4123 | |
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. |
4124 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4068 | if test "${enable_backspace_key+set}" = set; then |
4125 | if test "${enable_backspace_key+set}" = set; then |
4069 | enableval="$enable_backspace_key" |
4126 | enableval="$enable_backspace_key" |
4070 | if test x$enableval = xno; then |
4127 | if test x$enableval = xno; then |
4071 | |
4128 | |
… | |
… | |
4093 | enableval="$enable_resources" |
4150 | enableval="$enable_resources" |
4094 | if test x$enableval = xno; then |
4151 | if test x$enableval = xno; then |
4095 | |
4152 | |
4096 | cat >>confdefs.h <<\_ACEOF |
4153 | cat >>confdefs.h <<\_ACEOF |
4097 | #define NO_RESOURCES 1 |
4154 | #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 |
4155 | _ACEOF |
4111 | |
4156 | |
4112 | fi |
4157 | fi |
4113 | fi; |
4158 | fi; |
4114 | |
4159 | |
… | |
… | |
4179 | |
4224 | |
4180 | |
4225 | |
4181 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4226 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4182 | |
4227 | |
4183 | |
4228 | |
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. |
4229 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4193 | if test "${enable_swapscreen+set}" = set; then |
4230 | if test "${enable_swapscreen+set}" = set; then |
4194 | enableval="$enable_swapscreen" |
4231 | enableval="$enable_swapscreen" |
4195 | if test x$enableval = xno; then |
4232 | if test x$enableval = xno; then |
4196 | |
4233 | |
… | |
… | |
4215 | if test x$enableval = xyes -o x$enableval = xno; then |
4252 | if test x$enableval = xyes -o x$enableval = xno; then |
4216 | support_frills=$enableval |
4253 | support_frills=$enableval |
4217 | fi |
4254 | fi |
4218 | fi; |
4255 | fi; |
4219 | |
4256 | |
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. |
4257 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4229 | if test "${enable_keepscrolling+set}" = set; then |
4258 | if test "${enable_keepscrolling+set}" = set; then |
4230 | enableval="$enable_keepscrolling" |
4259 | enableval="$enable_keepscrolling" |
4231 | if test x$enableval = xyes -o x$enableval = xno; then |
4260 | if test x$enableval = xyes -o x$enableval = xno; then |
4232 | support_keepscrolling=$enableval |
4261 | support_keepscrolling=$enableval |
… | |
… | |
4255 | if test x$enableval = xyes -o x$enableval = xno; then |
4284 | if test x$enableval = xyes -o x$enableval = xno; then |
4256 | support_mouseslipwheel=$enableval |
4285 | support_mouseslipwheel=$enableval |
4257 | fi |
4286 | fi |
4258 | fi; |
4287 | fi; |
4259 | |
4288 | |
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. |
4289 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4283 | if test "${enable_smart_resize+set}" = set; then |
4290 | if test "${enable_smart_resize+set}" = set; then |
4284 | enableval="$enable_smart_resize" |
4291 | enableval="$enable_smart_resize" |
4285 | if test x$enableval = xyes; then |
4292 | if test x$enableval = xyes; then |
4286 | |
4293 | |
4287 | cat >>confdefs.h <<\_ACEOF |
4294 | cat >>confdefs.h <<\_ACEOF |
4288 | #define SMART_RESIZE 1 |
4295 | #define SMART_RESIZE 1 |
4289 | _ACEOF |
4296 | _ACEOF |
4290 | |
4297 | |
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 |
4298 | fi |
4300 | fi; |
4299 | fi; |
4301 | |
4300 | |
4302 | # Check whether --enable-text-blink or --disable-text-blink was given. |
4301 | # Check whether --enable-text-blink or --disable-text-blink was given. |
4303 | if test "${enable_text_blink+set}" = set; then |
4302 | if test "${enable_text_blink+set}" = set; then |
… | |
… | |
4339 | _ACEOF |
4338 | _ACEOF |
4340 | terminfo="$withval" |
4339 | terminfo="$withval" |
4341 | fi |
4340 | fi |
4342 | fi; |
4341 | fi; |
4343 | |
4342 | |
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 | |
4343 | |
4670 | # Extract the first word of "tic", so it can be a program name with args. |
4344 | # Extract the first word of "tic", so it can be a program name with args. |
4671 | set dummy tic; ac_word=$2 |
4345 | set dummy tic; ac_word=$2 |
4672 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4346 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4673 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4347 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
4707 | fi |
4381 | fi |
4708 | |
4382 | |
4709 | |
4383 | |
4710 | |
4384 | |
4711 | |
4385 | |
|
|
4386 | ac_ext=cc |
|
|
4387 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4388 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4389 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4390 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4391 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4392 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
4393 | if test -z "$CXXCPP"; then |
|
|
4394 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4395 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4396 | else |
|
|
4397 | # Double quotes because CXXCPP needs to be expanded |
|
|
4398 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4399 | do |
|
|
4400 | ac_preproc_ok=false |
|
|
4401 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4402 | do |
|
|
4403 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4404 | # with a fresh cross-compiler works. |
|
|
4405 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4406 | # <limits.h> exists even on freestanding compilers. |
|
|
4407 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4408 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4409 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4410 | /* confdefs.h. */ |
|
|
4411 | _ACEOF |
|
|
4412 | cat confdefs.h >>conftest.$ac_ext |
|
|
4413 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4414 | /* end confdefs.h. */ |
|
|
4415 | #ifdef __STDC__ |
|
|
4416 | # include <limits.h> |
|
|
4417 | #else |
|
|
4418 | # include <assert.h> |
|
|
4419 | #endif |
|
|
4420 | Syntax error |
|
|
4421 | _ACEOF |
|
|
4422 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4423 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4424 | ac_status=$? |
|
|
4425 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4426 | rm -f conftest.er1 |
|
|
4427 | cat conftest.err >&5 |
|
|
4428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4429 | (exit $ac_status); } >/dev/null; then |
|
|
4430 | if test -s conftest.err; then |
|
|
4431 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4432 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4433 | else |
|
|
4434 | ac_cpp_err= |
|
|
4435 | fi |
|
|
4436 | else |
|
|
4437 | ac_cpp_err=yes |
|
|
4438 | fi |
|
|
4439 | if test -z "$ac_cpp_err"; then |
|
|
4440 | : |
|
|
4441 | else |
|
|
4442 | echo "$as_me: failed program was:" >&5 |
|
|
4443 | sed 's/^/| /' conftest.$ac_ext >&5 |
4712 | |
4444 | |
4713 | if test "x$ac_path_x_has_been_run" != xyes; then |
4445 | # Broken: fails on valid input. |
|
|
4446 | continue |
|
|
4447 | fi |
|
|
4448 | rm -f conftest.err conftest.$ac_ext |
|
|
4449 | |
|
|
4450 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4451 | # can be detected and how. |
|
|
4452 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4453 | /* confdefs.h. */ |
|
|
4454 | _ACEOF |
|
|
4455 | cat confdefs.h >>conftest.$ac_ext |
|
|
4456 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4457 | /* end confdefs.h. */ |
|
|
4458 | #include <ac_nonexistent.h> |
|
|
4459 | _ACEOF |
|
|
4460 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4461 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4462 | ac_status=$? |
|
|
4463 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4464 | rm -f conftest.er1 |
|
|
4465 | cat conftest.err >&5 |
|
|
4466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4467 | (exit $ac_status); } >/dev/null; then |
|
|
4468 | if test -s conftest.err; then |
|
|
4469 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4470 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4471 | else |
|
|
4472 | ac_cpp_err= |
|
|
4473 | fi |
|
|
4474 | else |
|
|
4475 | ac_cpp_err=yes |
|
|
4476 | fi |
|
|
4477 | if test -z "$ac_cpp_err"; then |
|
|
4478 | # Broken: success on invalid input. |
|
|
4479 | continue |
|
|
4480 | else |
|
|
4481 | echo "$as_me: failed program was:" >&5 |
|
|
4482 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4483 | |
|
|
4484 | # Passes both tests. |
|
|
4485 | ac_preproc_ok=: |
|
|
4486 | break |
|
|
4487 | fi |
|
|
4488 | rm -f conftest.err conftest.$ac_ext |
|
|
4489 | |
|
|
4490 | done |
|
|
4491 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4492 | rm -f conftest.err conftest.$ac_ext |
|
|
4493 | if $ac_preproc_ok; then |
|
|
4494 | break |
|
|
4495 | fi |
|
|
4496 | |
|
|
4497 | done |
|
|
4498 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4499 | |
|
|
4500 | fi |
|
|
4501 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
4502 | else |
|
|
4503 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4504 | fi |
|
|
4505 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
4506 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
4507 | ac_preproc_ok=false |
|
|
4508 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4509 | do |
|
|
4510 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4511 | # with a fresh cross-compiler works. |
|
|
4512 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4513 | # <limits.h> exists even on freestanding compilers. |
|
|
4514 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4515 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4516 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4517 | /* confdefs.h. */ |
|
|
4518 | _ACEOF |
|
|
4519 | cat confdefs.h >>conftest.$ac_ext |
|
|
4520 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4521 | /* end confdefs.h. */ |
|
|
4522 | #ifdef __STDC__ |
|
|
4523 | # include <limits.h> |
|
|
4524 | #else |
|
|
4525 | # include <assert.h> |
|
|
4526 | #endif |
|
|
4527 | Syntax error |
|
|
4528 | _ACEOF |
|
|
4529 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4530 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4531 | ac_status=$? |
|
|
4532 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4533 | rm -f conftest.er1 |
|
|
4534 | cat conftest.err >&5 |
|
|
4535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4536 | (exit $ac_status); } >/dev/null; then |
|
|
4537 | if test -s conftest.err; then |
|
|
4538 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4539 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4540 | else |
|
|
4541 | ac_cpp_err= |
|
|
4542 | fi |
|
|
4543 | else |
|
|
4544 | ac_cpp_err=yes |
|
|
4545 | fi |
|
|
4546 | if test -z "$ac_cpp_err"; then |
|
|
4547 | : |
|
|
4548 | else |
|
|
4549 | echo "$as_me: failed program was:" >&5 |
|
|
4550 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4551 | |
|
|
4552 | # Broken: fails on valid input. |
|
|
4553 | continue |
|
|
4554 | fi |
|
|
4555 | rm -f conftest.err conftest.$ac_ext |
|
|
4556 | |
|
|
4557 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4558 | # can be detected and how. |
|
|
4559 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4560 | /* confdefs.h. */ |
|
|
4561 | _ACEOF |
|
|
4562 | cat confdefs.h >>conftest.$ac_ext |
|
|
4563 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4564 | /* end confdefs.h. */ |
|
|
4565 | #include <ac_nonexistent.h> |
|
|
4566 | _ACEOF |
|
|
4567 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4568 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4569 | ac_status=$? |
|
|
4570 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4571 | rm -f conftest.er1 |
|
|
4572 | cat conftest.err >&5 |
|
|
4573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4574 | (exit $ac_status); } >/dev/null; then |
|
|
4575 | if test -s conftest.err; then |
|
|
4576 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4577 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4578 | else |
|
|
4579 | ac_cpp_err= |
|
|
4580 | fi |
|
|
4581 | else |
|
|
4582 | ac_cpp_err=yes |
|
|
4583 | fi |
|
|
4584 | if test -z "$ac_cpp_err"; then |
|
|
4585 | # Broken: success on invalid input. |
|
|
4586 | continue |
|
|
4587 | else |
|
|
4588 | echo "$as_me: failed program was:" >&5 |
|
|
4589 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4590 | |
|
|
4591 | # Passes both tests. |
|
|
4592 | ac_preproc_ok=: |
|
|
4593 | break |
|
|
4594 | fi |
|
|
4595 | rm -f conftest.err conftest.$ac_ext |
|
|
4596 | |
|
|
4597 | done |
|
|
4598 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4599 | rm -f conftest.err conftest.$ac_ext |
|
|
4600 | if $ac_preproc_ok; then |
|
|
4601 | : |
|
|
4602 | else |
|
|
4603 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4604 | See \`config.log' for more details." >&5 |
|
|
4605 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4606 | See \`config.log' for more details." >&2;} |
|
|
4607 | { (exit 1); exit 1; }; } |
|
|
4608 | fi |
|
|
4609 | |
|
|
4610 | ac_ext=cc |
|
|
4611 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4612 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4613 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4614 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4615 | |
|
|
4616 | |
4714 | echo "$as_me:$LINENO: checking for X" >&5 |
4617 | echo "$as_me:$LINENO: checking for X" >&5 |
4715 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4618 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4716 | |
4619 | |
4717 | ac_path_x_has_been_run=yes |
|
|
4718 | |
4620 | |
4719 | # Check whether --with-x or --without-x was given. |
4621 | # Check whether --with-x or --without-x was given. |
4720 | if test "${with_x+set}" = set; then |
4622 | if test "${with_x+set}" = set; then |
4721 | withval="$with_x" |
4623 | withval="$with_x" |
4722 | |
4624 | |
… | |
… | |
4805 | |
4707 | |
4806 | /usr/openwin/include |
4708 | /usr/openwin/include |
4807 | /usr/openwin/share/include' |
4709 | /usr/openwin/share/include' |
4808 | |
4710 | |
4809 | if test "$ac_x_includes" = no; then |
4711 | if test "$ac_x_includes" = no; then |
4810 | # Guess where to find include files, by looking for a specified header file. |
4712 | # Guess where to find include files, by looking for Intrinsic.h. |
4811 | # First, try using that file with no special directory specified. |
4713 | # First, try using that file with no special directory specified. |
4812 | cat >conftest.$ac_ext <<_ACEOF |
4714 | cat >conftest.$ac_ext <<_ACEOF |
4813 | /* confdefs.h. */ |
4715 | /* confdefs.h. */ |
4814 | _ACEOF |
4716 | _ACEOF |
4815 | cat confdefs.h >>conftest.$ac_ext |
4717 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
4879 | grep -v '^ *+' conftest.er1 >conftest.err |
4781 | grep -v '^ *+' conftest.er1 >conftest.err |
4880 | rm -f conftest.er1 |
4782 | rm -f conftest.er1 |
4881 | cat conftest.err >&5 |
4783 | cat conftest.err >&5 |
4882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4883 | (exit $ac_status); } && |
4785 | (exit $ac_status); } && |
4884 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4786 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4787 | || test ! -s conftest.err' |
4885 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4886 | (eval $ac_try) 2>&5 |
4789 | (eval $ac_try) 2>&5 |
4887 | ac_status=$? |
4790 | ac_status=$? |
4888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4889 | (exit $ac_status); }; } && |
4792 | (exit $ac_status); }; } && |
… | |
… | |
4939 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4842 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4940 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4843 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4941 | # Update the cache value to reflect the command line values. |
4844 | # Update the cache value to reflect the command line values. |
4942 | ac_cv_have_x="have_x=yes \ |
4845 | ac_cv_have_x="have_x=yes \ |
4943 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
4846 | 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 |
4847 | 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 |
4848 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
4950 | fi |
4849 | fi |
4951 | |
4850 | |
4952 | fi |
|
|
4953 | if test "$no_x" = yes; then |
4851 | if test "$no_x" = yes; then |
4954 | # Not all programs may use this symbol, but it does not hurt to define it. |
4852 | # Not all programs may use this symbol, but it does not hurt to define it. |
4955 | |
4853 | |
4956 | cat >>confdefs.h <<\_ACEOF |
4854 | cat >>confdefs.h <<\_ACEOF |
4957 | #define X_DISPLAY_MISSING 1 |
4855 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
4995 | grep -v '^ *+' conftest.er1 >conftest.err |
4893 | grep -v '^ *+' conftest.er1 >conftest.err |
4996 | rm -f conftest.er1 |
4894 | rm -f conftest.er1 |
4997 | cat conftest.err >&5 |
4895 | cat conftest.err >&5 |
4998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4999 | (exit $ac_status); } && |
4897 | (exit $ac_status); } && |
5000 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4898 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4899 | || test ! -s conftest.err' |
5001 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4900 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5002 | (eval $ac_try) 2>&5 |
4901 | (eval $ac_try) 2>&5 |
5003 | ac_status=$? |
4902 | ac_status=$? |
5004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5005 | (exit $ac_status); }; } && |
4904 | (exit $ac_status); }; } && |
… | |
… | |
5046 | grep -v '^ *+' conftest.er1 >conftest.err |
4945 | grep -v '^ *+' conftest.er1 >conftest.err |
5047 | rm -f conftest.er1 |
4946 | rm -f conftest.er1 |
5048 | cat conftest.err >&5 |
4947 | cat conftest.err >&5 |
5049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5050 | (exit $ac_status); } && |
4949 | (exit $ac_status); } && |
5051 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4950 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4951 | || test ! -s conftest.err' |
5052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4952 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5053 | (eval $ac_try) 2>&5 |
4953 | (eval $ac_try) 2>&5 |
5054 | ac_status=$? |
4954 | ac_status=$? |
5055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5056 | (exit $ac_status); }; } && |
4956 | (exit $ac_status); }; } && |
… | |
… | |
5122 | grep -v '^ *+' conftest.er1 >conftest.err |
5022 | grep -v '^ *+' conftest.er1 >conftest.err |
5123 | rm -f conftest.er1 |
5023 | rm -f conftest.er1 |
5124 | cat conftest.err >&5 |
5024 | cat conftest.err >&5 |
5125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5126 | (exit $ac_status); } && |
5026 | (exit $ac_status); } && |
5127 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5027 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5028 | || test ! -s conftest.err' |
5128 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5029 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5129 | (eval $ac_try) 2>&5 |
5030 | (eval $ac_try) 2>&5 |
5130 | ac_status=$? |
5031 | ac_status=$? |
5131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5132 | (exit $ac_status); }; } && |
5033 | (exit $ac_status); }; } && |
… | |
… | |
5177 | grep -v '^ *+' conftest.er1 >conftest.err |
5078 | grep -v '^ *+' conftest.er1 >conftest.err |
5178 | rm -f conftest.er1 |
5079 | rm -f conftest.er1 |
5179 | cat conftest.err >&5 |
5080 | cat conftest.err >&5 |
5180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5181 | (exit $ac_status); } && |
5082 | (exit $ac_status); } && |
5182 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5083 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5084 | || test ! -s conftest.err' |
5183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5184 | (eval $ac_try) 2>&5 |
5086 | (eval $ac_try) 2>&5 |
5185 | ac_status=$? |
5087 | ac_status=$? |
5186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5187 | (exit $ac_status); }; } && |
5089 | (exit $ac_status); }; } && |
… | |
… | |
5245 | grep -v '^ *+' conftest.er1 >conftest.err |
5147 | grep -v '^ *+' conftest.er1 >conftest.err |
5246 | rm -f conftest.er1 |
5148 | rm -f conftest.er1 |
5247 | cat conftest.err >&5 |
5149 | cat conftest.err >&5 |
5248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5249 | (exit $ac_status); } && |
5151 | (exit $ac_status); } && |
5250 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5152 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5153 | || test ! -s conftest.err' |
5251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5252 | (eval $ac_try) 2>&5 |
5155 | (eval $ac_try) 2>&5 |
5253 | ac_status=$? |
5156 | ac_status=$? |
5254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5255 | (exit $ac_status); }; } && |
5158 | (exit $ac_status); }; } && |
… | |
… | |
5353 | grep -v '^ *+' conftest.er1 >conftest.err |
5256 | grep -v '^ *+' conftest.er1 >conftest.err |
5354 | rm -f conftest.er1 |
5257 | rm -f conftest.er1 |
5355 | cat conftest.err >&5 |
5258 | cat conftest.err >&5 |
5356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5357 | (exit $ac_status); } && |
5260 | (exit $ac_status); } && |
5358 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5261 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5262 | || test ! -s conftest.err' |
5359 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5263 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5360 | (eval $ac_try) 2>&5 |
5264 | (eval $ac_try) 2>&5 |
5361 | ac_status=$? |
5265 | ac_status=$? |
5362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5363 | (exit $ac_status); }; } && |
5267 | (exit $ac_status); }; } && |
… | |
… | |
5417 | grep -v '^ *+' conftest.er1 >conftest.err |
5321 | grep -v '^ *+' conftest.er1 >conftest.err |
5418 | rm -f conftest.er1 |
5322 | rm -f conftest.er1 |
5419 | cat conftest.err >&5 |
5323 | cat conftest.err >&5 |
5420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5421 | (exit $ac_status); } && |
5325 | (exit $ac_status); } && |
5422 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5326 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5327 | || test ! -s conftest.err' |
5423 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5328 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5424 | (eval $ac_try) 2>&5 |
5329 | (eval $ac_try) 2>&5 |
5425 | ac_status=$? |
5330 | ac_status=$? |
5426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5427 | (exit $ac_status); }; } && |
5332 | (exit $ac_status); }; } && |
… | |
… | |
5485 | grep -v '^ *+' conftest.er1 >conftest.err |
5390 | grep -v '^ *+' conftest.er1 >conftest.err |
5486 | rm -f conftest.er1 |
5391 | rm -f conftest.er1 |
5487 | cat conftest.err >&5 |
5392 | cat conftest.err >&5 |
5488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5393 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5489 | (exit $ac_status); } && |
5394 | (exit $ac_status); } && |
5490 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5395 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5396 | || test ! -s conftest.err' |
5491 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5397 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5492 | (eval $ac_try) 2>&5 |
5398 | (eval $ac_try) 2>&5 |
5493 | ac_status=$? |
5399 | ac_status=$? |
5494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5495 | (exit $ac_status); }; } && |
5401 | (exit $ac_status); }; } && |
… | |
… | |
5589 | grep -v '^ *+' conftest.er1 >conftest.err |
5495 | grep -v '^ *+' conftest.er1 >conftest.err |
5590 | rm -f conftest.er1 |
5496 | rm -f conftest.er1 |
5591 | cat conftest.err >&5 |
5497 | cat conftest.err >&5 |
5592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5593 | (exit $ac_status); } && |
5499 | (exit $ac_status); } && |
5594 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5500 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5501 | || test ! -s conftest.err' |
5595 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5502 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5596 | (eval $ac_try) 2>&5 |
5503 | (eval $ac_try) 2>&5 |
5597 | ac_status=$? |
5504 | ac_status=$? |
5598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5599 | (exit $ac_status); }; } && |
5506 | (exit $ac_status); }; } && |
… | |
… | |
5653 | grep -v '^ *+' conftest.er1 >conftest.err |
5560 | grep -v '^ *+' conftest.er1 >conftest.err |
5654 | rm -f conftest.er1 |
5561 | rm -f conftest.er1 |
5655 | cat conftest.err >&5 |
5562 | cat conftest.err >&5 |
5656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5657 | (exit $ac_status); } && |
5564 | (exit $ac_status); } && |
5658 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5565 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5566 | || test ! -s conftest.err' |
5659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5660 | (eval $ac_try) 2>&5 |
5568 | (eval $ac_try) 2>&5 |
5661 | ac_status=$? |
5569 | ac_status=$? |
5662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5663 | (exit $ac_status); }; } && |
5571 | (exit $ac_status); }; } && |
… | |
… | |
5750 | grep -v '^ *+' conftest.er1 >conftest.err |
5658 | grep -v '^ *+' conftest.er1 >conftest.err |
5751 | rm -f conftest.er1 |
5659 | rm -f conftest.er1 |
5752 | cat conftest.err >&5 |
5660 | cat conftest.err >&5 |
5753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5754 | (exit $ac_status); } && |
5662 | (exit $ac_status); } && |
5755 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5663 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5664 | || test ! -s conftest.err' |
5756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5757 | (eval $ac_try) 2>&5 |
5666 | (eval $ac_try) 2>&5 |
5758 | ac_status=$? |
5667 | ac_status=$? |
5759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5760 | (exit $ac_status); }; } && |
5669 | (exit $ac_status); }; } && |
… | |
… | |
5814 | grep -v '^ *+' conftest.er1 >conftest.err |
5723 | grep -v '^ *+' conftest.er1 >conftest.err |
5815 | rm -f conftest.er1 |
5724 | rm -f conftest.er1 |
5816 | cat conftest.err >&5 |
5725 | cat conftest.err >&5 |
5817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5818 | (exit $ac_status); } && |
5727 | (exit $ac_status); } && |
5819 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5728 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5729 | || test ! -s conftest.err' |
5820 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5821 | (eval $ac_try) 2>&5 |
5731 | (eval $ac_try) 2>&5 |
5822 | ac_status=$? |
5732 | ac_status=$? |
5823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5824 | (exit $ac_status); }; } && |
5734 | (exit $ac_status); }; } && |
… | |
… | |
5911 | grep -v '^ *+' conftest.er1 >conftest.err |
5821 | grep -v '^ *+' conftest.er1 >conftest.err |
5912 | rm -f conftest.er1 |
5822 | rm -f conftest.er1 |
5913 | cat conftest.err >&5 |
5823 | cat conftest.err >&5 |
5914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5915 | (exit $ac_status); } && |
5825 | (exit $ac_status); } && |
5916 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5826 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5827 | || test ! -s conftest.err' |
5917 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5918 | (eval $ac_try) 2>&5 |
5829 | (eval $ac_try) 2>&5 |
5919 | ac_status=$? |
5830 | ac_status=$? |
5920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5921 | (exit $ac_status); }; } && |
5832 | (exit $ac_status); }; } && |
… | |
… | |
5975 | grep -v '^ *+' conftest.er1 >conftest.err |
5886 | grep -v '^ *+' conftest.er1 >conftest.err |
5976 | rm -f conftest.er1 |
5887 | rm -f conftest.er1 |
5977 | cat conftest.err >&5 |
5888 | cat conftest.err >&5 |
5978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5979 | (exit $ac_status); } && |
5890 | (exit $ac_status); } && |
5980 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5891 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5892 | || test ! -s conftest.err' |
5981 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5893 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5982 | (eval $ac_try) 2>&5 |
5894 | (eval $ac_try) 2>&5 |
5983 | ac_status=$? |
5895 | ac_status=$? |
5984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5985 | (exit $ac_status); }; } && |
5897 | (exit $ac_status); }; } && |
… | |
… | |
6054 | grep -v '^ *+' conftest.er1 >conftest.err |
5966 | grep -v '^ *+' conftest.er1 >conftest.err |
6055 | rm -f conftest.er1 |
5967 | rm -f conftest.er1 |
6056 | cat conftest.err >&5 |
5968 | cat conftest.err >&5 |
6057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6058 | (exit $ac_status); } && |
5970 | (exit $ac_status); } && |
6059 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5971 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5972 | || test ! -s conftest.err' |
6060 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5973 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6061 | (eval $ac_try) 2>&5 |
5974 | (eval $ac_try) 2>&5 |
6062 | ac_status=$? |
5975 | ac_status=$? |
6063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6064 | (exit $ac_status); }; } && |
5977 | (exit $ac_status); }; } && |
… | |
… | |
6089 | |
6002 | |
6090 | fi |
6003 | fi |
6091 | |
6004 | |
6092 | |
6005 | |
6093 | |
6006 | |
|
|
6007 | LIBAFTERIMAGE_CFLAGS= |
|
|
6008 | AFTERIMAGE_LIBS= |
|
|
6009 | have_afterimage= |
|
|
6010 | |
6094 | if test x$support_xpm = xyes; then |
6011 | if test x$support_afterimage = xyes; then |
|
|
6012 | support_afterimage=no |
|
|
6013 | |
|
|
6014 | if test "x$afterimage_config" = "x" ; then |
|
|
6015 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6016 | set dummy afterimage-config; ac_word=$2 |
|
|
6017 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6018 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
6019 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
|
|
6020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6021 | else |
|
|
6022 | case $afterimage_config in |
|
|
6023 | [\\/]* | ?:[\\/]*) |
|
|
6024 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6025 | ;; |
|
|
6026 | *) |
|
|
6027 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6028 | for as_dir in $PATH |
|
|
6029 | do |
|
|
6030 | IFS=$as_save_IFS |
|
|
6031 | test -z "$as_dir" && as_dir=. |
|
|
6032 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6033 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
6034 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6035 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6036 | break 2 |
|
|
6037 | fi |
|
|
6038 | done |
|
|
6039 | done |
|
|
6040 | |
|
|
6041 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6042 | ;; |
|
|
6043 | esac |
|
|
6044 | fi |
|
|
6045 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6046 | |
|
|
6047 | if test -n "$afterimage_config"; then |
|
|
6048 | echo "$as_me:$LINENO: result: $afterimage_config" >&5 |
|
|
6049 | echo "${ECHO_T}$afterimage_config" >&6 |
|
|
6050 | else |
|
|
6051 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6052 | echo "${ECHO_T}no" >&6 |
|
|
6053 | fi |
|
|
6054 | |
|
|
6055 | fi |
|
|
6056 | |
|
|
6057 | echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
|
|
6058 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6 |
|
|
6059 | if $afterimage_config --version >/dev/null 2>&1 ; then |
|
|
6060 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6061 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6062 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
|
|
6063 | support_afterimage=yes |
|
|
6064 | fi |
|
|
6065 | fi |
|
|
6066 | |
|
|
6067 | if test "x$support_afterimage" = "xyes"; then |
|
|
6068 | echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6069 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6 |
|
|
6070 | else |
|
|
6071 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6072 | echo "${ECHO_T}no" >&6 |
|
|
6073 | fi |
|
|
6074 | fi |
|
|
6075 | |
|
|
6076 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
6095 | |
6077 | |
6096 | |
6078 | |
6097 | |
6079 | |
6098 | # Initialize some more variables set by options. |
6080 | # Initialize some more variables set by options. |
6099 | # The variables have the same names as the options, with |
6081 | # The variables have the same names as the options, with |
… | |
… | |
6270 | grep -v '^ *+' conftest.er1 >conftest.err |
6252 | grep -v '^ *+' conftest.er1 >conftest.err |
6271 | rm -f conftest.er1 |
6253 | rm -f conftest.er1 |
6272 | cat conftest.err >&5 |
6254 | cat conftest.err >&5 |
6273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6274 | (exit $ac_status); } && |
6256 | (exit $ac_status); } && |
6275 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6257 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6258 | || test ! -s conftest.err' |
6276 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6277 | (eval $ac_try) 2>&5 |
6260 | (eval $ac_try) 2>&5 |
6278 | ac_status=$? |
6261 | ac_status=$? |
6279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6280 | (exit $ac_status); }; } && |
6263 | (exit $ac_status); }; } && |
… | |
… | |
6484 | grep -v '^ *+' conftest.er1 >conftest.err |
6467 | grep -v '^ *+' conftest.er1 >conftest.err |
6485 | rm -f conftest.er1 |
6468 | rm -f conftest.er1 |
6486 | cat conftest.err >&5 |
6469 | cat conftest.err >&5 |
6487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6488 | (exit $ac_status); } && |
6471 | (exit $ac_status); } && |
6489 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6472 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6473 | || test ! -s conftest.err' |
6490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6474 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6491 | (eval $ac_try) 2>&5 |
6475 | (eval $ac_try) 2>&5 |
6492 | ac_status=$? |
6476 | ac_status=$? |
6493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6494 | (exit $ac_status); }; } && |
6478 | (exit $ac_status); }; } && |
… | |
… | |
6548 | grep -v '^ *+' conftest.er1 >conftest.err |
6532 | grep -v '^ *+' conftest.er1 >conftest.err |
6549 | rm -f conftest.er1 |
6533 | rm -f conftest.er1 |
6550 | cat conftest.err >&5 |
6534 | cat conftest.err >&5 |
6551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6552 | (exit $ac_status); } && |
6536 | (exit $ac_status); } && |
6553 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6537 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6538 | || test ! -s conftest.err' |
6554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6555 | (eval $ac_try) 2>&5 |
6540 | (eval $ac_try) 2>&5 |
6556 | ac_status=$? |
6541 | ac_status=$? |
6557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6558 | (exit $ac_status); }; } && |
6543 | (exit $ac_status); }; } && |
… | |
… | |
6718 | grep -v '^ *+' conftest.er1 >conftest.err |
6703 | grep -v '^ *+' conftest.er1 >conftest.err |
6719 | rm -f conftest.er1 |
6704 | rm -f conftest.er1 |
6720 | cat conftest.err >&5 |
6705 | cat conftest.err >&5 |
6721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6722 | (exit $ac_status); } && |
6707 | (exit $ac_status); } && |
6723 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6708 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6709 | || test ! -s conftest.err' |
6724 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6725 | (eval $ac_try) 2>&5 |
6711 | (eval $ac_try) 2>&5 |
6726 | ac_status=$? |
6712 | ac_status=$? |
6727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6728 | (exit $ac_status); }; } && |
6714 | (exit $ac_status); }; } && |
… | |
… | |
6768 | |
6754 | |
6769 | |
6755 | |
6770 | |
6756 | |
6771 | |
6757 | |
6772 | |
6758 | |
6773 | |
|
|
6774 | |
|
|
6775 | |
|
|
6776 | |
|
|
6777 | |
|
|
6778 | |
|
|
6779 | |
|
|
6780 | for ac_header in \ |
6759 | for ac_header in \ |
6781 | assert.h \ |
6760 | assert.h \ |
6782 | fcntl.h \ |
6761 | fcntl.h \ |
6783 | grp.h \ |
|
|
6784 | libc.h \ |
|
|
6785 | lastlog.h \ |
|
|
6786 | stdarg.h \ |
6762 | stdarg.h \ |
6787 | stdlib.h \ |
6763 | stdlib.h \ |
6788 | string.h \ |
6764 | string.h \ |
6789 | termios.h \ |
6765 | termios.h \ |
6790 | unistd.h \ |
6766 | unistd.h \ |
6791 | sys/byteorder.h \ |
6767 | sys/byteorder.h \ |
6792 | sys/ioctl.h \ |
6768 | sys/ioctl.h \ |
6793 | sys/select.h \ |
6769 | sys/select.h \ |
6794 | sys/sockio.h \ |
6770 | sys/sockio.h \ |
6795 | sys/strredir.h \ |
6771 | sys/strredir.h \ |
6796 | sys/stropts.h \ |
|
|
6797 | sys/time.h \ |
6772 | sys/time.h \ |
6798 | utmp.h \ |
6773 | stdint.h \ |
6799 | utmpx.h \ |
6774 | wchar.h \ |
6800 | stdint.h \ |
6775 | cwchar \ |
6801 | pty.h \ |
6776 | clocale \ |
6802 | wchar.h \ |
|
|
6803 | cwchar \ |
|
|
6804 | clocale \ |
|
|
6805 | |
6777 | |
6806 | do |
6778 | do |
6807 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6779 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6808 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6780 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6809 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6781 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
6833 | grep -v '^ *+' conftest.er1 >conftest.err |
6805 | grep -v '^ *+' conftest.er1 >conftest.err |
6834 | rm -f conftest.er1 |
6806 | rm -f conftest.er1 |
6835 | cat conftest.err >&5 |
6807 | cat conftest.err >&5 |
6836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6837 | (exit $ac_status); } && |
6809 | (exit $ac_status); } && |
6838 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6810 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6811 | || test ! -s conftest.err' |
6839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6840 | (eval $ac_try) 2>&5 |
6813 | (eval $ac_try) 2>&5 |
6841 | ac_status=$? |
6814 | ac_status=$? |
6842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6843 | (exit $ac_status); }; } && |
6816 | (exit $ac_status); }; } && |
… | |
… | |
6982 | grep -v '^ *+' conftest.er1 >conftest.err |
6955 | grep -v '^ *+' conftest.er1 >conftest.err |
6983 | rm -f conftest.er1 |
6956 | rm -f conftest.er1 |
6984 | cat conftest.err >&5 |
6957 | cat conftest.err >&5 |
6985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6986 | (exit $ac_status); } && |
6959 | (exit $ac_status); } && |
6987 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6960 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6961 | || test ! -s conftest.err' |
6988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6989 | (eval $ac_try) 2>&5 |
6963 | (eval $ac_try) 2>&5 |
6990 | ac_status=$? |
6964 | ac_status=$? |
6991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6992 | (exit $ac_status); }; } && |
6966 | (exit $ac_status); }; } && |
… | |
… | |
7047 | grep -v '^ *+' conftest.er1 >conftest.err |
7021 | grep -v '^ *+' conftest.er1 >conftest.err |
7048 | rm -f conftest.er1 |
7022 | rm -f conftest.er1 |
7049 | cat conftest.err >&5 |
7023 | cat conftest.err >&5 |
7050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7051 | (exit $ac_status); } && |
7025 | (exit $ac_status); } && |
7052 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7026 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7027 | || test ! -s conftest.err' |
7053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7028 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7054 | (eval $ac_try) 2>&5 |
7029 | (eval $ac_try) 2>&5 |
7055 | ac_status=$? |
7030 | ac_status=$? |
7056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7057 | (exit $ac_status); }; } && |
7032 | (exit $ac_status); }; } && |
… | |
… | |
7070 | fi |
7045 | fi |
7071 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7046 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7072 | fi |
7047 | fi |
7073 | echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7048 | echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7074 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 |
7049 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 |
7075 | |
|
|
7076 | if test -n "$GCC"; then |
|
|
7077 | LDARG="-Wl," |
|
|
7078 | else |
|
|
7079 | LDARG="" |
|
|
7080 | fi |
|
|
7081 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g' |
|
|
7082 | |
|
|
7083 | ac_save_CFLAGS=$CFLAGS |
|
|
7084 | ac_save_LIBS=$LIBS |
|
|
7085 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
7086 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7087 | echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5 |
|
|
7088 | echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6 |
|
|
7089 | if test "${rxvt_cv_rpath+set}" = set; then |
|
|
7090 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7091 | else |
|
|
7092 | if test "$cross_compiling" = yes; then |
|
|
7093 | { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5 |
|
|
7094 | echo "$as_me: WARNING: You may need to check the LIBS line" >&2;} |
|
|
7095 | else |
|
|
7096 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7097 | /* confdefs.h. */ |
|
|
7098 | _ACEOF |
|
|
7099 | cat confdefs.h >>conftest.$ac_ext |
|
|
7100 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7101 | /* end confdefs.h. */ |
|
|
7102 | |
|
|
7103 | main() |
|
|
7104 | { |
|
|
7105 | exit(0); |
|
|
7106 | (void) XOpenDisplay("foobar"); |
|
|
7107 | } |
|
|
7108 | _ACEOF |
|
|
7109 | rm -f conftest$ac_exeext |
|
|
7110 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7111 | (eval $ac_link) 2>&5 |
|
|
7112 | ac_status=$? |
|
|
7113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7114 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7115 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7116 | (eval $ac_try) 2>&5 |
|
|
7117 | ac_status=$? |
|
|
7118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7119 | (exit $ac_status); }; }; then |
|
|
7120 | rxvt_cv_rpath=yes |
|
|
7121 | else |
|
|
7122 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7123 | echo "$as_me: failed program was:" >&5 |
|
|
7124 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7125 | |
|
|
7126 | ( exit $ac_status ) |
|
|
7127 | rxvt_cv_rpath=no |
|
|
7128 | fi |
|
|
7129 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7130 | fi |
|
|
7131 | fi |
|
|
7132 | echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5 |
|
|
7133 | echo "${ECHO_T}$rxvt_cv_rpath" >&6 |
|
|
7134 | if test x$rxvt_cv_rpath != xyes; then |
|
|
7135 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
|
|
7136 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7137 | echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5 |
|
|
7138 | echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6 |
|
|
7139 | if test "${rxvt_cv_R+set}" = set; then |
|
|
7140 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7141 | else |
|
|
7142 | if test "$cross_compiling" = yes; then |
|
|
7143 | rxvt_cv_R=no |
|
|
7144 | else |
|
|
7145 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7146 | /* confdefs.h. */ |
|
|
7147 | _ACEOF |
|
|
7148 | cat confdefs.h >>conftest.$ac_ext |
|
|
7149 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7150 | /* end confdefs.h. */ |
|
|
7151 | |
|
|
7152 | main() |
|
|
7153 | { |
|
|
7154 | exit(0); |
|
|
7155 | (void) XOpenDisplay("foobar"); |
|
|
7156 | } |
|
|
7157 | _ACEOF |
|
|
7158 | rm -f conftest$ac_exeext |
|
|
7159 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7160 | (eval $ac_link) 2>&5 |
|
|
7161 | ac_status=$? |
|
|
7162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7163 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7164 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7165 | (eval $ac_try) 2>&5 |
|
|
7166 | ac_status=$? |
|
|
7167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7168 | (exit $ac_status); }; }; then |
|
|
7169 | rxvt_cv_R=yes |
|
|
7170 | else |
|
|
7171 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7172 | echo "$as_me: failed program was:" >&5 |
|
|
7173 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7174 | |
|
|
7175 | ( exit $ac_status ) |
|
|
7176 | rxvt_cv_R=no |
|
|
7177 | fi |
|
|
7178 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7179 | fi |
|
|
7180 | fi |
|
|
7181 | echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5 |
|
|
7182 | echo "${ECHO_T}$rxvt_cv_R" >&6 |
|
|
7183 | if test x$rxvt_cv_R != xyes; then |
|
|
7184 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
7185 | fi |
|
|
7186 | fi |
|
|
7187 | |
7050 | |
7188 | echo "$as_me:$LINENO: checking for XPointer" >&5 |
7051 | echo "$as_me:$LINENO: checking for XPointer" >&5 |
7189 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 |
7052 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 |
7190 | if test "${rxvt_cv_xpointer+set}" = set; then |
7053 | if test "${rxvt_cv_xpointer+set}" = set; then |
7191 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7054 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7212 | grep -v '^ *+' conftest.er1 >conftest.err |
7075 | grep -v '^ *+' conftest.er1 >conftest.err |
7213 | rm -f conftest.er1 |
7076 | rm -f conftest.er1 |
7214 | cat conftest.err >&5 |
7077 | cat conftest.err >&5 |
7215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7078 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7216 | (exit $ac_status); } && |
7079 | (exit $ac_status); } && |
7217 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7080 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7081 | || test ! -s conftest.err' |
7218 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7219 | (eval $ac_try) 2>&5 |
7083 | (eval $ac_try) 2>&5 |
7220 | ac_status=$? |
7084 | ac_status=$? |
7221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7222 | (exit $ac_status); }; } && |
7086 | (exit $ac_status); }; } && |
… | |
… | |
7242 | cat >>confdefs.h <<\_ACEOF |
7106 | cat >>confdefs.h <<\_ACEOF |
7243 | #define HAVE_XPOINTER 1 |
7107 | #define HAVE_XPOINTER 1 |
7244 | _ACEOF |
7108 | _ACEOF |
7245 | |
7109 | |
7246 | fi |
7110 | fi |
7247 | LIBS=$ac_save_LIBS |
|
|
7248 | CFLAGS=$ac_save_CFLAGS |
|
|
7249 | |
7111 | |
|
|
7112 | echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
7113 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 |
|
|
7114 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
|
|
7115 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7116 | else |
|
|
7117 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7118 | /* confdefs.h. */ |
|
|
7119 | _ACEOF |
|
|
7120 | cat confdefs.h >>conftest.$ac_ext |
|
|
7121 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7122 | /* end confdefs.h. */ |
|
|
7123 | |
|
|
7124 | #define XLIB_ILLEGAL_ACCESS |
|
|
7125 | #include <X11/Xlib.h> |
|
|
7126 | |
|
|
7127 | int |
|
|
7128 | main () |
|
|
7129 | { |
|
|
7130 | |
|
|
7131 | Display *dpy; |
|
|
7132 | dpy->xdefaults = (char *)0; |
|
|
7133 | |
|
|
7134 | ; |
|
|
7135 | return 0; |
|
|
7136 | } |
|
|
7137 | _ACEOF |
|
|
7138 | rm -f conftest.$ac_objext |
|
|
7139 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7140 | (eval $ac_compile) 2>conftest.er1 |
|
|
7141 | ac_status=$? |
|
|
7142 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7143 | rm -f conftest.er1 |
|
|
7144 | cat conftest.err >&5 |
|
|
7145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7146 | (exit $ac_status); } && |
|
|
7147 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7148 | || test ! -s conftest.err' |
|
|
7149 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7150 | (eval $ac_try) 2>&5 |
|
|
7151 | ac_status=$? |
|
|
7152 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7153 | (exit $ac_status); }; } && |
|
|
7154 | { ac_try='test -s conftest.$ac_objext' |
|
|
7155 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7156 | (eval $ac_try) 2>&5 |
|
|
7157 | ac_status=$? |
|
|
7158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7159 | (exit $ac_status); }; }; then |
|
|
7160 | rxvt_xlib_illegal_access=yes |
|
|
7161 | else |
|
|
7162 | echo "$as_me: failed program was:" >&5 |
|
|
7163 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7164 | |
|
|
7165 | rxvt_xlib_illegal_access=no |
|
|
7166 | |
|
|
7167 | fi |
|
|
7168 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7169 | fi |
|
|
7170 | echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
|
|
7171 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6 |
|
|
7172 | if test x$rxvt_xlib_illegal_access = xyes; then |
|
|
7173 | |
|
|
7174 | cat >>confdefs.h <<\_ACEOF |
|
|
7175 | #define XLIB_ILLEGAL_ACCESS 1 |
|
|
7176 | _ACEOF |
|
|
7177 | |
|
|
7178 | fi |
7250 | |
7179 | |
7251 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7180 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7252 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7181 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7253 | if test "${ac_cv_c_const+set}" = set; then |
7182 | if test "${ac_cv_c_const+set}" = set; then |
7254 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7183 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7321 | grep -v '^ *+' conftest.er1 >conftest.err |
7250 | grep -v '^ *+' conftest.er1 >conftest.err |
7322 | rm -f conftest.er1 |
7251 | rm -f conftest.er1 |
7323 | cat conftest.err >&5 |
7252 | cat conftest.err >&5 |
7324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7325 | (exit $ac_status); } && |
7254 | (exit $ac_status); } && |
7326 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7255 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7256 | || test ! -s conftest.err' |
7327 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7257 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7328 | (eval $ac_try) 2>&5 |
7258 | (eval $ac_try) 2>&5 |
7329 | ac_status=$? |
7259 | ac_status=$? |
7330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7331 | (exit $ac_status); }; } && |
7261 | (exit $ac_status); }; } && |
… | |
… | |
7381 | grep -v '^ *+' conftest.er1 >conftest.err |
7311 | grep -v '^ *+' conftest.er1 >conftest.err |
7382 | rm -f conftest.er1 |
7312 | rm -f conftest.er1 |
7383 | cat conftest.err >&5 |
7313 | cat conftest.err >&5 |
7384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7385 | (exit $ac_status); } && |
7315 | (exit $ac_status); } && |
7386 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7316 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7317 | || test ! -s conftest.err' |
7387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7318 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7388 | (eval $ac_try) 2>&5 |
7319 | (eval $ac_try) 2>&5 |
7389 | ac_status=$? |
7320 | ac_status=$? |
7390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7391 | (exit $ac_status); }; } && |
7322 | (exit $ac_status); }; } && |
… | |
… | |
7456 | grep -v '^ *+' conftest.er1 >conftest.err |
7387 | grep -v '^ *+' conftest.er1 >conftest.err |
7457 | rm -f conftest.er1 |
7388 | rm -f conftest.er1 |
7458 | cat conftest.err >&5 |
7389 | cat conftest.err >&5 |
7459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7460 | (exit $ac_status); } && |
7391 | (exit $ac_status); } && |
7461 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7392 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7393 | || test ! -s conftest.err' |
7462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7394 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7463 | (eval $ac_try) 2>&5 |
7395 | (eval $ac_try) 2>&5 |
7464 | ac_status=$? |
7396 | ac_status=$? |
7465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7466 | (exit $ac_status); }; } && |
7398 | (exit $ac_status); }; } && |
… | |
… | |
7521 | grep -v '^ *+' conftest.er1 >conftest.err |
7453 | grep -v '^ *+' conftest.er1 >conftest.err |
7522 | rm -f conftest.er1 |
7454 | rm -f conftest.er1 |
7523 | cat conftest.err >&5 |
7455 | cat conftest.err >&5 |
7524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7525 | (exit $ac_status); } && |
7457 | (exit $ac_status); } && |
7526 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7458 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7459 | || test ! -s conftest.err' |
7527 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7460 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7528 | (eval $ac_try) 2>&5 |
7461 | (eval $ac_try) 2>&5 |
7529 | ac_status=$? |
7462 | ac_status=$? |
7530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7531 | (exit $ac_status); }; } && |
7464 | (exit $ac_status); }; } && |
… | |
… | |
7625 | grep -v '^ *+' conftest.er1 >conftest.err |
7558 | grep -v '^ *+' conftest.er1 >conftest.err |
7626 | rm -f conftest.er1 |
7559 | rm -f conftest.er1 |
7627 | cat conftest.err >&5 |
7560 | cat conftest.err >&5 |
7628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7629 | (exit $ac_status); } && |
7562 | (exit $ac_status); } && |
7630 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7563 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7564 | || test ! -s conftest.err' |
7631 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7565 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7632 | (eval $ac_try) 2>&5 |
7566 | (eval $ac_try) 2>&5 |
7633 | ac_status=$? |
7567 | ac_status=$? |
7634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7635 | (exit $ac_status); }; } && |
7569 | (exit $ac_status); }; } && |
… | |
… | |
7687 | grep -v '^ *+' conftest.er1 >conftest.err |
7621 | grep -v '^ *+' conftest.er1 >conftest.err |
7688 | rm -f conftest.er1 |
7622 | rm -f conftest.er1 |
7689 | cat conftest.err >&5 |
7623 | cat conftest.err >&5 |
7690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7691 | (exit $ac_status); } && |
7625 | (exit $ac_status); } && |
7692 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7626 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7627 | || test ! -s conftest.err' |
7693 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7628 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7694 | (eval $ac_try) 2>&5 |
7629 | (eval $ac_try) 2>&5 |
7695 | ac_status=$? |
7630 | ac_status=$? |
7696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7697 | (exit $ac_status); }; } && |
7632 | (exit $ac_status); }; } && |
… | |
… | |
7727 | grep -v '^ *+' conftest.er1 >conftest.err |
7662 | grep -v '^ *+' conftest.er1 >conftest.err |
7728 | rm -f conftest.er1 |
7663 | rm -f conftest.er1 |
7729 | cat conftest.err >&5 |
7664 | cat conftest.err >&5 |
7730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7731 | (exit $ac_status); } && |
7666 | (exit $ac_status); } && |
7732 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7667 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7668 | || test ! -s conftest.err' |
7733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7669 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7734 | (eval $ac_try) 2>&5 |
7670 | (eval $ac_try) 2>&5 |
7735 | ac_status=$? |
7671 | ac_status=$? |
7736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7737 | (exit $ac_status); }; } && |
7673 | (exit $ac_status); }; } && |
… | |
… | |
7783 | grep -v '^ *+' conftest.er1 >conftest.err |
7719 | grep -v '^ *+' conftest.er1 >conftest.err |
7784 | rm -f conftest.er1 |
7720 | rm -f conftest.er1 |
7785 | cat conftest.err >&5 |
7721 | cat conftest.err >&5 |
7786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7787 | (exit $ac_status); } && |
7723 | (exit $ac_status); } && |
7788 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7724 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7725 | || test ! -s conftest.err' |
7789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7726 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7790 | (eval $ac_try) 2>&5 |
7727 | (eval $ac_try) 2>&5 |
7791 | ac_status=$? |
7728 | ac_status=$? |
7792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7793 | (exit $ac_status); }; } && |
7730 | (exit $ac_status); }; } && |
… | |
… | |
7823 | grep -v '^ *+' conftest.er1 >conftest.err |
7760 | grep -v '^ *+' conftest.er1 >conftest.err |
7824 | rm -f conftest.er1 |
7761 | rm -f conftest.er1 |
7825 | cat conftest.err >&5 |
7762 | cat conftest.err >&5 |
7826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7827 | (exit $ac_status); } && |
7764 | (exit $ac_status); } && |
7828 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7765 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7766 | || test ! -s conftest.err' |
7829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7767 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7830 | (eval $ac_try) 2>&5 |
7768 | (eval $ac_try) 2>&5 |
7831 | ac_status=$? |
7769 | ac_status=$? |
7832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7833 | (exit $ac_status); }; } && |
7771 | (exit $ac_status); }; } && |
… | |
… | |
7887 | grep -v '^ *+' conftest.er1 >conftest.err |
7825 | grep -v '^ *+' conftest.er1 >conftest.err |
7888 | rm -f conftest.er1 |
7826 | rm -f conftest.er1 |
7889 | cat conftest.err >&5 |
7827 | cat conftest.err >&5 |
7890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7891 | (exit $ac_status); } && |
7829 | (exit $ac_status); } && |
7892 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7830 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7831 | || test ! -s conftest.err' |
7893 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7832 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7894 | (eval $ac_try) 2>&5 |
7833 | (eval $ac_try) 2>&5 |
7895 | ac_status=$? |
7834 | ac_status=$? |
7896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7897 | (exit $ac_status); }; } && |
7836 | (exit $ac_status); }; } && |
… | |
… | |
7918 | See \`config.log' for more details." >&2;} |
7857 | See \`config.log' for more details." >&2;} |
7919 | { (exit 1); exit 1; }; } ;; |
7858 | { (exit 1); exit 1; }; } ;; |
7920 | esac |
7859 | esac |
7921 | else |
7860 | else |
7922 | if test "$cross_compiling" = yes; then |
7861 | if test "$cross_compiling" = yes; then |
7923 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
7862 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
7924 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
7863 | See \`config.log' for more details." >&5 |
|
|
7864 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
7865 | See \`config.log' for more details." >&2;} |
7925 | { (exit 1); exit 1; }; } |
7866 | { (exit 1); exit 1; }; } |
7926 | else |
7867 | else |
7927 | cat >conftest.$ac_ext <<_ACEOF |
7868 | cat >conftest.$ac_ext <<_ACEOF |
7928 | /* confdefs.h. */ |
7869 | /* confdefs.h. */ |
7929 | _ACEOF |
7870 | _ACEOF |
… | |
… | |
8031 | grep -v '^ *+' conftest.er1 >conftest.err |
7972 | grep -v '^ *+' conftest.er1 >conftest.err |
8032 | rm -f conftest.er1 |
7973 | rm -f conftest.er1 |
8033 | cat conftest.err >&5 |
7974 | cat conftest.err >&5 |
8034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8035 | (exit $ac_status); } && |
7976 | (exit $ac_status); } && |
8036 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7977 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7978 | || test ! -s conftest.err' |
8037 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7979 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8038 | (eval $ac_try) 2>&5 |
7980 | (eval $ac_try) 2>&5 |
8039 | ac_status=$? |
7981 | ac_status=$? |
8040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8041 | (exit $ac_status); }; } && |
7983 | (exit $ac_status); }; } && |
… | |
… | |
8093 | grep -v '^ *+' conftest.er1 >conftest.err |
8035 | grep -v '^ *+' conftest.er1 >conftest.err |
8094 | rm -f conftest.er1 |
8036 | rm -f conftest.er1 |
8095 | cat conftest.err >&5 |
8037 | cat conftest.err >&5 |
8096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8097 | (exit $ac_status); } && |
8039 | (exit $ac_status); } && |
8098 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8040 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8041 | || test ! -s conftest.err' |
8099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8100 | (eval $ac_try) 2>&5 |
8043 | (eval $ac_try) 2>&5 |
8101 | ac_status=$? |
8044 | ac_status=$? |
8102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8103 | (exit $ac_status); }; } && |
8046 | (exit $ac_status); }; } && |
… | |
… | |
8133 | grep -v '^ *+' conftest.er1 >conftest.err |
8076 | grep -v '^ *+' conftest.er1 >conftest.err |
8134 | rm -f conftest.er1 |
8077 | rm -f conftest.er1 |
8135 | cat conftest.err >&5 |
8078 | cat conftest.err >&5 |
8136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8137 | (exit $ac_status); } && |
8080 | (exit $ac_status); } && |
8138 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8081 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8082 | || test ! -s conftest.err' |
8139 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8083 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8140 | (eval $ac_try) 2>&5 |
8084 | (eval $ac_try) 2>&5 |
8141 | ac_status=$? |
8085 | ac_status=$? |
8142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8143 | (exit $ac_status); }; } && |
8087 | (exit $ac_status); }; } && |
… | |
… | |
8189 | grep -v '^ *+' conftest.er1 >conftest.err |
8133 | grep -v '^ *+' conftest.er1 >conftest.err |
8190 | rm -f conftest.er1 |
8134 | rm -f conftest.er1 |
8191 | cat conftest.err >&5 |
8135 | cat conftest.err >&5 |
8192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8193 | (exit $ac_status); } && |
8137 | (exit $ac_status); } && |
8194 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8138 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8139 | || test ! -s conftest.err' |
8195 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8140 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8196 | (eval $ac_try) 2>&5 |
8141 | (eval $ac_try) 2>&5 |
8197 | ac_status=$? |
8142 | ac_status=$? |
8198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8199 | (exit $ac_status); }; } && |
8144 | (exit $ac_status); }; } && |
… | |
… | |
8229 | grep -v '^ *+' conftest.er1 >conftest.err |
8174 | grep -v '^ *+' conftest.er1 >conftest.err |
8230 | rm -f conftest.er1 |
8175 | rm -f conftest.er1 |
8231 | cat conftest.err >&5 |
8176 | cat conftest.err >&5 |
8232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8233 | (exit $ac_status); } && |
8178 | (exit $ac_status); } && |
8234 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8179 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8180 | || test ! -s conftest.err' |
8235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8181 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8236 | (eval $ac_try) 2>&5 |
8182 | (eval $ac_try) 2>&5 |
8237 | ac_status=$? |
8183 | ac_status=$? |
8238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8184 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8239 | (exit $ac_status); }; } && |
8185 | (exit $ac_status); }; } && |
… | |
… | |
8293 | grep -v '^ *+' conftest.er1 >conftest.err |
8239 | grep -v '^ *+' conftest.er1 >conftest.err |
8294 | rm -f conftest.er1 |
8240 | rm -f conftest.er1 |
8295 | cat conftest.err >&5 |
8241 | cat conftest.err >&5 |
8296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8297 | (exit $ac_status); } && |
8243 | (exit $ac_status); } && |
8298 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8244 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8245 | || test ! -s conftest.err' |
8299 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8246 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8300 | (eval $ac_try) 2>&5 |
8247 | (eval $ac_try) 2>&5 |
8301 | ac_status=$? |
8248 | ac_status=$? |
8302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8303 | (exit $ac_status); }; } && |
8250 | (exit $ac_status); }; } && |
… | |
… | |
8324 | See \`config.log' for more details." >&2;} |
8271 | See \`config.log' for more details." >&2;} |
8325 | { (exit 1); exit 1; }; } ;; |
8272 | { (exit 1); exit 1; }; } ;; |
8326 | esac |
8273 | esac |
8327 | else |
8274 | else |
8328 | if test "$cross_compiling" = yes; then |
8275 | if test "$cross_compiling" = yes; then |
8329 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8276 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8330 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8277 | See \`config.log' for more details." >&5 |
|
|
8278 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8279 | See \`config.log' for more details." >&2;} |
8331 | { (exit 1); exit 1; }; } |
8280 | { (exit 1); exit 1; }; } |
8332 | else |
8281 | else |
8333 | cat >conftest.$ac_ext <<_ACEOF |
8282 | cat >conftest.$ac_ext <<_ACEOF |
8334 | /* confdefs.h. */ |
8283 | /* confdefs.h. */ |
8335 | _ACEOF |
8284 | _ACEOF |
… | |
… | |
8437 | grep -v '^ *+' conftest.er1 >conftest.err |
8386 | grep -v '^ *+' conftest.er1 >conftest.err |
8438 | rm -f conftest.er1 |
8387 | rm -f conftest.er1 |
8439 | cat conftest.err >&5 |
8388 | cat conftest.err >&5 |
8440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8441 | (exit $ac_status); } && |
8390 | (exit $ac_status); } && |
8442 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8391 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8392 | || test ! -s conftest.err' |
8443 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8393 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8444 | (eval $ac_try) 2>&5 |
8394 | (eval $ac_try) 2>&5 |
8445 | ac_status=$? |
8395 | ac_status=$? |
8446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8447 | (exit $ac_status); }; } && |
8397 | (exit $ac_status); }; } && |
… | |
… | |
8499 | grep -v '^ *+' conftest.er1 >conftest.err |
8449 | grep -v '^ *+' conftest.er1 >conftest.err |
8500 | rm -f conftest.er1 |
8450 | rm -f conftest.er1 |
8501 | cat conftest.err >&5 |
8451 | cat conftest.err >&5 |
8502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8503 | (exit $ac_status); } && |
8453 | (exit $ac_status); } && |
8504 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8454 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8455 | || test ! -s conftest.err' |
8505 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8456 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8506 | (eval $ac_try) 2>&5 |
8457 | (eval $ac_try) 2>&5 |
8507 | ac_status=$? |
8458 | ac_status=$? |
8508 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8509 | (exit $ac_status); }; } && |
8460 | (exit $ac_status); }; } && |
… | |
… | |
8539 | grep -v '^ *+' conftest.er1 >conftest.err |
8490 | grep -v '^ *+' conftest.er1 >conftest.err |
8540 | rm -f conftest.er1 |
8491 | rm -f conftest.er1 |
8541 | cat conftest.err >&5 |
8492 | cat conftest.err >&5 |
8542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8543 | (exit $ac_status); } && |
8494 | (exit $ac_status); } && |
8544 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8495 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8496 | || test ! -s conftest.err' |
8545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8546 | (eval $ac_try) 2>&5 |
8498 | (eval $ac_try) 2>&5 |
8547 | ac_status=$? |
8499 | ac_status=$? |
8548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8549 | (exit $ac_status); }; } && |
8501 | (exit $ac_status); }; } && |
… | |
… | |
8595 | grep -v '^ *+' conftest.er1 >conftest.err |
8547 | grep -v '^ *+' conftest.er1 >conftest.err |
8596 | rm -f conftest.er1 |
8548 | rm -f conftest.er1 |
8597 | cat conftest.err >&5 |
8549 | cat conftest.err >&5 |
8598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8550 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8599 | (exit $ac_status); } && |
8551 | (exit $ac_status); } && |
8600 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8552 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8553 | || test ! -s conftest.err' |
8601 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8602 | (eval $ac_try) 2>&5 |
8555 | (eval $ac_try) 2>&5 |
8603 | ac_status=$? |
8556 | ac_status=$? |
8604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8605 | (exit $ac_status); }; } && |
8558 | (exit $ac_status); }; } && |
… | |
… | |
8635 | grep -v '^ *+' conftest.er1 >conftest.err |
8588 | grep -v '^ *+' conftest.er1 >conftest.err |
8636 | rm -f conftest.er1 |
8589 | rm -f conftest.er1 |
8637 | cat conftest.err >&5 |
8590 | cat conftest.err >&5 |
8638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8639 | (exit $ac_status); } && |
8592 | (exit $ac_status); } && |
8640 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8593 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8594 | || test ! -s conftest.err' |
8641 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8595 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8642 | (eval $ac_try) 2>&5 |
8596 | (eval $ac_try) 2>&5 |
8643 | ac_status=$? |
8597 | ac_status=$? |
8644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8645 | (exit $ac_status); }; } && |
8599 | (exit $ac_status); }; } && |
… | |
… | |
8699 | grep -v '^ *+' conftest.er1 >conftest.err |
8653 | grep -v '^ *+' conftest.er1 >conftest.err |
8700 | rm -f conftest.er1 |
8654 | rm -f conftest.er1 |
8701 | cat conftest.err >&5 |
8655 | cat conftest.err >&5 |
8702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8703 | (exit $ac_status); } && |
8657 | (exit $ac_status); } && |
8704 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8658 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8659 | || test ! -s conftest.err' |
8705 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8706 | (eval $ac_try) 2>&5 |
8661 | (eval $ac_try) 2>&5 |
8707 | ac_status=$? |
8662 | ac_status=$? |
8708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8709 | (exit $ac_status); }; } && |
8664 | (exit $ac_status); }; } && |
… | |
… | |
8730 | See \`config.log' for more details." >&2;} |
8685 | See \`config.log' for more details." >&2;} |
8731 | { (exit 1); exit 1; }; } ;; |
8686 | { (exit 1); exit 1; }; } ;; |
8732 | esac |
8687 | esac |
8733 | else |
8688 | else |
8734 | if test "$cross_compiling" = yes; then |
8689 | if test "$cross_compiling" = yes; then |
8735 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8690 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8736 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8691 | See \`config.log' for more details." >&5 |
|
|
8692 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8693 | See \`config.log' for more details." >&2;} |
8737 | { (exit 1); exit 1; }; } |
8694 | { (exit 1); exit 1; }; } |
8738 | else |
8695 | else |
8739 | cat >conftest.$ac_ext <<_ACEOF |
8696 | cat >conftest.$ac_ext <<_ACEOF |
8740 | /* confdefs.h. */ |
8697 | /* confdefs.h. */ |
8741 | _ACEOF |
8698 | _ACEOF |
… | |
… | |
8843 | grep -v '^ *+' conftest.er1 >conftest.err |
8800 | grep -v '^ *+' conftest.er1 >conftest.err |
8844 | rm -f conftest.er1 |
8801 | rm -f conftest.er1 |
8845 | cat conftest.err >&5 |
8802 | cat conftest.err >&5 |
8846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8847 | (exit $ac_status); } && |
8804 | (exit $ac_status); } && |
8848 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8805 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8806 | || test ! -s conftest.err' |
8849 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8850 | (eval $ac_try) 2>&5 |
8808 | (eval $ac_try) 2>&5 |
8851 | ac_status=$? |
8809 | ac_status=$? |
8852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8853 | (exit $ac_status); }; } && |
8811 | (exit $ac_status); }; } && |
… | |
… | |
8905 | grep -v '^ *+' conftest.er1 >conftest.err |
8863 | grep -v '^ *+' conftest.er1 >conftest.err |
8906 | rm -f conftest.er1 |
8864 | rm -f conftest.er1 |
8907 | cat conftest.err >&5 |
8865 | cat conftest.err >&5 |
8908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8909 | (exit $ac_status); } && |
8867 | (exit $ac_status); } && |
8910 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8868 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8869 | || test ! -s conftest.err' |
8911 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8912 | (eval $ac_try) 2>&5 |
8871 | (eval $ac_try) 2>&5 |
8913 | ac_status=$? |
8872 | ac_status=$? |
8914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8915 | (exit $ac_status); }; } && |
8874 | (exit $ac_status); }; } && |
… | |
… | |
8945 | grep -v '^ *+' conftest.er1 >conftest.err |
8904 | grep -v '^ *+' conftest.er1 >conftest.err |
8946 | rm -f conftest.er1 |
8905 | rm -f conftest.er1 |
8947 | cat conftest.err >&5 |
8906 | cat conftest.err >&5 |
8948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8949 | (exit $ac_status); } && |
8908 | (exit $ac_status); } && |
8950 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8909 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8910 | || test ! -s conftest.err' |
8951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8911 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8952 | (eval $ac_try) 2>&5 |
8912 | (eval $ac_try) 2>&5 |
8953 | ac_status=$? |
8913 | ac_status=$? |
8954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8955 | (exit $ac_status); }; } && |
8915 | (exit $ac_status); }; } && |
… | |
… | |
9001 | grep -v '^ *+' conftest.er1 >conftest.err |
8961 | grep -v '^ *+' conftest.er1 >conftest.err |
9002 | rm -f conftest.er1 |
8962 | rm -f conftest.er1 |
9003 | cat conftest.err >&5 |
8963 | cat conftest.err >&5 |
9004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9005 | (exit $ac_status); } && |
8965 | (exit $ac_status); } && |
9006 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8966 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8967 | || test ! -s conftest.err' |
9007 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9008 | (eval $ac_try) 2>&5 |
8969 | (eval $ac_try) 2>&5 |
9009 | ac_status=$? |
8970 | ac_status=$? |
9010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9011 | (exit $ac_status); }; } && |
8972 | (exit $ac_status); }; } && |
… | |
… | |
9041 | grep -v '^ *+' conftest.er1 >conftest.err |
9002 | grep -v '^ *+' conftest.er1 >conftest.err |
9042 | rm -f conftest.er1 |
9003 | rm -f conftest.er1 |
9043 | cat conftest.err >&5 |
9004 | cat conftest.err >&5 |
9044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9045 | (exit $ac_status); } && |
9006 | (exit $ac_status); } && |
9046 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9007 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9008 | || test ! -s conftest.err' |
9047 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9009 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9048 | (eval $ac_try) 2>&5 |
9010 | (eval $ac_try) 2>&5 |
9049 | ac_status=$? |
9011 | ac_status=$? |
9050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9012 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9051 | (exit $ac_status); }; } && |
9013 | (exit $ac_status); }; } && |
… | |
… | |
9105 | grep -v '^ *+' conftest.er1 >conftest.err |
9067 | grep -v '^ *+' conftest.er1 >conftest.err |
9106 | rm -f conftest.er1 |
9068 | rm -f conftest.er1 |
9107 | cat conftest.err >&5 |
9069 | cat conftest.err >&5 |
9108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9109 | (exit $ac_status); } && |
9071 | (exit $ac_status); } && |
9110 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9072 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9073 | || test ! -s conftest.err' |
9111 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9074 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9112 | (eval $ac_try) 2>&5 |
9075 | (eval $ac_try) 2>&5 |
9113 | ac_status=$? |
9076 | ac_status=$? |
9114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9115 | (exit $ac_status); }; } && |
9078 | (exit $ac_status); }; } && |
… | |
… | |
9136 | See \`config.log' for more details." >&2;} |
9099 | See \`config.log' for more details." >&2;} |
9137 | { (exit 1); exit 1; }; } ;; |
9100 | { (exit 1); exit 1; }; } ;; |
9138 | esac |
9101 | esac |
9139 | else |
9102 | else |
9140 | if test "$cross_compiling" = yes; then |
9103 | if test "$cross_compiling" = yes; then |
9141 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
9104 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
9142 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
9105 | See \`config.log' for more details." >&5 |
|
|
9106 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
9107 | See \`config.log' for more details." >&2;} |
9143 | { (exit 1); exit 1; }; } |
9108 | { (exit 1); exit 1; }; } |
9144 | else |
9109 | else |
9145 | cat >conftest.$ac_ext <<_ACEOF |
9110 | cat >conftest.$ac_ext <<_ACEOF |
9146 | /* confdefs.h. */ |
9111 | /* confdefs.h. */ |
9147 | _ACEOF |
9112 | _ACEOF |
… | |
… | |
9248 | grep -v '^ *+' conftest.er1 >conftest.err |
9213 | grep -v '^ *+' conftest.er1 >conftest.err |
9249 | rm -f conftest.er1 |
9214 | rm -f conftest.er1 |
9250 | cat conftest.err >&5 |
9215 | cat conftest.err >&5 |
9251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9252 | (exit $ac_status); } && |
9217 | (exit $ac_status); } && |
9253 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9218 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9219 | || test ! -s conftest.err' |
9254 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9220 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9255 | (eval $ac_try) 2>&5 |
9221 | (eval $ac_try) 2>&5 |
9256 | ac_status=$? |
9222 | ac_status=$? |
9257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9258 | (exit $ac_status); }; } && |
9224 | (exit $ac_status); }; } && |
… | |
… | |
9330 | grep -v '^ *+' conftest.er1 >conftest.err |
9296 | grep -v '^ *+' conftest.er1 >conftest.err |
9331 | rm -f conftest.er1 |
9297 | rm -f conftest.er1 |
9332 | cat conftest.err >&5 |
9298 | cat conftest.err >&5 |
9333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9299 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9334 | (exit $ac_status); } && |
9300 | (exit $ac_status); } && |
9335 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9301 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9302 | || test ! -s conftest.err' |
9336 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9337 | (eval $ac_try) 2>&5 |
9304 | (eval $ac_try) 2>&5 |
9338 | ac_status=$? |
9305 | ac_status=$? |
9339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9340 | (exit $ac_status); }; } && |
9307 | (exit $ac_status); }; } && |
… | |
… | |
9412 | grep -v '^ *+' conftest.er1 >conftest.err |
9379 | grep -v '^ *+' conftest.er1 >conftest.err |
9413 | rm -f conftest.er1 |
9380 | rm -f conftest.er1 |
9414 | cat conftest.err >&5 |
9381 | cat conftest.err >&5 |
9415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9416 | (exit $ac_status); } && |
9383 | (exit $ac_status); } && |
9417 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9384 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9385 | || test ! -s conftest.err' |
9418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9419 | (eval $ac_try) 2>&5 |
9387 | (eval $ac_try) 2>&5 |
9420 | ac_status=$? |
9388 | ac_status=$? |
9421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9422 | (exit $ac_status); }; } && |
9390 | (exit $ac_status); }; } && |
… | |
… | |
9494 | grep -v '^ *+' conftest.er1 >conftest.err |
9462 | grep -v '^ *+' conftest.er1 >conftest.err |
9495 | rm -f conftest.er1 |
9463 | rm -f conftest.er1 |
9496 | cat conftest.err >&5 |
9464 | cat conftest.err >&5 |
9497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9498 | (exit $ac_status); } && |
9466 | (exit $ac_status); } && |
9499 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9467 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9468 | || test ! -s conftest.err' |
9500 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9501 | (eval $ac_try) 2>&5 |
9470 | (eval $ac_try) 2>&5 |
9502 | ac_status=$? |
9471 | ac_status=$? |
9503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9504 | (exit $ac_status); }; } && |
9473 | (exit $ac_status); }; } && |
… | |
… | |
9606 | grep -v '^ *+' conftest.er1 >conftest.err |
9575 | grep -v '^ *+' conftest.er1 >conftest.err |
9607 | rm -f conftest.er1 |
9576 | rm -f conftest.er1 |
9608 | cat conftest.err >&5 |
9577 | cat conftest.err >&5 |
9609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9610 | (exit $ac_status); } && |
9579 | (exit $ac_status); } && |
9611 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9580 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9581 | || test ! -s conftest.err' |
9612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9582 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9613 | (eval $ac_try) 2>&5 |
9583 | (eval $ac_try) 2>&5 |
9614 | ac_status=$? |
9584 | ac_status=$? |
9615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9585 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9616 | (exit $ac_status); }; } && |
9586 | (exit $ac_status); }; } && |
… | |
… | |
9636 | #define RETSIGTYPE $ac_cv_type_signal |
9606 | #define RETSIGTYPE $ac_cv_type_signal |
9637 | _ACEOF |
9607 | _ACEOF |
9638 | |
9608 | |
9639 | |
9609 | |
9640 | |
9610 | |
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 | |
9611 | |
9662 | |
9612 | |
9663 | |
9613 | |
9664 | for ac_func in \ |
9614 | for ac_func in \ |
9665 | atexit \ |
|
|
9666 | revoke \ |
|
|
9667 | unsetenv \ |
9615 | unsetenv \ |
9668 | setutent \ |
9616 | setutent \ |
9669 | seteuid \ |
|
|
9670 | setreuid \ |
|
|
9671 | setsid \ |
|
|
9672 | setpgrp \ |
|
|
9673 | setpgid \ |
|
|
9674 | openpty \ |
|
|
9675 | _getpty \ |
|
|
9676 | grantpt \ |
|
|
9677 | unlockpt \ |
|
|
9678 | isastream \ |
|
|
9679 | on_exit \ |
9617 | on_exit \ |
9680 | nanosleep \ |
|
|
9681 | updwtmp \ |
|
|
9682 | ttyslot \ |
|
|
9683 | |
9618 | |
9684 | do |
9619 | do |
9685 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9620 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9686 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9621 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9687 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9622 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
9746 | grep -v '^ *+' conftest.er1 >conftest.err |
9681 | grep -v '^ *+' conftest.er1 >conftest.err |
9747 | rm -f conftest.er1 |
9682 | rm -f conftest.er1 |
9748 | cat conftest.err >&5 |
9683 | cat conftest.err >&5 |
9749 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9750 | (exit $ac_status); } && |
9685 | (exit $ac_status); } && |
9751 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9686 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9687 | || test ! -s conftest.err' |
9752 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9688 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9753 | (eval $ac_try) 2>&5 |
9689 | (eval $ac_try) 2>&5 |
9754 | ac_status=$? |
9690 | ac_status=$? |
9755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9756 | (exit $ac_status); }; } && |
9692 | (exit $ac_status); }; } && |
… | |
… | |
9780 | fi |
9716 | fi |
9781 | done |
9717 | done |
9782 | |
9718 | |
9783 | |
9719 | |
9784 | |
9720 | |
|
|
9721 | support_utmp=yes |
|
|
9722 | support_wtmp=yes |
|
|
9723 | support_lastlog=yes |
|
|
9724 | |
|
|
9725 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
9726 | if test "${enable_utmp+set}" = set; then |
|
|
9727 | enableval="$enable_utmp" |
|
|
9728 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9729 | support_utmp=$enableval |
|
|
9730 | fi |
|
|
9731 | fi; |
|
|
9732 | |
|
|
9733 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
9734 | if test "${enable_wtmp+set}" = set; then |
|
|
9735 | enableval="$enable_wtmp" |
|
|
9736 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9737 | support_wtmp=$enableval |
|
|
9738 | fi |
|
|
9739 | fi; |
|
|
9740 | |
|
|
9741 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
9742 | if test "${enable_lastlog+set}" = set; then |
|
|
9743 | enableval="$enable_lastlog" |
|
|
9744 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9745 | support_lastlog=$enableval |
|
|
9746 | fi |
|
|
9747 | fi; |
|
|
9748 | |
|
|
9749 | if test x$support_utmp = xyes; then |
|
|
9750 | |
|
|
9751 | cat >>confdefs.h <<\_ACEOF |
|
|
9752 | #define UTMP_SUPPORT 1 |
|
|
9753 | _ACEOF |
|
|
9754 | |
|
|
9755 | fi |
|
|
9756 | if test x$support_wtmp = xyes; then |
|
|
9757 | |
|
|
9758 | cat >>confdefs.h <<\_ACEOF |
|
|
9759 | #define WTMP_SUPPORT 1 |
|
|
9760 | _ACEOF |
|
|
9761 | |
|
|
9762 | fi |
|
|
9763 | if test x$support_lastlog = xyes; then |
|
|
9764 | |
|
|
9765 | cat >>confdefs.h <<\_ACEOF |
|
|
9766 | #define LASTLOG_SUPPORT 1 |
|
|
9767 | _ACEOF |
|
|
9768 | |
|
|
9769 | fi |
|
|
9770 | |
|
|
9771 | |
|
|
9772 | |
|
|
9773 | |
|
|
9774 | for ac_func in \ |
|
|
9775 | ttyslot \ |
|
|
9776 | updwtmp \ |
|
|
9777 | updwtmpx \ |
|
|
9778 | |
|
|
9779 | do |
|
|
9780 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
9781 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
9782 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
9783 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
9784 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9785 | else |
|
|
9786 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9787 | /* confdefs.h. */ |
|
|
9788 | _ACEOF |
|
|
9789 | cat confdefs.h >>conftest.$ac_ext |
|
|
9790 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9791 | /* end confdefs.h. */ |
|
|
9792 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9793 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9794 | #define $ac_func innocuous_$ac_func |
|
|
9795 | |
|
|
9796 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9797 | which can conflict with char $ac_func (); below. |
|
|
9798 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9799 | <limits.h> exists even on freestanding compilers. */ |
|
|
9800 | |
|
|
9801 | #ifdef __STDC__ |
|
|
9802 | # include <limits.h> |
|
|
9803 | #else |
|
|
9804 | # include <assert.h> |
|
|
9805 | #endif |
|
|
9806 | |
|
|
9807 | #undef $ac_func |
|
|
9808 | |
|
|
9809 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9810 | #ifdef __cplusplus |
|
|
9811 | extern "C" |
|
|
9812 | { |
|
|
9813 | #endif |
|
|
9814 | /* We use char because int might match the return type of a gcc2 |
|
|
9815 | builtin and then its argument prototype would still apply. */ |
|
|
9816 | char $ac_func (); |
|
|
9817 | /* The GNU C library defines this for functions which it implements |
|
|
9818 | to always fail with ENOSYS. Some functions are actually named |
|
|
9819 | something starting with __ and the normal name is an alias. */ |
|
|
9820 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
9821 | choke me |
|
|
9822 | #else |
|
|
9823 | char (*f) () = $ac_func; |
|
|
9824 | #endif |
|
|
9825 | #ifdef __cplusplus |
|
|
9826 | } |
|
|
9827 | #endif |
|
|
9828 | |
|
|
9829 | int |
|
|
9830 | main () |
|
|
9831 | { |
|
|
9832 | return f != $ac_func; |
|
|
9833 | ; |
|
|
9834 | return 0; |
|
|
9835 | } |
|
|
9836 | _ACEOF |
|
|
9837 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9838 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9839 | (eval $ac_link) 2>conftest.er1 |
|
|
9840 | ac_status=$? |
|
|
9841 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9842 | rm -f conftest.er1 |
|
|
9843 | cat conftest.err >&5 |
|
|
9844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9845 | (exit $ac_status); } && |
|
|
9846 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9847 | || test ! -s conftest.err' |
|
|
9848 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9849 | (eval $ac_try) 2>&5 |
|
|
9850 | ac_status=$? |
|
|
9851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9852 | (exit $ac_status); }; } && |
|
|
9853 | { ac_try='test -s conftest$ac_exeext' |
|
|
9854 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9855 | (eval $ac_try) 2>&5 |
|
|
9856 | ac_status=$? |
|
|
9857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9858 | (exit $ac_status); }; }; then |
|
|
9859 | eval "$as_ac_var=yes" |
|
|
9860 | else |
|
|
9861 | echo "$as_me: failed program was:" >&5 |
|
|
9862 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9863 | |
|
|
9864 | eval "$as_ac_var=no" |
|
|
9865 | fi |
|
|
9866 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9867 | conftest$ac_exeext conftest.$ac_ext |
|
|
9868 | fi |
|
|
9869 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
9870 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
9871 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
9872 | cat >>confdefs.h <<_ACEOF |
|
|
9873 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
9874 | _ACEOF |
|
|
9875 | |
|
|
9876 | fi |
|
|
9877 | done |
|
|
9878 | |
|
|
9879 | |
|
|
9880 | |
|
|
9881 | |
|
|
9882 | |
|
|
9883 | for ac_header in \ |
|
|
9884 | utmp.h \ |
|
|
9885 | utmpx.h \ |
|
|
9886 | lastlog.h \ |
|
|
9887 | |
|
|
9888 | do |
|
|
9889 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
9890 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
9891 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
9892 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
9893 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
9894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9895 | fi |
|
|
9896 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
9897 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
9898 | else |
|
|
9899 | # Is the header compilable? |
|
|
9900 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
9901 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
9902 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9903 | /* confdefs.h. */ |
|
|
9904 | _ACEOF |
|
|
9905 | cat confdefs.h >>conftest.$ac_ext |
|
|
9906 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9907 | /* end confdefs.h. */ |
|
|
9908 | $ac_includes_default |
|
|
9909 | #include <$ac_header> |
|
|
9910 | _ACEOF |
|
|
9911 | rm -f conftest.$ac_objext |
|
|
9912 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
9913 | (eval $ac_compile) 2>conftest.er1 |
|
|
9914 | ac_status=$? |
|
|
9915 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9916 | rm -f conftest.er1 |
|
|
9917 | cat conftest.err >&5 |
|
|
9918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9919 | (exit $ac_status); } && |
|
|
9920 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9921 | || test ! -s conftest.err' |
|
|
9922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9923 | (eval $ac_try) 2>&5 |
|
|
9924 | ac_status=$? |
|
|
9925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9926 | (exit $ac_status); }; } && |
|
|
9927 | { ac_try='test -s conftest.$ac_objext' |
|
|
9928 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9929 | (eval $ac_try) 2>&5 |
|
|
9930 | ac_status=$? |
|
|
9931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9932 | (exit $ac_status); }; }; then |
|
|
9933 | ac_header_compiler=yes |
|
|
9934 | else |
|
|
9935 | echo "$as_me: failed program was:" >&5 |
|
|
9936 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9937 | |
|
|
9938 | ac_header_compiler=no |
|
|
9939 | fi |
|
|
9940 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9941 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
9942 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
9943 | |
|
|
9944 | # Is the header present? |
|
|
9945 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
9946 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
9947 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9948 | /* confdefs.h. */ |
|
|
9949 | _ACEOF |
|
|
9950 | cat confdefs.h >>conftest.$ac_ext |
|
|
9951 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9952 | /* end confdefs.h. */ |
|
|
9953 | #include <$ac_header> |
|
|
9954 | _ACEOF |
|
|
9955 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
9956 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
9957 | ac_status=$? |
|
|
9958 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9959 | rm -f conftest.er1 |
|
|
9960 | cat conftest.err >&5 |
|
|
9961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9962 | (exit $ac_status); } >/dev/null; then |
|
|
9963 | if test -s conftest.err; then |
|
|
9964 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
9965 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
9966 | else |
|
|
9967 | ac_cpp_err= |
|
|
9968 | fi |
|
|
9969 | else |
|
|
9970 | ac_cpp_err=yes |
|
|
9971 | fi |
|
|
9972 | if test -z "$ac_cpp_err"; then |
|
|
9973 | ac_header_preproc=yes |
|
|
9974 | else |
|
|
9975 | echo "$as_me: failed program was:" >&5 |
|
|
9976 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9977 | |
|
|
9978 | ac_header_preproc=no |
|
|
9979 | fi |
|
|
9980 | rm -f conftest.err conftest.$ac_ext |
|
|
9981 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
9982 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
9983 | |
|
|
9984 | # So? What about this header? |
|
|
9985 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
9986 | yes:no: ) |
|
|
9987 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
9988 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
9989 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
9990 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
9991 | ac_header_preproc=yes |
|
|
9992 | ;; |
|
|
9993 | no:yes:* ) |
|
|
9994 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
9995 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
9996 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
9997 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
9998 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
9999 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
10000 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10001 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10002 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
10003 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
10004 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
10005 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
10006 | ( |
|
|
10007 | cat <<\_ASBOX |
|
|
10008 | ## ------------------------------------------ ## |
|
|
10009 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10010 | ## ------------------------------------------ ## |
|
|
10011 | _ASBOX |
|
|
10012 | ) | |
|
|
10013 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10014 | ;; |
|
|
10015 | esac |
|
|
10016 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10017 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10018 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10019 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10020 | else |
|
|
10021 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
10022 | fi |
|
|
10023 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10024 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10025 | |
|
|
10026 | fi |
|
|
10027 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10028 | cat >>confdefs.h <<_ACEOF |
|
|
10029 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10030 | _ACEOF |
|
|
10031 | |
|
|
10032 | fi |
|
|
10033 | |
|
|
10034 | done |
|
|
10035 | |
|
|
10036 | |
|
|
10037 | |
9785 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10038 | if test "${ac_cv_header_utmp_h+set}" = set; then |
9786 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10039 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
9787 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10040 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
9788 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10041 | if test "${ac_cv_header_utmp_h+set}" = set; then |
9789 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10042 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
9810 | grep -v '^ *+' conftest.er1 >conftest.err |
10063 | grep -v '^ *+' conftest.er1 >conftest.err |
9811 | rm -f conftest.er1 |
10064 | rm -f conftest.er1 |
9812 | cat conftest.err >&5 |
10065 | cat conftest.err >&5 |
9813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9814 | (exit $ac_status); } && |
10067 | (exit $ac_status); } && |
9815 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10068 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10069 | || test ! -s conftest.err' |
9816 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10070 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9817 | (eval $ac_try) 2>&5 |
10071 | (eval $ac_try) 2>&5 |
9818 | ac_status=$? |
10072 | ac_status=$? |
9819 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9820 | (exit $ac_status); }; } && |
10074 | (exit $ac_status); }; } && |
… | |
… | |
9919 | |
10173 | |
9920 | fi |
10174 | fi |
9921 | if test $ac_cv_header_utmp_h = yes; then |
10175 | if test $ac_cv_header_utmp_h = yes; then |
9922 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10176 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
9923 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10177 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
9924 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
10178 | if test "${struct_utmp+set}" = set; then |
9925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10179 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9926 | else |
10180 | else |
9927 | cat >conftest.$ac_ext <<_ACEOF |
10181 | cat >conftest.$ac_ext <<_ACEOF |
9928 | /* confdefs.h. */ |
10182 | /* confdefs.h. */ |
9929 | _ACEOF |
10183 | _ACEOF |
9930 | cat confdefs.h >>conftest.$ac_ext |
10184 | cat confdefs.h >>conftest.$ac_ext |
9931 | cat >>conftest.$ac_ext <<_ACEOF |
10185 | cat >>conftest.$ac_ext <<_ACEOF |
9932 | /* end confdefs.h. */ |
10186 | /* end confdefs.h. */ |
9933 | #include <sys/types.h> |
10187 | #include <sys/types.h> |
9934 | #include <stdint.h> |
|
|
9935 | #include <utmp.h> |
10188 | #include <utmp.h> |
9936 | int |
10189 | int |
9937 | main () |
10190 | main () |
9938 | { |
10191 | { |
9939 | struct utmp ut; |
10192 | struct utmp ut; |
… | |
… | |
9948 | grep -v '^ *+' conftest.er1 >conftest.err |
10201 | grep -v '^ *+' conftest.er1 >conftest.err |
9949 | rm -f conftest.er1 |
10202 | rm -f conftest.er1 |
9950 | cat conftest.err >&5 |
10203 | cat conftest.err >&5 |
9951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10204 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9952 | (exit $ac_status); } && |
10205 | (exit $ac_status); } && |
9953 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10206 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10207 | || test ! -s conftest.err' |
9954 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10208 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9955 | (eval $ac_try) 2>&5 |
10209 | (eval $ac_try) 2>&5 |
9956 | ac_status=$? |
10210 | ac_status=$? |
9957 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9958 | (exit $ac_status); }; } && |
10212 | (exit $ac_status); }; } && |
… | |
… | |
9960 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10214 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9961 | (eval $ac_try) 2>&5 |
10215 | (eval $ac_try) 2>&5 |
9962 | ac_status=$? |
10216 | ac_status=$? |
9963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9964 | (exit $ac_status); }; }; then |
10218 | (exit $ac_status); }; }; then |
9965 | rxvt_cv_struct_utmp=yes |
10219 | struct_utmp=yes |
9966 | else |
10220 | else |
9967 | echo "$as_me: failed program was:" >&5 |
10221 | echo "$as_me: failed program was:" >&5 |
9968 | sed 's/^/| /' conftest.$ac_ext >&5 |
10222 | sed 's/^/| /' conftest.$ac_ext >&5 |
9969 | |
10223 | |
9970 | rxvt_cv_struct_utmp=no |
10224 | struct_utmp=no |
9971 | fi |
10225 | fi |
9972 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10226 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9973 | fi |
10227 | fi |
9974 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
10228 | echo "$as_me:$LINENO: result: $struct_utmp" >&5 |
9975 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
10229 | echo "${ECHO_T}$struct_utmp" >&6 |
9976 | if test x$rxvt_cv_struct_utmp = xyes; then |
10230 | if test x$struct_utmp = xyes; then |
9977 | |
10231 | |
9978 | cat >>confdefs.h <<\_ACEOF |
10232 | cat >>confdefs.h <<\_ACEOF |
9979 | #define HAVE_STRUCT_UTMP 1 |
10233 | #define HAVE_STRUCT_UTMP 1 |
9980 | _ACEOF |
10234 | _ACEOF |
9981 | |
10235 | |
9982 | fi |
10236 | fi |
9983 | |
10237 | |
9984 | |
10238 | |
9985 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10239 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
9986 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10240 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
9987 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
10241 | if test "${struct_utmp_host+set}" = set; then |
9988 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10242 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9989 | else |
10243 | else |
9990 | cat >conftest.$ac_ext <<_ACEOF |
10244 | cat >conftest.$ac_ext <<_ACEOF |
9991 | /* confdefs.h. */ |
10245 | /* confdefs.h. */ |
9992 | _ACEOF |
10246 | _ACEOF |
… | |
… | |
10010 | grep -v '^ *+' conftest.er1 >conftest.err |
10264 | grep -v '^ *+' conftest.er1 >conftest.err |
10011 | rm -f conftest.er1 |
10265 | rm -f conftest.er1 |
10012 | cat conftest.err >&5 |
10266 | cat conftest.err >&5 |
10013 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10014 | (exit $ac_status); } && |
10268 | (exit $ac_status); } && |
10015 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10269 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10270 | || test ! -s conftest.err' |
10016 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10017 | (eval $ac_try) 2>&5 |
10272 | (eval $ac_try) 2>&5 |
10018 | ac_status=$? |
10273 | ac_status=$? |
10019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10020 | (exit $ac_status); }; } && |
10275 | (exit $ac_status); }; } && |
… | |
… | |
10022 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10023 | (eval $ac_try) 2>&5 |
10278 | (eval $ac_try) 2>&5 |
10024 | ac_status=$? |
10279 | ac_status=$? |
10025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10026 | (exit $ac_status); }; }; then |
10281 | (exit $ac_status); }; }; then |
10027 | rxvt_cv_struct_utmp_host=yes |
10282 | struct_utmp_host=yes |
10028 | else |
10283 | else |
10029 | echo "$as_me: failed program was:" >&5 |
10284 | echo "$as_me: failed program was:" >&5 |
10030 | sed 's/^/| /' conftest.$ac_ext >&5 |
10285 | sed 's/^/| /' conftest.$ac_ext >&5 |
10031 | |
10286 | |
10032 | rxvt_cv_struct_utmp_host=no |
10287 | struct_utmp_host=no |
10033 | fi |
10288 | fi |
10034 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10289 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10035 | fi |
10290 | fi |
10036 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
10291 | echo "$as_me:$LINENO: result: $struct_utmp_host" >&5 |
10037 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
10292 | echo "${ECHO_T}$struct_utmp_host" >&6 |
10038 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
10293 | if test x$struct_utmp_host = xyes; then |
10039 | |
10294 | |
10040 | cat >>confdefs.h <<\_ACEOF |
10295 | cat >>confdefs.h <<\_ACEOF |
10041 | #define HAVE_UTMP_HOST 1 |
10296 | #define HAVE_UTMP_HOST 1 |
10042 | _ACEOF |
10297 | _ACEOF |
10043 | |
10298 | |
10044 | fi |
10299 | fi |
10045 | |
10300 | |
10046 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10301 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10047 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10302 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10048 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
10303 | if test "${struct_utmp_pid+set}" = set; then |
10049 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10304 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10050 | else |
10305 | else |
10051 | cat >conftest.$ac_ext <<_ACEOF |
10306 | cat >conftest.$ac_ext <<_ACEOF |
10052 | /* confdefs.h. */ |
10307 | /* confdefs.h. */ |
10053 | _ACEOF |
10308 | _ACEOF |
… | |
… | |
10071 | grep -v '^ *+' conftest.er1 >conftest.err |
10326 | grep -v '^ *+' conftest.er1 >conftest.err |
10072 | rm -f conftest.er1 |
10327 | rm -f conftest.er1 |
10073 | cat conftest.err >&5 |
10328 | cat conftest.err >&5 |
10074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10075 | (exit $ac_status); } && |
10330 | (exit $ac_status); } && |
10076 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10331 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10332 | || test ! -s conftest.err' |
10077 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10333 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10078 | (eval $ac_try) 2>&5 |
10334 | (eval $ac_try) 2>&5 |
10079 | ac_status=$? |
10335 | ac_status=$? |
10080 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10081 | (exit $ac_status); }; } && |
10337 | (exit $ac_status); }; } && |
… | |
… | |
10083 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10084 | (eval $ac_try) 2>&5 |
10340 | (eval $ac_try) 2>&5 |
10085 | ac_status=$? |
10341 | ac_status=$? |
10086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10087 | (exit $ac_status); }; }; then |
10343 | (exit $ac_status); }; }; then |
10088 | rxvt_cv_struct_utmp_pid=yes |
10344 | struct_utmp_pid=yes |
10089 | else |
10345 | else |
10090 | echo "$as_me: failed program was:" >&5 |
10346 | echo "$as_me: failed program was:" >&5 |
10091 | sed 's/^/| /' conftest.$ac_ext >&5 |
10347 | sed 's/^/| /' conftest.$ac_ext >&5 |
10092 | |
10348 | |
10093 | rxvt_cv_struct_utmp_pid=no |
10349 | struct_utmp_pid=no |
10094 | fi |
10350 | fi |
10095 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10351 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10096 | fi |
10352 | fi |
10097 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
10353 | echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5 |
10098 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
10354 | echo "${ECHO_T}$struct_utmp_pid" >&6 |
10099 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
10355 | if test x$struct_utmp_pid = xyes; then |
10100 | |
10356 | |
10101 | cat >>confdefs.h <<\_ACEOF |
10357 | cat >>confdefs.h <<\_ACEOF |
10102 | #define HAVE_UTMP_PID 1 |
10358 | #define HAVE_UTMP_PID 1 |
10103 | _ACEOF |
10359 | _ACEOF |
10104 | |
10360 | |
… | |
… | |
10136 | grep -v '^ *+' conftest.er1 >conftest.err |
10392 | grep -v '^ *+' conftest.er1 >conftest.err |
10137 | rm -f conftest.er1 |
10393 | rm -f conftest.er1 |
10138 | cat conftest.err >&5 |
10394 | cat conftest.err >&5 |
10139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10140 | (exit $ac_status); } && |
10396 | (exit $ac_status); } && |
10141 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10397 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10398 | || test ! -s conftest.err' |
10142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10399 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10143 | (eval $ac_try) 2>&5 |
10400 | (eval $ac_try) 2>&5 |
10144 | ac_status=$? |
10401 | ac_status=$? |
10145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10146 | (exit $ac_status); }; } && |
10403 | (exit $ac_status); }; } && |
… | |
… | |
10245 | |
10502 | |
10246 | fi |
10503 | fi |
10247 | if test $ac_cv_header_utmpx_h = yes; then |
10504 | if test $ac_cv_header_utmpx_h = yes; then |
10248 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10505 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10249 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10506 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10250 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
10507 | if test "${struct_utmpx+set}" = set; then |
10251 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10508 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10252 | else |
10509 | else |
10253 | cat >conftest.$ac_ext <<_ACEOF |
10510 | cat >conftest.$ac_ext <<_ACEOF |
10254 | /* confdefs.h. */ |
10511 | /* confdefs.h. */ |
10255 | _ACEOF |
10512 | _ACEOF |
… | |
… | |
10273 | grep -v '^ *+' conftest.er1 >conftest.err |
10530 | grep -v '^ *+' conftest.er1 >conftest.err |
10274 | rm -f conftest.er1 |
10531 | rm -f conftest.er1 |
10275 | cat conftest.err >&5 |
10532 | cat conftest.err >&5 |
10276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10277 | (exit $ac_status); } && |
10534 | (exit $ac_status); } && |
10278 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10535 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10536 | || test ! -s conftest.err' |
10279 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10280 | (eval $ac_try) 2>&5 |
10538 | (eval $ac_try) 2>&5 |
10281 | ac_status=$? |
10539 | ac_status=$? |
10282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10283 | (exit $ac_status); }; } && |
10541 | (exit $ac_status); }; } && |
… | |
… | |
10285 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10543 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10286 | (eval $ac_try) 2>&5 |
10544 | (eval $ac_try) 2>&5 |
10287 | ac_status=$? |
10545 | ac_status=$? |
10288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10289 | (exit $ac_status); }; }; then |
10547 | (exit $ac_status); }; }; then |
10290 | rxvt_cv_struct_utmpx=yes |
10548 | struct_utmpx=yes |
10291 | else |
10549 | else |
10292 | echo "$as_me: failed program was:" >&5 |
10550 | echo "$as_me: failed program was:" >&5 |
10293 | sed 's/^/| /' conftest.$ac_ext >&5 |
10551 | sed 's/^/| /' conftest.$ac_ext >&5 |
10294 | |
10552 | |
10295 | rxvt_cv_struct_utmpx=no |
10553 | struct_utmpx=no |
10296 | fi |
10554 | fi |
10297 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10555 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10298 | fi |
10556 | fi |
10299 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
10557 | echo "$as_me:$LINENO: result: $struct_utmpx" >&5 |
10300 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
10558 | echo "${ECHO_T}$struct_utmpx" >&6 |
10301 | if test x$rxvt_cv_struct_utmpx = xyes; then |
10559 | if test x$struct_utmpx = xyes; then |
10302 | |
10560 | |
10303 | cat >>confdefs.h <<\_ACEOF |
10561 | cat >>confdefs.h <<\_ACEOF |
10304 | #define HAVE_STRUCT_UTMPX 1 |
10562 | #define HAVE_STRUCT_UTMPX 1 |
10305 | _ACEOF |
10563 | _ACEOF |
10306 | |
10564 | |
10307 | fi |
10565 | fi |
10308 | |
10566 | |
10309 | |
10567 | |
10310 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10568 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10311 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10569 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10312 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
10570 | if test "${struct_utmpx_host+set}" = set; then |
10313 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10571 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10314 | else |
10572 | else |
10315 | cat >conftest.$ac_ext <<_ACEOF |
10573 | cat >conftest.$ac_ext <<_ACEOF |
10316 | /* confdefs.h. */ |
10574 | /* confdefs.h. */ |
10317 | _ACEOF |
10575 | _ACEOF |
… | |
… | |
10335 | grep -v '^ *+' conftest.er1 >conftest.err |
10593 | grep -v '^ *+' conftest.er1 >conftest.err |
10336 | rm -f conftest.er1 |
10594 | rm -f conftest.er1 |
10337 | cat conftest.err >&5 |
10595 | cat conftest.err >&5 |
10338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10339 | (exit $ac_status); } && |
10597 | (exit $ac_status); } && |
10340 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10598 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10599 | || test ! -s conftest.err' |
10341 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10600 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10342 | (eval $ac_try) 2>&5 |
10601 | (eval $ac_try) 2>&5 |
10343 | ac_status=$? |
10602 | ac_status=$? |
10344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10345 | (exit $ac_status); }; } && |
10604 | (exit $ac_status); }; } && |
… | |
… | |
10347 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10606 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10348 | (eval $ac_try) 2>&5 |
10607 | (eval $ac_try) 2>&5 |
10349 | ac_status=$? |
10608 | ac_status=$? |
10350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10351 | (exit $ac_status); }; }; then |
10610 | (exit $ac_status); }; }; then |
10352 | rxvt_cv_struct_utmpx_host=yes |
10611 | struct_utmpx_host=yes |
10353 | else |
10612 | else |
10354 | echo "$as_me: failed program was:" >&5 |
10613 | echo "$as_me: failed program was:" >&5 |
10355 | sed 's/^/| /' conftest.$ac_ext >&5 |
10614 | sed 's/^/| /' conftest.$ac_ext >&5 |
10356 | |
10615 | |
10357 | rxvt_cv_struct_utmpx_host=no |
10616 | struct_utmpx_host=no |
10358 | fi |
10617 | fi |
10359 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10618 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10360 | fi |
10619 | fi |
10361 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
10620 | echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5 |
10362 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
10621 | echo "${ECHO_T}$struct_utmpx_host" >&6 |
10363 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
10622 | if test x$struct_utmpx_host = xyes; then |
10364 | |
10623 | |
10365 | cat >>confdefs.h <<\_ACEOF |
10624 | cat >>confdefs.h <<\_ACEOF |
10366 | #define HAVE_UTMPX_HOST 1 |
10625 | #define HAVE_UTMPX_HOST 1 |
10367 | _ACEOF |
10626 | _ACEOF |
10368 | |
10627 | |
10369 | fi |
10628 | fi |
10370 | |
10629 | |
10371 | fi |
10630 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
|
|
10631 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
|
|
10632 | if test "${struct_utmpx_session+set}" = set; then |
|
|
10633 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10634 | else |
|
|
10635 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10636 | /* confdefs.h. */ |
|
|
10637 | _ACEOF |
|
|
10638 | cat confdefs.h >>conftest.$ac_ext |
|
|
10639 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10640 | /* end confdefs.h. */ |
|
|
10641 | #include <sys/types.h> |
|
|
10642 | #include <utmpx.h> |
|
|
10643 | int |
|
|
10644 | main () |
|
|
10645 | { |
|
|
10646 | struct utmpx utx; utx.ut_session; |
|
|
10647 | ; |
|
|
10648 | return 0; |
|
|
10649 | } |
|
|
10650 | _ACEOF |
|
|
10651 | rm -f conftest.$ac_objext |
|
|
10652 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10653 | (eval $ac_compile) 2>conftest.er1 |
|
|
10654 | ac_status=$? |
|
|
10655 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10656 | rm -f conftest.er1 |
|
|
10657 | cat conftest.err >&5 |
|
|
10658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10659 | (exit $ac_status); } && |
|
|
10660 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10661 | || test ! -s conftest.err' |
|
|
10662 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10663 | (eval $ac_try) 2>&5 |
|
|
10664 | ac_status=$? |
|
|
10665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10666 | (exit $ac_status); }; } && |
|
|
10667 | { ac_try='test -s conftest.$ac_objext' |
|
|
10668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10669 | (eval $ac_try) 2>&5 |
|
|
10670 | ac_status=$? |
|
|
10671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10672 | (exit $ac_status); }; }; then |
|
|
10673 | struct_utmpx_session=yes |
|
|
10674 | else |
|
|
10675 | echo "$as_me: failed program was:" >&5 |
|
|
10676 | sed 's/^/| /' conftest.$ac_ext >&5 |
10372 | |
10677 | |
|
|
10678 | struct_utmpx_session=no |
|
|
10679 | fi |
|
|
10680 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10681 | fi |
|
|
10682 | echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5 |
|
|
10683 | echo "${ECHO_T}$struct_utmpx_session" >&6 |
|
|
10684 | if test x$struct_utmpx_session = xyes; then |
|
|
10685 | |
|
|
10686 | cat >>confdefs.h <<\_ACEOF |
|
|
10687 | #define HAVE_UTMPX_SESSION 1 |
|
|
10688 | _ACEOF |
|
|
10689 | |
|
|
10690 | fi |
|
|
10691 | |
|
|
10692 | fi |
10373 | |
10693 | |
10374 | |
10694 | |
10375 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10695 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10376 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10696 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10377 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10697 | if test "${struct_lastlog+set}" = set; then |
10378 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10379 | else |
10699 | else |
10380 | cat >conftest.$ac_ext <<_ACEOF |
10700 | cat >conftest.$ac_ext <<_ACEOF |
10381 | /* confdefs.h. */ |
10701 | /* confdefs.h. */ |
10382 | _ACEOF |
10702 | _ACEOF |
… | |
… | |
10404 | grep -v '^ *+' conftest.er1 >conftest.err |
10724 | grep -v '^ *+' conftest.er1 >conftest.err |
10405 | rm -f conftest.er1 |
10725 | rm -f conftest.er1 |
10406 | cat conftest.err >&5 |
10726 | cat conftest.err >&5 |
10407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10408 | (exit $ac_status); } && |
10728 | (exit $ac_status); } && |
10409 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10729 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10730 | || test ! -s conftest.err' |
10410 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10411 | (eval $ac_try) 2>&5 |
10732 | (eval $ac_try) 2>&5 |
10412 | ac_status=$? |
10733 | ac_status=$? |
10413 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10414 | (exit $ac_status); }; } && |
10735 | (exit $ac_status); }; } && |
… | |
… | |
10416 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10737 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10417 | (eval $ac_try) 2>&5 |
10738 | (eval $ac_try) 2>&5 |
10418 | ac_status=$? |
10739 | ac_status=$? |
10419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10420 | (exit $ac_status); }; }; then |
10741 | (exit $ac_status); }; }; then |
10421 | rxvt_cv_struct_lastlog=yes |
10742 | struct_lastlog=yes |
10422 | else |
10743 | else |
10423 | echo "$as_me: failed program was:" >&5 |
10744 | echo "$as_me: failed program was:" >&5 |
10424 | sed 's/^/| /' conftest.$ac_ext >&5 |
10745 | sed 's/^/| /' conftest.$ac_ext >&5 |
10425 | |
10746 | |
10426 | rxvt_cv_struct_lastlog=no |
10747 | struct_lastlog=no |
10427 | fi |
10748 | fi |
10428 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10749 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10429 | fi |
10750 | fi |
10430 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
10751 | echo "$as_me:$LINENO: result: $struct_lastlog" >&5 |
10431 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
10752 | echo "${ECHO_T}$struct_lastlog" >&6 |
10432 | if test x$rxvt_cv_struct_lastlog = xyes; then |
10753 | if test x$struct_lastlog = xyes; then |
10433 | |
10754 | |
10434 | cat >>confdefs.h <<\_ACEOF |
10755 | cat >>confdefs.h <<\_ACEOF |
10435 | #define HAVE_STRUCT_LASTLOG 1 |
10756 | #define HAVE_STRUCT_LASTLOG 1 |
10436 | _ACEOF |
10757 | _ACEOF |
10437 | |
10758 | |
10438 | fi |
10759 | fi |
10439 | |
10760 | |
10440 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10761 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10441 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10762 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10442 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
10763 | if test "${struct_lastlogx+set}" = set; then |
10443 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10444 | else |
10765 | else |
10445 | cat >conftest.$ac_ext <<_ACEOF |
10766 | cat >conftest.$ac_ext <<_ACEOF |
10446 | /* confdefs.h. */ |
10767 | /* confdefs.h. */ |
10447 | _ACEOF |
10768 | _ACEOF |
… | |
… | |
10469 | grep -v '^ *+' conftest.er1 >conftest.err |
10790 | grep -v '^ *+' conftest.er1 >conftest.err |
10470 | rm -f conftest.er1 |
10791 | rm -f conftest.er1 |
10471 | cat conftest.err >&5 |
10792 | cat conftest.err >&5 |
10472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10473 | (exit $ac_status); } && |
10794 | (exit $ac_status); } && |
10474 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10795 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10796 | || test ! -s conftest.err' |
10475 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10797 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10476 | (eval $ac_try) 2>&5 |
10798 | (eval $ac_try) 2>&5 |
10477 | ac_status=$? |
10799 | ac_status=$? |
10478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10479 | (exit $ac_status); }; } && |
10801 | (exit $ac_status); }; } && |
… | |
… | |
10481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10482 | (eval $ac_try) 2>&5 |
10804 | (eval $ac_try) 2>&5 |
10483 | ac_status=$? |
10805 | ac_status=$? |
10484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10485 | (exit $ac_status); }; }; then |
10807 | (exit $ac_status); }; }; then |
10486 | rxvt_cv_struct_lastlogx=yes |
10808 | struct_lastlogx=yes |
10487 | else |
10809 | else |
10488 | echo "$as_me: failed program was:" >&5 |
10810 | echo "$as_me: failed program was:" >&5 |
10489 | sed 's/^/| /' conftest.$ac_ext >&5 |
10811 | sed 's/^/| /' conftest.$ac_ext >&5 |
10490 | |
10812 | |
10491 | rxvt_cv_struct_lastlogx=no |
10813 | struct_lastlogx=no |
10492 | fi |
10814 | fi |
10493 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10815 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10494 | fi |
10816 | fi |
10495 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
10817 | echo "$as_me:$LINENO: result: $struct_lastlogx" >&5 |
10496 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
10818 | echo "${ECHO_T}$struct_lastlogx" >&6 |
10497 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
10819 | if test x$struct_lastlogx = xyes; then |
10498 | |
10820 | |
10499 | cat >>confdefs.h <<\_ACEOF |
10821 | cat >>confdefs.h <<\_ACEOF |
10500 | #define HAVE_STRUCT_LASTLOGX 1 |
10822 | #define HAVE_STRUCT_LASTLOGX 1 |
10501 | _ACEOF |
10823 | _ACEOF |
10502 | |
10824 | |
10503 | fi |
10825 | fi |
10504 | |
10826 | |
10505 | |
10827 | |
10506 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10828 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10507 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10829 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10508 | if test "${rxvt_cv_path_utmp+set}" = set; then |
10830 | if test "${path_utmp+set}" = set; then |
10509 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10831 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10510 | else |
10832 | else |
10511 | if test "$cross_compiling" = yes; then |
10833 | if test "$cross_compiling" = yes; then |
10512 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
10834 | { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5 |
10513 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
10835 | echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
10514 | else |
10836 | else |
10515 | cat >conftest.$ac_ext <<_ACEOF |
10837 | cat >conftest.$ac_ext <<_ACEOF |
10516 | /* confdefs.h. */ |
10838 | /* confdefs.h. */ |
10517 | _ACEOF |
10839 | _ACEOF |
10518 | cat confdefs.h >>conftest.$ac_ext |
10840 | cat confdefs.h >>conftest.$ac_ext |
10519 | cat >>conftest.$ac_ext <<_ACEOF |
10841 | cat >>conftest.$ac_ext <<_ACEOF |
10520 | /* end confdefs.h. */ |
10842 | /* end confdefs.h. */ |
10521 | #include <stdio.h> |
10843 | #include <stdio.h> |
|
|
10844 | #include <stdlib.h> |
10522 | #include <sys/types.h> |
10845 | #include <sys/types.h> |
10523 | #include <utmp.h> |
10846 | #include <utmp.h> |
10524 | #include <errno.h> |
10847 | #include <errno.h> |
10525 | main() |
10848 | main() |
10526 | { |
10849 | { |
… | |
… | |
10554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10877 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10555 | (eval $ac_try) 2>&5 |
10878 | (eval $ac_try) 2>&5 |
10556 | ac_status=$? |
10879 | ac_status=$? |
10557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10558 | (exit $ac_status); }; }; then |
10881 | (exit $ac_status); }; }; then |
10559 | rxvt_cv_path_utmp=`cat conftestval` |
10882 | path_utmp=`cat conftestval` |
10560 | else |
10883 | else |
10561 | echo "$as_me: program exited with status $ac_status" >&5 |
10884 | echo "$as_me: program exited with status $ac_status" >&5 |
10562 | echo "$as_me: failed program was:" >&5 |
10885 | echo "$as_me: failed program was:" >&5 |
10563 | sed 's/^/| /' conftest.$ac_ext >&5 |
10886 | sed 's/^/| /' conftest.$ac_ext >&5 |
10564 | |
10887 | |
10565 | ( exit $ac_status ) |
10888 | ( exit $ac_status ) |
10566 | rxvt_cv_path_utmp= |
10889 | path_utmp= |
10567 | fi |
10890 | fi |
10568 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10891 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10569 | fi |
10892 | fi |
10570 | fi |
10893 | fi |
10571 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
10894 | echo "$as_me:$LINENO: result: $path_utmp" >&5 |
10572 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
10895 | echo "${ECHO_T}$path_utmp" >&6 |
10573 | if test x$rxvt_cv_path_utmp != x; then |
10896 | if test x$path_utmp != x; then |
10574 | |
10897 | |
10575 | cat >>confdefs.h <<_ACEOF |
10898 | cat >>confdefs.h <<_ACEOF |
10576 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
10899 | #define UTMP_FILE "$path_utmp" |
10577 | _ACEOF |
10900 | _ACEOF |
10578 | |
10901 | |
10579 | fi |
10902 | fi |
10580 | |
10903 | |
10581 | |
10904 | |
10582 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
10905 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
10583 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
10906 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
10584 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
10907 | if test "${path_utmpx+set}" = set; then |
10585 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10908 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10586 | else |
10909 | else |
10587 | if test "$cross_compiling" = yes; then |
10910 | if test "$cross_compiling" = yes; then |
10588 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
10911 | { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5 |
10589 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
10912 | echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;} |
10590 | else |
10913 | else |
10591 | cat >conftest.$ac_ext <<_ACEOF |
10914 | cat >conftest.$ac_ext <<_ACEOF |
10592 | /* confdefs.h. */ |
10915 | /* confdefs.h. */ |
10593 | _ACEOF |
10916 | _ACEOF |
10594 | cat confdefs.h >>conftest.$ac_ext |
10917 | cat confdefs.h >>conftest.$ac_ext |
10595 | cat >>conftest.$ac_ext <<_ACEOF |
10918 | cat >>conftest.$ac_ext <<_ACEOF |
10596 | /* end confdefs.h. */ |
10919 | /* end confdefs.h. */ |
10597 | #include <stdio.h> |
10920 | #include <stdio.h> |
|
|
10921 | #include <stdlib.h> |
10598 | #include <sys/types.h> |
10922 | #include <sys/types.h> |
10599 | #include <utmpx.h> |
10923 | #include <utmpx.h> |
10600 | #include <errno.h> |
10924 | #include <errno.h> |
10601 | #include <sys/stat.h> |
10925 | #include <sys/stat.h> |
10602 | #ifdef HAVE_STRING_H |
10926 | #ifdef HAVE_STRING_H |
… | |
… | |
10640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10641 | (eval $ac_try) 2>&5 |
10965 | (eval $ac_try) 2>&5 |
10642 | ac_status=$? |
10966 | ac_status=$? |
10643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10644 | (exit $ac_status); }; }; then |
10968 | (exit $ac_status); }; }; then |
10645 | rxvt_cv_path_utmpx=`cat conftestval` |
10969 | path_utmpx=`cat conftestval` |
10646 | else |
10970 | else |
10647 | echo "$as_me: program exited with status $ac_status" >&5 |
10971 | echo "$as_me: program exited with status $ac_status" >&5 |
10648 | echo "$as_me: failed program was:" >&5 |
10972 | echo "$as_me: failed program was:" >&5 |
10649 | sed 's/^/| /' conftest.$ac_ext >&5 |
10973 | sed 's/^/| /' conftest.$ac_ext >&5 |
10650 | |
10974 | |
10651 | ( exit $ac_status ) |
10975 | ( exit $ac_status ) |
10652 | rxvt_cv_path_utmpx= |
10976 | path_utmpx= |
10653 | fi |
10977 | fi |
10654 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10978 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10655 | fi |
10979 | fi |
10656 | fi |
10980 | fi |
10657 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
10981 | echo "$as_me:$LINENO: result: $path_utmpx" >&5 |
10658 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
10982 | echo "${ECHO_T}$path_utmpx" >&6 |
10659 | if test x$rxvt_cv_path_utmpx != x; then |
10983 | if test x$path_utmpx != x; then |
10660 | |
10984 | |
10661 | cat >>confdefs.h <<_ACEOF |
10985 | cat >>confdefs.h <<_ACEOF |
10662 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
10986 | #define UTMPX_FILE "$path_utmpx" |
10663 | _ACEOF |
10987 | _ACEOF |
10664 | |
10988 | |
10665 | fi |
10989 | fi |
10666 | |
10990 | |
10667 | |
10991 | |
10668 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
10992 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
10669 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
10993 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
10670 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
10994 | if test "${path_wtmp+set}" = set; then |
10671 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10995 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10672 | else |
10996 | else |
10673 | if test "$cross_compiling" = yes; then |
10997 | if test "$cross_compiling" = yes; then |
10674 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
10998 | { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5 |
10675 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
10999 | echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
10676 | else |
11000 | else |
10677 | cat >conftest.$ac_ext <<_ACEOF |
11001 | cat >conftest.$ac_ext <<_ACEOF |
10678 | /* confdefs.h. */ |
11002 | /* confdefs.h. */ |
10679 | _ACEOF |
11003 | _ACEOF |
10680 | cat confdefs.h >>conftest.$ac_ext |
11004 | cat confdefs.h >>conftest.$ac_ext |
10681 | cat >>conftest.$ac_ext <<_ACEOF |
11005 | cat >>conftest.$ac_ext <<_ACEOF |
10682 | /* end confdefs.h. */ |
11006 | /* end confdefs.h. */ |
10683 | #include <stdio.h> |
11007 | #include <stdio.h> |
|
|
11008 | #include <stdlib.h> |
10684 | #include <sys/types.h> |
11009 | #include <sys/types.h> |
10685 | #ifdef HAVE_UTMP_H |
11010 | #ifdef HAVE_UTMP_H |
10686 | #include <utmp.h> |
11011 | #include <utmp.h> |
10687 | #endif |
11012 | #endif |
10688 | #include <errno.h> |
11013 | #include <errno.h> |
… | |
… | |
10718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11043 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10719 | (eval $ac_try) 2>&5 |
11044 | (eval $ac_try) 2>&5 |
10720 | ac_status=$? |
11045 | ac_status=$? |
10721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10722 | (exit $ac_status); }; }; then |
11047 | (exit $ac_status); }; }; then |
10723 | rxvt_cv_path_wtmp=`cat conftestval` |
11048 | path_wtmp=`cat conftestval` |
10724 | else |
11049 | else |
10725 | echo "$as_me: program exited with status $ac_status" >&5 |
11050 | echo "$as_me: program exited with status $ac_status" >&5 |
10726 | echo "$as_me: failed program was:" >&5 |
11051 | echo "$as_me: failed program was:" >&5 |
10727 | sed 's/^/| /' conftest.$ac_ext >&5 |
11052 | sed 's/^/| /' conftest.$ac_ext >&5 |
10728 | |
11053 | |
10729 | ( exit $ac_status ) |
11054 | ( exit $ac_status ) |
10730 | rxvt_cv_path_wtmp= |
11055 | path_wtmp= |
10731 | fi |
11056 | fi |
10732 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11057 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10733 | fi |
11058 | fi |
10734 | fi |
11059 | fi |
10735 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
11060 | echo "$as_me:$LINENO: result: $path_wtmp" >&5 |
10736 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
11061 | echo "${ECHO_T}$path_wtmp" >&6 |
10737 | if test x$rxvt_cv_path_wtmp != x; then |
11062 | if test x$path_wtmp != x; then |
10738 | |
11063 | |
10739 | cat >>confdefs.h <<_ACEOF |
11064 | cat >>confdefs.h <<_ACEOF |
10740 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
11065 | #define WTMP_FILE "$path_wtmp" |
10741 | _ACEOF |
11066 | _ACEOF |
10742 | |
11067 | |
10743 | fi |
11068 | fi |
10744 | |
11069 | |
10745 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11070 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
10746 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11071 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
10747 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
11072 | if test "${path_wtmpx+set}" = set; then |
10748 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11073 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10749 | else |
11074 | else |
10750 | if test "$cross_compiling" = yes; then |
11075 | if test "$cross_compiling" = yes; then |
10751 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
11076 | { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
10752 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
11077 | echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
10753 | else |
11078 | else |
10754 | cat >conftest.$ac_ext <<_ACEOF |
11079 | cat >conftest.$ac_ext <<_ACEOF |
10755 | /* confdefs.h. */ |
11080 | /* confdefs.h. */ |
10756 | _ACEOF |
11081 | _ACEOF |
10757 | cat confdefs.h >>conftest.$ac_ext |
11082 | cat confdefs.h >>conftest.$ac_ext |
10758 | cat >>conftest.$ac_ext <<_ACEOF |
11083 | cat >>conftest.$ac_ext <<_ACEOF |
10759 | /* end confdefs.h. */ |
11084 | /* end confdefs.h. */ |
10760 | #include <stdio.h> |
11085 | #include <stdio.h> |
|
|
11086 | #include <stdlib.h> |
10761 | #ifdef HAVE_UTMPX_H |
11087 | #ifdef HAVE_UTMPX_H |
10762 | #include <utmpx.h> |
11088 | #include <utmpx.h> |
10763 | #endif |
11089 | #endif |
10764 | #include <errno.h> |
11090 | #include <errno.h> |
10765 | main() |
11091 | main() |
… | |
… | |
10794 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11120 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10795 | (eval $ac_try) 2>&5 |
11121 | (eval $ac_try) 2>&5 |
10796 | ac_status=$? |
11122 | ac_status=$? |
10797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10798 | (exit $ac_status); }; }; then |
11124 | (exit $ac_status); }; }; then |
10799 | rxvt_cv_path_wtmpx=`cat conftestval` |
11125 | path_wtmpx=`cat conftestval` |
10800 | else |
11126 | else |
10801 | echo "$as_me: program exited with status $ac_status" >&5 |
11127 | echo "$as_me: program exited with status $ac_status" >&5 |
10802 | echo "$as_me: failed program was:" >&5 |
11128 | echo "$as_me: failed program was:" >&5 |
10803 | sed 's/^/| /' conftest.$ac_ext >&5 |
11129 | sed 's/^/| /' conftest.$ac_ext >&5 |
10804 | |
11130 | |
10805 | ( exit $ac_status ) |
11131 | ( exit $ac_status ) |
10806 | rxvt_cv_path_wtmpx= |
11132 | path_wtmpx= |
10807 | fi |
11133 | fi |
10808 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11134 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10809 | fi |
11135 | fi |
10810 | fi |
11136 | fi |
10811 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
11137 | echo "$as_me:$LINENO: result: $path_wtmpx" >&5 |
10812 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
11138 | echo "${ECHO_T}$path_wtmpx" >&6 |
10813 | if test x$rxvt_cv_path_wtmpx != x; then |
11139 | if test x$path_wtmpx != x; then |
10814 | |
11140 | |
10815 | cat >>confdefs.h <<_ACEOF |
11141 | cat >>confdefs.h <<_ACEOF |
10816 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
11142 | #define WTMPX_FILE "$path_wtmpx" |
10817 | _ACEOF |
11143 | _ACEOF |
10818 | |
11144 | |
10819 | fi |
11145 | fi |
10820 | |
11146 | |
10821 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11147 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
10822 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11148 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
10823 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
11149 | if test "${path_lastlog+set}" = set; then |
10824 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11150 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10825 | else |
11151 | else |
10826 | if test "$cross_compiling" = yes; then |
11152 | if test "$cross_compiling" = yes; then |
10827 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
11153 | { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
10828 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
11154 | echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
10829 | else |
11155 | else |
10830 | cat >conftest.$ac_ext <<_ACEOF |
11156 | cat >conftest.$ac_ext <<_ACEOF |
10831 | /* confdefs.h. */ |
11157 | /* confdefs.h. */ |
10832 | _ACEOF |
11158 | _ACEOF |
10833 | cat confdefs.h >>conftest.$ac_ext |
11159 | cat confdefs.h >>conftest.$ac_ext |
10834 | cat >>conftest.$ac_ext <<_ACEOF |
11160 | cat >>conftest.$ac_ext <<_ACEOF |
10835 | /* end confdefs.h. */ |
11161 | /* end confdefs.h. */ |
10836 | #include <stdio.h> |
11162 | #include <stdio.h> |
|
|
11163 | #include <stdlib.h> |
10837 | #include <sys/types.h> |
11164 | #include <sys/types.h> |
10838 | #ifdef HAVE_UTMPX_H |
11165 | #ifdef HAVE_UTMPX_H |
10839 | #include <utmpx.h> |
11166 | #include <utmpx.h> |
10840 | #elif defined(HAVE_UTMP_H) |
11167 | #elif defined(HAVE_UTMP_H) |
10841 | #include <utmp.h> |
11168 | #include <utmp.h> |
… | |
… | |
10875 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10876 | (eval $ac_try) 2>&5 |
11203 | (eval $ac_try) 2>&5 |
10877 | ac_status=$? |
11204 | ac_status=$? |
10878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10879 | (exit $ac_status); }; }; then |
11206 | (exit $ac_status); }; }; then |
10880 | rxvt_cv_path_lastlog=`cat conftestval` |
11207 | path_lastlog=`cat conftestval` |
10881 | else |
11208 | else |
10882 | echo "$as_me: program exited with status $ac_status" >&5 |
11209 | echo "$as_me: program exited with status $ac_status" >&5 |
10883 | echo "$as_me: failed program was:" >&5 |
11210 | echo "$as_me: failed program was:" >&5 |
10884 | sed 's/^/| /' conftest.$ac_ext >&5 |
11211 | sed 's/^/| /' conftest.$ac_ext >&5 |
10885 | |
11212 | |
10886 | ( exit $ac_status ) |
11213 | ( exit $ac_status ) |
10887 | rxvt_cv_path_lastlog= |
11214 | path_lastlog= |
10888 | fi |
11215 | fi |
10889 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11216 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10890 | fi |
11217 | fi |
10891 | fi |
11218 | fi |
10892 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
11219 | echo "$as_me:$LINENO: result: $path_lastlog" >&5 |
10893 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
11220 | echo "${ECHO_T}$path_lastlog" >&6 |
10894 | if test x$rxvt_cv_path_lastlog != x; then |
11221 | if test x$path_lastlog != x; then |
10895 | |
11222 | |
10896 | cat >>confdefs.h <<_ACEOF |
11223 | cat >>confdefs.h <<_ACEOF |
10897 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
11224 | #define LASTLOG_FILE "$path_lastlog" |
10898 | _ACEOF |
11225 | _ACEOF |
10899 | |
11226 | |
10900 | if test -d "$rxvt_cv_path_lastlog"; then |
11227 | if test -d "$path_lastlog"; then |
10901 | |
11228 | |
10902 | cat >>confdefs.h <<\_ACEOF |
11229 | cat >>confdefs.h <<\_ACEOF |
10903 | #define LASTLOG_IS_DIR 1 |
11230 | #define LASTLOG_IS_DIR 1 |
10904 | _ACEOF |
11231 | _ACEOF |
10905 | |
11232 | |
10906 | fi |
11233 | fi |
10907 | fi |
11234 | fi |
10908 | |
11235 | |
10909 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11236 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
10910 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11237 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
10911 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
11238 | if test "${path_lastlogx+set}" = set; then |
10912 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11239 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10913 | else |
11240 | else |
10914 | if test "$cross_compiling" = yes; then |
11241 | if test "$cross_compiling" = yes; then |
10915 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
11242 | { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
10916 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
11243 | echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
10917 | else |
11244 | else |
10918 | cat >conftest.$ac_ext <<_ACEOF |
11245 | cat >conftest.$ac_ext <<_ACEOF |
10919 | /* confdefs.h. */ |
11246 | /* confdefs.h. */ |
10920 | _ACEOF |
11247 | _ACEOF |
10921 | cat confdefs.h >>conftest.$ac_ext |
11248 | cat confdefs.h >>conftest.$ac_ext |
10922 | cat >>conftest.$ac_ext <<_ACEOF |
11249 | cat >>conftest.$ac_ext <<_ACEOF |
10923 | /* end confdefs.h. */ |
11250 | /* end confdefs.h. */ |
10924 | #include <stdio.h> |
11251 | #include <stdio.h> |
|
|
11252 | #include <stdlib.h> |
10925 | #ifdef HAVE_UTMPX_H |
11253 | #ifdef HAVE_UTMPX_H |
10926 | #include <utmpx.h> |
11254 | #include <utmpx.h> |
10927 | #endif |
11255 | #endif |
10928 | #include <errno.h> |
11256 | #include <errno.h> |
10929 | main() |
11257 | main() |
… | |
… | |
10957 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11285 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10958 | (eval $ac_try) 2>&5 |
11286 | (eval $ac_try) 2>&5 |
10959 | ac_status=$? |
11287 | ac_status=$? |
10960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10961 | (exit $ac_status); }; }; then |
11289 | (exit $ac_status); }; }; then |
10962 | rxvt_cv_path_lastlogx=`cat conftestval` |
11290 | path_lastlogx=`cat conftestval` |
10963 | else |
11291 | else |
10964 | echo "$as_me: program exited with status $ac_status" >&5 |
11292 | echo "$as_me: program exited with status $ac_status" >&5 |
10965 | echo "$as_me: failed program was:" >&5 |
11293 | echo "$as_me: failed program was:" >&5 |
10966 | sed 's/^/| /' conftest.$ac_ext >&5 |
11294 | sed 's/^/| /' conftest.$ac_ext >&5 |
10967 | |
11295 | |
10968 | ( exit $ac_status ) |
11296 | ( exit $ac_status ) |
10969 | rxvt_cv_path_lastlogx= |
11297 | path_lastlogx= |
10970 | fi |
11298 | fi |
10971 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11299 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10972 | fi |
11300 | fi |
10973 | fi |
11301 | fi |
10974 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
11302 | echo "$as_me:$LINENO: result: $path_lastlogx" >&5 |
10975 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
11303 | echo "${ECHO_T}$path_lastlogx" >&6 |
10976 | if test x$rxvt_cv_path_lastlogx != x; then |
11304 | if test x$path_lastlogx != x; then |
10977 | |
11305 | |
10978 | cat >>confdefs.h <<_ACEOF |
11306 | cat >>confdefs.h <<_ACEOF |
10979 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
11307 | #define LASTLOGX_FILE "$path_lastlogx" |
10980 | _ACEOF |
11308 | _ACEOF |
10981 | |
11309 | |
10982 | fi |
11310 | fi |
|
|
11311 | |
10983 | |
11312 | |
10984 | |
11313 | |
10985 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11314 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
10986 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11315 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
10987 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
11316 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
… | |
… | |
11009 | |
11338 | |
11010 | ac_save_LIBS=$LIBS |
11339 | ac_save_LIBS=$LIBS |
11011 | ac_save_CFLAGS=$CFLAGS |
11340 | ac_save_CFLAGS=$CFLAGS |
11012 | CFLAGS="$CFLAGS $X_CFLAGS" |
11341 | CFLAGS="$CFLAGS $X_CFLAGS" |
11013 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11342 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11014 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
11015 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
11016 | fi |
|
|
11017 | echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11343 | echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11018 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 |
11344 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 |
11019 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11345 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11346 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11021 | else |
11347 | else |
11022 | if test "$cross_compiling" = yes; then |
11348 | if test "$cross_compiling" = yes; then |
11023 | { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 |
11349 | : |
11024 | echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;} |
|
|
11025 | else |
11350 | else |
11026 | cat >conftest.$ac_ext <<_ACEOF |
11351 | cat >conftest.$ac_ext <<_ACEOF |
11027 | /* confdefs.h. */ |
11352 | /* confdefs.h. */ |
11028 | _ACEOF |
11353 | _ACEOF |
11029 | cat confdefs.h >>conftest.$ac_ext |
11354 | cat confdefs.h >>conftest.$ac_ext |
11030 | cat >>conftest.$ac_ext <<_ACEOF |
11355 | cat >>conftest.$ac_ext <<_ACEOF |
11031 | /* end confdefs.h. */ |
11356 | /* end confdefs.h. */ |
11032 | #include <X11/Xlib.h> |
11357 | #include <X11/Xlib.h> |
|
|
11358 | #include <stdlib.h> |
11033 | main() { |
11359 | main() { |
11034 | char *p; |
11360 | char *p; |
11035 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11361 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11036 | exit (XSupportsLocale() ? 0 : 1); |
11362 | exit (XSupportsLocale() ? 0 : 1); |
11037 | else |
11363 | else |
… | |
… | |
11060 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11386 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11061 | fi |
11387 | fi |
11062 | fi |
11388 | fi |
11063 | echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11389 | echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11064 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 |
11390 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 |
|
|
11391 | if test x$support_xim = xyes; then |
11065 | if test x$rxvt_cv_func_xlocale = xyes; then |
11392 | if test x$rxvt_cv_func_xlocale = xyes; then |
11066 | |
11393 | |
11067 | cat >>confdefs.h <<\_ACEOF |
11394 | cat >>confdefs.h <<\_ACEOF |
11068 | #define HAVE_XLOCALE 1 |
11395 | #define USE_XIM 1 |
11069 | _ACEOF |
11396 | _ACEOF |
11070 | |
11397 | |
|
|
11398 | fi |
11071 | fi |
11399 | fi |
11072 | |
11400 | |
11073 | echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11401 | echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11074 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 |
11402 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 |
11075 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
11403 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
… | |
… | |
11098 | grep -v '^ *+' conftest.er1 >conftest.err |
11426 | grep -v '^ *+' conftest.er1 >conftest.err |
11099 | rm -f conftest.er1 |
11427 | rm -f conftest.er1 |
11100 | cat conftest.err >&5 |
11428 | cat conftest.err >&5 |
11101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11102 | (exit $ac_status); } && |
11430 | (exit $ac_status); } && |
11103 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11431 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11432 | || test ! -s conftest.err' |
11104 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11105 | (eval $ac_try) 2>&5 |
11434 | (eval $ac_try) 2>&5 |
11106 | ac_status=$? |
11435 | ac_status=$? |
11107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11108 | (exit $ac_status); }; } && |
11437 | (exit $ac_status); }; } && |
… | |
… | |
11161 | grep -v '^ *+' conftest.er1 >conftest.err |
11490 | grep -v '^ *+' conftest.er1 >conftest.err |
11162 | rm -f conftest.er1 |
11491 | rm -f conftest.er1 |
11163 | cat conftest.err >&5 |
11492 | cat conftest.err >&5 |
11164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11165 | (exit $ac_status); } && |
11494 | (exit $ac_status); } && |
11166 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11495 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11496 | || test ! -s conftest.err' |
11167 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11168 | (eval $ac_try) 2>&5 |
11498 | (eval $ac_try) 2>&5 |
11169 | ac_status=$? |
11499 | ac_status=$? |
11170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11171 | (exit $ac_status); }; } && |
11501 | (exit $ac_status); }; } && |
… | |
… | |
11222 | grep -v '^ *+' conftest.er1 >conftest.err |
11552 | grep -v '^ *+' conftest.er1 >conftest.err |
11223 | rm -f conftest.er1 |
11553 | rm -f conftest.er1 |
11224 | cat conftest.err >&5 |
11554 | cat conftest.err >&5 |
11225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11226 | (exit $ac_status); } && |
11556 | (exit $ac_status); } && |
11227 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11557 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11558 | || test ! -s conftest.err' |
11228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11559 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11229 | (eval $ac_try) 2>&5 |
11560 | (eval $ac_try) 2>&5 |
11230 | ac_status=$? |
11561 | ac_status=$? |
11231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11562 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11232 | (exit $ac_status); }; } && |
11563 | (exit $ac_status); }; } && |
… | |
… | |
11253 | cat >>confdefs.h <<\_ACEOF |
11584 | cat >>confdefs.h <<\_ACEOF |
11254 | #define HAVE_NL_LANGINFO 1 |
11585 | #define HAVE_NL_LANGINFO 1 |
11255 | _ACEOF |
11586 | _ACEOF |
11256 | |
11587 | |
11257 | fi |
11588 | fi |
|
|
11589 | |
|
|
11590 | |
|
|
11591 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
|
|
11592 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
|
|
11593 | if test "${can_pass_fds+set}" = set; then |
|
|
11594 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11595 | else |
|
|
11596 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11597 | /* confdefs.h. */ |
|
|
11598 | _ACEOF |
|
|
11599 | cat confdefs.h >>conftest.$ac_ext |
|
|
11600 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11601 | /* end confdefs.h. */ |
|
|
11602 | |
|
|
11603 | #include <cstddef> // broken bsds (is that redundant?) need this |
|
|
11604 | #include <sys/types.h> |
|
|
11605 | #include <sys/socket.h> |
|
|
11606 | #include <sys/uio.h> |
|
|
11607 | |
|
|
11608 | int |
|
|
11609 | main () |
|
|
11610 | { |
|
|
11611 | |
|
|
11612 | { |
|
|
11613 | msghdr msg; |
|
|
11614 | iovec iov; |
|
|
11615 | char buf [100]; |
|
|
11616 | char data = 0; |
|
|
11617 | |
|
|
11618 | iov.iov_base = &data; |
|
|
11619 | iov.iov_len = 1; |
|
|
11620 | |
|
|
11621 | msg.msg_iov = &iov; |
|
|
11622 | msg.msg_iovlen = 1; |
|
|
11623 | msg.msg_control = buf; |
|
|
11624 | msg.msg_controllen = sizeof buf; |
|
|
11625 | |
|
|
11626 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
11627 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
11628 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
11629 | cmsg->cmsg_len = 100; |
|
|
11630 | |
|
|
11631 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
11632 | |
|
|
11633 | return sendmsg (3, &msg, 0); |
|
|
11634 | } |
|
|
11635 | |
|
|
11636 | ; |
|
|
11637 | return 0; |
|
|
11638 | } |
|
|
11639 | _ACEOF |
|
|
11640 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11641 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11642 | (eval $ac_link) 2>conftest.er1 |
|
|
11643 | ac_status=$? |
|
|
11644 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11645 | rm -f conftest.er1 |
|
|
11646 | cat conftest.err >&5 |
|
|
11647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11648 | (exit $ac_status); } && |
|
|
11649 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11650 | || test ! -s conftest.err' |
|
|
11651 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11652 | (eval $ac_try) 2>&5 |
|
|
11653 | ac_status=$? |
|
|
11654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11655 | (exit $ac_status); }; } && |
|
|
11656 | { ac_try='test -s conftest$ac_exeext' |
|
|
11657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11658 | (eval $ac_try) 2>&5 |
|
|
11659 | ac_status=$? |
|
|
11660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11661 | (exit $ac_status); }; }; then |
|
|
11662 | can_pass_fds=yes |
|
|
11663 | else |
|
|
11664 | echo "$as_me: failed program was:" >&5 |
|
|
11665 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11666 | |
|
|
11667 | can_pass_fds=no |
|
|
11668 | fi |
|
|
11669 | rm -f conftest.err conftest.$ac_objext \ |
|
|
11670 | conftest$ac_exeext conftest.$ac_ext |
|
|
11671 | fi |
|
|
11672 | echo "$as_me:$LINENO: result: $can_pass_fds" >&5 |
|
|
11673 | echo "${ECHO_T}$can_pass_fds" >&6 |
|
|
11674 | if test x$can_pass_fds = xyes; then |
|
|
11675 | |
|
|
11676 | cat >>confdefs.h <<\_ACEOF |
|
|
11677 | #define HAVE_UNIX_FDPASS 1 |
|
|
11678 | _ACEOF |
|
|
11679 | |
|
|
11680 | else |
|
|
11681 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
|
|
11682 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
|
|
11683 | { (exit 1); exit 1; }; } |
|
|
11684 | fi |
|
|
11685 | |
11258 | |
11686 | |
11259 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11687 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11260 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11688 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11261 | if test "${rxvt_broken_ximcb+set}" = set; then |
11689 | if test "${rxvt_broken_ximcb+set}" = set; then |
11262 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11690 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11280 | grep -v '^ *+' conftest.er1 >conftest.err |
11708 | grep -v '^ *+' conftest.er1 >conftest.err |
11281 | rm -f conftest.er1 |
11709 | rm -f conftest.er1 |
11282 | cat conftest.err >&5 |
11710 | cat conftest.err >&5 |
11283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11284 | (exit $ac_status); } && |
11712 | (exit $ac_status); } && |
11285 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11713 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11714 | || test ! -s conftest.err' |
11286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11715 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11287 | (eval $ac_try) 2>&5 |
11716 | (eval $ac_try) 2>&5 |
11288 | ac_status=$? |
11717 | ac_status=$? |
11289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11290 | (exit $ac_status); }; } && |
11719 | (exit $ac_status); }; } && |
… | |
… | |
11312 | #define XIMCB_PROTO_BROKEN 1 |
11741 | #define XIMCB_PROTO_BROKEN 1 |
11313 | _ACEOF |
11742 | _ACEOF |
11314 | |
11743 | |
11315 | fi |
11744 | fi |
11316 | |
11745 | |
11317 | echo "$as_me:$LINENO: checking for getpt" >&5 |
|
|
11318 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
|
|
11319 | if test "${rxvt_cv_func_getpt+set}" = set; then |
|
|
11320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11321 | else |
|
|
11322 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11323 | /* confdefs.h. */ |
|
|
11324 | _ACEOF |
|
|
11325 | cat confdefs.h >>conftest.$ac_ext |
|
|
11326 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11327 | /* end confdefs.h. */ |
|
|
11328 | #define _GNU_SOURCE |
|
|
11329 | #ifdef HAVE_STDLIB_H |
|
|
11330 | # include <cstdlib> |
|
|
11331 | #endif |
|
|
11332 | int |
|
|
11333 | main () |
|
|
11334 | { |
|
|
11335 | (void)getpt(); |
|
|
11336 | ; |
|
|
11337 | return 0; |
|
|
11338 | } |
|
|
11339 | _ACEOF |
|
|
11340 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11341 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11342 | (eval $ac_link) 2>conftest.er1 |
|
|
11343 | ac_status=$? |
|
|
11344 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11345 | rm -f conftest.er1 |
|
|
11346 | cat conftest.err >&5 |
|
|
11347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11348 | (exit $ac_status); } && |
|
|
11349 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11351 | (eval $ac_try) 2>&5 |
|
|
11352 | ac_status=$? |
|
|
11353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11354 | (exit $ac_status); }; } && |
|
|
11355 | { ac_try='test -s conftest$ac_exeext' |
|
|
11356 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11357 | (eval $ac_try) 2>&5 |
|
|
11358 | ac_status=$? |
|
|
11359 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11360 | (exit $ac_status); }; }; then |
|
|
11361 | rxvt_cv_func_getpt=yes |
|
|
11362 | else |
|
|
11363 | echo "$as_me: failed program was:" >&5 |
|
|
11364 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11365 | |
11746 | |
11366 | rxvt_cv_func_getpt=no |
|
|
11367 | fi |
|
|
11368 | rm -f conftest.err conftest.$ac_objext \ |
|
|
11369 | conftest$ac_exeext conftest.$ac_ext |
|
|
11370 | fi |
|
|
11371 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
|
|
11372 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
|
|
11373 | if test x$rxvt_cv_func_getpt = xyes; then |
|
|
11374 | |
11747 | |
11375 | cat >>confdefs.h <<\_ACEOF |
|
|
11376 | #define HAVE_GETPT 1 |
|
|
11377 | _ACEOF |
|
|
11378 | |
11748 | |
11379 | fi |
|
|
11380 | |
11749 | |
11381 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
|
|
11382 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
|
|
11383 | if test "${rxvt_cv_ptys+set}" = set; then |
|
|
11384 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11385 | else |
|
|
11386 | if test x$ac_cv_func_openpty = xyes; then |
|
|
11387 | rxvt_cv_ptys=OPENPTY |
|
|
11388 | else if test x$ac_cv_func__getpty = xyes; then |
|
|
11389 | rxvt_cv_ptys=SGI4 |
|
|
11390 | else if test -c /dev/ttyp20; then |
|
|
11391 | rxvt_cv_ptys=SCO |
|
|
11392 | else if test -c /dev/ptym/clone; then |
|
|
11393 | rxvt_cv_ptys=HPUX |
|
|
11394 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
11395 | rxvt_cv_ptys=GLIBC |
|
|
11396 | else if test -c /dev/ptc -a -c /dev/pts; then |
|
|
11397 | rxvt_cv_ptys=PTC |
|
|
11398 | else if test -c /dev/ptc -a -d /dev/pts; then |
|
|
11399 | rxvt_cv_ptys=PTC |
|
|
11400 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
|
|
11401 | rxvt_cv_ptys=STREAMS |
|
|
11402 | else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then |
|
|
11403 | rxvt_cv_ptys=STREAMS |
|
|
11404 | else |
|
|
11405 | rxvt_cv_ptys=BSD |
|
|
11406 | fi |
|
|
11407 | fi |
|
|
11408 | fi |
|
|
11409 | fi |
|
|
11410 | fi |
|
|
11411 | fi |
|
|
11412 | fi |
|
|
11413 | fi |
|
|
11414 | fi |
|
|
11415 | |
11750 | |
11416 | fi |
|
|
11417 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
|
|
11418 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
|
|
11419 | |
11751 | |
11420 | if test x$rxvt_cv_ptys = xOPENPTY; then |
11752 | for ac_header in \ |
|
|
11753 | pty.h \ |
|
|
11754 | util.h \ |
|
|
11755 | libutil.h \ |
|
|
11756 | sys/ioctl.h \ |
|
|
11757 | sys/stropts.h \ |
11421 | |
11758 | |
11422 | cat >>confdefs.h <<\_ACEOF |
|
|
11423 | #define PTYS_ARE_OPENPTY 1 |
|
|
11424 | _ACEOF |
|
|
11425 | |
|
|
11426 | fi |
|
|
11427 | if test x$rxvt_cv_ptys = xSCO; then |
|
|
11428 | |
|
|
11429 | cat >>confdefs.h <<\_ACEOF |
|
|
11430 | #define PTYS_ARE_NUMERIC 1 |
|
|
11431 | _ACEOF |
|
|
11432 | |
|
|
11433 | fi |
|
|
11434 | if test x$rxvt_cv_ptys = xSTREAMS; then |
|
|
11435 | |
|
|
11436 | cat >>confdefs.h <<\_ACEOF |
|
|
11437 | #define PTYS_ARE_PTMX 1 |
|
|
11438 | _ACEOF |
|
|
11439 | |
|
|
11440 | fi |
|
|
11441 | if test x$rxvt_cv_ptys = xPTC; then |
|
|
11442 | |
|
|
11443 | cat >>confdefs.h <<\_ACEOF |
|
|
11444 | #define PTYS_ARE_PTC 1 |
|
|
11445 | _ACEOF |
|
|
11446 | |
|
|
11447 | fi |
|
|
11448 | if test x$rxvt_cv_ptys = xSGI4; then |
|
|
11449 | |
|
|
11450 | cat >>confdefs.h <<\_ACEOF |
|
|
11451 | #define PTYS_ARE__GETPTY 1 |
|
|
11452 | _ACEOF |
|
|
11453 | |
|
|
11454 | fi |
|
|
11455 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
11456 | |
|
|
11457 | cat >>confdefs.h <<\_ACEOF |
|
|
11458 | #define PTYS_ARE_GETPTY 1 |
|
|
11459 | _ACEOF |
|
|
11460 | |
|
|
11461 | fi |
|
|
11462 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
11463 | |
|
|
11464 | cat >>confdefs.h <<\_ACEOF |
|
|
11465 | #define PTYS_ARE_GETPT 1 |
|
|
11466 | _ACEOF |
|
|
11467 | |
|
|
11468 | fi |
|
|
11469 | if test x$rxvt_cv_ptys = xHPUX; then |
|
|
11470 | |
|
|
11471 | cat >>confdefs.h <<\_ACEOF |
|
|
11472 | #define PTYS_ARE_CLONE 1 |
|
|
11473 | _ACEOF |
|
|
11474 | |
|
|
11475 | fi |
|
|
11476 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
|
|
11477 | |
|
|
11478 | cat >>confdefs.h <<\_ACEOF |
|
|
11479 | #define PTYS_ARE_SEARCHED 1 |
|
|
11480 | _ACEOF |
|
|
11481 | |
|
|
11482 | fi |
|
|
11483 | |
|
|
11484 | |
|
|
11485 | { echo "$as_me:$LINENO: checking for pty ranges..." >&5 |
|
|
11486 | echo "$as_me: checking for pty ranges..." >&6;} |
|
|
11487 | ptys=`echo /dev/pty??` |
|
|
11488 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
|
|
11489 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
|
|
11490 | if test x$pch1 != x; then |
|
|
11491 | |
|
|
11492 | cat >>confdefs.h <<_ACEOF |
|
|
11493 | #define PTYCHAR1 "$pch1" |
|
|
11494 | _ACEOF |
|
|
11495 | |
|
|
11496 | fi |
|
|
11497 | if test x$pch2 != x; then |
|
|
11498 | |
|
|
11499 | cat >>confdefs.h <<_ACEOF |
|
|
11500 | #define PTYCHAR2 "$pch2" |
|
|
11501 | _ACEOF |
|
|
11502 | |
|
|
11503 | fi |
|
|
11504 | |
|
|
11505 | if test x$support_xft = xyes; then |
|
|
11506 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
11507 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
11508 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
11509 | |
|
|
11510 | |
|
|
11511 | for ac_header in X11/Xft/Xft.h |
|
|
11512 | do |
11759 | do |
11513 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11760 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11514 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11761 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11515 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11762 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11516 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11763 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
11539 | grep -v '^ *+' conftest.er1 >conftest.err |
11786 | grep -v '^ *+' conftest.er1 >conftest.err |
11540 | rm -f conftest.er1 |
11787 | rm -f conftest.er1 |
11541 | cat conftest.err >&5 |
11788 | cat conftest.err >&5 |
11542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11543 | (exit $ac_status); } && |
11790 | (exit $ac_status); } && |
11544 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11791 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11792 | || test ! -s conftest.err' |
11545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11793 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11546 | (eval $ac_try) 2>&5 |
11794 | (eval $ac_try) 2>&5 |
11547 | ac_status=$? |
11795 | ac_status=$? |
11548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11549 | (exit $ac_status); }; } && |
11797 | (exit $ac_status); }; } && |
… | |
… | |
11650 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11898 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11651 | cat >>confdefs.h <<_ACEOF |
11899 | cat >>confdefs.h <<_ACEOF |
11652 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11900 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11653 | _ACEOF |
11901 | _ACEOF |
11654 | |
11902 | |
|
|
11903 | fi |
|
|
11904 | |
|
|
11905 | done |
|
|
11906 | |
|
|
11907 | |
|
|
11908 | |
|
|
11909 | |
|
|
11910 | |
|
|
11911 | |
|
|
11912 | |
|
|
11913 | |
|
|
11914 | |
|
|
11915 | |
|
|
11916 | |
|
|
11917 | for ac_func in \ |
|
|
11918 | revoke \ |
|
|
11919 | _getpty \ |
|
|
11920 | getpt \ |
|
|
11921 | posix_openpt \ |
|
|
11922 | isastream \ |
|
|
11923 | setuid \ |
|
|
11924 | seteuid \ |
|
|
11925 | setreuid \ |
|
|
11926 | setresuid \ |
|
|
11927 | |
|
|
11928 | do |
|
|
11929 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
11930 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
11931 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
11932 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
11933 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11934 | else |
|
|
11935 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11936 | /* confdefs.h. */ |
|
|
11937 | _ACEOF |
|
|
11938 | cat confdefs.h >>conftest.$ac_ext |
|
|
11939 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11940 | /* end confdefs.h. */ |
|
|
11941 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
11942 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
11943 | #define $ac_func innocuous_$ac_func |
|
|
11944 | |
|
|
11945 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11946 | which can conflict with char $ac_func (); below. |
|
|
11947 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
11948 | <limits.h> exists even on freestanding compilers. */ |
|
|
11949 | |
|
|
11950 | #ifdef __STDC__ |
|
|
11951 | # include <limits.h> |
|
|
11952 | #else |
|
|
11953 | # include <assert.h> |
|
|
11954 | #endif |
|
|
11955 | |
|
|
11956 | #undef $ac_func |
|
|
11957 | |
|
|
11958 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11959 | #ifdef __cplusplus |
|
|
11960 | extern "C" |
|
|
11961 | { |
|
|
11962 | #endif |
|
|
11963 | /* We use char because int might match the return type of a gcc2 |
|
|
11964 | builtin and then its argument prototype would still apply. */ |
|
|
11965 | char $ac_func (); |
|
|
11966 | /* The GNU C library defines this for functions which it implements |
|
|
11967 | to always fail with ENOSYS. Some functions are actually named |
|
|
11968 | something starting with __ and the normal name is an alias. */ |
|
|
11969 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
11970 | choke me |
|
|
11971 | #else |
|
|
11972 | char (*f) () = $ac_func; |
|
|
11973 | #endif |
|
|
11974 | #ifdef __cplusplus |
|
|
11975 | } |
|
|
11976 | #endif |
|
|
11977 | |
|
|
11978 | int |
|
|
11979 | main () |
|
|
11980 | { |
|
|
11981 | return f != $ac_func; |
|
|
11982 | ; |
|
|
11983 | return 0; |
|
|
11984 | } |
|
|
11985 | _ACEOF |
|
|
11986 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11987 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11988 | (eval $ac_link) 2>conftest.er1 |
|
|
11989 | ac_status=$? |
|
|
11990 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11991 | rm -f conftest.er1 |
|
|
11992 | cat conftest.err >&5 |
|
|
11993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11994 | (exit $ac_status); } && |
|
|
11995 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11996 | || test ! -s conftest.err' |
|
|
11997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11998 | (eval $ac_try) 2>&5 |
|
|
11999 | ac_status=$? |
|
|
12000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12001 | (exit $ac_status); }; } && |
|
|
12002 | { ac_try='test -s conftest$ac_exeext' |
|
|
12003 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12004 | (eval $ac_try) 2>&5 |
|
|
12005 | ac_status=$? |
|
|
12006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12007 | (exit $ac_status); }; }; then |
|
|
12008 | eval "$as_ac_var=yes" |
|
|
12009 | else |
|
|
12010 | echo "$as_me: failed program was:" >&5 |
|
|
12011 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12012 | |
|
|
12013 | eval "$as_ac_var=no" |
|
|
12014 | fi |
|
|
12015 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12016 | conftest$ac_exeext conftest.$ac_ext |
|
|
12017 | fi |
|
|
12018 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12019 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12020 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12021 | cat >>confdefs.h <<_ACEOF |
|
|
12022 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12023 | _ACEOF |
|
|
12024 | |
|
|
12025 | fi |
|
|
12026 | done |
|
|
12027 | |
|
|
12028 | |
|
|
12029 | have_clone=no |
|
|
12030 | |
|
|
12031 | echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5 |
|
|
12032 | echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6 |
|
|
12033 | if test -e /dev/ptym/clone; then |
|
|
12034 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12035 | echo "${ECHO_T}yes" >&6 |
|
|
12036 | |
|
|
12037 | cat >>confdefs.h <<\_ACEOF |
|
|
12038 | #define HAVE_DEV_CLONE 1 |
|
|
12039 | _ACEOF |
|
|
12040 | |
|
|
12041 | |
|
|
12042 | cat >>confdefs.h <<\_ACEOF |
|
|
12043 | #define CLONE_DEVICE "/dev/ptym/clone" |
|
|
12044 | _ACEOF |
|
|
12045 | |
|
|
12046 | have_clone=yes |
|
|
12047 | else |
|
|
12048 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12049 | echo "${ECHO_T}no" >&6 |
|
|
12050 | fi |
|
|
12051 | |
|
|
12052 | echo "$as_me:$LINENO: checking for /dev/ptc" >&5 |
|
|
12053 | echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6 |
|
|
12054 | if test -e /dev/ptc; then |
|
|
12055 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12056 | echo "${ECHO_T}yes" >&6 |
|
|
12057 | |
|
|
12058 | cat >>confdefs.h <<\_ACEOF |
|
|
12059 | #define HAVE_DEV_PTC 1 |
|
|
12060 | _ACEOF |
|
|
12061 | |
|
|
12062 | |
|
|
12063 | cat >>confdefs.h <<\_ACEOF |
|
|
12064 | #define CLONE_DEVICE "/dev/ptc" |
|
|
12065 | _ACEOF |
|
|
12066 | |
|
|
12067 | have_clone=yes |
|
|
12068 | else |
|
|
12069 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12070 | echo "${ECHO_T}no" >&6 |
|
|
12071 | fi |
|
|
12072 | |
|
|
12073 | case $host in |
|
|
12074 | *-*-cygwin*) |
|
|
12075 | have_clone=yes |
|
|
12076 | |
|
|
12077 | cat >>confdefs.h <<\_ACEOF |
|
|
12078 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12079 | _ACEOF |
|
|
12080 | |
|
|
12081 | ;; |
|
|
12082 | *) |
|
|
12083 | echo "$as_me:$LINENO: checking for /dev/ptmx" >&5 |
|
|
12084 | echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6 |
|
|
12085 | if test -e /dev/ptmx; then |
|
|
12086 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12087 | echo "${ECHO_T}yes" >&6 |
|
|
12088 | |
|
|
12089 | cat >>confdefs.h <<\_ACEOF |
|
|
12090 | #define HAVE_DEV_PTMX 1 |
|
|
12091 | _ACEOF |
|
|
12092 | |
|
|
12093 | |
|
|
12094 | cat >>confdefs.h <<\_ACEOF |
|
|
12095 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12096 | _ACEOF |
|
|
12097 | |
|
|
12098 | have_clone=yes |
|
|
12099 | else |
|
|
12100 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12101 | echo "${ECHO_T}no" >&6 |
|
|
12102 | fi |
|
|
12103 | ;; |
|
|
12104 | esac |
|
|
12105 | |
|
|
12106 | if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then |
|
|
12107 | echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5 |
|
|
12108 | echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6 |
|
|
12109 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12110 | /* confdefs.h. */ |
|
|
12111 | _ACEOF |
|
|
12112 | cat confdefs.h >>conftest.$ac_ext |
|
|
12113 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12114 | /* end confdefs.h. */ |
|
|
12115 | #include <stdlib.h> |
|
|
12116 | int |
|
|
12117 | main () |
|
|
12118 | { |
|
|
12119 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
12120 | ; |
|
|
12121 | return 0; |
|
|
12122 | } |
|
|
12123 | _ACEOF |
|
|
12124 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12125 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12126 | (eval $ac_link) 2>conftest.er1 |
|
|
12127 | ac_status=$? |
|
|
12128 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12129 | rm -f conftest.er1 |
|
|
12130 | cat conftest.err >&5 |
|
|
12131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12132 | (exit $ac_status); } && |
|
|
12133 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12134 | || test ! -s conftest.err' |
|
|
12135 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12136 | (eval $ac_try) 2>&5 |
|
|
12137 | ac_status=$? |
|
|
12138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12139 | (exit $ac_status); }; } && |
|
|
12140 | { ac_try='test -s conftest$ac_exeext' |
|
|
12141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12142 | (eval $ac_try) 2>&5 |
|
|
12143 | ac_status=$? |
|
|
12144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12145 | (exit $ac_status); }; }; then |
|
|
12146 | unix98_pty=yes |
|
|
12147 | |
|
|
12148 | cat >>confdefs.h <<\_ACEOF |
|
|
12149 | #define UNIX98_PTY 1 |
|
|
12150 | _ACEOF |
|
|
12151 | |
|
|
12152 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12153 | echo "${ECHO_T}yes" >&6 |
|
|
12154 | else |
|
|
12155 | echo "$as_me: failed program was:" >&5 |
|
|
12156 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12157 | |
|
|
12158 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12159 | echo "${ECHO_T}no" >&6 |
|
|
12160 | fi |
|
|
12161 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12162 | conftest$ac_exeext conftest.$ac_ext |
|
|
12163 | fi |
|
|
12164 | |
|
|
12165 | if test -z "$unix98_pty"; then |
|
|
12166 | |
|
|
12167 | for ac_func in openpty |
|
|
12168 | do |
|
|
12169 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12170 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12171 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12172 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12173 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12174 | else |
|
|
12175 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12176 | /* confdefs.h. */ |
|
|
12177 | _ACEOF |
|
|
12178 | cat confdefs.h >>conftest.$ac_ext |
|
|
12179 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12180 | /* end confdefs.h. */ |
|
|
12181 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12182 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12183 | #define $ac_func innocuous_$ac_func |
|
|
12184 | |
|
|
12185 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12186 | which can conflict with char $ac_func (); below. |
|
|
12187 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12188 | <limits.h> exists even on freestanding compilers. */ |
|
|
12189 | |
|
|
12190 | #ifdef __STDC__ |
|
|
12191 | # include <limits.h> |
|
|
12192 | #else |
|
|
12193 | # include <assert.h> |
|
|
12194 | #endif |
|
|
12195 | |
|
|
12196 | #undef $ac_func |
|
|
12197 | |
|
|
12198 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12199 | #ifdef __cplusplus |
|
|
12200 | extern "C" |
|
|
12201 | { |
|
|
12202 | #endif |
|
|
12203 | /* We use char because int might match the return type of a gcc2 |
|
|
12204 | builtin and then its argument prototype would still apply. */ |
|
|
12205 | char $ac_func (); |
|
|
12206 | /* The GNU C library defines this for functions which it implements |
|
|
12207 | to always fail with ENOSYS. Some functions are actually named |
|
|
12208 | something starting with __ and the normal name is an alias. */ |
|
|
12209 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12210 | choke me |
|
|
12211 | #else |
|
|
12212 | char (*f) () = $ac_func; |
|
|
12213 | #endif |
|
|
12214 | #ifdef __cplusplus |
|
|
12215 | } |
|
|
12216 | #endif |
|
|
12217 | |
|
|
12218 | int |
|
|
12219 | main () |
|
|
12220 | { |
|
|
12221 | return f != $ac_func; |
|
|
12222 | ; |
|
|
12223 | return 0; |
|
|
12224 | } |
|
|
12225 | _ACEOF |
|
|
12226 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12227 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12228 | (eval $ac_link) 2>conftest.er1 |
|
|
12229 | ac_status=$? |
|
|
12230 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12231 | rm -f conftest.er1 |
|
|
12232 | cat conftest.err >&5 |
|
|
12233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12234 | (exit $ac_status); } && |
|
|
12235 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12236 | || test ! -s conftest.err' |
|
|
12237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12238 | (eval $ac_try) 2>&5 |
|
|
12239 | ac_status=$? |
|
|
12240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12241 | (exit $ac_status); }; } && |
|
|
12242 | { ac_try='test -s conftest$ac_exeext' |
|
|
12243 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12244 | (eval $ac_try) 2>&5 |
|
|
12245 | ac_status=$? |
|
|
12246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12247 | (exit $ac_status); }; }; then |
|
|
12248 | eval "$as_ac_var=yes" |
|
|
12249 | else |
|
|
12250 | echo "$as_me: failed program was:" >&5 |
|
|
12251 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12252 | |
|
|
12253 | eval "$as_ac_var=no" |
|
|
12254 | fi |
|
|
12255 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12256 | conftest$ac_exeext conftest.$ac_ext |
|
|
12257 | fi |
|
|
12258 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12259 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12260 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12261 | cat >>confdefs.h <<_ACEOF |
|
|
12262 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12263 | _ACEOF |
|
|
12264 | |
|
|
12265 | else |
|
|
12266 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12267 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12268 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12269 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12270 | else |
|
|
12271 | ac_check_lib_save_LIBS=$LIBS |
|
|
12272 | LIBS="-lutil $LIBS" |
|
|
12273 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12274 | /* confdefs.h. */ |
|
|
12275 | _ACEOF |
|
|
12276 | cat confdefs.h >>conftest.$ac_ext |
|
|
12277 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12278 | /* end confdefs.h. */ |
|
|
12279 | |
|
|
12280 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12281 | #ifdef __cplusplus |
|
|
12282 | extern "C" |
|
|
12283 | #endif |
|
|
12284 | /* We use char because int might match the return type of a gcc2 |
|
|
12285 | builtin and then its argument prototype would still apply. */ |
|
|
12286 | char openpty (); |
|
|
12287 | int |
|
|
12288 | main () |
|
|
12289 | { |
|
|
12290 | openpty (); |
|
|
12291 | ; |
|
|
12292 | return 0; |
|
|
12293 | } |
|
|
12294 | _ACEOF |
|
|
12295 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12296 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12297 | (eval $ac_link) 2>conftest.er1 |
|
|
12298 | ac_status=$? |
|
|
12299 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12300 | rm -f conftest.er1 |
|
|
12301 | cat conftest.err >&5 |
|
|
12302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12303 | (exit $ac_status); } && |
|
|
12304 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12305 | || test ! -s conftest.err' |
|
|
12306 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12307 | (eval $ac_try) 2>&5 |
|
|
12308 | ac_status=$? |
|
|
12309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12310 | (exit $ac_status); }; } && |
|
|
12311 | { ac_try='test -s conftest$ac_exeext' |
|
|
12312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12313 | (eval $ac_try) 2>&5 |
|
|
12314 | ac_status=$? |
|
|
12315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12316 | (exit $ac_status); }; }; then |
|
|
12317 | ac_cv_lib_util_openpty=yes |
|
|
12318 | else |
|
|
12319 | echo "$as_me: failed program was:" >&5 |
|
|
12320 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12321 | |
|
|
12322 | ac_cv_lib_util_openpty=no |
|
|
12323 | fi |
|
|
12324 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12325 | conftest$ac_exeext conftest.$ac_ext |
|
|
12326 | LIBS=$ac_check_lib_save_LIBS |
|
|
12327 | fi |
|
|
12328 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12329 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12330 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12331 | cat >>confdefs.h <<\_ACEOF |
|
|
12332 | #define HAVE_OPENPTY 1 |
|
|
12333 | _ACEOF |
|
|
12334 | LIBS="$LIBS -lutil" |
|
|
12335 | fi |
|
|
12336 | |
|
|
12337 | fi |
|
|
12338 | done |
|
|
12339 | |
|
|
12340 | fi |
|
|
12341 | |
|
|
12342 | |
|
|
12343 | |
|
|
12344 | echo "$as_me:$LINENO: checking for tty group" >&5 |
|
|
12345 | echo $ECHO_N "checking for tty group... $ECHO_C" >&6 |
|
|
12346 | if test "${tty_group+set}" = set; then |
|
|
12347 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12348 | else |
|
|
12349 | if test "$cross_compiling" = yes; then |
|
|
12350 | tty_group=no |
|
|
12351 | else |
|
|
12352 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12353 | /* confdefs.h. */ |
|
|
12354 | _ACEOF |
|
|
12355 | cat confdefs.h >>conftest.$ac_ext |
|
|
12356 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12357 | /* end confdefs.h. */ |
|
|
12358 | |
|
|
12359 | #include <sys/types.h> |
|
|
12360 | #include <sys/stat.h> |
|
|
12361 | #include <unistd.h> |
|
|
12362 | #include <grp.h> |
|
|
12363 | |
|
|
12364 | main() |
|
|
12365 | { |
|
|
12366 | struct stat st; |
|
|
12367 | struct group *gr; |
|
|
12368 | char *tty; |
|
|
12369 | gr = getgrnam("tty"); |
|
|
12370 | tty = ttyname(0); |
|
|
12371 | if (gr != 0 |
|
|
12372 | && tty != 0 |
|
|
12373 | && (stat(tty, &st)) == 0 |
|
|
12374 | && st.st_gid == gr->gr_gid) |
|
|
12375 | return 0; |
|
|
12376 | else |
|
|
12377 | return 1; |
|
|
12378 | } |
|
|
12379 | _ACEOF |
|
|
12380 | rm -f conftest$ac_exeext |
|
|
12381 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12382 | (eval $ac_link) 2>&5 |
|
|
12383 | ac_status=$? |
|
|
12384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12385 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12387 | (eval $ac_try) 2>&5 |
|
|
12388 | ac_status=$? |
|
|
12389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12390 | (exit $ac_status); }; }; then |
|
|
12391 | tty_group=yes |
|
|
12392 | else |
|
|
12393 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12394 | echo "$as_me: failed program was:" >&5 |
|
|
12395 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12396 | |
|
|
12397 | ( exit $ac_status ) |
|
|
12398 | tty_group=no |
|
|
12399 | fi |
|
|
12400 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12401 | fi |
|
|
12402 | fi |
|
|
12403 | echo "$as_me:$LINENO: result: $tty_group" >&5 |
|
|
12404 | echo "${ECHO_T}$tty_group" >&6 |
|
|
12405 | if test x$tty_group = xyes; then |
|
|
12406 | |
|
|
12407 | cat >>confdefs.h <<\_ACEOF |
|
|
12408 | #define TTY_GID_SUPPORT 1 |
|
|
12409 | _ACEOF |
|
|
12410 | |
|
|
12411 | fi |
|
|
12412 | |
|
|
12413 | if test x$support_xft = xyes; then |
|
|
12414 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
12415 | set dummy pkg-config; ac_word=$2 |
|
|
12416 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12417 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12418 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
|
12419 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12420 | else |
|
|
12421 | case $PKG_CONFIG in |
|
|
12422 | [\\/]* | ?:[\\/]*) |
|
|
12423 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
12424 | ;; |
|
|
12425 | *) |
|
|
12426 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12427 | for as_dir in $PATH |
|
|
12428 | do |
|
|
12429 | IFS=$as_save_IFS |
|
|
12430 | test -z "$as_dir" && as_dir=. |
|
|
12431 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12432 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12433 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12434 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12435 | break 2 |
|
|
12436 | fi |
|
|
12437 | done |
|
|
12438 | done |
|
|
12439 | |
|
|
12440 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
12441 | ;; |
|
|
12442 | esac |
|
|
12443 | fi |
|
|
12444 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
12445 | |
|
|
12446 | if test -n "$PKG_CONFIG"; then |
|
|
12447 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
12448 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
|
12449 | else |
|
|
12450 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12451 | echo "${ECHO_T}no" >&6 |
|
|
12452 | fi |
|
|
12453 | |
|
|
12454 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
12455 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
|
|
12456 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
12457 | else |
|
|
12458 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
12459 | set dummy xft-config; ac_word=$2 |
|
|
12460 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12461 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12462 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
|
|
12463 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12464 | else |
|
|
12465 | case $XFT_CONFIG in |
|
|
12466 | [\\/]* | ?:[\\/]*) |
|
|
12467 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
12468 | ;; |
|
|
12469 | *) |
|
|
12470 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12471 | for as_dir in $PATH |
|
|
12472 | do |
|
|
12473 | IFS=$as_save_IFS |
|
|
12474 | test -z "$as_dir" && as_dir=. |
|
|
12475 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12476 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12477 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12478 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12479 | break 2 |
|
|
12480 | fi |
|
|
12481 | done |
|
|
12482 | done |
|
|
12483 | |
|
|
12484 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
12485 | ;; |
|
|
12486 | esac |
|
|
12487 | fi |
|
|
12488 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
12489 | |
|
|
12490 | if test -n "$XFT_CONFIG"; then |
|
|
12491 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
|
|
12492 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
|
|
12493 | else |
|
|
12494 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12495 | echo "${ECHO_T}no" >&6 |
|
|
12496 | fi |
|
|
12497 | |
|
|
12498 | if test $XFT_CONFIG != no; then |
|
|
12499 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
|
|
12500 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
12501 | fi |
|
|
12502 | fi |
|
|
12503 | |
|
|
12504 | |
|
|
12505 | for ac_header in X11/Xft/Xft.h |
|
|
12506 | do |
|
|
12507 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
12508 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12509 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12510 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12511 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12512 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12513 | fi |
|
|
12514 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12515 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12516 | else |
|
|
12517 | # Is the header compilable? |
|
|
12518 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
12519 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
12520 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12521 | /* confdefs.h. */ |
|
|
12522 | _ACEOF |
|
|
12523 | cat confdefs.h >>conftest.$ac_ext |
|
|
12524 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12525 | /* end confdefs.h. */ |
|
|
12526 | $ac_includes_default |
|
|
12527 | #include <$ac_header> |
|
|
12528 | _ACEOF |
|
|
12529 | rm -f conftest.$ac_objext |
|
|
12530 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12531 | (eval $ac_compile) 2>conftest.er1 |
|
|
12532 | ac_status=$? |
|
|
12533 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12534 | rm -f conftest.er1 |
|
|
12535 | cat conftest.err >&5 |
|
|
12536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12537 | (exit $ac_status); } && |
|
|
12538 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12539 | || test ! -s conftest.err' |
|
|
12540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12541 | (eval $ac_try) 2>&5 |
|
|
12542 | ac_status=$? |
|
|
12543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12544 | (exit $ac_status); }; } && |
|
|
12545 | { ac_try='test -s conftest.$ac_objext' |
|
|
12546 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12547 | (eval $ac_try) 2>&5 |
|
|
12548 | ac_status=$? |
|
|
12549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12550 | (exit $ac_status); }; }; then |
|
|
12551 | ac_header_compiler=yes |
|
|
12552 | else |
|
|
12553 | echo "$as_me: failed program was:" >&5 |
|
|
12554 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12555 | |
|
|
12556 | ac_header_compiler=no |
|
|
12557 | fi |
|
|
12558 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12559 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
12560 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
12561 | |
|
|
12562 | # Is the header present? |
|
|
12563 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
12564 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
12565 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12566 | /* confdefs.h. */ |
|
|
12567 | _ACEOF |
|
|
12568 | cat confdefs.h >>conftest.$ac_ext |
|
|
12569 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12570 | /* end confdefs.h. */ |
|
|
12571 | #include <$ac_header> |
|
|
12572 | _ACEOF |
|
|
12573 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
12574 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
12575 | ac_status=$? |
|
|
12576 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12577 | rm -f conftest.er1 |
|
|
12578 | cat conftest.err >&5 |
|
|
12579 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12580 | (exit $ac_status); } >/dev/null; then |
|
|
12581 | if test -s conftest.err; then |
|
|
12582 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
12583 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
12584 | else |
|
|
12585 | ac_cpp_err= |
|
|
12586 | fi |
|
|
12587 | else |
|
|
12588 | ac_cpp_err=yes |
|
|
12589 | fi |
|
|
12590 | if test -z "$ac_cpp_err"; then |
|
|
12591 | ac_header_preproc=yes |
|
|
12592 | else |
|
|
12593 | echo "$as_me: failed program was:" >&5 |
|
|
12594 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12595 | |
|
|
12596 | ac_header_preproc=no |
|
|
12597 | fi |
|
|
12598 | rm -f conftest.err conftest.$ac_ext |
|
|
12599 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
12600 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
12601 | |
|
|
12602 | # So? What about this header? |
|
|
12603 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
12604 | yes:no: ) |
|
|
12605 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
12606 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
12607 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
12608 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
12609 | ac_header_preproc=yes |
|
|
12610 | ;; |
|
|
12611 | no:yes:* ) |
|
|
12612 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
12613 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
12614 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
12615 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
12616 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
12617 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
12618 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
12619 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
12620 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
12621 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
12622 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
12623 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
12624 | ( |
|
|
12625 | cat <<\_ASBOX |
|
|
12626 | ## ------------------------------------------ ## |
|
|
12627 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
12628 | ## ------------------------------------------ ## |
|
|
12629 | _ASBOX |
|
|
12630 | ) | |
|
|
12631 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
12632 | ;; |
|
|
12633 | esac |
|
|
12634 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12635 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12636 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12637 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12638 | else |
|
|
12639 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
12640 | fi |
|
|
12641 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12642 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12643 | |
|
|
12644 | fi |
|
|
12645 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
12646 | cat >>confdefs.h <<_ACEOF |
|
|
12647 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
12648 | _ACEOF |
|
|
12649 | |
11655 | else |
12650 | else |
11656 | support_xft=no |
12651 | support_xft=no |
11657 | fi |
12652 | fi |
11658 | |
12653 | |
11659 | done |
12654 | done |
… | |
… | |
11695 | grep -v '^ *+' conftest.er1 >conftest.err |
12690 | grep -v '^ *+' conftest.er1 >conftest.err |
11696 | rm -f conftest.er1 |
12691 | rm -f conftest.er1 |
11697 | cat conftest.err >&5 |
12692 | cat conftest.err >&5 |
11698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11699 | (exit $ac_status); } && |
12694 | (exit $ac_status); } && |
11700 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12695 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12696 | || test ! -s conftest.err' |
11701 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12697 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11702 | (eval $ac_try) 2>&5 |
12698 | (eval $ac_try) 2>&5 |
11703 | ac_status=$? |
12699 | ac_status=$? |
11704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11705 | (exit $ac_status); }; } && |
12701 | (exit $ac_status); }; } && |
… | |
… | |
11778 | |
12774 | |
11779 | fi |
12775 | fi |
11780 | if test x$support_inheritpixmap = xyes; then |
12776 | if test x$support_inheritpixmap = xyes; then |
11781 | |
12777 | |
11782 | cat >>confdefs.h <<\_ACEOF |
12778 | cat >>confdefs.h <<\_ACEOF |
11783 | #define TRANSPARENT 1 |
12779 | #define ENABLE_TRANSPARENCY 1 |
11784 | _ACEOF |
12780 | _ACEOF |
11785 | |
12781 | |
11786 | fi |
12782 | fi |
11787 | if test x$support_keepscrolling = xno; then |
12783 | if test x$support_keepscrolling = xno; then |
11788 | |
12784 | |
… | |
… | |
11796 | cat >>confdefs.h <<\_ACEOF |
12792 | cat >>confdefs.h <<\_ACEOF |
11797 | #define SELECTION_SCROLLING 1 |
12793 | #define SELECTION_SCROLLING 1 |
11798 | _ACEOF |
12794 | _ACEOF |
11799 | |
12795 | |
11800 | fi |
12796 | fi |
11801 | if test x$support_menubar = xyes; then |
|
|
11802 | |
|
|
11803 | cat >>confdefs.h <<\_ACEOF |
|
|
11804 | #define MENUBAR 1 |
|
|
11805 | _ACEOF |
|
|
11806 | |
|
|
11807 | fi |
|
|
11808 | if test x$support_frills = xyes; then |
|
|
11809 | |
|
|
11810 | cat >>confdefs.h <<\_ACEOF |
|
|
11811 | #define ENABLE_FRILLS 1 |
|
|
11812 | _ACEOF |
|
|
11813 | |
|
|
11814 | fi |
|
|
11815 | if test x$support_24bit = xyes; then |
|
|
11816 | |
|
|
11817 | cat >>confdefs.h <<\_ACEOF |
|
|
11818 | #define PREFER_24BIT 1 |
|
|
11819 | _ACEOF |
|
|
11820 | |
|
|
11821 | fi |
|
|
11822 | if test x$support_mousewheel = xyes; then |
12797 | if test x$support_mousewheel = xyes; then |
11823 | |
12798 | |
11824 | cat >>confdefs.h <<\_ACEOF |
12799 | cat >>confdefs.h <<\_ACEOF |
11825 | #define MOUSE_WHEEL 1 |
12800 | #define MOUSE_WHEEL 1 |
11826 | _ACEOF |
12801 | _ACEOF |
… | |
… | |
11831 | cat >>confdefs.h <<\_ACEOF |
12806 | cat >>confdefs.h <<\_ACEOF |
11832 | #define MOUSE_SLIP_WHEELING 1 |
12807 | #define MOUSE_SLIP_WHEELING 1 |
11833 | _ACEOF |
12808 | _ACEOF |
11834 | |
12809 | |
11835 | fi |
12810 | fi |
11836 | if test x$support_utmp = xyes; then |
|
|
11837 | |
|
|
11838 | cat >>confdefs.h <<\_ACEOF |
|
|
11839 | #define UTMP_SUPPORT 1 |
|
|
11840 | _ACEOF |
|
|
11841 | |
|
|
11842 | fi |
|
|
11843 | if test x$support_wtmp = xyes; then |
|
|
11844 | |
|
|
11845 | cat >>confdefs.h <<\_ACEOF |
|
|
11846 | #define WTMP_SUPPORT 1 |
|
|
11847 | _ACEOF |
|
|
11848 | |
|
|
11849 | fi |
|
|
11850 | if test x$support_lastlog = xyes; then |
|
|
11851 | |
|
|
11852 | cat >>confdefs.h <<\_ACEOF |
|
|
11853 | #define LASTLOG_SUPPORT 1 |
|
|
11854 | _ACEOF |
|
|
11855 | |
|
|
11856 | fi |
|
|
11857 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
12811 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
11858 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
11859 | |
|
|
11860 | cat >>confdefs.h <<\_ACEOF |
|
|
11861 | #define USE_XIM 1 |
|
|
11862 | _ACEOF |
|
|
11863 | |
|
|
11864 | fi |
|
|
11865 | fi |
|
|
11866 | if test x$support_xpm = xyes; then |
|
|
11867 | |
12812 | |
11868 | cat >>confdefs.h <<\_ACEOF |
12813 | cat >>confdefs.h <<\_ACEOF |
11869 | #define XPM_BACKGROUND 1 |
12814 | #define XPM_BACKGROUND 1 |
11870 | _ACEOF |
12815 | _ACEOF |
11871 | |
12816 | |
11872 | fi |
12817 | fi |
|
|
12818 | |
|
|
12819 | if test x$support_afterimage = xyes; then |
|
|
12820 | |
|
|
12821 | cat >>confdefs.h <<\_ACEOF |
|
|
12822 | #define HAVE_AFTERIMAGE 1 |
|
|
12823 | _ACEOF |
|
|
12824 | |
|
|
12825 | fi |
|
|
12826 | |
|
|
12827 | if test x$support_afterstep = xyes; then |
|
|
12828 | |
|
|
12829 | cat >>confdefs.h <<\_ACEOF |
|
|
12830 | #define AFTERSTEP_INTEGRATION 1 |
|
|
12831 | _ACEOF |
|
|
12832 | |
|
|
12833 | fi |
|
|
12834 | |
11873 | if test x$support_scroll_rxvt = xyes; then |
12835 | if test x$support_scroll_rxvt = xyes; then |
11874 | |
12836 | |
11875 | cat >>confdefs.h <<\_ACEOF |
12837 | cat >>confdefs.h <<\_ACEOF |
11876 | #define RXVT_SCROLLBAR 1 |
12838 | #define RXVT_SCROLLBAR 1 |
11877 | _ACEOF |
12839 | _ACEOF |
… | |
… | |
11904 | fi |
12866 | fi |
11905 | if test x$support_pointer_blank = xyes; then |
12867 | if test x$support_pointer_blank = xyes; then |
11906 | |
12868 | |
11907 | cat >>confdefs.h <<\_ACEOF |
12869 | cat >>confdefs.h <<\_ACEOF |
11908 | #define POINTER_BLANK 1 |
12870 | #define POINTER_BLANK 1 |
11909 | _ACEOF |
|
|
11910 | |
|
|
11911 | fi |
|
|
11912 | if test x$support_cursor_blink = xyes; then |
|
|
11913 | |
|
|
11914 | cat >>confdefs.h <<\_ACEOF |
|
|
11915 | #define CURSOR_BLINK 1 |
|
|
11916 | _ACEOF |
12871 | _ACEOF |
11917 | |
12872 | |
11918 | fi |
12873 | fi |
11919 | if test x$support_text_blink = xyes; then |
12874 | if test x$support_text_blink = xyes; then |
11920 | |
12875 | |
… | |
… | |
11978 | _ACEOF |
12933 | _ACEOF |
11979 | ;; |
12934 | ;; |
11980 | esac |
12935 | esac |
11981 | done |
12936 | done |
11982 | |
12937 | |
|
|
12938 | IF_PERL=\# |
|
|
12939 | if test x$support_perl = xyes; then |
|
|
12940 | # Extract the first word of "perl5", so it can be a program name with args. |
|
|
12941 | set dummy perl5; ac_word=$2 |
|
|
12942 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12943 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12944 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12945 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12946 | else |
|
|
12947 | case $PERL in |
|
|
12948 | [\\/]* | ?:[\\/]*) |
|
|
12949 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12950 | ;; |
|
|
12951 | *) |
|
|
12952 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12953 | for as_dir in $PATH |
|
|
12954 | do |
|
|
12955 | IFS=$as_save_IFS |
|
|
12956 | test -z "$as_dir" && as_dir=. |
|
|
12957 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12958 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12959 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12960 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12961 | break 2 |
|
|
12962 | fi |
|
|
12963 | done |
|
|
12964 | done |
11983 | |
12965 | |
11984 | CFLAGS=${CFLAGS--O} |
12966 | ;; |
11985 | LDFLAGS=${LDFLAGS--O} |
12967 | esac |
11986 | |
|
|
11987 | CPPFLAGS="$CPPFLAGS" |
|
|
11988 | |
|
|
11989 | |
|
|
11990 | |
|
|
11991 | |
|
|
11992 | |
|
|
11993 | |
|
|
11994 | |
|
|
11995 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
11996 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
11997 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
11998 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
11999 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
12000 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
12001 | fi |
12968 | fi |
|
|
12969 | PERL=$ac_cv_path_PERL |
12002 | |
12970 | |
|
|
12971 | if test -n "$PERL"; then |
|
|
12972 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12973 | echo "${ECHO_T}$PERL" >&6 |
|
|
12974 | else |
|
|
12975 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12976 | echo "${ECHO_T}no" >&6 |
|
|
12977 | fi |
12003 | |
12978 | |
|
|
12979 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
12980 | set dummy perl; ac_word=$2 |
|
|
12981 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12982 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12983 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12984 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12985 | else |
|
|
12986 | case $PERL in |
|
|
12987 | [\\/]* | ?:[\\/]*) |
|
|
12988 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12989 | ;; |
|
|
12990 | *) |
|
|
12991 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12992 | for as_dir in $PATH |
|
|
12993 | do |
|
|
12994 | IFS=$as_save_IFS |
|
|
12995 | test -z "$as_dir" && as_dir=. |
|
|
12996 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12997 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12998 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12999 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
13000 | break 2 |
|
|
13001 | fi |
|
|
13002 | done |
|
|
13003 | done |
12004 | |
13004 | |
|
|
13005 | ;; |
|
|
13006 | esac |
|
|
13007 | fi |
|
|
13008 | PERL=$ac_cv_path_PERL |
12005 | |
13009 | |
|
|
13010 | if test -n "$PERL"; then |
|
|
13011 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
13012 | echo "${ECHO_T}$PERL" >&6 |
|
|
13013 | else |
|
|
13014 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
13015 | echo "${ECHO_T}no" >&6 |
|
|
13016 | fi |
12006 | |
13017 | |
12007 | if test x$support_addstrings = xno; then |
13018 | |
|
|
13019 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
|
|
13020 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
|
|
13021 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
13022 | |
|
|
13023 | save_CXXFLAGS="$CXXFLAGS" |
|
|
13024 | save_LIBS="$LIBS" |
|
|
13025 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
13026 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
13027 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13028 | /* confdefs.h. */ |
|
|
13029 | _ACEOF |
|
|
13030 | cat confdefs.h >>conftest.$ac_ext |
|
|
13031 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13032 | /* end confdefs.h. */ |
|
|
13033 | |
|
|
13034 | #include <EXTERN.h> |
|
|
13035 | #include <perl.h> |
|
|
13036 | #include <XSUB.h> |
|
|
13037 | |
|
|
13038 | int |
|
|
13039 | main () |
|
|
13040 | { |
|
|
13041 | |
|
|
13042 | PerlInterpreter *perl = perl_alloc (); |
|
|
13043 | |
|
|
13044 | ; |
|
|
13045 | return 0; |
|
|
13046 | } |
|
|
13047 | _ACEOF |
|
|
13048 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
13049 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13050 | (eval $ac_link) 2>conftest.er1 |
|
|
13051 | ac_status=$? |
|
|
13052 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13053 | rm -f conftest.er1 |
|
|
13054 | cat conftest.err >&5 |
|
|
13055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13056 | (exit $ac_status); } && |
|
|
13057 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13058 | || test ! -s conftest.err' |
|
|
13059 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13060 | (eval $ac_try) 2>&5 |
|
|
13061 | ac_status=$? |
|
|
13062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13063 | (exit $ac_status); }; } && |
|
|
13064 | { ac_try='test -s conftest$ac_exeext' |
|
|
13065 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13066 | (eval $ac_try) 2>&5 |
|
|
13067 | ac_status=$? |
|
|
13068 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13069 | (exit $ac_status); }; }; then |
|
|
13070 | rxvt_perl_link=yes |
|
|
13071 | else |
|
|
13072 | echo "$as_me: failed program was:" >&5 |
|
|
13073 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13074 | |
|
|
13075 | rxvt_perl_link=no |
|
|
13076 | fi |
|
|
13077 | rm -f conftest.err conftest.$ac_objext \ |
|
|
13078 | conftest$ac_exeext conftest.$ac_ext |
|
|
13079 | CXXFLAGS="$save_CXXFLAGS" |
|
|
13080 | LIBS="$save_LIBS" |
|
|
13081 | |
|
|
13082 | if test x$rxvt_perl_link = xyes; then |
|
|
13083 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
13084 | echo "${ECHO_T}ok" >&6 |
12008 | |
13085 | |
12009 | cat >>confdefs.h <<\_ACEOF |
13086 | cat >>confdefs.h <<\_ACEOF |
12010 | #define NO_STRINGS 1 |
13087 | #define ENABLE_PERL 1 |
12011 | _ACEOF |
13088 | _ACEOF |
12012 | |
13089 | |
|
|
13090 | IF_PERL= |
|
|
13091 | PERL_O=rxvtperl.o |
|
|
13092 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
13093 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
13094 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
13095 | else |
|
|
13096 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
|
|
13097 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
13098 | { (exit 1); exit 1; }; } |
|
|
13099 | fi |
|
|
13100 | else |
|
|
13101 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
|
|
13102 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
|
|
13103 | { (exit 1); exit 1; }; } |
|
|
13104 | fi |
12013 | fi |
13105 | fi |
12014 | |
13106 | |
12015 | MCOMMON=./autoconf/Make.common |
13107 | |
|
|
13108 | |
|
|
13109 | |
|
|
13110 | |
|
|
13111 | |
|
|
13112 | |
|
|
13113 | if test x$support_perl = xyes; then |
|
|
13114 | support_frills=yes |
|
|
13115 | fi |
|
|
13116 | |
|
|
13117 | if test x$support_frills = xyes; then |
|
|
13118 | |
|
|
13119 | cat >>confdefs.h <<\_ACEOF |
|
|
13120 | #define ENABLE_FRILLS 1 |
|
|
13121 | _ACEOF |
|
|
13122 | |
|
|
13123 | fi |
|
|
13124 | |
|
|
13125 | |
|
|
13126 | |
|
|
13127 | |
|
|
13128 | |
|
|
13129 | |
|
|
13130 | |
|
|
13131 | |
|
|
13132 | |
|
|
13133 | |
|
|
13134 | |
12016 | |
13135 | |
12017 | |
13136 | |
12018 | test "$program_prefix" != NONE && |
13137 | test "$program_prefix" != NONE && |
12019 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
13138 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12020 | # Use a double $ so make ignores it. |
13139 | # Use a double $ so make ignores it. |
… | |
… | |
12096 | include_time_h="#include <time.h>" |
13215 | include_time_h="#include <time.h>" |
12097 | else |
13216 | else |
12098 | include_time_h="/* #include <time.h> */" |
13217 | include_time_h="/* #include <time.h> */" |
12099 | fi |
13218 | fi |
12100 | |
13219 | |
12101 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
13220 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12102 | |
13221 | |
12103 | cat >confcache <<\_ACEOF |
13222 | cat >confcache <<\_ACEOF |
12104 | # This file is a shell script that caches the results of configure |
13223 | # This file is a shell script that caches the results of configure |
12105 | # tests run on this system so they can be shared between configure |
13224 | # tests run on this system so they can be shared between configure |
12106 | # scripts and configure runs, see configure's option --config-cache. |
13225 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
12623 | cat >>$CONFIG_STATUS <<\_ACEOF |
13742 | cat >>$CONFIG_STATUS <<\_ACEOF |
12624 | for ac_config_target in $ac_config_targets |
13743 | for ac_config_target in $ac_config_targets |
12625 | do |
13744 | do |
12626 | case "$ac_config_target" in |
13745 | case "$ac_config_target" in |
12627 | # Handling of arguments. |
13746 | # Handling of arguments. |
12628 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
12629 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13747 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12630 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13748 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12631 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13749 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12632 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13750 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
12633 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13751 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12634 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13752 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12635 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13753 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12636 | { (exit 1); exit 1; }; };; |
13754 | { (exit 1); exit 1; }; };; |
12637 | esac |
13755 | esac |
12638 | done |
13756 | done |
… | |
… | |
12739 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13857 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
12740 | s,@CPP@,$CPP,;t t |
13858 | s,@CPP@,$CPP,;t t |
12741 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13859 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
12742 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13860 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
12743 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13861 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
12744 | s,@AWK@,$AWK,;t t |
13862 | s,@EGREP@,$EGREP,;t t |
12745 | s,@LINKER@,$LINKER,;t t |
13863 | s,@LINKER@,$LINKER,;t t |
12746 | s,@CXXCPP@,$CXXCPP,;t t |
|
|
12747 | s,@EGREP@,$EGREP,;t t |
|
|
12748 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13864 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
12749 | s,@RXVTNAME@,$RXVTNAME,;t t |
13865 | s,@RXVTNAME@,$RXVTNAME,;t t |
12750 | s,@MV@,$MV,;t t |
|
|
12751 | s,@RM@,$RM,;t t |
|
|
12752 | s,@CP@,$CP,;t t |
|
|
12753 | s,@LN@,$LN,;t t |
|
|
12754 | s,@SED@,$SED,;t t |
|
|
12755 | s,@ECHO@,$ECHO,;t t |
|
|
12756 | s,@CMP@,$CMP,;t t |
|
|
12757 | s,@TBL@,$TBL,;t t |
|
|
12758 | s,@TIC@,$TIC,;t t |
13866 | s,@TIC@,$TIC,;t t |
|
|
13867 | s,@CXXCPP@,$CXXCPP,;t t |
12759 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13868 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
12760 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13869 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
12761 | s,@X_LIBS@,$X_LIBS,;t t |
13870 | s,@X_LIBS@,$X_LIBS,;t t |
12762 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13871 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
|
|
13872 | s,@afterimage_config@,$afterimage_config,;t t |
12763 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
13873 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
12764 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
13874 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
12765 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
13875 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
12766 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
13876 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
12767 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13877 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
12768 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13878 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
12769 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13879 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
12770 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13880 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
12771 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13881 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
12772 | s,@DEBUG@,$DEBUG,;t t |
13882 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
12773 | s,@DINCLUDE@,$DINCLUDE,;t t |
13883 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
|
|
13884 | s,@PERL@,$PERL,;t t |
12774 | s,@DLIB@,$DLIB,;t t |
13885 | s,@PERLLIB@,$PERLLIB,;t t |
|
|
13886 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
|
|
13887 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
|
|
13888 | s,@IF_PERL@,$IF_PERL,;t t |
|
|
13889 | s,@PERL_O@,$PERL_O,;t t |
|
|
13890 | s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t |
|
|
13891 | s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t |
12775 | s,@include_stdint_h@,$include_stdint_h,;t t |
13892 | s,@include_stdint_h@,$include_stdint_h,;t t |
12776 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13893 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
12777 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
13894 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
12778 | s,@include_unistd_h@,$include_unistd_h,;t t |
13895 | s,@include_unistd_h@,$include_unistd_h,;t t |
12779 | s,@include_string_h@,$include_string_h,;t t |
13896 | s,@include_string_h@,$include_string_h,;t t |
… | |
… | |
12785 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13902 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
12786 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13903 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
12787 | s,@include_time_h@,$include_time_h,;t t |
13904 | s,@include_time_h@,$include_time_h,;t t |
12788 | s,@LIBOBJS@,$LIBOBJS,;t t |
13905 | s,@LIBOBJS@,$LIBOBJS,;t t |
12789 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13906 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
12790 | /@MCOMMON@/r $MCOMMON |
|
|
12791 | s,@MCOMMON@,,;t t |
|
|
12792 | CEOF |
13907 | CEOF |
12793 | |
13908 | |
12794 | _ACEOF |
13909 | _ACEOF |
12795 | |
13910 | |
12796 | cat >>$CONFIG_STATUS <<\_ACEOF |
13911 | cat >>$CONFIG_STATUS <<\_ACEOF |
… | |
… | |
12953 | case $INSTALL in |
14068 | case $INSTALL in |
12954 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
14069 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
12955 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
14070 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
12956 | esac |
14071 | esac |
12957 | |
14072 | |
|
|
14073 | if test x"$ac_file" != x-; then |
|
|
14074 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
14075 | echo "$as_me: creating $ac_file" >&6;} |
|
|
14076 | rm -f "$ac_file" |
|
|
14077 | fi |
12958 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
14078 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
12959 | # use $as_me), people would be surprised to read: |
14079 | # use $as_me), people would be surprised to read: |
12960 | # /* config.h. Generated by config.status. */ |
14080 | # /* config.h. Generated by config.status. */ |
12961 | if test x"$ac_file" = x-; then |
14081 | if test x"$ac_file" = x-; then |
12962 | configure_input= |
14082 | configure_input= |
… | |
… | |
12991 | echo "$as_me: error: cannot find input file: $f" >&2;} |
14111 | echo "$as_me: error: cannot find input file: $f" >&2;} |
12992 | { (exit 1); exit 1; }; } |
14112 | { (exit 1); exit 1; }; } |
12993 | fi;; |
14113 | fi;; |
12994 | esac |
14114 | esac |
12995 | done` || { (exit 1); exit 1; } |
14115 | done` || { (exit 1); exit 1; } |
12996 | |
|
|
12997 | if test x"$ac_file" != x-; then |
|
|
12998 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
12999 | echo "$as_me: creating $ac_file" >&6;} |
|
|
13000 | rm -f "$ac_file" |
|
|
13001 | fi |
|
|
13002 | _ACEOF |
14116 | _ACEOF |
13003 | cat >>$CONFIG_STATUS <<_ACEOF |
14117 | cat >>$CONFIG_STATUS <<_ACEOF |
13004 | sed "$ac_vpsub |
14118 | sed "$ac_vpsub |
13005 | $extrasub |
14119 | $extrasub |
13006 | _ACEOF |
14120 | _ACEOF |
… | |
… | |
13286 | |
14400 | |
13287 | Rxvt version: $VERSION : $DATE |
14401 | Rxvt version: $VERSION : $DATE |
13288 | Source code location: $srcdir |
14402 | Source code location: $srcdir |
13289 | Install path: ${prefix}/bin |
14403 | Install path: ${prefix}/bin |
13290 | Compiler: $CXX |
14404 | Compiler: $CXX |
13291 | Compiler flags: $CFLAGS |
14405 | Compiler flags: $CXXFLAGS |
13292 | Linker: $LINKER" |
14406 | Linker: $LINKER" |
13293 | |
|
|
13294 | if test "$MALLOC_TYPE" = S; then |
|
|
13295 | echo " malloc support: system default" |
|
|
13296 | fi |
|
|
13297 | if test "$MALLOC_TYPE" = G; then |
|
|
13298 | echo " malloc support: Gray Watson's dmalloc" |
|
|
13299 | fi |
|
|
13300 | if test "$MALLOC_TYPE" = D; then |
|
|
13301 | echo " malloc support: Doug Lea's malloc" |
|
|
13302 | fi |
|
|
13303 | |
14407 | |
13304 | if test x$support_xpm = xyes; then |
14408 | if test x$support_xpm = xyes; then |
13305 | echo " Xpm library: $XPM_LIBS" |
14409 | echo " Xpm library: $XPM_LIBS" |
13306 | fi |
14410 | fi |
13307 | |
14411 | |
13308 | echo " |
14412 | if test x$support_afterimage = xyes; then |
13309 | The following are set in config.h |
14413 | echo " AfterImage support: yes" |
13310 | " |
14414 | fi |
13311 | echo " pty/tty type: "$rxvt_cv_ptys |
14415 | |
13312 | if test x$support_utmp != xyes; then |
14416 | if test x$support_afterstep = xyes; then |
13313 | echo " utmp support: disabled" |
14417 | echo " AfterStep integration: yes" |
13314 | echo |
|
|
13315 | else |
|
|
13316 | echo " utmp support: enabled |
|
|
13317 | utmp file: $rxvt_cv_path_utmp |
|
|
13318 | utmpx file: $rxvt_cv_path_utmpx |
|
|
13319 | wtmp file: $rxvt_cv_path_wtmp |
|
|
13320 | wtmpx file: $rxvt_cv_path_wtmpx |
|
|
13321 | lastlog file: $rxvt_cv_path_lastlog |
|
|
13322 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
|
|
13323 | echo |
|
|
13324 | fi |
14418 | fi |
|
|
14419 | |
13325 | if test x$term != x; then |
14420 | if test x$term != x; then |
13326 | echo " set TERM to: $term" |
14421 | echo " set TERM to: $term" |
13327 | fi |
14422 | fi |
13328 | if test x$terminfo != x; then |
14423 | if test x$terminfo != x; then |
13329 | echo " set TERMINFO to: $terminfo" |
14424 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
13332 | echo " resource class: $RESCLASS" |
14427 | echo " resource class: $RESCLASS" |
13333 | if test x$RESFALLBACK != x; then |
14428 | if test x$RESFALLBACK != x; then |
13334 | echo " resource class fallback: $RESFALLBACK" |
14429 | echo " resource class fallback: $RESFALLBACK" |
13335 | fi |
14430 | fi |
13336 | echo |
14431 | echo |
13337 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
14432 | echo " embedded perl: $support_perl" |
13338 | echo ".----------------------------------------------------------------." |
14433 | echo |
13339 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
|
|
13340 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
|
|
13341 | echo ".----------------------------------------------------------------." |
|
|
13342 | fi |
|
|
13343 | if test x$support_xpm = xneedsmanualspecification; then |
14434 | if test x$support_xpm = xneedsmanualspecification; then |
13344 | echo ".----------------------------------------------------------------." |
14435 | echo ".----------------------------------------------------------------." |
13345 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14436 | echo ". WARNING: --enable-xpm-background was specified however the ." |
13346 | echo ". XPM includes files and libraries could not be found. ." |
14437 | echo ". XPM includes files and libraries could not be found. ." |
13347 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
14438 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
… | |
… | |
13356 | echo ". functions could not be found. ." |
14447 | echo ". functions could not be found. ." |
13357 | echo ". XIM is now being DISABLED! ." |
14448 | echo ". XIM is now being DISABLED! ." |
13358 | echo ".----------------------------------------------------------------." |
14449 | echo ".----------------------------------------------------------------." |
13359 | fi |
14450 | fi |
13360 | |
14451 | |
13361 | echo " *** Please check src/feature.h for further options ***" |
14452 | echo "*** Optionally check src/feature.h for further, rarely used options ***" |
13362 | echo |
14453 | echo |
13363 | |
14454 | |
13364 | echo ".----------------------------------------------------------------." |
|
|
13365 | echo ". NOTE: most features are disabled by default, try ." |
|
|
13366 | echo ". configure --help to get an idea of the optional features ." |
|
|
13367 | echo ".----------------------------------------------------------------." |
|
|
13368 | echo |
|
|
13369 | |
|
|