… | |
… | |
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 MV RM CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
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 |
… | |
… | |
877 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
877 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
878 | --enable-xpm-background enable XPM background pixmaps |
878 | --enable-xpm-background enable XPM background pixmaps |
879 | --enable-transparency enable transparent backgrounds |
879 | --enable-transparency enable transparent backgrounds |
880 | --enable-tinting enable tinting of transparent bg |
880 | --enable-tinting enable tinting of transparent bg |
881 | --enable-fading enable colors fading when off focus |
881 | --enable-fading enable colors fading when off focus |
882 | --enable-menubar enable menubar |
|
|
883 | --enable-rxvt-scroll enable rxvt style scrollbar |
882 | --enable-rxvt-scroll enable rxvt style scrollbar |
884 | --enable-next-scroll enable NeXT style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
885 | --enable-xterm-scroll enable Xterm style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
885 | --enable-perl enable embedded perl interpreter |
886 | --enable-plain-scroll enable plain style scrollbar |
886 | --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 |
887 | --enable-xim XIM (X Input Method) protocol support |
889 | --enable-ttygid enable tty setting to group named "tty" |
888 | --enable-ttygid enable tty setting to group named "tty" |
890 | --disable-backspace-key disable handling of the backspace key |
889 | --disable-backspace-key disable handling of the backspace key |
891 | --disable-delete-key disable handling of the delete key |
890 | --disable-delete-key disable handling of the delete key |
892 | --disable-resources disable all resource checking |
891 | --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) |
892 | --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) |
893 | --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 |
894 | --disable-swapscreen disable swap screen support |
898 | --enable-iso14755 enable support for extended ISO 14755 modes |
895 | --enable-iso14755 enable support for extended ISO 14755 modes |
899 | --enable-frills enable support for rarely used features |
896 | --enable-frills enable support for rarely used features |
900 | --enable-24bit enable support for using 24bit visuals if available |
897 | --enable-24bit enable support for using 24bit visuals if available |
901 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
898 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
… | |
… | |
904 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
901 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
905 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
902 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
906 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
903 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
907 | NOTE: enable only one malloc package |
904 | NOTE: enable only one malloc package |
908 | --enable-smart-resize enable smart growth/shrink behaviour |
905 | --enable-smart-resize enable smart growth/shrink behaviour |
909 | --enable-cursor-blink enable blinking cursor |
|
|
910 | --enable-text-blink enable blinking text |
906 | --enable-text-blink enable blinking text |
911 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
907 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
912 | |
908 | |
913 | Optional Packages: |
909 | Optional Packages: |
914 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
910 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
… | |
… | |
1373 | |
1369 | |
1374 | |
1370 | |
1375 | |
1371 | |
1376 | |
1372 | |
1377 | |
1373 | |
|
|
1374 | |
|
|
1375 | ac_config_headers="$ac_config_headers config.h:config.h.in" |
|
|
1376 | |
|
|
1377 | |
1378 | ac_aux_dir= |
1378 | ac_aux_dir= |
1379 | for ac_dir in autoconf $srcdir/autoconf; do |
1379 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1380 | if test -f $ac_dir/install-sh; then |
1380 | if test -f $ac_dir/install-sh; then |
1381 | ac_aux_dir=$ac_dir |
1381 | ac_aux_dir=$ac_dir |
1382 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1382 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1383 | break |
1383 | break |
1384 | elif test -f $ac_dir/install.sh; then |
1384 | elif test -f $ac_dir/install.sh; then |
… | |
… | |
1390 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1390 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1391 | break |
1391 | break |
1392 | fi |
1392 | fi |
1393 | done |
1393 | done |
1394 | if test -z "$ac_aux_dir"; then |
1394 | 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 |
1395 | { { 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;} |
1396 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1397 | { (exit 1); exit 1; }; } |
1397 | { (exit 1); exit 1; }; } |
1398 | fi |
1398 | fi |
1399 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1399 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1400 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1400 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1401 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1401 | 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 | |
1402 | |
1406 | # Make sure we can run config.sub. |
1403 | # Make sure we can run config.sub. |
1407 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1404 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1408 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1405 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1409 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1406 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1461 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1458 | 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` |
1459 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1463 | echo "" |
1460 | echo "" |
1464 | echo "configuring for rxvt $VERSION" |
1461 | echo "configuring for rxvt $VERSION" |
1465 | echo "" |
1462 | echo "" |
|
|
1463 | |
|
|
1464 | orig_CXXFLAGS="$CXXFLAGS" |
1466 | |
1465 | |
1467 | |
1466 | |
1468 | ac_ext=c |
1467 | ac_ext=c |
1469 | ac_cpp='$CPP $CPPFLAGS' |
1468 | ac_cpp='$CPP $CPPFLAGS' |
1470 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1469 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3051 | |
3050 | |
3052 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3051 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3053 | |
3052 | |
3054 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3053 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3055 | |
3054 | |
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 | |
3055 | |
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 | |
3056 | |
3448 | |
3057 | |
3449 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3058 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3450 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3059 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3451 | if test "${ac_cv_prog_egrep+set}" = set; then |
3060 | if test "${ac_cv_prog_egrep+set}" = set; then |
… | |
… | |
3526 | grep -v '^ *+' conftest.er1 >conftest.err |
3135 | grep -v '^ *+' conftest.er1 >conftest.err |
3527 | rm -f conftest.er1 |
3136 | rm -f conftest.er1 |
3528 | cat conftest.err >&5 |
3137 | cat conftest.err >&5 |
3529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3530 | (exit $ac_status); } && |
3139 | (exit $ac_status); } && |
3531 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3140 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3532 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3533 | (eval $ac_try) 2>&5 |
3142 | (eval $ac_try) 2>&5 |
3534 | ac_status=$? |
3143 | ac_status=$? |
3535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3536 | (exit $ac_status); }; } && |
3145 | (exit $ac_status); }; } && |
… | |
… | |
3580 | grep -v '^ *+' conftest.er1 >conftest.err |
3189 | grep -v '^ *+' conftest.er1 >conftest.err |
3581 | rm -f conftest.er1 |
3190 | rm -f conftest.er1 |
3582 | cat conftest.err >&5 |
3191 | cat conftest.err >&5 |
3583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3584 | (exit $ac_status); } && |
3193 | (exit $ac_status); } && |
3585 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3194 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3195 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3587 | (eval $ac_try) 2>&5 |
3196 | (eval $ac_try) 2>&5 |
3588 | ac_status=$? |
3197 | ac_status=$? |
3589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3590 | (exit $ac_status); }; } && |
3199 | (exit $ac_status); }; } && |
… | |
… | |
3613 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3222 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3614 | |
3223 | |
3615 | fi |
3224 | fi |
3616 | |
3225 | |
3617 | |
3226 | |
|
|
3227 | ac_ext=c |
|
|
3228 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3229 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3230 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3231 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3232 | |
|
|
3233 | |
|
|
3234 | LINKER="$CXX" |
|
|
3235 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3236 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
|
|
3237 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
|
|
3238 | if test "${ac_cv_lib_supcpp_main+set}" = set; then |
|
|
3239 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3240 | else |
|
|
3241 | ac_check_lib_save_LIBS=$LIBS |
|
|
3242 | LIBS="-lsupc++ $LIBS" |
|
|
3243 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3244 | /* confdefs.h. */ |
|
|
3245 | _ACEOF |
|
|
3246 | cat confdefs.h >>conftest.$ac_ext |
|
|
3247 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3248 | /* end confdefs.h. */ |
|
|
3249 | |
|
|
3250 | |
|
|
3251 | int |
|
|
3252 | main () |
|
|
3253 | { |
|
|
3254 | main (); |
|
|
3255 | ; |
|
|
3256 | return 0; |
|
|
3257 | } |
|
|
3258 | _ACEOF |
|
|
3259 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3260 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3261 | (eval $ac_link) 2>conftest.er1 |
|
|
3262 | ac_status=$? |
|
|
3263 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3264 | rm -f conftest.er1 |
|
|
3265 | cat conftest.err >&5 |
|
|
3266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3267 | (exit $ac_status); } && |
|
|
3268 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3269 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3270 | (eval $ac_try) 2>&5 |
|
|
3271 | ac_status=$? |
|
|
3272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3273 | (exit $ac_status); }; } && |
|
|
3274 | { ac_try='test -s conftest$ac_exeext' |
|
|
3275 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3276 | (eval $ac_try) 2>&5 |
|
|
3277 | ac_status=$? |
|
|
3278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3279 | (exit $ac_status); }; }; then |
|
|
3280 | ac_cv_lib_supcpp_main=yes |
|
|
3281 | else |
|
|
3282 | echo "$as_me: failed program was:" >&5 |
|
|
3283 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3284 | |
|
|
3285 | ac_cv_lib_supcpp_main=no |
|
|
3286 | fi |
|
|
3287 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3288 | conftest$ac_exeext conftest.$ac_ext |
|
|
3289 | LIBS=$ac_check_lib_save_LIBS |
|
|
3290 | fi |
|
|
3291 | echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5 |
|
|
3292 | echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6 |
|
|
3293 | if test $ac_cv_lib_supcpp_main = yes; then |
|
|
3294 | |
|
|
3295 | LINKER="$CC" |
|
|
3296 | LIBS="$LIBS -lsupc++" |
|
|
3297 | |
|
|
3298 | fi |
|
|
3299 | |
|
|
3300 | fi |
|
|
3301 | LINKER=$LINKER |
|
|
3302 | |
|
|
3303 | |
|
|
3304 | ac_ext=cc |
|
|
3305 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3306 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3307 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3308 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
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 | |
|
|
3314 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3315 | int i; |
|
|
3316 | _ACEOF |
|
|
3317 | rm -f conftest.$ac_objext |
|
|
3318 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
3319 | (eval $ac_compile) 2>conftest.er1 |
|
|
3320 | ac_status=$? |
|
|
3321 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3322 | rm -f conftest.er1 |
|
|
3323 | cat conftest.err >&5 |
|
|
3324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3325 | (exit $ac_status); } && |
|
|
3326 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3327 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3328 | (eval $ac_try) 2>&5 |
|
|
3329 | ac_status=$? |
|
|
3330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3331 | (exit $ac_status); }; } && |
|
|
3332 | { ac_try='test -s conftest.$ac_objext' |
|
|
3333 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3334 | (eval $ac_try) 2>&5 |
|
|
3335 | ac_status=$? |
|
|
3336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3337 | (exit $ac_status); }; }; then |
|
|
3338 | : |
|
|
3339 | else |
|
|
3340 | echo "$as_me: failed program was:" >&5 |
|
|
3341 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3342 | |
|
|
3343 | CXXFLAGS="-g -O3" |
|
|
3344 | fi |
|
|
3345 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3346 | else |
|
|
3347 | CXXFLAGS="-O" |
|
|
3348 | fi |
|
|
3349 | CFLAGS="$CXXFLAGS" |
|
|
3350 | fi |
|
|
3351 | |
|
|
3352 | |
|
|
3353 | cat >>confdefs.h <<\_ACEOF |
|
|
3354 | #define _GNU_SOURCE 1 |
|
|
3355 | _ACEOF |
|
|
3356 | |
|
|
3357 | |
|
|
3358 | case $host in |
|
|
3359 | *-*-solaris* ) |
|
|
3360 | |
|
|
3361 | cat >>confdefs.h <<\_ACEOF |
|
|
3362 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3363 | _ACEOF |
|
|
3364 | |
|
|
3365 | |
|
|
3366 | cat >>confdefs.h <<\_ACEOF |
|
|
3367 | #define _XOPEN_SOURCE 2 |
|
|
3368 | _ACEOF |
|
|
3369 | |
|
|
3370 | |
|
|
3371 | cat >>confdefs.h <<\_ACEOF |
|
|
3372 | #define __EXTENSIONS__ 1 |
|
|
3373 | _ACEOF |
|
|
3374 | |
|
|
3375 | ;; |
|
|
3376 | esac |
|
|
3377 | |
|
|
3378 | |
|
|
3379 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
|
|
3380 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
|
|
3381 | if test "${ac_cv_func_setlocale+set}" = set; then |
|
|
3382 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3383 | else |
|
|
3384 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3385 | /* confdefs.h. */ |
|
|
3386 | _ACEOF |
|
|
3387 | cat confdefs.h >>conftest.$ac_ext |
|
|
3388 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3389 | /* end confdefs.h. */ |
|
|
3390 | /* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale. |
|
|
3391 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3392 | #define setlocale innocuous_setlocale |
|
|
3393 | |
|
|
3394 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3395 | which can conflict with char setlocale (); below. |
|
|
3396 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3397 | <limits.h> exists even on freestanding compilers. */ |
|
|
3398 | |
|
|
3399 | #ifdef __STDC__ |
|
|
3400 | # include <limits.h> |
|
|
3401 | #else |
|
|
3402 | # include <assert.h> |
|
|
3403 | #endif |
|
|
3404 | |
|
|
3405 | #undef setlocale |
|
|
3406 | |
|
|
3407 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3408 | #ifdef __cplusplus |
|
|
3409 | extern "C" |
|
|
3410 | { |
|
|
3411 | #endif |
|
|
3412 | /* We use char because int might match the return type of a gcc2 |
|
|
3413 | builtin and then its argument prototype would still apply. */ |
|
|
3414 | char setlocale (); |
|
|
3415 | /* The GNU C library defines this for functions which it implements |
|
|
3416 | to always fail with ENOSYS. Some functions are actually named |
|
|
3417 | something starting with __ and the normal name is an alias. */ |
|
|
3418 | #if defined (__stub_setlocale) || defined (__stub___setlocale) |
|
|
3419 | choke me |
|
|
3420 | #else |
|
|
3421 | char (*f) () = setlocale; |
|
|
3422 | #endif |
|
|
3423 | #ifdef __cplusplus |
|
|
3424 | } |
|
|
3425 | #endif |
|
|
3426 | |
|
|
3427 | int |
|
|
3428 | main () |
|
|
3429 | { |
|
|
3430 | return f != setlocale; |
|
|
3431 | ; |
|
|
3432 | return 0; |
|
|
3433 | } |
|
|
3434 | _ACEOF |
|
|
3435 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3436 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3437 | (eval $ac_link) 2>conftest.er1 |
|
|
3438 | ac_status=$? |
|
|
3439 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3440 | rm -f conftest.er1 |
|
|
3441 | cat conftest.err >&5 |
|
|
3442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3443 | (exit $ac_status); } && |
|
|
3444 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3445 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3446 | (eval $ac_try) 2>&5 |
|
|
3447 | ac_status=$? |
|
|
3448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3449 | (exit $ac_status); }; } && |
|
|
3450 | { ac_try='test -s conftest$ac_exeext' |
|
|
3451 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3452 | (eval $ac_try) 2>&5 |
|
|
3453 | ac_status=$? |
|
|
3454 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3455 | (exit $ac_status); }; }; then |
|
|
3456 | ac_cv_func_setlocale=yes |
|
|
3457 | else |
|
|
3458 | echo "$as_me: failed program was:" >&5 |
|
|
3459 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3460 | |
|
|
3461 | ac_cv_func_setlocale=no |
|
|
3462 | fi |
|
|
3463 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3464 | conftest$ac_exeext conftest.$ac_ext |
|
|
3465 | fi |
|
|
3466 | echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5 |
|
|
3467 | echo "${ECHO_T}$ac_cv_func_setlocale" >&6 |
|
|
3468 | if test $ac_cv_func_setlocale = yes; then |
|
|
3469 | : |
|
|
3470 | else |
3618 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
3471 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
3619 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
3472 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
3620 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
3473 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
3621 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3474 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3622 | else |
3475 | else |
3623 | ac_check_lib_save_LIBS=$LIBS |
3476 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3680 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
3533 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
3681 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
3534 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
3682 | LIBS="$LIBS -lxpg4" |
3535 | LIBS="$LIBS -lxpg4" |
3683 | fi |
3536 | fi |
3684 | |
3537 | |
|
|
3538 | fi |
3685 | |
3539 | |
|
|
3540 | |
|
|
3541 | echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
|
|
3542 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
|
|
3543 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
|
3544 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3545 | else |
|
|
3546 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3547 | /* confdefs.h. */ |
|
|
3548 | _ACEOF |
|
|
3549 | cat confdefs.h >>conftest.$ac_ext |
|
|
3550 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3551 | /* end confdefs.h. */ |
|
|
3552 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
|
3553 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3554 | #define gethostbyname innocuous_gethostbyname |
|
|
3555 | |
|
|
3556 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3557 | which can conflict with char gethostbyname (); below. |
|
|
3558 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3559 | <limits.h> exists even on freestanding compilers. */ |
|
|
3560 | |
|
|
3561 | #ifdef __STDC__ |
|
|
3562 | # include <limits.h> |
|
|
3563 | #else |
|
|
3564 | # include <assert.h> |
|
|
3565 | #endif |
|
|
3566 | |
|
|
3567 | #undef gethostbyname |
|
|
3568 | |
|
|
3569 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3570 | #ifdef __cplusplus |
|
|
3571 | extern "C" |
|
|
3572 | { |
|
|
3573 | #endif |
|
|
3574 | /* We use char because int might match the return type of a gcc2 |
|
|
3575 | builtin and then its argument prototype would still apply. */ |
|
|
3576 | char gethostbyname (); |
|
|
3577 | /* The GNU C library defines this for functions which it implements |
|
|
3578 | to always fail with ENOSYS. Some functions are actually named |
|
|
3579 | something starting with __ and the normal name is an alias. */ |
|
|
3580 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
|
|
3581 | choke me |
|
|
3582 | #else |
|
|
3583 | char (*f) () = gethostbyname; |
|
|
3584 | #endif |
|
|
3585 | #ifdef __cplusplus |
|
|
3586 | } |
|
|
3587 | #endif |
|
|
3588 | |
|
|
3589 | int |
|
|
3590 | main () |
|
|
3591 | { |
|
|
3592 | return f != gethostbyname; |
|
|
3593 | ; |
|
|
3594 | return 0; |
|
|
3595 | } |
|
|
3596 | _ACEOF |
|
|
3597 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3598 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3599 | (eval $ac_link) 2>conftest.er1 |
|
|
3600 | ac_status=$? |
|
|
3601 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3602 | rm -f conftest.er1 |
|
|
3603 | cat conftest.err >&5 |
|
|
3604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3605 | (exit $ac_status); } && |
|
|
3606 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3607 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3608 | (eval $ac_try) 2>&5 |
|
|
3609 | ac_status=$? |
|
|
3610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3611 | (exit $ac_status); }; } && |
|
|
3612 | { ac_try='test -s conftest$ac_exeext' |
|
|
3613 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3614 | (eval $ac_try) 2>&5 |
|
|
3615 | ac_status=$? |
|
|
3616 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3617 | (exit $ac_status); }; }; then |
|
|
3618 | ac_cv_func_gethostbyname=yes |
|
|
3619 | else |
|
|
3620 | echo "$as_me: failed program was:" >&5 |
|
|
3621 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3622 | |
|
|
3623 | ac_cv_func_gethostbyname=no |
|
|
3624 | fi |
|
|
3625 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3626 | conftest$ac_exeext conftest.$ac_ext |
|
|
3627 | fi |
|
|
3628 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
|
|
3629 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
|
|
3630 | if test $ac_cv_func_gethostbyname = yes; then |
|
|
3631 | : |
|
|
3632 | else |
3686 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
3633 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
3687 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
3634 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
3688 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
3635 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
3689 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3636 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3690 | else |
3637 | else |
3691 | ac_check_lib_save_LIBS=$LIBS |
3638 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3748 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
3695 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
3749 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
3696 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
3750 | LIBS="$LIBS -lnsl" |
3697 | LIBS="$LIBS -lnsl" |
3751 | fi |
3698 | fi |
3752 | |
3699 | |
|
|
3700 | fi |
|
|
3701 | |
|
|
3702 | echo "$as_me:$LINENO: checking for socket" >&5 |
|
|
3703 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
|
|
3704 | if test "${ac_cv_func_socket+set}" = set; then |
|
|
3705 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3706 | else |
|
|
3707 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3708 | /* confdefs.h. */ |
|
|
3709 | _ACEOF |
|
|
3710 | cat confdefs.h >>conftest.$ac_ext |
|
|
3711 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3712 | /* end confdefs.h. */ |
|
|
3713 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. |
|
|
3714 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3715 | #define socket innocuous_socket |
|
|
3716 | |
|
|
3717 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3718 | which can conflict with char socket (); below. |
|
|
3719 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3720 | <limits.h> exists even on freestanding compilers. */ |
|
|
3721 | |
|
|
3722 | #ifdef __STDC__ |
|
|
3723 | # include <limits.h> |
|
|
3724 | #else |
|
|
3725 | # include <assert.h> |
|
|
3726 | #endif |
|
|
3727 | |
|
|
3728 | #undef socket |
|
|
3729 | |
|
|
3730 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3731 | #ifdef __cplusplus |
|
|
3732 | extern "C" |
|
|
3733 | { |
|
|
3734 | #endif |
|
|
3735 | /* We use char because int might match the return type of a gcc2 |
|
|
3736 | builtin and then its argument prototype would still apply. */ |
|
|
3737 | char socket (); |
|
|
3738 | /* The GNU C library defines this for functions which it implements |
|
|
3739 | to always fail with ENOSYS. Some functions are actually named |
|
|
3740 | something starting with __ and the normal name is an alias. */ |
|
|
3741 | #if defined (__stub_socket) || defined (__stub___socket) |
|
|
3742 | choke me |
|
|
3743 | #else |
|
|
3744 | char (*f) () = socket; |
|
|
3745 | #endif |
|
|
3746 | #ifdef __cplusplus |
|
|
3747 | } |
|
|
3748 | #endif |
|
|
3749 | |
|
|
3750 | int |
|
|
3751 | main () |
|
|
3752 | { |
|
|
3753 | return f != socket; |
|
|
3754 | ; |
|
|
3755 | return 0; |
|
|
3756 | } |
|
|
3757 | _ACEOF |
|
|
3758 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3759 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3760 | (eval $ac_link) 2>conftest.er1 |
|
|
3761 | ac_status=$? |
|
|
3762 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3763 | rm -f conftest.er1 |
|
|
3764 | cat conftest.err >&5 |
|
|
3765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3766 | (exit $ac_status); } && |
|
|
3767 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3769 | (eval $ac_try) 2>&5 |
|
|
3770 | ac_status=$? |
|
|
3771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3772 | (exit $ac_status); }; } && |
|
|
3773 | { ac_try='test -s conftest$ac_exeext' |
|
|
3774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3775 | (eval $ac_try) 2>&5 |
|
|
3776 | ac_status=$? |
|
|
3777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3778 | (exit $ac_status); }; }; then |
|
|
3779 | ac_cv_func_socket=yes |
|
|
3780 | else |
|
|
3781 | echo "$as_me: failed program was:" >&5 |
|
|
3782 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3783 | |
|
|
3784 | ac_cv_func_socket=no |
|
|
3785 | fi |
|
|
3786 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3787 | conftest$ac_exeext conftest.$ac_ext |
|
|
3788 | fi |
|
|
3789 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
|
|
3790 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
|
|
3791 | if test $ac_cv_func_socket = yes; then |
|
|
3792 | : |
|
|
3793 | else |
3753 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3794 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3754 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3795 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3755 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
3796 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
3756 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3797 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3757 | else |
3798 | else |
3758 | ac_check_lib_save_LIBS=$LIBS |
3799 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3815 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3856 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3816 | if test $ac_cv_lib_socket_socket = yes; then |
3857 | if test $ac_cv_lib_socket_socket = yes; then |
3817 | LIBS="$LIBS -lsocket" |
3858 | LIBS="$LIBS -lsocket" |
3818 | fi |
3859 | fi |
3819 | |
3860 | |
|
|
3861 | fi |
|
|
3862 | |
|
|
3863 | |
|
|
3864 | echo "$as_me:$LINENO: checking for sched_yield" >&5 |
|
|
3865 | echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6 |
|
|
3866 | if test "${ac_cv_func_sched_yield+set}" = set; then |
|
|
3867 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3868 | else |
|
|
3869 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3870 | /* confdefs.h. */ |
|
|
3871 | _ACEOF |
|
|
3872 | cat confdefs.h >>conftest.$ac_ext |
|
|
3873 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3874 | /* end confdefs.h. */ |
|
|
3875 | /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield. |
|
|
3876 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3877 | #define sched_yield innocuous_sched_yield |
|
|
3878 | |
|
|
3879 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3880 | which can conflict with char sched_yield (); below. |
|
|
3881 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3882 | <limits.h> exists even on freestanding compilers. */ |
|
|
3883 | |
|
|
3884 | #ifdef __STDC__ |
|
|
3885 | # include <limits.h> |
|
|
3886 | #else |
|
|
3887 | # include <assert.h> |
|
|
3888 | #endif |
|
|
3889 | |
|
|
3890 | #undef sched_yield |
|
|
3891 | |
|
|
3892 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3893 | #ifdef __cplusplus |
|
|
3894 | extern "C" |
|
|
3895 | { |
|
|
3896 | #endif |
|
|
3897 | /* We use char because int might match the return type of a gcc2 |
|
|
3898 | builtin and then its argument prototype would still apply. */ |
|
|
3899 | char sched_yield (); |
|
|
3900 | /* The GNU C library defines this for functions which it implements |
|
|
3901 | to always fail with ENOSYS. Some functions are actually named |
|
|
3902 | something starting with __ and the normal name is an alias. */ |
|
|
3903 | #if defined (__stub_sched_yield) || defined (__stub___sched_yield) |
|
|
3904 | choke me |
|
|
3905 | #else |
|
|
3906 | char (*f) () = sched_yield; |
|
|
3907 | #endif |
|
|
3908 | #ifdef __cplusplus |
|
|
3909 | } |
|
|
3910 | #endif |
|
|
3911 | |
|
|
3912 | int |
|
|
3913 | main () |
|
|
3914 | { |
|
|
3915 | return f != sched_yield; |
|
|
3916 | ; |
|
|
3917 | return 0; |
|
|
3918 | } |
|
|
3919 | _ACEOF |
|
|
3920 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3921 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3922 | (eval $ac_link) 2>conftest.er1 |
|
|
3923 | ac_status=$? |
|
|
3924 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3925 | rm -f conftest.er1 |
|
|
3926 | cat conftest.err >&5 |
|
|
3927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3928 | (exit $ac_status); } && |
|
|
3929 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3931 | (eval $ac_try) 2>&5 |
|
|
3932 | ac_status=$? |
|
|
3933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3934 | (exit $ac_status); }; } && |
|
|
3935 | { ac_try='test -s conftest$ac_exeext' |
|
|
3936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3937 | (eval $ac_try) 2>&5 |
|
|
3938 | ac_status=$? |
|
|
3939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3940 | (exit $ac_status); }; }; then |
|
|
3941 | ac_cv_func_sched_yield=yes |
|
|
3942 | else |
|
|
3943 | echo "$as_me: failed program was:" >&5 |
|
|
3944 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3945 | |
|
|
3946 | ac_cv_func_sched_yield=no |
|
|
3947 | fi |
|
|
3948 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3949 | conftest$ac_exeext conftest.$ac_ext |
|
|
3950 | fi |
|
|
3951 | echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5 |
|
|
3952 | echo "${ECHO_T}$ac_cv_func_sched_yield" >&6 |
|
|
3953 | if test $ac_cv_func_sched_yield = yes; then |
|
|
3954 | : |
|
|
3955 | else |
|
|
3956 | echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5 |
|
|
3957 | echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6 |
|
|
3958 | if test "${ac_cv_lib_rt_sched_yield+set}" = set; then |
|
|
3959 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3960 | else |
|
|
3961 | ac_check_lib_save_LIBS=$LIBS |
|
|
3962 | LIBS="-lrt $LIBS" |
|
|
3963 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3964 | /* confdefs.h. */ |
|
|
3965 | _ACEOF |
|
|
3966 | cat confdefs.h >>conftest.$ac_ext |
|
|
3967 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3968 | /* end confdefs.h. */ |
|
|
3969 | |
|
|
3970 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3971 | #ifdef __cplusplus |
|
|
3972 | extern "C" |
|
|
3973 | #endif |
|
|
3974 | /* We use char because int might match the return type of a gcc2 |
|
|
3975 | builtin and then its argument prototype would still apply. */ |
|
|
3976 | char sched_yield (); |
|
|
3977 | int |
|
|
3978 | main () |
|
|
3979 | { |
|
|
3980 | sched_yield (); |
|
|
3981 | ; |
|
|
3982 | return 0; |
|
|
3983 | } |
|
|
3984 | _ACEOF |
|
|
3985 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3986 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3987 | (eval $ac_link) 2>conftest.er1 |
|
|
3988 | ac_status=$? |
|
|
3989 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3990 | rm -f conftest.er1 |
|
|
3991 | cat conftest.err >&5 |
|
|
3992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3993 | (exit $ac_status); } && |
|
|
3994 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3995 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3996 | (eval $ac_try) 2>&5 |
|
|
3997 | ac_status=$? |
|
|
3998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3999 | (exit $ac_status); }; } && |
|
|
4000 | { ac_try='test -s conftest$ac_exeext' |
|
|
4001 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4002 | (eval $ac_try) 2>&5 |
|
|
4003 | ac_status=$? |
|
|
4004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4005 | (exit $ac_status); }; }; then |
|
|
4006 | ac_cv_lib_rt_sched_yield=yes |
|
|
4007 | else |
|
|
4008 | echo "$as_me: failed program was:" >&5 |
|
|
4009 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4010 | |
|
|
4011 | ac_cv_lib_rt_sched_yield=no |
|
|
4012 | fi |
|
|
4013 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4014 | conftest$ac_exeext conftest.$ac_ext |
|
|
4015 | LIBS=$ac_check_lib_save_LIBS |
|
|
4016 | fi |
|
|
4017 | echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5 |
|
|
4018 | echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6 |
|
|
4019 | if test $ac_cv_lib_rt_sched_yield = yes; then |
|
|
4020 | LIBS="$LIBS -lrt" |
|
|
4021 | fi |
|
|
4022 | |
|
|
4023 | fi |
|
|
4024 | |
|
|
4025 | |
|
|
4026 | echo "$as_me:$LINENO: checking for sched_yield support" >&5 |
|
|
4027 | echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6 |
|
|
4028 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4029 | /* confdefs.h. */ |
|
|
4030 | _ACEOF |
|
|
4031 | cat confdefs.h >>conftest.$ac_ext |
|
|
4032 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4033 | /* end confdefs.h. */ |
|
|
4034 | #include <sched.h> |
|
|
4035 | int |
|
|
4036 | main () |
|
|
4037 | { |
|
|
4038 | sched_yield () |
|
|
4039 | ; |
|
|
4040 | return 0; |
|
|
4041 | } |
|
|
4042 | _ACEOF |
|
|
4043 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4044 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4045 | (eval $ac_link) 2>conftest.er1 |
|
|
4046 | ac_status=$? |
|
|
4047 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4048 | rm -f conftest.er1 |
|
|
4049 | cat conftest.err >&5 |
|
|
4050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4051 | (exit $ac_status); } && |
|
|
4052 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4054 | (eval $ac_try) 2>&5 |
|
|
4055 | ac_status=$? |
|
|
4056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4057 | (exit $ac_status); }; } && |
|
|
4058 | { ac_try='test -s conftest$ac_exeext' |
|
|
4059 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4060 | (eval $ac_try) 2>&5 |
|
|
4061 | ac_status=$? |
|
|
4062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4063 | (exit $ac_status); }; }; then |
|
|
4064 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
4065 | echo "${ECHO_T}yes" >&6 |
|
|
4066 | |
|
|
4067 | cat >>confdefs.h <<\_ACEOF |
|
|
4068 | #define HAVE_SCHED_YIELD 1 |
|
|
4069 | _ACEOF |
|
|
4070 | |
|
|
4071 | else |
|
|
4072 | echo "$as_me: failed program was:" >&5 |
|
|
4073 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4074 | |
|
|
4075 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4076 | echo "${ECHO_T}no" >&6 |
|
|
4077 | fi |
|
|
4078 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4079 | conftest$ac_exeext conftest.$ac_ext |
3820 | |
4080 | |
3821 | |
4081 | |
3822 | MALLOC_TYPE=S |
4082 | MALLOC_TYPE=S |
3823 | support_addstrings=no |
4083 | |
3824 | support_frills=no |
4084 | support_frills=yes |
3825 | support_inheritpixmap=no |
4085 | support_inheritpixmap=yes |
3826 | support_tinting=no |
4086 | support_tinting=yes |
3827 | support_fading=no |
4087 | support_fading=yes |
3828 | support_keepscrolling=no |
4088 | support_keepscrolling=yes |
3829 | support_selectionscrolling=no |
4089 | support_selectionscrolling=yes |
3830 | support_menubar=no |
|
|
3831 | support_mousewheel=no |
4090 | support_mousewheel=yes |
3832 | support_mouseslipwheel=no |
4091 | support_mouseslipwheel=yes |
3833 | support_utmp=no |
4092 | support_utmp=yes |
3834 | support_wtmp=no |
4093 | support_wtmp=yes |
3835 | support_lastlog=no |
4094 | support_lastlog=yes |
3836 | support_cursor_blink=no |
|
|
3837 | support_text_blink=no |
4095 | support_text_blink=yes |
3838 | support_pointer_blank=no |
4096 | support_pointer_blank=yes |
3839 | support_scroll_rxvt=no |
4097 | support_scroll_rxvt=yes |
3840 | support_scroll_next=no |
4098 | support_scroll_next=yes |
3841 | support_scroll_xterm=no |
4099 | support_scroll_xterm=yes |
3842 | support_scroll_plain=no |
4100 | support_scroll_plain=yes |
3843 | support_xim=no |
4101 | support_xim=yes |
3844 | support_xpm=no |
4102 | support_xpm=yes |
3845 | support_xft=no |
4103 | support_xft=yes |
3846 | support_unicode3=no |
4104 | support_unicode3=no |
3847 | support_combining=no |
4105 | support_combining=yes |
3848 | support_8bitctrls=no |
4106 | support_8bitctrls=no |
3849 | support_iso14755=no |
4107 | support_iso14755=yes |
3850 | support_styles=no |
4108 | support_styles=yes |
|
|
4109 | support_perl=yes |
3851 | codesets= |
4110 | codesets=all |
3852 | |
4111 | |
3853 | |
4112 | |
3854 | if test "x$enable_shared" = xyes; then |
4113 | if test "x$enable_shared" = xyes; then |
3855 | |
4114 | |
3856 | cat >>confdefs.h <<\_ACEOF |
4115 | cat >>confdefs.h <<\_ACEOF |
… | |
… | |
3862 | |
4121 | |
3863 | |
4122 | |
3864 | # Check whether --enable-everything or --disable-everything was given. |
4123 | # Check whether --enable-everything or --disable-everything was given. |
3865 | if test "${enable_everything+set}" = set; then |
4124 | if test "${enable_everything+set}" = set; then |
3866 | enableval="$enable_everything" |
4125 | enableval="$enable_everything" |
|
|
4126 | |
|
|
4127 | if test x$enableval = xno; then |
|
|
4128 | support_24bit=no |
|
|
4129 | support_frills=no |
|
|
4130 | support_inheritpixmap=no |
|
|
4131 | support_tinting=no |
|
|
4132 | support_fading=no |
|
|
4133 | support_keepscrolling=no |
|
|
4134 | support_selectionscrolling=no |
|
|
4135 | support_lastlog=no |
|
|
4136 | support_mousewheel=no |
|
|
4137 | support_mouseslipwheel=no |
|
|
4138 | support_text_blink=no |
|
|
4139 | support_pointer_blank=no |
|
|
4140 | support_scroll_rxvt=no |
|
|
4141 | support_scroll_next=no |
|
|
4142 | support_scroll_xterm=no |
|
|
4143 | support_scroll_plain=no |
|
|
4144 | support_utmp=no |
|
|
4145 | support_wtmp=no |
|
|
4146 | support_xim=no |
|
|
4147 | support_xpm=no |
|
|
4148 | support_xft=no |
|
|
4149 | support_unicode3=no |
|
|
4150 | support_combining=no |
|
|
4151 | support_8bitctrls=no |
|
|
4152 | support_iso14755=no |
|
|
4153 | support_styles=no |
|
|
4154 | support_perl=no |
|
|
4155 | codesets= |
|
|
4156 | fi |
3867 | if test x$enableval = xyes; then |
4157 | if test x$enableval = xyes; then |
3868 | support_24bit=yes |
4158 | support_24bit=yes |
3869 | support_frills=yes |
4159 | support_frills=yes |
3870 | support_inheritpixmap=yes |
4160 | support_inheritpixmap=yes |
3871 | support_tinting=yes |
4161 | support_tinting=yes |
3872 | support_fading=yes |
4162 | support_fading=yes |
3873 | support_keepscrolling=yes |
4163 | support_keepscrolling=yes |
3874 | support_selectionscrolling=yes |
4164 | support_selectionscrolling=yes |
3875 | support_lastlog=yes |
4165 | support_lastlog=yes |
3876 | support_menubar=yes |
|
|
3877 | support_mousewheel=yes |
4166 | support_mousewheel=yes |
3878 | support_mouseslipwheel=yes |
4167 | support_mouseslipwheel=yes |
3879 | support_cursor_blink=yes |
|
|
3880 | support_text_blink=yes |
4168 | support_text_blink=yes |
3881 | support_pointer_blank=yes |
4169 | support_pointer_blank=yes |
3882 | support_scroll_rxvt=yes |
4170 | support_scroll_rxvt=yes |
3883 | support_scroll_next=yes |
4171 | support_scroll_next=yes |
3884 | support_scroll_xterm=yes |
4172 | support_scroll_xterm=yes |
3885 | support_scroll_plain=yes |
4173 | support_scroll_plain=yes |
3886 | support_utmp=yes |
4174 | support_utmp=yes |
3887 | support_wtmp=yes |
4175 | support_wtmp=yes |
3888 | support_xim=yes |
4176 | support_xim=yes |
3889 | support_xpm=yes |
4177 | support_xpm=yes |
3890 | support_xft=yes |
4178 | support_xft=yes |
3891 | support_unicode3=yes |
4179 | support_unicode3=yes |
3892 | support_combining=yes |
4180 | support_combining=yes |
3893 | #support_8bitctrls=yes |
4181 | #support_8bitctrls=yes |
3894 | support_iso14755=yes |
4182 | support_iso14755=yes |
3895 | support_styles=yes |
4183 | support_styles=yes |
|
|
4184 | support_perl=yes |
3896 | codesets=all |
4185 | codesets=all |
3897 | fi |
4186 | fi |
|
|
4187 | |
3898 | fi; |
4188 | fi; |
3899 | |
4189 | |
3900 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
4190 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
3901 | if test "${enable_unicode3+set}" = set; then |
4191 | if test "${enable_unicode3+set}" = set; then |
3902 | enableval="$enable_unicode3" |
4192 | enableval="$enable_unicode3" |
… | |
… | |
3983 | if test x$enableval = xyes -o x$enableval = xno; then |
4273 | if test x$enableval = xyes -o x$enableval = xno; then |
3984 | support_fading=$enableval |
4274 | support_fading=$enableval |
3985 | fi |
4275 | fi |
3986 | fi; |
4276 | fi; |
3987 | |
4277 | |
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. |
4278 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
3997 | if test "${enable_rxvt_scroll+set}" = set; then |
4279 | if test "${enable_rxvt_scroll+set}" = set; then |
3998 | enableval="$enable_rxvt_scroll" |
4280 | enableval="$enable_rxvt_scroll" |
3999 | if test x$enableval = xyes -o x$enableval = xno; then |
4281 | if test x$enableval = xyes -o x$enableval = xno; then |
4000 | support_scroll_rxvt=$enableval |
4282 | support_scroll_rxvt=$enableval |
… | |
… | |
4015 | if test x$enableval = xyes -o x$enableval = xno; then |
4297 | if test x$enableval = xyes -o x$enableval = xno; then |
4016 | support_scroll_xterm=$enableval |
4298 | support_scroll_xterm=$enableval |
4017 | fi |
4299 | fi |
4018 | fi; |
4300 | fi; |
4019 | |
4301 | |
|
|
4302 | # Check whether --enable-perl or --disable-perl was given. |
|
|
4303 | if test "${enable_perl+set}" = set; then |
|
|
4304 | enableval="$enable_perl" |
|
|
4305 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4306 | support_perl=$enableval |
|
|
4307 | fi |
|
|
4308 | fi; |
|
|
4309 | |
4020 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4310 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4021 | if test "${enable_plain_scroll+set}" = set; then |
4311 | if test "${enable_plain_scroll+set}" = set; then |
4022 | enableval="$enable_plain_scroll" |
4312 | enableval="$enable_plain_scroll" |
4023 | if test x$enableval = xyes -o x$enableval = xno; then |
4313 | if test x$enableval = xyes -o x$enableval = xno; then |
4024 | support_scroll_plain=$enableval |
4314 | support_scroll_plain=$enableval |
4025 | fi |
4315 | fi |
4026 | fi; |
4316 | fi; |
4027 | |
4317 | |
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 | |
4318 | |
4040 | |
4319 | |
4041 | # Check whether --with-codesets or --without-codesets was given. |
4320 | # Check whether --with-codesets or --without-codesets was given. |
4042 | if test "${with_codesets+set}" = set; then |
4321 | if test "${with_codesets+set}" = set; then |
4043 | withval="$with_codesets" |
4322 | withval="$with_codesets" |
… | |
… | |
4098 | _ACEOF |
4377 | _ACEOF |
4099 | |
4378 | |
4100 | fi |
4379 | fi |
4101 | fi; |
4380 | fi; |
4102 | |
4381 | |
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 |
|
|
4111 | |
|
|
4112 | fi |
|
|
4113 | fi; |
|
|
4114 | |
|
|
4115 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4382 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4116 | if test "${enable_8bitctrls+set}" = set; then |
4383 | if test "${enable_8bitctrls+set}" = set; then |
4117 | enableval="$enable_8bitctrls" |
4384 | enableval="$enable_8bitctrls" |
4118 | if test x$enableval = xyes -o x$enableval = xno; then |
4385 | if test x$enableval = xyes -o x$enableval = xno; then |
4119 | support_8bitctrls=$enableval |
4386 | support_8bitctrls=$enableval |
… | |
… | |
4178 | _ACEOF |
4445 | _ACEOF |
4179 | |
4446 | |
4180 | |
4447 | |
4181 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4448 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4182 | |
4449 | |
4183 | |
|
|
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 | |
4450 | |
4192 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4451 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4193 | if test "${enable_swapscreen+set}" = set; then |
4452 | if test "${enable_swapscreen+set}" = set; then |
4194 | enableval="$enable_swapscreen" |
4453 | enableval="$enable_swapscreen" |
4195 | if test x$enableval = xno; then |
4454 | if test x$enableval = xno; then |
… | |
… | |
4289 | _ACEOF |
4548 | _ACEOF |
4290 | |
4549 | |
4291 | fi |
4550 | fi |
4292 | fi; |
4551 | fi; |
4293 | |
4552 | |
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 |
|
|
4300 | fi; |
|
|
4301 | |
|
|
4302 | # Check whether --enable-text-blink or --disable-text-blink was given. |
4553 | # Check whether --enable-text-blink or --disable-text-blink was given. |
4303 | if test "${enable_text_blink+set}" = set; then |
4554 | if test "${enable_text_blink+set}" = set; then |
4304 | enableval="$enable_text_blink" |
4555 | enableval="$enable_text_blink" |
4305 | if test x$enableval = xyes -o x$enableval = xno; then |
4556 | if test x$enableval = xyes -o x$enableval = xno; then |
4306 | support_text_blink=$enableval |
4557 | support_text_blink=$enableval |
… | |
… | |
4338 | #define RXVT_TERMINFO "$withval" |
4589 | #define RXVT_TERMINFO "$withval" |
4339 | _ACEOF |
4590 | _ACEOF |
4340 | terminfo="$withval" |
4591 | terminfo="$withval" |
4341 | fi |
4592 | fi |
4342 | fi; |
4593 | fi; |
4343 | |
|
|
4344 | |
|
|
4345 | |
|
|
4346 | cat >>confdefs.h <<\_ACEOF |
|
|
4347 | #define PROTOTYPES 1 |
|
|
4348 | _ACEOF |
|
|
4349 | |
4594 | |
4350 | |
4595 | |
4351 | # Extract the first word of "mv", so it can be a program name with args. |
4596 | # Extract the first word of "mv", so it can be a program name with args. |
4352 | set dummy mv; ac_word=$2 |
4597 | set dummy mv; ac_word=$2 |
4353 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4598 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
4626 | else |
4871 | else |
4627 | echo "$as_me:$LINENO: result: no" >&5 |
4872 | echo "$as_me:$LINENO: result: no" >&5 |
4628 | echo "${ECHO_T}no" >&6 |
4873 | echo "${ECHO_T}no" >&6 |
4629 | fi |
4874 | fi |
4630 | |
4875 | |
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 | |
|
|
4670 | # Extract the first word of "tic", so it can be a program name with args. |
4876 | # Extract the first word of "tic", so it can be a program name with args. |
4671 | set dummy tic; ac_word=$2 |
4877 | set dummy tic; ac_word=$2 |
4672 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4878 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4673 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4879 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4674 | if test "${ac_cv_path_TIC+set}" = set; then |
4880 | if test "${ac_cv_path_TIC+set}" = set; then |
… | |
… | |
4705 | echo "$as_me:$LINENO: result: no" >&5 |
4911 | echo "$as_me:$LINENO: result: no" >&5 |
4706 | echo "${ECHO_T}no" >&6 |
4912 | echo "${ECHO_T}no" >&6 |
4707 | fi |
4913 | fi |
4708 | |
4914 | |
4709 | |
4915 | |
|
|
4916 | |
|
|
4917 | |
|
|
4918 | ac_ext=cc |
|
|
4919 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4920 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4921 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4922 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4923 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4924 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
4925 | if test -z "$CXXCPP"; then |
|
|
4926 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4928 | else |
|
|
4929 | # Double quotes because CXXCPP needs to be expanded |
|
|
4930 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4931 | do |
|
|
4932 | ac_preproc_ok=false |
|
|
4933 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4934 | do |
|
|
4935 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4936 | # with a fresh cross-compiler works. |
|
|
4937 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4938 | # <limits.h> exists even on freestanding compilers. |
|
|
4939 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4940 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4941 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4942 | /* confdefs.h. */ |
|
|
4943 | _ACEOF |
|
|
4944 | cat confdefs.h >>conftest.$ac_ext |
|
|
4945 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4946 | /* end confdefs.h. */ |
|
|
4947 | #ifdef __STDC__ |
|
|
4948 | # include <limits.h> |
|
|
4949 | #else |
|
|
4950 | # include <assert.h> |
|
|
4951 | #endif |
|
|
4952 | Syntax error |
|
|
4953 | _ACEOF |
|
|
4954 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4955 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4956 | ac_status=$? |
|
|
4957 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4958 | rm -f conftest.er1 |
|
|
4959 | cat conftest.err >&5 |
|
|
4960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4961 | (exit $ac_status); } >/dev/null; then |
|
|
4962 | if test -s conftest.err; then |
|
|
4963 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4964 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4965 | else |
|
|
4966 | ac_cpp_err= |
|
|
4967 | fi |
|
|
4968 | else |
|
|
4969 | ac_cpp_err=yes |
|
|
4970 | fi |
|
|
4971 | if test -z "$ac_cpp_err"; then |
|
|
4972 | : |
|
|
4973 | else |
|
|
4974 | echo "$as_me: failed program was:" >&5 |
|
|
4975 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4976 | |
|
|
4977 | # Broken: fails on valid input. |
|
|
4978 | continue |
|
|
4979 | fi |
|
|
4980 | rm -f conftest.err conftest.$ac_ext |
|
|
4981 | |
|
|
4982 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4983 | # can be detected and how. |
|
|
4984 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4985 | /* confdefs.h. */ |
|
|
4986 | _ACEOF |
|
|
4987 | cat confdefs.h >>conftest.$ac_ext |
|
|
4988 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4989 | /* end confdefs.h. */ |
|
|
4990 | #include <ac_nonexistent.h> |
|
|
4991 | _ACEOF |
|
|
4992 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4993 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4994 | ac_status=$? |
|
|
4995 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4996 | rm -f conftest.er1 |
|
|
4997 | cat conftest.err >&5 |
|
|
4998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4999 | (exit $ac_status); } >/dev/null; then |
|
|
5000 | if test -s conftest.err; then |
|
|
5001 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5002 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5003 | else |
|
|
5004 | ac_cpp_err= |
|
|
5005 | fi |
|
|
5006 | else |
|
|
5007 | ac_cpp_err=yes |
|
|
5008 | fi |
|
|
5009 | if test -z "$ac_cpp_err"; then |
|
|
5010 | # Broken: success on invalid input. |
|
|
5011 | continue |
|
|
5012 | else |
|
|
5013 | echo "$as_me: failed program was:" >&5 |
|
|
5014 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5015 | |
|
|
5016 | # Passes both tests. |
|
|
5017 | ac_preproc_ok=: |
|
|
5018 | break |
|
|
5019 | fi |
|
|
5020 | rm -f conftest.err conftest.$ac_ext |
|
|
5021 | |
|
|
5022 | done |
|
|
5023 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5024 | rm -f conftest.err conftest.$ac_ext |
|
|
5025 | if $ac_preproc_ok; then |
|
|
5026 | break |
|
|
5027 | fi |
|
|
5028 | |
|
|
5029 | done |
|
|
5030 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5031 | |
|
|
5032 | fi |
|
|
5033 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5034 | else |
|
|
5035 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5036 | fi |
|
|
5037 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5038 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
5039 | ac_preproc_ok=false |
|
|
5040 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5041 | do |
|
|
5042 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5043 | # with a fresh cross-compiler works. |
|
|
5044 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5045 | # <limits.h> exists even on freestanding compilers. |
|
|
5046 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5047 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5048 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5049 | /* confdefs.h. */ |
|
|
5050 | _ACEOF |
|
|
5051 | cat confdefs.h >>conftest.$ac_ext |
|
|
5052 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5053 | /* end confdefs.h. */ |
|
|
5054 | #ifdef __STDC__ |
|
|
5055 | # include <limits.h> |
|
|
5056 | #else |
|
|
5057 | # include <assert.h> |
|
|
5058 | #endif |
|
|
5059 | Syntax error |
|
|
5060 | _ACEOF |
|
|
5061 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
5062 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
5063 | ac_status=$? |
|
|
5064 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5065 | rm -f conftest.er1 |
|
|
5066 | cat conftest.err >&5 |
|
|
5067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5068 | (exit $ac_status); } >/dev/null; then |
|
|
5069 | if test -s conftest.err; then |
|
|
5070 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5071 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5072 | else |
|
|
5073 | ac_cpp_err= |
|
|
5074 | fi |
|
|
5075 | else |
|
|
5076 | ac_cpp_err=yes |
|
|
5077 | fi |
|
|
5078 | if test -z "$ac_cpp_err"; then |
|
|
5079 | : |
|
|
5080 | else |
|
|
5081 | echo "$as_me: failed program was:" >&5 |
|
|
5082 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5083 | |
|
|
5084 | # Broken: fails on valid input. |
|
|
5085 | continue |
|
|
5086 | fi |
|
|
5087 | rm -f conftest.err conftest.$ac_ext |
|
|
5088 | |
|
|
5089 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
5090 | # can be detected and how. |
|
|
5091 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5092 | /* confdefs.h. */ |
|
|
5093 | _ACEOF |
|
|
5094 | cat confdefs.h >>conftest.$ac_ext |
|
|
5095 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5096 | /* end confdefs.h. */ |
|
|
5097 | #include <ac_nonexistent.h> |
|
|
5098 | _ACEOF |
|
|
5099 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
5100 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
5101 | ac_status=$? |
|
|
5102 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5103 | rm -f conftest.er1 |
|
|
5104 | cat conftest.err >&5 |
|
|
5105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5106 | (exit $ac_status); } >/dev/null; then |
|
|
5107 | if test -s conftest.err; then |
|
|
5108 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
5109 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5110 | else |
|
|
5111 | ac_cpp_err= |
|
|
5112 | fi |
|
|
5113 | else |
|
|
5114 | ac_cpp_err=yes |
|
|
5115 | fi |
|
|
5116 | if test -z "$ac_cpp_err"; then |
|
|
5117 | # Broken: success on invalid input. |
|
|
5118 | continue |
|
|
5119 | else |
|
|
5120 | echo "$as_me: failed program was:" >&5 |
|
|
5121 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5122 | |
|
|
5123 | # Passes both tests. |
|
|
5124 | ac_preproc_ok=: |
|
|
5125 | break |
|
|
5126 | fi |
|
|
5127 | rm -f conftest.err conftest.$ac_ext |
|
|
5128 | |
|
|
5129 | done |
|
|
5130 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5131 | rm -f conftest.err conftest.$ac_ext |
|
|
5132 | if $ac_preproc_ok; then |
|
|
5133 | : |
|
|
5134 | else |
|
|
5135 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5136 | See \`config.log' for more details." >&5 |
|
|
5137 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5138 | See \`config.log' for more details." >&2;} |
|
|
5139 | { (exit 1); exit 1; }; } |
|
|
5140 | fi |
|
|
5141 | |
|
|
5142 | ac_ext=cc |
|
|
5143 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5144 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5145 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5146 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4710 | |
5147 | |
4711 | |
5148 | |
4712 | |
5149 | |
4713 | if test "x$ac_path_x_has_been_run" != xyes; then |
5150 | if test "x$ac_path_x_has_been_run" != xyes; then |
4714 | echo "$as_me:$LINENO: checking for X" >&5 |
5151 | echo "$as_me:$LINENO: checking for X" >&5 |
… | |
… | |
4813 | /* confdefs.h. */ |
5250 | /* confdefs.h. */ |
4814 | _ACEOF |
5251 | _ACEOF |
4815 | cat confdefs.h >>conftest.$ac_ext |
5252 | cat confdefs.h >>conftest.$ac_ext |
4816 | cat >>conftest.$ac_ext <<_ACEOF |
5253 | cat >>conftest.$ac_ext <<_ACEOF |
4817 | /* end confdefs.h. */ |
5254 | /* end confdefs.h. */ |
4818 | #include <X11/Intrinsic.h> |
5255 | #include <X11/Xlib.h> |
4819 | _ACEOF |
5256 | _ACEOF |
4820 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5257 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4821 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5258 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4822 | ac_status=$? |
5259 | ac_status=$? |
4823 | grep -v '^ *+' conftest.er1 >conftest.err |
5260 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
4840 | else |
5277 | else |
4841 | echo "$as_me: failed program was:" >&5 |
5278 | echo "$as_me: failed program was:" >&5 |
4842 | sed 's/^/| /' conftest.$ac_ext >&5 |
5279 | sed 's/^/| /' conftest.$ac_ext >&5 |
4843 | |
5280 | |
4844 | for ac_dir in $ac_x_header_dirs; do |
5281 | for ac_dir in $ac_x_header_dirs; do |
4845 | if test -r "$ac_dir/X11/Intrinsic.h"; then |
5282 | if test -r "$ac_dir/X11/Xlib.h"; then |
4846 | ac_x_includes=$ac_dir |
5283 | ac_x_includes=$ac_dir |
4847 | break |
5284 | break |
4848 | fi |
5285 | fi |
4849 | done |
5286 | done |
4850 | fi |
5287 | fi |
… | |
… | |
4854 | if test "$ac_x_libraries" = no; then |
5291 | if test "$ac_x_libraries" = no; then |
4855 | # Check for the libraries. |
5292 | # Check for the libraries. |
4856 | # See if we find them without any special options. |
5293 | # See if we find them without any special options. |
4857 | # Don't add to $LIBS permanently. |
5294 | # Don't add to $LIBS permanently. |
4858 | ac_save_LIBS=$LIBS |
5295 | ac_save_LIBS=$LIBS |
4859 | LIBS="-lXt $LIBS" |
5296 | LIBS="-lX11 $LIBS" |
4860 | cat >conftest.$ac_ext <<_ACEOF |
5297 | cat >conftest.$ac_ext <<_ACEOF |
4861 | /* confdefs.h. */ |
5298 | /* confdefs.h. */ |
4862 | _ACEOF |
5299 | _ACEOF |
4863 | cat confdefs.h >>conftest.$ac_ext |
5300 | cat confdefs.h >>conftest.$ac_ext |
4864 | cat >>conftest.$ac_ext <<_ACEOF |
5301 | cat >>conftest.$ac_ext <<_ACEOF |
4865 | /* end confdefs.h. */ |
5302 | /* end confdefs.h. */ |
4866 | #include <X11/Intrinsic.h> |
5303 | #include <X11/Xlib.h> |
4867 | int |
5304 | int |
4868 | main () |
5305 | main () |
4869 | { |
5306 | { |
4870 | XtMalloc (0) |
5307 | XrmInitialize () |
4871 | ; |
5308 | ; |
4872 | return 0; |
5309 | return 0; |
4873 | } |
5310 | } |
4874 | _ACEOF |
5311 | _ACEOF |
4875 | rm -f conftest.$ac_objext conftest$ac_exeext |
5312 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
4903 | LIBS=$ac_save_LIBS |
5340 | LIBS=$ac_save_LIBS |
4904 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
5341 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
4905 | do |
5342 | do |
4906 | # Don't even attempt the hair of trying to link an X program! |
5343 | # Don't even attempt the hair of trying to link an X program! |
4907 | for ac_extension in a so sl; do |
5344 | for ac_extension in a so sl; do |
4908 | if test -r $ac_dir/libXt.$ac_extension; then |
5345 | if test -r $ac_dir/libX11.$ac_extension; then |
4909 | ac_x_libraries=$ac_dir |
5346 | ac_x_libraries=$ac_dir |
4910 | break 2 |
5347 | break 2 |
4911 | fi |
5348 | fi |
4912 | done |
5349 | done |
4913 | done |
5350 | done |
… | |
… | |
6775 | |
7212 | |
6776 | |
7213 | |
6777 | |
7214 | |
6778 | |
7215 | |
6779 | |
7216 | |
|
|
7217 | |
|
|
7218 | |
6780 | for ac_header in \ |
7219 | for ac_header in \ |
6781 | assert.h \ |
7220 | assert.h \ |
6782 | fcntl.h \ |
7221 | fcntl.h \ |
6783 | grp.h \ |
7222 | grp.h \ |
6784 | libc.h \ |
7223 | libc.h \ |
… | |
… | |
6797 | sys/time.h \ |
7236 | sys/time.h \ |
6798 | utmp.h \ |
7237 | utmp.h \ |
6799 | utmpx.h \ |
7238 | utmpx.h \ |
6800 | stdint.h \ |
7239 | stdint.h \ |
6801 | pty.h \ |
7240 | pty.h \ |
|
|
7241 | util.h \ |
|
|
7242 | libutil.h \ |
6802 | wchar.h \ |
7243 | wchar.h \ |
6803 | cwchar \ |
7244 | cwchar \ |
6804 | clocale \ |
7245 | clocale \ |
6805 | |
7246 | |
6806 | do |
7247 | do |
… | |
… | |
9636 | #define RETSIGTYPE $ac_cv_type_signal |
10077 | #define RETSIGTYPE $ac_cv_type_signal |
9637 | _ACEOF |
10078 | _ACEOF |
9638 | |
10079 | |
9639 | |
10080 | |
9640 | |
10081 | |
9641 | case "$host_alias" in |
|
|
9642 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
9643 | *) break;; |
|
|
9644 | esac |
|
|
9645 | |
|
|
9646 | |
|
|
9647 | |
10082 | |
9648 | |
10083 | |
9649 | |
10084 | |
9650 | |
10085 | |
9651 | |
10086 | |
… | |
… | |
9660 | |
10095 | |
9661 | |
10096 | |
9662 | |
10097 | |
9663 | |
10098 | |
9664 | for ac_func in \ |
10099 | for ac_func in \ |
9665 | atexit \ |
|
|
9666 | revoke \ |
10100 | revoke \ |
9667 | unsetenv \ |
10101 | unsetenv \ |
9668 | setutent \ |
10102 | setutent \ |
9669 | seteuid \ |
10103 | seteuid \ |
|
|
10104 | setresuid \ |
9670 | setreuid \ |
10105 | setreuid \ |
9671 | setsid \ |
|
|
9672 | setpgrp \ |
|
|
9673 | setpgid \ |
|
|
9674 | openpty \ |
|
|
9675 | _getpty \ |
10106 | _getpty \ |
|
|
10107 | getpt \ |
|
|
10108 | posix_openpt \ |
9676 | grantpt \ |
10109 | grantpt \ |
9677 | unlockpt \ |
10110 | unlockpt \ |
9678 | isastream \ |
10111 | isastream \ |
9679 | on_exit \ |
10112 | on_exit \ |
9680 | nanosleep \ |
10113 | nanosleep \ |
9681 | updwtmp \ |
10114 | updwtmp \ |
|
|
10115 | updwtmpx \ |
9682 | ttyslot \ |
10116 | ttyslot \ |
9683 | |
10117 | |
9684 | do |
10118 | do |
9685 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10119 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9686 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10120 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
… | |
… | |
9929 | _ACEOF |
10363 | _ACEOF |
9930 | cat confdefs.h >>conftest.$ac_ext |
10364 | cat confdefs.h >>conftest.$ac_ext |
9931 | cat >>conftest.$ac_ext <<_ACEOF |
10365 | cat >>conftest.$ac_ext <<_ACEOF |
9932 | /* end confdefs.h. */ |
10366 | /* end confdefs.h. */ |
9933 | #include <sys/types.h> |
10367 | #include <sys/types.h> |
9934 | #include <stdint.h> |
|
|
9935 | #include <utmp.h> |
10368 | #include <utmp.h> |
9936 | int |
10369 | int |
9937 | main () |
10370 | main () |
9938 | { |
10371 | { |
9939 | struct utmp ut; |
10372 | struct utmp ut; |
… | |
… | |
10366 | #define HAVE_UTMPX_HOST 1 |
10799 | #define HAVE_UTMPX_HOST 1 |
10367 | _ACEOF |
10800 | _ACEOF |
10368 | |
10801 | |
10369 | fi |
10802 | fi |
10370 | |
10803 | |
10371 | fi |
10804 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
|
|
10805 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
|
|
10806 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
|
|
10807 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10808 | else |
|
|
10809 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10810 | /* confdefs.h. */ |
|
|
10811 | _ACEOF |
|
|
10812 | cat confdefs.h >>conftest.$ac_ext |
|
|
10813 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10814 | /* end confdefs.h. */ |
|
|
10815 | #include <sys/types.h> |
|
|
10816 | #include <utmpx.h> |
|
|
10817 | int |
|
|
10818 | main () |
|
|
10819 | { |
|
|
10820 | struct utmpx utx; utx.ut_session; |
|
|
10821 | ; |
|
|
10822 | return 0; |
|
|
10823 | } |
|
|
10824 | _ACEOF |
|
|
10825 | rm -f conftest.$ac_objext |
|
|
10826 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10827 | (eval $ac_compile) 2>conftest.er1 |
|
|
10828 | ac_status=$? |
|
|
10829 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10830 | rm -f conftest.er1 |
|
|
10831 | cat conftest.err >&5 |
|
|
10832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10833 | (exit $ac_status); } && |
|
|
10834 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
10835 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10836 | (eval $ac_try) 2>&5 |
|
|
10837 | ac_status=$? |
|
|
10838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10839 | (exit $ac_status); }; } && |
|
|
10840 | { ac_try='test -s conftest.$ac_objext' |
|
|
10841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10842 | (eval $ac_try) 2>&5 |
|
|
10843 | ac_status=$? |
|
|
10844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10845 | (exit $ac_status); }; }; then |
|
|
10846 | rxvt_cv_struct_utmpx_session=yes |
|
|
10847 | else |
|
|
10848 | echo "$as_me: failed program was:" >&5 |
|
|
10849 | sed 's/^/| /' conftest.$ac_ext >&5 |
10372 | |
10850 | |
|
|
10851 | rxvt_cv_struct_utmpx_session=no |
|
|
10852 | fi |
|
|
10853 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10854 | fi |
|
|
10855 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
|
|
10856 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
|
|
10857 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
|
|
10858 | |
|
|
10859 | cat >>confdefs.h <<\_ACEOF |
|
|
10860 | #define HAVE_UTMPX_SESSION 1 |
|
|
10861 | _ACEOF |
|
|
10862 | |
|
|
10863 | fi |
|
|
10864 | |
|
|
10865 | fi |
10373 | |
10866 | |
10374 | |
10867 | |
10375 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10868 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10376 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10869 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10377 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10870 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
… | |
… | |
11254 | #define HAVE_NL_LANGINFO 1 |
11747 | #define HAVE_NL_LANGINFO 1 |
11255 | _ACEOF |
11748 | _ACEOF |
11256 | |
11749 | |
11257 | fi |
11750 | fi |
11258 | |
11751 | |
|
|
11752 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
|
|
11753 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
|
|
11754 | if test "${rxvt_can_pass_fds+set}" = set; then |
|
|
11755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11756 | else |
|
|
11757 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11758 | /* confdefs.h. */ |
|
|
11759 | _ACEOF |
|
|
11760 | cat confdefs.h >>conftest.$ac_ext |
|
|
11761 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11762 | /* end confdefs.h. */ |
|
|
11763 | |
|
|
11764 | #include <sys/types.h> |
|
|
11765 | #include <sys/socket.h> |
|
|
11766 | |
|
|
11767 | int |
|
|
11768 | main () |
|
|
11769 | { |
|
|
11770 | |
|
|
11771 | { |
|
|
11772 | msghdr msg; |
|
|
11773 | iovec iov; |
|
|
11774 | char buf [100]; |
|
|
11775 | char data = 0; |
|
|
11776 | |
|
|
11777 | iov.iov_base = &data; |
|
|
11778 | iov.iov_len = 1; |
|
|
11779 | |
|
|
11780 | msg.msg_iov = &iov; |
|
|
11781 | msg.msg_iovlen = 1; |
|
|
11782 | msg.msg_control = buf; |
|
|
11783 | msg.msg_controllen = sizeof buf; |
|
|
11784 | |
|
|
11785 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
11786 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
11787 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
11788 | cmsg->cmsg_len = 100; |
|
|
11789 | |
|
|
11790 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
11791 | |
|
|
11792 | return sendmsg (3, &msg, 0); |
|
|
11793 | } |
|
|
11794 | |
|
|
11795 | ; |
|
|
11796 | return 0; |
|
|
11797 | } |
|
|
11798 | _ACEOF |
|
|
11799 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11800 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11801 | (eval $ac_link) 2>conftest.er1 |
|
|
11802 | ac_status=$? |
|
|
11803 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11804 | rm -f conftest.er1 |
|
|
11805 | cat conftest.err >&5 |
|
|
11806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11807 | (exit $ac_status); } && |
|
|
11808 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11809 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11810 | (eval $ac_try) 2>&5 |
|
|
11811 | ac_status=$? |
|
|
11812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11813 | (exit $ac_status); }; } && |
|
|
11814 | { ac_try='test -s conftest$ac_exeext' |
|
|
11815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11816 | (eval $ac_try) 2>&5 |
|
|
11817 | ac_status=$? |
|
|
11818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11819 | (exit $ac_status); }; }; then |
|
|
11820 | rxvt_can_pass_fds=yes |
|
|
11821 | else |
|
|
11822 | echo "$as_me: failed program was:" >&5 |
|
|
11823 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11824 | |
|
|
11825 | rxvt_can_pass_fds=no |
|
|
11826 | fi |
|
|
11827 | rm -f conftest.err conftest.$ac_objext \ |
|
|
11828 | conftest$ac_exeext conftest.$ac_ext |
|
|
11829 | fi |
|
|
11830 | echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 |
|
|
11831 | echo "${ECHO_T}$rxvt_can_pass_fds" >&6 |
|
|
11832 | if test x$rxvt_can_pass_fds = xyes; then |
|
|
11833 | |
|
|
11834 | cat >>confdefs.h <<\_ACEOF |
|
|
11835 | #define HAVE_UNIX_FDPASS 1 |
|
|
11836 | _ACEOF |
|
|
11837 | |
|
|
11838 | else |
|
|
11839 | { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 |
|
|
11840 | echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} |
|
|
11841 | { (exit 1); exit 1; }; } |
|
|
11842 | fi |
|
|
11843 | |
11259 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11844 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11260 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11845 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11261 | if test "${rxvt_broken_ximcb+set}" = set; then |
11846 | if test "${rxvt_broken_ximcb+set}" = set; then |
11262 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11847 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11263 | else |
11848 | else |
… | |
… | |
11312 | #define XIMCB_PROTO_BROKEN 1 |
11897 | #define XIMCB_PROTO_BROKEN 1 |
11313 | _ACEOF |
11898 | _ACEOF |
11314 | |
11899 | |
11315 | fi |
11900 | fi |
11316 | |
11901 | |
|
|
11902 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
11317 | echo "$as_me:$LINENO: checking for getpt" >&5 |
11903 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11318 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
11904 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11319 | if test "${rxvt_cv_func_getpt+set}" = set; then |
11905 | if test "${ac_cv_func_openpty+set}" = set; then |
11320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11906 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11321 | else |
11907 | else |
11322 | cat >conftest.$ac_ext <<_ACEOF |
11908 | cat >conftest.$ac_ext <<_ACEOF |
11323 | /* confdefs.h. */ |
11909 | /* confdefs.h. */ |
11324 | _ACEOF |
11910 | _ACEOF |
11325 | cat confdefs.h >>conftest.$ac_ext |
11911 | cat confdefs.h >>conftest.$ac_ext |
11326 | cat >>conftest.$ac_ext <<_ACEOF |
11912 | cat >>conftest.$ac_ext <<_ACEOF |
11327 | /* end confdefs.h. */ |
11913 | /* end confdefs.h. */ |
11328 | #define _GNU_SOURCE |
11914 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
11329 | #ifdef HAVE_STDLIB_H |
11915 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11330 | # include <cstdlib> |
11916 | #define openpty innocuous_openpty |
|
|
11917 | |
|
|
11918 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11919 | which can conflict with char openpty (); below. |
|
|
11920 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
11921 | <limits.h> exists even on freestanding compilers. */ |
|
|
11922 | |
|
|
11923 | #ifdef __STDC__ |
|
|
11924 | # include <limits.h> |
|
|
11925 | #else |
|
|
11926 | # include <assert.h> |
11331 | #endif |
11927 | #endif |
|
|
11928 | |
|
|
11929 | #undef openpty |
|
|
11930 | |
|
|
11931 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11932 | #ifdef __cplusplus |
|
|
11933 | extern "C" |
|
|
11934 | { |
|
|
11935 | #endif |
|
|
11936 | /* We use char because int might match the return type of a gcc2 |
|
|
11937 | builtin and then its argument prototype would still apply. */ |
|
|
11938 | char openpty (); |
|
|
11939 | /* The GNU C library defines this for functions which it implements |
|
|
11940 | to always fail with ENOSYS. Some functions are actually named |
|
|
11941 | something starting with __ and the normal name is an alias. */ |
|
|
11942 | #if defined (__stub_openpty) || defined (__stub___openpty) |
|
|
11943 | choke me |
|
|
11944 | #else |
|
|
11945 | char (*f) () = openpty; |
|
|
11946 | #endif |
|
|
11947 | #ifdef __cplusplus |
|
|
11948 | } |
|
|
11949 | #endif |
|
|
11950 | |
11332 | int |
11951 | int |
11333 | main () |
11952 | main () |
11334 | { |
11953 | { |
11335 | (void)getpt(); |
11954 | return f != openpty; |
11336 | ; |
11955 | ; |
11337 | return 0; |
11956 | return 0; |
11338 | } |
11957 | } |
11339 | _ACEOF |
11958 | _ACEOF |
11340 | rm -f conftest.$ac_objext conftest$ac_exeext |
11959 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
11356 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11975 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11357 | (eval $ac_try) 2>&5 |
11976 | (eval $ac_try) 2>&5 |
11358 | ac_status=$? |
11977 | ac_status=$? |
11359 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11360 | (exit $ac_status); }; }; then |
11979 | (exit $ac_status); }; }; then |
11361 | rxvt_cv_func_getpt=yes |
11980 | ac_cv_func_openpty=yes |
11362 | else |
11981 | else |
11363 | echo "$as_me: failed program was:" >&5 |
11982 | echo "$as_me: failed program was:" >&5 |
11364 | sed 's/^/| /' conftest.$ac_ext >&5 |
11983 | sed 's/^/| /' conftest.$ac_ext >&5 |
11365 | |
11984 | |
11366 | rxvt_cv_func_getpt=no |
11985 | ac_cv_func_openpty=no |
11367 | fi |
11986 | fi |
11368 | rm -f conftest.err conftest.$ac_objext \ |
11987 | rm -f conftest.err conftest.$ac_objext \ |
11369 | conftest$ac_exeext conftest.$ac_ext |
11988 | conftest$ac_exeext conftest.$ac_ext |
11370 | fi |
11989 | fi |
11371 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
11990 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
11372 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
11991 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
11373 | if test x$rxvt_cv_func_getpt = xyes; then |
11992 | if test $ac_cv_func_openpty = yes; then |
11374 | |
11993 | : |
|
|
11994 | else |
|
|
11995 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
11996 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
11997 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
11998 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11999 | else |
|
|
12000 | ac_check_lib_save_LIBS=$LIBS |
|
|
12001 | LIBS="-lutil $LIBS" |
|
|
12002 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12003 | /* confdefs.h. */ |
|
|
12004 | _ACEOF |
|
|
12005 | cat confdefs.h >>conftest.$ac_ext |
11375 | cat >>confdefs.h <<\_ACEOF |
12006 | cat >>conftest.$ac_ext <<_ACEOF |
11376 | #define HAVE_GETPT 1 |
12007 | /* end confdefs.h. */ |
|
|
12008 | |
|
|
12009 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12010 | #ifdef __cplusplus |
|
|
12011 | extern "C" |
|
|
12012 | #endif |
|
|
12013 | /* We use char because int might match the return type of a gcc2 |
|
|
12014 | builtin and then its argument prototype would still apply. */ |
|
|
12015 | char openpty (); |
|
|
12016 | int |
|
|
12017 | main () |
|
|
12018 | { |
|
|
12019 | openpty (); |
|
|
12020 | ; |
|
|
12021 | return 0; |
|
|
12022 | } |
11377 | _ACEOF |
12023 | _ACEOF |
|
|
12024 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12025 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12026 | (eval $ac_link) 2>conftest.er1 |
|
|
12027 | ac_status=$? |
|
|
12028 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12029 | rm -f conftest.er1 |
|
|
12030 | cat conftest.err >&5 |
|
|
12031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12032 | (exit $ac_status); } && |
|
|
12033 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12035 | (eval $ac_try) 2>&5 |
|
|
12036 | ac_status=$? |
|
|
12037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12038 | (exit $ac_status); }; } && |
|
|
12039 | { ac_try='test -s conftest$ac_exeext' |
|
|
12040 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12041 | (eval $ac_try) 2>&5 |
|
|
12042 | ac_status=$? |
|
|
12043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12044 | (exit $ac_status); }; }; then |
|
|
12045 | ac_cv_lib_util_openpty=yes |
|
|
12046 | else |
|
|
12047 | echo "$as_me: failed program was:" >&5 |
|
|
12048 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12049 | |
|
|
12050 | ac_cv_lib_util_openpty=no |
|
|
12051 | fi |
|
|
12052 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12053 | conftest$ac_exeext conftest.$ac_ext |
|
|
12054 | LIBS=$ac_check_lib_save_LIBS |
|
|
12055 | fi |
|
|
12056 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12057 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12058 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12059 | LIBS="$LIBS -lutil" |
|
|
12060 | fi |
|
|
12061 | |
|
|
12062 | fi |
11378 | |
12063 | |
11379 | fi |
12064 | fi |
11380 | |
12065 | |
11381 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12066 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
11382 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12067 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
11383 | if test "${rxvt_cv_ptys+set}" = set; then |
12068 | if test "${rxvt_cv_ptys+set}" = set; then |
11384 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12069 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11385 | else |
12070 | else |
11386 | if test x$ac_cv_func_openpty = xyes; then |
12071 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
11387 | rxvt_cv_ptys=OPENPTY |
12072 | rxvt_cv_ptys=OPENPTY |
|
|
12073 | else if test x$ac_cv_func_getpt = xyes; then |
|
|
12074 | rxvt_cv_ptys=GLIBC |
|
|
12075 | else if test x$ac_cv_func_posix_openpt = xyes; then |
|
|
12076 | rxvt_cv_ptys=POSIX |
11388 | else if test x$ac_cv_func__getpty = xyes; then |
12077 | else if test x$ac_cv_func__getpty = xyes; then |
11389 | rxvt_cv_ptys=SGI4 |
12078 | rxvt_cv_ptys=SGI4 |
11390 | else if test -c /dev/ttyp20; then |
12079 | else if test -c /dev/ttyp20; then |
11391 | rxvt_cv_ptys=SCO |
12080 | rxvt_cv_ptys=SCO |
11392 | else if test -c /dev/ptym/clone; then |
12081 | else if test -c /dev/ptym/clone; then |
11393 | rxvt_cv_ptys=HPUX |
12082 | 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 |
12083 | else if test -c /dev/ptc -a -c /dev/pts; then |
11397 | rxvt_cv_ptys=PTC |
12084 | rxvt_cv_ptys=PTC |
11398 | else if test -c /dev/ptc -a -d /dev/pts; then |
12085 | else if test -c /dev/ptc -a -d /dev/pts; then |
11399 | rxvt_cv_ptys=PTC |
12086 | rxvt_cv_ptys=PTC |
11400 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
12087 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
… | |
… | |
11410 | fi |
12097 | fi |
11411 | fi |
12098 | fi |
11412 | fi |
12099 | fi |
11413 | fi |
12100 | fi |
11414 | fi |
12101 | fi |
|
|
12102 | fi |
11415 | |
12103 | |
11416 | fi |
12104 | fi |
11417 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12105 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
11418 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12106 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
11419 | |
12107 | |
|
|
12108 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12109 | |
|
|
12110 | cat >>confdefs.h <<\_ACEOF |
|
|
12111 | #define PTYS_ARE_GETPT 1 |
|
|
12112 | _ACEOF |
|
|
12113 | |
|
|
12114 | fi |
|
|
12115 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12116 | |
|
|
12117 | cat >>confdefs.h <<\_ACEOF |
|
|
12118 | #define PTYS_ARE_POSIX 1 |
|
|
12119 | _ACEOF |
|
|
12120 | |
|
|
12121 | fi |
11420 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12122 | if test x$rxvt_cv_ptys = xOPENPTY; then |
11421 | |
12123 | |
11422 | cat >>confdefs.h <<\_ACEOF |
12124 | cat >>confdefs.h <<\_ACEOF |
11423 | #define PTYS_ARE_OPENPTY 1 |
12125 | #define PTYS_ARE_OPENPTY 1 |
11424 | _ACEOF |
12126 | _ACEOF |
… | |
… | |
11450 | cat >>confdefs.h <<\_ACEOF |
12152 | cat >>confdefs.h <<\_ACEOF |
11451 | #define PTYS_ARE__GETPTY 1 |
12153 | #define PTYS_ARE__GETPTY 1 |
11452 | _ACEOF |
12154 | _ACEOF |
11453 | |
12155 | |
11454 | fi |
12156 | 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 |
12157 | if test x$rxvt_cv_ptys = xHPUX; then |
11470 | |
12158 | |
11471 | cat >>confdefs.h <<\_ACEOF |
12159 | cat >>confdefs.h <<\_ACEOF |
11472 | #define PTYS_ARE_CLONE 1 |
12160 | #define PTYS_ARE_CLONE 1 |
11473 | _ACEOF |
12161 | _ACEOF |
11474 | |
12162 | |
11475 | fi |
12163 | fi |
11476 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
12164 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
11477 | |
12165 | |
11478 | cat >>confdefs.h <<\_ACEOF |
12166 | cat >>confdefs.h <<\_ACEOF |
11479 | #define PTYS_ARE_SEARCHED 1 |
12167 | #define PTYS_ARE_SEARCHED 1 |
11480 | _ACEOF |
12168 | _ACEOF |
11481 | |
12169 | |
… | |
… | |
11502 | |
12190 | |
11503 | fi |
12191 | fi |
11504 | |
12192 | |
11505 | if test x$support_xft = xyes; then |
12193 | if test x$support_xft = xyes; then |
11506 | LIBS="$LIBS `pkg-config xft --libs`" |
12194 | LIBS="$LIBS `pkg-config xft --libs`" |
11507 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
11508 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12195 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
11509 | |
12196 | |
11510 | |
12197 | |
11511 | for ac_header in X11/Xft/Xft.h |
12198 | for ac_header in X11/Xft/Xft.h |
11512 | do |
12199 | do |
… | |
… | |
11796 | cat >>confdefs.h <<\_ACEOF |
12483 | cat >>confdefs.h <<\_ACEOF |
11797 | #define SELECTION_SCROLLING 1 |
12484 | #define SELECTION_SCROLLING 1 |
11798 | _ACEOF |
12485 | _ACEOF |
11799 | |
12486 | |
11800 | fi |
12487 | 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 |
12488 | if test x$support_frills = xyes; then |
11809 | |
12489 | |
11810 | cat >>confdefs.h <<\_ACEOF |
12490 | cat >>confdefs.h <<\_ACEOF |
11811 | #define ENABLE_FRILLS 1 |
12491 | #define ENABLE_FRILLS 1 |
11812 | _ACEOF |
12492 | _ACEOF |
… | |
… | |
11904 | fi |
12584 | fi |
11905 | if test x$support_pointer_blank = xyes; then |
12585 | if test x$support_pointer_blank = xyes; then |
11906 | |
12586 | |
11907 | cat >>confdefs.h <<\_ACEOF |
12587 | cat >>confdefs.h <<\_ACEOF |
11908 | #define POINTER_BLANK 1 |
12588 | #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 |
12589 | _ACEOF |
11917 | |
12590 | |
11918 | fi |
12591 | fi |
11919 | if test x$support_text_blink = xyes; then |
12592 | if test x$support_text_blink = xyes; then |
11920 | |
12593 | |
… | |
… | |
11977 | #define ENCODING_ZH_EXT 1 |
12650 | #define ENCODING_ZH_EXT 1 |
11978 | _ACEOF |
12651 | _ACEOF |
11979 | ;; |
12652 | ;; |
11980 | esac |
12653 | esac |
11981 | done |
12654 | done |
|
|
12655 | |
|
|
12656 | IF_PERL=\# |
|
|
12657 | if test x$support_perl = xyes; then |
|
|
12658 | # Extract the first word of "perl5", so it can be a program name with args. |
|
|
12659 | set dummy perl5; ac_word=$2 |
|
|
12660 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12661 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12662 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12663 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12664 | else |
|
|
12665 | case $PERL in |
|
|
12666 | [\\/]* | ?:[\\/]*) |
|
|
12667 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12668 | ;; |
|
|
12669 | *) |
|
|
12670 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12671 | for as_dir in $PATH |
|
|
12672 | do |
|
|
12673 | IFS=$as_save_IFS |
|
|
12674 | test -z "$as_dir" && as_dir=. |
|
|
12675 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12676 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12677 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12678 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12679 | break 2 |
|
|
12680 | fi |
|
|
12681 | done |
|
|
12682 | done |
|
|
12683 | |
|
|
12684 | ;; |
|
|
12685 | esac |
|
|
12686 | fi |
|
|
12687 | PERL=$ac_cv_path_PERL |
|
|
12688 | |
|
|
12689 | if test -n "$PERL"; then |
|
|
12690 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12691 | echo "${ECHO_T}$PERL" >&6 |
|
|
12692 | else |
|
|
12693 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12694 | echo "${ECHO_T}no" >&6 |
|
|
12695 | fi |
|
|
12696 | |
|
|
12697 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
12698 | set dummy perl; ac_word=$2 |
|
|
12699 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12700 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12701 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12702 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12703 | else |
|
|
12704 | case $PERL in |
|
|
12705 | [\\/]* | ?:[\\/]*) |
|
|
12706 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12707 | ;; |
|
|
12708 | *) |
|
|
12709 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12710 | for as_dir in $PATH |
|
|
12711 | do |
|
|
12712 | IFS=$as_save_IFS |
|
|
12713 | test -z "$as_dir" && as_dir=. |
|
|
12714 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12715 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12716 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12717 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12718 | break 2 |
|
|
12719 | fi |
|
|
12720 | done |
|
|
12721 | done |
|
|
12722 | |
|
|
12723 | ;; |
|
|
12724 | esac |
|
|
12725 | fi |
|
|
12726 | PERL=$ac_cv_path_PERL |
|
|
12727 | |
|
|
12728 | if test -n "$PERL"; then |
|
|
12729 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12730 | echo "${ECHO_T}$PERL" >&6 |
|
|
12731 | else |
|
|
12732 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12733 | echo "${ECHO_T}no" >&6 |
|
|
12734 | fi |
|
|
12735 | |
|
|
12736 | |
|
|
12737 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
|
|
12738 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
|
|
12739 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
12740 | |
|
|
12741 | save_CXXFLAGS="$CXXFLAGS" |
|
|
12742 | save_LIBS="$LIBS" |
|
|
12743 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12744 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12745 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12746 | /* confdefs.h. */ |
|
|
12747 | _ACEOF |
|
|
12748 | cat confdefs.h >>conftest.$ac_ext |
|
|
12749 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12750 | /* end confdefs.h. */ |
|
|
12751 | |
|
|
12752 | #include <EXTERN.h> |
|
|
12753 | #include <perl.h> |
|
|
12754 | #include <XSUB.h> |
|
|
12755 | |
|
|
12756 | int |
|
|
12757 | main () |
|
|
12758 | { |
|
|
12759 | |
|
|
12760 | PerlInterpreter *perl = perl_alloc (); |
|
|
12761 | |
|
|
12762 | ; |
|
|
12763 | return 0; |
|
|
12764 | } |
|
|
12765 | _ACEOF |
|
|
12766 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12767 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12768 | (eval $ac_link) 2>conftest.er1 |
|
|
12769 | ac_status=$? |
|
|
12770 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12771 | rm -f conftest.er1 |
|
|
12772 | cat conftest.err >&5 |
|
|
12773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12774 | (exit $ac_status); } && |
|
|
12775 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12776 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12777 | (eval $ac_try) 2>&5 |
|
|
12778 | ac_status=$? |
|
|
12779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12780 | (exit $ac_status); }; } && |
|
|
12781 | { ac_try='test -s conftest$ac_exeext' |
|
|
12782 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12783 | (eval $ac_try) 2>&5 |
|
|
12784 | ac_status=$? |
|
|
12785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12786 | (exit $ac_status); }; }; then |
|
|
12787 | rxvt_perl_link=yes |
|
|
12788 | else |
|
|
12789 | echo "$as_me: failed program was:" >&5 |
|
|
12790 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12791 | |
|
|
12792 | rxvt_perl_link=no |
|
|
12793 | fi |
|
|
12794 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12795 | conftest$ac_exeext conftest.$ac_ext |
|
|
12796 | CXXFLAGS="$save_CXXFLAGS" |
|
|
12797 | LIBS="$save_LIBS" |
|
|
12798 | |
|
|
12799 | if test x$rxvt_perl_link = xyes; then |
|
|
12800 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
12801 | echo "${ECHO_T}ok" >&6 |
|
|
12802 | |
|
|
12803 | cat >>confdefs.h <<\_ACEOF |
|
|
12804 | #define ENABLE_PERL 1 |
|
|
12805 | _ACEOF |
|
|
12806 | |
|
|
12807 | IF_PERL= |
|
|
12808 | PERL_O=rxvtperl.o |
|
|
12809 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12810 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12811 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
12812 | else |
|
|
12813 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
|
|
12814 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
12815 | { (exit 1); exit 1; }; } |
|
|
12816 | fi |
|
|
12817 | else |
|
|
12818 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
|
|
12819 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
|
|
12820 | { (exit 1); exit 1; }; } |
|
|
12821 | fi |
|
|
12822 | fi |
|
|
12823 | |
|
|
12824 | |
|
|
12825 | |
|
|
12826 | |
|
|
12827 | |
|
|
12828 | |
|
|
12829 | |
|
|
12830 | if test x$support_perl = xyes; then |
|
|
12831 | support_frills=yes |
|
|
12832 | fi |
11982 | |
12833 | |
11983 | |
12834 | |
11984 | CFLAGS=${CFLAGS--O} |
12835 | CFLAGS=${CFLAGS--O} |
11985 | LDFLAGS=${LDFLAGS--O} |
12836 | LDFLAGS=${LDFLAGS--O} |
11986 | |
12837 | |
… | |
… | |
12000 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12851 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12001 | fi |
12852 | fi |
12002 | |
12853 | |
12003 | |
12854 | |
12004 | |
12855 | |
12005 | |
|
|
12006 | |
|
|
12007 | if test x$support_addstrings = xno; then |
|
|
12008 | |
|
|
12009 | cat >>confdefs.h <<\_ACEOF |
|
|
12010 | #define NO_STRINGS 1 |
|
|
12011 | _ACEOF |
|
|
12012 | |
|
|
12013 | fi |
|
|
12014 | |
|
|
12015 | MCOMMON=./autoconf/Make.common |
|
|
12016 | |
12856 | |
12017 | |
12857 | |
12018 | test "$program_prefix" != NONE && |
12858 | test "$program_prefix" != NONE && |
12019 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12859 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12020 | # Use a double $ so make ignores it. |
12860 | # Use a double $ so make ignores it. |
… | |
… | |
12096 | include_time_h="#include <time.h>" |
12936 | include_time_h="#include <time.h>" |
12097 | else |
12937 | else |
12098 | include_time_h="/* #include <time.h> */" |
12938 | include_time_h="/* #include <time.h> */" |
12099 | fi |
12939 | fi |
12100 | |
12940 | |
12101 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12941 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12102 | |
12942 | |
12103 | cat >confcache <<\_ACEOF |
12943 | cat >confcache <<\_ACEOF |
12104 | # This file is a shell script that caches the results of configure |
12944 | # 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 |
12945 | # tests run on this system so they can be shared between configure |
12106 | # scripts and configure runs, see configure's option --config-cache. |
12946 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
12623 | cat >>$CONFIG_STATUS <<\_ACEOF |
13463 | cat >>$CONFIG_STATUS <<\_ACEOF |
12624 | for ac_config_target in $ac_config_targets |
13464 | for ac_config_target in $ac_config_targets |
12625 | do |
13465 | do |
12626 | case "$ac_config_target" in |
13466 | case "$ac_config_target" in |
12627 | # Handling of arguments. |
13467 | # Handling of arguments. |
12628 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
12629 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13468 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12630 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13469 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12631 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13470 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12632 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13471 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
12633 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13472 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12634 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13473 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12635 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13474 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12636 | { (exit 1); exit 1; }; };; |
13475 | { (exit 1); exit 1; }; };; |
12637 | esac |
13476 | esac |
12638 | done |
13477 | done |
… | |
… | |
12739 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13578 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
12740 | s,@CPP@,$CPP,;t t |
13579 | s,@CPP@,$CPP,;t t |
12741 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13580 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
12742 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13581 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
12743 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13582 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
12744 | s,@AWK@,$AWK,;t t |
13583 | s,@EGREP@,$EGREP,;t t |
12745 | s,@LINKER@,$LINKER,;t t |
13584 | 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 |
13585 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
12749 | s,@RXVTNAME@,$RXVTNAME,;t t |
13586 | s,@RXVTNAME@,$RXVTNAME,;t t |
12750 | s,@MV@,$MV,;t t |
13587 | s,@MV@,$MV,;t t |
12751 | s,@RM@,$RM,;t t |
13588 | s,@RM@,$RM,;t t |
12752 | s,@CP@,$CP,;t t |
13589 | s,@CP@,$CP,;t t |
12753 | s,@LN@,$LN,;t t |
13590 | s,@LN@,$LN,;t t |
12754 | s,@SED@,$SED,;t t |
13591 | s,@SED@,$SED,;t t |
12755 | s,@ECHO@,$ECHO,;t t |
13592 | s,@ECHO@,$ECHO,;t t |
12756 | s,@CMP@,$CMP,;t t |
13593 | s,@CMP@,$CMP,;t t |
12757 | s,@TBL@,$TBL,;t t |
|
|
12758 | s,@TIC@,$TIC,;t t |
13594 | s,@TIC@,$TIC,;t t |
|
|
13595 | s,@CXXCPP@,$CXXCPP,;t t |
12759 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13596 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
12760 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13597 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
12761 | s,@X_LIBS@,$X_LIBS,;t t |
13598 | s,@X_LIBS@,$X_LIBS,;t t |
12762 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13599 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
12763 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
13600 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
… | |
… | |
12767 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13604 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
12768 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13605 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
12769 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13606 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
12770 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13607 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
12771 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13608 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
13609 | s,@PERL@,$PERL,;t t |
|
|
13610 | s,@PERLLIB@,$PERLLIB,;t t |
|
|
13611 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
|
|
13612 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
|
|
13613 | s,@IF_PERL@,$IF_PERL,;t t |
|
|
13614 | s,@PERL_O@,$PERL_O,;t t |
12772 | s,@DEBUG@,$DEBUG,;t t |
13615 | s,@DEBUG@,$DEBUG,;t t |
12773 | s,@DINCLUDE@,$DINCLUDE,;t t |
13616 | s,@DINCLUDE@,$DINCLUDE,;t t |
12774 | s,@DLIB@,$DLIB,;t t |
13617 | s,@DLIB@,$DLIB,;t t |
12775 | s,@include_stdint_h@,$include_stdint_h,;t t |
13618 | s,@include_stdint_h@,$include_stdint_h,;t t |
12776 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13619 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
… | |
… | |
12785 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13628 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
12786 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13629 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
12787 | s,@include_time_h@,$include_time_h,;t t |
13630 | s,@include_time_h@,$include_time_h,;t t |
12788 | s,@LIBOBJS@,$LIBOBJS,;t t |
13631 | s,@LIBOBJS@,$LIBOBJS,;t t |
12789 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13632 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
12790 | /@MCOMMON@/r $MCOMMON |
|
|
12791 | s,@MCOMMON@,,;t t |
|
|
12792 | CEOF |
13633 | CEOF |
12793 | |
13634 | |
12794 | _ACEOF |
13635 | _ACEOF |
12795 | |
13636 | |
12796 | cat >>$CONFIG_STATUS <<\_ACEOF |
13637 | cat >>$CONFIG_STATUS <<\_ACEOF |
… | |
… | |
13317 | utmp file: $rxvt_cv_path_utmp |
14158 | utmp file: $rxvt_cv_path_utmp |
13318 | utmpx file: $rxvt_cv_path_utmpx |
14159 | utmpx file: $rxvt_cv_path_utmpx |
13319 | wtmp file: $rxvt_cv_path_wtmp |
14160 | wtmp file: $rxvt_cv_path_wtmp |
13320 | wtmpx file: $rxvt_cv_path_wtmpx |
14161 | wtmpx file: $rxvt_cv_path_wtmpx |
13321 | lastlog file: $rxvt_cv_path_lastlog |
14162 | lastlog file: $rxvt_cv_path_lastlog |
13322 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
14163 | ttys/ttytab file: $rxvt_cv_path_ttytab |
|
|
14164 | embedded perl: $support_perl" |
13323 | echo |
14165 | echo |
13324 | fi |
14166 | fi |
13325 | if test x$term != x; then |
14167 | if test x$term != x; then |
13326 | echo " set TERM to: $term" |
14168 | echo " set TERM to: $term" |
13327 | fi |
14169 | fi |
… | |
… | |
13356 | echo ". functions could not be found. ." |
14198 | echo ". functions could not be found. ." |
13357 | echo ". XIM is now being DISABLED! ." |
14199 | echo ". XIM is now being DISABLED! ." |
13358 | echo ".----------------------------------------------------------------." |
14200 | echo ".----------------------------------------------------------------." |
13359 | fi |
14201 | fi |
13360 | |
14202 | |
13361 | echo " *** Please check src/feature.h for further options ***" |
14203 | echo " *** Optionally check src/feature.h for further options ***" |
13362 | echo |
14204 | echo |
13363 | |
14205 | |
13364 | echo ".----------------------------------------------------------------." |
14206 | echo ".----------------------------------------------------------------." |
13365 | echo ". NOTE: most features are disabled by default, try ." |
14207 | echo ". NOTE: some features are disabled by default, try ." |
13366 | echo ". configure --help to get an idea of the optional features ." |
14208 | echo ". configure --help to get an idea of the optional features, ." |
|
|
14209 | echo ". or read ./README.configure ." |
|
|
14210 | echo ". ." |
|
|
14211 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
14212 | echo ". you do not want to read documentation and still want some ." |
|
|
14213 | echo ". useful features. ." |
13367 | echo ".----------------------------------------------------------------." |
14214 | echo ".----------------------------------------------------------------." |
13368 | echo |
14215 | echo |
13369 | |
14216 | |