… | |
… | |
307 | #endif |
307 | #endif |
308 | #if HAVE_UNISTD_H |
308 | #if HAVE_UNISTD_H |
309 | # include <unistd.h> |
309 | # include <unistd.h> |
310 | #endif" |
310 | #endif" |
311 | |
311 | |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME 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 |
… | |
… | |
882 | --enable-rxvt-scroll enable rxvt style scrollbar |
882 | --enable-rxvt-scroll enable rxvt style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
885 | --enable-perl enable embedded perl interpreter |
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 |
… | |
… | |
1370 | |
1369 | |
1371 | |
1370 | |
1372 | |
1371 | |
1373 | |
1372 | |
1374 | |
1373 | |
|
|
1374 | |
|
|
1375 | ac_config_headers="$ac_config_headers config.h:config.h.in" |
|
|
1376 | |
|
|
1377 | |
1375 | ac_aux_dir= |
1378 | ac_aux_dir= |
1376 | for ac_dir in autoconf $srcdir/autoconf; do |
1379 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1377 | if test -f $ac_dir/install-sh; then |
1380 | if test -f $ac_dir/install-sh; then |
1378 | ac_aux_dir=$ac_dir |
1381 | ac_aux_dir=$ac_dir |
1379 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1382 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1380 | break |
1383 | break |
1381 | elif test -f $ac_dir/install.sh; then |
1384 | elif test -f $ac_dir/install.sh; then |
… | |
… | |
1387 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1390 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1388 | break |
1391 | break |
1389 | fi |
1392 | fi |
1390 | done |
1393 | done |
1391 | if test -z "$ac_aux_dir"; then |
1394 | if test -z "$ac_aux_dir"; then |
1392 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 |
1395 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1393 | echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} |
1396 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1394 | { (exit 1); exit 1; }; } |
1397 | { (exit 1); exit 1; }; } |
1395 | fi |
1398 | fi |
1396 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1399 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1397 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1400 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1398 | 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. |
1399 | |
|
|
1400 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
|
|
1401 | |
|
|
1402 | |
1402 | |
1403 | # Make sure we can run config.sub. |
1403 | # Make sure we can run config.sub. |
1404 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1404 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1405 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1405 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1406 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1406 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1458 | 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` |
1459 | 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` |
1460 | echo "" |
1460 | echo "" |
1461 | echo "configuring for rxvt $VERSION" |
1461 | echo "configuring for rxvt $VERSION" |
1462 | echo "" |
1462 | echo "" |
|
|
1463 | |
|
|
1464 | orig_CXXFLAGS="$CXXFLAGS" |
1463 | |
1465 | |
1464 | |
1466 | |
1465 | ac_ext=c |
1467 | ac_ext=c |
1466 | ac_cpp='$CPP $CPPFLAGS' |
1468 | ac_cpp='$CPP $CPPFLAGS' |
1467 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1469 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3048 | |
3050 | |
3049 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3051 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3050 | |
3052 | |
3051 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3053 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3052 | |
3054 | |
3053 | for ac_prog in gawk mawk nawk awk |
|
|
3054 | do |
|
|
3055 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3056 | set dummy $ac_prog; ac_word=$2 |
|
|
3057 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
3058 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
3059 | if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
3060 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3061 | else |
|
|
3062 | if test -n "$AWK"; then |
|
|
3063 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3064 | else |
|
|
3065 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3066 | for as_dir in $PATH |
|
|
3067 | do |
|
|
3068 | IFS=$as_save_IFS |
|
|
3069 | test -z "$as_dir" && as_dir=. |
|
|
3070 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3071 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3072 | ac_cv_prog_AWK="$ac_prog" |
|
|
3073 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3074 | break 2 |
|
|
3075 | fi |
|
|
3076 | done |
|
|
3077 | done |
|
|
3078 | |
3055 | |
3079 | fi |
|
|
3080 | fi |
|
|
3081 | AWK=$ac_cv_prog_AWK |
|
|
3082 | if test -n "$AWK"; then |
|
|
3083 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3084 | echo "${ECHO_T}$AWK" >&6 |
|
|
3085 | else |
|
|
3086 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3087 | echo "${ECHO_T}no" >&6 |
|
|
3088 | fi |
|
|
3089 | |
|
|
3090 | test -n "$AWK" && break |
|
|
3091 | done |
|
|
3092 | |
|
|
3093 | |
|
|
3094 | ac_ext=c |
|
|
3095 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3096 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3097 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3098 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3099 | |
|
|
3100 | |
|
|
3101 | if test -z "$orig_CXXFLAGS"; then |
|
|
3102 | CXXFLAGS='-O' |
|
|
3103 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3104 | CXXFLAGS="-g -O3" |
|
|
3105 | fi |
|
|
3106 | CFLAGS="$CXXFLAGS" |
|
|
3107 | fi |
|
|
3108 | |
|
|
3109 | LINKER="$CXX" |
|
|
3110 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3111 | |
|
|
3112 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
|
|
3113 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
|
|
3114 | if test "${ac_cv_lib_supcpp_main+set}" = set; then |
|
|
3115 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3116 | else |
|
|
3117 | ac_check_lib_save_LIBS=$LIBS |
|
|
3118 | LIBS="-lsupc++ $LIBS" |
|
|
3119 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3120 | /* confdefs.h. */ |
|
|
3121 | _ACEOF |
|
|
3122 | cat confdefs.h >>conftest.$ac_ext |
|
|
3123 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3124 | /* end confdefs.h. */ |
|
|
3125 | |
|
|
3126 | |
|
|
3127 | int |
|
|
3128 | main () |
|
|
3129 | { |
|
|
3130 | main (); |
|
|
3131 | ; |
|
|
3132 | return 0; |
|
|
3133 | } |
|
|
3134 | _ACEOF |
|
|
3135 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3136 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3137 | (eval $ac_link) 2>conftest.er1 |
|
|
3138 | ac_status=$? |
|
|
3139 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3140 | rm -f conftest.er1 |
|
|
3141 | cat conftest.err >&5 |
|
|
3142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3143 | (exit $ac_status); } && |
|
|
3144 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3145 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3146 | (eval $ac_try) 2>&5 |
|
|
3147 | ac_status=$? |
|
|
3148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3149 | (exit $ac_status); }; } && |
|
|
3150 | { ac_try='test -s conftest$ac_exeext' |
|
|
3151 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3152 | (eval $ac_try) 2>&5 |
|
|
3153 | ac_status=$? |
|
|
3154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3155 | (exit $ac_status); }; }; then |
|
|
3156 | ac_cv_lib_supcpp_main=yes |
|
|
3157 | else |
|
|
3158 | echo "$as_me: failed program was:" >&5 |
|
|
3159 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3160 | |
|
|
3161 | ac_cv_lib_supcpp_main=no |
|
|
3162 | fi |
|
|
3163 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3164 | conftest$ac_exeext conftest.$ac_ext |
|
|
3165 | LIBS=$ac_check_lib_save_LIBS |
|
|
3166 | fi |
|
|
3167 | echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5 |
|
|
3168 | echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6 |
|
|
3169 | if test $ac_cv_lib_supcpp_main = yes; then |
|
|
3170 | |
|
|
3171 | LINKER="$CC" |
|
|
3172 | LIBS="$LIBS -lsupc++" |
|
|
3173 | |
|
|
3174 | fi |
|
|
3175 | |
|
|
3176 | fi |
|
|
3177 | LINKER=$LINKER |
|
|
3178 | |
|
|
3179 | |
|
|
3180 | |
|
|
3181 | cat >>confdefs.h <<\_ACEOF |
|
|
3182 | #define _GNU_SOURCE 1 |
|
|
3183 | _ACEOF |
|
|
3184 | |
|
|
3185 | |
|
|
3186 | case $host in |
|
|
3187 | *-*-solaris* ) |
|
|
3188 | |
|
|
3189 | cat >>confdefs.h <<\_ACEOF |
|
|
3190 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3191 | _ACEOF |
|
|
3192 | |
|
|
3193 | |
|
|
3194 | cat >>confdefs.h <<\_ACEOF |
|
|
3195 | #define _XOPEN_SOURCE 2 |
|
|
3196 | _ACEOF |
|
|
3197 | |
|
|
3198 | |
|
|
3199 | cat >>confdefs.h <<\_ACEOF |
|
|
3200 | #define __EXTENSIONS__ 1 |
|
|
3201 | _ACEOF |
|
|
3202 | |
|
|
3203 | ;; |
|
|
3204 | esac |
|
|
3205 | |
|
|
3206 | |
|
|
3207 | ac_ext=cc |
|
|
3208 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3209 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3210 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3211 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3212 | |
|
|
3213 | |
|
|
3214 | |
|
|
3215 | ac_ext=cc |
|
|
3216 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3217 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3218 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3219 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3220 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
3221 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
3222 | if test -z "$CXXCPP"; then |
|
|
3223 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
3224 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3225 | else |
|
|
3226 | # Double quotes because CXXCPP needs to be expanded |
|
|
3227 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
3228 | do |
|
|
3229 | ac_preproc_ok=false |
|
|
3230 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3231 | do |
|
|
3232 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3233 | # with a fresh cross-compiler works. |
|
|
3234 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3235 | # <limits.h> exists even on freestanding compilers. |
|
|
3236 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3237 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3238 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3239 | /* confdefs.h. */ |
|
|
3240 | _ACEOF |
|
|
3241 | cat confdefs.h >>conftest.$ac_ext |
|
|
3242 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3243 | /* end confdefs.h. */ |
|
|
3244 | #ifdef __STDC__ |
|
|
3245 | # include <limits.h> |
|
|
3246 | #else |
|
|
3247 | # include <assert.h> |
|
|
3248 | #endif |
|
|
3249 | Syntax error |
|
|
3250 | _ACEOF |
|
|
3251 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3252 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3253 | ac_status=$? |
|
|
3254 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3255 | rm -f conftest.er1 |
|
|
3256 | cat conftest.err >&5 |
|
|
3257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3258 | (exit $ac_status); } >/dev/null; then |
|
|
3259 | if test -s conftest.err; then |
|
|
3260 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3261 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3262 | else |
|
|
3263 | ac_cpp_err= |
|
|
3264 | fi |
|
|
3265 | else |
|
|
3266 | ac_cpp_err=yes |
|
|
3267 | fi |
|
|
3268 | if test -z "$ac_cpp_err"; then |
|
|
3269 | : |
|
|
3270 | else |
|
|
3271 | echo "$as_me: failed program was:" >&5 |
|
|
3272 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3273 | |
|
|
3274 | # Broken: fails on valid input. |
|
|
3275 | continue |
|
|
3276 | fi |
|
|
3277 | rm -f conftest.err conftest.$ac_ext |
|
|
3278 | |
|
|
3279 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3280 | # can be detected and how. |
|
|
3281 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3282 | /* confdefs.h. */ |
|
|
3283 | _ACEOF |
|
|
3284 | cat confdefs.h >>conftest.$ac_ext |
|
|
3285 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3286 | /* end confdefs.h. */ |
|
|
3287 | #include <ac_nonexistent.h> |
|
|
3288 | _ACEOF |
|
|
3289 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3290 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3291 | ac_status=$? |
|
|
3292 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3293 | rm -f conftest.er1 |
|
|
3294 | cat conftest.err >&5 |
|
|
3295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3296 | (exit $ac_status); } >/dev/null; then |
|
|
3297 | if test -s conftest.err; then |
|
|
3298 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3299 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3300 | else |
|
|
3301 | ac_cpp_err= |
|
|
3302 | fi |
|
|
3303 | else |
|
|
3304 | ac_cpp_err=yes |
|
|
3305 | fi |
|
|
3306 | if test -z "$ac_cpp_err"; then |
|
|
3307 | # Broken: success on invalid input. |
|
|
3308 | continue |
|
|
3309 | else |
|
|
3310 | echo "$as_me: failed program was:" >&5 |
|
|
3311 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3312 | |
|
|
3313 | # Passes both tests. |
|
|
3314 | ac_preproc_ok=: |
|
|
3315 | break |
|
|
3316 | fi |
|
|
3317 | rm -f conftest.err conftest.$ac_ext |
|
|
3318 | |
|
|
3319 | done |
|
|
3320 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3321 | rm -f conftest.err conftest.$ac_ext |
|
|
3322 | if $ac_preproc_ok; then |
|
|
3323 | break |
|
|
3324 | fi |
|
|
3325 | |
|
|
3326 | done |
|
|
3327 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3328 | |
|
|
3329 | fi |
|
|
3330 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
3331 | else |
|
|
3332 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3333 | fi |
|
|
3334 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
3335 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
3336 | ac_preproc_ok=false |
|
|
3337 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3338 | do |
|
|
3339 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3340 | # with a fresh cross-compiler works. |
|
|
3341 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3342 | # <limits.h> exists even on freestanding compilers. |
|
|
3343 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3344 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3345 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3346 | /* confdefs.h. */ |
|
|
3347 | _ACEOF |
|
|
3348 | cat confdefs.h >>conftest.$ac_ext |
|
|
3349 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3350 | /* end confdefs.h. */ |
|
|
3351 | #ifdef __STDC__ |
|
|
3352 | # include <limits.h> |
|
|
3353 | #else |
|
|
3354 | # include <assert.h> |
|
|
3355 | #endif |
|
|
3356 | Syntax error |
|
|
3357 | _ACEOF |
|
|
3358 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3359 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3360 | ac_status=$? |
|
|
3361 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3362 | rm -f conftest.er1 |
|
|
3363 | cat conftest.err >&5 |
|
|
3364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3365 | (exit $ac_status); } >/dev/null; then |
|
|
3366 | if test -s conftest.err; then |
|
|
3367 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3368 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3369 | else |
|
|
3370 | ac_cpp_err= |
|
|
3371 | fi |
|
|
3372 | else |
|
|
3373 | ac_cpp_err=yes |
|
|
3374 | fi |
|
|
3375 | if test -z "$ac_cpp_err"; then |
|
|
3376 | : |
|
|
3377 | else |
|
|
3378 | echo "$as_me: failed program was:" >&5 |
|
|
3379 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3380 | |
|
|
3381 | # Broken: fails on valid input. |
|
|
3382 | continue |
|
|
3383 | fi |
|
|
3384 | rm -f conftest.err conftest.$ac_ext |
|
|
3385 | |
|
|
3386 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3387 | # can be detected and how. |
|
|
3388 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3389 | /* confdefs.h. */ |
|
|
3390 | _ACEOF |
|
|
3391 | cat confdefs.h >>conftest.$ac_ext |
|
|
3392 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3393 | /* end confdefs.h. */ |
|
|
3394 | #include <ac_nonexistent.h> |
|
|
3395 | _ACEOF |
|
|
3396 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3397 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3398 | ac_status=$? |
|
|
3399 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3400 | rm -f conftest.er1 |
|
|
3401 | cat conftest.err >&5 |
|
|
3402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3403 | (exit $ac_status); } >/dev/null; then |
|
|
3404 | if test -s conftest.err; then |
|
|
3405 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3406 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3407 | else |
|
|
3408 | ac_cpp_err= |
|
|
3409 | fi |
|
|
3410 | else |
|
|
3411 | ac_cpp_err=yes |
|
|
3412 | fi |
|
|
3413 | if test -z "$ac_cpp_err"; then |
|
|
3414 | # Broken: success on invalid input. |
|
|
3415 | continue |
|
|
3416 | else |
|
|
3417 | echo "$as_me: failed program was:" >&5 |
|
|
3418 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3419 | |
|
|
3420 | # Passes both tests. |
|
|
3421 | ac_preproc_ok=: |
|
|
3422 | break |
|
|
3423 | fi |
|
|
3424 | rm -f conftest.err conftest.$ac_ext |
|
|
3425 | |
|
|
3426 | done |
|
|
3427 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3428 | rm -f conftest.err conftest.$ac_ext |
|
|
3429 | if $ac_preproc_ok; then |
|
|
3430 | : |
|
|
3431 | else |
|
|
3432 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3433 | See \`config.log' for more details." >&5 |
|
|
3434 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3435 | See \`config.log' for more details." >&2;} |
|
|
3436 | { (exit 1); exit 1; }; } |
|
|
3437 | fi |
|
|
3438 | |
|
|
3439 | ac_ext=cc |
|
|
3440 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3441 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3442 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3443 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3444 | |
3056 | |
3445 | |
3057 | |
3446 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3058 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3447 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3059 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3448 | if test "${ac_cv_prog_egrep+set}" = set; then |
3060 | if test "${ac_cv_prog_egrep+set}" = set; then |
… | |
… | |
3523 | grep -v '^ *+' conftest.er1 >conftest.err |
3135 | grep -v '^ *+' conftest.er1 >conftest.err |
3524 | rm -f conftest.er1 |
3136 | rm -f conftest.er1 |
3525 | cat conftest.err >&5 |
3137 | cat conftest.err >&5 |
3526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3527 | (exit $ac_status); } && |
3139 | (exit $ac_status); } && |
3528 | { 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' |
3529 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3530 | (eval $ac_try) 2>&5 |
3142 | (eval $ac_try) 2>&5 |
3531 | ac_status=$? |
3143 | ac_status=$? |
3532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3533 | (exit $ac_status); }; } && |
3145 | (exit $ac_status); }; } && |
… | |
… | |
3577 | grep -v '^ *+' conftest.er1 >conftest.err |
3189 | grep -v '^ *+' conftest.er1 >conftest.err |
3578 | rm -f conftest.er1 |
3190 | rm -f conftest.er1 |
3579 | cat conftest.err >&5 |
3191 | cat conftest.err >&5 |
3580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3581 | (exit $ac_status); } && |
3193 | (exit $ac_status); } && |
3582 | { 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' |
3583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3195 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3584 | (eval $ac_try) 2>&5 |
3196 | (eval $ac_try) 2>&5 |
3585 | ac_status=$? |
3197 | ac_status=$? |
3586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3587 | (exit $ac_status); }; } && |
3199 | (exit $ac_status); }; } && |
… | |
… | |
3608 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3220 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3609 | if test "$ac_cv_search_strerror" != no; then |
3221 | if test "$ac_cv_search_strerror" != no; then |
3610 | 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" |
3611 | |
3223 | |
3612 | fi |
3224 | fi |
|
|
3225 | |
|
|
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 |
3613 | |
3377 | |
3614 | |
3378 | |
3615 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
3379 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
3616 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
3380 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
3617 | if test "${ac_cv_func_setlocale+set}" = set; then |
3381 | if test "${ac_cv_func_setlocale+set}" = set; then |
… | |
… | |
4549 | if test x$enableval = xyes -o x$enableval = xno; then |
4313 | if test x$enableval = xyes -o x$enableval = xno; then |
4550 | support_scroll_plain=$enableval |
4314 | support_scroll_plain=$enableval |
4551 | fi |
4315 | fi |
4552 | fi; |
4316 | fi; |
4553 | |
4317 | |
4554 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
4555 | if test "${enable_half_shadow+set}" = set; then |
|
|
4556 | enableval="$enable_half_shadow" |
|
|
4557 | if test x$enableval = xyes; then |
|
|
4558 | |
|
|
4559 | cat >>confdefs.h <<\_ACEOF |
|
|
4560 | #define HALFSHADOW 1 |
|
|
4561 | _ACEOF |
|
|
4562 | |
|
|
4563 | fi |
|
|
4564 | fi; |
|
|
4565 | |
4318 | |
4566 | |
4319 | |
4567 | # Check whether --with-codesets or --without-codesets was given. |
4320 | # Check whether --with-codesets or --without-codesets was given. |
4568 | if test "${with_codesets+set}" = set; then |
4321 | if test "${with_codesets+set}" = set; then |
4569 | withval="$with_codesets" |
4322 | withval="$with_codesets" |
… | |
… | |
4836 | #define RXVT_TERMINFO "$withval" |
4589 | #define RXVT_TERMINFO "$withval" |
4837 | _ACEOF |
4590 | _ACEOF |
4838 | terminfo="$withval" |
4591 | terminfo="$withval" |
4839 | fi |
4592 | fi |
4840 | fi; |
4593 | fi; |
4841 | |
|
|
4842 | |
|
|
4843 | |
|
|
4844 | cat >>confdefs.h <<\_ACEOF |
|
|
4845 | #define PROTOTYPES 1 |
|
|
4846 | _ACEOF |
|
|
4847 | |
4594 | |
4848 | |
4595 | |
4849 | # 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. |
4850 | set dummy mv; ac_word=$2 |
4597 | set dummy mv; ac_word=$2 |
4851 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4598 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
5124 | else |
4871 | else |
5125 | echo "$as_me:$LINENO: result: no" >&5 |
4872 | echo "$as_me:$LINENO: result: no" >&5 |
5126 | echo "${ECHO_T}no" >&6 |
4873 | echo "${ECHO_T}no" >&6 |
5127 | fi |
4874 | fi |
5128 | |
4875 | |
5129 | # Extract the first word of "tbl", so it can be a program name with args. |
|
|
5130 | set dummy tbl; ac_word=$2 |
|
|
5131 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5132 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5133 | if test "${ac_cv_path_TBL+set}" = set; then |
|
|
5134 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5135 | else |
|
|
5136 | case $TBL in |
|
|
5137 | [\\/]* | ?:[\\/]*) |
|
|
5138 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
|
|
5139 | ;; |
|
|
5140 | *) |
|
|
5141 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5142 | for as_dir in $PATH |
|
|
5143 | do |
|
|
5144 | IFS=$as_save_IFS |
|
|
5145 | test -z "$as_dir" && as_dir=. |
|
|
5146 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5147 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5148 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
5149 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5150 | break 2 |
|
|
5151 | fi |
|
|
5152 | done |
|
|
5153 | done |
|
|
5154 | |
|
|
5155 | ;; |
|
|
5156 | esac |
|
|
5157 | fi |
|
|
5158 | TBL=$ac_cv_path_TBL |
|
|
5159 | |
|
|
5160 | if test -n "$TBL"; then |
|
|
5161 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
5162 | echo "${ECHO_T}$TBL" >&6 |
|
|
5163 | else |
|
|
5164 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5165 | echo "${ECHO_T}no" >&6 |
|
|
5166 | fi |
|
|
5167 | |
|
|
5168 | # 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. |
5169 | set dummy tic; ac_word=$2 |
4877 | set dummy tic; ac_word=$2 |
5170 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4878 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5171 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4879 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5172 | if test "${ac_cv_path_TIC+set}" = set; then |
4880 | if test "${ac_cv_path_TIC+set}" = set; then |
… | |
… | |
5203 | echo "$as_me:$LINENO: result: no" >&5 |
4911 | echo "$as_me:$LINENO: result: no" >&5 |
5204 | echo "${ECHO_T}no" >&6 |
4912 | echo "${ECHO_T}no" >&6 |
5205 | fi |
4913 | fi |
5206 | |
4914 | |
5207 | |
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 |
5208 | |
5147 | |
5209 | |
5148 | |
5210 | |
5149 | |
5211 | if test "x$ac_path_x_has_been_run" != xyes; then |
5150 | if test "x$ac_path_x_has_been_run" != xyes; then |
5212 | echo "$as_me:$LINENO: checking for X" >&5 |
5151 | echo "$as_me:$LINENO: checking for X" >&5 |
… | |
… | |
10138 | #define RETSIGTYPE $ac_cv_type_signal |
10077 | #define RETSIGTYPE $ac_cv_type_signal |
10139 | _ACEOF |
10078 | _ACEOF |
10140 | |
10079 | |
10141 | |
10080 | |
10142 | |
10081 | |
10143 | case "$host_alias" in |
|
|
10144 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
10145 | *) break;; |
|
|
10146 | esac |
|
|
10147 | |
|
|
10148 | |
|
|
10149 | |
|
|
10150 | |
10082 | |
10151 | |
10083 | |
10152 | |
10084 | |
10153 | |
10085 | |
10154 | |
10086 | |
… | |
… | |
10163 | |
10095 | |
10164 | |
10096 | |
10165 | |
10097 | |
10166 | |
10098 | |
10167 | for ac_func in \ |
10099 | for ac_func in \ |
10168 | atexit \ |
|
|
10169 | revoke \ |
10100 | revoke \ |
10170 | unsetenv \ |
10101 | unsetenv \ |
10171 | setutent \ |
10102 | setutent \ |
10172 | seteuid \ |
10103 | seteuid \ |
|
|
10104 | setresuid \ |
10173 | setreuid \ |
10105 | setreuid \ |
10174 | setsid \ |
|
|
10175 | setpgrp \ |
|
|
10176 | setpgid \ |
|
|
10177 | _getpty \ |
10106 | _getpty \ |
|
|
10107 | getpt \ |
10178 | posix_openpt \ |
10108 | posix_openpt \ |
10179 | grantpt \ |
10109 | grantpt \ |
10180 | unlockpt \ |
10110 | unlockpt \ |
10181 | isastream \ |
10111 | isastream \ |
10182 | on_exit \ |
10112 | on_exit \ |
… | |
… | |
10433 | _ACEOF |
10363 | _ACEOF |
10434 | cat confdefs.h >>conftest.$ac_ext |
10364 | cat confdefs.h >>conftest.$ac_ext |
10435 | cat >>conftest.$ac_ext <<_ACEOF |
10365 | cat >>conftest.$ac_ext <<_ACEOF |
10436 | /* end confdefs.h. */ |
10366 | /* end confdefs.h. */ |
10437 | #include <sys/types.h> |
10367 | #include <sys/types.h> |
10438 | #include <stdint.h> |
|
|
10439 | #include <utmp.h> |
10368 | #include <utmp.h> |
10440 | int |
10369 | int |
10441 | main () |
10370 | main () |
10442 | { |
10371 | { |
10443 | struct utmp ut; |
10372 | struct utmp ut; |
… | |
… | |
11904 | |
11833 | |
11905 | cat >>confdefs.h <<\_ACEOF |
11834 | cat >>confdefs.h <<\_ACEOF |
11906 | #define HAVE_UNIX_FDPASS 1 |
11835 | #define HAVE_UNIX_FDPASS 1 |
11907 | _ACEOF |
11836 | _ACEOF |
11908 | |
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; }; } |
11909 | fi |
11842 | fi |
11910 | |
11843 | |
11911 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11844 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11912 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11845 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11913 | if test "${rxvt_broken_ximcb+set}" = set; then |
11846 | if test "${rxvt_broken_ximcb+set}" = set; then |
… | |
… | |
11964 | #define XIMCB_PROTO_BROKEN 1 |
11897 | #define XIMCB_PROTO_BROKEN 1 |
11965 | _ACEOF |
11898 | _ACEOF |
11966 | |
11899 | |
11967 | fi |
11900 | fi |
11968 | |
11901 | |
11969 | if test x$ac_cv_func_posix_openpt = xno; then |
11902 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
11970 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11903 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11971 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11904 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11972 | if test "${ac_cv_func_openpty+set}" = set; then |
11905 | if test "${ac_cv_func_openpty+set}" = set; then |
11973 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11906 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11974 | else |
11907 | else |
… | |
… | |
12135 | if test "${rxvt_cv_ptys+set}" = set; then |
12068 | if test "${rxvt_cv_ptys+set}" = set; then |
12136 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12069 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12137 | else |
12070 | else |
12138 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12071 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12139 | 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 |
12140 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12075 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12141 | rxvt_cv_ptys=POSIX |
12076 | rxvt_cv_ptys=POSIX |
12142 | else if test x$ac_cv_func__getpty = xyes; then |
12077 | else if test x$ac_cv_func__getpty = xyes; then |
12143 | rxvt_cv_ptys=SGI4 |
12078 | rxvt_cv_ptys=SGI4 |
12144 | else if test -c /dev/ttyp20; then |
12079 | else if test -c /dev/ttyp20; then |
… | |
… | |
12162 | fi |
12097 | fi |
12163 | fi |
12098 | fi |
12164 | fi |
12099 | fi |
12165 | fi |
12100 | fi |
12166 | fi |
12101 | fi |
|
|
12102 | fi |
12167 | |
12103 | |
12168 | fi |
12104 | fi |
12169 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12105 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12170 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12106 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12171 | |
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 |
12172 | if test x$rxvt_cv_ptys = xPOSIX; then |
12115 | if test x$rxvt_cv_ptys = xPOSIX; then |
12173 | |
12116 | |
12174 | cat >>confdefs.h <<\_ACEOF |
12117 | cat >>confdefs.h <<\_ACEOF |
12175 | #define PTYS_ARE_POSIX 1 |
12118 | #define PTYS_ARE_POSIX 1 |
12176 | _ACEOF |
12119 | _ACEOF |
… | |
… | |
12865 | PERL_O=rxvtperl.o |
12808 | PERL_O=rxvtperl.o |
12866 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12809 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12867 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12810 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12868 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12811 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12869 | else |
12812 | else |
12870 | support_perl=no |
|
|
12871 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
12813 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
12872 | echo "${ECHO_T}no, unable to link" >&6 |
12814 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
12815 | { (exit 1); exit 1; }; } |
12873 | fi |
12816 | fi |
12874 | else |
12817 | else |
12875 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
12818 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
12876 | echo "$as_me: error: no working perl found" >&2;} |
12819 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
12877 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
12820 | { (exit 1); exit 1; }; } |
12878 | support_perl=no |
|
|
12879 | fi |
12821 | fi |
12880 | fi |
12822 | fi |
12881 | |
12823 | |
12882 | |
12824 | |
12883 | |
12825 | |
… | |
… | |
12909 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12851 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12910 | fi |
12852 | fi |
12911 | |
12853 | |
12912 | |
12854 | |
12913 | |
12855 | |
12914 | |
|
|
12915 | |
|
|
12916 | MCOMMON=./autoconf/Make.common |
|
|
12917 | |
12856 | |
12918 | |
12857 | |
12919 | test "$program_prefix" != NONE && |
12858 | test "$program_prefix" != NONE && |
12920 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12859 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12921 | # Use a double $ so make ignores it. |
12860 | # Use a double $ so make ignores it. |
… | |
… | |
12997 | include_time_h="#include <time.h>" |
12936 | include_time_h="#include <time.h>" |
12998 | else |
12937 | else |
12999 | include_time_h="/* #include <time.h> */" |
12938 | include_time_h="/* #include <time.h> */" |
13000 | fi |
12939 | fi |
13001 | |
12940 | |
13002 | 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" |
13003 | |
12942 | |
13004 | cat >confcache <<\_ACEOF |
12943 | cat >confcache <<\_ACEOF |
13005 | # 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 |
13006 | # 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 |
13007 | # scripts and configure runs, see configure's option --config-cache. |
12946 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13524 | cat >>$CONFIG_STATUS <<\_ACEOF |
13463 | cat >>$CONFIG_STATUS <<\_ACEOF |
13525 | for ac_config_target in $ac_config_targets |
13464 | for ac_config_target in $ac_config_targets |
13526 | do |
13465 | do |
13527 | case "$ac_config_target" in |
13466 | case "$ac_config_target" in |
13528 | # Handling of arguments. |
13467 | # Handling of arguments. |
13529 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13530 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13468 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13531 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13469 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13532 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13470 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13533 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13471 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13534 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13472 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
13535 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13473 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13536 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13474 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13537 | { (exit 1); exit 1; }; };; |
13475 | { (exit 1); exit 1; }; };; |
13538 | esac |
13476 | esac |
13539 | done |
13477 | done |
… | |
… | |
13640 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13578 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13641 | s,@CPP@,$CPP,;t t |
13579 | s,@CPP@,$CPP,;t t |
13642 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13580 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13643 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13581 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13644 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13582 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13645 | s,@AWK@,$AWK,;t t |
13583 | s,@EGREP@,$EGREP,;t t |
13646 | s,@LINKER@,$LINKER,;t t |
13584 | s,@LINKER@,$LINKER,;t t |
13647 | s,@CXXCPP@,$CXXCPP,;t t |
|
|
13648 | s,@EGREP@,$EGREP,;t t |
|
|
13649 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13585 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13650 | s,@RXVTNAME@,$RXVTNAME,;t t |
13586 | s,@RXVTNAME@,$RXVTNAME,;t t |
13651 | s,@MV@,$MV,;t t |
13587 | s,@MV@,$MV,;t t |
13652 | s,@RM@,$RM,;t t |
13588 | s,@RM@,$RM,;t t |
13653 | s,@CP@,$CP,;t t |
13589 | s,@CP@,$CP,;t t |
13654 | s,@LN@,$LN,;t t |
13590 | s,@LN@,$LN,;t t |
13655 | s,@SED@,$SED,;t t |
13591 | s,@SED@,$SED,;t t |
13656 | s,@ECHO@,$ECHO,;t t |
13592 | s,@ECHO@,$ECHO,;t t |
13657 | s,@CMP@,$CMP,;t t |
13593 | s,@CMP@,$CMP,;t t |
13658 | s,@TBL@,$TBL,;t t |
|
|
13659 | s,@TIC@,$TIC,;t t |
13594 | s,@TIC@,$TIC,;t t |
|
|
13595 | s,@CXXCPP@,$CXXCPP,;t t |
13660 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13596 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13661 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13597 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13662 | s,@X_LIBS@,$X_LIBS,;t t |
13598 | s,@X_LIBS@,$X_LIBS,;t t |
13663 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13599 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13664 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
13600 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
… | |
… | |
13692 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13628 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13693 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13629 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13694 | s,@include_time_h@,$include_time_h,;t t |
13630 | s,@include_time_h@,$include_time_h,;t t |
13695 | s,@LIBOBJS@,$LIBOBJS,;t t |
13631 | s,@LIBOBJS@,$LIBOBJS,;t t |
13696 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13632 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13697 | /@MCOMMON@/r $MCOMMON |
|
|
13698 | s,@MCOMMON@,,;t t |
|
|
13699 | CEOF |
13633 | CEOF |
13700 | |
13634 | |
13701 | _ACEOF |
13635 | _ACEOF |
13702 | |
13636 | |
13703 | cat >>$CONFIG_STATUS <<\_ACEOF |
13637 | cat >>$CONFIG_STATUS <<\_ACEOF |