ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.11 by pcg, Wed Feb 25 12:03:46 2004 UTC vs.
Revision 1.42 by root, Wed Dec 1 02:33:32 2004 UTC

465#endif 465#endif
466#if HAVE_UNISTD_H 466#if HAVE_UNISTD_H
467# include <unistd.h> 467# include <unistd.h>
468#endif" 468#endif"
469 469
470ac_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 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 EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT MV RM CP LN SED CMP TBL 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 RXVTNAME 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' 470ac_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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED 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'
471ac_subst_files='MCOMMON' 471ac_subst_files='MCOMMON'
472 472
473# Initialize some variables set by options. 473# Initialize some variables set by options.
474ac_init_help= 474ac_init_help=
475ac_init_version=false 475ac_init_version=false
934ac_cv_env_CXXFLAGS_value=$CXXFLAGS 934ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935ac_env_CPP_set=${CPP+set} 935ac_env_CPP_set=${CPP+set}
936ac_env_CPP_value=$CPP 936ac_env_CPP_value=$CPP
937ac_cv_env_CPP_set=${CPP+set} 937ac_cv_env_CPP_set=${CPP+set}
938ac_cv_env_CPP_value=$CPP 938ac_cv_env_CPP_value=$CPP
939ac_env_CXXCPP_set=${CXXCPP+set}
940ac_env_CXXCPP_value=$CXXCPP
941ac_cv_env_CXXCPP_set=${CXXCPP+set}
942ac_cv_env_CXXCPP_value=$CXXCPP
939 943
940# 944#
941# Report the --help message. 945# Report the --help message.
942# 946#
943if test "$ac_init_help" = "long"; then 947if test "$ac_init_help" = "long"; then
1021 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1025 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1022 --enable-shared=PKGS build shared libraries default=no 1026 --enable-shared=PKGS build shared libraries default=no
1023 --enable-static=PKGS build static libraries default=yes 1027 --enable-static=PKGS build static libraries default=yes
1024 --enable-fast-install=PKGS optimize for fast installation default=yes 1028 --enable-fast-install=PKGS optimize for fast installation default=yes
1025 --disable-libtool-lock avoid locking (might break parallel builds) 1029 --disable-libtool-lock avoid locking (might break parallel builds)
1026 --enable-everything enable standard non-multichoice features: marked * 1030 --enable-everything enable standard non-multichoice features
1027 NOTE: this option is order dependent 1031 NOTE: this option is order dependent
1028 NOTE: automatically enabled with --enable-shared 1032 NOTE: automatically enabled with --enable-shared
1029 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1034 --enable-combining enable composition of base and combining characters
1030 --enable-xft enable xft support on systems that have it 1035 --enable-xft enable xft support on systems that have it
1036 --enable-font-styles enable bold and italic support
1031 --enable-utmp enable utmp (utmpx) support 1037 --enable-utmp enable utmp (utmpx) support
1032 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1038 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1033 --enable-lastlog enable lastlog support (requires --enable-utmp) 1039 --enable-lastlog enable lastlog support (requires --enable-utmp)
1034 --enable-xpm-background enable XPM background pixmaps 1040 --enable-xpm-background enable XPM background pixmaps
1035 --enable-transparency enable transparent backgrounds 1041 --enable-transparency enable transparent backgrounds
1042 --enable-tinting enable tinting of transparent bg
1043 --enable-fading enable colors fading when off focus
1036 --enable-menubar enable menubar 1044 --enable-menubar enable menubar
1037 --enable-rxvt-scroll enable rxvt style scrollbar 1045 --enable-rxvt-scroll enable rxvt style scrollbar
1038 --enable-next-scroll enable NeXT style scrollbar 1046 --enable-next-scroll enable NeXT style scrollbar
1039 --enable-xterm-scroll enable Xterm style scrollbar 1047 --enable-xterm-scroll enable Xterm style scrollbar
1040 --enable-plain-scroll enable plain style scrollbar 1048 --enable-plain-scroll enable plain style scrollbar
1043 --enable-ttygid enable tty setting to group named "tty" 1051 --enable-ttygid enable tty setting to group named "tty"
1044 --disable-backspace-key disable handling of the backspace key 1052 --disable-backspace-key disable handling of the backspace key
1045 --disable-delete-key disable handling of the delete key 1053 --disable-delete-key disable handling of the delete key
1046 --disable-resources disable all resource checking 1054 --disable-resources disable all resource checking
1047 --enable-xgetdefault enable resources via X instead of our small version 1055 --enable-xgetdefault enable resources via X instead of our small version
1056 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1057 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1048 --enable-strings enable some replacement system functions 1058 --enable-strings enable some replacement system functions
1049 --disable-swapscreen disable swap screen support 1059 --disable-swapscreen disable swap screen support
1060 --enable-iso14755 enable support for extended ISO 14755 modes
1050 --enable-frills enable support for rarely used features 1061 --enable-frills enable support for rarely used features
1051 --enable-linespace enable support for linespace 1062 --enable-linespace enable support for linespace
1052 --enable-24bit enable support for using 24bit visuals if available 1063 --enable-24bit enable support for using 24bit visuals if available
1053 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1064 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1054 --enable-selectionscrolling enable scrolling during selections 1065 --enable-selectionscrolling enable scrolling during selections
1055 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1066 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1056 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1067 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1057 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1058 --disable-new-selection disable new mouse (xterm) selection style support
1059 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1068 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1060 --enable-dlmalloc enable Doug Lea's malloc - for production use 1069 --enable-dlmalloc enable Doug Lea's malloc - for production use
1061 NOTE: enable only one malloc package 1070 NOTE: enable only one malloc package
1062 --enable-smart-resize enable smart growth/shrink behaviour 1071 --enable-smart-resize enable smart growth/shrink behaviour
1063 --enable-256-color enable 256-color support
1064 --enable-cursor-blink enable blinking cursor 1072 --enable-cursor-blink enable blinking cursor
1065 --enable-text-blink enable blinking text 1073 --enable-text-blink enable blinking text
1066 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1074 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1067 1075
1068Optional Packages: 1076Optional Packages:
1069 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1077 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1070 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1078 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1071 --with-gnu-ld assume the C compiler uses GNU ld default=no 1079 --with-gnu-ld assume the C compiler uses GNU ld default=no
1072 --with-pic try to use only PIC/non-PIC objects default=use both 1080 --with-pic try to use only PIC/non-PIC objects default=use both
1073 --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,vn,all) 1081 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1074 --with-encoding=NAME set language default encoding to NAME (default: sjis) 1082 --with-res-name=NAME use this as default resource name (default: urxvt)
1075 (eucj|sjis|big5|gb|kr|noenc) 1083 --with-res-class=CLASS use this as the resource class (default: URxvt)
1084 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1076 --with-term=NAME set the terminal to NAME (default \"rxvt\") 1085 --with-term=NAME set the terminal to NAME (default: rxvt)
1077 --with-terminfo=PATH set the path to the terminfo tree to PATH 1086 --with-terminfo=PATH set the path to the terminfo tree to PATH
1078 --with-x use the X Window System 1087 --with-x use the X Window System
1079 --with-xpm-includes=DIR use XPM includes in DIR 1088 --with-xpm-includes=DIR use XPM includes in DIR
1080 --with-xpm-library=DIR use XPM library in DIR 1089 --with-xpm-library=DIR use XPM library in DIR
1081 --with-xpm use XPM 1090 --with-xpm use XPM
1088 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1097 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1089 headers in a nonstandard directory <include dir> 1098 headers in a nonstandard directory <include dir>
1090 CXX C++ compiler command 1099 CXX C++ compiler command
1091 CXXFLAGS C++ compiler flags 1100 CXXFLAGS C++ compiler flags
1092 CPP C preprocessor 1101 CPP C preprocessor
1102 CXXCPP C++ preprocessor
1093 1103
1094Use these variables to override the choices made by `configure' or to help 1104Use these variables to override the choices made by `configure' or to help
1095it to find libraries and programs with nonstandard names/locations. 1105it to find libraries and programs with nonstandard names/locations.
1096 1106
1097_ACEOF 1107_ACEOF
1527 1537
1528 1538
1529 1539
1530 1540
1531 1541
1542
1532ac_aux_dir= 1543ac_aux_dir=
1533for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1534 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1535 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1536 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
3193 3204
3194 test -n "$AWK" && break 3205 test -n "$AWK" && break
3195done 3206done
3196 3207
3197 3208
3209ac_ext=c
3210ac_cpp='$CPP $CPPFLAGS'
3211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3213ac_compiler_gnu=$ac_cv_c_compiler_gnu
3214
3215
3216LINKER="$CXX"
3217if test x$GCC = xyes && test x$GXX = xyes; then
3218
3219echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3220echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3221if test "${ac_cv_lib_supcpp_main+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3223else
3224 ac_check_lib_save_LIBS=$LIBS
3225LIBS="-lsupc++ $LIBS"
3226cat >conftest.$ac_ext <<_ACEOF
3227/* confdefs.h. */
3228_ACEOF
3229cat confdefs.h >>conftest.$ac_ext
3230cat >>conftest.$ac_ext <<_ACEOF
3231/* end confdefs.h. */
3232
3233
3234int
3235main ()
3236{
3237main ();
3238 ;
3239 return 0;
3240}
3241_ACEOF
3242rm -f conftest.$ac_objext conftest$ac_exeext
3243if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3244 (eval $ac_link) 2>conftest.er1
3245 ac_status=$?
3246 grep -v '^ *+' conftest.er1 >conftest.err
3247 rm -f conftest.er1
3248 cat conftest.err >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } &&
3251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253 (eval $ac_try) 2>&5
3254 ac_status=$?
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; } &&
3257 { ac_try='test -s conftest$ac_exeext'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3259 (eval $ac_try) 2>&5
3260 ac_status=$?
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; }; then
3263 ac_cv_lib_supcpp_main=yes
3264else
3265 echo "$as_me: failed program was:" >&5
3266sed 's/^/| /' conftest.$ac_ext >&5
3267
3268ac_cv_lib_supcpp_main=no
3269fi
3270rm -f conftest.err conftest.$ac_objext \
3271 conftest$ac_exeext conftest.$ac_ext
3272LIBS=$ac_check_lib_save_LIBS
3273fi
3274echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
3275echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
3276if test $ac_cv_lib_supcpp_main = yes; then
3277
3278 LINKER="$CC"
3279 LIBS="$LIBS -lsupc++"
3280
3281fi
3282
3283fi
3284LINKER=$LINKER
3285
3286
3287CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3288
3289
3290ac_ext=cc
3291ac_cpp='$CXXCPP $CPPFLAGS'
3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3295
3296
3297
3298ac_ext=cc
3299ac_cpp='$CXXCPP $CPPFLAGS'
3300ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3301ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3302ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3303echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3304echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3305if test -z "$CXXCPP"; then
3306 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3308else
3309 # Double quotes because CXXCPP needs to be expanded
3310 for CXXCPP in "$CXX -E" "/lib/cpp"
3311 do
3312 ac_preproc_ok=false
3313for ac_cxx_preproc_warn_flag in '' yes
3314do
3315 # Use a header file that comes with gcc, so configuring glibc
3316 # with a fresh cross-compiler works.
3317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3318 # <limits.h> exists even on freestanding compilers.
3319 # On the NeXT, cc -E runs the code through the compiler's parser,
3320 # not just through cpp. "Syntax error" is here to catch this case.
3321 cat >conftest.$ac_ext <<_ACEOF
3322/* confdefs.h. */
3323_ACEOF
3324cat confdefs.h >>conftest.$ac_ext
3325cat >>conftest.$ac_ext <<_ACEOF
3326/* end confdefs.h. */
3327#ifdef __STDC__
3328# include <limits.h>
3329#else
3330# include <assert.h>
3331#endif
3332 Syntax error
3333_ACEOF
3334if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3336 ac_status=$?
3337 grep -v '^ *+' conftest.er1 >conftest.err
3338 rm -f conftest.er1
3339 cat conftest.err >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } >/dev/null; then
3342 if test -s conftest.err; then
3343 ac_cpp_err=$ac_cxx_preproc_warn_flag
3344 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3345 else
3346 ac_cpp_err=
3347 fi
3348else
3349 ac_cpp_err=yes
3350fi
3351if test -z "$ac_cpp_err"; then
3352 :
3353else
3354 echo "$as_me: failed program was:" >&5
3355sed 's/^/| /' conftest.$ac_ext >&5
3356
3357 # Broken: fails on valid input.
3358continue
3359fi
3360rm -f conftest.err conftest.$ac_ext
3361
3362 # OK, works on sane cases. Now check whether non-existent headers
3363 # can be detected and how.
3364 cat >conftest.$ac_ext <<_ACEOF
3365/* confdefs.h. */
3366_ACEOF
3367cat confdefs.h >>conftest.$ac_ext
3368cat >>conftest.$ac_ext <<_ACEOF
3369/* end confdefs.h. */
3370#include <ac_nonexistent.h>
3371_ACEOF
3372if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3374 ac_status=$?
3375 grep -v '^ *+' conftest.er1 >conftest.err
3376 rm -f conftest.er1
3377 cat conftest.err >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); } >/dev/null; then
3380 if test -s conftest.err; then
3381 ac_cpp_err=$ac_cxx_preproc_warn_flag
3382 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3383 else
3384 ac_cpp_err=
3385 fi
3386else
3387 ac_cpp_err=yes
3388fi
3389if test -z "$ac_cpp_err"; then
3390 # Broken: success on invalid input.
3391continue
3392else
3393 echo "$as_me: failed program was:" >&5
3394sed 's/^/| /' conftest.$ac_ext >&5
3395
3396 # Passes both tests.
3397ac_preproc_ok=:
3398break
3399fi
3400rm -f conftest.err conftest.$ac_ext
3401
3402done
3403# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3404rm -f conftest.err conftest.$ac_ext
3405if $ac_preproc_ok; then
3406 break
3407fi
3408
3409 done
3410 ac_cv_prog_CXXCPP=$CXXCPP
3411
3412fi
3413 CXXCPP=$ac_cv_prog_CXXCPP
3414else
3415 ac_cv_prog_CXXCPP=$CXXCPP
3416fi
3417echo "$as_me:$LINENO: result: $CXXCPP" >&5
3418echo "${ECHO_T}$CXXCPP" >&6
3419ac_preproc_ok=false
3420for ac_cxx_preproc_warn_flag in '' yes
3421do
3422 # Use a header file that comes with gcc, so configuring glibc
3423 # with a fresh cross-compiler works.
3424 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3425 # <limits.h> exists even on freestanding compilers.
3426 # On the NeXT, cc -E runs the code through the compiler's parser,
3427 # not just through cpp. "Syntax error" is here to catch this case.
3428 cat >conftest.$ac_ext <<_ACEOF
3429/* confdefs.h. */
3430_ACEOF
3431cat confdefs.h >>conftest.$ac_ext
3432cat >>conftest.$ac_ext <<_ACEOF
3433/* end confdefs.h. */
3434#ifdef __STDC__
3435# include <limits.h>
3436#else
3437# include <assert.h>
3438#endif
3439 Syntax error
3440_ACEOF
3441if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3443 ac_status=$?
3444 grep -v '^ *+' conftest.er1 >conftest.err
3445 rm -f conftest.er1
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } >/dev/null; then
3449 if test -s conftest.err; then
3450 ac_cpp_err=$ac_cxx_preproc_warn_flag
3451 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3452 else
3453 ac_cpp_err=
3454 fi
3455else
3456 ac_cpp_err=yes
3457fi
3458if test -z "$ac_cpp_err"; then
3459 :
3460else
3461 echo "$as_me: failed program was:" >&5
3462sed 's/^/| /' conftest.$ac_ext >&5
3463
3464 # Broken: fails on valid input.
3465continue
3466fi
3467rm -f conftest.err conftest.$ac_ext
3468
3469 # OK, works on sane cases. Now check whether non-existent headers
3470 # can be detected and how.
3471 cat >conftest.$ac_ext <<_ACEOF
3472/* confdefs.h. */
3473_ACEOF
3474cat confdefs.h >>conftest.$ac_ext
3475cat >>conftest.$ac_ext <<_ACEOF
3476/* end confdefs.h. */
3477#include <ac_nonexistent.h>
3478_ACEOF
3479if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3481 ac_status=$?
3482 grep -v '^ *+' conftest.er1 >conftest.err
3483 rm -f conftest.er1
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } >/dev/null; then
3487 if test -s conftest.err; then
3488 ac_cpp_err=$ac_cxx_preproc_warn_flag
3489 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3490 else
3491 ac_cpp_err=
3492 fi
3493else
3494 ac_cpp_err=yes
3495fi
3496if test -z "$ac_cpp_err"; then
3497 # Broken: success on invalid input.
3498continue
3499else
3500 echo "$as_me: failed program was:" >&5
3501sed 's/^/| /' conftest.$ac_ext >&5
3502
3503 # Passes both tests.
3504ac_preproc_ok=:
3505break
3506fi
3507rm -f conftest.err conftest.$ac_ext
3508
3509done
3510# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3511rm -f conftest.err conftest.$ac_ext
3512if $ac_preproc_ok; then
3513 :
3514else
3515 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3516See \`config.log' for more details." >&5
3517echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3518See \`config.log' for more details." >&2;}
3519 { (exit 1); exit 1; }; }
3520fi
3521
3522ac_ext=cc
3523ac_cpp='$CXXCPP $CPPFLAGS'
3524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3198 3527
3199 3528
3200echo "$as_me:$LINENO: checking for egrep" >&5 3529echo "$as_me:$LINENO: checking for egrep" >&5
3201echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3530echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3202if test "${ac_cv_prog_egrep+set}" = set; then 3531if test "${ac_cv_prog_egrep+set}" = set; then
3277 grep -v '^ *+' conftest.er1 >conftest.err 3606 grep -v '^ *+' conftest.er1 >conftest.err
3278 rm -f conftest.er1 3607 rm -f conftest.er1
3279 cat conftest.err >&5 3608 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } && 3610 (exit $ac_status); } &&
3282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284 (eval $ac_try) 2>&5 3613 (eval $ac_try) 2>&5
3285 ac_status=$? 3614 ac_status=$?
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); }; } && 3616 (exit $ac_status); }; } &&
3331 grep -v '^ *+' conftest.er1 >conftest.err 3660 grep -v '^ *+' conftest.er1 >conftest.err
3332 rm -f conftest.er1 3661 rm -f conftest.er1
3333 cat conftest.err >&5 3662 cat conftest.err >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } && 3664 (exit $ac_status); } &&
3336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 (eval $ac_try) 2>&5 3667 (eval $ac_try) 2>&5
3339 ac_status=$? 3668 ac_status=$?
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; } && 3670 (exit $ac_status); }; } &&
3361echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3362echo "${ECHO_T}$ac_cv_search_strerror" >&6 3691echo "${ECHO_T}$ac_cv_search_strerror" >&6
3363if test "$ac_cv_search_strerror" != no; then 3692if test "$ac_cv_search_strerror" != no; then
3364 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3693 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3365 3694
3695fi
3696
3697
3698echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3699echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3700if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702else
3703 ac_check_lib_save_LIBS=$LIBS
3704LIBS="-lxpg4 $LIBS"
3705cat >conftest.$ac_ext <<_ACEOF
3706/* confdefs.h. */
3707_ACEOF
3708cat confdefs.h >>conftest.$ac_ext
3709cat >>conftest.$ac_ext <<_ACEOF
3710/* end confdefs.h. */
3711
3712/* Override any gcc2 internal prototype to avoid an error. */
3713#ifdef __cplusplus
3714extern "C"
3715#endif
3716/* We use char because int might match the return type of a gcc2
3717 builtin and then its argument prototype would still apply. */
3718char setlocale ();
3719int
3720main ()
3721{
3722setlocale ();
3723 ;
3724 return 0;
3725}
3726_ACEOF
3727rm -f conftest.$ac_objext conftest$ac_exeext
3728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3729 (eval $ac_link) 2>conftest.er1
3730 ac_status=$?
3731 grep -v '^ *+' conftest.er1 >conftest.err
3732 rm -f conftest.er1
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738 (eval $ac_try) 2>&5
3739 ac_status=$?
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; } &&
3742 { ac_try='test -s conftest$ac_exeext'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 (eval $ac_try) 2>&5
3745 ac_status=$?
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then
3748 ac_cv_lib_xpg4_setlocale=yes
3749else
3750 echo "$as_me: failed program was:" >&5
3751sed 's/^/| /' conftest.$ac_ext >&5
3752
3753ac_cv_lib_xpg4_setlocale=no
3754fi
3755rm -f conftest.err conftest.$ac_objext \
3756 conftest$ac_exeext conftest.$ac_ext
3757LIBS=$ac_check_lib_save_LIBS
3758fi
3759echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3760echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3761if test $ac_cv_lib_xpg4_setlocale = yes; then
3762 LIBS="$LIBS -lxpg4"
3763fi
3764
3765
3766echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3767echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3768if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3770else
3771 ac_check_lib_save_LIBS=$LIBS
3772LIBS="-lnsl $LIBS"
3773cat >conftest.$ac_ext <<_ACEOF
3774/* confdefs.h. */
3775_ACEOF
3776cat confdefs.h >>conftest.$ac_ext
3777cat >>conftest.$ac_ext <<_ACEOF
3778/* end confdefs.h. */
3779
3780/* Override any gcc2 internal prototype to avoid an error. */
3781#ifdef __cplusplus
3782extern "C"
3783#endif
3784/* We use char because int might match the return type of a gcc2
3785 builtin and then its argument prototype would still apply. */
3786char gethostbyname ();
3787int
3788main ()
3789{
3790gethostbyname ();
3791 ;
3792 return 0;
3793}
3794_ACEOF
3795rm -f conftest.$ac_objext conftest$ac_exeext
3796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3797 (eval $ac_link) 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } &&
3804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 (eval $ac_try) 2>&5
3807 ac_status=$?
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; } &&
3810 { ac_try='test -s conftest$ac_exeext'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 (eval $ac_try) 2>&5
3813 ac_status=$?
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3816 ac_cv_lib_nsl_gethostbyname=yes
3817else
3818 echo "$as_me: failed program was:" >&5
3819sed 's/^/| /' conftest.$ac_ext >&5
3820
3821ac_cv_lib_nsl_gethostbyname=no
3822fi
3823rm -f conftest.err conftest.$ac_objext \
3824 conftest$ac_exeext conftest.$ac_ext
3825LIBS=$ac_check_lib_save_LIBS
3826fi
3827echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3828echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3829if test $ac_cv_lib_nsl_gethostbyname = yes; then
3830 LIBS="$LIBS -lnsl"
3831fi
3832
3833echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3834echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3835if test "${ac_cv_lib_socket_socket+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3837else
3838 ac_check_lib_save_LIBS=$LIBS
3839LIBS="-lsocket $LIBS"
3840cat >conftest.$ac_ext <<_ACEOF
3841/* confdefs.h. */
3842_ACEOF
3843cat confdefs.h >>conftest.$ac_ext
3844cat >>conftest.$ac_ext <<_ACEOF
3845/* end confdefs.h. */
3846
3847/* Override any gcc2 internal prototype to avoid an error. */
3848#ifdef __cplusplus
3849extern "C"
3850#endif
3851/* We use char because int might match the return type of a gcc2
3852 builtin and then its argument prototype would still apply. */
3853char socket ();
3854int
3855main ()
3856{
3857socket ();
3858 ;
3859 return 0;
3860}
3861_ACEOF
3862rm -f conftest.$ac_objext conftest$ac_exeext
3863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3864 (eval $ac_link) 2>conftest.er1
3865 ac_status=$?
3866 grep -v '^ *+' conftest.er1 >conftest.err
3867 rm -f conftest.er1
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873 (eval $ac_try) 2>&5
3874 ac_status=$?
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; } &&
3877 { ac_try='test -s conftest$ac_exeext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 (eval $ac_try) 2>&5
3880 ac_status=$?
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_cv_lib_socket_socket=yes
3884else
3885 echo "$as_me: failed program was:" >&5
3886sed 's/^/| /' conftest.$ac_ext >&5
3887
3888ac_cv_lib_socket_socket=no
3889fi
3890rm -f conftest.err conftest.$ac_objext \
3891 conftest$ac_exeext conftest.$ac_ext
3892LIBS=$ac_check_lib_save_LIBS
3893fi
3894echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3895echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3896if test $ac_cv_lib_socket_socket = yes; then
3897 LIBS="$LIBS -lsocket"
3366fi 3898fi
3367 3899
3368 3900
3369# Check whether --enable-shared or --disable-shared was given. 3901# Check whether --enable-shared or --disable-shared was given.
3370if test "${enable_shared+set}" = set; then 3902if test "${enable_shared+set}" = set; then
4035 grep -v '^ *+' conftest.er1 >conftest.err 4567 grep -v '^ *+' conftest.er1 >conftest.err
4036 rm -f conftest.er1 4568 rm -f conftest.er1
4037 cat conftest.err >&5 4569 cat conftest.err >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } && 4571 (exit $ac_status); } &&
4040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 (eval $ac_try) 2>&5 4574 (eval $ac_try) 2>&5
4043 ac_status=$? 4575 ac_status=$?
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; } && 4577 (exit $ac_status); }; } &&
4205 grep -v '^ *+' conftest.er1 >conftest.err 4737 grep -v '^ *+' conftest.er1 >conftest.err
4206 rm -f conftest.er1 4738 rm -f conftest.er1
4207 cat conftest.err >&5 4739 cat conftest.err >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); } && 4741 (exit $ac_status); } &&
4210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 (eval $ac_try) 2>&5 4744 (eval $ac_try) 2>&5
4213 ac_status=$? 4745 ac_status=$?
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); }; } && 4747 (exit $ac_status); }; } &&
4272 grep -v '^ *+' conftest.er1 >conftest.err 4804 grep -v '^ *+' conftest.er1 >conftest.err
4273 rm -f conftest.er1 4805 rm -f conftest.er1
4274 cat conftest.err >&5 4806 cat conftest.err >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } && 4808 (exit $ac_status); } &&
4277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4279 (eval $ac_try) 2>&5 4811 (eval $ac_try) 2>&5
4280 ac_status=$? 4812 ac_status=$?
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); }; } && 4814 (exit $ac_status); }; } &&
4315 rm -f conftest.er1 4847 rm -f conftest.er1
4316 cat conftest.err >&5 4848 cat conftest.err >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } >/dev/null; then 4850 (exit $ac_status); } >/dev/null; then
4319 if test -s conftest.err; then 4851 if test -s conftest.err; then
4320 ac_cpp_err=$ac_c_preproc_warn_flag 4852 ac_cpp_err=$ac_cxx_preproc_warn_flag
4321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4853 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4322 else 4854 else
4323 ac_cpp_err= 4855 ac_cpp_err=
4324 fi 4856 fi
4325else 4857else
4326 ac_cpp_err=yes 4858 ac_cpp_err=yes
4336rm -f conftest.err conftest.$ac_ext 4868rm -f conftest.err conftest.$ac_ext
4337echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4869echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4338echo "${ECHO_T}$ac_header_preproc" >&6 4870echo "${ECHO_T}$ac_header_preproc" >&6
4339 4871
4340# So? What about this header? 4872# So? What about this header?
4341case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4873case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4342 yes:no: ) 4874 yes:no: )
4343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4344echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4876echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4346echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4878echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4706# Some flags need to be propagated to the compiler or linker for good 5238# Some flags need to be propagated to the compiler or linker for good
4707# libtool support. 5239# libtool support.
4708case "$host" in 5240case "$host" in
4709*-*-irix6*) 5241*-*-irix6*)
4710 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
4711 echo '#line 4711 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
4714 ac_status=$? 5246 ac_status=$?
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
4789 5321
4790lt_cv_cc_needs_belf=no 5322lt_cv_cc_needs_belf=no
4791fi 5323fi
4792rm -f conftest.err conftest.$ac_objext \ 5324rm -f conftest.err conftest.$ac_objext \
4793 conftest$ac_exeext conftest.$ac_ext 5325 conftest$ac_exeext conftest.$ac_ext
4794 ac_ext=c 5326 ac_ext=cc
4795ac_cpp='$CPP $CPPFLAGS' 5327ac_cpp='$CXXCPP $CPPFLAGS'
4796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798ac_compiler_gnu=$ac_cv_c_compiler_gnu 5330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4799 5331
4800fi 5332fi
4801echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 5333echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4802echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 5334echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4803 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5335 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5098 grep -v '^ *+' conftest.er1 >conftest.err 5630 grep -v '^ *+' conftest.er1 >conftest.err
5099 rm -f conftest.er1 5631 rm -f conftest.er1
5100 cat conftest.err >&5 5632 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } && 5634 (exit $ac_status); } &&
5103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5105 (eval $ac_try) 2>&5 5637 (eval $ac_try) 2>&5
5106 ac_status=$? 5638 ac_status=$?
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } && 5640 (exit $ac_status); }; } &&
5198 grep -v '^ *+' conftest.er1 >conftest.err 5730 grep -v '^ *+' conftest.er1 >conftest.err
5199 rm -f conftest.er1 5731 rm -f conftest.er1
5200 cat conftest.err >&5 5732 cat conftest.err >&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); } && 5734 (exit $ac_status); } &&
5203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5205 (eval $ac_try) 2>&5 5737 (eval $ac_try) 2>&5
5206 ac_status=$? 5738 ac_status=$?
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); }; } && 5740 (exit $ac_status); }; } &&
5257# builds. 5789# builds.
5258chmod -w . 5790chmod -w .
5259save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5260CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5261compiler_c_o=no 5793compiler_c_o=no
5262if { (eval echo configure:5262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5794if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5263 # The compiler can only warn and ignore the option if not recognized 5795 # The compiler can only warn and ignore the option if not recognized
5264 # So say no if there are warnings 5796 # So say no if there are warnings
5265 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5266 compiler_c_o=no 5798 compiler_c_o=no
5267 else 5799 else
5311 grep -v '^ *+' conftest.er1 >conftest.err 5843 grep -v '^ *+' conftest.er1 >conftest.err
5312 rm -f conftest.er1 5844 rm -f conftest.er1
5313 cat conftest.err >&5 5845 cat conftest.err >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); } && 5847 (exit $ac_status); } &&
5316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5848 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5318 (eval $ac_try) 2>&5 5850 (eval $ac_try) 2>&5
5319 ac_status=$? 5851 ac_status=$?
5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 (exit $ac_status); }; } && 5853 (exit $ac_status); }; } &&
5407 grep -v '^ *+' conftest.er1 >conftest.err 5939 grep -v '^ *+' conftest.er1 >conftest.err
5408 rm -f conftest.er1 5940 rm -f conftest.er1
5409 cat conftest.err >&5 5941 cat conftest.err >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } && 5943 (exit $ac_status); } &&
5412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5414 (eval $ac_try) 2>&5 5946 (eval $ac_try) 2>&5
5415 ac_status=$? 5947 ac_status=$?
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); }; } && 5949 (exit $ac_status); }; } &&
6485 grep -v '^ *+' conftest.er1 >conftest.err 7017 grep -v '^ *+' conftest.er1 >conftest.err
6486 rm -f conftest.er1 7018 rm -f conftest.er1
6487 cat conftest.err >&5 7019 cat conftest.err >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } && 7021 (exit $ac_status); } &&
6490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492 (eval $ac_try) 2>&5 7024 (eval $ac_try) 2>&5
6493 ac_status=$? 7025 ac_status=$?
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } && 7027 (exit $ac_status); }; } &&
6578 grep -v '^ *+' conftest.er1 >conftest.err 7110 grep -v '^ *+' conftest.er1 >conftest.err
6579 rm -f conftest.er1 7111 rm -f conftest.er1
6580 cat conftest.err >&5 7112 cat conftest.err >&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } && 7114 (exit $ac_status); } &&
6583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585 (eval $ac_try) 2>&5 7117 (eval $ac_try) 2>&5
6586 ac_status=$? 7118 ac_status=$?
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; } && 7120 (exit $ac_status); }; } &&
6670 grep -v '^ *+' conftest.er1 >conftest.err 7202 grep -v '^ *+' conftest.er1 >conftest.err
6671 rm -f conftest.er1 7203 rm -f conftest.er1
6672 cat conftest.err >&5 7204 cat conftest.err >&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } && 7206 (exit $ac_status); } &&
6675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6677 (eval $ac_try) 2>&5 7209 (eval $ac_try) 2>&5
6678 ac_status=$? 7210 ac_status=$?
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); }; } && 7212 (exit $ac_status); }; } &&
6735 grep -v '^ *+' conftest.er1 >conftest.err 7267 grep -v '^ *+' conftest.er1 >conftest.err
6736 rm -f conftest.er1 7268 rm -f conftest.er1
6737 cat conftest.err >&5 7269 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } && 7271 (exit $ac_status); } &&
6740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742 (eval $ac_try) 2>&5 7274 (eval $ac_try) 2>&5
6743 ac_status=$? 7275 ac_status=$?
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); }; } && 7277 (exit $ac_status); }; } &&
6801 grep -v '^ *+' conftest.er1 >conftest.err 7333 grep -v '^ *+' conftest.er1 >conftest.err
6802 rm -f conftest.er1 7334 rm -f conftest.er1
6803 cat conftest.err >&5 7335 cat conftest.err >&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); } && 7337 (exit $ac_status); } &&
6806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808 (eval $ac_try) 2>&5 7340 (eval $ac_try) 2>&5
6809 ac_status=$? 7341 ac_status=$?
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); }; } && 7343 (exit $ac_status); }; } &&
6873 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
6874else 7406else
6875 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6876 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
6877 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
6878#line 6878 "configure" 7410#line 7410 "configure"
6879#include "confdefs.h" 7411#include "confdefs.h"
6880 7412
6881#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
6882#include <dlfcn.h> 7414#include <dlfcn.h>
6883#endif 7415#endif
6971 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
6972else 7504else
6973 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6974 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
6975 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
6976#line 6976 "configure" 7508#line 7508 "configure"
6977#include "confdefs.h" 7509#include "confdefs.h"
6978 7510
6979#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
6980#include <dlfcn.h> 7512#include <dlfcn.h>
6981#endif 7513#endif
7704MALLOC_TYPE=S 8236MALLOC_TYPE=S
7705support_addstrings=no 8237support_addstrings=no
7706support_frills=no 8238support_frills=no
7707support_linespace=no 8239support_linespace=no
7708support_inheritpixmap=no 8240support_inheritpixmap=no
8241support_tinting=no
8242support_fading=no
7709support_keepscrolling=no 8243support_keepscrolling=no
7710support_selectionscrolling=no 8244support_selectionscrolling=no
7711support_menubar=no 8245support_menubar=no
7712support_mousewheel=no 8246support_mousewheel=no
7713support_mouseslipwheel=no 8247support_mouseslipwheel=no
7714support_oldselection=no
7715support_utmp=no 8248support_utmp=no
7716support_wtmp=no 8249support_wtmp=no
7717support_lastlog=no 8250support_lastlog=no
7718support_cursor_blink=no 8251support_cursor_blink=no
7719support_text_blink=no 8252support_text_blink=no
7724support_scroll_plain=no 8257support_scroll_plain=no
7725support_xim=no 8258support_xim=no
7726support_xpm=no 8259support_xpm=no
7727support_xft=no 8260support_xft=no
7728support_unicode3=no 8261support_unicode3=no
8262support_combining=no
8263support_8bitctrls=no
8264support_iso14755=no
8265support_styles=no
7729codesets= 8266codesets=
7730 8267
7731 8268
7732if test "x$enable_shared" = xyes; then 8269if test "x$enable_shared" = xyes; then
7733 8270
7745 if test x$enableval = xyes; then 8282 if test x$enableval = xyes; then
7746 support_24bit=yes 8283 support_24bit=yes
7747 support_frills=yes 8284 support_frills=yes
7748 support_linespace=yes 8285 support_linespace=yes
7749 support_inheritpixmap=yes 8286 support_inheritpixmap=yes
8287 support_tinting=yes
8288 support_fading=yes
7750 support_keepscrolling=yes 8289 support_keepscrolling=yes
7751 support_selectionscrolling=yes 8290 support_selectionscrolling=yes
7752 support_lastlog=yes 8291 support_lastlog=yes
7753 support_menubar=yes 8292 support_menubar=yes
7754 support_mousewheel=yes 8293 support_mousewheel=yes
7755 support_mouseslipwheel=yes 8294 support_mouseslipwheel=yes
7756 support_oldselection=yes
7757 support_cursor_blink=yes 8295 support_cursor_blink=yes
7758 support_text_blink=yes 8296 support_text_blink=yes
7759 support_pointer_blank=yes 8297 support_pointer_blank=yes
7760 support_scroll_rxvt=yes 8298 support_scroll_rxvt=yes
7761 support_scroll_next=yes 8299 support_scroll_next=yes
7765 support_wtmp=yes 8303 support_wtmp=yes
7766 support_xim=yes 8304 support_xim=yes
7767 support_xpm=yes 8305 support_xpm=yes
7768 support_xft=yes 8306 support_xft=yes
7769 support_unicode3=yes 8307 support_unicode3=yes
8308 support_combining=yes
8309 #support_8bitctrls=yes
8310 support_iso14755=yes
8311 support_styles=yes
7770 codesets=all 8312 codesets=all
7771 fi 8313 fi
7772fi; 8314fi;
7773 8315
7774# Check whether --enable-unicode3 or --disable-unicode3 was given. 8316# Check whether --enable-unicode3 or --disable-unicode3 was given.
7775if test "${enable_unicode3+set}" = set; then 8317if test "${enable_unicode3+set}" = set; then
7776 enableval="$enable_unicode3" 8318 enableval="$enable_unicode3"
7777 if test x$enableval = xyes; then 8319 if test x$enableval = xyes -o x$enableval = xno; then
7778 support_unicode3=yes 8320 support_unicode3=$enableval
8321 fi
8322fi;
8323
8324# Check whether --enable-combining or --disable-combining was given.
8325if test "${enable_combining+set}" = set; then
8326 enableval="$enable_combining"
8327 if test x$enableval = xyes -o x$enableval = xno; then
8328 support_combining=$enableval
7779 fi 8329 fi
7780fi; 8330fi;
7781 8331
7782# Check whether --enable-xft or --disable-xft was given. 8332# Check whether --enable-xft or --disable-xft was given.
7783if test "${enable_xft+set}" = set; then 8333if test "${enable_xft+set}" = set; then
7784 enableval="$enable_xft" 8334 enableval="$enable_xft"
7785 if test x$enableval = xyes; then 8335 if test x$enableval = xyes -o x$enableval = xno; then
7786 support_xft=yes 8336 support_xft=$enableval
7787 fi 8337 fi
7788fi; 8338fi;
7789 8339
7790 8340# Check whether --enable-font-styles or --disable-font-styles was given.
7791# Check whether --with-codesets or --without-codesets was given. 8341if test "${enable_font_styles+set}" = set; then
7792if test "${with_codesets+set}" = set; then 8342 enableval="$enable_font_styles"
7793 withval="$with_codesets"
7794 if test x$enableval = xyes; then 8343 if test x$enableval = xyes -o x$enableval = xno; then
7795 codesets="$withval" 8344 support_styles=$enableval
7796 fi
7797fi;
7798
7799
7800# Check whether --with-encoding or --without-encoding was given.
7801if test "${with_encoding+set}" = set; then
7802 withval="$with_encoding"
7803 if test x$enableval = xyes; then
7804 withval=`echo $withval | tr 'a-z' 'A-Z'`
7805
7806cat >>confdefs.h <<_ACEOF
7807#define MULTICHAR_ENCODING $withval
7808_ACEOF
7809
7810 fi 8345 fi
7811fi; 8346fi;
7812 8347
7813# Check whether --enable-utmp or --disable-utmp was given. 8348# Check whether --enable-utmp or --disable-utmp was given.
7814if test "${enable_utmp+set}" = set; then 8349if test "${enable_utmp+set}" = set; then
7848 if test x$enableval = xyes -o x$enableval = xno; then 8383 if test x$enableval = xyes -o x$enableval = xno; then
7849 support_inheritpixmap=$enableval 8384 support_inheritpixmap=$enableval
7850 fi 8385 fi
7851fi; 8386fi;
7852 8387
8388# Check whether --enable-tinting or --disable-tinting was given.
8389if test "${enable_tinting+set}" = set; then
8390 enableval="$enable_tinting"
8391 if test x$enableval = xyes -o x$enableval = xno; then
8392 support_tinting=$enableval
8393 fi
8394fi;
8395
8396# Check whether --enable-fading or --disable-fading was given.
8397if test "${enable_fading+set}" = set; then
8398 enableval="$enable_fading"
8399 if test x$enableval = xyes -o x$enableval = xno; then
8400 support_fading=$enableval
8401 fi
8402fi;
8403
7853# Check whether --enable-menubar or --disable-menubar was given. 8404# Check whether --enable-menubar or --disable-menubar was given.
7854if test "${enable_menubar+set}" = set; then 8405if test "${enable_menubar+set}" = set; then
7855 enableval="$enable_menubar" 8406 enableval="$enable_menubar"
7856 if test x$enableval = xyes -o x$enableval = xno; then 8407 if test x$enableval = xyes -o x$enableval = xno; then
7857 support_menubar=$enableval 8408 support_menubar=$enableval
7900_ACEOF 8451_ACEOF
7901 8452
7902 fi 8453 fi
7903fi; 8454fi;
7904 8455
8456
8457# Check whether --with-codesets or --without-codesets was given.
8458if test "${with_codesets+set}" = set; then
8459 withval="$with_codesets"
8460 codesets="$withval"
8461fi;
8462
7905# Check whether --enable-xim or --disable-xim was given. 8463# Check whether --enable-xim or --disable-xim was given.
7906if test "${enable_xim+set}" = set; then 8464if test "${enable_xim+set}" = set; then
7907 enableval="$enable_xim" 8465 enableval="$enable_xim"
7908 if test x$enableval = xyes -o x$enableval = xno; then 8466 if test x$enableval = xyes -o x$enableval = xno; then
7909 support_xim=$enableval 8467 support_xim=$enableval
7968_ACEOF 8526_ACEOF
7969 8527
7970 fi 8528 fi
7971fi; 8529fi;
7972 8530
8531# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8532if test "${enable_8bitctrls+set}" = set; then
8533 enableval="$enable_8bitctrls"
8534 if test x$enableval = xyes -o x$enableval = xno; then
8535 support_8bitctrls=$enableval
8536 fi
8537fi;
8538
8539RESFALLBACK=Rxvt
8540# Check whether --enable-fallback or --disable-fallback was given.
8541if test "${enable_fallback+set}" = set; then
8542 enableval="$enable_fallback"
8543
8544 test x$enableval = xyes && enableval=Rxvt
8545 test x$enableval = xno && enableval=
8546 RESFALLBACK="$enableval"
8547
8548fi;
8549
8550if test x$RESFALLBACK != x; then
8551
8552cat >>confdefs.h <<_ACEOF
8553#define RESFALLBACK "$RESFALLBACK"
8554_ACEOF
8555
8556fi
8557
8558RESNAME=urxvt
8559
8560# Check whether --with-res-name or --without-res-name was given.
8561if test "${with_res_name+set}" = set; then
8562 withval="$with_res_name"
8563 RESNAME="$withval"
8564fi;
8565
8566cat >>confdefs.h <<_ACEOF
8567#define RESNAME "$RESNAME"
8568_ACEOF
8569
8570
8571RESCLASS=URxvt
8572
8573# Check whether --with-res-class or --without-res-class was given.
8574if test "${with_res_class+set}" = set; then
8575 withval="$with_res_class"
8576 RESCLASS="$withval"
8577fi;
8578
8579cat >>confdefs.h <<_ACEOF
8580#define RESCLASS "$RESCLASS"
8581_ACEOF
8582
8583
8584RXVTNAME=urxvt
8585
8586# Check whether --with-name or --without-name was given.
8587if test "${with_name+set}" = set; then
8588 withval="$with_name"
8589 RXVTNAME="$withval"
8590fi;
8591
8592cat >>confdefs.h <<_ACEOF
8593#define RXVTNAME "$RXVTNAME"
8594_ACEOF
8595
8596
8597RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8598
8599
7973# Check whether --enable-strings or --disable-strings was given. 8600# Check whether --enable-strings or --disable-strings was given.
7974if test "${enable_strings+set}" = set; then 8601if test "${enable_strings+set}" = set; then
7975 enableval="$enable_strings" 8602 enableval="$enable_strings"
7976 if test x$enableval = xyes -o x$enableval = xno; then 8603 if test x$enableval = xyes -o x$enableval = xno; then
7977 support_addstrings=$enableval 8604 support_addstrings=$enableval
7988_ACEOF 8615_ACEOF
7989 8616
7990 fi 8617 fi
7991fi; 8618fi;
7992 8619
8620# Check whether --enable-iso14755 or --disable-iso14755 was given.
8621if test "${enable_iso14755+set}" = set; then
8622 enableval="$enable_iso14755"
8623 if test x$enableval = xyes -o x$enableval = xno; then
8624 support_iso14755=$enableval
8625 fi
8626fi;
8627
7993# Check whether --enable-frills or --disable-frills was given. 8628# Check whether --enable-frills or --disable-frills was given.
7994if test "${enable_frills+set}" = set; then 8629if test "${enable_frills+set}" = set; then
7995 enableval="$enable_frills" 8630 enableval="$enable_frills"
7996 if test x$enableval = xyes -o x$enableval = xno; then 8631 if test x$enableval = xyes -o x$enableval = xno; then
7997 support_frills=$enableval 8632 support_frills=$enableval
8041# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8676# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8042if test "${enable_slipwheeling+set}" = set; then 8677if test "${enable_slipwheeling+set}" = set; then
8043 enableval="$enable_slipwheeling" 8678 enableval="$enable_slipwheeling"
8044 if test x$enableval = xyes -o x$enableval = xno; then 8679 if test x$enableval = xyes -o x$enableval = xno; then
8045 support_mouseslipwheel=$enableval 8680 support_mouseslipwheel=$enableval
8046 fi
8047fi;
8048
8049# Check whether --enable-old-selection or --disable-old-selection was given.
8050if test "${enable_old_selection+set}" = set; then
8051 enableval="$enable_old_selection"
8052 if test x$enableval = xyes -o x$enableval = xno; then
8053 support_oldselection=$enableval
8054 fi
8055fi;
8056
8057# Check whether --enable-new-selection or --disable-new-selection was given.
8058if test "${enable_new_selection+set}" = set; then
8059 enableval="$enable_new_selection"
8060 if test x$enableval = xno; then
8061
8062cat >>confdefs.h <<\_ACEOF
8063#define NO_NEW_SELECTION 1
8064_ACEOF
8065
8066 fi 8681 fi
8067fi; 8682fi;
8068 8683
8069# Check whether --enable-dmalloc or --disable-dmalloc was given. 8684# Check whether --enable-dmalloc or --disable-dmalloc was given.
8070if test "${enable_dmalloc+set}" = set; then 8685if test "${enable_dmalloc+set}" = set; then
8093 enableval="$enable_smart_resize" 8708 enableval="$enable_smart_resize"
8094 if test x$enableval = xyes; then 8709 if test x$enableval = xyes; then
8095 8710
8096cat >>confdefs.h <<\_ACEOF 8711cat >>confdefs.h <<\_ACEOF
8097#define SMART_RESIZE 1 8712#define SMART_RESIZE 1
8098_ACEOF
8099
8100 fi
8101fi;
8102
8103# Check whether --enable-256-color or --disable-256-color was given.
8104if test "${enable_256_color+set}" = set; then
8105 enableval="$enable_256_color"
8106 if test x$enableval = xyes; then
8107
8108cat >>confdefs.h <<\_ACEOF
8109#define TTY_256COLOR 1
8110_ACEOF 8713_ACEOF
8111 8714
8112 fi 8715 fi
8113fi; 8716fi;
8114 8717
8493else 9096else
8494 echo "$as_me:$LINENO: result: no" >&5 9097 echo "$as_me:$LINENO: result: no" >&5
8495echo "${ECHO_T}no" >&6 9098echo "${ECHO_T}no" >&6
8496fi 9099fi
8497 9100
9101# Extract the first word of "tic", so it can be a program name with args.
9102set dummy tic; ac_word=$2
9103echo "$as_me:$LINENO: checking for $ac_word" >&5
9104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9105if test "${ac_cv_path_TIC+set}" = set; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9107else
9108 case $TIC in
9109 [\\/]* | ?:[\\/]*)
9110 ac_cv_path_TIC="$TIC" # Let the user override the test with a path.
9111 ;;
9112 *)
9113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114for as_dir in $PATH
9115do
9116 IFS=$as_save_IFS
9117 test -z "$as_dir" && as_dir=.
9118 for ac_exec_ext in '' $ac_executable_extensions; do
9119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9120 ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext"
9121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9122 break 2
9123 fi
9124done
9125done
8498 9126
9127 ;;
9128esac
9129fi
9130TIC=$ac_cv_path_TIC
8499 9131
9132if test -n "$TIC"; then
9133 echo "$as_me:$LINENO: result: $TIC" >&5
9134echo "${ECHO_T}$TIC" >&6
9135else
9136 echo "$as_me:$LINENO: result: no" >&5
9137echo "${ECHO_T}no" >&6
9138fi
8500 9139
9140
9141
9142
9143
9144if test "x$ac_path_x_has_been_run" != xyes; then
8501echo "$as_me:$LINENO: checking for X" >&5 9145 echo "$as_me:$LINENO: checking for X" >&5
8502echo $ECHO_N "checking for X... $ECHO_C" >&6 9146echo $ECHO_N "checking for X... $ECHO_C" >&6
8503 9147
9148ac_path_x_has_been_run=yes
8504 9149
8505# Check whether --with-x or --without-x was given. 9150# Check whether --with-x or --without-x was given.
8506if test "${with_x+set}" = set; then 9151if test "${with_x+set}" = set; then
8507 withval="$with_x" 9152 withval="$with_x"
8508 9153
8591 9236
8592/usr/openwin/include 9237/usr/openwin/include
8593/usr/openwin/share/include' 9238/usr/openwin/share/include'
8594 9239
8595if test "$ac_x_includes" = no; then 9240if test "$ac_x_includes" = no; then
8596 # Guess where to find include files, by looking for Intrinsic.h. 9241 # Guess where to find include files, by looking for a specified header file.
8597 # First, try using that file with no special directory specified. 9242 # First, try using that file with no special directory specified.
8598 cat >conftest.$ac_ext <<_ACEOF 9243 cat >conftest.$ac_ext <<_ACEOF
8599/* confdefs.h. */ 9244/* confdefs.h. */
8600_ACEOF 9245_ACEOF
8601cat confdefs.h >>conftest.$ac_ext 9246cat confdefs.h >>conftest.$ac_ext
8610 rm -f conftest.er1 9255 rm -f conftest.er1
8611 cat conftest.err >&5 9256 cat conftest.err >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); } >/dev/null; then 9258 (exit $ac_status); } >/dev/null; then
8614 if test -s conftest.err; then 9259 if test -s conftest.err; then
8615 ac_cpp_err=$ac_c_preproc_warn_flag 9260 ac_cpp_err=$ac_cxx_preproc_warn_flag
8616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9261 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8617 else 9262 else
8618 ac_cpp_err= 9263 ac_cpp_err=
8619 fi 9264 fi
8620else 9265else
8621 ac_cpp_err=yes 9266 ac_cpp_err=yes
8665 grep -v '^ *+' conftest.er1 >conftest.err 9310 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1 9311 rm -f conftest.er1
8667 cat conftest.err >&5 9312 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && 9314 (exit $ac_status); } &&
8670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672 (eval $ac_try) 2>&5 9317 (eval $ac_try) 2>&5
8673 ac_status=$? 9318 ac_status=$?
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); }; } && 9320 (exit $ac_status); }; } &&
8725 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9370 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8726 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9371 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8727 # Update the cache value to reflect the command line values. 9372 # Update the cache value to reflect the command line values.
8728 ac_cv_have_x="have_x=yes \ 9373 ac_cv_have_x="have_x=yes \
8729 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9374 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9375 # It might be that x_includes is empty (headers are found in the
9376 # standard search path. Then output the corresponding message
9377 ac_out_x_includes=$x_includes
9378 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
8730 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9379 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
8731echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9380echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
8732fi 9381fi
8733 9382
9383fi
8734if test "$no_x" = yes; then 9384if test "$no_x" = yes; then
8735 # Not all programs may use this symbol, but it does not hurt to define it. 9385 # Not all programs may use this symbol, but it does not hurt to define it.
8736 9386
8737cat >>confdefs.h <<\_ACEOF 9387cat >>confdefs.h <<\_ACEOF
8738#define X_DISPLAY_MISSING 1 9388#define X_DISPLAY_MISSING 1
8776 grep -v '^ *+' conftest.er1 >conftest.err 9426 grep -v '^ *+' conftest.er1 >conftest.err
8777 rm -f conftest.er1 9427 rm -f conftest.er1
8778 cat conftest.err >&5 9428 cat conftest.err >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } && 9430 (exit $ac_status); } &&
8781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 (eval $ac_try) 2>&5 9433 (eval $ac_try) 2>&5
8784 ac_status=$? 9434 ac_status=$?
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; } && 9436 (exit $ac_status); }; } &&
8827 grep -v '^ *+' conftest.er1 >conftest.err 9477 grep -v '^ *+' conftest.er1 >conftest.err
8828 rm -f conftest.er1 9478 rm -f conftest.er1
8829 cat conftest.err >&5 9479 cat conftest.err >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); } && 9481 (exit $ac_status); } &&
8832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 (eval $ac_try) 2>&5 9484 (eval $ac_try) 2>&5
8835 ac_status=$? 9485 ac_status=$?
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; } && 9487 (exit $ac_status); }; } &&
8903 grep -v '^ *+' conftest.er1 >conftest.err 9553 grep -v '^ *+' conftest.er1 >conftest.err
8904 rm -f conftest.er1 9554 rm -f conftest.er1
8905 cat conftest.err >&5 9555 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } && 9557 (exit $ac_status); } &&
8908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8910 (eval $ac_try) 2>&5 9560 (eval $ac_try) 2>&5
8911 ac_status=$? 9561 ac_status=$?
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; } && 9563 (exit $ac_status); }; } &&
8958 grep -v '^ *+' conftest.er1 >conftest.err 9608 grep -v '^ *+' conftest.er1 >conftest.err
8959 rm -f conftest.er1 9609 rm -f conftest.er1
8960 cat conftest.err >&5 9610 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && 9612 (exit $ac_status); } &&
8963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 (eval $ac_try) 2>&5 9615 (eval $ac_try) 2>&5
8966 ac_status=$? 9616 ac_status=$?
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } && 9618 (exit $ac_status); }; } &&
9026 grep -v '^ *+' conftest.er1 >conftest.err 9676 grep -v '^ *+' conftest.er1 >conftest.err
9027 rm -f conftest.er1 9677 rm -f conftest.er1
9028 cat conftest.err >&5 9678 cat conftest.err >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); } && 9680 (exit $ac_status); } &&
9031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9033 (eval $ac_try) 2>&5 9683 (eval $ac_try) 2>&5
9034 ac_status=$? 9684 ac_status=$?
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; } && 9686 (exit $ac_status); }; } &&
9134 grep -v '^ *+' conftest.er1 >conftest.err 9784 grep -v '^ *+' conftest.er1 >conftest.err
9135 rm -f conftest.er1 9785 rm -f conftest.er1
9136 cat conftest.err >&5 9786 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } && 9788 (exit $ac_status); } &&
9139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 (eval $ac_try) 2>&5 9791 (eval $ac_try) 2>&5
9142 ac_status=$? 9792 ac_status=$?
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } && 9794 (exit $ac_status); }; } &&
9198 grep -v '^ *+' conftest.er1 >conftest.err 9848 grep -v '^ *+' conftest.er1 >conftest.err
9199 rm -f conftest.er1 9849 rm -f conftest.er1
9200 cat conftest.err >&5 9850 cat conftest.err >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && 9852 (exit $ac_status); } &&
9203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 (eval $ac_try) 2>&5 9855 (eval $ac_try) 2>&5
9206 ac_status=$? 9856 ac_status=$?
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; } && 9858 (exit $ac_status); }; } &&
9266 grep -v '^ *+' conftest.er1 >conftest.err 9916 grep -v '^ *+' conftest.er1 >conftest.err
9267 rm -f conftest.er1 9917 rm -f conftest.er1
9268 cat conftest.err >&5 9918 cat conftest.err >&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); } && 9920 (exit $ac_status); } &&
9271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 (eval $ac_try) 2>&5 9923 (eval $ac_try) 2>&5
9274 ac_status=$? 9924 ac_status=$?
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; } && 9926 (exit $ac_status); }; } &&
9370 grep -v '^ *+' conftest.er1 >conftest.err 10020 grep -v '^ *+' conftest.er1 >conftest.err
9371 rm -f conftest.er1 10021 rm -f conftest.er1
9372 cat conftest.err >&5 10022 cat conftest.err >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); } && 10024 (exit $ac_status); } &&
9375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9377 (eval $ac_try) 2>&5 10027 (eval $ac_try) 2>&5
9378 ac_status=$? 10028 ac_status=$?
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); }; } && 10030 (exit $ac_status); }; } &&
9434 grep -v '^ *+' conftest.er1 >conftest.err 10084 grep -v '^ *+' conftest.er1 >conftest.err
9435 rm -f conftest.er1 10085 rm -f conftest.er1
9436 cat conftest.err >&5 10086 cat conftest.err >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } && 10088 (exit $ac_status); } &&
9439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10089 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 (eval $ac_try) 2>&5 10091 (eval $ac_try) 2>&5
9442 ac_status=$? 10092 ac_status=$?
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; } && 10094 (exit $ac_status); }; } &&
9531 grep -v '^ *+' conftest.er1 >conftest.err 10181 grep -v '^ *+' conftest.er1 >conftest.err
9532 rm -f conftest.er1 10182 rm -f conftest.er1
9533 cat conftest.err >&5 10183 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && 10185 (exit $ac_status); } &&
9536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 (eval $ac_try) 2>&5 10188 (eval $ac_try) 2>&5
9539 ac_status=$? 10189 ac_status=$?
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; } && 10191 (exit $ac_status); }; } &&
9595 grep -v '^ *+' conftest.er1 >conftest.err 10245 grep -v '^ *+' conftest.er1 >conftest.err
9596 rm -f conftest.er1 10246 rm -f conftest.er1
9597 cat conftest.err >&5 10247 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && 10249 (exit $ac_status); } &&
9600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602 (eval $ac_try) 2>&5 10252 (eval $ac_try) 2>&5
9603 ac_status=$? 10253 ac_status=$?
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); }; } && 10255 (exit $ac_status); }; } &&
9692 grep -v '^ *+' conftest.er1 >conftest.err 10342 grep -v '^ *+' conftest.er1 >conftest.err
9693 rm -f conftest.er1 10343 rm -f conftest.er1
9694 cat conftest.err >&5 10344 cat conftest.err >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } && 10346 (exit $ac_status); } &&
9697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 (eval $ac_try) 2>&5 10349 (eval $ac_try) 2>&5
9700 ac_status=$? 10350 ac_status=$?
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); }; } && 10352 (exit $ac_status); }; } &&
9756 grep -v '^ *+' conftest.er1 >conftest.err 10406 grep -v '^ *+' conftest.er1 >conftest.err
9757 rm -f conftest.er1 10407 rm -f conftest.er1
9758 cat conftest.err >&5 10408 cat conftest.err >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } && 10410 (exit $ac_status); } &&
9761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 (eval $ac_try) 2>&5 10413 (eval $ac_try) 2>&5
9764 ac_status=$? 10414 ac_status=$?
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; } && 10416 (exit $ac_status); }; } &&
9835 grep -v '^ *+' conftest.er1 >conftest.err 10485 grep -v '^ *+' conftest.er1 >conftest.err
9836 rm -f conftest.er1 10486 rm -f conftest.er1
9837 cat conftest.err >&5 10487 cat conftest.err >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } && 10489 (exit $ac_status); } &&
9840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842 (eval $ac_try) 2>&5 10492 (eval $ac_try) 2>&5
9843 ac_status=$? 10493 ac_status=$?
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } && 10495 (exit $ac_status); }; } &&
9951 rm -f conftest.er1 10601 rm -f conftest.er1
9952 cat conftest.err >&5 10602 cat conftest.err >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); } >/dev/null; then 10604 (exit $ac_status); } >/dev/null; then
9955 if test -s conftest.err; then 10605 if test -s conftest.err; then
9956 ac_cpp_err=$ac_c_preproc_warn_flag 10606 ac_cpp_err=$ac_cxx_preproc_warn_flag
9957 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10607 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9958 else 10608 else
9959 ac_cpp_err= 10609 ac_cpp_err=
9960 fi 10610 fi
9961else 10611else
9962 ac_cpp_err=yes 10612 ac_cpp_err=yes
10051 grep -v '^ *+' conftest.er1 >conftest.err 10701 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1 10702 rm -f conftest.er1
10053 cat conftest.err >&5 10703 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && 10705 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10058 (eval $ac_try) 2>&5 10708 (eval $ac_try) 2>&5
10059 ac_status=$? 10709 ac_status=$?
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); }; } && 10711 (exit $ac_status); }; } &&
10163 rm -f conftest.er1 10813 rm -f conftest.er1
10164 cat conftest.err >&5 10814 cat conftest.err >&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); } >/dev/null; then 10816 (exit $ac_status); } >/dev/null; then
10167 if test -s conftest.err; then 10817 if test -s conftest.err; then
10168 ac_cpp_err=$ac_c_preproc_warn_flag 10818 ac_cpp_err=$ac_cxx_preproc_warn_flag
10169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10819 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10170 else 10820 else
10171 ac_cpp_err= 10821 ac_cpp_err=
10172 fi 10822 fi
10173else 10823else
10174 ac_cpp_err=yes 10824 ac_cpp_err=yes
10265 grep -v '^ *+' conftest.er1 >conftest.err 10915 grep -v '^ *+' conftest.er1 >conftest.err
10266 rm -f conftest.er1 10916 rm -f conftest.er1
10267 cat conftest.err >&5 10917 cat conftest.err >&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } && 10919 (exit $ac_status); } &&
10270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5 10922 (eval $ac_try) 2>&5
10273 ac_status=$? 10923 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; } && 10925 (exit $ac_status); }; } &&
10295cat >>confdefs.h <<\_ACEOF 10945cat >>confdefs.h <<\_ACEOF
10296#define HAVE_SYS_WAIT_H 1 10946#define HAVE_SYS_WAIT_H 1
10297_ACEOF 10947_ACEOF
10298 10948
10299fi 10949fi
10950
10300 10951
10301 10952
10302 10953
10303 10954
10304 10955
10331 sys/byteorder.h \ 10982 sys/byteorder.h \
10332 sys/ioctl.h \ 10983 sys/ioctl.h \
10333 sys/select.h \ 10984 sys/select.h \
10334 sys/sockio.h \ 10985 sys/sockio.h \
10335 sys/strredir.h \ 10986 sys/strredir.h \
10987 sys/stropts.h \
10336 sys/time.h \ 10988 sys/time.h \
10337 utmp.h \ 10989 utmp.h \
10338 utmpx.h \ 10990 utmpx.h \
10339 stdint.h \ 10991 stdint.h \
10340 10992
10368 grep -v '^ *+' conftest.er1 >conftest.err 11020 grep -v '^ *+' conftest.er1 >conftest.err
10369 rm -f conftest.er1 11021 rm -f conftest.er1
10370 cat conftest.err >&5 11022 cat conftest.err >&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); } && 11024 (exit $ac_status); } &&
10373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10375 (eval $ac_try) 2>&5 11027 (eval $ac_try) 2>&5
10376 ac_status=$? 11028 ac_status=$?
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); }; } && 11030 (exit $ac_status); }; } &&
10411 rm -f conftest.er1 11063 rm -f conftest.er1
10412 cat conftest.err >&5 11064 cat conftest.err >&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); } >/dev/null; then 11066 (exit $ac_status); } >/dev/null; then
10415 if test -s conftest.err; then 11067 if test -s conftest.err; then
10416 ac_cpp_err=$ac_c_preproc_warn_flag 11068 ac_cpp_err=$ac_cxx_preproc_warn_flag
10417 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 11069 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10418 else 11070 else
10419 ac_cpp_err= 11071 ac_cpp_err=
10420 fi 11072 fi
10421else 11073else
10422 ac_cpp_err=yes 11074 ac_cpp_err=yes
10432rm -f conftest.err conftest.$ac_ext 11084rm -f conftest.err conftest.$ac_ext
10433echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11085echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10434echo "${ECHO_T}$ac_header_preproc" >&6 11086echo "${ECHO_T}$ac_header_preproc" >&6
10435 11087
10436# So? What about this header? 11088# So? What about this header?
10437case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11089case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10438 yes:no: ) 11090 yes:no: )
10439 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10440echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11092echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10442echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11094echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10517 grep -v '^ *+' conftest.er1 >conftest.err 11169 grep -v '^ *+' conftest.er1 >conftest.err
10518 rm -f conftest.er1 11170 rm -f conftest.er1
10519 cat conftest.err >&5 11171 cat conftest.err >&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } && 11173 (exit $ac_status); } &&
10522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11174 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5 11176 (eval $ac_try) 2>&5
10525 ac_status=$? 11177 ac_status=$?
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; } && 11179 (exit $ac_status); }; } &&
10582 grep -v '^ *+' conftest.er1 >conftest.err 11234 grep -v '^ *+' conftest.er1 >conftest.err
10583 rm -f conftest.er1 11235 rm -f conftest.er1
10584 cat conftest.err >&5 11236 cat conftest.err >&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } && 11238 (exit $ac_status); } &&
10587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5 11241 (eval $ac_try) 2>&5
10590 ac_status=$? 11242 ac_status=$?
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; } && 11244 (exit $ac_status); }; } &&
10747 grep -v '^ *+' conftest.er1 >conftest.err 11399 grep -v '^ *+' conftest.er1 >conftest.err
10748 rm -f conftest.er1 11400 rm -f conftest.er1
10749 cat conftest.err >&5 11401 cat conftest.err >&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } && 11403 (exit $ac_status); } &&
10752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5 11406 (eval $ac_try) 2>&5
10755 ac_status=$? 11407 ac_status=$?
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; } && 11409 (exit $ac_status); }; } &&
10856 grep -v '^ *+' conftest.er1 >conftest.err 11508 grep -v '^ *+' conftest.er1 >conftest.err
10857 rm -f conftest.er1 11509 rm -f conftest.er1
10858 cat conftest.err >&5 11510 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } && 11512 (exit $ac_status); } &&
10861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10863 (eval $ac_try) 2>&5 11515 (eval $ac_try) 2>&5
10864 ac_status=$? 11516 ac_status=$?
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; } && 11518 (exit $ac_status); }; } &&
10916 grep -v '^ *+' conftest.er1 >conftest.err 11568 grep -v '^ *+' conftest.er1 >conftest.err
10917 rm -f conftest.er1 11569 rm -f conftest.er1
10918 cat conftest.err >&5 11570 cat conftest.err >&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } && 11572 (exit $ac_status); } &&
10921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5 11575 (eval $ac_try) 2>&5
10924 ac_status=$? 11576 ac_status=$?
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; } && 11578 (exit $ac_status); }; } &&
10991 grep -v '^ *+' conftest.er1 >conftest.err 11643 grep -v '^ *+' conftest.er1 >conftest.err
10992 rm -f conftest.er1 11644 rm -f conftest.er1
10993 cat conftest.err >&5 11645 cat conftest.err >&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } && 11647 (exit $ac_status); } &&
10996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5 11650 (eval $ac_try) 2>&5
10999 ac_status=$? 11651 ac_status=$?
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }; } && 11653 (exit $ac_status); }; } &&
11056 grep -v '^ *+' conftest.er1 >conftest.err 11708 grep -v '^ *+' conftest.er1 >conftest.err
11057 rm -f conftest.er1 11709 rm -f conftest.er1
11058 cat conftest.err >&5 11710 cat conftest.err >&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } && 11712 (exit $ac_status); } &&
11061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11713 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5 11715 (eval $ac_try) 2>&5
11064 ac_status=$? 11716 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; } && 11718 (exit $ac_status); }; } &&
11126cat >>confdefs.h <<\_ACEOF 11778cat >>confdefs.h <<\_ACEOF
11127#define gid_t int 11779#define gid_t int
11128_ACEOF 11780_ACEOF
11129 11781
11130fi 11782fi
11131
11132
11133
11134echo "$as_me:$LINENO: checking for char" >&5
11135echo $ECHO_N "checking for char... $ECHO_C" >&6
11136if test "${ac_cv_type_char+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6
11138else
11139 cat >conftest.$ac_ext <<_ACEOF
11140/* confdefs.h. */
11141_ACEOF
11142cat confdefs.h >>conftest.$ac_ext
11143cat >>conftest.$ac_ext <<_ACEOF
11144/* end confdefs.h. */
11145$ac_includes_default
11146int
11147main ()
11148{
11149if ((char *) 0)
11150 return 0;
11151if (sizeof (char))
11152 return 0;
11153 ;
11154 return 0;
11155}
11156_ACEOF
11157rm -f conftest.$ac_objext
11158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11159 (eval $ac_compile) 2>conftest.er1
11160 ac_status=$?
11161 grep -v '^ *+' conftest.er1 >conftest.err
11162 rm -f conftest.er1
11163 cat conftest.err >&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); } &&
11166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11168 (eval $ac_try) 2>&5
11169 ac_status=$?
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); }; } &&
11172 { ac_try='test -s conftest.$ac_objext'
11173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11174 (eval $ac_try) 2>&5
11175 ac_status=$?
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); }; }; then
11178 ac_cv_type_char=yes
11179else
11180 echo "$as_me: failed program was:" >&5
11181sed 's/^/| /' conftest.$ac_ext >&5
11182
11183ac_cv_type_char=no
11184fi
11185rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11186fi
11187echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
11188echo "${ECHO_T}$ac_cv_type_char" >&6
11189
11190echo "$as_me:$LINENO: checking size of char" >&5
11191echo $ECHO_N "checking size of char... $ECHO_C" >&6
11192if test "${ac_cv_sizeof_char+set}" = set; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11194else
11195 if test "$ac_cv_type_char" = yes; then
11196 # The cast to unsigned long works around a bug in the HP C Compiler
11197 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11198 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11199 # This bug is HP SR number 8606223364.
11200 if test "$cross_compiling" = yes; then
11201 # Depending upon the size, compute the lo and hi bounds.
11202cat >conftest.$ac_ext <<_ACEOF
11203/* confdefs.h. */
11204_ACEOF
11205cat confdefs.h >>conftest.$ac_ext
11206cat >>conftest.$ac_ext <<_ACEOF
11207/* end confdefs.h. */
11208$ac_includes_default
11209int
11210main ()
11211{
11212static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
11213test_array [0] = 0
11214
11215 ;
11216 return 0;
11217}
11218_ACEOF
11219rm -f conftest.$ac_objext
11220if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11221 (eval $ac_compile) 2>conftest.er1
11222 ac_status=$?
11223 grep -v '^ *+' conftest.er1 >conftest.err
11224 rm -f conftest.er1
11225 cat conftest.err >&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } &&
11228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11231 ac_status=$?
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try='test -s conftest.$ac_objext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11237 ac_status=$?
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 ac_lo=0 ac_mid=0
11241 while :; do
11242 cat >conftest.$ac_ext <<_ACEOF
11243/* confdefs.h. */
11244_ACEOF
11245cat confdefs.h >>conftest.$ac_ext
11246cat >>conftest.$ac_ext <<_ACEOF
11247/* end confdefs.h. */
11248$ac_includes_default
11249int
11250main ()
11251{
11252static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11253test_array [0] = 0
11254
11255 ;
11256 return 0;
11257}
11258_ACEOF
11259rm -f conftest.$ac_objext
11260if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>conftest.er1
11262 ac_status=$?
11263 grep -v '^ *+' conftest.er1 >conftest.err
11264 rm -f conftest.er1
11265 cat conftest.err >&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11271 ac_status=$?
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; } &&
11274 { ac_try='test -s conftest.$ac_objext'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11277 ac_status=$?
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; }; then
11280 ac_hi=$ac_mid; break
11281else
11282 echo "$as_me: failed program was:" >&5
11283sed 's/^/| /' conftest.$ac_ext >&5
11284
11285ac_lo=`expr $ac_mid + 1`
11286 if test $ac_lo -le $ac_mid; then
11287 ac_lo= ac_hi=
11288 break
11289 fi
11290 ac_mid=`expr 2 '*' $ac_mid + 1`
11291fi
11292rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11293 done
11294else
11295 echo "$as_me: failed program was:" >&5
11296sed 's/^/| /' conftest.$ac_ext >&5
11297
11298cat >conftest.$ac_ext <<_ACEOF
11299/* confdefs.h. */
11300_ACEOF
11301cat confdefs.h >>conftest.$ac_ext
11302cat >>conftest.$ac_ext <<_ACEOF
11303/* end confdefs.h. */
11304$ac_includes_default
11305int
11306main ()
11307{
11308static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
11309test_array [0] = 0
11310
11311 ;
11312 return 0;
11313}
11314_ACEOF
11315rm -f conftest.$ac_objext
11316if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11317 (eval $ac_compile) 2>conftest.er1
11318 ac_status=$?
11319 grep -v '^ *+' conftest.er1 >conftest.err
11320 rm -f conftest.er1
11321 cat conftest.err >&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); } &&
11324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326 (eval $ac_try) 2>&5
11327 ac_status=$?
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); }; } &&
11330 { ac_try='test -s conftest.$ac_objext'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11333 ac_status=$?
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; }; then
11336 ac_hi=-1 ac_mid=-1
11337 while :; do
11338 cat >conftest.$ac_ext <<_ACEOF
11339/* confdefs.h. */
11340_ACEOF
11341cat confdefs.h >>conftest.$ac_ext
11342cat >>conftest.$ac_ext <<_ACEOF
11343/* end confdefs.h. */
11344$ac_includes_default
11345int
11346main ()
11347{
11348static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
11349test_array [0] = 0
11350
11351 ;
11352 return 0;
11353}
11354_ACEOF
11355rm -f conftest.$ac_objext
11356if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11357 (eval $ac_compile) 2>conftest.er1
11358 ac_status=$?
11359 grep -v '^ *+' conftest.er1 >conftest.err
11360 rm -f conftest.er1
11361 cat conftest.err >&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); } &&
11364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11367 ac_status=$?
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; } &&
11370 { ac_try='test -s conftest.$ac_objext'
11371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11372 (eval $ac_try) 2>&5
11373 ac_status=$?
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; }; then
11376 ac_lo=$ac_mid; break
11377else
11378 echo "$as_me: failed program was:" >&5
11379sed 's/^/| /' conftest.$ac_ext >&5
11380
11381ac_hi=`expr '(' $ac_mid ')' - 1`
11382 if test $ac_mid -le $ac_hi; then
11383 ac_lo= ac_hi=
11384 break
11385 fi
11386 ac_mid=`expr 2 '*' $ac_mid`
11387fi
11388rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11389 done
11390else
11391 echo "$as_me: failed program was:" >&5
11392sed 's/^/| /' conftest.$ac_ext >&5
11393
11394ac_lo= ac_hi=
11395fi
11396rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11397fi
11398rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11399# Binary search between lo and hi bounds.
11400while test "x$ac_lo" != "x$ac_hi"; do
11401 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11402 cat >conftest.$ac_ext <<_ACEOF
11403/* confdefs.h. */
11404_ACEOF
11405cat confdefs.h >>conftest.$ac_ext
11406cat >>conftest.$ac_ext <<_ACEOF
11407/* end confdefs.h. */
11408$ac_includes_default
11409int
11410main ()
11411{
11412static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11413test_array [0] = 0
11414
11415 ;
11416 return 0;
11417}
11418_ACEOF
11419rm -f conftest.$ac_objext
11420if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11421 (eval $ac_compile) 2>conftest.er1
11422 ac_status=$?
11423 grep -v '^ *+' conftest.er1 >conftest.err
11424 rm -f conftest.er1
11425 cat conftest.err >&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); } &&
11428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11431 ac_status=$?
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; } &&
11434 { ac_try='test -s conftest.$ac_objext'
11435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11436 (eval $ac_try) 2>&5
11437 ac_status=$?
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); }; }; then
11440 ac_hi=$ac_mid
11441else
11442 echo "$as_me: failed program was:" >&5
11443sed 's/^/| /' conftest.$ac_ext >&5
11444
11445ac_lo=`expr '(' $ac_mid ')' + 1`
11446fi
11447rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11448done
11449case $ac_lo in
11450?*) ac_cv_sizeof_char=$ac_lo;;
11451'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11452See \`config.log' for more details." >&5
11453echo "$as_me: error: cannot compute sizeof (char), 77
11454See \`config.log' for more details." >&2;}
11455 { (exit 1); exit 1; }; } ;;
11456esac
11457else
11458 if test "$cross_compiling" = yes; then
11459 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11460See \`config.log' for more details." >&5
11461echo "$as_me: error: cannot run test program while cross compiling
11462See \`config.log' for more details." >&2;}
11463 { (exit 1); exit 1; }; }
11464else
11465 cat >conftest.$ac_ext <<_ACEOF
11466/* confdefs.h. */
11467_ACEOF
11468cat confdefs.h >>conftest.$ac_ext
11469cat >>conftest.$ac_ext <<_ACEOF
11470/* end confdefs.h. */
11471$ac_includes_default
11472long longval () { return (long) (sizeof (char)); }
11473unsigned long ulongval () { return (long) (sizeof (char)); }
11474#include <stdio.h>
11475#include <stdlib.h>
11476int
11477main ()
11478{
11479
11480 FILE *f = fopen ("conftest.val", "w");
11481 if (! f)
11482 exit (1);
11483 if (((long) (sizeof (char))) < 0)
11484 {
11485 long i = longval ();
11486 if (i != ((long) (sizeof (char))))
11487 exit (1);
11488 fprintf (f, "%ld\n", i);
11489 }
11490 else
11491 {
11492 unsigned long i = ulongval ();
11493 if (i != ((long) (sizeof (char))))
11494 exit (1);
11495 fprintf (f, "%lu\n", i);
11496 }
11497 exit (ferror (f) || fclose (f) != 0);
11498
11499 ;
11500 return 0;
11501}
11502_ACEOF
11503rm -f conftest$ac_exeext
11504if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11505 (eval $ac_link) 2>&5
11506 ac_status=$?
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11510 (eval $ac_try) 2>&5
11511 ac_status=$?
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); }; }; then
11514 ac_cv_sizeof_char=`cat conftest.val`
11515else
11516 echo "$as_me: program exited with status $ac_status" >&5
11517echo "$as_me: failed program was:" >&5
11518sed 's/^/| /' conftest.$ac_ext >&5
11519
11520( exit $ac_status )
11521{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11522See \`config.log' for more details." >&5
11523echo "$as_me: error: cannot compute sizeof (char), 77
11524See \`config.log' for more details." >&2;}
11525 { (exit 1); exit 1; }; }
11526fi
11527rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11528fi
11529fi
11530rm -f conftest.val
11531else
11532 ac_cv_sizeof_char=0
11533fi
11534fi
11535echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
11536echo "${ECHO_T}$ac_cv_sizeof_char" >&6
11537cat >>confdefs.h <<_ACEOF
11538#define SIZEOF_CHAR $ac_cv_sizeof_char
11539_ACEOF
11540 11783
11541 11784
11542echo "$as_me:$LINENO: checking for short" >&5 11785echo "$as_me:$LINENO: checking for short" >&5
11543echo $ECHO_N "checking for short... $ECHO_C" >&6 11786echo $ECHO_N "checking for short... $ECHO_C" >&6
11544if test "${ac_cv_type_short+set}" = set; then 11787if test "${ac_cv_type_short+set}" = set; then
11569 grep -v '^ *+' conftest.er1 >conftest.err 11812 grep -v '^ *+' conftest.er1 >conftest.err
11570 rm -f conftest.er1 11813 rm -f conftest.er1
11571 cat conftest.err >&5 11814 cat conftest.err >&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } && 11816 (exit $ac_status); } &&
11574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5 11819 (eval $ac_try) 2>&5
11577 ac_status=$? 11820 ac_status=$?
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; } && 11822 (exit $ac_status); }; } &&
11631 grep -v '^ *+' conftest.er1 >conftest.err 11874 grep -v '^ *+' conftest.er1 >conftest.err
11632 rm -f conftest.er1 11875 rm -f conftest.er1
11633 cat conftest.err >&5 11876 cat conftest.err >&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } && 11878 (exit $ac_status); } &&
11636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5 11881 (eval $ac_try) 2>&5
11639 ac_status=$? 11882 ac_status=$?
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; } && 11884 (exit $ac_status); }; } &&
11671 grep -v '^ *+' conftest.er1 >conftest.err 11914 grep -v '^ *+' conftest.er1 >conftest.err
11672 rm -f conftest.er1 11915 rm -f conftest.er1
11673 cat conftest.err >&5 11916 cat conftest.err >&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } && 11918 (exit $ac_status); } &&
11676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5 11921 (eval $ac_try) 2>&5
11679 ac_status=$? 11922 ac_status=$?
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; } && 11924 (exit $ac_status); }; } &&
11727 grep -v '^ *+' conftest.er1 >conftest.err 11970 grep -v '^ *+' conftest.er1 >conftest.err
11728 rm -f conftest.er1 11971 rm -f conftest.er1
11729 cat conftest.err >&5 11972 cat conftest.err >&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } && 11974 (exit $ac_status); } &&
11732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5 11977 (eval $ac_try) 2>&5
11735 ac_status=$? 11978 ac_status=$?
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; } && 11980 (exit $ac_status); }; } &&
11767 grep -v '^ *+' conftest.er1 >conftest.err 12010 grep -v '^ *+' conftest.er1 >conftest.err
11768 rm -f conftest.er1 12011 rm -f conftest.er1
11769 cat conftest.err >&5 12012 cat conftest.err >&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); } && 12014 (exit $ac_status); } &&
11772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774 (eval $ac_try) 2>&5 12017 (eval $ac_try) 2>&5
11775 ac_status=$? 12018 ac_status=$?
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }; } && 12020 (exit $ac_status); }; } &&
11831 grep -v '^ *+' conftest.er1 >conftest.err 12074 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1 12075 rm -f conftest.er1
11833 cat conftest.err >&5 12076 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && 12078 (exit $ac_status); } &&
11836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5 12081 (eval $ac_try) 2>&5
11839 ac_status=$? 12082 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } && 12084 (exit $ac_status); }; } &&
11862See \`config.log' for more details." >&2;} 12105See \`config.log' for more details." >&2;}
11863 { (exit 1); exit 1; }; } ;; 12106 { (exit 1); exit 1; }; } ;;
11864esac 12107esac
11865else 12108else
11866 if test "$cross_compiling" = yes; then 12109 if test "$cross_compiling" = yes; then
11867 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 12110 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11868See \`config.log' for more details." >&5 12111echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11869echo "$as_me: error: cannot run test program while cross compiling
11870See \`config.log' for more details." >&2;}
11871 { (exit 1); exit 1; }; } 12112 { (exit 1); exit 1; }; }
11872else 12113else
11873 cat >conftest.$ac_ext <<_ACEOF 12114 cat >conftest.$ac_ext <<_ACEOF
11874/* confdefs.h. */ 12115/* confdefs.h. */
11875_ACEOF 12116_ACEOF
11977 grep -v '^ *+' conftest.er1 >conftest.err 12218 grep -v '^ *+' conftest.er1 >conftest.err
11978 rm -f conftest.er1 12219 rm -f conftest.er1
11979 cat conftest.err >&5 12220 cat conftest.err >&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } && 12222 (exit $ac_status); } &&
11982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11984 (eval $ac_try) 2>&5 12225 (eval $ac_try) 2>&5
11985 ac_status=$? 12226 ac_status=$?
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); }; } && 12228 (exit $ac_status); }; } &&
12039 grep -v '^ *+' conftest.er1 >conftest.err 12280 grep -v '^ *+' conftest.er1 >conftest.err
12040 rm -f conftest.er1 12281 rm -f conftest.er1
12041 cat conftest.err >&5 12282 cat conftest.err >&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } && 12284 (exit $ac_status); } &&
12044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5 12287 (eval $ac_try) 2>&5
12047 ac_status=$? 12288 ac_status=$?
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } && 12290 (exit $ac_status); }; } &&
12079 grep -v '^ *+' conftest.er1 >conftest.err 12320 grep -v '^ *+' conftest.er1 >conftest.err
12080 rm -f conftest.er1 12321 rm -f conftest.er1
12081 cat conftest.err >&5 12322 cat conftest.err >&5
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); } && 12324 (exit $ac_status); } &&
12084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12325 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12086 (eval $ac_try) 2>&5 12327 (eval $ac_try) 2>&5
12087 ac_status=$? 12328 ac_status=$?
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; } && 12330 (exit $ac_status); }; } &&
12135 grep -v '^ *+' conftest.er1 >conftest.err 12376 grep -v '^ *+' conftest.er1 >conftest.err
12136 rm -f conftest.er1 12377 rm -f conftest.er1
12137 cat conftest.err >&5 12378 cat conftest.err >&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); } && 12380 (exit $ac_status); } &&
12140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12381 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5 12383 (eval $ac_try) 2>&5
12143 ac_status=$? 12384 ac_status=$?
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; } && 12386 (exit $ac_status); }; } &&
12175 grep -v '^ *+' conftest.er1 >conftest.err 12416 grep -v '^ *+' conftest.er1 >conftest.err
12176 rm -f conftest.er1 12417 rm -f conftest.er1
12177 cat conftest.err >&5 12418 cat conftest.err >&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && 12420 (exit $ac_status); } &&
12180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12182 (eval $ac_try) 2>&5 12423 (eval $ac_try) 2>&5
12183 ac_status=$? 12424 ac_status=$?
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }; } && 12426 (exit $ac_status); }; } &&
12239 grep -v '^ *+' conftest.er1 >conftest.err 12480 grep -v '^ *+' conftest.er1 >conftest.err
12240 rm -f conftest.er1 12481 rm -f conftest.er1
12241 cat conftest.err >&5 12482 cat conftest.err >&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } && 12484 (exit $ac_status); } &&
12244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5 12487 (eval $ac_try) 2>&5
12247 ac_status=$? 12488 ac_status=$?
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; } && 12490 (exit $ac_status); }; } &&
12270See \`config.log' for more details." >&2;} 12511See \`config.log' for more details." >&2;}
12271 { (exit 1); exit 1; }; } ;; 12512 { (exit 1); exit 1; }; } ;;
12272esac 12513esac
12273else 12514else
12274 if test "$cross_compiling" = yes; then 12515 if test "$cross_compiling" = yes; then
12275 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 12516 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
12276See \`config.log' for more details." >&5 12517echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
12277echo "$as_me: error: cannot run test program while cross compiling
12278See \`config.log' for more details." >&2;}
12279 { (exit 1); exit 1; }; } 12518 { (exit 1); exit 1; }; }
12280else 12519else
12281 cat >conftest.$ac_ext <<_ACEOF 12520 cat >conftest.$ac_ext <<_ACEOF
12282/* confdefs.h. */ 12521/* confdefs.h. */
12283_ACEOF 12522_ACEOF
12353cat >>confdefs.h <<_ACEOF 12592cat >>confdefs.h <<_ACEOF
12354#define SIZEOF_INT $ac_cv_sizeof_int 12593#define SIZEOF_INT $ac_cv_sizeof_int
12355_ACEOF 12594_ACEOF
12356 12595
12357 12596
12358echo "$as_me:$LINENO: checking for long" >&5
12359echo $ECHO_N "checking for long... $ECHO_C" >&6
12360if test "${ac_cv_type_long+set}" = set; then
12361 echo $ECHO_N "(cached) $ECHO_C" >&6
12362else
12363 cat >conftest.$ac_ext <<_ACEOF
12364/* confdefs.h. */
12365_ACEOF
12366cat confdefs.h >>conftest.$ac_ext
12367cat >>conftest.$ac_ext <<_ACEOF
12368/* end confdefs.h. */
12369$ac_includes_default
12370int
12371main ()
12372{
12373if ((long *) 0)
12374 return 0;
12375if (sizeof (long))
12376 return 0;
12377 ;
12378 return 0;
12379}
12380_ACEOF
12381rm -f conftest.$ac_objext
12382if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12383 (eval $ac_compile) 2>conftest.er1
12384 ac_status=$?
12385 grep -v '^ *+' conftest.er1 >conftest.err
12386 rm -f conftest.er1
12387 cat conftest.err >&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); } &&
12390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12393 ac_status=$?
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; } &&
12396 { ac_try='test -s conftest.$ac_objext'
12397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12398 (eval $ac_try) 2>&5
12399 ac_status=$?
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); }; }; then
12402 ac_cv_type_long=yes
12403else
12404 echo "$as_me: failed program was:" >&5
12405sed 's/^/| /' conftest.$ac_ext >&5
12406
12407ac_cv_type_long=no
12408fi
12409rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12410fi
12411echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12412echo "${ECHO_T}$ac_cv_type_long" >&6
12413
12414echo "$as_me:$LINENO: checking size of long" >&5
12415echo $ECHO_N "checking size of long... $ECHO_C" >&6
12416if test "${ac_cv_sizeof_long+set}" = set; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12418else
12419 if test "$ac_cv_type_long" = yes; then
12420 # The cast to unsigned long works around a bug in the HP C Compiler
12421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12423 # This bug is HP SR number 8606223364.
12424 if test "$cross_compiling" = yes; then
12425 # Depending upon the size, compute the lo and hi bounds.
12426cat >conftest.$ac_ext <<_ACEOF
12427/* confdefs.h. */
12428_ACEOF
12429cat confdefs.h >>conftest.$ac_ext
12430cat >>conftest.$ac_ext <<_ACEOF
12431/* end confdefs.h. */
12432$ac_includes_default
12433int
12434main ()
12435{
12436static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12437test_array [0] = 0
12438
12439 ;
12440 return 0;
12441}
12442_ACEOF
12443rm -f conftest.$ac_objext
12444if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12445 (eval $ac_compile) 2>conftest.er1
12446 ac_status=$?
12447 grep -v '^ *+' conftest.er1 >conftest.err
12448 rm -f conftest.er1
12449 cat conftest.err >&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12455 ac_status=$?
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; } &&
12458 { ac_try='test -s conftest.$ac_objext'
12459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460 (eval $ac_try) 2>&5
12461 ac_status=$?
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; }; then
12464 ac_lo=0 ac_mid=0
12465 while :; do
12466 cat >conftest.$ac_ext <<_ACEOF
12467/* confdefs.h. */
12468_ACEOF
12469cat confdefs.h >>conftest.$ac_ext
12470cat >>conftest.$ac_ext <<_ACEOF
12471/* end confdefs.h. */
12472$ac_includes_default
12473int
12474main ()
12475{
12476static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12477test_array [0] = 0
12478
12479 ;
12480 return 0;
12481}
12482_ACEOF
12483rm -f conftest.$ac_objext
12484if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12485 (eval $ac_compile) 2>conftest.er1
12486 ac_status=$?
12487 grep -v '^ *+' conftest.er1 >conftest.err
12488 rm -f conftest.er1
12489 cat conftest.err >&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); } &&
12492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12495 ac_status=$?
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; } &&
12498 { ac_try='test -s conftest.$ac_objext'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 ac_hi=$ac_mid; break
12505else
12506 echo "$as_me: failed program was:" >&5
12507sed 's/^/| /' conftest.$ac_ext >&5
12508
12509ac_lo=`expr $ac_mid + 1`
12510 if test $ac_lo -le $ac_mid; then
12511 ac_lo= ac_hi=
12512 break
12513 fi
12514 ac_mid=`expr 2 '*' $ac_mid + 1`
12515fi
12516rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12517 done
12518else
12519 echo "$as_me: failed program was:" >&5
12520sed 's/^/| /' conftest.$ac_ext >&5
12521
12522cat >conftest.$ac_ext <<_ACEOF
12523/* confdefs.h. */
12524_ACEOF
12525cat confdefs.h >>conftest.$ac_ext
12526cat >>conftest.$ac_ext <<_ACEOF
12527/* end confdefs.h. */
12528$ac_includes_default
12529int
12530main ()
12531{
12532static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12533test_array [0] = 0
12534
12535 ;
12536 return 0;
12537}
12538_ACEOF
12539rm -f conftest.$ac_objext
12540if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>conftest.er1
12542 ac_status=$?
12543 grep -v '^ *+' conftest.er1 >conftest.err
12544 rm -f conftest.er1
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try='test -s conftest.$ac_objext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12557 ac_status=$?
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_hi=-1 ac_mid=-1
12561 while :; do
12562 cat >conftest.$ac_ext <<_ACEOF
12563/* confdefs.h. */
12564_ACEOF
12565cat confdefs.h >>conftest.$ac_ext
12566cat >>conftest.$ac_ext <<_ACEOF
12567/* end confdefs.h. */
12568$ac_includes_default
12569int
12570main ()
12571{
12572static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12573test_array [0] = 0
12574
12575 ;
12576 return 0;
12577}
12578_ACEOF
12579rm -f conftest.$ac_objext
12580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12581 (eval $ac_compile) 2>conftest.er1
12582 ac_status=$?
12583 grep -v '^ *+' conftest.er1 >conftest.err
12584 rm -f conftest.er1
12585 cat conftest.err >&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } &&
12588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12591 ac_status=$?
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; } &&
12594 { ac_try='test -s conftest.$ac_objext'
12595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12596 (eval $ac_try) 2>&5
12597 ac_status=$?
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); }; }; then
12600 ac_lo=$ac_mid; break
12601else
12602 echo "$as_me: failed program was:" >&5
12603sed 's/^/| /' conftest.$ac_ext >&5
12604
12605ac_hi=`expr '(' $ac_mid ')' - 1`
12606 if test $ac_mid -le $ac_hi; then
12607 ac_lo= ac_hi=
12608 break
12609 fi
12610 ac_mid=`expr 2 '*' $ac_mid`
12611fi
12612rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12613 done
12614else
12615 echo "$as_me: failed program was:" >&5
12616sed 's/^/| /' conftest.$ac_ext >&5
12617
12618ac_lo= ac_hi=
12619fi
12620rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12621fi
12622rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12623# Binary search between lo and hi bounds.
12624while test "x$ac_lo" != "x$ac_hi"; do
12625 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12626 cat >conftest.$ac_ext <<_ACEOF
12627/* confdefs.h. */
12628_ACEOF
12629cat confdefs.h >>conftest.$ac_ext
12630cat >>conftest.$ac_ext <<_ACEOF
12631/* end confdefs.h. */
12632$ac_includes_default
12633int
12634main ()
12635{
12636static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12637test_array [0] = 0
12638
12639 ;
12640 return 0;
12641}
12642_ACEOF
12643rm -f conftest.$ac_objext
12644if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12645 (eval $ac_compile) 2>conftest.er1
12646 ac_status=$?
12647 grep -v '^ *+' conftest.er1 >conftest.err
12648 rm -f conftest.er1
12649 cat conftest.err >&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); } &&
12652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12655 ac_status=$?
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); }; } &&
12658 { ac_try='test -s conftest.$ac_objext'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12664 ac_hi=$ac_mid
12665else
12666 echo "$as_me: failed program was:" >&5
12667sed 's/^/| /' conftest.$ac_ext >&5
12668
12669ac_lo=`expr '(' $ac_mid ')' + 1`
12670fi
12671rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12672done
12673case $ac_lo in
12674?*) ac_cv_sizeof_long=$ac_lo;;
12675'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12676See \`config.log' for more details." >&5
12677echo "$as_me: error: cannot compute sizeof (long), 77
12678See \`config.log' for more details." >&2;}
12679 { (exit 1); exit 1; }; } ;;
12680esac
12681else
12682 if test "$cross_compiling" = yes; then
12683 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12684See \`config.log' for more details." >&5
12685echo "$as_me: error: cannot run test program while cross compiling
12686See \`config.log' for more details." >&2;}
12687 { (exit 1); exit 1; }; }
12688else
12689 cat >conftest.$ac_ext <<_ACEOF
12690/* confdefs.h. */
12691_ACEOF
12692cat confdefs.h >>conftest.$ac_ext
12693cat >>conftest.$ac_ext <<_ACEOF
12694/* end confdefs.h. */
12695$ac_includes_default
12696long longval () { return (long) (sizeof (long)); }
12697unsigned long ulongval () { return (long) (sizeof (long)); }
12698#include <stdio.h>
12699#include <stdlib.h>
12700int
12701main ()
12702{
12703
12704 FILE *f = fopen ("conftest.val", "w");
12705 if (! f)
12706 exit (1);
12707 if (((long) (sizeof (long))) < 0)
12708 {
12709 long i = longval ();
12710 if (i != ((long) (sizeof (long))))
12711 exit (1);
12712 fprintf (f, "%ld\n", i);
12713 }
12714 else
12715 {
12716 unsigned long i = ulongval ();
12717 if (i != ((long) (sizeof (long))))
12718 exit (1);
12719 fprintf (f, "%lu\n", i);
12720 }
12721 exit (ferror (f) || fclose (f) != 0);
12722
12723 ;
12724 return 0;
12725}
12726_ACEOF
12727rm -f conftest$ac_exeext
12728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12729 (eval $ac_link) 2>&5
12730 ac_status=$?
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12734 (eval $ac_try) 2>&5
12735 ac_status=$?
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); }; }; then
12738 ac_cv_sizeof_long=`cat conftest.val`
12739else
12740 echo "$as_me: program exited with status $ac_status" >&5
12741echo "$as_me: failed program was:" >&5
12742sed 's/^/| /' conftest.$ac_ext >&5
12743
12744( exit $ac_status )
12745{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12746See \`config.log' for more details." >&5
12747echo "$as_me: error: cannot compute sizeof (long), 77
12748See \`config.log' for more details." >&2;}
12749 { (exit 1); exit 1; }; }
12750fi
12751rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12752fi
12753fi
12754rm -f conftest.val
12755else
12756 ac_cv_sizeof_long=0
12757fi
12758fi
12759echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12760echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12761cat >>confdefs.h <<_ACEOF
12762#define SIZEOF_LONG $ac_cv_sizeof_long
12763_ACEOF
12764
12765
12766echo "$as_me:$LINENO: checking for long long" >&5 12597echo "$as_me:$LINENO: checking for long long" >&5
12767echo $ECHO_N "checking for long long... $ECHO_C" >&6 12598echo $ECHO_N "checking for long long... $ECHO_C" >&6
12768if test "${ac_cv_type_long_long+set}" = set; then 12599if test "${ac_cv_type_long_long+set}" = set; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6 12600 echo $ECHO_N "(cached) $ECHO_C" >&6
12770else 12601else
12793 grep -v '^ *+' conftest.er1 >conftest.err 12624 grep -v '^ *+' conftest.er1 >conftest.err
12794 rm -f conftest.er1 12625 rm -f conftest.er1
12795 cat conftest.err >&5 12626 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && 12628 (exit $ac_status); } &&
12798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5 12631 (eval $ac_try) 2>&5
12801 ac_status=$? 12632 ac_status=$?
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; } && 12634 (exit $ac_status); }; } &&
12855 grep -v '^ *+' conftest.er1 >conftest.err 12686 grep -v '^ *+' conftest.er1 >conftest.err
12856 rm -f conftest.er1 12687 rm -f conftest.er1
12857 cat conftest.err >&5 12688 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } && 12690 (exit $ac_status); } &&
12860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5 12693 (eval $ac_try) 2>&5
12863 ac_status=$? 12694 ac_status=$?
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; } && 12696 (exit $ac_status); }; } &&
12895 grep -v '^ *+' conftest.er1 >conftest.err 12726 grep -v '^ *+' conftest.er1 >conftest.err
12896 rm -f conftest.er1 12727 rm -f conftest.er1
12897 cat conftest.err >&5 12728 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } && 12730 (exit $ac_status); } &&
12900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5 12733 (eval $ac_try) 2>&5
12903 ac_status=$? 12734 ac_status=$?
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; } && 12736 (exit $ac_status); }; } &&
12951 grep -v '^ *+' conftest.er1 >conftest.err 12782 grep -v '^ *+' conftest.er1 >conftest.err
12952 rm -f conftest.er1 12783 rm -f conftest.er1
12953 cat conftest.err >&5 12784 cat conftest.err >&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } && 12786 (exit $ac_status); } &&
12956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5 12789 (eval $ac_try) 2>&5
12959 ac_status=$? 12790 ac_status=$?
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; } && 12792 (exit $ac_status); }; } &&
12991 grep -v '^ *+' conftest.er1 >conftest.err 12822 grep -v '^ *+' conftest.er1 >conftest.err
12992 rm -f conftest.er1 12823 rm -f conftest.er1
12993 cat conftest.err >&5 12824 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } && 12826 (exit $ac_status); } &&
12996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5 12829 (eval $ac_try) 2>&5
12999 ac_status=$? 12830 ac_status=$?
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; } && 12832 (exit $ac_status); }; } &&
13055 grep -v '^ *+' conftest.er1 >conftest.err 12886 grep -v '^ *+' conftest.er1 >conftest.err
13056 rm -f conftest.er1 12887 rm -f conftest.er1
13057 cat conftest.err >&5 12888 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } && 12890 (exit $ac_status); } &&
13060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5 12893 (eval $ac_try) 2>&5
13063 ac_status=$? 12894 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } && 12896 (exit $ac_status); }; } &&
13086See \`config.log' for more details." >&2;} 12917See \`config.log' for more details." >&2;}
13087 { (exit 1); exit 1; }; } ;; 12918 { (exit 1); exit 1; }; } ;;
13088esac 12919esac
13089else 12920else
13090 if test "$cross_compiling" = yes; then 12921 if test "$cross_compiling" = yes; then
13091 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 12922 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13092See \`config.log' for more details." >&5 12923echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13093echo "$as_me: error: cannot run test program while cross compiling
13094See \`config.log' for more details." >&2;}
13095 { (exit 1); exit 1; }; } 12924 { (exit 1); exit 1; }; }
13096else 12925else
13097 cat >conftest.$ac_ext <<_ACEOF 12926 cat >conftest.$ac_ext <<_ACEOF
13098/* confdefs.h. */ 12927/* confdefs.h. */
13099_ACEOF 12928_ACEOF
13201 grep -v '^ *+' conftest.er1 >conftest.err 13030 grep -v '^ *+' conftest.er1 >conftest.err
13202 rm -f conftest.er1 13031 rm -f conftest.er1
13203 cat conftest.err >&5 13032 cat conftest.err >&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } && 13034 (exit $ac_status); } &&
13206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208 (eval $ac_try) 2>&5 13037 (eval $ac_try) 2>&5
13209 ac_status=$? 13038 ac_status=$?
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; } && 13040 (exit $ac_status); }; } &&
13263 grep -v '^ *+' conftest.er1 >conftest.err 13092 grep -v '^ *+' conftest.er1 >conftest.err
13264 rm -f conftest.er1 13093 rm -f conftest.er1
13265 cat conftest.err >&5 13094 cat conftest.err >&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); } && 13096 (exit $ac_status); } &&
13268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13097 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5 13099 (eval $ac_try) 2>&5
13271 ac_status=$? 13100 ac_status=$?
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; } && 13102 (exit $ac_status); }; } &&
13303 grep -v '^ *+' conftest.er1 >conftest.err 13132 grep -v '^ *+' conftest.er1 >conftest.err
13304 rm -f conftest.er1 13133 rm -f conftest.er1
13305 cat conftest.err >&5 13134 cat conftest.err >&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } && 13136 (exit $ac_status); } &&
13308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5 13139 (eval $ac_try) 2>&5
13311 ac_status=$? 13140 ac_status=$?
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } && 13142 (exit $ac_status); }; } &&
13359 grep -v '^ *+' conftest.er1 >conftest.err 13188 grep -v '^ *+' conftest.er1 >conftest.err
13360 rm -f conftest.er1 13189 rm -f conftest.er1
13361 cat conftest.err >&5 13190 cat conftest.err >&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } && 13192 (exit $ac_status); } &&
13364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13366 (eval $ac_try) 2>&5 13195 (eval $ac_try) 2>&5
13367 ac_status=$? 13196 ac_status=$?
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); }; } && 13198 (exit $ac_status); }; } &&
13399 grep -v '^ *+' conftest.er1 >conftest.err 13228 grep -v '^ *+' conftest.er1 >conftest.err
13400 rm -f conftest.er1 13229 rm -f conftest.er1
13401 cat conftest.err >&5 13230 cat conftest.err >&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); } && 13232 (exit $ac_status); } &&
13404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5 13235 (eval $ac_try) 2>&5
13407 ac_status=$? 13236 ac_status=$?
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; } && 13238 (exit $ac_status); }; } &&
13463 grep -v '^ *+' conftest.er1 >conftest.err 13292 grep -v '^ *+' conftest.er1 >conftest.err
13464 rm -f conftest.er1 13293 rm -f conftest.er1
13465 cat conftest.err >&5 13294 cat conftest.err >&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } && 13296 (exit $ac_status); } &&
13468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5 13299 (eval $ac_try) 2>&5
13471 ac_status=$? 13300 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } && 13302 (exit $ac_status); }; } &&
13494See \`config.log' for more details." >&2;} 13323See \`config.log' for more details." >&2;}
13495 { (exit 1); exit 1; }; } ;; 13324 { (exit 1); exit 1; }; } ;;
13496esac 13325esac
13497else 13326else
13498 if test "$cross_compiling" = yes; then 13327 if test "$cross_compiling" = yes; then
13499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 13328 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13500See \`config.log' for more details." >&5 13329echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13501echo "$as_me: error: cannot run test program while cross compiling
13502See \`config.log' for more details." >&2;}
13503 { (exit 1); exit 1; }; } 13330 { (exit 1); exit 1; }; }
13504else 13331else
13505 cat >conftest.$ac_ext <<_ACEOF 13332 cat >conftest.$ac_ext <<_ACEOF
13506/* confdefs.h. */ 13333/* confdefs.h. */
13507_ACEOF 13334_ACEOF
13608 grep -v '^ *+' conftest.er1 >conftest.err 13435 grep -v '^ *+' conftest.er1 >conftest.err
13609 rm -f conftest.er1 13436 rm -f conftest.er1
13610 cat conftest.err >&5 13437 cat conftest.err >&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); } && 13439 (exit $ac_status); } &&
13613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5 13442 (eval $ac_try) 2>&5
13616 ac_status=$? 13443 ac_status=$?
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } && 13445 (exit $ac_status); }; } &&
13690 grep -v '^ *+' conftest.er1 >conftest.err 13517 grep -v '^ *+' conftest.er1 >conftest.err
13691 rm -f conftest.er1 13518 rm -f conftest.er1
13692 cat conftest.err >&5 13519 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } && 13521 (exit $ac_status); } &&
13695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13697 (eval $ac_try) 2>&5 13524 (eval $ac_try) 2>&5
13698 ac_status=$? 13525 ac_status=$?
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); }; } && 13527 (exit $ac_status); }; } &&
13772 grep -v '^ *+' conftest.er1 >conftest.err 13599 grep -v '^ *+' conftest.er1 >conftest.err
13773 rm -f conftest.er1 13600 rm -f conftest.er1
13774 cat conftest.err >&5 13601 cat conftest.err >&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } && 13603 (exit $ac_status); } &&
13777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13779 (eval $ac_try) 2>&5 13606 (eval $ac_try) 2>&5
13780 ac_status=$? 13607 ac_status=$?
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); }; } && 13609 (exit $ac_status); }; } &&
13854 grep -v '^ *+' conftest.er1 >conftest.err 13681 grep -v '^ *+' conftest.er1 >conftest.err
13855 rm -f conftest.er1 13682 rm -f conftest.er1
13856 cat conftest.err >&5 13683 cat conftest.err >&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); } && 13685 (exit $ac_status); } &&
13859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13861 (eval $ac_try) 2>&5 13688 (eval $ac_try) 2>&5
13862 ac_status=$? 13689 ac_status=$?
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 (exit $ac_status); }; } && 13691 (exit $ac_status); }; } &&
13966 grep -v '^ *+' conftest.er1 >conftest.err 13793 grep -v '^ *+' conftest.er1 >conftest.err
13967 rm -f conftest.er1 13794 rm -f conftest.er1
13968 cat conftest.err >&5 13795 cat conftest.err >&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); } && 13797 (exit $ac_status); } &&
13971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5 13800 (eval $ac_try) 2>&5
13974 ac_status=$? 13801 ac_status=$?
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; } && 13803 (exit $ac_status); }; } &&
14106 grep -v '^ *+' conftest.er1 >conftest.err 13933 grep -v '^ *+' conftest.er1 >conftest.err
14107 rm -f conftest.er1 13934 rm -f conftest.er1
14108 cat conftest.err >&5 13935 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } && 13937 (exit $ac_status); } &&
14111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113 (eval $ac_try) 2>&5 13940 (eval $ac_try) 2>&5
14114 ac_status=$? 13941 ac_status=$?
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; } && 13943 (exit $ac_status); }; } &&
14170 grep -v '^ *+' conftest.er1 >conftest.err 13997 grep -v '^ *+' conftest.er1 >conftest.err
14171 rm -f conftest.er1 13998 rm -f conftest.er1
14172 cat conftest.err >&5 13999 cat conftest.err >&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); } && 14001 (exit $ac_status); } &&
14175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177 (eval $ac_try) 2>&5 14004 (eval $ac_try) 2>&5
14178 ac_status=$? 14005 ac_status=$?
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); }; } && 14007 (exit $ac_status); }; } &&
14213 rm -f conftest.er1 14040 rm -f conftest.er1
14214 cat conftest.err >&5 14041 cat conftest.err >&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } >/dev/null; then 14043 (exit $ac_status); } >/dev/null; then
14217 if test -s conftest.err; then 14044 if test -s conftest.err; then
14218 ac_cpp_err=$ac_c_preproc_warn_flag 14045 ac_cpp_err=$ac_cxx_preproc_warn_flag
14219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 14046 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
14220 else 14047 else
14221 ac_cpp_err= 14048 ac_cpp_err=
14222 fi 14049 fi
14223else 14050else
14224 ac_cpp_err=yes 14051 ac_cpp_err=yes
14234rm -f conftest.err conftest.$ac_ext 14061rm -f conftest.err conftest.$ac_ext
14235echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14062echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14236echo "${ECHO_T}$ac_header_preproc" >&6 14063echo "${ECHO_T}$ac_header_preproc" >&6
14237 14064
14238# So? What about this header? 14065# So? What about this header?
14239case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14066case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
14240 yes:no: ) 14067 yes:no: )
14241 { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 14068 { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
14242echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14069echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 14070 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5
14244echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} 14071echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;}
14308 grep -v '^ *+' conftest.er1 >conftest.err 14135 grep -v '^ *+' conftest.er1 >conftest.err
14309 rm -f conftest.er1 14136 rm -f conftest.er1
14310 cat conftest.err >&5 14137 cat conftest.err >&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } && 14139 (exit $ac_status); } &&
14313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 (eval $ac_try) 2>&5 14142 (eval $ac_try) 2>&5
14316 ac_status=$? 14143 ac_status=$?
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; } && 14145 (exit $ac_status); }; } &&
14370 grep -v '^ *+' conftest.er1 >conftest.err 14197 grep -v '^ *+' conftest.er1 >conftest.err
14371 rm -f conftest.er1 14198 rm -f conftest.er1
14372 cat conftest.err >&5 14199 cat conftest.err >&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } && 14201 (exit $ac_status); } &&
14375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5 14204 (eval $ac_try) 2>&5
14378 ac_status=$? 14205 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; } && 14207 (exit $ac_status); }; } &&
14431 grep -v '^ *+' conftest.er1 >conftest.err 14258 grep -v '^ *+' conftest.er1 >conftest.err
14432 rm -f conftest.er1 14259 rm -f conftest.er1
14433 cat conftest.err >&5 14260 cat conftest.err >&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } && 14262 (exit $ac_status); } &&
14436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5 14265 (eval $ac_try) 2>&5
14439 ac_status=$? 14266 ac_status=$?
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; } && 14268 (exit $ac_status); }; } &&
14496 grep -v '^ *+' conftest.er1 >conftest.err 14323 grep -v '^ *+' conftest.er1 >conftest.err
14497 rm -f conftest.er1 14324 rm -f conftest.er1
14498 cat conftest.err >&5 14325 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } && 14327 (exit $ac_status); } &&
14501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14328 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5 14330 (eval $ac_try) 2>&5
14504 ac_status=$? 14331 ac_status=$?
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } && 14333 (exit $ac_status); }; } &&
14539 rm -f conftest.er1 14366 rm -f conftest.er1
14540 cat conftest.err >&5 14367 cat conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } >/dev/null; then 14369 (exit $ac_status); } >/dev/null; then
14543 if test -s conftest.err; then 14370 if test -s conftest.err; then
14544 ac_cpp_err=$ac_c_preproc_warn_flag 14371 ac_cpp_err=$ac_cxx_preproc_warn_flag
14545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 14372 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
14546 else 14373 else
14547 ac_cpp_err= 14374 ac_cpp_err=
14548 fi 14375 fi
14549else 14376else
14550 ac_cpp_err=yes 14377 ac_cpp_err=yes
14560rm -f conftest.err conftest.$ac_ext 14387rm -f conftest.err conftest.$ac_ext
14561echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14388echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14562echo "${ECHO_T}$ac_header_preproc" >&6 14389echo "${ECHO_T}$ac_header_preproc" >&6
14563 14390
14564# So? What about this header? 14391# So? What about this header?
14565case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14392case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
14566 yes:no: ) 14393 yes:no: )
14567 { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 14394 { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5
14568echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14395echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14569 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 14396 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5
14570echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} 14397echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;}
14633 grep -v '^ *+' conftest.er1 >conftest.err 14460 grep -v '^ *+' conftest.er1 >conftest.err
14634 rm -f conftest.er1 14461 rm -f conftest.er1
14635 cat conftest.err >&5 14462 cat conftest.err >&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } && 14464 (exit $ac_status); } &&
14638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5 14467 (eval $ac_try) 2>&5
14641 ac_status=$? 14468 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; } && 14470 (exit $ac_status); }; } &&
14695 grep -v '^ *+' conftest.er1 >conftest.err 14522 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1 14523 rm -f conftest.er1
14697 cat conftest.err >&5 14524 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } && 14526 (exit $ac_status); } &&
14700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5 14529 (eval $ac_try) 2>&5
14703 ac_status=$? 14530 ac_status=$?
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; } && 14532 (exit $ac_status); }; } &&
14764 grep -v '^ *+' conftest.er1 >conftest.err 14591 grep -v '^ *+' conftest.er1 >conftest.err
14765 rm -f conftest.er1 14592 rm -f conftest.er1
14766 cat conftest.err >&5 14593 cat conftest.err >&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } && 14595 (exit $ac_status); } &&
14769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5 14598 (eval $ac_try) 2>&5
14772 ac_status=$? 14599 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } && 14601 (exit $ac_status); }; } &&
14829 grep -v '^ *+' conftest.er1 >conftest.err 14656 grep -v '^ *+' conftest.er1 >conftest.err
14830 rm -f conftest.er1 14657 rm -f conftest.er1
14831 cat conftest.err >&5 14658 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } && 14660 (exit $ac_status); } &&
14834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5 14663 (eval $ac_try) 2>&5
14837 ac_status=$? 14664 ac_status=$?
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } && 14666 (exit $ac_status); }; } &&
15458 grep -v '^ *+' conftest.er1 >conftest.err 15285 grep -v '^ *+' conftest.er1 >conftest.err
15459 rm -f conftest.er1 15286 rm -f conftest.er1
15460 cat conftest.err >&5 15287 cat conftest.err >&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } && 15289 (exit $ac_status); } &&
15463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5 15292 (eval $ac_try) 2>&5
15466 ac_status=$? 15293 ac_status=$?
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; } && 15295 (exit $ac_status); }; } &&
15503/* confdefs.h. */ 15330/* confdefs.h. */
15504_ACEOF 15331_ACEOF
15505cat confdefs.h >>conftest.$ac_ext 15332cat confdefs.h >>conftest.$ac_ext
15506cat >>conftest.$ac_ext <<_ACEOF 15333cat >>conftest.$ac_ext <<_ACEOF
15507/* end confdefs.h. */ 15334/* end confdefs.h. */
15508#include <locale.h> 15335#include <clocale>
15509int 15336int
15510main () 15337main ()
15511{ 15338{
15512setlocale(LC_CTYPE, ""); 15339setlocale(LC_CTYPE, "");
15513 ; 15340 ;
15521 grep -v '^ *+' conftest.er1 >conftest.err 15348 grep -v '^ *+' conftest.er1 >conftest.err
15522 rm -f conftest.er1 15349 rm -f conftest.er1
15523 cat conftest.err >&5 15350 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && 15352 (exit $ac_status); } &&
15526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15353 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5 15355 (eval $ac_try) 2>&5
15529 ac_status=$? 15356 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } && 15358 (exit $ac_status); }; } &&
15582 grep -v '^ *+' conftest.er1 >conftest.err 15409 grep -v '^ *+' conftest.er1 >conftest.err
15583 rm -f conftest.er1 15410 rm -f conftest.er1
15584 cat conftest.err >&5 15411 cat conftest.err >&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } && 15413 (exit $ac_status); } &&
15587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5 15416 (eval $ac_try) 2>&5
15590 ac_status=$? 15417 ac_status=$?
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; } && 15419 (exit $ac_status); }; } &&
15610echo "${ECHO_T}$rxvt_cv_func_nl_langinfo" >&6 15437echo "${ECHO_T}$rxvt_cv_func_nl_langinfo" >&6
15611if test x$rxvt_cv_func_nl_langinfo = xyes; then 15438if test x$rxvt_cv_func_nl_langinfo = xyes; then
15612 15439
15613cat >>confdefs.h <<\_ACEOF 15440cat >>confdefs.h <<\_ACEOF
15614#define HAVE_NL_LANGINFO 1 15441#define HAVE_NL_LANGINFO 1
15442_ACEOF
15443
15444fi
15445
15446echo "$as_me:$LINENO: checking for broken XIM callback" >&5
15447echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
15448if test "${rxvt_broken_ximcb+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15450else
15451 cat >conftest.$ac_ext <<_ACEOF
15452
15453#include <X11/Xlib.h>
15454
15455void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
15456
15457void f() {
15458 XIMCallback cb;
15459 cb.callback = im_destroy_cb;
15460}
15461
15462_ACEOF
15463rm -f conftest.$ac_objext
15464if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15465 (eval $ac_compile) 2>conftest.er1
15466 ac_status=$?
15467 grep -v '^ *+' conftest.er1 >conftest.err
15468 rm -f conftest.er1
15469 cat conftest.err >&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } &&
15472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15475 ac_status=$?
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; } &&
15478 { ac_try='test -s conftest.$ac_objext'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15481 ac_status=$?
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; }; then
15484 rxvt_broken_ximcb=yes
15485else
15486 echo "$as_me: failed program was:" >&5
15487sed 's/^/| /' conftest.$ac_ext >&5
15488
15489rxvt_broken_ximcb=no
15490fi
15491rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15492fi
15493echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
15494echo "${ECHO_T}$rxvt_broken_ximcb" >&6
15495
15496if test x$rxvt_broken_ximcb = xyes; then
15497
15498cat >>confdefs.h <<\_ACEOF
15499#define XIMCB_PROTO_BROKEN 1
15615_ACEOF 15500_ACEOF
15616 15501
15617fi 15502fi
15618 15503
15619echo "$as_me:$LINENO: checking for getpt" >&5 15504echo "$as_me:$LINENO: checking for getpt" >&5
15627cat confdefs.h >>conftest.$ac_ext 15512cat confdefs.h >>conftest.$ac_ext
15628cat >>conftest.$ac_ext <<_ACEOF 15513cat >>conftest.$ac_ext <<_ACEOF
15629/* end confdefs.h. */ 15514/* end confdefs.h. */
15630#define _GNU_SOURCE 15515#define _GNU_SOURCE
15631#ifdef HAVE_STDLIB_H 15516#ifdef HAVE_STDLIB_H
15632# include <stdlib.h> 15517# include <cstdlib>
15633#endif 15518#endif
15634int 15519int
15635main () 15520main ()
15636{ 15521{
15637(void)getpt(); 15522(void)getpt();
15646 grep -v '^ *+' conftest.er1 >conftest.err 15531 grep -v '^ *+' conftest.er1 >conftest.err
15647 rm -f conftest.er1 15532 rm -f conftest.er1
15648 cat conftest.err >&5 15533 cat conftest.err >&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } && 15535 (exit $ac_status); } &&
15651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5 15538 (eval $ac_try) 2>&5
15654 ac_status=$? 15539 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; } && 15541 (exit $ac_status); }; } &&
15802#define PTYCHAR2 "$pch2" 15687#define PTYCHAR2 "$pch2"
15803_ACEOF 15688_ACEOF
15804 15689
15805fi 15690fi
15806 15691
15807echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
15808echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
15809if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15811else
15812 ac_check_lib_save_LIBS=$LIBS
15813LIBS="-lxpg4 $LIBS"
15814cat >conftest.$ac_ext <<_ACEOF
15815/* confdefs.h. */
15816_ACEOF
15817cat confdefs.h >>conftest.$ac_ext
15818cat >>conftest.$ac_ext <<_ACEOF
15819/* end confdefs.h. */
15820
15821/* Override any gcc2 internal prototype to avoid an error. */
15822#ifdef __cplusplus
15823extern "C"
15824#endif
15825/* We use char because int might match the return type of a gcc2
15826 builtin and then its argument prototype would still apply. */
15827char setlocale ();
15828int
15829main ()
15830{
15831setlocale ();
15832 ;
15833 return 0;
15834}
15835_ACEOF
15836rm -f conftest.$ac_objext conftest$ac_exeext
15837if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15838 (eval $ac_link) 2>conftest.er1
15839 ac_status=$?
15840 grep -v '^ *+' conftest.er1 >conftest.err
15841 rm -f conftest.er1
15842 cat conftest.err >&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); } &&
15845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15848 ac_status=$?
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; } &&
15851 { ac_try='test -s conftest$ac_exeext'
15852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15853 (eval $ac_try) 2>&5
15854 ac_status=$?
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; }; then
15857 ac_cv_lib_xpg4_setlocale=yes
15858else
15859 echo "$as_me: failed program was:" >&5
15860sed 's/^/| /' conftest.$ac_ext >&5
15861
15862ac_cv_lib_xpg4_setlocale=no
15863fi
15864rm -f conftest.err conftest.$ac_objext \
15865 conftest$ac_exeext conftest.$ac_ext
15866LIBS=$ac_check_lib_save_LIBS
15867fi
15868echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
15869echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
15870if test $ac_cv_lib_xpg4_setlocale = yes; then
15871 LIBS="$LIBS -lxpg4"
15872fi
15873
15874
15875if test x$support_inheritpixmap = xyes; then
15876
15877cat >>confdefs.h <<\_ACEOF
15878#define TRANSPARENT 1
15879_ACEOF
15880
15881fi
15882if test x$support_keepscrolling = xno; then
15883
15884cat >>confdefs.h <<\_ACEOF
15885#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
15886_ACEOF
15887
15888fi
15889if test x$support_selectionscrolling = xyes; then
15890
15891cat >>confdefs.h <<\_ACEOF
15892#define SELECTION_SCROLLING 1
15893_ACEOF
15894
15895fi
15896if test x$support_menubar = xyes; then
15897
15898cat >>confdefs.h <<\_ACEOF
15899#define MENUBAR 1
15900_ACEOF
15901
15902fi
15903if test x$support_frills = xno; then
15904
15905cat >>confdefs.h <<\_ACEOF
15906#define NO_FRILLS 1
15907_ACEOF
15908
15909fi
15910if test x$support_linespace = xno; then
15911
15912cat >>confdefs.h <<\_ACEOF
15913#define NO_LINESPACE 1
15914_ACEOF
15915
15916fi
15917if test x$support_24bit = xyes; then
15918
15919cat >>confdefs.h <<\_ACEOF
15920#define PREFER_24BIT 1
15921_ACEOF
15922
15923fi
15924if test x$support_mousewheel = xyes; then
15925
15926cat >>confdefs.h <<\_ACEOF
15927#define MOUSE_WHEEL 1
15928_ACEOF
15929
15930fi
15931if test x$support_mouseslipwheel = xyes; then
15932
15933cat >>confdefs.h <<\_ACEOF
15934#define MOUSE_SLIP_WHEELING 1
15935_ACEOF
15936
15937fi
15938if test x$support_oldselection = xno; then
15939
15940cat >>confdefs.h <<\_ACEOF
15941#define NO_OLD_SELECTION 1
15942_ACEOF
15943
15944fi
15945if test x$support_utmp = xyes; then
15946
15947cat >>confdefs.h <<\_ACEOF
15948#define UTMP_SUPPORT 1
15949_ACEOF
15950
15951fi
15952if test x$support_wtmp = xyes; then
15953
15954cat >>confdefs.h <<\_ACEOF
15955#define WTMP_SUPPORT 1
15956_ACEOF
15957
15958fi
15959if test x$support_lastlog = xyes; then
15960
15961cat >>confdefs.h <<\_ACEOF
15962#define LASTLOG_SUPPORT 1
15963_ACEOF
15964
15965fi
15966if test x$support_xim = xyes -o x$multichar_set = xyes; then
15967 if test x$rxvt_cv_func_xlocale = xyes; then
15968
15969cat >>confdefs.h <<\_ACEOF
15970#define USE_XIM 1
15971_ACEOF
15972
15973 fi
15974fi
15975if test x$support_xpm = xyes; then
15976
15977cat >>confdefs.h <<\_ACEOF
15978#define XPM_BACKGROUND 1
15979_ACEOF
15980
15981fi
15982if test x$support_scroll_rxvt = xyes; then
15983
15984cat >>confdefs.h <<\_ACEOF
15985#define RXVT_SCROLLBAR 1
15986_ACEOF
15987
15988 scrolltypes="rxvt"
15989fi
15990if test x$support_scroll_next = xyes; then
15991
15992cat >>confdefs.h <<\_ACEOF
15993#define NEXT_SCROLLBAR 1
15994_ACEOF
15995
15996 scrolltypes="$scrolltypes next"
15997fi
15998if test x$support_scroll_xterm = xyes; then
15999
16000cat >>confdefs.h <<\_ACEOF
16001#define XTERM_SCROLLBAR 1
16002_ACEOF
16003
16004 scrolltypes="$scrolltypes xterm"
16005fi
16006if test x$support_scroll_plain = xyes; then
16007
16008cat >>confdefs.h <<\_ACEOF
16009#define PLAIN_SCROLLBAR 1
16010_ACEOF
16011
16012 scrolltypes="$scrolltypes plain"
16013fi
16014if test x$support_pointer_blank = xyes; then
16015
16016cat >>confdefs.h <<\_ACEOF
16017#define POINTER_BLANK 1
16018_ACEOF
16019
16020fi
16021if test x$support_cursor_blink = xyes; then
16022
16023cat >>confdefs.h <<\_ACEOF
16024#define CURSOR_BLINK 1
16025_ACEOF
16026
16027fi
16028if test x$support_text_blink = xyes; then
16029
16030cat >>confdefs.h <<\_ACEOF
16031#define TEXT_BLINK 1
16032_ACEOF
16033
16034fi
16035if test x$support_unicode3 = xyes; then
16036
16037cat >>confdefs.h <<\_ACEOF
16038#define UNICODE_3 1
16039_ACEOF
16040
16041fi
16042if test x$codesets = xall; then
16043 codesets=jp,jp-ext,kr,cn,cn-ext,vn
16044fi
16045for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16046
16047cat >>confdefs.h <<\_ACEOF
16048#define ENCODING_EU 1
16049_ACEOF
16050
16051 case "$codeset" in
16052 VN )
16053cat >>confdefs.h <<\_ACEOF
16054#define ENCODING_VN 1
16055_ACEOF
16056 ;;
16057 JP )
16058cat >>confdefs.h <<\_ACEOF
16059#define ENCODING_JP 1
16060_ACEOF
16061 ;;
16062 JP_EXT )
16063cat >>confdefs.h <<\_ACEOF
16064#define ENCODING_JP_EXT 1
16065_ACEOF
16066 ;;
16067 KR )
16068cat >>confdefs.h <<\_ACEOF
16069#define ENCODING_KR 1
16070_ACEOF
16071 ;;
16072 CN )
16073cat >>confdefs.h <<\_ACEOF
16074#define ENCODING_CN 1
16075_ACEOF
16076 ;;
16077 CN_EXT )
16078cat >>confdefs.h <<\_ACEOF
16079#define ENCODING_CN_EXT 1
16080_ACEOF
16081 ;;
16082 esac
16083done
16084
16085
16086CFLAGS=${CFLAGS--O}
16087LDFLAGS=${LDFLAGS--O}
16088
16089CPPFLAGS="$CPPFLAGS"
16090
16091
16092
16093
16094
16095
16096
16097if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16098 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16099 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16100 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16101 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16102 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16103fi
16104
16105
16106
16107
16108
16109if test x$support_addstrings = xno; then
16110
16111cat >>confdefs.h <<\_ACEOF
16112#define NO_STRINGS 1
16113_ACEOF
16114
16115fi
16116
16117MCOMMON=./autoconf/Make.common
16118
16119
16120test "$program_prefix" != NONE &&
16121 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16122# Use a double $ so make ignores it.
16123test "$program_suffix" != NONE &&
16124 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16125# Double any \ or $. echo might interpret backslashes.
16126# By default was `s,x,x', remove it if useless.
16127cat <<\_ACEOF >conftest.sed
16128s/[\\$]/&&/g;s/;s,x,x,$//
16129_ACEOF
16130program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16131rm conftest.sed
16132
16133
16134RXVTNAME=`echo rxvt|sed "$program_transform_name"`
16135
16136
16137
16138
16139
16140if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16141 include_stdint_h="#include <stdint.h>"
16142else
16143 include_stdint_h="/* #include <stdint.h> */"
16144fi
16145if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16146 include_stdarg_h="#include <stdarg.h>"
16147else
16148 include_stdarg_h="/* #include <stdarg.h> */"
16149fi
16150if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16151 include_stdlib_h="#include <stdlib.h>"
16152else
16153 include_stdlib_h="/* #include <stdlib.h> */"
16154fi
16155if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16156 include_unistd_h="#include <unistd.h>"
16157else
16158 include_unistd_h="/* #include <unistd.h> */"
16159fi
16160if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16161 include_string_h="#include <string.h>"
16162else
16163 include_string_h="/* #include <string.h> */"
16164fi
16165if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16166 include_fcntl_h="#include <fcntl.h>"
16167else
16168 include_fcntl_h="/* #include <fcntl.h> */"
16169fi
16170if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16171 include_util_h="#include <util.h>"
16172else
16173 include_util_h="/* #include <util.h> */"
16174fi
16175if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16176 include_assert_h="#include <assert.h>"
16177else
16178 include_assert_h="/* #include <assert.h> */"
16179fi
16180if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16181 include_sys_ioctl_h="#include <sys/ioctl.h>"
16182else
16183 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16184fi
16185if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16186 include_sys_select_h="#include <sys/select.h>"
16187else
16188 include_sys_select_h="/* #include <sys/select.h> */"
16189fi
16190if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16191 include_sys_strredir_h="#include <sys/strredir.h>"
16192else
16193 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16194fi
16195if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16196 include_sys_time_h="#include <sys/time.h>"
16197else
16198 include_sys_time_h="/* #include <sys/time.h> */"
16199fi
16200if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16201 include_time_h="#include <time.h>"
16202else
16203 include_time_h="/* #include <time.h> */"
16204fi
16205
16206if test x$support_xft = xyes; then 15692if test x$support_xft = xyes; then
16207 LIBS="$LIBS `pkg-config xft --libs`" 15693 LIBS="$LIBS `pkg-config xft --libs`"
16208 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 15694 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
16209 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 15695 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
16210 15696
16240 grep -v '^ *+' conftest.er1 >conftest.err 15726 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1 15727 rm -f conftest.er1
16242 cat conftest.err >&5 15728 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && 15730 (exit $ac_status); } &&
16245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5 15733 (eval $ac_try) 2>&5
16248 ac_status=$? 15734 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; } && 15736 (exit $ac_status); }; } &&
16283 rm -f conftest.er1 15769 rm -f conftest.er1
16284 cat conftest.err >&5 15770 cat conftest.err >&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } >/dev/null; then 15772 (exit $ac_status); } >/dev/null; then
16287 if test -s conftest.err; then 15773 if test -s conftest.err; then
16288 ac_cpp_err=$ac_c_preproc_warn_flag 15774 ac_cpp_err=$ac_cxx_preproc_warn_flag
16289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 15775 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16290 else 15776 else
16291 ac_cpp_err= 15777 ac_cpp_err=
16292 fi 15778 fi
16293else 15779else
16294 ac_cpp_err=yes 15780 ac_cpp_err=yes
16304rm -f conftest.err conftest.$ac_ext 15790rm -f conftest.err conftest.$ac_ext
16305echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15791echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16306echo "${ECHO_T}$ac_header_preproc" >&6 15792echo "${ECHO_T}$ac_header_preproc" >&6
16307 15793
16308# So? What about this header? 15794# So? What about this header?
16309case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15795case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16310 yes:no: ) 15796 yes:no: )
16311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 15797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16312echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 15798echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 15799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16314echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 15800echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16396 grep -v '^ *+' conftest.er1 >conftest.err 15882 grep -v '^ *+' conftest.er1 >conftest.err
16397 rm -f conftest.er1 15883 rm -f conftest.er1
16398 cat conftest.err >&5 15884 cat conftest.err >&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); } && 15886 (exit $ac_status); } &&
16401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16403 (eval $ac_try) 2>&5 15889 (eval $ac_try) 2>&5
16404 ac_status=$? 15890 ac_status=$?
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; } && 15892 (exit $ac_status); }; } &&
16441#define XFT 1 15927#define XFT 1
16442_ACEOF 15928_ACEOF
16443 15929
16444 fi 15930 fi
16445fi 15931fi
15932if test x$support_styles = xyes; then
15933
15934cat >>confdefs.h <<\_ACEOF
15935#define ENABLE_STYLES 1
15936_ACEOF
15937
15938fi
15939if test x$support_iso14755 = xyes; then
15940
15941cat >>confdefs.h <<\_ACEOF
15942#define ISO_14755 1
15943_ACEOF
15944
15945fi
15946if test x$support_8bitctrls = xyes; then
15947
15948cat >>confdefs.h <<\_ACEOF
15949#define EIGHT_BIT_CONTROLS 1
15950_ACEOF
15951
15952fi
15953if test x$support_fading = xyes; then
15954
15955cat >>confdefs.h <<\_ACEOF
15956#define OFF_FOCUS_FADING 1
15957_ACEOF
15958
15959fi
15960if test x$support_tinting = xyes; then
15961
15962cat >>confdefs.h <<\_ACEOF
15963#define TINTING 1
15964_ACEOF
15965
15966fi
15967if test x$support_inheritpixmap = xyes; then
15968
15969cat >>confdefs.h <<\_ACEOF
15970#define TRANSPARENT 1
15971_ACEOF
15972
15973fi
15974if test x$support_keepscrolling = xno; then
15975
15976cat >>confdefs.h <<\_ACEOF
15977#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
15978_ACEOF
15979
15980fi
15981if test x$support_selectionscrolling = xyes; then
15982
15983cat >>confdefs.h <<\_ACEOF
15984#define SELECTION_SCROLLING 1
15985_ACEOF
15986
15987fi
15988if test x$support_menubar = xyes; then
15989
15990cat >>confdefs.h <<\_ACEOF
15991#define MENUBAR 1
15992_ACEOF
15993
15994fi
15995if test x$support_frills = xyes; then
15996
15997cat >>confdefs.h <<\_ACEOF
15998#define ENABLE_FRILLS 1
15999_ACEOF
16000
16001fi
16002if test x$support_linespace = xno; then
16003
16004cat >>confdefs.h <<\_ACEOF
16005#define NO_LINESPACE 1
16006_ACEOF
16007
16008fi
16009if test x$support_24bit = xyes; then
16010
16011cat >>confdefs.h <<\_ACEOF
16012#define PREFER_24BIT 1
16013_ACEOF
16014
16015fi
16016if test x$support_mousewheel = xyes; then
16017
16018cat >>confdefs.h <<\_ACEOF
16019#define MOUSE_WHEEL 1
16020_ACEOF
16021
16022fi
16023if test x$support_mouseslipwheel = xyes; then
16024
16025cat >>confdefs.h <<\_ACEOF
16026#define MOUSE_SLIP_WHEELING 1
16027_ACEOF
16028
16029fi
16030if test x$support_utmp = xyes; then
16031
16032cat >>confdefs.h <<\_ACEOF
16033#define UTMP_SUPPORT 1
16034_ACEOF
16035
16036fi
16037if test x$support_wtmp = xyes; then
16038
16039cat >>confdefs.h <<\_ACEOF
16040#define WTMP_SUPPORT 1
16041_ACEOF
16042
16043fi
16044if test x$support_lastlog = xyes; then
16045
16046cat >>confdefs.h <<\_ACEOF
16047#define LASTLOG_SUPPORT 1
16048_ACEOF
16049
16050fi
16051if test x$support_xim = xyes -o x$multichar_set = xyes; then
16052 if test x$rxvt_cv_func_xlocale = xyes; then
16053
16054cat >>confdefs.h <<\_ACEOF
16055#define USE_XIM 1
16056_ACEOF
16057
16058 fi
16059fi
16060if test x$support_xpm = xyes; then
16061
16062cat >>confdefs.h <<\_ACEOF
16063#define XPM_BACKGROUND 1
16064_ACEOF
16065
16066fi
16067if test x$support_scroll_rxvt = xyes; then
16068
16069cat >>confdefs.h <<\_ACEOF
16070#define RXVT_SCROLLBAR 1
16071_ACEOF
16072
16073 scrolltypes="rxvt"
16074fi
16075if test x$support_scroll_next = xyes; then
16076
16077cat >>confdefs.h <<\_ACEOF
16078#define NEXT_SCROLLBAR 1
16079_ACEOF
16080
16081 scrolltypes="$scrolltypes next"
16082fi
16083if test x$support_scroll_xterm = xyes; then
16084
16085cat >>confdefs.h <<\_ACEOF
16086#define XTERM_SCROLLBAR 1
16087_ACEOF
16088
16089 scrolltypes="$scrolltypes xterm"
16090fi
16091if test x$support_scroll_plain = xyes; then
16092
16093cat >>confdefs.h <<\_ACEOF
16094#define PLAIN_SCROLLBAR 1
16095_ACEOF
16096
16097 scrolltypes="$scrolltypes plain"
16098fi
16099if test x$support_pointer_blank = xyes; then
16100
16101cat >>confdefs.h <<\_ACEOF
16102#define POINTER_BLANK 1
16103_ACEOF
16104
16105fi
16106if test x$support_cursor_blink = xyes; then
16107
16108cat >>confdefs.h <<\_ACEOF
16109#define CURSOR_BLINK 1
16110_ACEOF
16111
16112fi
16113if test x$support_text_blink = xyes; then
16114
16115cat >>confdefs.h <<\_ACEOF
16116#define TEXT_BLINK 1
16117_ACEOF
16118
16119fi
16120if test x$support_unicode3 = xyes; then
16121
16122cat >>confdefs.h <<\_ACEOF
16123#define UNICODE_3 1
16124_ACEOF
16125
16126fi
16127if test x$support_combining = xyes; then
16128
16129cat >>confdefs.h <<\_ACEOF
16130#define ENABLE_COMBINING 1
16131_ACEOF
16132
16133fi
16134if test x$codesets = xall; then
16135 codesets=jp,jp-ext,kr,zh,zh-ext
16136fi
16137
16138cat >>confdefs.h <<\_ACEOF
16139#define ENCODING_EU 1
16140_ACEOF
16141
16142
16143cat >>confdefs.h <<\_ACEOF
16144#define ENCODING_VN 1
16145_ACEOF
16146
16147for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16148 case "$codeset" in
16149 JP )
16150cat >>confdefs.h <<\_ACEOF
16151#define ENCODING_JP 1
16152_ACEOF
16153 ;;
16154 JP_EXT )
16155cat >>confdefs.h <<\_ACEOF
16156#define ENCODING_JP_EXT 1
16157_ACEOF
16158 ;;
16159 KR )
16160cat >>confdefs.h <<\_ACEOF
16161#define ENCODING_KR 1
16162_ACEOF
16163 ;;
16164 ZH )
16165cat >>confdefs.h <<\_ACEOF
16166#define ENCODING_ZH 1
16167_ACEOF
16168 ;;
16169 ZH_EXT )
16170cat >>confdefs.h <<\_ACEOF
16171#define ENCODING_ZH_EXT 1
16172_ACEOF
16173 ;;
16174 esac
16175done
16176
16177
16178CFLAGS=${CFLAGS--O}
16179LDFLAGS=${LDFLAGS--O}
16180
16181CPPFLAGS="$CPPFLAGS"
16182
16183
16184
16185
16186
16187
16188
16189if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16190 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16191 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16192 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16193 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16194 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16195fi
16196
16197
16198
16199
16200
16201if test x$support_addstrings = xno; then
16202
16203cat >>confdefs.h <<\_ACEOF
16204#define NO_STRINGS 1
16205_ACEOF
16206
16207fi
16208
16209MCOMMON=./autoconf/Make.common
16210
16211
16212test "$program_prefix" != NONE &&
16213 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16214# Use a double $ so make ignores it.
16215test "$program_suffix" != NONE &&
16216 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16217# Double any \ or $. echo might interpret backslashes.
16218# By default was `s,x,x', remove it if useless.
16219cat <<\_ACEOF >conftest.sed
16220s/[\\$]/&&/g;s/;s,x,x,$//
16221_ACEOF
16222program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16223rm conftest.sed
16224
16225
16226
16227
16228
16229if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16230 include_stdint_h="#include <stdint.h>"
16231else
16232 include_stdint_h="/* #include <stdint.h> */"
16233fi
16234if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16235 include_stdarg_h="#include <cstdarg>"
16236else
16237 include_stdarg_h="/* #include <cstdarg> */"
16238fi
16239if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16240 include_stdlib_h="#include <cstdlib>"
16241else
16242 include_stdlib_h="/* #include <cstdlib> */"
16243fi
16244if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16245 include_unistd_h="#include <unistd.h>"
16246else
16247 include_unistd_h="/* #include <unistd.h> */"
16248fi
16249if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16250 include_string_h="#include <cstring>"
16251else
16252 include_string_h="/* #include <cstring> */"
16253fi
16254if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16255 include_fcntl_h="#include <fcntl.h>"
16256else
16257 include_fcntl_h="/* #include <fcntl.h> */"
16258fi
16259if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16260 include_util_h="#include <util.h>"
16261else
16262 include_util_h="/* #include <util.h> */"
16263fi
16264if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16265 include_assert_h="#include <assert.h>"
16266else
16267 include_assert_h="/* #include <assert.h> */"
16268fi
16269if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16270 include_sys_ioctl_h="#include <sys/ioctl.h>"
16271else
16272 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16273fi
16274if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16275 include_sys_select_h="#include <sys/select.h>"
16276else
16277 include_sys_select_h="/* #include <sys/select.h> */"
16278fi
16279if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16280 include_sys_strredir_h="#include <sys/strredir.h>"
16281else
16282 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16283fi
16284if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16285 include_sys_time_h="#include <sys/time.h>"
16286else
16287 include_sys_time_h="/* #include <sys/time.h> */"
16288fi
16289if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16290 include_time_h="#include <time.h>"
16291else
16292 include_time_h="/* #include <time.h> */"
16293fi
16446 16294
16447 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 16295 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
16296
16448cat >confcache <<\_ACEOF 16297cat >confcache <<\_ACEOF
16449# This file is a shell script that caches the results of configure 16298# This file is a shell script that caches the results of configure
16450# tests run on this system so they can be shared between configure 16299# tests run on this system so they can be shared between configure
16451# scripts and configure runs, see configure's option --config-cache. 16300# scripts and configure runs, see configure's option --config-cache.
16452# It is not useful on other systems. If it contains results you don't 16301# It is not useful on other systems. If it contains results you don't
17079s,@CPP@,$CPP,;t t 16928s,@CPP@,$CPP,;t t
17080s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 16929s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17081s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 16930s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17082s,@INSTALL_DATA@,$INSTALL_DATA,;t t 16931s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17083s,@AWK@,$AWK,;t t 16932s,@AWK@,$AWK,;t t
16933s,@LINKER@,$LINKER,;t t
16934s,@CXXCPP@,$CXXCPP,;t t
17084s,@EGREP@,$EGREP,;t t 16935s,@EGREP@,$EGREP,;t t
17085s,@build@,$build,;t t 16936s,@build@,$build,;t t
17086s,@build_cpu@,$build_cpu,;t t 16937s,@build_cpu@,$build_cpu,;t t
17087s,@build_vendor@,$build_vendor,;t t 16938s,@build_vendor@,$build_vendor,;t t
17088s,@build_os@,$build_os,;t t 16939s,@build_os@,$build_os,;t t
17096s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 16947s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17097s,@STRIP@,$STRIP,;t t 16948s,@STRIP@,$STRIP,;t t
17098s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 16949s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17099s,@LIBTOOL@,$LIBTOOL,;t t 16950s,@LIBTOOL@,$LIBTOOL,;t t
17100s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 16951s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
16952s,@RXVTNAME@,$RXVTNAME,;t t
17101s,@MV@,$MV,;t t 16953s,@MV@,$MV,;t t
17102s,@RM@,$RM,;t t 16954s,@RM@,$RM,;t t
17103s,@CP@,$CP,;t t 16955s,@CP@,$CP,;t t
17104s,@LN@,$LN,;t t 16956s,@LN@,$LN,;t t
17105s,@SED@,$SED,;t t 16957s,@SED@,$SED,;t t
17106s,@CMP@,$CMP,;t t 16958s,@CMP@,$CMP,;t t
17107s,@TBL@,$TBL,;t t 16959s,@TBL@,$TBL,;t t
16960s,@TIC@,$TIC,;t t
17108s,@X_CFLAGS@,$X_CFLAGS,;t t 16961s,@X_CFLAGS@,$X_CFLAGS,;t t
17109s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 16962s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17110s,@X_LIBS@,$X_LIBS,;t t 16963s,@X_LIBS@,$X_LIBS,;t t
17111s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 16964s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17112s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 16965s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
17119s,@rxvt_intp_define@,$rxvt_intp_define,;t t 16972s,@rxvt_intp_define@,$rxvt_intp_define,;t t
17120s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 16973s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
17121s,@DEBUG@,$DEBUG,;t t 16974s,@DEBUG@,$DEBUG,;t t
17122s,@DINCLUDE@,$DINCLUDE,;t t 16975s,@DINCLUDE@,$DINCLUDE,;t t
17123s,@DLIB@,$DLIB,;t t 16976s,@DLIB@,$DLIB,;t t
17124s,@RXVTNAME@,$RXVTNAME,;t t
17125s,@include_stdint_h@,$include_stdint_h,;t t 16977s,@include_stdint_h@,$include_stdint_h,;t t
17126s,@include_stdarg_h@,$include_stdarg_h,;t t 16978s,@include_stdarg_h@,$include_stdarg_h,;t t
17127s,@include_stdlib_h@,$include_stdlib_h,;t t 16979s,@include_stdlib_h@,$include_stdlib_h,;t t
17128s,@include_unistd_h@,$include_unistd_h,;t t 16980s,@include_unistd_h@,$include_unistd_h,;t t
17129s,@include_string_h@,$include_string_h,;t t 16981s,@include_string_h@,$include_string_h,;t t
17635echo "Configuration: 17487echo "Configuration:
17636 17488
17637 Rxvt version: $VERSION : $DATE 17489 Rxvt version: $VERSION : $DATE
17638 Source code location: $srcdir 17490 Source code location: $srcdir
17639 Install path: ${prefix}/bin 17491 Install path: ${prefix}/bin
17640 Compiler: $CC 17492 Compiler: $CXX
17641 Compiler flags: $CFLAGS" 17493 Compiler flags: $CFLAGS
17494 Linker: $LINKER"
17642 17495
17643if test "$MALLOC_TYPE" = S; then 17496if test "$MALLOC_TYPE" = S; then
17644 echo " malloc support: system default" 17497 echo " malloc support: system default"
17645fi 17498fi
17646if test "$MALLOC_TYPE" = G; then 17499if test "$MALLOC_TYPE" = G; then
17657echo " 17510echo "
17658The following are set in config.h 17511The following are set in config.h
17659" 17512"
17660echo " pty/tty type: "$rxvt_cv_ptys 17513echo " pty/tty type: "$rxvt_cv_ptys
17661if test x$support_utmp != xyes; then 17514if test x$support_utmp != xyes; then
17662 echo " utmp support: disabled 17515 echo " utmp support: disabled"
17663" 17516 echo
17664else 17517else
17665 echo " utmp support: enabled 17518 echo " utmp support: enabled
17666 utmp file: $rxvt_cv_path_utmp 17519 utmp file: $rxvt_cv_path_utmp
17667 utmpx file: $rxvt_cv_path_utmpx 17520 utmpx file: $rxvt_cv_path_utmpx
17668 wtmp file: $rxvt_cv_path_wtmp 17521 wtmp file: $rxvt_cv_path_wtmp
17669 wtmpx file: $rxvt_cv_path_wtmpx 17522 wtmpx file: $rxvt_cv_path_wtmpx
17670 lastlog file: $rxvt_cv_path_lastlog 17523 lastlog file: $rxvt_cv_path_lastlog
17671 ttys/ttytab file: $rxvt_cv_path_ttytab 17524 ttys/ttytab file: $rxvt_cv_path_ttytab"
17672" 17525 echo
17673fi 17526fi
17674if test x$term != x; then 17527if test x$term != x; then
17675 echo " set TERM to: $term 17528 echo " set TERM to: $term"
17676"
17677fi 17529fi
17678if test x$terminfo != x; then 17530if test x$terminfo != x; then
17679 echo " set TERMINFO to: $terminfo 17531 echo " set TERMINFO to: $terminfo"
17680"
17681fi 17532fi
17533echo " default resource name: $RESNAME"
17534echo " resource class: $RESCLASS"
17535if test x$RESFALLBACK != x; then
17536 echo " resource class fallback: $RESFALLBACK"
17537fi
17538echo
17682if test x$rxvt_cv_ptys = xUNKNOWN; then 17539if test x$rxvt_cv_ptys = xUNKNOWN; then
17683 echo ".----------------------------------------------------------------." 17540 echo ".----------------------------------------------------------------."
17684 echo ". WARNING: could not determine pty/tty type. Do not build until ." 17541 echo ". WARNING: could not determine pty/tty type. Do not build until ."
17685 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 17542 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
17686 echo ".----------------------------------------------------------------." 17543 echo ".----------------------------------------------------------------."
17700 echo ". WARNING: --enable-xim was specified however the locale support ." 17557 echo ". WARNING: --enable-xim was specified however the locale support ."
17701 echo ". functions could not be found. ." 17558 echo ". functions could not be found. ."
17702 echo ". XIM is now being DISABLED! ." 17559 echo ". XIM is now being DISABLED! ."
17703 echo ".----------------------------------------------------------------." 17560 echo ".----------------------------------------------------------------."
17704fi 17561fi
17562
17705echo " *** Please check src/feature.h for further options *** 17563echo " *** Please check src/feature.h for further options ***"
17706" 17564echo
17565
17566echo ".----------------------------------------------------------------."
17567echo ". NOTE: most features are disabled by default, try ."
17568echo ". configure --help to get an idea of the optional features ."
17569echo ".----------------------------------------------------------------."
17570echo
17571

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines