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.50 by root, Sun Feb 13 08:56:27 2005 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP 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
1052 --enable-24bit enable support for using 24bit visuals if available 1062 --enable-24bit enable support for using 24bit visuals if available
1053 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1063 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1054 --enable-selectionscrolling enable scrolling during selections 1064 --enable-selectionscrolling enable scrolling during selections
1055 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1065 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1056 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1066 --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 1067 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1060 --enable-dlmalloc enable Doug Lea's malloc - for production use 1068 --enable-dlmalloc enable Doug Lea's malloc - for production use
1061 NOTE: enable only one malloc package 1069 NOTE: enable only one malloc package
1062 --enable-smart-resize enable smart growth/shrink behaviour 1070 --enable-smart-resize enable smart growth/shrink behaviour
1063 --enable-256-color enable 256-color support
1064 --enable-cursor-blink enable blinking cursor 1071 --enable-cursor-blink enable blinking cursor
1065 --enable-text-blink enable blinking text 1072 --enable-text-blink enable blinking text
1066 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1073 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1067 1074
1068Optional Packages: 1075Optional Packages:
1069 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1076 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1070 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1077 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1071 --with-gnu-ld assume the C compiler uses GNU ld default=no 1078 --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 1079 --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) 1080 --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) 1081 --with-res-name=NAME use this as default resource name (default: urxvt)
1075 (eucj|sjis|big5|gb|kr|noenc) 1082 --with-res-class=CLASS use this as the resource class (default: URxvt)
1083 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1076 --with-term=NAME set the terminal to NAME (default \"rxvt\") 1084 --with-term=NAME set the terminal to NAME (default: rxvt)
1077 --with-terminfo=PATH set the path to the terminfo tree to PATH 1085 --with-terminfo=PATH set the path to the terminfo tree to PATH
1078 --with-x use the X Window System 1086 --with-x use the X Window System
1079 --with-xpm-includes=DIR use XPM includes in DIR 1087 --with-xpm-includes=DIR use XPM includes in DIR
1080 --with-xpm-library=DIR use XPM library in DIR 1088 --with-xpm-library=DIR use XPM library in DIR
1081 --with-xpm use XPM 1089 --with-xpm use XPM
1088 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1096 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1089 headers in a nonstandard directory <include dir> 1097 headers in a nonstandard directory <include dir>
1090 CXX C++ compiler command 1098 CXX C++ compiler command
1091 CXXFLAGS C++ compiler flags 1099 CXXFLAGS C++ compiler flags
1092 CPP C preprocessor 1100 CPP C preprocessor
1101 CXXCPP C++ preprocessor
1093 1102
1094Use these variables to override the choices made by `configure' or to help 1103Use these variables to override the choices made by `configure' or to help
1095it to find libraries and programs with nonstandard names/locations. 1104it to find libraries and programs with nonstandard names/locations.
1096 1105
1097_ACEOF 1106_ACEOF
1527 1536
1528 1537
1529 1538
1530 1539
1531 1540
1541
1532ac_aux_dir= 1542ac_aux_dir=
1533for ac_dir in autoconf $srcdir/autoconf; do 1543for ac_dir in autoconf $srcdir/autoconf; do
1534 if test -f $ac_dir/install-sh; then 1544 if test -f $ac_dir/install-sh; then
1535 ac_aux_dir=$ac_dir 1545 ac_aux_dir=$ac_dir
1536 ac_install_sh="$ac_aux_dir/install-sh -c" 1546 ac_install_sh="$ac_aux_dir/install-sh -c"
1553ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1563ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1554ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1564ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1555ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1565ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1556 1566
1557 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" 1567 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1568
1569
1570# Make sure we can run config.sub.
1571$ac_config_sub sun4 >/dev/null 2>&1 ||
1572 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1573echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1574 { (exit 1); exit 1; }; }
1575
1576echo "$as_me:$LINENO: checking build system type" >&5
1577echo $ECHO_N "checking build system type... $ECHO_C" >&6
1578if test "${ac_cv_build+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580else
1581 ac_cv_build_alias=$build_alias
1582test -z "$ac_cv_build_alias" &&
1583 ac_cv_build_alias=`$ac_config_guess`
1584test -z "$ac_cv_build_alias" &&
1585 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1586echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1587 { (exit 1); exit 1; }; }
1588ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1590echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1592
1593fi
1594echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1595echo "${ECHO_T}$ac_cv_build" >&6
1596build=$ac_cv_build
1597build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600
1601
1602echo "$as_me:$LINENO: checking host system type" >&5
1603echo $ECHO_N "checking host system type... $ECHO_C" >&6
1604if test "${ac_cv_host+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1606else
1607 ac_cv_host_alias=$host_alias
1608test -z "$ac_cv_host_alias" &&
1609 ac_cv_host_alias=$ac_cv_build_alias
1610ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1611 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1612echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1613 { (exit 1); exit 1; }; }
1614
1615fi
1616echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1617echo "${ECHO_T}$ac_cv_host" >&6
1618host=$ac_cv_host
1619host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1620host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1621host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1622
1558 1623
1559 1624
1560VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1625VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1561DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1626DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1562LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1627LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
3193 3258
3194 test -n "$AWK" && break 3259 test -n "$AWK" && break
3195done 3260done
3196 3261
3197 3262
3263ac_ext=c
3264ac_cpp='$CPP $CPPFLAGS'
3265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267ac_compiler_gnu=$ac_cv_c_compiler_gnu
3268
3269
3270if test -z "$orig_CXXFLAGS"; then
3271 CXXFLAGS='-O'
3272 if test x$GCC = xyes && test "x$GXX" = xyes; then
3273 CXXFLAGS="-g -O3"
3274 fi
3275 CFLAGS="$CXXFLAGS"
3276fi
3277
3278LINKER="$CXX"
3279if test x$GCC = xyes && test x$GXX = xyes; then
3280
3281echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3282echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3283if test "${ac_cv_lib_supcpp_main+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3285else
3286 ac_check_lib_save_LIBS=$LIBS
3287LIBS="-lsupc++ $LIBS"
3288cat >conftest.$ac_ext <<_ACEOF
3289/* confdefs.h. */
3290_ACEOF
3291cat confdefs.h >>conftest.$ac_ext
3292cat >>conftest.$ac_ext <<_ACEOF
3293/* end confdefs.h. */
3294
3295
3296int
3297main ()
3298{
3299main ();
3300 ;
3301 return 0;
3302}
3303_ACEOF
3304rm -f conftest.$ac_objext conftest$ac_exeext
3305if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3306 (eval $ac_link) 2>conftest.er1
3307 ac_status=$?
3308 grep -v '^ *+' conftest.er1 >conftest.err
3309 rm -f conftest.er1
3310 cat conftest.err >&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } &&
3313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3315 (eval $ac_try) 2>&5
3316 ac_status=$?
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; } &&
3319 { ac_try='test -s conftest$ac_exeext'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 (eval $ac_try) 2>&5
3322 ac_status=$?
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; }; then
3325 ac_cv_lib_supcpp_main=yes
3326else
3327 echo "$as_me: failed program was:" >&5
3328sed 's/^/| /' conftest.$ac_ext >&5
3329
3330ac_cv_lib_supcpp_main=no
3331fi
3332rm -f conftest.err conftest.$ac_objext \
3333 conftest$ac_exeext conftest.$ac_ext
3334LIBS=$ac_check_lib_save_LIBS
3335fi
3336echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
3337echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
3338if test $ac_cv_lib_supcpp_main = yes; then
3339
3340 LINKER="$CC"
3341 LIBS="$LIBS -lsupc++"
3342
3343fi
3344
3345fi
3346LINKER=$LINKER
3347
3348
3349
3350cat >>confdefs.h <<\_ACEOF
3351#define _GNU_SOURCE 1
3352_ACEOF
3353
3354
3355case $host in
3356 *-*-solaris* )
3357
3358cat >>confdefs.h <<\_ACEOF
3359#define _XOPEN_SOURCE_EXTENDED 1
3360_ACEOF
3361
3362
3363cat >>confdefs.h <<\_ACEOF
3364#define _XOPEN_SOURCE 2
3365_ACEOF
3366
3367
3368cat >>confdefs.h <<\_ACEOF
3369#define __EXTENSIONS__ 1
3370_ACEOF
3371
3372 ;;
3373esac
3374
3375
3376ac_ext=cc
3377ac_cpp='$CXXCPP $CPPFLAGS'
3378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3381
3382
3383
3384ac_ext=cc
3385ac_cpp='$CXXCPP $CPPFLAGS'
3386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3389echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3390echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3391if test -z "$CXXCPP"; then
3392 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3394else
3395 # Double quotes because CXXCPP needs to be expanded
3396 for CXXCPP in "$CXX -E" "/lib/cpp"
3397 do
3398 ac_preproc_ok=false
3399for ac_cxx_preproc_warn_flag in '' yes
3400do
3401 # Use a header file that comes with gcc, so configuring glibc
3402 # with a fresh cross-compiler works.
3403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3404 # <limits.h> exists even on freestanding compilers.
3405 # On the NeXT, cc -E runs the code through the compiler's parser,
3406 # not just through cpp. "Syntax error" is here to catch this case.
3407 cat >conftest.$ac_ext <<_ACEOF
3408/* confdefs.h. */
3409_ACEOF
3410cat confdefs.h >>conftest.$ac_ext
3411cat >>conftest.$ac_ext <<_ACEOF
3412/* end confdefs.h. */
3413#ifdef __STDC__
3414# include <limits.h>
3415#else
3416# include <assert.h>
3417#endif
3418 Syntax error
3419_ACEOF
3420if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3422 ac_status=$?
3423 grep -v '^ *+' conftest.er1 >conftest.err
3424 rm -f conftest.er1
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } >/dev/null; then
3428 if test -s conftest.err; then
3429 ac_cpp_err=$ac_cxx_preproc_warn_flag
3430 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3431 else
3432 ac_cpp_err=
3433 fi
3434else
3435 ac_cpp_err=yes
3436fi
3437if test -z "$ac_cpp_err"; then
3438 :
3439else
3440 echo "$as_me: failed program was:" >&5
3441sed 's/^/| /' conftest.$ac_ext >&5
3442
3443 # Broken: fails on valid input.
3444continue
3445fi
3446rm -f conftest.err conftest.$ac_ext
3447
3448 # OK, works on sane cases. Now check whether non-existent headers
3449 # can be detected and how.
3450 cat >conftest.$ac_ext <<_ACEOF
3451/* confdefs.h. */
3452_ACEOF
3453cat confdefs.h >>conftest.$ac_ext
3454cat >>conftest.$ac_ext <<_ACEOF
3455/* end confdefs.h. */
3456#include <ac_nonexistent.h>
3457_ACEOF
3458if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3460 ac_status=$?
3461 grep -v '^ *+' conftest.er1 >conftest.err
3462 rm -f conftest.er1
3463 cat conftest.err >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } >/dev/null; then
3466 if test -s conftest.err; then
3467 ac_cpp_err=$ac_cxx_preproc_warn_flag
3468 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3469 else
3470 ac_cpp_err=
3471 fi
3472else
3473 ac_cpp_err=yes
3474fi
3475if test -z "$ac_cpp_err"; then
3476 # Broken: success on invalid input.
3477continue
3478else
3479 echo "$as_me: failed program was:" >&5
3480sed 's/^/| /' conftest.$ac_ext >&5
3481
3482 # Passes both tests.
3483ac_preproc_ok=:
3484break
3485fi
3486rm -f conftest.err conftest.$ac_ext
3487
3488done
3489# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3490rm -f conftest.err conftest.$ac_ext
3491if $ac_preproc_ok; then
3492 break
3493fi
3494
3495 done
3496 ac_cv_prog_CXXCPP=$CXXCPP
3497
3498fi
3499 CXXCPP=$ac_cv_prog_CXXCPP
3500else
3501 ac_cv_prog_CXXCPP=$CXXCPP
3502fi
3503echo "$as_me:$LINENO: result: $CXXCPP" >&5
3504echo "${ECHO_T}$CXXCPP" >&6
3505ac_preproc_ok=false
3506for ac_cxx_preproc_warn_flag in '' yes
3507do
3508 # Use a header file that comes with gcc, so configuring glibc
3509 # with a fresh cross-compiler works.
3510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3511 # <limits.h> exists even on freestanding compilers.
3512 # On the NeXT, cc -E runs the code through the compiler's parser,
3513 # not just through cpp. "Syntax error" is here to catch this case.
3514 cat >conftest.$ac_ext <<_ACEOF
3515/* confdefs.h. */
3516_ACEOF
3517cat confdefs.h >>conftest.$ac_ext
3518cat >>conftest.$ac_ext <<_ACEOF
3519/* end confdefs.h. */
3520#ifdef __STDC__
3521# include <limits.h>
3522#else
3523# include <assert.h>
3524#endif
3525 Syntax error
3526_ACEOF
3527if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3528 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3529 ac_status=$?
3530 grep -v '^ *+' conftest.er1 >conftest.err
3531 rm -f conftest.er1
3532 cat conftest.err >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } >/dev/null; then
3535 if test -s conftest.err; then
3536 ac_cpp_err=$ac_cxx_preproc_warn_flag
3537 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3538 else
3539 ac_cpp_err=
3540 fi
3541else
3542 ac_cpp_err=yes
3543fi
3544if test -z "$ac_cpp_err"; then
3545 :
3546else
3547 echo "$as_me: failed program was:" >&5
3548sed 's/^/| /' conftest.$ac_ext >&5
3549
3550 # Broken: fails on valid input.
3551continue
3552fi
3553rm -f conftest.err conftest.$ac_ext
3554
3555 # OK, works on sane cases. Now check whether non-existent headers
3556 # can be detected and how.
3557 cat >conftest.$ac_ext <<_ACEOF
3558/* confdefs.h. */
3559_ACEOF
3560cat confdefs.h >>conftest.$ac_ext
3561cat >>conftest.$ac_ext <<_ACEOF
3562/* end confdefs.h. */
3563#include <ac_nonexistent.h>
3564_ACEOF
3565if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3567 ac_status=$?
3568 grep -v '^ *+' conftest.er1 >conftest.err
3569 rm -f conftest.er1
3570 cat conftest.err >&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); } >/dev/null; then
3573 if test -s conftest.err; then
3574 ac_cpp_err=$ac_cxx_preproc_warn_flag
3575 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3576 else
3577 ac_cpp_err=
3578 fi
3579else
3580 ac_cpp_err=yes
3581fi
3582if test -z "$ac_cpp_err"; then
3583 # Broken: success on invalid input.
3584continue
3585else
3586 echo "$as_me: failed program was:" >&5
3587sed 's/^/| /' conftest.$ac_ext >&5
3588
3589 # Passes both tests.
3590ac_preproc_ok=:
3591break
3592fi
3593rm -f conftest.err conftest.$ac_ext
3594
3595done
3596# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3597rm -f conftest.err conftest.$ac_ext
3598if $ac_preproc_ok; then
3599 :
3600else
3601 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3602See \`config.log' for more details." >&5
3603echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3604See \`config.log' for more details." >&2;}
3605 { (exit 1); exit 1; }; }
3606fi
3607
3608ac_ext=cc
3609ac_cpp='$CXXCPP $CPPFLAGS'
3610ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3198 3613
3199 3614
3200echo "$as_me:$LINENO: checking for egrep" >&5 3615echo "$as_me:$LINENO: checking for egrep" >&5
3201echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3616echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3202if test "${ac_cv_prog_egrep+set}" = set; then 3617if test "${ac_cv_prog_egrep+set}" = set; then
3277 grep -v '^ *+' conftest.er1 >conftest.err 3692 grep -v '^ *+' conftest.er1 >conftest.err
3278 rm -f conftest.er1 3693 rm -f conftest.er1
3279 cat conftest.err >&5 3694 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } && 3696 (exit $ac_status); } &&
3282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284 (eval $ac_try) 2>&5 3699 (eval $ac_try) 2>&5
3285 ac_status=$? 3700 ac_status=$?
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); }; } && 3702 (exit $ac_status); }; } &&
3331 grep -v '^ *+' conftest.er1 >conftest.err 3746 grep -v '^ *+' conftest.er1 >conftest.err
3332 rm -f conftest.er1 3747 rm -f conftest.er1
3333 cat conftest.err >&5 3748 cat conftest.err >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } && 3750 (exit $ac_status); } &&
3336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 (eval $ac_try) 2>&5 3753 (eval $ac_try) 2>&5
3339 ac_status=$? 3754 ac_status=$?
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; } && 3756 (exit $ac_status); }; } &&
3361echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3776echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3362echo "${ECHO_T}$ac_cv_search_strerror" >&6 3777echo "${ECHO_T}$ac_cv_search_strerror" >&6
3363if test "$ac_cv_search_strerror" != no; then 3778if test "$ac_cv_search_strerror" != no; then
3364 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3779 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3365 3780
3781fi
3782
3783
3784echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3785echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3786if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3787 echo $ECHO_N "(cached) $ECHO_C" >&6
3788else
3789 ac_check_lib_save_LIBS=$LIBS
3790LIBS="-lxpg4 $LIBS"
3791cat >conftest.$ac_ext <<_ACEOF
3792/* confdefs.h. */
3793_ACEOF
3794cat confdefs.h >>conftest.$ac_ext
3795cat >>conftest.$ac_ext <<_ACEOF
3796/* end confdefs.h. */
3797
3798/* Override any gcc2 internal prototype to avoid an error. */
3799#ifdef __cplusplus
3800extern "C"
3801#endif
3802/* We use char because int might match the return type of a gcc2
3803 builtin and then its argument prototype would still apply. */
3804char setlocale ();
3805int
3806main ()
3807{
3808setlocale ();
3809 ;
3810 return 0;
3811}
3812_ACEOF
3813rm -f conftest.$ac_objext conftest$ac_exeext
3814if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3815 (eval $ac_link) 2>conftest.er1
3816 ac_status=$?
3817 grep -v '^ *+' conftest.er1 >conftest.err
3818 rm -f conftest.er1
3819 cat conftest.err >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); } &&
3822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 (eval $ac_try) 2>&5
3825 ac_status=$?
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; } &&
3828 { ac_try='test -s conftest$ac_exeext'
3829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3830 (eval $ac_try) 2>&5
3831 ac_status=$?
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); }; }; then
3834 ac_cv_lib_xpg4_setlocale=yes
3835else
3836 echo "$as_me: failed program was:" >&5
3837sed 's/^/| /' conftest.$ac_ext >&5
3838
3839ac_cv_lib_xpg4_setlocale=no
3840fi
3841rm -f conftest.err conftest.$ac_objext \
3842 conftest$ac_exeext conftest.$ac_ext
3843LIBS=$ac_check_lib_save_LIBS
3844fi
3845echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3846echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3847if test $ac_cv_lib_xpg4_setlocale = yes; then
3848 LIBS="$LIBS -lxpg4"
3849fi
3850
3851
3852echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3853echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3854if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3856else
3857 ac_check_lib_save_LIBS=$LIBS
3858LIBS="-lnsl $LIBS"
3859cat >conftest.$ac_ext <<_ACEOF
3860/* confdefs.h. */
3861_ACEOF
3862cat confdefs.h >>conftest.$ac_ext
3863cat >>conftest.$ac_ext <<_ACEOF
3864/* end confdefs.h. */
3865
3866/* Override any gcc2 internal prototype to avoid an error. */
3867#ifdef __cplusplus
3868extern "C"
3869#endif
3870/* We use char because int might match the return type of a gcc2
3871 builtin and then its argument prototype would still apply. */
3872char gethostbyname ();
3873int
3874main ()
3875{
3876gethostbyname ();
3877 ;
3878 return 0;
3879}
3880_ACEOF
3881rm -f conftest.$ac_objext conftest$ac_exeext
3882if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3883 (eval $ac_link) 2>conftest.er1
3884 ac_status=$?
3885 grep -v '^ *+' conftest.er1 >conftest.err
3886 rm -f conftest.er1
3887 cat conftest.err >&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); } &&
3890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 (eval $ac_try) 2>&5
3893 ac_status=$?
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; } &&
3896 { ac_try='test -s conftest$ac_exeext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 (eval $ac_try) 2>&5
3899 ac_status=$?
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3902 ac_cv_lib_nsl_gethostbyname=yes
3903else
3904 echo "$as_me: failed program was:" >&5
3905sed 's/^/| /' conftest.$ac_ext >&5
3906
3907ac_cv_lib_nsl_gethostbyname=no
3908fi
3909rm -f conftest.err conftest.$ac_objext \
3910 conftest$ac_exeext conftest.$ac_ext
3911LIBS=$ac_check_lib_save_LIBS
3912fi
3913echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3914echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3915if test $ac_cv_lib_nsl_gethostbyname = yes; then
3916 LIBS="$LIBS -lnsl"
3917fi
3918
3919echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3920echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3921if test "${ac_cv_lib_socket_socket+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3923else
3924 ac_check_lib_save_LIBS=$LIBS
3925LIBS="-lsocket $LIBS"
3926cat >conftest.$ac_ext <<_ACEOF
3927/* confdefs.h. */
3928_ACEOF
3929cat confdefs.h >>conftest.$ac_ext
3930cat >>conftest.$ac_ext <<_ACEOF
3931/* end confdefs.h. */
3932
3933/* Override any gcc2 internal prototype to avoid an error. */
3934#ifdef __cplusplus
3935extern "C"
3936#endif
3937/* We use char because int might match the return type of a gcc2
3938 builtin and then its argument prototype would still apply. */
3939char socket ();
3940int
3941main ()
3942{
3943socket ();
3944 ;
3945 return 0;
3946}
3947_ACEOF
3948rm -f conftest.$ac_objext conftest$ac_exeext
3949if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3950 (eval $ac_link) 2>conftest.er1
3951 ac_status=$?
3952 grep -v '^ *+' conftest.er1 >conftest.err
3953 rm -f conftest.er1
3954 cat conftest.err >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } &&
3957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959 (eval $ac_try) 2>&5
3960 ac_status=$?
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; } &&
3963 { ac_try='test -s conftest$ac_exeext'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 (eval $ac_try) 2>&5
3966 ac_status=$?
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; }; then
3969 ac_cv_lib_socket_socket=yes
3970else
3971 echo "$as_me: failed program was:" >&5
3972sed 's/^/| /' conftest.$ac_ext >&5
3973
3974ac_cv_lib_socket_socket=no
3975fi
3976rm -f conftest.err conftest.$ac_objext \
3977 conftest$ac_exeext conftest.$ac_ext
3978LIBS=$ac_check_lib_save_LIBS
3979fi
3980echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3981echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3982if test $ac_cv_lib_socket_socket = yes; then
3983 LIBS="$LIBS -lsocket"
3366fi 3984fi
3367 3985
3368 3986
3369# Check whether --enable-shared or --disable-shared was given. 3987# Check whether --enable-shared or --disable-shared was given.
3370if test "${enable_shared+set}" = set; then 3988if test "${enable_shared+set}" = set; then
3428 ;; 4046 ;;
3429esac 4047esac
3430else 4048else
3431 enable_fast_install=yes 4049 enable_fast_install=yes
3432fi; 4050fi;
3433# Make sure we can run config.sub.
3434$ac_config_sub sun4 >/dev/null 2>&1 ||
3435 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3436echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3437 { (exit 1); exit 1; }; }
3438
3439echo "$as_me:$LINENO: checking build system type" >&5
3440echo $ECHO_N "checking build system type... $ECHO_C" >&6
3441if test "${ac_cv_build+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3443else
3444 ac_cv_build_alias=$build_alias
3445test -z "$ac_cv_build_alias" &&
3446 ac_cv_build_alias=`$ac_config_guess`
3447test -z "$ac_cv_build_alias" &&
3448 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3449echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3450 { (exit 1); exit 1; }; }
3451ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3452 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3453echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3454 { (exit 1); exit 1; }; }
3455
3456fi
3457echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3458echo "${ECHO_T}$ac_cv_build" >&6
3459build=$ac_cv_build
3460build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3461build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3462build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3463
3464
3465echo "$as_me:$LINENO: checking host system type" >&5
3466echo $ECHO_N "checking host system type... $ECHO_C" >&6
3467if test "${ac_cv_host+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3469else
3470 ac_cv_host_alias=$host_alias
3471test -z "$ac_cv_host_alias" &&
3472 ac_cv_host_alias=$ac_cv_build_alias
3473ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3475echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3476 { (exit 1); exit 1; }; }
3477
3478fi
3479echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3480echo "${ECHO_T}$ac_cv_host" >&6
3481host=$ac_cv_host
3482host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3483host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3484host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3485
3486
3487 4051
3488# Check whether --with-gnu-ld or --without-gnu-ld was given. 4052# Check whether --with-gnu-ld or --without-gnu-ld was given.
3489if test "${with_gnu_ld+set}" = set; then 4053if test "${with_gnu_ld+set}" = set; then
3490 withval="$with_gnu_ld" 4054 withval="$with_gnu_ld"
3491 test "$withval" = no || with_gnu_ld=yes 4055 test "$withval" = no || with_gnu_ld=yes
4035 grep -v '^ *+' conftest.er1 >conftest.err 4599 grep -v '^ *+' conftest.er1 >conftest.err
4036 rm -f conftest.er1 4600 rm -f conftest.er1
4037 cat conftest.err >&5 4601 cat conftest.err >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } && 4603 (exit $ac_status); } &&
4040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 (eval $ac_try) 2>&5 4606 (eval $ac_try) 2>&5
4043 ac_status=$? 4607 ac_status=$?
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; } && 4609 (exit $ac_status); }; } &&
4205 grep -v '^ *+' conftest.er1 >conftest.err 4769 grep -v '^ *+' conftest.er1 >conftest.err
4206 rm -f conftest.er1 4770 rm -f conftest.er1
4207 cat conftest.err >&5 4771 cat conftest.err >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); } && 4773 (exit $ac_status); } &&
4210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 (eval $ac_try) 2>&5 4776 (eval $ac_try) 2>&5
4213 ac_status=$? 4777 ac_status=$?
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); }; } && 4779 (exit $ac_status); }; } &&
4272 grep -v '^ *+' conftest.er1 >conftest.err 4836 grep -v '^ *+' conftest.er1 >conftest.err
4273 rm -f conftest.er1 4837 rm -f conftest.er1
4274 cat conftest.err >&5 4838 cat conftest.err >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } && 4840 (exit $ac_status); } &&
4277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4279 (eval $ac_try) 2>&5 4843 (eval $ac_try) 2>&5
4280 ac_status=$? 4844 ac_status=$?
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); }; } && 4846 (exit $ac_status); }; } &&
4315 rm -f conftest.er1 4879 rm -f conftest.er1
4316 cat conftest.err >&5 4880 cat conftest.err >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } >/dev/null; then 4882 (exit $ac_status); } >/dev/null; then
4319 if test -s conftest.err; then 4883 if test -s conftest.err; then
4320 ac_cpp_err=$ac_c_preproc_warn_flag 4884 ac_cpp_err=$ac_cxx_preproc_warn_flag
4321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4885 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4322 else 4886 else
4323 ac_cpp_err= 4887 ac_cpp_err=
4324 fi 4888 fi
4325else 4889else
4326 ac_cpp_err=yes 4890 ac_cpp_err=yes
4336rm -f conftest.err conftest.$ac_ext 4900rm -f conftest.err conftest.$ac_ext
4337echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4901echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4338echo "${ECHO_T}$ac_header_preproc" >&6 4902echo "${ECHO_T}$ac_header_preproc" >&6
4339 4903
4340# So? What about this header? 4904# So? What about this header?
4341case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4905case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4342 yes:no: ) 4906 yes:no: )
4343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4907 { 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;} 4908echo "$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 4909 { 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;} 4910echo "$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 5270# Some flags need to be propagated to the compiler or linker for good
4707# libtool support. 5271# libtool support.
4708case "$host" in 5272case "$host" in
4709*-*-irix6*) 5273*-*-irix6*)
4710 # Find out which ABI we are using. 5274 # Find out which ABI we are using.
4711 echo '#line 4711 "configure"' > conftest.$ac_ext 5275 echo '#line 5275 "configure"' > conftest.$ac_ext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713 (eval $ac_compile) 2>&5 5277 (eval $ac_compile) 2>&5
4714 ac_status=$? 5278 ac_status=$?
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); }; then 5280 (exit $ac_status); }; then
4789 5353
4790lt_cv_cc_needs_belf=no 5354lt_cv_cc_needs_belf=no
4791fi 5355fi
4792rm -f conftest.err conftest.$ac_objext \ 5356rm -f conftest.err conftest.$ac_objext \
4793 conftest$ac_exeext conftest.$ac_ext 5357 conftest$ac_exeext conftest.$ac_ext
4794 ac_ext=c 5358 ac_ext=cc
4795ac_cpp='$CPP $CPPFLAGS' 5359ac_cpp='$CXXCPP $CPPFLAGS'
4796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5360ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5361ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798ac_compiler_gnu=$ac_cv_c_compiler_gnu 5362ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4799 5363
4800fi 5364fi
4801echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 5365echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4802echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 5366echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4803 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5367 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5098 grep -v '^ *+' conftest.er1 >conftest.err 5662 grep -v '^ *+' conftest.er1 >conftest.err
5099 rm -f conftest.er1 5663 rm -f conftest.er1
5100 cat conftest.err >&5 5664 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } && 5666 (exit $ac_status); } &&
5103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5105 (eval $ac_try) 2>&5 5669 (eval $ac_try) 2>&5
5106 ac_status=$? 5670 ac_status=$?
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } && 5672 (exit $ac_status); }; } &&
5198 grep -v '^ *+' conftest.er1 >conftest.err 5762 grep -v '^ *+' conftest.er1 >conftest.err
5199 rm -f conftest.er1 5763 rm -f conftest.er1
5200 cat conftest.err >&5 5764 cat conftest.err >&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); } && 5766 (exit $ac_status); } &&
5203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5205 (eval $ac_try) 2>&5 5769 (eval $ac_try) 2>&5
5206 ac_status=$? 5770 ac_status=$?
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); }; } && 5772 (exit $ac_status); }; } &&
5257# builds. 5821# builds.
5258chmod -w . 5822chmod -w .
5259save_CFLAGS="$CFLAGS" 5823save_CFLAGS="$CFLAGS"
5260CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5824CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5261compiler_c_o=no 5825compiler_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 5826if { (eval echo configure:5826: \"$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 5827 # The compiler can only warn and ignore the option if not recognized
5264 # So say no if there are warnings 5828 # So say no if there are warnings
5265 if test -s out/conftest.err; then 5829 if test -s out/conftest.err; then
5266 compiler_c_o=no 5830 compiler_c_o=no
5267 else 5831 else
5311 grep -v '^ *+' conftest.er1 >conftest.err 5875 grep -v '^ *+' conftest.er1 >conftest.err
5312 rm -f conftest.er1 5876 rm -f conftest.er1
5313 cat conftest.err >&5 5877 cat conftest.err >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); } && 5879 (exit $ac_status); } &&
5316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5318 (eval $ac_try) 2>&5 5882 (eval $ac_try) 2>&5
5319 ac_status=$? 5883 ac_status=$?
5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 (exit $ac_status); }; } && 5885 (exit $ac_status); }; } &&
5407 grep -v '^ *+' conftest.er1 >conftest.err 5971 grep -v '^ *+' conftest.er1 >conftest.err
5408 rm -f conftest.er1 5972 rm -f conftest.er1
5409 cat conftest.err >&5 5973 cat conftest.err >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } && 5975 (exit $ac_status); } &&
5412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5414 (eval $ac_try) 2>&5 5978 (eval $ac_try) 2>&5
5415 ac_status=$? 5979 ac_status=$?
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); }; } && 5981 (exit $ac_status); }; } &&
6485 grep -v '^ *+' conftest.er1 >conftest.err 7049 grep -v '^ *+' conftest.er1 >conftest.err
6486 rm -f conftest.er1 7050 rm -f conftest.er1
6487 cat conftest.err >&5 7051 cat conftest.err >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } && 7053 (exit $ac_status); } &&
6490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492 (eval $ac_try) 2>&5 7056 (eval $ac_try) 2>&5
6493 ac_status=$? 7057 ac_status=$?
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } && 7059 (exit $ac_status); }; } &&
6578 grep -v '^ *+' conftest.er1 >conftest.err 7142 grep -v '^ *+' conftest.er1 >conftest.err
6579 rm -f conftest.er1 7143 rm -f conftest.er1
6580 cat conftest.err >&5 7144 cat conftest.err >&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } && 7146 (exit $ac_status); } &&
6583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585 (eval $ac_try) 2>&5 7149 (eval $ac_try) 2>&5
6586 ac_status=$? 7150 ac_status=$?
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; } && 7152 (exit $ac_status); }; } &&
6670 grep -v '^ *+' conftest.er1 >conftest.err 7234 grep -v '^ *+' conftest.er1 >conftest.err
6671 rm -f conftest.er1 7235 rm -f conftest.er1
6672 cat conftest.err >&5 7236 cat conftest.err >&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } && 7238 (exit $ac_status); } &&
6675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6677 (eval $ac_try) 2>&5 7241 (eval $ac_try) 2>&5
6678 ac_status=$? 7242 ac_status=$?
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); }; } && 7244 (exit $ac_status); }; } &&
6735 grep -v '^ *+' conftest.er1 >conftest.err 7299 grep -v '^ *+' conftest.er1 >conftest.err
6736 rm -f conftest.er1 7300 rm -f conftest.er1
6737 cat conftest.err >&5 7301 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } && 7303 (exit $ac_status); } &&
6740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7304 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742 (eval $ac_try) 2>&5 7306 (eval $ac_try) 2>&5
6743 ac_status=$? 7307 ac_status=$?
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); }; } && 7309 (exit $ac_status); }; } &&
6801 grep -v '^ *+' conftest.er1 >conftest.err 7365 grep -v '^ *+' conftest.er1 >conftest.err
6802 rm -f conftest.er1 7366 rm -f conftest.er1
6803 cat conftest.err >&5 7367 cat conftest.err >&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); } && 7369 (exit $ac_status); } &&
6806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808 (eval $ac_try) 2>&5 7372 (eval $ac_try) 2>&5
6809 ac_status=$? 7373 ac_status=$?
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); }; } && 7375 (exit $ac_status); }; } &&
6873 lt_cv_dlopen_self=cross 7437 lt_cv_dlopen_self=cross
6874else 7438else
6875 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7439 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6876 lt_status=$lt_dlunknown 7440 lt_status=$lt_dlunknown
6877 cat > conftest.$ac_ext <<EOF 7441 cat > conftest.$ac_ext <<EOF
6878#line 6878 "configure" 7442#line 7442 "configure"
6879#include "confdefs.h" 7443#include "confdefs.h"
6880 7444
6881#if HAVE_DLFCN_H 7445#if HAVE_DLFCN_H
6882#include <dlfcn.h> 7446#include <dlfcn.h>
6883#endif 7447#endif
6971 lt_cv_dlopen_self_static=cross 7535 lt_cv_dlopen_self_static=cross
6972else 7536else
6973 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7537 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6974 lt_status=$lt_dlunknown 7538 lt_status=$lt_dlunknown
6975 cat > conftest.$ac_ext <<EOF 7539 cat > conftest.$ac_ext <<EOF
6976#line 6976 "configure" 7540#line 7540 "configure"
6977#include "confdefs.h" 7541#include "confdefs.h"
6978 7542
6979#if HAVE_DLFCN_H 7543#if HAVE_DLFCN_H
6980#include <dlfcn.h> 7544#include <dlfcn.h>
6981#endif 7545#endif
7702 8266
7703 8267
7704MALLOC_TYPE=S 8268MALLOC_TYPE=S
7705support_addstrings=no 8269support_addstrings=no
7706support_frills=no 8270support_frills=no
7707support_linespace=no
7708support_inheritpixmap=no 8271support_inheritpixmap=no
8272support_tinting=no
8273support_fading=no
7709support_keepscrolling=no 8274support_keepscrolling=no
7710support_selectionscrolling=no 8275support_selectionscrolling=no
7711support_menubar=no 8276support_menubar=no
7712support_mousewheel=no 8277support_mousewheel=no
7713support_mouseslipwheel=no 8278support_mouseslipwheel=no
7714support_oldselection=no
7715support_utmp=no 8279support_utmp=no
7716support_wtmp=no 8280support_wtmp=no
7717support_lastlog=no 8281support_lastlog=no
7718support_cursor_blink=no 8282support_cursor_blink=no
7719support_text_blink=no 8283support_text_blink=no
7724support_scroll_plain=no 8288support_scroll_plain=no
7725support_xim=no 8289support_xim=no
7726support_xpm=no 8290support_xpm=no
7727support_xft=no 8291support_xft=no
7728support_unicode3=no 8292support_unicode3=no
8293support_combining=no
8294support_8bitctrls=no
8295support_iso14755=no
8296support_styles=no
7729codesets= 8297codesets=
7730 8298
7731 8299
7732if test "x$enable_shared" = xyes; then 8300if test "x$enable_shared" = xyes; then
7733 8301
7743if test "${enable_everything+set}" = set; then 8311if test "${enable_everything+set}" = set; then
7744 enableval="$enable_everything" 8312 enableval="$enable_everything"
7745 if test x$enableval = xyes; then 8313 if test x$enableval = xyes; then
7746 support_24bit=yes 8314 support_24bit=yes
7747 support_frills=yes 8315 support_frills=yes
7748 support_linespace=yes
7749 support_inheritpixmap=yes 8316 support_inheritpixmap=yes
8317 support_tinting=yes
8318 support_fading=yes
7750 support_keepscrolling=yes 8319 support_keepscrolling=yes
7751 support_selectionscrolling=yes 8320 support_selectionscrolling=yes
7752 support_lastlog=yes 8321 support_lastlog=yes
7753 support_menubar=yes 8322 support_menubar=yes
7754 support_mousewheel=yes 8323 support_mousewheel=yes
7755 support_mouseslipwheel=yes 8324 support_mouseslipwheel=yes
7756 support_oldselection=yes
7757 support_cursor_blink=yes 8325 support_cursor_blink=yes
7758 support_text_blink=yes 8326 support_text_blink=yes
7759 support_pointer_blank=yes 8327 support_pointer_blank=yes
7760 support_scroll_rxvt=yes 8328 support_scroll_rxvt=yes
7761 support_scroll_next=yes 8329 support_scroll_next=yes
7765 support_wtmp=yes 8333 support_wtmp=yes
7766 support_xim=yes 8334 support_xim=yes
7767 support_xpm=yes 8335 support_xpm=yes
7768 support_xft=yes 8336 support_xft=yes
7769 support_unicode3=yes 8337 support_unicode3=yes
8338 support_combining=yes
8339 #support_8bitctrls=yes
8340 support_iso14755=yes
8341 support_styles=yes
7770 codesets=all 8342 codesets=all
7771 fi 8343 fi
7772fi; 8344fi;
7773 8345
7774# Check whether --enable-unicode3 or --disable-unicode3 was given. 8346# Check whether --enable-unicode3 or --disable-unicode3 was given.
7775if test "${enable_unicode3+set}" = set; then 8347if test "${enable_unicode3+set}" = set; then
7776 enableval="$enable_unicode3" 8348 enableval="$enable_unicode3"
7777 if test x$enableval = xyes; then 8349 if test x$enableval = xyes -o x$enableval = xno; then
7778 support_unicode3=yes 8350 support_unicode3=$enableval
8351 fi
8352fi;
8353
8354# Check whether --enable-combining or --disable-combining was given.
8355if test "${enable_combining+set}" = set; then
8356 enableval="$enable_combining"
8357 if test x$enableval = xyes -o x$enableval = xno; then
8358 support_combining=$enableval
7779 fi 8359 fi
7780fi; 8360fi;
7781 8361
7782# Check whether --enable-xft or --disable-xft was given. 8362# Check whether --enable-xft or --disable-xft was given.
7783if test "${enable_xft+set}" = set; then 8363if test "${enable_xft+set}" = set; then
7784 enableval="$enable_xft" 8364 enableval="$enable_xft"
7785 if test x$enableval = xyes; then 8365 if test x$enableval = xyes -o x$enableval = xno; then
7786 support_xft=yes 8366 support_xft=$enableval
7787 fi 8367 fi
7788fi; 8368fi;
7789 8369
7790 8370# Check whether --enable-font-styles or --disable-font-styles was given.
7791# Check whether --with-codesets or --without-codesets was given. 8371if test "${enable_font_styles+set}" = set; then
7792if test "${with_codesets+set}" = set; then 8372 enableval="$enable_font_styles"
7793 withval="$with_codesets"
7794 if test x$enableval = xyes; then 8373 if test x$enableval = xyes -o x$enableval = xno; then
7795 codesets="$withval" 8374 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 8375 fi
7811fi; 8376fi;
7812 8377
7813# Check whether --enable-utmp or --disable-utmp was given. 8378# Check whether --enable-utmp or --disable-utmp was given.
7814if test "${enable_utmp+set}" = set; then 8379if test "${enable_utmp+set}" = set; then
7848 if test x$enableval = xyes -o x$enableval = xno; then 8413 if test x$enableval = xyes -o x$enableval = xno; then
7849 support_inheritpixmap=$enableval 8414 support_inheritpixmap=$enableval
7850 fi 8415 fi
7851fi; 8416fi;
7852 8417
8418# Check whether --enable-tinting or --disable-tinting was given.
8419if test "${enable_tinting+set}" = set; then
8420 enableval="$enable_tinting"
8421 if test x$enableval = xyes -o x$enableval = xno; then
8422 support_tinting=$enableval
8423 fi
8424fi;
8425
8426# Check whether --enable-fading or --disable-fading was given.
8427if test "${enable_fading+set}" = set; then
8428 enableval="$enable_fading"
8429 if test x$enableval = xyes -o x$enableval = xno; then
8430 support_fading=$enableval
8431 fi
8432fi;
8433
7853# Check whether --enable-menubar or --disable-menubar was given. 8434# Check whether --enable-menubar or --disable-menubar was given.
7854if test "${enable_menubar+set}" = set; then 8435if test "${enable_menubar+set}" = set; then
7855 enableval="$enable_menubar" 8436 enableval="$enable_menubar"
7856 if test x$enableval = xyes -o x$enableval = xno; then 8437 if test x$enableval = xyes -o x$enableval = xno; then
7857 support_menubar=$enableval 8438 support_menubar=$enableval
7900_ACEOF 8481_ACEOF
7901 8482
7902 fi 8483 fi
7903fi; 8484fi;
7904 8485
8486
8487# Check whether --with-codesets or --without-codesets was given.
8488if test "${with_codesets+set}" = set; then
8489 withval="$with_codesets"
8490 codesets="$withval"
8491fi;
8492
7905# Check whether --enable-xim or --disable-xim was given. 8493# Check whether --enable-xim or --disable-xim was given.
7906if test "${enable_xim+set}" = set; then 8494if test "${enable_xim+set}" = set; then
7907 enableval="$enable_xim" 8495 enableval="$enable_xim"
7908 if test x$enableval = xyes -o x$enableval = xno; then 8496 if test x$enableval = xyes -o x$enableval = xno; then
7909 support_xim=$enableval 8497 support_xim=$enableval
7968_ACEOF 8556_ACEOF
7969 8557
7970 fi 8558 fi
7971fi; 8559fi;
7972 8560
8561# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8562if test "${enable_8bitctrls+set}" = set; then
8563 enableval="$enable_8bitctrls"
8564 if test x$enableval = xyes -o x$enableval = xno; then
8565 support_8bitctrls=$enableval
8566 fi
8567fi;
8568
8569RESFALLBACK=Rxvt
8570# Check whether --enable-fallback or --disable-fallback was given.
8571if test "${enable_fallback+set}" = set; then
8572 enableval="$enable_fallback"
8573
8574 test x$enableval = xyes && enableval=Rxvt
8575 test x$enableval = xno && enableval=
8576 RESFALLBACK="$enableval"
8577
8578fi;
8579
8580if test x$RESFALLBACK != x; then
8581
8582cat >>confdefs.h <<_ACEOF
8583#define RESFALLBACK "$RESFALLBACK"
8584_ACEOF
8585
8586fi
8587
8588RESNAME=urxvt
8589
8590# Check whether --with-res-name or --without-res-name was given.
8591if test "${with_res_name+set}" = set; then
8592 withval="$with_res_name"
8593 RESNAME="$withval"
8594fi;
8595
8596cat >>confdefs.h <<_ACEOF
8597#define RESNAME "$RESNAME"
8598_ACEOF
8599
8600
8601RESCLASS=URxvt
8602
8603# Check whether --with-res-class or --without-res-class was given.
8604if test "${with_res_class+set}" = set; then
8605 withval="$with_res_class"
8606 RESCLASS="$withval"
8607fi;
8608
8609cat >>confdefs.h <<_ACEOF
8610#define RESCLASS "$RESCLASS"
8611_ACEOF
8612
8613
8614RXVTNAME=urxvt
8615
8616# Check whether --with-name or --without-name was given.
8617if test "${with_name+set}" = set; then
8618 withval="$with_name"
8619 RXVTNAME="$withval"
8620fi;
8621
8622cat >>confdefs.h <<_ACEOF
8623#define RXVTNAME "$RXVTNAME"
8624_ACEOF
8625
8626
8627RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8628
8629
7973# Check whether --enable-strings or --disable-strings was given. 8630# Check whether --enable-strings or --disable-strings was given.
7974if test "${enable_strings+set}" = set; then 8631if test "${enable_strings+set}" = set; then
7975 enableval="$enable_strings" 8632 enableval="$enable_strings"
7976 if test x$enableval = xyes -o x$enableval = xno; then 8633 if test x$enableval = xyes -o x$enableval = xno; then
7977 support_addstrings=$enableval 8634 support_addstrings=$enableval
7988_ACEOF 8645_ACEOF
7989 8646
7990 fi 8647 fi
7991fi; 8648fi;
7992 8649
8650# Check whether --enable-iso14755 or --disable-iso14755 was given.
8651if test "${enable_iso14755+set}" = set; then
8652 enableval="$enable_iso14755"
8653 if test x$enableval = xyes -o x$enableval = xno; then
8654 support_iso14755=$enableval
8655 fi
8656fi;
8657
7993# Check whether --enable-frills or --disable-frills was given. 8658# Check whether --enable-frills or --disable-frills was given.
7994if test "${enable_frills+set}" = set; then 8659if test "${enable_frills+set}" = set; then
7995 enableval="$enable_frills" 8660 enableval="$enable_frills"
7996 if test x$enableval = xyes -o x$enableval = xno; then 8661 if test x$enableval = xyes -o x$enableval = xno; then
7997 support_frills=$enableval 8662 support_frills=$enableval
7998 fi 8663 fi
7999fi; 8664fi;
8000 8665
8001# Check whether --enable-linespace or --disable-linespace was given.
8002if test "${enable_linespace+set}" = set; then
8003 enableval="$enable_linespace"
8004 if test x$enableval = xyes -o x$enableval = xno; then
8005 support_linespace=$enableval
8006 fi
8007fi;
8008
8009# Check whether --enable-24bit or --disable-24bit was given. 8666# Check whether --enable-24bit or --disable-24bit was given.
8010if test "${enable_24bit+set}" = set; then 8667if test "${enable_24bit+set}" = set; then
8011 enableval="$enable_24bit" 8668 enableval="$enable_24bit"
8012 if test x$enableval = xyes -o x$enableval = xno; then 8669 if test x$enableval = xyes -o x$enableval = xno; then
8013 support_24bit=$enableval 8670 support_24bit=$enableval
8041# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8698# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8042if test "${enable_slipwheeling+set}" = set; then 8699if test "${enable_slipwheeling+set}" = set; then
8043 enableval="$enable_slipwheeling" 8700 enableval="$enable_slipwheeling"
8044 if test x$enableval = xyes -o x$enableval = xno; then 8701 if test x$enableval = xyes -o x$enableval = xno; then
8045 support_mouseslipwheel=$enableval 8702 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 8703 fi
8067fi; 8704fi;
8068 8705
8069# Check whether --enable-dmalloc or --disable-dmalloc was given. 8706# Check whether --enable-dmalloc or --disable-dmalloc was given.
8070if test "${enable_dmalloc+set}" = set; then 8707if test "${enable_dmalloc+set}" = set; then
8098_ACEOF 8735_ACEOF
8099 8736
8100 fi 8737 fi
8101fi; 8738fi;
8102 8739
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
8111
8112 fi
8113fi;
8114
8115# Check whether --enable-cursor-blink or --disable-cursor-blink was given. 8740# Check whether --enable-cursor-blink or --disable-cursor-blink was given.
8116if test "${enable_cursor_blink+set}" = set; then 8741if test "${enable_cursor_blink+set}" = set; then
8117 enableval="$enable_cursor_blink" 8742 enableval="$enable_cursor_blink"
8118 if test x$enableval = xyes -o x$enableval = xno; then 8743 if test x$enableval = xyes -o x$enableval = xno; then
8119 support_cursor_blink=$enableval 8744 support_cursor_blink=$enableval
8166 8791
8167cat >>confdefs.h <<\_ACEOF 8792cat >>confdefs.h <<\_ACEOF
8168#define PROTOTYPES 1 8793#define PROTOTYPES 1
8169_ACEOF 8794_ACEOF
8170 8795
8171
8172if test -z "$CFLAGS"; then
8173 if test -z "$CCOPTS"; then
8174 CCOPTS='-O'
8175 fi
8176 CFLAGS="$CCOPTS"
8177fi
8178 8796
8179# Extract the first word of "mv", so it can be a program name with args. 8797# Extract the first word of "mv", so it can be a program name with args.
8180set dummy mv; ac_word=$2 8798set dummy mv; ac_word=$2
8181echo "$as_me:$LINENO: checking for $ac_word" >&5 8799echo "$as_me:$LINENO: checking for $ac_word" >&5
8182echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8800echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8493else 9111else
8494 echo "$as_me:$LINENO: result: no" >&5 9112 echo "$as_me:$LINENO: result: no" >&5
8495echo "${ECHO_T}no" >&6 9113echo "${ECHO_T}no" >&6
8496fi 9114fi
8497 9115
9116# Extract the first word of "tic", so it can be a program name with args.
9117set dummy tic; ac_word=$2
9118echo "$as_me:$LINENO: checking for $ac_word" >&5
9119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9120if test "${ac_cv_path_TIC+set}" = set; then
9121 echo $ECHO_N "(cached) $ECHO_C" >&6
9122else
9123 case $TIC in
9124 [\\/]* | ?:[\\/]*)
9125 ac_cv_path_TIC="$TIC" # Let the user override the test with a path.
9126 ;;
9127 *)
9128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9129for as_dir in $PATH
9130do
9131 IFS=$as_save_IFS
9132 test -z "$as_dir" && as_dir=.
9133 for ac_exec_ext in '' $ac_executable_extensions; do
9134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9135 ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext"
9136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9137 break 2
9138 fi
9139done
9140done
8498 9141
9142 ;;
9143esac
9144fi
9145TIC=$ac_cv_path_TIC
8499 9146
9147if test -n "$TIC"; then
9148 echo "$as_me:$LINENO: result: $TIC" >&5
9149echo "${ECHO_T}$TIC" >&6
9150else
9151 echo "$as_me:$LINENO: result: no" >&5
9152echo "${ECHO_T}no" >&6
9153fi
8500 9154
9155
9156
9157
9158
9159if test "x$ac_path_x_has_been_run" != xyes; then
8501echo "$as_me:$LINENO: checking for X" >&5 9160 echo "$as_me:$LINENO: checking for X" >&5
8502echo $ECHO_N "checking for X... $ECHO_C" >&6 9161echo $ECHO_N "checking for X... $ECHO_C" >&6
8503 9162
9163ac_path_x_has_been_run=yes
8504 9164
8505# Check whether --with-x or --without-x was given. 9165# Check whether --with-x or --without-x was given.
8506if test "${with_x+set}" = set; then 9166if test "${with_x+set}" = set; then
8507 withval="$with_x" 9167 withval="$with_x"
8508 9168
8591 9251
8592/usr/openwin/include 9252/usr/openwin/include
8593/usr/openwin/share/include' 9253/usr/openwin/share/include'
8594 9254
8595if test "$ac_x_includes" = no; then 9255if test "$ac_x_includes" = no; then
8596 # Guess where to find include files, by looking for Intrinsic.h. 9256 # Guess where to find include files, by looking for a specified header file.
8597 # First, try using that file with no special directory specified. 9257 # First, try using that file with no special directory specified.
8598 cat >conftest.$ac_ext <<_ACEOF 9258 cat >conftest.$ac_ext <<_ACEOF
8599/* confdefs.h. */ 9259/* confdefs.h. */
8600_ACEOF 9260_ACEOF
8601cat confdefs.h >>conftest.$ac_ext 9261cat confdefs.h >>conftest.$ac_ext
8610 rm -f conftest.er1 9270 rm -f conftest.er1
8611 cat conftest.err >&5 9271 cat conftest.err >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); } >/dev/null; then 9273 (exit $ac_status); } >/dev/null; then
8614 if test -s conftest.err; then 9274 if test -s conftest.err; then
8615 ac_cpp_err=$ac_c_preproc_warn_flag 9275 ac_cpp_err=$ac_cxx_preproc_warn_flag
8616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9276 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8617 else 9277 else
8618 ac_cpp_err= 9278 ac_cpp_err=
8619 fi 9279 fi
8620else 9280else
8621 ac_cpp_err=yes 9281 ac_cpp_err=yes
8665 grep -v '^ *+' conftest.er1 >conftest.err 9325 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1 9326 rm -f conftest.er1
8667 cat conftest.err >&5 9327 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && 9329 (exit $ac_status); } &&
8670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672 (eval $ac_try) 2>&5 9332 (eval $ac_try) 2>&5
8673 ac_status=$? 9333 ac_status=$?
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); }; } && 9335 (exit $ac_status); }; } &&
8725 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9385 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8726 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9386 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8727 # Update the cache value to reflect the command line values. 9387 # Update the cache value to reflect the command line values.
8728 ac_cv_have_x="have_x=yes \ 9388 ac_cv_have_x="have_x=yes \
8729 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9389 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9390 # It might be that x_includes is empty (headers are found in the
9391 # standard search path. Then output the corresponding message
9392 ac_out_x_includes=$x_includes
9393 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 9394 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
8731echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9395echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
8732fi 9396fi
8733 9397
9398fi
8734if test "$no_x" = yes; then 9399if test "$no_x" = yes; then
8735 # Not all programs may use this symbol, but it does not hurt to define it. 9400 # Not all programs may use this symbol, but it does not hurt to define it.
8736 9401
8737cat >>confdefs.h <<\_ACEOF 9402cat >>confdefs.h <<\_ACEOF
8738#define X_DISPLAY_MISSING 1 9403#define X_DISPLAY_MISSING 1
8776 grep -v '^ *+' conftest.er1 >conftest.err 9441 grep -v '^ *+' conftest.er1 >conftest.err
8777 rm -f conftest.er1 9442 rm -f conftest.er1
8778 cat conftest.err >&5 9443 cat conftest.err >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } && 9445 (exit $ac_status); } &&
8781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9446 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 (eval $ac_try) 2>&5 9448 (eval $ac_try) 2>&5
8784 ac_status=$? 9449 ac_status=$?
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; } && 9451 (exit $ac_status); }; } &&
8827 grep -v '^ *+' conftest.er1 >conftest.err 9492 grep -v '^ *+' conftest.er1 >conftest.err
8828 rm -f conftest.er1 9493 rm -f conftest.er1
8829 cat conftest.err >&5 9494 cat conftest.err >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); } && 9496 (exit $ac_status); } &&
8832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 (eval $ac_try) 2>&5 9499 (eval $ac_try) 2>&5
8835 ac_status=$? 9500 ac_status=$?
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; } && 9502 (exit $ac_status); }; } &&
8903 grep -v '^ *+' conftest.er1 >conftest.err 9568 grep -v '^ *+' conftest.er1 >conftest.err
8904 rm -f conftest.er1 9569 rm -f conftest.er1
8905 cat conftest.err >&5 9570 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } && 9572 (exit $ac_status); } &&
8908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8910 (eval $ac_try) 2>&5 9575 (eval $ac_try) 2>&5
8911 ac_status=$? 9576 ac_status=$?
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; } && 9578 (exit $ac_status); }; } &&
8958 grep -v '^ *+' conftest.er1 >conftest.err 9623 grep -v '^ *+' conftest.er1 >conftest.err
8959 rm -f conftest.er1 9624 rm -f conftest.er1
8960 cat conftest.err >&5 9625 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && 9627 (exit $ac_status); } &&
8963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 (eval $ac_try) 2>&5 9630 (eval $ac_try) 2>&5
8966 ac_status=$? 9631 ac_status=$?
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } && 9633 (exit $ac_status); }; } &&
9026 grep -v '^ *+' conftest.er1 >conftest.err 9691 grep -v '^ *+' conftest.er1 >conftest.err
9027 rm -f conftest.er1 9692 rm -f conftest.er1
9028 cat conftest.err >&5 9693 cat conftest.err >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); } && 9695 (exit $ac_status); } &&
9031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9033 (eval $ac_try) 2>&5 9698 (eval $ac_try) 2>&5
9034 ac_status=$? 9699 ac_status=$?
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; } && 9701 (exit $ac_status); }; } &&
9134 grep -v '^ *+' conftest.er1 >conftest.err 9799 grep -v '^ *+' conftest.er1 >conftest.err
9135 rm -f conftest.er1 9800 rm -f conftest.er1
9136 cat conftest.err >&5 9801 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } && 9803 (exit $ac_status); } &&
9139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 (eval $ac_try) 2>&5 9806 (eval $ac_try) 2>&5
9142 ac_status=$? 9807 ac_status=$?
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } && 9809 (exit $ac_status); }; } &&
9198 grep -v '^ *+' conftest.er1 >conftest.err 9863 grep -v '^ *+' conftest.er1 >conftest.err
9199 rm -f conftest.er1 9864 rm -f conftest.er1
9200 cat conftest.err >&5 9865 cat conftest.err >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && 9867 (exit $ac_status); } &&
9203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 (eval $ac_try) 2>&5 9870 (eval $ac_try) 2>&5
9206 ac_status=$? 9871 ac_status=$?
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; } && 9873 (exit $ac_status); }; } &&
9266 grep -v '^ *+' conftest.er1 >conftest.err 9931 grep -v '^ *+' conftest.er1 >conftest.err
9267 rm -f conftest.er1 9932 rm -f conftest.er1
9268 cat conftest.err >&5 9933 cat conftest.err >&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); } && 9935 (exit $ac_status); } &&
9271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9936 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 (eval $ac_try) 2>&5 9938 (eval $ac_try) 2>&5
9274 ac_status=$? 9939 ac_status=$?
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; } && 9941 (exit $ac_status); }; } &&
9370 grep -v '^ *+' conftest.er1 >conftest.err 10035 grep -v '^ *+' conftest.er1 >conftest.err
9371 rm -f conftest.er1 10036 rm -f conftest.er1
9372 cat conftest.err >&5 10037 cat conftest.err >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); } && 10039 (exit $ac_status); } &&
9375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9377 (eval $ac_try) 2>&5 10042 (eval $ac_try) 2>&5
9378 ac_status=$? 10043 ac_status=$?
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); }; } && 10045 (exit $ac_status); }; } &&
9434 grep -v '^ *+' conftest.er1 >conftest.err 10099 grep -v '^ *+' conftest.er1 >conftest.err
9435 rm -f conftest.er1 10100 rm -f conftest.er1
9436 cat conftest.err >&5 10101 cat conftest.err >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } && 10103 (exit $ac_status); } &&
9439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 (eval $ac_try) 2>&5 10106 (eval $ac_try) 2>&5
9442 ac_status=$? 10107 ac_status=$?
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; } && 10109 (exit $ac_status); }; } &&
9531 grep -v '^ *+' conftest.er1 >conftest.err 10196 grep -v '^ *+' conftest.er1 >conftest.err
9532 rm -f conftest.er1 10197 rm -f conftest.er1
9533 cat conftest.err >&5 10198 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && 10200 (exit $ac_status); } &&
9536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 (eval $ac_try) 2>&5 10203 (eval $ac_try) 2>&5
9539 ac_status=$? 10204 ac_status=$?
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; } && 10206 (exit $ac_status); }; } &&
9595 grep -v '^ *+' conftest.er1 >conftest.err 10260 grep -v '^ *+' conftest.er1 >conftest.err
9596 rm -f conftest.er1 10261 rm -f conftest.er1
9597 cat conftest.err >&5 10262 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && 10264 (exit $ac_status); } &&
9600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10265 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602 (eval $ac_try) 2>&5 10267 (eval $ac_try) 2>&5
9603 ac_status=$? 10268 ac_status=$?
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); }; } && 10270 (exit $ac_status); }; } &&
9692 grep -v '^ *+' conftest.er1 >conftest.err 10357 grep -v '^ *+' conftest.er1 >conftest.err
9693 rm -f conftest.er1 10358 rm -f conftest.er1
9694 cat conftest.err >&5 10359 cat conftest.err >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } && 10361 (exit $ac_status); } &&
9697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10362 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 (eval $ac_try) 2>&5 10364 (eval $ac_try) 2>&5
9700 ac_status=$? 10365 ac_status=$?
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); }; } && 10367 (exit $ac_status); }; } &&
9756 grep -v '^ *+' conftest.er1 >conftest.err 10421 grep -v '^ *+' conftest.er1 >conftest.err
9757 rm -f conftest.er1 10422 rm -f conftest.er1
9758 cat conftest.err >&5 10423 cat conftest.err >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } && 10425 (exit $ac_status); } &&
9761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 (eval $ac_try) 2>&5 10428 (eval $ac_try) 2>&5
9764 ac_status=$? 10429 ac_status=$?
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; } && 10431 (exit $ac_status); }; } &&
9835 grep -v '^ *+' conftest.er1 >conftest.err 10500 grep -v '^ *+' conftest.er1 >conftest.err
9836 rm -f conftest.er1 10501 rm -f conftest.er1
9837 cat conftest.err >&5 10502 cat conftest.err >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } && 10504 (exit $ac_status); } &&
9840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842 (eval $ac_try) 2>&5 10507 (eval $ac_try) 2>&5
9843 ac_status=$? 10508 ac_status=$?
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } && 10510 (exit $ac_status); }; } &&
9951 rm -f conftest.er1 10616 rm -f conftest.er1
9952 cat conftest.err >&5 10617 cat conftest.err >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); } >/dev/null; then 10619 (exit $ac_status); } >/dev/null; then
9955 if test -s conftest.err; then 10620 if test -s conftest.err; then
9956 ac_cpp_err=$ac_c_preproc_warn_flag 10621 ac_cpp_err=$ac_cxx_preproc_warn_flag
9957 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10622 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9958 else 10623 else
9959 ac_cpp_err= 10624 ac_cpp_err=
9960 fi 10625 fi
9961else 10626else
9962 ac_cpp_err=yes 10627 ac_cpp_err=yes
10051 grep -v '^ *+' conftest.er1 >conftest.err 10716 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1 10717 rm -f conftest.er1
10053 cat conftest.err >&5 10718 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && 10720 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10058 (eval $ac_try) 2>&5 10723 (eval $ac_try) 2>&5
10059 ac_status=$? 10724 ac_status=$?
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); }; } && 10726 (exit $ac_status); }; } &&
10163 rm -f conftest.er1 10828 rm -f conftest.er1
10164 cat conftest.err >&5 10829 cat conftest.err >&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); } >/dev/null; then 10831 (exit $ac_status); } >/dev/null; then
10167 if test -s conftest.err; then 10832 if test -s conftest.err; then
10168 ac_cpp_err=$ac_c_preproc_warn_flag 10833 ac_cpp_err=$ac_cxx_preproc_warn_flag
10169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10834 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10170 else 10835 else
10171 ac_cpp_err= 10836 ac_cpp_err=
10172 fi 10837 fi
10173else 10838else
10174 ac_cpp_err=yes 10839 ac_cpp_err=yes
10265 grep -v '^ *+' conftest.er1 >conftest.err 10930 grep -v '^ *+' conftest.er1 >conftest.err
10266 rm -f conftest.er1 10931 rm -f conftest.er1
10267 cat conftest.err >&5 10932 cat conftest.err >&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } && 10934 (exit $ac_status); } &&
10270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5 10937 (eval $ac_try) 2>&5
10273 ac_status=$? 10938 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; } && 10940 (exit $ac_status); }; } &&
10295cat >>confdefs.h <<\_ACEOF 10960cat >>confdefs.h <<\_ACEOF
10296#define HAVE_SYS_WAIT_H 1 10961#define HAVE_SYS_WAIT_H 1
10297_ACEOF 10962_ACEOF
10298 10963
10299fi 10964fi
10965
10966
10967
10968
10969
10300 10970
10301 10971
10302 10972
10303 10973
10304 10974
10331 sys/byteorder.h \ 11001 sys/byteorder.h \
10332 sys/ioctl.h \ 11002 sys/ioctl.h \
10333 sys/select.h \ 11003 sys/select.h \
10334 sys/sockio.h \ 11004 sys/sockio.h \
10335 sys/strredir.h \ 11005 sys/strredir.h \
11006 sys/stropts.h \
10336 sys/time.h \ 11007 sys/time.h \
10337 utmp.h \ 11008 utmp.h \
10338 utmpx.h \ 11009 utmpx.h \
10339 stdint.h \ 11010 stdint.h \
11011 pty.h \
11012 wchar.h \
11013 cwchar \
11014 clocale \
10340 11015
10341do 11016do
10342as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11017as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10343if eval "test \"\${$as_ac_Header+set}\" = set"; then 11018if eval "test \"\${$as_ac_Header+set}\" = set"; then
10344 echo "$as_me:$LINENO: checking for $ac_header" >&5 11019 echo "$as_me:$LINENO: checking for $ac_header" >&5
10368 grep -v '^ *+' conftest.er1 >conftest.err 11043 grep -v '^ *+' conftest.er1 >conftest.err
10369 rm -f conftest.er1 11044 rm -f conftest.er1
10370 cat conftest.err >&5 11045 cat conftest.err >&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); } && 11047 (exit $ac_status); } &&
10373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10375 (eval $ac_try) 2>&5 11050 (eval $ac_try) 2>&5
10376 ac_status=$? 11051 ac_status=$?
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); }; } && 11053 (exit $ac_status); }; } &&
10411 rm -f conftest.er1 11086 rm -f conftest.er1
10412 cat conftest.err >&5 11087 cat conftest.err >&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); } >/dev/null; then 11089 (exit $ac_status); } >/dev/null; then
10415 if test -s conftest.err; then 11090 if test -s conftest.err; then
10416 ac_cpp_err=$ac_c_preproc_warn_flag 11091 ac_cpp_err=$ac_cxx_preproc_warn_flag
10417 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 11092 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10418 else 11093 else
10419 ac_cpp_err= 11094 ac_cpp_err=
10420 fi 11095 fi
10421else 11096else
10422 ac_cpp_err=yes 11097 ac_cpp_err=yes
10432rm -f conftest.err conftest.$ac_ext 11107rm -f conftest.err conftest.$ac_ext
10433echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11108echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10434echo "${ECHO_T}$ac_header_preproc" >&6 11109echo "${ECHO_T}$ac_header_preproc" >&6
10435 11110
10436# So? What about this header? 11111# So? What about this header?
10437case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11112case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10438 yes:no: ) 11113 yes:no: )
10439 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11114 { 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;} 11115echo "$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 11116 { 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;} 11117echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10517 grep -v '^ *+' conftest.er1 >conftest.err 11192 grep -v '^ *+' conftest.er1 >conftest.err
10518 rm -f conftest.er1 11193 rm -f conftest.er1
10519 cat conftest.err >&5 11194 cat conftest.err >&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } && 11196 (exit $ac_status); } &&
10522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11197 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5 11199 (eval $ac_try) 2>&5
10525 ac_status=$? 11200 ac_status=$?
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; } && 11202 (exit $ac_status); }; } &&
10582 grep -v '^ *+' conftest.er1 >conftest.err 11257 grep -v '^ *+' conftest.er1 >conftest.err
10583 rm -f conftest.er1 11258 rm -f conftest.er1
10584 cat conftest.err >&5 11259 cat conftest.err >&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } && 11261 (exit $ac_status); } &&
10587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5 11264 (eval $ac_try) 2>&5
10590 ac_status=$? 11265 ac_status=$?
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; } && 11267 (exit $ac_status); }; } &&
10747 grep -v '^ *+' conftest.er1 >conftest.err 11422 grep -v '^ *+' conftest.er1 >conftest.err
10748 rm -f conftest.er1 11423 rm -f conftest.er1
10749 cat conftest.err >&5 11424 cat conftest.err >&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } && 11426 (exit $ac_status); } &&
10752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5 11429 (eval $ac_try) 2>&5
10755 ac_status=$? 11430 ac_status=$?
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; } && 11432 (exit $ac_status); }; } &&
10856 grep -v '^ *+' conftest.er1 >conftest.err 11531 grep -v '^ *+' conftest.er1 >conftest.err
10857 rm -f conftest.er1 11532 rm -f conftest.er1
10858 cat conftest.err >&5 11533 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } && 11535 (exit $ac_status); } &&
10861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10863 (eval $ac_try) 2>&5 11538 (eval $ac_try) 2>&5
10864 ac_status=$? 11539 ac_status=$?
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; } && 11541 (exit $ac_status); }; } &&
10916 grep -v '^ *+' conftest.er1 >conftest.err 11591 grep -v '^ *+' conftest.er1 >conftest.err
10917 rm -f conftest.er1 11592 rm -f conftest.er1
10918 cat conftest.err >&5 11593 cat conftest.err >&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } && 11595 (exit $ac_status); } &&
10921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5 11598 (eval $ac_try) 2>&5
10924 ac_status=$? 11599 ac_status=$?
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; } && 11601 (exit $ac_status); }; } &&
10991 grep -v '^ *+' conftest.er1 >conftest.err 11666 grep -v '^ *+' conftest.er1 >conftest.err
10992 rm -f conftest.er1 11667 rm -f conftest.er1
10993 cat conftest.err >&5 11668 cat conftest.err >&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } && 11670 (exit $ac_status); } &&
10996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5 11673 (eval $ac_try) 2>&5
10999 ac_status=$? 11674 ac_status=$?
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }; } && 11676 (exit $ac_status); }; } &&
11056 grep -v '^ *+' conftest.er1 >conftest.err 11731 grep -v '^ *+' conftest.er1 >conftest.err
11057 rm -f conftest.er1 11732 rm -f conftest.er1
11058 cat conftest.err >&5 11733 cat conftest.err >&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } && 11735 (exit $ac_status); } &&
11061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5 11738 (eval $ac_try) 2>&5
11064 ac_status=$? 11739 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; } && 11741 (exit $ac_status); }; } &&
11126cat >>confdefs.h <<\_ACEOF 11801cat >>confdefs.h <<\_ACEOF
11127#define gid_t int 11802#define gid_t int
11128_ACEOF 11803_ACEOF
11129 11804
11130fi 11805fi
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 11806
11541 11807
11542echo "$as_me:$LINENO: checking for short" >&5 11808echo "$as_me:$LINENO: checking for short" >&5
11543echo $ECHO_N "checking for short... $ECHO_C" >&6 11809echo $ECHO_N "checking for short... $ECHO_C" >&6
11544if test "${ac_cv_type_short+set}" = set; then 11810if test "${ac_cv_type_short+set}" = set; then
11569 grep -v '^ *+' conftest.er1 >conftest.err 11835 grep -v '^ *+' conftest.er1 >conftest.err
11570 rm -f conftest.er1 11836 rm -f conftest.er1
11571 cat conftest.err >&5 11837 cat conftest.err >&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } && 11839 (exit $ac_status); } &&
11574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5 11842 (eval $ac_try) 2>&5
11577 ac_status=$? 11843 ac_status=$?
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; } && 11845 (exit $ac_status); }; } &&
11631 grep -v '^ *+' conftest.er1 >conftest.err 11897 grep -v '^ *+' conftest.er1 >conftest.err
11632 rm -f conftest.er1 11898 rm -f conftest.er1
11633 cat conftest.err >&5 11899 cat conftest.err >&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } && 11901 (exit $ac_status); } &&
11636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5 11904 (eval $ac_try) 2>&5
11639 ac_status=$? 11905 ac_status=$?
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; } && 11907 (exit $ac_status); }; } &&
11671 grep -v '^ *+' conftest.er1 >conftest.err 11937 grep -v '^ *+' conftest.er1 >conftest.err
11672 rm -f conftest.er1 11938 rm -f conftest.er1
11673 cat conftest.err >&5 11939 cat conftest.err >&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } && 11941 (exit $ac_status); } &&
11676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5 11944 (eval $ac_try) 2>&5
11679 ac_status=$? 11945 ac_status=$?
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; } && 11947 (exit $ac_status); }; } &&
11727 grep -v '^ *+' conftest.er1 >conftest.err 11993 grep -v '^ *+' conftest.er1 >conftest.err
11728 rm -f conftest.er1 11994 rm -f conftest.er1
11729 cat conftest.err >&5 11995 cat conftest.err >&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } && 11997 (exit $ac_status); } &&
11732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5 12000 (eval $ac_try) 2>&5
11735 ac_status=$? 12001 ac_status=$?
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; } && 12003 (exit $ac_status); }; } &&
11767 grep -v '^ *+' conftest.er1 >conftest.err 12033 grep -v '^ *+' conftest.er1 >conftest.err
11768 rm -f conftest.er1 12034 rm -f conftest.er1
11769 cat conftest.err >&5 12035 cat conftest.err >&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); } && 12037 (exit $ac_status); } &&
11772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774 (eval $ac_try) 2>&5 12040 (eval $ac_try) 2>&5
11775 ac_status=$? 12041 ac_status=$?
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }; } && 12043 (exit $ac_status); }; } &&
11831 grep -v '^ *+' conftest.er1 >conftest.err 12097 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1 12098 rm -f conftest.er1
11833 cat conftest.err >&5 12099 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && 12101 (exit $ac_status); } &&
11836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5 12104 (eval $ac_try) 2>&5
11839 ac_status=$? 12105 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } && 12107 (exit $ac_status); }; } &&
11862See \`config.log' for more details." >&2;} 12128See \`config.log' for more details." >&2;}
11863 { (exit 1); exit 1; }; } ;; 12129 { (exit 1); exit 1; }; } ;;
11864esac 12130esac
11865else 12131else
11866 if test "$cross_compiling" = yes; then 12132 if test "$cross_compiling" = yes; then
11867 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 12133 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11868See \`config.log' for more details." >&5 12134echo "$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; }; } 12135 { (exit 1); exit 1; }; }
11872else 12136else
11873 cat >conftest.$ac_ext <<_ACEOF 12137 cat >conftest.$ac_ext <<_ACEOF
11874/* confdefs.h. */ 12138/* confdefs.h. */
11875_ACEOF 12139_ACEOF
11977 grep -v '^ *+' conftest.er1 >conftest.err 12241 grep -v '^ *+' conftest.er1 >conftest.err
11978 rm -f conftest.er1 12242 rm -f conftest.er1
11979 cat conftest.err >&5 12243 cat conftest.err >&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } && 12245 (exit $ac_status); } &&
11982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12246 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11984 (eval $ac_try) 2>&5 12248 (eval $ac_try) 2>&5
11985 ac_status=$? 12249 ac_status=$?
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); }; } && 12251 (exit $ac_status); }; } &&
12039 grep -v '^ *+' conftest.er1 >conftest.err 12303 grep -v '^ *+' conftest.er1 >conftest.err
12040 rm -f conftest.er1 12304 rm -f conftest.er1
12041 cat conftest.err >&5 12305 cat conftest.err >&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } && 12307 (exit $ac_status); } &&
12044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5 12310 (eval $ac_try) 2>&5
12047 ac_status=$? 12311 ac_status=$?
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } && 12313 (exit $ac_status); }; } &&
12079 grep -v '^ *+' conftest.er1 >conftest.err 12343 grep -v '^ *+' conftest.er1 >conftest.err
12080 rm -f conftest.er1 12344 rm -f conftest.er1
12081 cat conftest.err >&5 12345 cat conftest.err >&5
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); } && 12347 (exit $ac_status); } &&
12084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12348 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12086 (eval $ac_try) 2>&5 12350 (eval $ac_try) 2>&5
12087 ac_status=$? 12351 ac_status=$?
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; } && 12353 (exit $ac_status); }; } &&
12135 grep -v '^ *+' conftest.er1 >conftest.err 12399 grep -v '^ *+' conftest.er1 >conftest.err
12136 rm -f conftest.er1 12400 rm -f conftest.er1
12137 cat conftest.err >&5 12401 cat conftest.err >&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); } && 12403 (exit $ac_status); } &&
12140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5 12406 (eval $ac_try) 2>&5
12143 ac_status=$? 12407 ac_status=$?
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; } && 12409 (exit $ac_status); }; } &&
12175 grep -v '^ *+' conftest.er1 >conftest.err 12439 grep -v '^ *+' conftest.er1 >conftest.err
12176 rm -f conftest.er1 12440 rm -f conftest.er1
12177 cat conftest.err >&5 12441 cat conftest.err >&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && 12443 (exit $ac_status); } &&
12180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12182 (eval $ac_try) 2>&5 12446 (eval $ac_try) 2>&5
12183 ac_status=$? 12447 ac_status=$?
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }; } && 12449 (exit $ac_status); }; } &&
12239 grep -v '^ *+' conftest.er1 >conftest.err 12503 grep -v '^ *+' conftest.er1 >conftest.err
12240 rm -f conftest.er1 12504 rm -f conftest.er1
12241 cat conftest.err >&5 12505 cat conftest.err >&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } && 12507 (exit $ac_status); } &&
12244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5 12510 (eval $ac_try) 2>&5
12247 ac_status=$? 12511 ac_status=$?
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; } && 12513 (exit $ac_status); }; } &&
12270See \`config.log' for more details." >&2;} 12534See \`config.log' for more details." >&2;}
12271 { (exit 1); exit 1; }; } ;; 12535 { (exit 1); exit 1; }; } ;;
12272esac 12536esac
12273else 12537else
12274 if test "$cross_compiling" = yes; then 12538 if test "$cross_compiling" = yes; then
12275 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 12539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
12276See \`config.log' for more details." >&5 12540echo "$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; }; } 12541 { (exit 1); exit 1; }; }
12280else 12542else
12281 cat >conftest.$ac_ext <<_ACEOF 12543 cat >conftest.$ac_ext <<_ACEOF
12282/* confdefs.h. */ 12544/* confdefs.h. */
12283_ACEOF 12545_ACEOF
12353cat >>confdefs.h <<_ACEOF 12615cat >>confdefs.h <<_ACEOF
12354#define SIZEOF_INT $ac_cv_sizeof_int 12616#define SIZEOF_INT $ac_cv_sizeof_int
12355_ACEOF 12617_ACEOF
12356 12618
12357 12619
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 12620echo "$as_me:$LINENO: checking for long long" >&5
12767echo $ECHO_N "checking for long long... $ECHO_C" >&6 12621echo $ECHO_N "checking for long long... $ECHO_C" >&6
12768if test "${ac_cv_type_long_long+set}" = set; then 12622if test "${ac_cv_type_long_long+set}" = set; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6 12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12770else 12624else
12793 grep -v '^ *+' conftest.er1 >conftest.err 12647 grep -v '^ *+' conftest.er1 >conftest.err
12794 rm -f conftest.er1 12648 rm -f conftest.er1
12795 cat conftest.err >&5 12649 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && 12651 (exit $ac_status); } &&
12798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5 12654 (eval $ac_try) 2>&5
12801 ac_status=$? 12655 ac_status=$?
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; } && 12657 (exit $ac_status); }; } &&
12855 grep -v '^ *+' conftest.er1 >conftest.err 12709 grep -v '^ *+' conftest.er1 >conftest.err
12856 rm -f conftest.er1 12710 rm -f conftest.er1
12857 cat conftest.err >&5 12711 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } && 12713 (exit $ac_status); } &&
12860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12714 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5 12716 (eval $ac_try) 2>&5
12863 ac_status=$? 12717 ac_status=$?
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; } && 12719 (exit $ac_status); }; } &&
12895 grep -v '^ *+' conftest.er1 >conftest.err 12749 grep -v '^ *+' conftest.er1 >conftest.err
12896 rm -f conftest.er1 12750 rm -f conftest.er1
12897 cat conftest.err >&5 12751 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } && 12753 (exit $ac_status); } &&
12900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5 12756 (eval $ac_try) 2>&5
12903 ac_status=$? 12757 ac_status=$?
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; } && 12759 (exit $ac_status); }; } &&
12951 grep -v '^ *+' conftest.er1 >conftest.err 12805 grep -v '^ *+' conftest.er1 >conftest.err
12952 rm -f conftest.er1 12806 rm -f conftest.er1
12953 cat conftest.err >&5 12807 cat conftest.err >&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } && 12809 (exit $ac_status); } &&
12956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5 12812 (eval $ac_try) 2>&5
12959 ac_status=$? 12813 ac_status=$?
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; } && 12815 (exit $ac_status); }; } &&
12991 grep -v '^ *+' conftest.er1 >conftest.err 12845 grep -v '^ *+' conftest.er1 >conftest.err
12992 rm -f conftest.er1 12846 rm -f conftest.er1
12993 cat conftest.err >&5 12847 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } && 12849 (exit $ac_status); } &&
12996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5 12852 (eval $ac_try) 2>&5
12999 ac_status=$? 12853 ac_status=$?
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; } && 12855 (exit $ac_status); }; } &&
13055 grep -v '^ *+' conftest.er1 >conftest.err 12909 grep -v '^ *+' conftest.er1 >conftest.err
13056 rm -f conftest.er1 12910 rm -f conftest.er1
13057 cat conftest.err >&5 12911 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } && 12913 (exit $ac_status); } &&
13060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5 12916 (eval $ac_try) 2>&5
13063 ac_status=$? 12917 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } && 12919 (exit $ac_status); }; } &&
13086See \`config.log' for more details." >&2;} 12940See \`config.log' for more details." >&2;}
13087 { (exit 1); exit 1; }; } ;; 12941 { (exit 1); exit 1; }; } ;;
13088esac 12942esac
13089else 12943else
13090 if test "$cross_compiling" = yes; then 12944 if test "$cross_compiling" = yes; then
13091 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 12945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13092See \`config.log' for more details." >&5 12946echo "$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; }; } 12947 { (exit 1); exit 1; }; }
13096else 12948else
13097 cat >conftest.$ac_ext <<_ACEOF 12949 cat >conftest.$ac_ext <<_ACEOF
13098/* confdefs.h. */ 12950/* confdefs.h. */
13099_ACEOF 12951_ACEOF
13201 grep -v '^ *+' conftest.er1 >conftest.err 13053 grep -v '^ *+' conftest.er1 >conftest.err
13202 rm -f conftest.er1 13054 rm -f conftest.er1
13203 cat conftest.err >&5 13055 cat conftest.err >&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } && 13057 (exit $ac_status); } &&
13206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208 (eval $ac_try) 2>&5 13060 (eval $ac_try) 2>&5
13209 ac_status=$? 13061 ac_status=$?
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; } && 13063 (exit $ac_status); }; } &&
13263 grep -v '^ *+' conftest.er1 >conftest.err 13115 grep -v '^ *+' conftest.er1 >conftest.err
13264 rm -f conftest.er1 13116 rm -f conftest.er1
13265 cat conftest.err >&5 13117 cat conftest.err >&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); } && 13119 (exit $ac_status); } &&
13268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5 13122 (eval $ac_try) 2>&5
13271 ac_status=$? 13123 ac_status=$?
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; } && 13125 (exit $ac_status); }; } &&
13303 grep -v '^ *+' conftest.er1 >conftest.err 13155 grep -v '^ *+' conftest.er1 >conftest.err
13304 rm -f conftest.er1 13156 rm -f conftest.er1
13305 cat conftest.err >&5 13157 cat conftest.err >&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } && 13159 (exit $ac_status); } &&
13308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5 13162 (eval $ac_try) 2>&5
13311 ac_status=$? 13163 ac_status=$?
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } && 13165 (exit $ac_status); }; } &&
13359 grep -v '^ *+' conftest.er1 >conftest.err 13211 grep -v '^ *+' conftest.er1 >conftest.err
13360 rm -f conftest.er1 13212 rm -f conftest.er1
13361 cat conftest.err >&5 13213 cat conftest.err >&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } && 13215 (exit $ac_status); } &&
13364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13366 (eval $ac_try) 2>&5 13218 (eval $ac_try) 2>&5
13367 ac_status=$? 13219 ac_status=$?
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); }; } && 13221 (exit $ac_status); }; } &&
13399 grep -v '^ *+' conftest.er1 >conftest.err 13251 grep -v '^ *+' conftest.er1 >conftest.err
13400 rm -f conftest.er1 13252 rm -f conftest.er1
13401 cat conftest.err >&5 13253 cat conftest.err >&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); } && 13255 (exit $ac_status); } &&
13404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5 13258 (eval $ac_try) 2>&5
13407 ac_status=$? 13259 ac_status=$?
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; } && 13261 (exit $ac_status); }; } &&
13463 grep -v '^ *+' conftest.er1 >conftest.err 13315 grep -v '^ *+' conftest.er1 >conftest.err
13464 rm -f conftest.er1 13316 rm -f conftest.er1
13465 cat conftest.err >&5 13317 cat conftest.err >&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } && 13319 (exit $ac_status); } &&
13468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5 13322 (eval $ac_try) 2>&5
13471 ac_status=$? 13323 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } && 13325 (exit $ac_status); }; } &&
13494See \`config.log' for more details." >&2;} 13346See \`config.log' for more details." >&2;}
13495 { (exit 1); exit 1; }; } ;; 13347 { (exit 1); exit 1; }; } ;;
13496esac 13348esac
13497else 13349else
13498 if test "$cross_compiling" = yes; then 13350 if test "$cross_compiling" = yes; then
13499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 13351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13500See \`config.log' for more details." >&5 13352echo "$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; }; } 13353 { (exit 1); exit 1; }; }
13504else 13354else
13505 cat >conftest.$ac_ext <<_ACEOF 13355 cat >conftest.$ac_ext <<_ACEOF
13506/* confdefs.h. */ 13356/* confdefs.h. */
13507_ACEOF 13357_ACEOF
13608 grep -v '^ *+' conftest.er1 >conftest.err 13458 grep -v '^ *+' conftest.er1 >conftest.err
13609 rm -f conftest.er1 13459 rm -f conftest.er1
13610 cat conftest.err >&5 13460 cat conftest.err >&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); } && 13462 (exit $ac_status); } &&
13613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13463 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5 13465 (eval $ac_try) 2>&5
13616 ac_status=$? 13466 ac_status=$?
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } && 13468 (exit $ac_status); }; } &&
13625 rxvt_cv_int16_t=yes 13475 rxvt_cv_int16_t=yes
13626else 13476else
13627 echo "$as_me: failed program was:" >&5 13477 echo "$as_me: failed program was:" >&5
13628sed 's/^/| /' conftest.$ac_ext >&5 13478sed 's/^/| /' conftest.$ac_ext >&5
13629 13479
13630if test $ac_cv_sizeof_char -ge 2; then 13480if test "$ac_cv_sizeof_char" -ge 2; then
13631 rxvt_cv_int16_t=" char" 13481 rxvt_cv_int16_t=" char"
13632else 13482else
13633 if test $ac_cv_sizeof_short -ge 2; then 13483 if test "$ac_cv_sizeof_short" -ge 2; then
13634 rxvt_cv_int16_t=" short" 13484 rxvt_cv_int16_t=" short"
13635 else 13485 else
13636 if test $ac_cv_sizeof_int -ge 2; then 13486 if test "$ac_cv_sizeof_int" -ge 2; then
13637 rxvt_cv_int16_t=" int" 13487 rxvt_cv_int16_t=" int"
13638 else 13488 else
13639 if test $ac_cv_sizeof_long -ge 2; then 13489 if test "$ac_cv_sizeof_long" -ge 2; then
13640 rxvt_cv_int16_t=" long" 13490 rxvt_cv_int16_t=" long"
13641 else 13491 else
13642 if test $ac_cv_sizeof_long_long -ge 2; then 13492 if test "$ac_cv_sizeof_long_long" -ge 2; then
13643 rxvt_cv_int16_t=" long long" 13493 rxvt_cv_int16_t=" long long"
13644 else 13494 else
13645 rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default 13495 rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default
13646 fi 13496 fi
13647 fi 13497 fi
13690 grep -v '^ *+' conftest.er1 >conftest.err 13540 grep -v '^ *+' conftest.er1 >conftest.err
13691 rm -f conftest.er1 13541 rm -f conftest.er1
13692 cat conftest.err >&5 13542 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } && 13544 (exit $ac_status); } &&
13695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13697 (eval $ac_try) 2>&5 13547 (eval $ac_try) 2>&5
13698 ac_status=$? 13548 ac_status=$?
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); }; } && 13550 (exit $ac_status); }; } &&
13707 rxvt_cv_uint16_t=yes 13557 rxvt_cv_uint16_t=yes
13708else 13558else
13709 echo "$as_me: failed program was:" >&5 13559 echo "$as_me: failed program was:" >&5
13710sed 's/^/| /' conftest.$ac_ext >&5 13560sed 's/^/| /' conftest.$ac_ext >&5
13711 13561
13712if test $ac_cv_sizeof_char -ge 2; then 13562if test "$ac_cv_sizeof_char" -ge 2; then
13713 rxvt_cv_uint16_t="unsigned char" 13563 rxvt_cv_uint16_t="unsigned char"
13714else 13564else
13715 if test $ac_cv_sizeof_short -ge 2; then 13565 if test "$ac_cv_sizeof_short" -ge 2; then
13716 rxvt_cv_uint16_t="unsigned short" 13566 rxvt_cv_uint16_t="unsigned short"
13717 else 13567 else
13718 if test $ac_cv_sizeof_int -ge 2; then 13568 if test "$ac_cv_sizeof_int" -ge 2; then
13719 rxvt_cv_uint16_t="unsigned int" 13569 rxvt_cv_uint16_t="unsigned int"
13720 else 13570 else
13721 if test $ac_cv_sizeof_long -ge 2; then 13571 if test "$ac_cv_sizeof_long" -ge 2; then
13722 rxvt_cv_uint16_t="unsigned long" 13572 rxvt_cv_uint16_t="unsigned long"
13723 else 13573 else
13724 if test $ac_cv_sizeof_long_long -ge 2; then 13574 if test "$ac_cv_sizeof_long_long" -ge 2; then
13725 rxvt_cv_uint16_t="unsigned long long" 13575 rxvt_cv_uint16_t="unsigned long long"
13726 else 13576 else
13727 rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default 13577 rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default
13728 fi 13578 fi
13729 fi 13579 fi
13772 grep -v '^ *+' conftest.er1 >conftest.err 13622 grep -v '^ *+' conftest.er1 >conftest.err
13773 rm -f conftest.er1 13623 rm -f conftest.er1
13774 cat conftest.err >&5 13624 cat conftest.err >&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } && 13626 (exit $ac_status); } &&
13777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13779 (eval $ac_try) 2>&5 13629 (eval $ac_try) 2>&5
13780 ac_status=$? 13630 ac_status=$?
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); }; } && 13632 (exit $ac_status); }; } &&
13789 rxvt_cv_int32_t=yes 13639 rxvt_cv_int32_t=yes
13790else 13640else
13791 echo "$as_me: failed program was:" >&5 13641 echo "$as_me: failed program was:" >&5
13792sed 's/^/| /' conftest.$ac_ext >&5 13642sed 's/^/| /' conftest.$ac_ext >&5
13793 13643
13794if test $ac_cv_sizeof_char -ge 4; then 13644if test "$ac_cv_sizeof_char" -ge 4; then
13795 rxvt_cv_int32_t=" char" 13645 rxvt_cv_int32_t=" char"
13796else 13646else
13797 if test $ac_cv_sizeof_short -ge 4; then 13647 if test "$ac_cv_sizeof_short" -ge 4; then
13798 rxvt_cv_int32_t=" short" 13648 rxvt_cv_int32_t=" short"
13799 else 13649 else
13800 if test $ac_cv_sizeof_int -ge 4; then 13650 if test "$ac_cv_sizeof_int" -ge 4; then
13801 rxvt_cv_int32_t=" int" 13651 rxvt_cv_int32_t=" int"
13802 else 13652 else
13803 if test $ac_cv_sizeof_long -ge 4; then 13653 if test "$ac_cv_sizeof_long" -ge 4; then
13804 rxvt_cv_int32_t=" long" 13654 rxvt_cv_int32_t=" long"
13805 else 13655 else
13806 if test $ac_cv_sizeof_long_long -ge 4; then 13656 if test "$ac_cv_sizeof_long_long" -ge 4; then
13807 rxvt_cv_int32_t=" long long" 13657 rxvt_cv_int32_t=" long long"
13808 else 13658 else
13809 rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default 13659 rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default
13810 fi 13660 fi
13811 fi 13661 fi
13854 grep -v '^ *+' conftest.er1 >conftest.err 13704 grep -v '^ *+' conftest.er1 >conftest.err
13855 rm -f conftest.er1 13705 rm -f conftest.er1
13856 cat conftest.err >&5 13706 cat conftest.err >&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); } && 13708 (exit $ac_status); } &&
13859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13861 (eval $ac_try) 2>&5 13711 (eval $ac_try) 2>&5
13862 ac_status=$? 13712 ac_status=$?
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 (exit $ac_status); }; } && 13714 (exit $ac_status); }; } &&
13871 rxvt_cv_uint32_t=yes 13721 rxvt_cv_uint32_t=yes
13872else 13722else
13873 echo "$as_me: failed program was:" >&5 13723 echo "$as_me: failed program was:" >&5
13874sed 's/^/| /' conftest.$ac_ext >&5 13724sed 's/^/| /' conftest.$ac_ext >&5
13875 13725
13876if test $ac_cv_sizeof_char -ge 4; then 13726if test "$ac_cv_sizeof_char" -ge 4; then
13877 rxvt_cv_uint32_t="unsigned char" 13727 rxvt_cv_uint32_t="unsigned char"
13878else 13728else
13879 if test $ac_cv_sizeof_short -ge 4; then 13729 if test "$ac_cv_sizeof_short" -ge 4; then
13880 rxvt_cv_uint32_t="unsigned short" 13730 rxvt_cv_uint32_t="unsigned short"
13881 else 13731 else
13882 if test $ac_cv_sizeof_int -ge 4; then 13732 if test "$ac_cv_sizeof_int" -ge 4; then
13883 rxvt_cv_uint32_t="unsigned int" 13733 rxvt_cv_uint32_t="unsigned int"
13884 else 13734 else
13885 if test $ac_cv_sizeof_long -ge 4; then 13735 if test "$ac_cv_sizeof_long" -ge 4; then
13886 rxvt_cv_uint32_t="unsigned long" 13736 rxvt_cv_uint32_t="unsigned long"
13887 else 13737 else
13888 if test $ac_cv_sizeof_long_long -ge 4; then 13738 if test "$ac_cv_sizeof_long_long" -ge 4; then
13889 rxvt_cv_uint32_t="unsigned long long" 13739 rxvt_cv_uint32_t="unsigned long long"
13890 else 13740 else
13891 rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default 13741 rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default
13892 fi 13742 fi
13893 fi 13743 fi
13907 else 13757 else
13908 rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" 13758 rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */"
13909 fi 13759 fi
13910fi 13760fi
13911 13761
13912if test $ac_cv_sizeof_int_p -eq 8; then 13762if test "$ac_cv_sizeof_int_p" -eq 8; then
13913 rxvt_intp_define="#define intp_t int64_t" 13763 rxvt_intp_define="#define intp_t int64_t"
13914 rxvt_u_intp_define="#define u_intp_t u_int64_t" 13764 rxvt_u_intp_define="#define u_intp_t u_int64_t"
13915else 13765else
13916 if test $ac_cv_sizeof_int_p -eq 4; then 13766 if test "$ac_cv_sizeof_int_p" -eq 4; then
13917 rxvt_intp_define="#define intp_t int32_t" 13767 rxvt_intp_define="#define intp_t int32_t"
13918 rxvt_u_intp_define="#define u_intp_t u_int32_t" 13768 rxvt_u_intp_define="#define u_intp_t u_int32_t"
13919 else 13769 else
13920 if test $ac_cv_sizeof_int_p -eq 2; then 13770 if test "$ac_cv_sizeof_int_p" -eq 2; then
13921 rxvt_intp_define="#define intp_t int16_t" 13771 rxvt_intp_define="#define intp_t int16_t"
13922 rxvt_u_intp_define="#define u_intp_t u_int16_t" 13772 rxvt_u_intp_define="#define u_intp_t u_int16_t"
13923 else 13773 else
13924 rxvt_intp_define="#error set intp_t" 13774 rxvt_intp_define="#error set intp_t"
13925 rxvt_u_intp_define="#error set u_intp_t" 13775 rxvt_u_intp_define="#error set u_intp_t"
13966 grep -v '^ *+' conftest.er1 >conftest.err 13816 grep -v '^ *+' conftest.er1 >conftest.err
13967 rm -f conftest.er1 13817 rm -f conftest.er1
13968 cat conftest.err >&5 13818 cat conftest.err >&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); } && 13820 (exit $ac_status); } &&
13971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5 13823 (eval $ac_try) 2>&5
13974 ac_status=$? 13824 ac_status=$?
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; } && 13826 (exit $ac_status); }; } &&
14106 grep -v '^ *+' conftest.er1 >conftest.err 13956 grep -v '^ *+' conftest.er1 >conftest.err
14107 rm -f conftest.er1 13957 rm -f conftest.er1
14108 cat conftest.err >&5 13958 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } && 13960 (exit $ac_status); } &&
14111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113 (eval $ac_try) 2>&5 13963 (eval $ac_try) 2>&5
14114 ac_status=$? 13964 ac_status=$?
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; } && 13966 (exit $ac_status); }; } &&
14170 grep -v '^ *+' conftest.er1 >conftest.err 14020 grep -v '^ *+' conftest.er1 >conftest.err
14171 rm -f conftest.er1 14021 rm -f conftest.er1
14172 cat conftest.err >&5 14022 cat conftest.err >&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); } && 14024 (exit $ac_status); } &&
14175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177 (eval $ac_try) 2>&5 14027 (eval $ac_try) 2>&5
14178 ac_status=$? 14028 ac_status=$?
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); }; } && 14030 (exit $ac_status); }; } &&
14213 rm -f conftest.er1 14063 rm -f conftest.er1
14214 cat conftest.err >&5 14064 cat conftest.err >&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } >/dev/null; then 14066 (exit $ac_status); } >/dev/null; then
14217 if test -s conftest.err; then 14067 if test -s conftest.err; then
14218 ac_cpp_err=$ac_c_preproc_warn_flag 14068 ac_cpp_err=$ac_cxx_preproc_warn_flag
14219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 14069 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
14220 else 14070 else
14221 ac_cpp_err= 14071 ac_cpp_err=
14222 fi 14072 fi
14223else 14073else
14224 ac_cpp_err=yes 14074 ac_cpp_err=yes
14234rm -f conftest.err conftest.$ac_ext 14084rm -f conftest.err conftest.$ac_ext
14235echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14085echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14236echo "${ECHO_T}$ac_header_preproc" >&6 14086echo "${ECHO_T}$ac_header_preproc" >&6
14237 14087
14238# So? What about this header? 14088# So? What about this header?
14239case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14089case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
14240 yes:no: ) 14090 yes:no: )
14241 { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 14091 { 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;} 14092echo "$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 14093 { 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;} 14094echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;}
14308 grep -v '^ *+' conftest.er1 >conftest.err 14158 grep -v '^ *+' conftest.er1 >conftest.err
14309 rm -f conftest.er1 14159 rm -f conftest.er1
14310 cat conftest.err >&5 14160 cat conftest.err >&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } && 14162 (exit $ac_status); } &&
14313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 (eval $ac_try) 2>&5 14165 (eval $ac_try) 2>&5
14316 ac_status=$? 14166 ac_status=$?
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; } && 14168 (exit $ac_status); }; } &&
14370 grep -v '^ *+' conftest.er1 >conftest.err 14220 grep -v '^ *+' conftest.er1 >conftest.err
14371 rm -f conftest.er1 14221 rm -f conftest.er1
14372 cat conftest.err >&5 14222 cat conftest.err >&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } && 14224 (exit $ac_status); } &&
14375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5 14227 (eval $ac_try) 2>&5
14378 ac_status=$? 14228 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; } && 14230 (exit $ac_status); }; } &&
14431 grep -v '^ *+' conftest.er1 >conftest.err 14281 grep -v '^ *+' conftest.er1 >conftest.err
14432 rm -f conftest.er1 14282 rm -f conftest.er1
14433 cat conftest.err >&5 14283 cat conftest.err >&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } && 14285 (exit $ac_status); } &&
14436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5 14288 (eval $ac_try) 2>&5
14439 ac_status=$? 14289 ac_status=$?
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; } && 14291 (exit $ac_status); }; } &&
14496 grep -v '^ *+' conftest.er1 >conftest.err 14346 grep -v '^ *+' conftest.er1 >conftest.err
14497 rm -f conftest.er1 14347 rm -f conftest.er1
14498 cat conftest.err >&5 14348 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } && 14350 (exit $ac_status); } &&
14501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14351 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5 14353 (eval $ac_try) 2>&5
14504 ac_status=$? 14354 ac_status=$?
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } && 14356 (exit $ac_status); }; } &&
14539 rm -f conftest.er1 14389 rm -f conftest.er1
14540 cat conftest.err >&5 14390 cat conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } >/dev/null; then 14392 (exit $ac_status); } >/dev/null; then
14543 if test -s conftest.err; then 14393 if test -s conftest.err; then
14544 ac_cpp_err=$ac_c_preproc_warn_flag 14394 ac_cpp_err=$ac_cxx_preproc_warn_flag
14545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 14395 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
14546 else 14396 else
14547 ac_cpp_err= 14397 ac_cpp_err=
14548 fi 14398 fi
14549else 14399else
14550 ac_cpp_err=yes 14400 ac_cpp_err=yes
14560rm -f conftest.err conftest.$ac_ext 14410rm -f conftest.err conftest.$ac_ext
14561echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14411echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14562echo "${ECHO_T}$ac_header_preproc" >&6 14412echo "${ECHO_T}$ac_header_preproc" >&6
14563 14413
14564# So? What about this header? 14414# So? What about this header?
14565case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14415case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
14566 yes:no: ) 14416 yes:no: )
14567 { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 14417 { 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;} 14418echo "$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 14419 { 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;} 14420echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;}
14633 grep -v '^ *+' conftest.er1 >conftest.err 14483 grep -v '^ *+' conftest.er1 >conftest.err
14634 rm -f conftest.er1 14484 rm -f conftest.er1
14635 cat conftest.err >&5 14485 cat conftest.err >&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } && 14487 (exit $ac_status); } &&
14638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5 14490 (eval $ac_try) 2>&5
14641 ac_status=$? 14491 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; } && 14493 (exit $ac_status); }; } &&
14695 grep -v '^ *+' conftest.er1 >conftest.err 14545 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1 14546 rm -f conftest.er1
14697 cat conftest.err >&5 14547 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } && 14549 (exit $ac_status); } &&
14700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5 14552 (eval $ac_try) 2>&5
14703 ac_status=$? 14553 ac_status=$?
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; } && 14555 (exit $ac_status); }; } &&
14764 grep -v '^ *+' conftest.er1 >conftest.err 14614 grep -v '^ *+' conftest.er1 >conftest.err
14765 rm -f conftest.er1 14615 rm -f conftest.er1
14766 cat conftest.err >&5 14616 cat conftest.err >&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } && 14618 (exit $ac_status); } &&
14769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5 14621 (eval $ac_try) 2>&5
14772 ac_status=$? 14622 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } && 14624 (exit $ac_status); }; } &&
14829 grep -v '^ *+' conftest.er1 >conftest.err 14679 grep -v '^ *+' conftest.er1 >conftest.err
14830 rm -f conftest.er1 14680 rm -f conftest.er1
14831 cat conftest.err >&5 14681 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } && 14683 (exit $ac_status); } &&
14834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5 14686 (eval $ac_try) 2>&5
14837 ac_status=$? 14687 ac_status=$?
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } && 14689 (exit $ac_status); }; } &&
15458 grep -v '^ *+' conftest.er1 >conftest.err 15308 grep -v '^ *+' conftest.er1 >conftest.err
15459 rm -f conftest.er1 15309 rm -f conftest.er1
15460 cat conftest.err >&5 15310 cat conftest.err >&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } && 15312 (exit $ac_status); } &&
15463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15313 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5 15315 (eval $ac_try) 2>&5
15466 ac_status=$? 15316 ac_status=$?
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; } && 15318 (exit $ac_status); }; } &&
15503/* confdefs.h. */ 15353/* confdefs.h. */
15504_ACEOF 15354_ACEOF
15505cat confdefs.h >>conftest.$ac_ext 15355cat confdefs.h >>conftest.$ac_ext
15506cat >>conftest.$ac_ext <<_ACEOF 15356cat >>conftest.$ac_ext <<_ACEOF
15507/* end confdefs.h. */ 15357/* end confdefs.h. */
15508#include <locale.h> 15358#include <clocale>
15509int 15359int
15510main () 15360main ()
15511{ 15361{
15512setlocale(LC_CTYPE, ""); 15362setlocale(LC_CTYPE, "");
15513 ; 15363 ;
15521 grep -v '^ *+' conftest.er1 >conftest.err 15371 grep -v '^ *+' conftest.er1 >conftest.err
15522 rm -f conftest.er1 15372 rm -f conftest.er1
15523 cat conftest.err >&5 15373 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && 15375 (exit $ac_status); } &&
15526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5 15378 (eval $ac_try) 2>&5
15529 ac_status=$? 15379 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } && 15381 (exit $ac_status); }; } &&
15582 grep -v '^ *+' conftest.er1 >conftest.err 15432 grep -v '^ *+' conftest.er1 >conftest.err
15583 rm -f conftest.er1 15433 rm -f conftest.er1
15584 cat conftest.err >&5 15434 cat conftest.err >&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } && 15436 (exit $ac_status); } &&
15587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15437 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5 15439 (eval $ac_try) 2>&5
15590 ac_status=$? 15440 ac_status=$?
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; } && 15442 (exit $ac_status); }; } &&
15610echo "${ECHO_T}$rxvt_cv_func_nl_langinfo" >&6 15460echo "${ECHO_T}$rxvt_cv_func_nl_langinfo" >&6
15611if test x$rxvt_cv_func_nl_langinfo = xyes; then 15461if test x$rxvt_cv_func_nl_langinfo = xyes; then
15612 15462
15613cat >>confdefs.h <<\_ACEOF 15463cat >>confdefs.h <<\_ACEOF
15614#define HAVE_NL_LANGINFO 1 15464#define HAVE_NL_LANGINFO 1
15465_ACEOF
15466
15467fi
15468
15469echo "$as_me:$LINENO: checking for broken XIM callback" >&5
15470echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
15471if test "${rxvt_broken_ximcb+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15473else
15474 cat >conftest.$ac_ext <<_ACEOF
15475
15476#include <X11/Xlib.h>
15477
15478void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
15479
15480void f() {
15481 XIMCallback cb;
15482 cb.callback = im_destroy_cb;
15483}
15484
15485_ACEOF
15486rm -f conftest.$ac_objext
15487if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488 (eval $ac_compile) 2>conftest.er1
15489 ac_status=$?
15490 grep -v '^ *+' conftest.er1 >conftest.err
15491 rm -f conftest.er1
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } &&
15495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15498 ac_status=$?
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; } &&
15501 { ac_try='test -s conftest.$ac_objext'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; }; then
15507 rxvt_broken_ximcb=yes
15508else
15509 echo "$as_me: failed program was:" >&5
15510sed 's/^/| /' conftest.$ac_ext >&5
15511
15512rxvt_broken_ximcb=no
15513fi
15514rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15515fi
15516echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
15517echo "${ECHO_T}$rxvt_broken_ximcb" >&6
15518
15519if test x$rxvt_broken_ximcb = xyes; then
15520
15521cat >>confdefs.h <<\_ACEOF
15522#define XIMCB_PROTO_BROKEN 1
15615_ACEOF 15523_ACEOF
15616 15524
15617fi 15525fi
15618 15526
15619echo "$as_me:$LINENO: checking for getpt" >&5 15527echo "$as_me:$LINENO: checking for getpt" >&5
15627cat confdefs.h >>conftest.$ac_ext 15535cat confdefs.h >>conftest.$ac_ext
15628cat >>conftest.$ac_ext <<_ACEOF 15536cat >>conftest.$ac_ext <<_ACEOF
15629/* end confdefs.h. */ 15537/* end confdefs.h. */
15630#define _GNU_SOURCE 15538#define _GNU_SOURCE
15631#ifdef HAVE_STDLIB_H 15539#ifdef HAVE_STDLIB_H
15632# include <stdlib.h> 15540# include <cstdlib>
15633#endif 15541#endif
15634int 15542int
15635main () 15543main ()
15636{ 15544{
15637(void)getpt(); 15545(void)getpt();
15646 grep -v '^ *+' conftest.er1 >conftest.err 15554 grep -v '^ *+' conftest.er1 >conftest.err
15647 rm -f conftest.er1 15555 rm -f conftest.er1
15648 cat conftest.err >&5 15556 cat conftest.err >&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } && 15558 (exit $ac_status); } &&
15651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5 15561 (eval $ac_try) 2>&5
15654 ac_status=$? 15562 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; } && 15564 (exit $ac_status); }; } &&
15802#define PTYCHAR2 "$pch2" 15710#define PTYCHAR2 "$pch2"
15803_ACEOF 15711_ACEOF
15804 15712
15805fi 15713fi
15806 15714
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 15715if test x$support_xft = xyes; then
16207 LIBS="$LIBS `pkg-config xft --libs`" 15716 LIBS="$LIBS `pkg-config xft --libs`"
16208 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 15717 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
16209 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 15718 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
16210 15719
16240 grep -v '^ *+' conftest.er1 >conftest.err 15749 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1 15750 rm -f conftest.er1
16242 cat conftest.err >&5 15751 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && 15753 (exit $ac_status); } &&
16245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5 15756 (eval $ac_try) 2>&5
16248 ac_status=$? 15757 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; } && 15759 (exit $ac_status); }; } &&
16283 rm -f conftest.er1 15792 rm -f conftest.er1
16284 cat conftest.err >&5 15793 cat conftest.err >&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } >/dev/null; then 15795 (exit $ac_status); } >/dev/null; then
16287 if test -s conftest.err; then 15796 if test -s conftest.err; then
16288 ac_cpp_err=$ac_c_preproc_warn_flag 15797 ac_cpp_err=$ac_cxx_preproc_warn_flag
16289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 15798 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16290 else 15799 else
16291 ac_cpp_err= 15800 ac_cpp_err=
16292 fi 15801 fi
16293else 15802else
16294 ac_cpp_err=yes 15803 ac_cpp_err=yes
16304rm -f conftest.err conftest.$ac_ext 15813rm -f conftest.err conftest.$ac_ext
16305echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15814echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16306echo "${ECHO_T}$ac_header_preproc" >&6 15815echo "${ECHO_T}$ac_header_preproc" >&6
16307 15816
16308# So? What about this header? 15817# So? What about this header?
16309case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15818case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16310 yes:no: ) 15819 yes:no: )
16311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 15820 { 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;} 15821echo "$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 15822 { 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;} 15823echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16396 grep -v '^ *+' conftest.er1 >conftest.err 15905 grep -v '^ *+' conftest.er1 >conftest.err
16397 rm -f conftest.er1 15906 rm -f conftest.er1
16398 cat conftest.err >&5 15907 cat conftest.err >&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); } && 15909 (exit $ac_status); } &&
16401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16403 (eval $ac_try) 2>&5 15912 (eval $ac_try) 2>&5
16404 ac_status=$? 15913 ac_status=$?
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; } && 15915 (exit $ac_status); }; } &&
16441#define XFT 1 15950#define XFT 1
16442_ACEOF 15951_ACEOF
16443 15952
16444 fi 15953 fi
16445fi 15954fi
15955if test x$support_styles = xyes; then
16446 15956
15957cat >>confdefs.h <<\_ACEOF
15958#define ENABLE_STYLES 1
15959_ACEOF
15960
15961fi
15962if test x$support_iso14755 = xyes; then
15963
15964cat >>confdefs.h <<\_ACEOF
15965#define ISO_14755 1
15966_ACEOF
15967
15968fi
15969if test x$support_8bitctrls = xyes; then
15970
15971cat >>confdefs.h <<\_ACEOF
15972#define EIGHT_BIT_CONTROLS 1
15973_ACEOF
15974
15975fi
15976if test x$support_fading = xyes; then
15977
15978cat >>confdefs.h <<\_ACEOF
15979#define OFF_FOCUS_FADING 1
15980_ACEOF
15981
15982fi
15983if test x$support_tinting = xyes; then
15984
15985cat >>confdefs.h <<\_ACEOF
15986#define TINTING 1
15987_ACEOF
15988
15989fi
15990if test x$support_inheritpixmap = xyes; then
15991
15992cat >>confdefs.h <<\_ACEOF
15993#define TRANSPARENT 1
15994_ACEOF
15995
15996fi
15997if test x$support_keepscrolling = xno; then
15998
15999cat >>confdefs.h <<\_ACEOF
16000#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16001_ACEOF
16002
16003fi
16004if test x$support_selectionscrolling = xyes; then
16005
16006cat >>confdefs.h <<\_ACEOF
16007#define SELECTION_SCROLLING 1
16008_ACEOF
16009
16010fi
16011if test x$support_menubar = xyes; then
16012
16013cat >>confdefs.h <<\_ACEOF
16014#define MENUBAR 1
16015_ACEOF
16016
16017fi
16018if test x$support_frills = xyes; then
16019
16020cat >>confdefs.h <<\_ACEOF
16021#define ENABLE_FRILLS 1
16022_ACEOF
16023
16024fi
16025if test x$support_24bit = xyes; then
16026
16027cat >>confdefs.h <<\_ACEOF
16028#define PREFER_24BIT 1
16029_ACEOF
16030
16031fi
16032if test x$support_mousewheel = xyes; then
16033
16034cat >>confdefs.h <<\_ACEOF
16035#define MOUSE_WHEEL 1
16036_ACEOF
16037
16038fi
16039if test x$support_mouseslipwheel = xyes; then
16040
16041cat >>confdefs.h <<\_ACEOF
16042#define MOUSE_SLIP_WHEELING 1
16043_ACEOF
16044
16045fi
16046if test x$support_utmp = xyes; then
16047
16048cat >>confdefs.h <<\_ACEOF
16049#define UTMP_SUPPORT 1
16050_ACEOF
16051
16052fi
16053if test x$support_wtmp = xyes; then
16054
16055cat >>confdefs.h <<\_ACEOF
16056#define WTMP_SUPPORT 1
16057_ACEOF
16058
16059fi
16060if test x$support_lastlog = xyes; then
16061
16062cat >>confdefs.h <<\_ACEOF
16063#define LASTLOG_SUPPORT 1
16064_ACEOF
16065
16066fi
16067if test x$support_xim = xyes -o x$multichar_set = xyes; then
16068 if test x$rxvt_cv_func_xlocale = xyes; then
16069
16070cat >>confdefs.h <<\_ACEOF
16071#define USE_XIM 1
16072_ACEOF
16073
16074 fi
16075fi
16076if test x$support_xpm = xyes; then
16077
16078cat >>confdefs.h <<\_ACEOF
16079#define XPM_BACKGROUND 1
16080_ACEOF
16081
16082fi
16083if test x$support_scroll_rxvt = xyes; then
16084
16085cat >>confdefs.h <<\_ACEOF
16086#define RXVT_SCROLLBAR 1
16087_ACEOF
16088
16089 scrolltypes="rxvt"
16090fi
16091if test x$support_scroll_next = xyes; then
16092
16093cat >>confdefs.h <<\_ACEOF
16094#define NEXT_SCROLLBAR 1
16095_ACEOF
16096
16097 scrolltypes="$scrolltypes next"
16098fi
16099if test x$support_scroll_xterm = xyes; then
16100
16101cat >>confdefs.h <<\_ACEOF
16102#define XTERM_SCROLLBAR 1
16103_ACEOF
16104
16105 scrolltypes="$scrolltypes xterm"
16106fi
16107if test x$support_scroll_plain = xyes; then
16108
16109cat >>confdefs.h <<\_ACEOF
16110#define PLAIN_SCROLLBAR 1
16111_ACEOF
16112
16113 scrolltypes="$scrolltypes plain"
16114fi
16115if test x$support_pointer_blank = xyes; then
16116
16117cat >>confdefs.h <<\_ACEOF
16118#define POINTER_BLANK 1
16119_ACEOF
16120
16121fi
16122if test x$support_cursor_blink = xyes; then
16123
16124cat >>confdefs.h <<\_ACEOF
16125#define CURSOR_BLINK 1
16126_ACEOF
16127
16128fi
16129if test x$support_text_blink = xyes; then
16130
16131cat >>confdefs.h <<\_ACEOF
16132#define TEXT_BLINK 1
16133_ACEOF
16134
16135fi
16136if test x$support_unicode3 = xyes; then
16137
16138cat >>confdefs.h <<\_ACEOF
16139#define UNICODE_3 1
16140_ACEOF
16141
16142fi
16143if test x$support_combining = xyes; then
16144
16145cat >>confdefs.h <<\_ACEOF
16146#define ENABLE_COMBINING 1
16147_ACEOF
16148
16149fi
16150if test x$codesets = xall; then
16151 codesets=jp,jp-ext,kr,zh,zh-ext
16152fi
16153
16154cat >>confdefs.h <<\_ACEOF
16155#define ENCODING_EU 1
16156_ACEOF
16157
16158
16159cat >>confdefs.h <<\_ACEOF
16160#define ENCODING_VN 1
16161_ACEOF
16162
16163for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16164 case "$codeset" in
16165 JP )
16166cat >>confdefs.h <<\_ACEOF
16167#define ENCODING_JP 1
16168_ACEOF
16169 ;;
16170 JP_EXT )
16171cat >>confdefs.h <<\_ACEOF
16172#define ENCODING_JP_EXT 1
16173_ACEOF
16174 ;;
16175 KR )
16176cat >>confdefs.h <<\_ACEOF
16177#define ENCODING_KR 1
16178_ACEOF
16179 ;;
16180 ZH )
16181cat >>confdefs.h <<\_ACEOF
16182#define ENCODING_ZH 1
16183_ACEOF
16184 ;;
16185 ZH_EXT )
16186cat >>confdefs.h <<\_ACEOF
16187#define ENCODING_ZH_EXT 1
16188_ACEOF
16189 ;;
16190 esac
16191done
16192
16193
16194CFLAGS=${CFLAGS--O}
16195LDFLAGS=${LDFLAGS--O}
16196
16197CPPFLAGS="$CPPFLAGS"
16198
16199
16200
16201
16202
16203
16204
16205if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16206 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16207 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16208 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16209 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16210 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16211fi
16212
16213
16214
16215
16216
16217if test x$support_addstrings = xno; then
16218
16219cat >>confdefs.h <<\_ACEOF
16220#define NO_STRINGS 1
16221_ACEOF
16222
16223fi
16224
16225MCOMMON=./autoconf/Make.common
16226
16227
16228test "$program_prefix" != NONE &&
16229 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16230# Use a double $ so make ignores it.
16231test "$program_suffix" != NONE &&
16232 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16233# Double any \ or $. echo might interpret backslashes.
16234# By default was `s,x,x', remove it if useless.
16235cat <<\_ACEOF >conftest.sed
16236s/[\\$]/&&/g;s/;s,x,x,$//
16237_ACEOF
16238program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16239rm conftest.sed
16240
16241
16242
16243
16244
16245if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16246 include_stdint_h="#include <stdint.h>"
16247else
16248 include_stdint_h="/* #include <stdint.h> */"
16249fi
16250if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16251 include_stdarg_h="#include <cstdarg>"
16252else
16253 include_stdarg_h="/* #include <cstdarg> */"
16254fi
16255if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16256 include_stdlib_h="#include <cstdlib>"
16257else
16258 include_stdlib_h="/* #include <cstdlib> */"
16259fi
16260if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16261 include_unistd_h="#include <unistd.h>"
16262else
16263 include_unistd_h="/* #include <unistd.h> */"
16264fi
16265if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16266 include_string_h="#include <cstring>"
16267else
16268 include_string_h="/* #include <cstring> */"
16269fi
16270if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16271 include_fcntl_h="#include <fcntl.h>"
16272else
16273 include_fcntl_h="/* #include <fcntl.h> */"
16274fi
16275if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16276 include_util_h="#include <util.h>"
16277else
16278 include_util_h="/* #include <util.h> */"
16279fi
16280if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16281 include_assert_h="#include <assert.h>"
16282else
16283 include_assert_h="/* #include <assert.h> */"
16284fi
16285if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16286 include_sys_ioctl_h="#include <sys/ioctl.h>"
16287else
16288 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16289fi
16290if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16291 include_sys_select_h="#include <sys/select.h>"
16292else
16293 include_sys_select_h="/* #include <sys/select.h> */"
16294fi
16295if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16296 include_sys_strredir_h="#include <sys/strredir.h>"
16297else
16298 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16299fi
16300if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16301 include_sys_time_h="#include <sys/time.h>"
16302else
16303 include_sys_time_h="/* #include <sys/time.h> */"
16304fi
16305if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16306 include_time_h="#include <time.h>"
16307else
16308 include_time_h="/* #include <time.h> */"
16309fi
16310
16447 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 16311 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h"
16312
16448cat >confcache <<\_ACEOF 16313cat >confcache <<\_ACEOF
16449# This file is a shell script that caches the results of configure 16314# 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 16315# tests run on this system so they can be shared between configure
16451# scripts and configure runs, see configure's option --config-cache. 16316# 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 16317# It is not useful on other systems. If it contains results you don't
16972 # Handling of arguments. 16837 # Handling of arguments.
16973 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; 16838 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
16974 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16839 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16975 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 16840 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16976 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 16841 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16977 "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
16978 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 16842 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
16979 "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;;
16980 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 16843 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;;
16981 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 16844 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16982echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 16845echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16983 { (exit 1); exit 1; }; };; 16846 { (exit 1); exit 1; }; };;
16984 esac 16847 esac
17060s,@DEFS@,$DEFS,;t t 16923s,@DEFS@,$DEFS,;t t
17061s,@ECHO_C@,$ECHO_C,;t t 16924s,@ECHO_C@,$ECHO_C,;t t
17062s,@ECHO_N@,$ECHO_N,;t t 16925s,@ECHO_N@,$ECHO_N,;t t
17063s,@ECHO_T@,$ECHO_T,;t t 16926s,@ECHO_T@,$ECHO_T,;t t
17064s,@LIBS@,$LIBS,;t t 16927s,@LIBS@,$LIBS,;t t
16928s,@build@,$build,;t t
16929s,@build_cpu@,$build_cpu,;t t
16930s,@build_vendor@,$build_vendor,;t t
16931s,@build_os@,$build_os,;t t
16932s,@host@,$host,;t t
16933s,@host_cpu@,$host_cpu,;t t
16934s,@host_vendor@,$host_vendor,;t t
16935s,@host_os@,$host_os,;t t
17065s,@VERSION@,$VERSION,;t t 16936s,@VERSION@,$VERSION,;t t
17066s,@DATE@,$DATE,;t t 16937s,@DATE@,$DATE,;t t
17067s,@LSMDATE@,$LSMDATE,;t t 16938s,@LSMDATE@,$LSMDATE,;t t
17068s,@LIBVERSION@,$LIBVERSION,;t t 16939s,@LIBVERSION@,$LIBVERSION,;t t
17069s,@CC@,$CC,;t t 16940s,@CC@,$CC,;t t
17079s,@CPP@,$CPP,;t t 16950s,@CPP@,$CPP,;t t
17080s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 16951s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17081s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 16952s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17082s,@INSTALL_DATA@,$INSTALL_DATA,;t t 16953s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17083s,@AWK@,$AWK,;t t 16954s,@AWK@,$AWK,;t t
16955s,@LINKER@,$LINKER,;t t
16956s,@CXXCPP@,$CXXCPP,;t t
17084s,@EGREP@,$EGREP,;t t 16957s,@EGREP@,$EGREP,;t t
17085s,@build@,$build,;t t
17086s,@build_cpu@,$build_cpu,;t t
17087s,@build_vendor@,$build_vendor,;t t
17088s,@build_os@,$build_os,;t t
17089s,@host@,$host,;t t
17090s,@host_cpu@,$host_cpu,;t t
17091s,@host_vendor@,$host_vendor,;t t
17092s,@host_os@,$host_os,;t t
17093s,@LN_S@,$LN_S,;t t 16958s,@LN_S@,$LN_S,;t t
17094s,@ECHO@,$ECHO,;t t 16959s,@ECHO@,$ECHO,;t t
17095s,@RANLIB@,$RANLIB,;t t 16960s,@RANLIB@,$RANLIB,;t t
17096s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 16961s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17097s,@STRIP@,$STRIP,;t t 16962s,@STRIP@,$STRIP,;t t
17098s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 16963s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17099s,@LIBTOOL@,$LIBTOOL,;t t 16964s,@LIBTOOL@,$LIBTOOL,;t t
17100s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 16965s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
16966s,@RXVTNAME@,$RXVTNAME,;t t
17101s,@MV@,$MV,;t t 16967s,@MV@,$MV,;t t
17102s,@RM@,$RM,;t t 16968s,@RM@,$RM,;t t
17103s,@CP@,$CP,;t t 16969s,@CP@,$CP,;t t
17104s,@LN@,$LN,;t t 16970s,@LN@,$LN,;t t
17105s,@SED@,$SED,;t t 16971s,@SED@,$SED,;t t
17106s,@CMP@,$CMP,;t t 16972s,@CMP@,$CMP,;t t
17107s,@TBL@,$TBL,;t t 16973s,@TBL@,$TBL,;t t
16974s,@TIC@,$TIC,;t t
17108s,@X_CFLAGS@,$X_CFLAGS,;t t 16975s,@X_CFLAGS@,$X_CFLAGS,;t t
17109s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 16976s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17110s,@X_LIBS@,$X_LIBS,;t t 16977s,@X_LIBS@,$X_LIBS,;t t
17111s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 16978s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17112s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 16979s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
17119s,@rxvt_intp_define@,$rxvt_intp_define,;t t 16986s,@rxvt_intp_define@,$rxvt_intp_define,;t t
17120s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 16987s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
17121s,@DEBUG@,$DEBUG,;t t 16988s,@DEBUG@,$DEBUG,;t t
17122s,@DINCLUDE@,$DINCLUDE,;t t 16989s,@DINCLUDE@,$DINCLUDE,;t t
17123s,@DLIB@,$DLIB,;t t 16990s,@DLIB@,$DLIB,;t t
17124s,@RXVTNAME@,$RXVTNAME,;t t
17125s,@include_stdint_h@,$include_stdint_h,;t t 16991s,@include_stdint_h@,$include_stdint_h,;t t
17126s,@include_stdarg_h@,$include_stdarg_h,;t t 16992s,@include_stdarg_h@,$include_stdarg_h,;t t
17127s,@include_stdlib_h@,$include_stdlib_h,;t t 16993s,@include_stdlib_h@,$include_stdlib_h,;t t
17128s,@include_unistd_h@,$include_unistd_h,;t t 16994s,@include_unistd_h@,$include_unistd_h,;t t
17129s,@include_string_h@,$include_string_h,;t t 16995s,@include_string_h@,$include_string_h,;t t
17635echo "Configuration: 17501echo "Configuration:
17636 17502
17637 Rxvt version: $VERSION : $DATE 17503 Rxvt version: $VERSION : $DATE
17638 Source code location: $srcdir 17504 Source code location: $srcdir
17639 Install path: ${prefix}/bin 17505 Install path: ${prefix}/bin
17640 Compiler: $CC 17506 Compiler: $CXX
17641 Compiler flags: $CFLAGS" 17507 Compiler flags: $CFLAGS
17508 Linker: $LINKER"
17642 17509
17643if test "$MALLOC_TYPE" = S; then 17510if test "$MALLOC_TYPE" = S; then
17644 echo " malloc support: system default" 17511 echo " malloc support: system default"
17645fi 17512fi
17646if test "$MALLOC_TYPE" = G; then 17513if test "$MALLOC_TYPE" = G; then
17657echo " 17524echo "
17658The following are set in config.h 17525The following are set in config.h
17659" 17526"
17660echo " pty/tty type: "$rxvt_cv_ptys 17527echo " pty/tty type: "$rxvt_cv_ptys
17661if test x$support_utmp != xyes; then 17528if test x$support_utmp != xyes; then
17662 echo " utmp support: disabled 17529 echo " utmp support: disabled"
17663" 17530 echo
17664else 17531else
17665 echo " utmp support: enabled 17532 echo " utmp support: enabled
17666 utmp file: $rxvt_cv_path_utmp 17533 utmp file: $rxvt_cv_path_utmp
17667 utmpx file: $rxvt_cv_path_utmpx 17534 utmpx file: $rxvt_cv_path_utmpx
17668 wtmp file: $rxvt_cv_path_wtmp 17535 wtmp file: $rxvt_cv_path_wtmp
17669 wtmpx file: $rxvt_cv_path_wtmpx 17536 wtmpx file: $rxvt_cv_path_wtmpx
17670 lastlog file: $rxvt_cv_path_lastlog 17537 lastlog file: $rxvt_cv_path_lastlog
17671 ttys/ttytab file: $rxvt_cv_path_ttytab 17538 ttys/ttytab file: $rxvt_cv_path_ttytab"
17672" 17539 echo
17673fi 17540fi
17674if test x$term != x; then 17541if test x$term != x; then
17675 echo " set TERM to: $term 17542 echo " set TERM to: $term"
17676"
17677fi 17543fi
17678if test x$terminfo != x; then 17544if test x$terminfo != x; then
17679 echo " set TERMINFO to: $terminfo 17545 echo " set TERMINFO to: $terminfo"
17680"
17681fi 17546fi
17547echo " default resource name: $RESNAME"
17548echo " resource class: $RESCLASS"
17549if test x$RESFALLBACK != x; then
17550 echo " resource class fallback: $RESFALLBACK"
17551fi
17552echo
17682if test x$rxvt_cv_ptys = xUNKNOWN; then 17553if test x$rxvt_cv_ptys = xUNKNOWN; then
17683 echo ".----------------------------------------------------------------." 17554 echo ".----------------------------------------------------------------."
17684 echo ". WARNING: could not determine pty/tty type. Do not build until ." 17555 echo ". WARNING: could not determine pty/tty type. Do not build until ."
17685 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 17556 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
17686 echo ".----------------------------------------------------------------." 17557 echo ".----------------------------------------------------------------."
17700 echo ". WARNING: --enable-xim was specified however the locale support ." 17571 echo ". WARNING: --enable-xim was specified however the locale support ."
17701 echo ". functions could not be found. ." 17572 echo ". functions could not be found. ."
17702 echo ". XIM is now being DISABLED! ." 17573 echo ". XIM is now being DISABLED! ."
17703 echo ".----------------------------------------------------------------." 17574 echo ".----------------------------------------------------------------."
17704fi 17575fi
17576
17705echo " *** Please check src/feature.h for further options *** 17577echo " *** Please check src/feature.h for further options ***"
17706" 17578echo
17579
17580echo ".----------------------------------------------------------------."
17581echo ". NOTE: most features are disabled by default, try ."
17582echo ". configure --help to get an idea of the optional features ."
17583echo ".----------------------------------------------------------------."
17584echo
17585

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines