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

Comparing rxvt-unicode/configure (file contents):
Revision 1.26 by root, Sat Jul 10 20:59:38 2004 UTC vs.
Revision 1.42 by root, Wed Dec 1 02:33:32 2004 UTC

465#endif 465#endif
466#if HAVE_UNISTD_H 466#if HAVE_UNISTD_H
467# include <unistd.h> 467# include <unistd.h>
468#endif" 468#endif"
469 469
470ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL 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' 470ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
471ac_subst_files='MCOMMON' 471ac_subst_files='MCOMMON'
472 472
473# Initialize some variables set by options. 473# Initialize some variables set by options.
474ac_init_help= 474ac_init_help=
475ac_init_version=false 475ac_init_version=false
1031 NOTE: this option is order dependent 1031 NOTE: this option is order dependent
1032 NOTE: automatically enabled with --enable-shared 1032 NOTE: automatically enabled with --enable-shared
1033 --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 1034 --enable-combining enable composition of base and combining characters
1035 --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
1036 --enable-utmp enable utmp (utmpx) support 1037 --enable-utmp enable utmp (utmpx) support
1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1038 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1038 --enable-lastlog enable lastlog support (requires --enable-utmp) 1039 --enable-lastlog enable lastlog support (requires --enable-utmp)
1039 --enable-xpm-background enable XPM background pixmaps 1040 --enable-xpm-background enable XPM background pixmaps
1040 --enable-transparency enable transparent backgrounds 1041 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg 1042 --enable-tinting enable tinting of transparent bg
1043 --enable-fading enable colors fading when off focus
1042 --enable-menubar enable menubar 1044 --enable-menubar enable menubar
1043 --enable-rxvt-scroll enable rxvt style scrollbar 1045 --enable-rxvt-scroll enable rxvt style scrollbar
1044 --enable-next-scroll enable NeXT style scrollbar 1046 --enable-next-scroll enable NeXT style scrollbar
1045 --enable-xterm-scroll enable Xterm style scrollbar 1047 --enable-xterm-scroll enable Xterm style scrollbar
1046 --enable-plain-scroll enable plain style scrollbar 1048 --enable-plain-scroll enable plain style scrollbar
1053 --enable-xgetdefault enable resources via X instead of our small version 1055 --enable-xgetdefault enable resources via X instead of our small version
1054 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1056 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1055 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1057 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1056 --enable-strings enable some replacement system functions 1058 --enable-strings enable some replacement system functions
1057 --disable-swapscreen disable swap screen support 1059 --disable-swapscreen disable swap screen support
1060 --enable-iso14755 enable support for extended ISO 14755 modes
1058 --enable-frills enable support for rarely used features 1061 --enable-frills enable support for rarely used features
1059 --enable-linespace enable support for linespace 1062 --enable-linespace enable support for linespace
1060 --enable-24bit enable support for using 24bit visuals if available 1063 --enable-24bit enable support for using 24bit visuals if available
1061 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1064 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1062 --enable-selectionscrolling enable scrolling during selections 1065 --enable-selectionscrolling enable scrolling during selections
1064 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1067 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1065 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1068 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1066 --enable-dlmalloc enable Doug Lea's malloc - for production use 1069 --enable-dlmalloc enable Doug Lea's malloc - for production use
1067 NOTE: enable only one malloc package 1070 NOTE: enable only one malloc package
1068 --enable-smart-resize enable smart growth/shrink behaviour 1071 --enable-smart-resize enable smart growth/shrink behaviour
1069 --enable-256-color enable 256-color support
1070 --enable-cursor-blink enable blinking cursor 1072 --enable-cursor-blink enable blinking cursor
1071 --enable-text-blink enable blinking text 1073 --enable-text-blink enable blinking text
1072 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1074 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1073 1075
1074Optional Packages: 1076Optional Packages:
1075 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1077 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1076 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1078 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1077 --with-gnu-ld assume the C compiler uses GNU ld default=no 1079 --with-gnu-ld assume the C compiler uses GNU ld default=no
1078 --with-pic try to use only PIC/non-PIC objects default=use both 1080 --with-pic try to use only PIC/non-PIC objects default=use both
1079 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1081 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1080 --with-res-name=NAME use this as default resource name (default: urxvt) 1082 --with-res-name=NAME use this as default resource name (default: urxvt)
1081 --with-res-class=CLASS use this as the resource class (default: URxvt) 1083 --with-res-class=CLASS use this as the resource class (default: URxvt)
1082 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1084 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1083 --with-term=NAME set the terminal to NAME (default: rxvt) 1085 --with-term=NAME set the terminal to NAME (default: rxvt)
1084 --with-terminfo=PATH set the path to the terminfo tree to PATH 1086 --with-terminfo=PATH set the path to the terminfo tree to PATH
1535 1537
1536 1538
1537 1539
1538 1540
1539 1541
1542
1540ac_aux_dir= 1543ac_aux_dir=
1541for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1542 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1543 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1544 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
5235# Some flags need to be propagated to the compiler or linker for good 5238# Some flags need to be propagated to the compiler or linker for good
5236# libtool support. 5239# libtool support.
5237case "$host" in 5240case "$host" in
5238*-*-irix6*) 5241*-*-irix6*)
5239 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
5240 echo '#line 5240 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5242 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
5243 ac_status=$? 5246 ac_status=$?
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
5786# builds. 5789# builds.
5787chmod -w . 5790chmod -w .
5788save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5789CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5790compiler_c_o=no 5793compiler_c_o=no
5791if { (eval echo configure:5791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5794if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5792 # The compiler can only warn and ignore the option if not recognized 5795 # The compiler can only warn and ignore the option if not recognized
5793 # So say no if there are warnings 5796 # So say no if there are warnings
5794 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5795 compiler_c_o=no 5798 compiler_c_o=no
5796 else 5799 else
7402 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
7403else 7406else
7404 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7405 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
7406 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
7407#line 7407 "configure" 7410#line 7410 "configure"
7408#include "confdefs.h" 7411#include "confdefs.h"
7409 7412
7410#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
7411#include <dlfcn.h> 7414#include <dlfcn.h>
7412#endif 7415#endif
7500 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
7501else 7504else
7502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7503 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
7504 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
7505#line 7505 "configure" 7508#line 7508 "configure"
7506#include "confdefs.h" 7509#include "confdefs.h"
7507 7510
7508#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
7509#include <dlfcn.h> 7512#include <dlfcn.h>
7510#endif 7513#endif
8234support_addstrings=no 8237support_addstrings=no
8235support_frills=no 8238support_frills=no
8236support_linespace=no 8239support_linespace=no
8237support_inheritpixmap=no 8240support_inheritpixmap=no
8238support_tinting=no 8241support_tinting=no
8242support_fading=no
8239support_keepscrolling=no 8243support_keepscrolling=no
8240support_selectionscrolling=no 8244support_selectionscrolling=no
8241support_menubar=no 8245support_menubar=no
8242support_mousewheel=no 8246support_mousewheel=no
8243support_mouseslipwheel=no 8247support_mouseslipwheel=no
8255support_xpm=no 8259support_xpm=no
8256support_xft=no 8260support_xft=no
8257support_unicode3=no 8261support_unicode3=no
8258support_combining=no 8262support_combining=no
8259support_8bitctrls=no 8263support_8bitctrls=no
8264support_iso14755=no
8265support_styles=no
8260codesets= 8266codesets=
8261 8267
8262 8268
8263if test "x$enable_shared" = xyes; then 8269if test "x$enable_shared" = xyes; then
8264 8270
8277 support_24bit=yes 8283 support_24bit=yes
8278 support_frills=yes 8284 support_frills=yes
8279 support_linespace=yes 8285 support_linespace=yes
8280 support_inheritpixmap=yes 8286 support_inheritpixmap=yes
8281 support_tinting=yes 8287 support_tinting=yes
8288 support_fading=yes
8282 support_keepscrolling=yes 8289 support_keepscrolling=yes
8283 support_selectionscrolling=yes 8290 support_selectionscrolling=yes
8284 support_lastlog=yes 8291 support_lastlog=yes
8285 support_menubar=yes 8292 support_menubar=yes
8286 support_mousewheel=yes 8293 support_mousewheel=yes
8298 support_xpm=yes 8305 support_xpm=yes
8299 support_xft=yes 8306 support_xft=yes
8300 support_unicode3=yes 8307 support_unicode3=yes
8301 support_combining=yes 8308 support_combining=yes
8302 #support_8bitctrls=yes 8309 #support_8bitctrls=yes
8310 support_iso14755=yes
8311 support_styles=yes
8303 codesets=all 8312 codesets=all
8304 fi 8313 fi
8305fi; 8314fi;
8306 8315
8307# Check whether --enable-unicode3 or --disable-unicode3 was given. 8316# Check whether --enable-unicode3 or --disable-unicode3 was given.
8308if test "${enable_unicode3+set}" = set; then 8317if test "${enable_unicode3+set}" = set; then
8309 enableval="$enable_unicode3" 8318 enableval="$enable_unicode3"
8310 if test x$enableval = xyes -o x$enableval = xno; then 8319 if test x$enableval = xyes -o x$enableval = xno; then
8311 support_unicode3=yes 8320 support_unicode3=$enableval
8312 fi 8321 fi
8313fi; 8322fi;
8314 8323
8315# Check whether --enable-combining or --disable-combining was given. 8324# Check whether --enable-combining or --disable-combining was given.
8316if test "${enable_combining+set}" = set; then 8325if test "${enable_combining+set}" = set; then
8317 enableval="$enable_combining" 8326 enableval="$enable_combining"
8318 if test x$enableval = xyes -o x$enableval = xno; then 8327 if test x$enableval = xyes -o x$enableval = xno; then
8319 support_combining=yes 8328 support_combining=$enableval
8320 fi 8329 fi
8321fi; 8330fi;
8322 8331
8323# Check whether --enable-xft or --disable-xft was given. 8332# Check whether --enable-xft or --disable-xft was given.
8324if test "${enable_xft+set}" = set; then 8333if test "${enable_xft+set}" = set; then
8325 enableval="$enable_xft" 8334 enableval="$enable_xft"
8326 if test x$enableval = xyes -o x$enableval = xno; then 8335 if test x$enableval = xyes -o x$enableval = xno; then
8327 support_xft=yes 8336 support_xft=$enableval
8337 fi
8338fi;
8339
8340# Check whether --enable-font-styles or --disable-font-styles was given.
8341if test "${enable_font_styles+set}" = set; then
8342 enableval="$enable_font_styles"
8343 if test x$enableval = xyes -o x$enableval = xno; then
8344 support_styles=$enableval
8328 fi 8345 fi
8329fi; 8346fi;
8330 8347
8331# Check whether --enable-utmp or --disable-utmp was given. 8348# Check whether --enable-utmp or --disable-utmp was given.
8332if test "${enable_utmp+set}" = set; then 8349if test "${enable_utmp+set}" = set; then
8374 if test x$enableval = xyes -o x$enableval = xno; then 8391 if test x$enableval = xyes -o x$enableval = xno; then
8375 support_tinting=$enableval 8392 support_tinting=$enableval
8376 fi 8393 fi
8377fi; 8394fi;
8378 8395
8396# Check whether --enable-fading or --disable-fading was given.
8397if test "${enable_fading+set}" = set; then
8398 enableval="$enable_fading"
8399 if test x$enableval = xyes -o x$enableval = xno; then
8400 support_fading=$enableval
8401 fi
8402fi;
8403
8379# Check whether --enable-menubar or --disable-menubar was given. 8404# Check whether --enable-menubar or --disable-menubar was given.
8380if test "${enable_menubar+set}" = set; then 8405if test "${enable_menubar+set}" = set; then
8381 enableval="$enable_menubar" 8406 enableval="$enable_menubar"
8382 if test x$enableval = xyes -o x$enableval = xno; then 8407 if test x$enableval = xyes -o x$enableval = xno; then
8383 support_menubar=$enableval 8408 support_menubar=$enableval
8505 8530
8506# Check whether --enable-8bitctrls or --disable-8bitctrls was given. 8531# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8507if test "${enable_8bitctrls+set}" = set; then 8532if test "${enable_8bitctrls+set}" = set; then
8508 enableval="$enable_8bitctrls" 8533 enableval="$enable_8bitctrls"
8509 if test x$enableval = xyes -o x$enableval = xno; then 8534 if test x$enableval = xyes -o x$enableval = xno; then
8510 support_8bitctrls=yes 8535 support_8bitctrls=$enableval
8511 fi 8536 fi
8512fi; 8537fi;
8513 8538
8514RESFALLBACK=Rxvt 8539RESFALLBACK=Rxvt
8515# Check whether --enable-fallback or --disable-fallback was given. 8540# Check whether --enable-fallback or --disable-fallback was given.
8561# Check whether --with-name or --without-name was given. 8586# Check whether --with-name or --without-name was given.
8562if test "${with_name+set}" = set; then 8587if test "${with_name+set}" = set; then
8563 withval="$with_name" 8588 withval="$with_name"
8564 RXVTNAME="$withval" 8589 RXVTNAME="$withval"
8565fi; 8590fi;
8591
8592cat >>confdefs.h <<_ACEOF
8593#define RXVTNAME "$RXVTNAME"
8594_ACEOF
8595
8566 8596
8567RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 8597RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8568 8598
8569 8599
8570# Check whether --enable-strings or --disable-strings was given. 8600# Check whether --enable-strings or --disable-strings was given.
8582 8612
8583cat >>confdefs.h <<\_ACEOF 8613cat >>confdefs.h <<\_ACEOF
8584#define NO_SECONDARY_SCREEN 1 8614#define NO_SECONDARY_SCREEN 1
8585_ACEOF 8615_ACEOF
8586 8616
8617 fi
8618fi;
8619
8620# Check whether --enable-iso14755 or --disable-iso14755 was given.
8621if test "${enable_iso14755+set}" = set; then
8622 enableval="$enable_iso14755"
8623 if test x$enableval = xyes -o x$enableval = xno; then
8624 support_iso14755=$enableval
8587 fi 8625 fi
8588fi; 8626fi;
8589 8627
8590# Check whether --enable-frills or --disable-frills was given. 8628# Check whether --enable-frills or --disable-frills was given.
8591if test "${enable_frills+set}" = set; then 8629if test "${enable_frills+set}" = set; then
8670 enableval="$enable_smart_resize" 8708 enableval="$enable_smart_resize"
8671 if test x$enableval = xyes; then 8709 if test x$enableval = xyes; then
8672 8710
8673cat >>confdefs.h <<\_ACEOF 8711cat >>confdefs.h <<\_ACEOF
8674#define SMART_RESIZE 1 8712#define SMART_RESIZE 1
8675_ACEOF
8676
8677 fi
8678fi;
8679
8680# Check whether --enable-256-color or --disable-256-color was given.
8681if test "${enable_256_color+set}" = set; then
8682 enableval="$enable_256_color"
8683 if test x$enableval = xyes; then
8684
8685cat >>confdefs.h <<\_ACEOF
8686#define TTY_256COLOR 1
8687_ACEOF 8713_ACEOF
8688 8714
8689 fi 8715 fi
8690fi; 8716fi;
8691 8717
9065TBL=$ac_cv_path_TBL 9091TBL=$ac_cv_path_TBL
9066 9092
9067if test -n "$TBL"; then 9093if test -n "$TBL"; then
9068 echo "$as_me:$LINENO: result: $TBL" >&5 9094 echo "$as_me:$LINENO: result: $TBL" >&5
9069echo "${ECHO_T}$TBL" >&6 9095echo "${ECHO_T}$TBL" >&6
9096else
9097 echo "$as_me:$LINENO: result: no" >&5
9098echo "${ECHO_T}no" >&6
9099fi
9100
9101# Extract the first word of "tic", so it can be a program name with args.
9102set dummy tic; ac_word=$2
9103echo "$as_me:$LINENO: checking for $ac_word" >&5
9104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9105if test "${ac_cv_path_TIC+set}" = set; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9107else
9108 case $TIC in
9109 [\\/]* | ?:[\\/]*)
9110 ac_cv_path_TIC="$TIC" # Let the user override the test with a path.
9111 ;;
9112 *)
9113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114for as_dir in $PATH
9115do
9116 IFS=$as_save_IFS
9117 test -z "$as_dir" && as_dir=.
9118 for ac_exec_ext in '' $ac_executable_extensions; do
9119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9120 ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext"
9121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9122 break 2
9123 fi
9124done
9125done
9126
9127 ;;
9128esac
9129fi
9130TIC=$ac_cv_path_TIC
9131
9132if test -n "$TIC"; then
9133 echo "$as_me:$LINENO: result: $TIC" >&5
9134echo "${ECHO_T}$TIC" >&6
9070else 9135else
9071 echo "$as_me:$LINENO: result: no" >&5 9136 echo "$as_me:$LINENO: result: no" >&5
9072echo "${ECHO_T}no" >&6 9137echo "${ECHO_T}no" >&6
9073fi 9138fi
9074 9139
10900 10965
10901 10966
10902 10967
10903 10968
10904 10969
10970
10905for ac_header in \ 10971for ac_header in \
10906 assert.h \ 10972 assert.h \
10907 fcntl.h \ 10973 fcntl.h \
10908 grp.h \ 10974 grp.h \
10909 libc.h \ 10975 libc.h \
10916 sys/byteorder.h \ 10982 sys/byteorder.h \
10917 sys/ioctl.h \ 10983 sys/ioctl.h \
10918 sys/select.h \ 10984 sys/select.h \
10919 sys/sockio.h \ 10985 sys/sockio.h \
10920 sys/strredir.h \ 10986 sys/strredir.h \
10987 sys/stropts.h \
10921 sys/time.h \ 10988 sys/time.h \
10922 utmp.h \ 10989 utmp.h \
10923 utmpx.h \ 10990 utmpx.h \
10924 stdint.h \ 10991 stdint.h \
10925 10992
11713_ACEOF 11780_ACEOF
11714 11781
11715fi 11782fi
11716 11783
11717 11784
11718
11719echo "$as_me:$LINENO: checking for char" >&5
11720echo $ECHO_N "checking for char... $ECHO_C" >&6
11721if test "${ac_cv_type_char+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11723else
11724 cat >conftest.$ac_ext <<_ACEOF
11725/* confdefs.h. */
11726_ACEOF
11727cat confdefs.h >>conftest.$ac_ext
11728cat >>conftest.$ac_ext <<_ACEOF
11729/* end confdefs.h. */
11730$ac_includes_default
11731int
11732main ()
11733{
11734if ((char *) 0)
11735 return 0;
11736if (sizeof (char))
11737 return 0;
11738 ;
11739 return 0;
11740}
11741_ACEOF
11742rm -f conftest.$ac_objext
11743if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11744 (eval $ac_compile) 2>conftest.er1
11745 ac_status=$?
11746 grep -v '^ *+' conftest.er1 >conftest.err
11747 rm -f conftest.er1
11748 cat conftest.err >&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } &&
11751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11753 (eval $ac_try) 2>&5
11754 ac_status=$?
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); }; } &&
11757 { ac_try='test -s conftest.$ac_objext'
11758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11759 (eval $ac_try) 2>&5
11760 ac_status=$?
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); }; }; then
11763 ac_cv_type_char=yes
11764else
11765 echo "$as_me: failed program was:" >&5
11766sed 's/^/| /' conftest.$ac_ext >&5
11767
11768ac_cv_type_char=no
11769fi
11770rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11771fi
11772echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
11773echo "${ECHO_T}$ac_cv_type_char" >&6
11774
11775echo "$as_me:$LINENO: checking size of char" >&5
11776echo $ECHO_N "checking size of char... $ECHO_C" >&6
11777if test "${ac_cv_sizeof_char+set}" = set; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11779else
11780 if test "$ac_cv_type_char" = yes; then
11781 # The cast to unsigned long works around a bug in the HP C Compiler
11782 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11783 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11784 # This bug is HP SR number 8606223364.
11785 if test "$cross_compiling" = yes; then
11786 # Depending upon the size, compute the lo and hi bounds.
11787cat >conftest.$ac_ext <<_ACEOF
11788/* confdefs.h. */
11789_ACEOF
11790cat confdefs.h >>conftest.$ac_ext
11791cat >>conftest.$ac_ext <<_ACEOF
11792/* end confdefs.h. */
11793$ac_includes_default
11794int
11795main ()
11796{
11797static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
11798test_array [0] = 0
11799
11800 ;
11801 return 0;
11802}
11803_ACEOF
11804rm -f conftest.$ac_objext
11805if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11806 (eval $ac_compile) 2>conftest.er1
11807 ac_status=$?
11808 grep -v '^ *+' conftest.er1 >conftest.err
11809 rm -f conftest.er1
11810 cat conftest.err >&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } &&
11813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 (eval $ac_try) 2>&5
11816 ac_status=$?
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; } &&
11819 { ac_try='test -s conftest.$ac_objext'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11822 ac_status=$?
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; }; then
11825 ac_lo=0 ac_mid=0
11826 while :; do
11827 cat >conftest.$ac_ext <<_ACEOF
11828/* confdefs.h. */
11829_ACEOF
11830cat confdefs.h >>conftest.$ac_ext
11831cat >>conftest.$ac_ext <<_ACEOF
11832/* end confdefs.h. */
11833$ac_includes_default
11834int
11835main ()
11836{
11837static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11838test_array [0] = 0
11839
11840 ;
11841 return 0;
11842}
11843_ACEOF
11844rm -f conftest.$ac_objext
11845if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11846 (eval $ac_compile) 2>conftest.er1
11847 ac_status=$?
11848 grep -v '^ *+' conftest.er1 >conftest.err
11849 rm -f conftest.er1
11850 cat conftest.err >&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); } &&
11853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11856 ac_status=$?
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; } &&
11859 { ac_try='test -s conftest.$ac_objext'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11862 ac_status=$?
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11865 ac_hi=$ac_mid; break
11866else
11867 echo "$as_me: failed program was:" >&5
11868sed 's/^/| /' conftest.$ac_ext >&5
11869
11870ac_lo=`expr $ac_mid + 1`
11871 if test $ac_lo -le $ac_mid; then
11872 ac_lo= ac_hi=
11873 break
11874 fi
11875 ac_mid=`expr 2 '*' $ac_mid + 1`
11876fi
11877rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11878 done
11879else
11880 echo "$as_me: failed program was:" >&5
11881sed 's/^/| /' conftest.$ac_ext >&5
11882
11883cat >conftest.$ac_ext <<_ACEOF
11884/* confdefs.h. */
11885_ACEOF
11886cat confdefs.h >>conftest.$ac_ext
11887cat >>conftest.$ac_ext <<_ACEOF
11888/* end confdefs.h. */
11889$ac_includes_default
11890int
11891main ()
11892{
11893static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
11894test_array [0] = 0
11895
11896 ;
11897 return 0;
11898}
11899_ACEOF
11900rm -f conftest.$ac_objext
11901if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11902 (eval $ac_compile) 2>conftest.er1
11903 ac_status=$?
11904 grep -v '^ *+' conftest.er1 >conftest.err
11905 rm -f conftest.er1
11906 cat conftest.err >&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } &&
11909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11911 (eval $ac_try) 2>&5
11912 ac_status=$?
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); }; } &&
11915 { ac_try='test -s conftest.$ac_objext'
11916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11917 (eval $ac_try) 2>&5
11918 ac_status=$?
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); }; }; then
11921 ac_hi=-1 ac_mid=-1
11922 while :; do
11923 cat >conftest.$ac_ext <<_ACEOF
11924/* confdefs.h. */
11925_ACEOF
11926cat confdefs.h >>conftest.$ac_ext
11927cat >>conftest.$ac_ext <<_ACEOF
11928/* end confdefs.h. */
11929$ac_includes_default
11930int
11931main ()
11932{
11933static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
11934test_array [0] = 0
11935
11936 ;
11937 return 0;
11938}
11939_ACEOF
11940rm -f conftest.$ac_objext
11941if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11942 (eval $ac_compile) 2>conftest.er1
11943 ac_status=$?
11944 grep -v '^ *+' conftest.er1 >conftest.err
11945 rm -f conftest.er1
11946 cat conftest.err >&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11952 ac_status=$?
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } &&
11955 { ac_try='test -s conftest.$ac_objext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11958 ac_status=$?
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 ac_lo=$ac_mid; break
11962else
11963 echo "$as_me: failed program was:" >&5
11964sed 's/^/| /' conftest.$ac_ext >&5
11965
11966ac_hi=`expr '(' $ac_mid ')' - 1`
11967 if test $ac_mid -le $ac_hi; then
11968 ac_lo= ac_hi=
11969 break
11970 fi
11971 ac_mid=`expr 2 '*' $ac_mid`
11972fi
11973rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11974 done
11975else
11976 echo "$as_me: failed program was:" >&5
11977sed 's/^/| /' conftest.$ac_ext >&5
11978
11979ac_lo= ac_hi=
11980fi
11981rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11982fi
11983rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11984# Binary search between lo and hi bounds.
11985while test "x$ac_lo" != "x$ac_hi"; do
11986 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11987 cat >conftest.$ac_ext <<_ACEOF
11988/* confdefs.h. */
11989_ACEOF
11990cat confdefs.h >>conftest.$ac_ext
11991cat >>conftest.$ac_ext <<_ACEOF
11992/* end confdefs.h. */
11993$ac_includes_default
11994int
11995main ()
11996{
11997static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11998test_array [0] = 0
11999
12000 ;
12001 return 0;
12002}
12003_ACEOF
12004rm -f conftest.$ac_objext
12005if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12006 (eval $ac_compile) 2>conftest.er1
12007 ac_status=$?
12008 grep -v '^ *+' conftest.er1 >conftest.err
12009 rm -f conftest.er1
12010 cat conftest.err >&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); } &&
12013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12016 ac_status=$?
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); }; } &&
12019 { ac_try='test -s conftest.$ac_objext'
12020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12021 (eval $ac_try) 2>&5
12022 ac_status=$?
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12025 ac_hi=$ac_mid
12026else
12027 echo "$as_me: failed program was:" >&5
12028sed 's/^/| /' conftest.$ac_ext >&5
12029
12030ac_lo=`expr '(' $ac_mid ')' + 1`
12031fi
12032rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12033done
12034case $ac_lo in
12035?*) ac_cv_sizeof_char=$ac_lo;;
12036'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
12037See \`config.log' for more details." >&5
12038echo "$as_me: error: cannot compute sizeof (char), 77
12039See \`config.log' for more details." >&2;}
12040 { (exit 1); exit 1; }; } ;;
12041esac
12042else
12043 if test "$cross_compiling" = yes; then
12044 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
12045echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
12046 { (exit 1); exit 1; }; }
12047else
12048 cat >conftest.$ac_ext <<_ACEOF
12049/* confdefs.h. */
12050_ACEOF
12051cat confdefs.h >>conftest.$ac_ext
12052cat >>conftest.$ac_ext <<_ACEOF
12053/* end confdefs.h. */
12054$ac_includes_default
12055long longval () { return (long) (sizeof (char)); }
12056unsigned long ulongval () { return (long) (sizeof (char)); }
12057#include <stdio.h>
12058#include <stdlib.h>
12059int
12060main ()
12061{
12062
12063 FILE *f = fopen ("conftest.val", "w");
12064 if (! f)
12065 exit (1);
12066 if (((long) (sizeof (char))) < 0)
12067 {
12068 long i = longval ();
12069 if (i != ((long) (sizeof (char))))
12070 exit (1);
12071 fprintf (f, "%ld\n", i);
12072 }
12073 else
12074 {
12075 unsigned long i = ulongval ();
12076 if (i != ((long) (sizeof (char))))
12077 exit (1);
12078 fprintf (f, "%lu\n", i);
12079 }
12080 exit (ferror (f) || fclose (f) != 0);
12081
12082 ;
12083 return 0;
12084}
12085_ACEOF
12086rm -f conftest$ac_exeext
12087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12088 (eval $ac_link) 2>&5
12089 ac_status=$?
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12093 (eval $ac_try) 2>&5
12094 ac_status=$?
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); }; }; then
12097 ac_cv_sizeof_char=`cat conftest.val`
12098else
12099 echo "$as_me: program exited with status $ac_status" >&5
12100echo "$as_me: failed program was:" >&5
12101sed 's/^/| /' conftest.$ac_ext >&5
12102
12103( exit $ac_status )
12104{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
12105See \`config.log' for more details." >&5
12106echo "$as_me: error: cannot compute sizeof (char), 77
12107See \`config.log' for more details." >&2;}
12108 { (exit 1); exit 1; }; }
12109fi
12110rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12111fi
12112fi
12113rm -f conftest.val
12114else
12115 ac_cv_sizeof_char=0
12116fi
12117fi
12118echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
12119echo "${ECHO_T}$ac_cv_sizeof_char" >&6
12120cat >>confdefs.h <<_ACEOF
12121#define SIZEOF_CHAR $ac_cv_sizeof_char
12122_ACEOF
12123
12124
12125echo "$as_me:$LINENO: checking for short" >&5 11785echo "$as_me:$LINENO: checking for short" >&5
12126echo $ECHO_N "checking for short... $ECHO_C" >&6 11786echo $ECHO_N "checking for short... $ECHO_C" >&6
12127if test "${ac_cv_type_short+set}" = set; then 11787if test "${ac_cv_type_short+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6 11788 echo $ECHO_N "(cached) $ECHO_C" >&6
12129else 11789else
12929fi 12589fi
12930echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 12590echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12931echo "${ECHO_T}$ac_cv_sizeof_int" >&6 12591echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12932cat >>confdefs.h <<_ACEOF 12592cat >>confdefs.h <<_ACEOF
12933#define SIZEOF_INT $ac_cv_sizeof_int 12593#define SIZEOF_INT $ac_cv_sizeof_int
12934_ACEOF
12935
12936
12937echo "$as_me:$LINENO: checking for long" >&5
12938echo $ECHO_N "checking for long... $ECHO_C" >&6
12939if test "${ac_cv_type_long+set}" = set; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6
12941else
12942 cat >conftest.$ac_ext <<_ACEOF
12943/* confdefs.h. */
12944_ACEOF
12945cat confdefs.h >>conftest.$ac_ext
12946cat >>conftest.$ac_ext <<_ACEOF
12947/* end confdefs.h. */
12948$ac_includes_default
12949int
12950main ()
12951{
12952if ((long *) 0)
12953 return 0;
12954if (sizeof (long))
12955 return 0;
12956 ;
12957 return 0;
12958}
12959_ACEOF
12960rm -f conftest.$ac_objext
12961if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12962 (eval $ac_compile) 2>conftest.er1
12963 ac_status=$?
12964 grep -v '^ *+' conftest.er1 >conftest.err
12965 rm -f conftest.er1
12966 cat conftest.err >&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } &&
12969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12971 (eval $ac_try) 2>&5
12972 ac_status=$?
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); }; } &&
12975 { ac_try='test -s conftest.$ac_objext'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12978 ac_status=$?
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; }; then
12981 ac_cv_type_long=yes
12982else
12983 echo "$as_me: failed program was:" >&5
12984sed 's/^/| /' conftest.$ac_ext >&5
12985
12986ac_cv_type_long=no
12987fi
12988rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12989fi
12990echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12991echo "${ECHO_T}$ac_cv_type_long" >&6
12992
12993echo "$as_me:$LINENO: checking size of long" >&5
12994echo $ECHO_N "checking size of long... $ECHO_C" >&6
12995if test "${ac_cv_sizeof_long+set}" = set; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12997else
12998 if test "$ac_cv_type_long" = yes; then
12999 # The cast to unsigned long works around a bug in the HP C Compiler
13000 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13001 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13002 # This bug is HP SR number 8606223364.
13003 if test "$cross_compiling" = yes; then
13004 # Depending upon the size, compute the lo and hi bounds.
13005cat >conftest.$ac_ext <<_ACEOF
13006/* confdefs.h. */
13007_ACEOF
13008cat confdefs.h >>conftest.$ac_ext
13009cat >>conftest.$ac_ext <<_ACEOF
13010/* end confdefs.h. */
13011$ac_includes_default
13012int
13013main ()
13014{
13015static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
13016test_array [0] = 0
13017
13018 ;
13019 return 0;
13020}
13021_ACEOF
13022rm -f conftest.$ac_objext
13023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13024 (eval $ac_compile) 2>conftest.er1
13025 ac_status=$?
13026 grep -v '^ *+' conftest.er1 >conftest.err
13027 rm -f conftest.er1
13028 cat conftest.err >&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } &&
13031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13034 ac_status=$?
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; } &&
13037 { ac_try='test -s conftest.$ac_objext'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13040 ac_status=$?
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; }; then
13043 ac_lo=0 ac_mid=0
13044 while :; do
13045 cat >conftest.$ac_ext <<_ACEOF
13046/* confdefs.h. */
13047_ACEOF
13048cat confdefs.h >>conftest.$ac_ext
13049cat >>conftest.$ac_ext <<_ACEOF
13050/* end confdefs.h. */
13051$ac_includes_default
13052int
13053main ()
13054{
13055static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13056test_array [0] = 0
13057
13058 ;
13059 return 0;
13060}
13061_ACEOF
13062rm -f conftest.$ac_objext
13063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13064 (eval $ac_compile) 2>conftest.er1
13065 ac_status=$?
13066 grep -v '^ *+' conftest.er1 >conftest.err
13067 rm -f conftest.er1
13068 cat conftest.err >&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } &&
13071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; } &&
13077 { ac_try='test -s conftest.$ac_objext'
13078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13079 (eval $ac_try) 2>&5
13080 ac_status=$?
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; }; then
13083 ac_hi=$ac_mid; break
13084else
13085 echo "$as_me: failed program was:" >&5
13086sed 's/^/| /' conftest.$ac_ext >&5
13087
13088ac_lo=`expr $ac_mid + 1`
13089 if test $ac_lo -le $ac_mid; then
13090 ac_lo= ac_hi=
13091 break
13092 fi
13093 ac_mid=`expr 2 '*' $ac_mid + 1`
13094fi
13095rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13096 done
13097else
13098 echo "$as_me: failed program was:" >&5
13099sed 's/^/| /' conftest.$ac_ext >&5
13100
13101cat >conftest.$ac_ext <<_ACEOF
13102/* confdefs.h. */
13103_ACEOF
13104cat confdefs.h >>conftest.$ac_ext
13105cat >>conftest.$ac_ext <<_ACEOF
13106/* end confdefs.h. */
13107$ac_includes_default
13108int
13109main ()
13110{
13111static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
13112test_array [0] = 0
13113
13114 ;
13115 return 0;
13116}
13117_ACEOF
13118rm -f conftest.$ac_objext
13119if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13120 (eval $ac_compile) 2>conftest.er1
13121 ac_status=$?
13122 grep -v '^ *+' conftest.er1 >conftest.err
13123 rm -f conftest.er1
13124 cat conftest.err >&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); } &&
13127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129 (eval $ac_try) 2>&5
13130 ac_status=$?
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }; } &&
13133 { ac_try='test -s conftest.$ac_objext'
13134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13135 (eval $ac_try) 2>&5
13136 ac_status=$?
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); }; }; then
13139 ac_hi=-1 ac_mid=-1
13140 while :; do
13141 cat >conftest.$ac_ext <<_ACEOF
13142/* confdefs.h. */
13143_ACEOF
13144cat confdefs.h >>conftest.$ac_ext
13145cat >>conftest.$ac_ext <<_ACEOF
13146/* end confdefs.h. */
13147$ac_includes_default
13148int
13149main ()
13150{
13151static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
13152test_array [0] = 0
13153
13154 ;
13155 return 0;
13156}
13157_ACEOF
13158rm -f conftest.$ac_objext
13159if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13160 (eval $ac_compile) 2>conftest.er1
13161 ac_status=$?
13162 grep -v '^ *+' conftest.er1 >conftest.err
13163 rm -f conftest.er1
13164 cat conftest.err >&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); } &&
13167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13169 (eval $ac_try) 2>&5
13170 ac_status=$?
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); }; } &&
13173 { ac_try='test -s conftest.$ac_objext'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13176 ac_status=$?
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 ac_lo=$ac_mid; break
13180else
13181 echo "$as_me: failed program was:" >&5
13182sed 's/^/| /' conftest.$ac_ext >&5
13183
13184ac_hi=`expr '(' $ac_mid ')' - 1`
13185 if test $ac_mid -le $ac_hi; then
13186 ac_lo= ac_hi=
13187 break
13188 fi
13189 ac_mid=`expr 2 '*' $ac_mid`
13190fi
13191rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13192 done
13193else
13194 echo "$as_me: failed program was:" >&5
13195sed 's/^/| /' conftest.$ac_ext >&5
13196
13197ac_lo= ac_hi=
13198fi
13199rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13200fi
13201rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13202# Binary search between lo and hi bounds.
13203while test "x$ac_lo" != "x$ac_hi"; do
13204 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13205 cat >conftest.$ac_ext <<_ACEOF
13206/* confdefs.h. */
13207_ACEOF
13208cat confdefs.h >>conftest.$ac_ext
13209cat >>conftest.$ac_ext <<_ACEOF
13210/* end confdefs.h. */
13211$ac_includes_default
13212int
13213main ()
13214{
13215static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13216test_array [0] = 0
13217
13218 ;
13219 return 0;
13220}
13221_ACEOF
13222rm -f conftest.$ac_objext
13223if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13224 (eval $ac_compile) 2>conftest.er1
13225 ac_status=$?
13226 grep -v '^ *+' conftest.er1 >conftest.err
13227 rm -f conftest.er1
13228 cat conftest.err >&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } &&
13231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13234 ac_status=$?
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 ac_hi=$ac_mid
13244else
13245 echo "$as_me: failed program was:" >&5
13246sed 's/^/| /' conftest.$ac_ext >&5
13247
13248ac_lo=`expr '(' $ac_mid ')' + 1`
13249fi
13250rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13251done
13252case $ac_lo in
13253?*) ac_cv_sizeof_long=$ac_lo;;
13254'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13255See \`config.log' for more details." >&5
13256echo "$as_me: error: cannot compute sizeof (long), 77
13257See \`config.log' for more details." >&2;}
13258 { (exit 1); exit 1; }; } ;;
13259esac
13260else
13261 if test "$cross_compiling" = yes; then
13262 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13263echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13264 { (exit 1); exit 1; }; }
13265else
13266 cat >conftest.$ac_ext <<_ACEOF
13267/* confdefs.h. */
13268_ACEOF
13269cat confdefs.h >>conftest.$ac_ext
13270cat >>conftest.$ac_ext <<_ACEOF
13271/* end confdefs.h. */
13272$ac_includes_default
13273long longval () { return (long) (sizeof (long)); }
13274unsigned long ulongval () { return (long) (sizeof (long)); }
13275#include <stdio.h>
13276#include <stdlib.h>
13277int
13278main ()
13279{
13280
13281 FILE *f = fopen ("conftest.val", "w");
13282 if (! f)
13283 exit (1);
13284 if (((long) (sizeof (long))) < 0)
13285 {
13286 long i = longval ();
13287 if (i != ((long) (sizeof (long))))
13288 exit (1);
13289 fprintf (f, "%ld\n", i);
13290 }
13291 else
13292 {
13293 unsigned long i = ulongval ();
13294 if (i != ((long) (sizeof (long))))
13295 exit (1);
13296 fprintf (f, "%lu\n", i);
13297 }
13298 exit (ferror (f) || fclose (f) != 0);
13299
13300 ;
13301 return 0;
13302}
13303_ACEOF
13304rm -f conftest$ac_exeext
13305if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13306 (eval $ac_link) 2>&5
13307 ac_status=$?
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13312 ac_status=$?
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; }; then
13315 ac_cv_sizeof_long=`cat conftest.val`
13316else
13317 echo "$as_me: program exited with status $ac_status" >&5
13318echo "$as_me: failed program was:" >&5
13319sed 's/^/| /' conftest.$ac_ext >&5
13320
13321( exit $ac_status )
13322{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13323See \`config.log' for more details." >&5
13324echo "$as_me: error: cannot compute sizeof (long), 77
13325See \`config.log' for more details." >&2;}
13326 { (exit 1); exit 1; }; }
13327fi
13328rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13329fi
13330fi
13331rm -f conftest.val
13332else
13333 ac_cv_sizeof_long=0
13334fi
13335fi
13336echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13337echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13338cat >>confdefs.h <<_ACEOF
13339#define SIZEOF_LONG $ac_cv_sizeof_long
13340_ACEOF 12594_ACEOF
13341 12595
13342 12596
13343echo "$as_me:$LINENO: checking for long long" >&5 12597echo "$as_me:$LINENO: checking for long long" >&5
13344echo $ECHO_N "checking for long long... $ECHO_C" >&6 12598echo $ECHO_N "checking for long long... $ECHO_C" >&6
16187#define HAVE_NL_LANGINFO 1 15441#define HAVE_NL_LANGINFO 1
16188_ACEOF 15442_ACEOF
16189 15443
16190fi 15444fi
16191 15445
15446echo "$as_me:$LINENO: checking for broken XIM callback" >&5
15447echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
15448if test "${rxvt_broken_ximcb+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15450else
15451 cat >conftest.$ac_ext <<_ACEOF
15452
15453#include <X11/Xlib.h>
15454
15455void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
15456
15457void f() {
15458 XIMCallback cb;
15459 cb.callback = im_destroy_cb;
15460}
15461
15462_ACEOF
15463rm -f conftest.$ac_objext
15464if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15465 (eval $ac_compile) 2>conftest.er1
15466 ac_status=$?
15467 grep -v '^ *+' conftest.er1 >conftest.err
15468 rm -f conftest.er1
15469 cat conftest.err >&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } &&
15472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15475 ac_status=$?
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; } &&
15478 { ac_try='test -s conftest.$ac_objext'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15481 ac_status=$?
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; }; then
15484 rxvt_broken_ximcb=yes
15485else
15486 echo "$as_me: failed program was:" >&5
15487sed 's/^/| /' conftest.$ac_ext >&5
15488
15489rxvt_broken_ximcb=no
15490fi
15491rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15492fi
15493echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
15494echo "${ECHO_T}$rxvt_broken_ximcb" >&6
15495
15496if test x$rxvt_broken_ximcb = xyes; then
15497
15498cat >>confdefs.h <<\_ACEOF
15499#define XIMCB_PROTO_BROKEN 1
15500_ACEOF
15501
15502fi
15503
16192echo "$as_me:$LINENO: checking for getpt" >&5 15504echo "$as_me:$LINENO: checking for getpt" >&5
16193echo $ECHO_N "checking for getpt... $ECHO_C" >&6 15505echo $ECHO_N "checking for getpt... $ECHO_C" >&6
16194if test "${rxvt_cv_func_getpt+set}" = set; then 15506if test "${rxvt_cv_func_getpt+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6 15507 echo $ECHO_N "(cached) $ECHO_C" >&6
16196else 15508else
16373 15685
16374cat >>confdefs.h <<_ACEOF 15686cat >>confdefs.h <<_ACEOF
16375#define PTYCHAR2 "$pch2" 15687#define PTYCHAR2 "$pch2"
16376_ACEOF 15688_ACEOF
16377 15689
16378fi
16379
16380if test x$support_8bitctrls = xyes; then
16381
16382cat >>confdefs.h <<\_ACEOF
16383#define EIGHT_BIT_CONTROLS 1
16384_ACEOF
16385
16386fi
16387if test x$support_tinting = xyes; then
16388
16389cat >>confdefs.h <<\_ACEOF
16390#define TINTING 1
16391_ACEOF
16392
16393fi
16394if test x$support_inheritpixmap = xyes; then
16395
16396cat >>confdefs.h <<\_ACEOF
16397#define TRANSPARENT 1
16398_ACEOF
16399
16400fi
16401if test x$support_keepscrolling = xno; then
16402
16403cat >>confdefs.h <<\_ACEOF
16404#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16405_ACEOF
16406
16407fi
16408if test x$support_selectionscrolling = xyes; then
16409
16410cat >>confdefs.h <<\_ACEOF
16411#define SELECTION_SCROLLING 1
16412_ACEOF
16413
16414fi
16415if test x$support_menubar = xyes; then
16416
16417cat >>confdefs.h <<\_ACEOF
16418#define MENUBAR 1
16419_ACEOF
16420
16421fi
16422if test x$support_frills = xno; then
16423
16424cat >>confdefs.h <<\_ACEOF
16425#define NO_FRILLS 1
16426_ACEOF
16427
16428fi
16429if test x$support_linespace = xno; then
16430
16431cat >>confdefs.h <<\_ACEOF
16432#define NO_LINESPACE 1
16433_ACEOF
16434
16435fi
16436if test x$support_24bit = xyes; then
16437
16438cat >>confdefs.h <<\_ACEOF
16439#define PREFER_24BIT 1
16440_ACEOF
16441
16442fi
16443if test x$support_mousewheel = xyes; then
16444
16445cat >>confdefs.h <<\_ACEOF
16446#define MOUSE_WHEEL 1
16447_ACEOF
16448
16449fi
16450if test x$support_mouseslipwheel = xyes; then
16451
16452cat >>confdefs.h <<\_ACEOF
16453#define MOUSE_SLIP_WHEELING 1
16454_ACEOF
16455
16456fi
16457if test x$support_utmp = xyes; then
16458
16459cat >>confdefs.h <<\_ACEOF
16460#define UTMP_SUPPORT 1
16461_ACEOF
16462
16463fi
16464if test x$support_wtmp = xyes; then
16465
16466cat >>confdefs.h <<\_ACEOF
16467#define WTMP_SUPPORT 1
16468_ACEOF
16469
16470fi
16471if test x$support_lastlog = xyes; then
16472
16473cat >>confdefs.h <<\_ACEOF
16474#define LASTLOG_SUPPORT 1
16475_ACEOF
16476
16477fi
16478if test x$support_xim = xyes -o x$multichar_set = xyes; then
16479 if test x$rxvt_cv_func_xlocale = xyes; then
16480
16481cat >>confdefs.h <<\_ACEOF
16482#define USE_XIM 1
16483_ACEOF
16484
16485 fi
16486fi
16487if test x$support_xpm = xyes; then
16488
16489cat >>confdefs.h <<\_ACEOF
16490#define XPM_BACKGROUND 1
16491_ACEOF
16492
16493fi
16494if test x$support_scroll_rxvt = xyes; then
16495
16496cat >>confdefs.h <<\_ACEOF
16497#define RXVT_SCROLLBAR 1
16498_ACEOF
16499
16500 scrolltypes="rxvt"
16501fi
16502if test x$support_scroll_next = xyes; then
16503
16504cat >>confdefs.h <<\_ACEOF
16505#define NEXT_SCROLLBAR 1
16506_ACEOF
16507
16508 scrolltypes="$scrolltypes next"
16509fi
16510if test x$support_scroll_xterm = xyes; then
16511
16512cat >>confdefs.h <<\_ACEOF
16513#define XTERM_SCROLLBAR 1
16514_ACEOF
16515
16516 scrolltypes="$scrolltypes xterm"
16517fi
16518if test x$support_scroll_plain = xyes; then
16519
16520cat >>confdefs.h <<\_ACEOF
16521#define PLAIN_SCROLLBAR 1
16522_ACEOF
16523
16524 scrolltypes="$scrolltypes plain"
16525fi
16526if test x$support_pointer_blank = xyes; then
16527
16528cat >>confdefs.h <<\_ACEOF
16529#define POINTER_BLANK 1
16530_ACEOF
16531
16532fi
16533if test x$support_cursor_blink = xyes; then
16534
16535cat >>confdefs.h <<\_ACEOF
16536#define CURSOR_BLINK 1
16537_ACEOF
16538
16539fi
16540if test x$support_text_blink = xyes; then
16541
16542cat >>confdefs.h <<\_ACEOF
16543#define TEXT_BLINK 1
16544_ACEOF
16545
16546fi
16547if test x$support_unicode3 = xyes; then
16548
16549cat >>confdefs.h <<\_ACEOF
16550#define UNICODE_3 1
16551_ACEOF
16552
16553fi
16554if test x$support_combining = xyes; then
16555
16556cat >>confdefs.h <<\_ACEOF
16557#define ENABLE_COMBINING 1
16558_ACEOF
16559
16560fi
16561if test x$codesets = xall; then
16562 codesets=jp,jp-ext,kr,cn,cn-ext
16563fi
16564for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16565
16566cat >>confdefs.h <<\_ACEOF
16567#define ENCODING_EU 1
16568_ACEOF
16569
16570
16571cat >>confdefs.h <<\_ACEOF
16572#define ENCODING_VN 1
16573_ACEOF
16574
16575 case "$codeset" in
16576 JP )
16577cat >>confdefs.h <<\_ACEOF
16578#define ENCODING_JP 1
16579_ACEOF
16580 ;;
16581 JP_EXT )
16582cat >>confdefs.h <<\_ACEOF
16583#define ENCODING_JP_EXT 1
16584_ACEOF
16585 ;;
16586 KR )
16587cat >>confdefs.h <<\_ACEOF
16588#define ENCODING_KR 1
16589_ACEOF
16590 ;;
16591 CN )
16592cat >>confdefs.h <<\_ACEOF
16593#define ENCODING_CN 1
16594_ACEOF
16595 ;;
16596 CN_EXT )
16597cat >>confdefs.h <<\_ACEOF
16598#define ENCODING_CN_EXT 1
16599_ACEOF
16600 ;;
16601 esac
16602done
16603
16604
16605CFLAGS=${CFLAGS--O}
16606LDFLAGS=${LDFLAGS--O}
16607
16608CPPFLAGS="$CPPFLAGS"
16609
16610
16611
16612
16613
16614
16615
16616if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16617 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16618 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16619 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16620 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16621 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16622fi
16623
16624
16625
16626
16627
16628if test x$support_addstrings = xno; then
16629
16630cat >>confdefs.h <<\_ACEOF
16631#define NO_STRINGS 1
16632_ACEOF
16633
16634fi
16635
16636MCOMMON=./autoconf/Make.common
16637
16638
16639test "$program_prefix" != NONE &&
16640 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16641# Use a double $ so make ignores it.
16642test "$program_suffix" != NONE &&
16643 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16644# Double any \ or $. echo might interpret backslashes.
16645# By default was `s,x,x', remove it if useless.
16646cat <<\_ACEOF >conftest.sed
16647s/[\\$]/&&/g;s/;s,x,x,$//
16648_ACEOF
16649program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16650rm conftest.sed
16651
16652
16653
16654
16655
16656if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16657 include_stdint_h="#include <stdint.h>"
16658else
16659 include_stdint_h="/* #include <stdint.h> */"
16660fi
16661if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16662 include_stdarg_h="#include <cstdarg>"
16663else
16664 include_stdarg_h="/* #include <cstdarg> */"
16665fi
16666if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16667 include_stdlib_h="#include <cstdlib>"
16668else
16669 include_stdlib_h="/* #include <cstdlib> */"
16670fi
16671if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16672 include_unistd_h="#include <unistd.h>"
16673else
16674 include_unistd_h="/* #include <unistd.h> */"
16675fi
16676if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16677 include_string_h="#include <cstring>"
16678else
16679 include_string_h="/* #include <cstring> */"
16680fi
16681if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16682 include_fcntl_h="#include <fcntl.h>"
16683else
16684 include_fcntl_h="/* #include <fcntl.h> */"
16685fi
16686if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16687 include_util_h="#include <util.h>"
16688else
16689 include_util_h="/* #include <util.h> */"
16690fi
16691if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16692 include_assert_h="#include <assert.h>"
16693else
16694 include_assert_h="/* #include <assert.h> */"
16695fi
16696if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16697 include_sys_ioctl_h="#include <sys/ioctl.h>"
16698else
16699 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16700fi
16701if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16702 include_sys_select_h="#include <sys/select.h>"
16703else
16704 include_sys_select_h="/* #include <sys/select.h> */"
16705fi
16706if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16707 include_sys_strredir_h="#include <sys/strredir.h>"
16708else
16709 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16710fi
16711if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16712 include_sys_time_h="#include <sys/time.h>"
16713else
16714 include_sys_time_h="/* #include <sys/time.h> */"
16715fi
16716if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16717 include_time_h="#include <time.h>"
16718else
16719 include_time_h="/* #include <time.h> */"
16720fi 15690fi
16721 15691
16722if test x$support_xft = xyes; then 15692if test x$support_xft = xyes; then
16723 LIBS="$LIBS `pkg-config xft --libs`" 15693 LIBS="$LIBS `pkg-config xft --libs`"
16724 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 15694 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
16957#define XFT 1 15927#define XFT 1
16958_ACEOF 15928_ACEOF
16959 15929
16960 fi 15930 fi
16961fi 15931fi
15932if test x$support_styles = xyes; then
15933
15934cat >>confdefs.h <<\_ACEOF
15935#define ENABLE_STYLES 1
15936_ACEOF
15937
15938fi
15939if test x$support_iso14755 = xyes; then
15940
15941cat >>confdefs.h <<\_ACEOF
15942#define ISO_14755 1
15943_ACEOF
15944
15945fi
15946if test x$support_8bitctrls = xyes; then
15947
15948cat >>confdefs.h <<\_ACEOF
15949#define EIGHT_BIT_CONTROLS 1
15950_ACEOF
15951
15952fi
15953if test x$support_fading = xyes; then
15954
15955cat >>confdefs.h <<\_ACEOF
15956#define OFF_FOCUS_FADING 1
15957_ACEOF
15958
15959fi
15960if test x$support_tinting = xyes; then
15961
15962cat >>confdefs.h <<\_ACEOF
15963#define TINTING 1
15964_ACEOF
15965
15966fi
15967if test x$support_inheritpixmap = xyes; then
15968
15969cat >>confdefs.h <<\_ACEOF
15970#define TRANSPARENT 1
15971_ACEOF
15972
15973fi
15974if test x$support_keepscrolling = xno; then
15975
15976cat >>confdefs.h <<\_ACEOF
15977#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
15978_ACEOF
15979
15980fi
15981if test x$support_selectionscrolling = xyes; then
15982
15983cat >>confdefs.h <<\_ACEOF
15984#define SELECTION_SCROLLING 1
15985_ACEOF
15986
15987fi
15988if test x$support_menubar = xyes; then
15989
15990cat >>confdefs.h <<\_ACEOF
15991#define MENUBAR 1
15992_ACEOF
15993
15994fi
15995if test x$support_frills = xyes; then
15996
15997cat >>confdefs.h <<\_ACEOF
15998#define ENABLE_FRILLS 1
15999_ACEOF
16000
16001fi
16002if test x$support_linespace = xno; then
16003
16004cat >>confdefs.h <<\_ACEOF
16005#define NO_LINESPACE 1
16006_ACEOF
16007
16008fi
16009if test x$support_24bit = xyes; then
16010
16011cat >>confdefs.h <<\_ACEOF
16012#define PREFER_24BIT 1
16013_ACEOF
16014
16015fi
16016if test x$support_mousewheel = xyes; then
16017
16018cat >>confdefs.h <<\_ACEOF
16019#define MOUSE_WHEEL 1
16020_ACEOF
16021
16022fi
16023if test x$support_mouseslipwheel = xyes; then
16024
16025cat >>confdefs.h <<\_ACEOF
16026#define MOUSE_SLIP_WHEELING 1
16027_ACEOF
16028
16029fi
16030if test x$support_utmp = xyes; then
16031
16032cat >>confdefs.h <<\_ACEOF
16033#define UTMP_SUPPORT 1
16034_ACEOF
16035
16036fi
16037if test x$support_wtmp = xyes; then
16038
16039cat >>confdefs.h <<\_ACEOF
16040#define WTMP_SUPPORT 1
16041_ACEOF
16042
16043fi
16044if test x$support_lastlog = xyes; then
16045
16046cat >>confdefs.h <<\_ACEOF
16047#define LASTLOG_SUPPORT 1
16048_ACEOF
16049
16050fi
16051if test x$support_xim = xyes -o x$multichar_set = xyes; then
16052 if test x$rxvt_cv_func_xlocale = xyes; then
16053
16054cat >>confdefs.h <<\_ACEOF
16055#define USE_XIM 1
16056_ACEOF
16057
16058 fi
16059fi
16060if test x$support_xpm = xyes; then
16061
16062cat >>confdefs.h <<\_ACEOF
16063#define XPM_BACKGROUND 1
16064_ACEOF
16065
16066fi
16067if test x$support_scroll_rxvt = xyes; then
16068
16069cat >>confdefs.h <<\_ACEOF
16070#define RXVT_SCROLLBAR 1
16071_ACEOF
16072
16073 scrolltypes="rxvt"
16074fi
16075if test x$support_scroll_next = xyes; then
16076
16077cat >>confdefs.h <<\_ACEOF
16078#define NEXT_SCROLLBAR 1
16079_ACEOF
16080
16081 scrolltypes="$scrolltypes next"
16082fi
16083if test x$support_scroll_xterm = xyes; then
16084
16085cat >>confdefs.h <<\_ACEOF
16086#define XTERM_SCROLLBAR 1
16087_ACEOF
16088
16089 scrolltypes="$scrolltypes xterm"
16090fi
16091if test x$support_scroll_plain = xyes; then
16092
16093cat >>confdefs.h <<\_ACEOF
16094#define PLAIN_SCROLLBAR 1
16095_ACEOF
16096
16097 scrolltypes="$scrolltypes plain"
16098fi
16099if test x$support_pointer_blank = xyes; then
16100
16101cat >>confdefs.h <<\_ACEOF
16102#define POINTER_BLANK 1
16103_ACEOF
16104
16105fi
16106if test x$support_cursor_blink = xyes; then
16107
16108cat >>confdefs.h <<\_ACEOF
16109#define CURSOR_BLINK 1
16110_ACEOF
16111
16112fi
16113if test x$support_text_blink = xyes; then
16114
16115cat >>confdefs.h <<\_ACEOF
16116#define TEXT_BLINK 1
16117_ACEOF
16118
16119fi
16120if test x$support_unicode3 = xyes; then
16121
16122cat >>confdefs.h <<\_ACEOF
16123#define UNICODE_3 1
16124_ACEOF
16125
16126fi
16127if test x$support_combining = xyes; then
16128
16129cat >>confdefs.h <<\_ACEOF
16130#define ENABLE_COMBINING 1
16131_ACEOF
16132
16133fi
16134if test x$codesets = xall; then
16135 codesets=jp,jp-ext,kr,zh,zh-ext
16136fi
16137
16138cat >>confdefs.h <<\_ACEOF
16139#define ENCODING_EU 1
16140_ACEOF
16141
16142
16143cat >>confdefs.h <<\_ACEOF
16144#define ENCODING_VN 1
16145_ACEOF
16146
16147for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16148 case "$codeset" in
16149 JP )
16150cat >>confdefs.h <<\_ACEOF
16151#define ENCODING_JP 1
16152_ACEOF
16153 ;;
16154 JP_EXT )
16155cat >>confdefs.h <<\_ACEOF
16156#define ENCODING_JP_EXT 1
16157_ACEOF
16158 ;;
16159 KR )
16160cat >>confdefs.h <<\_ACEOF
16161#define ENCODING_KR 1
16162_ACEOF
16163 ;;
16164 ZH )
16165cat >>confdefs.h <<\_ACEOF
16166#define ENCODING_ZH 1
16167_ACEOF
16168 ;;
16169 ZH_EXT )
16170cat >>confdefs.h <<\_ACEOF
16171#define ENCODING_ZH_EXT 1
16172_ACEOF
16173 ;;
16174 esac
16175done
16176
16177
16178CFLAGS=${CFLAGS--O}
16179LDFLAGS=${LDFLAGS--O}
16180
16181CPPFLAGS="$CPPFLAGS"
16182
16183
16184
16185
16186
16187
16188
16189if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16190 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16191 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16192 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16193 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16194 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16195fi
16196
16197
16198
16199
16200
16201if test x$support_addstrings = xno; then
16202
16203cat >>confdefs.h <<\_ACEOF
16204#define NO_STRINGS 1
16205_ACEOF
16206
16207fi
16208
16209MCOMMON=./autoconf/Make.common
16210
16211
16212test "$program_prefix" != NONE &&
16213 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16214# Use a double $ so make ignores it.
16215test "$program_suffix" != NONE &&
16216 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16217# Double any \ or $. echo might interpret backslashes.
16218# By default was `s,x,x', remove it if useless.
16219cat <<\_ACEOF >conftest.sed
16220s/[\\$]/&&/g;s/;s,x,x,$//
16221_ACEOF
16222program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16223rm conftest.sed
16224
16225
16226
16227
16228
16229if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16230 include_stdint_h="#include <stdint.h>"
16231else
16232 include_stdint_h="/* #include <stdint.h> */"
16233fi
16234if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16235 include_stdarg_h="#include <cstdarg>"
16236else
16237 include_stdarg_h="/* #include <cstdarg> */"
16238fi
16239if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16240 include_stdlib_h="#include <cstdlib>"
16241else
16242 include_stdlib_h="/* #include <cstdlib> */"
16243fi
16244if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16245 include_unistd_h="#include <unistd.h>"
16246else
16247 include_unistd_h="/* #include <unistd.h> */"
16248fi
16249if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16250 include_string_h="#include <cstring>"
16251else
16252 include_string_h="/* #include <cstring> */"
16253fi
16254if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16255 include_fcntl_h="#include <fcntl.h>"
16256else
16257 include_fcntl_h="/* #include <fcntl.h> */"
16258fi
16259if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16260 include_util_h="#include <util.h>"
16261else
16262 include_util_h="/* #include <util.h> */"
16263fi
16264if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16265 include_assert_h="#include <assert.h>"
16266else
16267 include_assert_h="/* #include <assert.h> */"
16268fi
16269if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16270 include_sys_ioctl_h="#include <sys/ioctl.h>"
16271else
16272 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16273fi
16274if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16275 include_sys_select_h="#include <sys/select.h>"
16276else
16277 include_sys_select_h="/* #include <sys/select.h> */"
16278fi
16279if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16280 include_sys_strredir_h="#include <sys/strredir.h>"
16281else
16282 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16283fi
16284if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16285 include_sys_time_h="#include <sys/time.h>"
16286else
16287 include_sys_time_h="/* #include <sys/time.h> */"
16288fi
16289if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16290 include_time_h="#include <time.h>"
16291else
16292 include_time_h="/* #include <time.h> */"
16293fi
16962 16294
16963 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 16295 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
16296
16964cat >confcache <<\_ACEOF 16297cat >confcache <<\_ACEOF
16965# This file is a shell script that caches the results of configure 16298# This file is a shell script that caches the results of configure
16966# tests run on this system so they can be shared between configure 16299# tests run on this system so they can be shared between configure
16967# scripts and configure runs, see configure's option --config-cache. 16300# scripts and configure runs, see configure's option --config-cache.
16968# It is not useful on other systems. If it contains results you don't 16301# It is not useful on other systems. If it contains results you don't
17622s,@CP@,$CP,;t t 16955s,@CP@,$CP,;t t
17623s,@LN@,$LN,;t t 16956s,@LN@,$LN,;t t
17624s,@SED@,$SED,;t t 16957s,@SED@,$SED,;t t
17625s,@CMP@,$CMP,;t t 16958s,@CMP@,$CMP,;t t
17626s,@TBL@,$TBL,;t t 16959s,@TBL@,$TBL,;t t
16960s,@TIC@,$TIC,;t t
17627s,@X_CFLAGS@,$X_CFLAGS,;t t 16961s,@X_CFLAGS@,$X_CFLAGS,;t t
17628s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 16962s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17629s,@X_LIBS@,$X_LIBS,;t t 16963s,@X_LIBS@,$X_LIBS,;t t
17630s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 16964s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17631s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 16965s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines