… | |
… | |
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 | |
470 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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' |
470 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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' |
471 | ac_subst_files='MCOMMON' |
471 | ac_subst_files='MCOMMON' |
472 | |
472 | |
473 | # Initialize some variables set by options. |
473 | # Initialize some variables set by options. |
474 | ac_init_help= |
474 | ac_init_help= |
475 | ac_init_version=false |
475 | ac_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 |
… | |
… | |
1054 | --enable-xgetdefault enable resources via X instead of our small version |
1055 | --enable-xgetdefault enable resources via X instead of our small version |
1055 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1056 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1056 | --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) |
1057 | --enable-strings enable some replacement system functions |
1058 | --enable-strings enable some replacement system functions |
1058 | --disable-swapscreen disable swap screen support |
1059 | --disable-swapscreen disable swap screen support |
|
|
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
1059 | --enable-frills enable support for rarely used features |
1061 | --enable-frills enable support for rarely used features |
1060 | --enable-linespace enable support for linespace |
1062 | --enable-linespace enable support for linespace |
1061 | --enable-24bit enable support for using 24bit visuals if available |
1063 | --enable-24bit enable support for using 24bit visuals if available |
1062 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1064 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1063 | --enable-selectionscrolling enable scrolling during selections |
1065 | --enable-selectionscrolling enable scrolling during selections |
… | |
… | |
1065 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1067 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1066 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1068 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1067 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1069 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1068 | NOTE: enable only one malloc package |
1070 | NOTE: enable only one malloc package |
1069 | --enable-smart-resize enable smart growth/shrink behaviour |
1071 | --enable-smart-resize enable smart growth/shrink behaviour |
1070 | --enable-256-color enable 256-color support |
|
|
1071 | --enable-cursor-blink enable blinking cursor |
1072 | --enable-cursor-blink enable blinking cursor |
1072 | --enable-text-blink enable blinking text |
1073 | --enable-text-blink enable blinking text |
1073 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1074 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1074 | |
1075 | |
1075 | Optional Packages: |
1076 | Optional Packages: |
1076 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1077 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1077 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1078 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1078 | --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 |
1079 | --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 |
1080 | --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) |
1081 | --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) |
1082 | --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) |
1083 | --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) |
1084 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1085 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1085 | --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 |
… | |
… | |
5237 | # 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 |
5238 | # libtool support. |
5239 | # libtool support. |
5239 | case "$host" in |
5240 | case "$host" in |
5240 | *-*-irix6*) |
5241 | *-*-irix6*) |
5241 | # Find out which ABI we are using. |
5242 | # Find out which ABI we are using. |
5242 | echo '#line 5242 "configure"' > conftest.$ac_ext |
5243 | echo '#line 5243 "configure"' > conftest.$ac_ext |
5243 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5244 | (eval $ac_compile) 2>&5 |
5245 | (eval $ac_compile) 2>&5 |
5245 | ac_status=$? |
5246 | ac_status=$? |
5246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 | (exit $ac_status); }; then |
5248 | (exit $ac_status); }; then |
… | |
… | |
5788 | # builds. |
5789 | # builds. |
5789 | chmod -w . |
5790 | chmod -w . |
5790 | save_CFLAGS="$CFLAGS" |
5791 | save_CFLAGS="$CFLAGS" |
5791 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5792 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5792 | compiler_c_o=no |
5793 | compiler_c_o=no |
5793 | if { (eval echo configure:5793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5794 | if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5794 | # 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 |
5795 | # So say no if there are warnings |
5796 | # So say no if there are warnings |
5796 | if test -s out/conftest.err; then |
5797 | if test -s out/conftest.err; then |
5797 | compiler_c_o=no |
5798 | compiler_c_o=no |
5798 | else |
5799 | else |
… | |
… | |
7404 | lt_cv_dlopen_self=cross |
7405 | lt_cv_dlopen_self=cross |
7405 | else |
7406 | else |
7406 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7407 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7407 | lt_status=$lt_dlunknown |
7408 | lt_status=$lt_dlunknown |
7408 | cat > conftest.$ac_ext <<EOF |
7409 | cat > conftest.$ac_ext <<EOF |
7409 | #line 7409 "configure" |
7410 | #line 7410 "configure" |
7410 | #include "confdefs.h" |
7411 | #include "confdefs.h" |
7411 | |
7412 | |
7412 | #if HAVE_DLFCN_H |
7413 | #if HAVE_DLFCN_H |
7413 | #include <dlfcn.h> |
7414 | #include <dlfcn.h> |
7414 | #endif |
7415 | #endif |
… | |
… | |
7502 | lt_cv_dlopen_self_static=cross |
7503 | lt_cv_dlopen_self_static=cross |
7503 | else |
7504 | else |
7504 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7505 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7505 | lt_status=$lt_dlunknown |
7506 | lt_status=$lt_dlunknown |
7506 | cat > conftest.$ac_ext <<EOF |
7507 | cat > conftest.$ac_ext <<EOF |
7507 | #line 7507 "configure" |
7508 | #line 7508 "configure" |
7508 | #include "confdefs.h" |
7509 | #include "confdefs.h" |
7509 | |
7510 | |
7510 | #if HAVE_DLFCN_H |
7511 | #if HAVE_DLFCN_H |
7511 | #include <dlfcn.h> |
7512 | #include <dlfcn.h> |
7512 | #endif |
7513 | #endif |
… | |
… | |
8258 | support_xpm=no |
8259 | support_xpm=no |
8259 | support_xft=no |
8260 | support_xft=no |
8260 | support_unicode3=no |
8261 | support_unicode3=no |
8261 | support_combining=no |
8262 | support_combining=no |
8262 | support_8bitctrls=no |
8263 | support_8bitctrls=no |
|
|
8264 | support_iso14755=no |
|
|
8265 | support_styles=no |
8263 | codesets= |
8266 | codesets= |
8264 | |
8267 | |
8265 | |
8268 | |
8266 | if test "x$enable_shared" = xyes; then |
8269 | if test "x$enable_shared" = xyes; then |
8267 | |
8270 | |
… | |
… | |
8302 | support_xpm=yes |
8305 | support_xpm=yes |
8303 | support_xft=yes |
8306 | support_xft=yes |
8304 | support_unicode3=yes |
8307 | support_unicode3=yes |
8305 | support_combining=yes |
8308 | support_combining=yes |
8306 | #support_8bitctrls=yes |
8309 | #support_8bitctrls=yes |
|
|
8310 | support_iso14755=yes |
|
|
8311 | support_styles=yes |
8307 | codesets=all |
8312 | codesets=all |
8308 | fi |
8313 | fi |
8309 | fi; |
8314 | fi; |
8310 | |
8315 | |
8311 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8316 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8312 | if test "${enable_unicode3+set}" = set; then |
8317 | if test "${enable_unicode3+set}" = set; then |
8313 | enableval="$enable_unicode3" |
8318 | enableval="$enable_unicode3" |
8314 | if test x$enableval = xyes -o x$enableval = xno; then |
8319 | if test x$enableval = xyes -o x$enableval = xno; then |
8315 | support_unicode3=yes |
8320 | support_unicode3=$enableval |
8316 | fi |
8321 | fi |
8317 | fi; |
8322 | fi; |
8318 | |
8323 | |
8319 | # Check whether --enable-combining or --disable-combining was given. |
8324 | # Check whether --enable-combining or --disable-combining was given. |
8320 | if test "${enable_combining+set}" = set; then |
8325 | if test "${enable_combining+set}" = set; then |
8321 | enableval="$enable_combining" |
8326 | enableval="$enable_combining" |
8322 | if test x$enableval = xyes -o x$enableval = xno; then |
8327 | if test x$enableval = xyes -o x$enableval = xno; then |
8323 | support_combining=yes |
8328 | support_combining=$enableval |
8324 | fi |
8329 | fi |
8325 | fi; |
8330 | fi; |
8326 | |
8331 | |
8327 | # Check whether --enable-xft or --disable-xft was given. |
8332 | # Check whether --enable-xft or --disable-xft was given. |
8328 | if test "${enable_xft+set}" = set; then |
8333 | if test "${enable_xft+set}" = set; then |
8329 | enableval="$enable_xft" |
8334 | enableval="$enable_xft" |
8330 | if test x$enableval = xyes -o x$enableval = xno; then |
8335 | if test x$enableval = xyes -o x$enableval = xno; then |
8331 | support_xft=yes |
8336 | support_xft=$enableval |
|
|
8337 | fi |
|
|
8338 | fi; |
|
|
8339 | |
|
|
8340 | # Check whether --enable-font-styles or --disable-font-styles was given. |
|
|
8341 | if 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 |
8332 | fi |
8345 | fi |
8333 | fi; |
8346 | fi; |
8334 | |
8347 | |
8335 | # Check whether --enable-utmp or --disable-utmp was given. |
8348 | # Check whether --enable-utmp or --disable-utmp was given. |
8336 | if test "${enable_utmp+set}" = set; then |
8349 | if test "${enable_utmp+set}" = set; then |
… | |
… | |
8517 | |
8530 | |
8518 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
8531 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
8519 | if test "${enable_8bitctrls+set}" = set; then |
8532 | if test "${enable_8bitctrls+set}" = set; then |
8520 | enableval="$enable_8bitctrls" |
8533 | enableval="$enable_8bitctrls" |
8521 | if test x$enableval = xyes -o x$enableval = xno; then |
8534 | if test x$enableval = xyes -o x$enableval = xno; then |
8522 | support_8bitctrls=yes |
8535 | support_8bitctrls=$enableval |
8523 | fi |
8536 | fi |
8524 | fi; |
8537 | fi; |
8525 | |
8538 | |
8526 | RESFALLBACK=Rxvt |
8539 | RESFALLBACK=Rxvt |
8527 | # Check whether --enable-fallback or --disable-fallback was given. |
8540 | # Check whether --enable-fallback or --disable-fallback was given. |
… | |
… | |
8573 | # Check whether --with-name or --without-name was given. |
8586 | # Check whether --with-name or --without-name was given. |
8574 | if test "${with_name+set}" = set; then |
8587 | if test "${with_name+set}" = set; then |
8575 | withval="$with_name" |
8588 | withval="$with_name" |
8576 | RXVTNAME="$withval" |
8589 | RXVTNAME="$withval" |
8577 | fi; |
8590 | fi; |
|
|
8591 | |
|
|
8592 | cat >>confdefs.h <<_ACEOF |
|
|
8593 | #define RXVTNAME "$RXVTNAME" |
|
|
8594 | _ACEOF |
|
|
8595 | |
8578 | |
8596 | |
8579 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8597 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8580 | |
8598 | |
8581 | |
8599 | |
8582 | # Check whether --enable-strings or --disable-strings was given. |
8600 | # Check whether --enable-strings or --disable-strings was given. |
… | |
… | |
8594 | |
8612 | |
8595 | cat >>confdefs.h <<\_ACEOF |
8613 | cat >>confdefs.h <<\_ACEOF |
8596 | #define NO_SECONDARY_SCREEN 1 |
8614 | #define NO_SECONDARY_SCREEN 1 |
8597 | _ACEOF |
8615 | _ACEOF |
8598 | |
8616 | |
|
|
8617 | fi |
|
|
8618 | fi; |
|
|
8619 | |
|
|
8620 | # Check whether --enable-iso14755 or --disable-iso14755 was given. |
|
|
8621 | if 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 |
8599 | fi |
8625 | fi |
8600 | fi; |
8626 | fi; |
8601 | |
8627 | |
8602 | # Check whether --enable-frills or --disable-frills was given. |
8628 | # Check whether --enable-frills or --disable-frills was given. |
8603 | if test "${enable_frills+set}" = set; then |
8629 | if test "${enable_frills+set}" = set; then |
… | |
… | |
8682 | enableval="$enable_smart_resize" |
8708 | enableval="$enable_smart_resize" |
8683 | if test x$enableval = xyes; then |
8709 | if test x$enableval = xyes; then |
8684 | |
8710 | |
8685 | cat >>confdefs.h <<\_ACEOF |
8711 | cat >>confdefs.h <<\_ACEOF |
8686 | #define SMART_RESIZE 1 |
8712 | #define SMART_RESIZE 1 |
8687 | _ACEOF |
|
|
8688 | |
|
|
8689 | fi |
|
|
8690 | fi; |
|
|
8691 | |
|
|
8692 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8693 | if test "${enable_256_color+set}" = set; then |
|
|
8694 | enableval="$enable_256_color" |
|
|
8695 | if test x$enableval = xyes; then |
|
|
8696 | |
|
|
8697 | cat >>confdefs.h <<\_ACEOF |
|
|
8698 | #define TTY_256COLOR 1 |
|
|
8699 | _ACEOF |
8713 | _ACEOF |
8700 | |
8714 | |
8701 | fi |
8715 | fi |
8702 | fi; |
8716 | fi; |
8703 | |
8717 | |
… | |
… | |
9077 | TBL=$ac_cv_path_TBL |
9091 | TBL=$ac_cv_path_TBL |
9078 | |
9092 | |
9079 | if test -n "$TBL"; then |
9093 | if test -n "$TBL"; then |
9080 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9094 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9081 | echo "${ECHO_T}$TBL" >&6 |
9095 | echo "${ECHO_T}$TBL" >&6 |
|
|
9096 | else |
|
|
9097 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
9098 | echo "${ECHO_T}no" >&6 |
|
|
9099 | fi |
|
|
9100 | |
|
|
9101 | # Extract the first word of "tic", so it can be a program name with args. |
|
|
9102 | set dummy tic; ac_word=$2 |
|
|
9103 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
9104 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
9105 | if test "${ac_cv_path_TIC+set}" = set; then |
|
|
9106 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9107 | else |
|
|
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 |
|
|
9114 | for as_dir in $PATH |
|
|
9115 | do |
|
|
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 |
|
|
9124 | done |
|
|
9125 | done |
|
|
9126 | |
|
|
9127 | ;; |
|
|
9128 | esac |
|
|
9129 | fi |
|
|
9130 | TIC=$ac_cv_path_TIC |
|
|
9131 | |
|
|
9132 | if test -n "$TIC"; then |
|
|
9133 | echo "$as_me:$LINENO: result: $TIC" >&5 |
|
|
9134 | echo "${ECHO_T}$TIC" >&6 |
9082 | else |
9135 | else |
9083 | echo "$as_me:$LINENO: result: no" >&5 |
9136 | echo "$as_me:$LINENO: result: no" >&5 |
9084 | echo "${ECHO_T}no" >&6 |
9137 | echo "${ECHO_T}no" >&6 |
9085 | fi |
9138 | fi |
9086 | |
9139 | |
… | |
… | |
10912 | |
10965 | |
10913 | |
10966 | |
10914 | |
10967 | |
10915 | |
10968 | |
10916 | |
10969 | |
|
|
10970 | |
10917 | for ac_header in \ |
10971 | for ac_header in \ |
10918 | assert.h \ |
10972 | assert.h \ |
10919 | fcntl.h \ |
10973 | fcntl.h \ |
10920 | grp.h \ |
10974 | grp.h \ |
10921 | libc.h \ |
10975 | libc.h \ |
… | |
… | |
10928 | sys/byteorder.h \ |
10982 | sys/byteorder.h \ |
10929 | sys/ioctl.h \ |
10983 | sys/ioctl.h \ |
10930 | sys/select.h \ |
10984 | sys/select.h \ |
10931 | sys/sockio.h \ |
10985 | sys/sockio.h \ |
10932 | sys/strredir.h \ |
10986 | sys/strredir.h \ |
|
|
10987 | sys/stropts.h \ |
10933 | sys/time.h \ |
10988 | sys/time.h \ |
10934 | utmp.h \ |
10989 | utmp.h \ |
10935 | utmpx.h \ |
10990 | utmpx.h \ |
10936 | stdint.h \ |
10991 | stdint.h \ |
10937 | |
10992 | |
… | |
… | |
11725 | _ACEOF |
11780 | _ACEOF |
11726 | |
11781 | |
11727 | fi |
11782 | fi |
11728 | |
11783 | |
11729 | |
11784 | |
11730 | |
|
|
11731 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11732 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11733 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11734 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11735 | else |
|
|
11736 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11737 | /* confdefs.h. */ |
|
|
11738 | _ACEOF |
|
|
11739 | cat confdefs.h >>conftest.$ac_ext |
|
|
11740 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11741 | /* end confdefs.h. */ |
|
|
11742 | $ac_includes_default |
|
|
11743 | int |
|
|
11744 | main () |
|
|
11745 | { |
|
|
11746 | if ((char *) 0) |
|
|
11747 | return 0; |
|
|
11748 | if (sizeof (char)) |
|
|
11749 | return 0; |
|
|
11750 | ; |
|
|
11751 | return 0; |
|
|
11752 | } |
|
|
11753 | _ACEOF |
|
|
11754 | rm -f conftest.$ac_objext |
|
|
11755 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11756 | (eval $ac_compile) 2>conftest.er1 |
|
|
11757 | ac_status=$? |
|
|
11758 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11759 | rm -f conftest.er1 |
|
|
11760 | cat conftest.err >&5 |
|
|
11761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11762 | (exit $ac_status); } && |
|
|
11763 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11765 | (eval $ac_try) 2>&5 |
|
|
11766 | ac_status=$? |
|
|
11767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11768 | (exit $ac_status); }; } && |
|
|
11769 | { ac_try='test -s conftest.$ac_objext' |
|
|
11770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11771 | (eval $ac_try) 2>&5 |
|
|
11772 | ac_status=$? |
|
|
11773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11774 | (exit $ac_status); }; }; then |
|
|
11775 | ac_cv_type_char=yes |
|
|
11776 | else |
|
|
11777 | echo "$as_me: failed program was:" >&5 |
|
|
11778 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11779 | |
|
|
11780 | ac_cv_type_char=no |
|
|
11781 | fi |
|
|
11782 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11783 | fi |
|
|
11784 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11785 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11786 | |
|
|
11787 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11788 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11789 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11790 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11791 | else |
|
|
11792 | if test "$ac_cv_type_char" = yes; then |
|
|
11793 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11794 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11795 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11796 | # This bug is HP SR number 8606223364. |
|
|
11797 | if test "$cross_compiling" = yes; then |
|
|
11798 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11799 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11800 | /* confdefs.h. */ |
|
|
11801 | _ACEOF |
|
|
11802 | cat confdefs.h >>conftest.$ac_ext |
|
|
11803 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11804 | /* end confdefs.h. */ |
|
|
11805 | $ac_includes_default |
|
|
11806 | int |
|
|
11807 | main () |
|
|
11808 | { |
|
|
11809 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11810 | test_array [0] = 0 |
|
|
11811 | |
|
|
11812 | ; |
|
|
11813 | return 0; |
|
|
11814 | } |
|
|
11815 | _ACEOF |
|
|
11816 | rm -f conftest.$ac_objext |
|
|
11817 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11818 | (eval $ac_compile) 2>conftest.er1 |
|
|
11819 | ac_status=$? |
|
|
11820 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11821 | rm -f conftest.er1 |
|
|
11822 | cat conftest.err >&5 |
|
|
11823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11824 | (exit $ac_status); } && |
|
|
11825 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11827 | (eval $ac_try) 2>&5 |
|
|
11828 | ac_status=$? |
|
|
11829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11830 | (exit $ac_status); }; } && |
|
|
11831 | { ac_try='test -s conftest.$ac_objext' |
|
|
11832 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11833 | (eval $ac_try) 2>&5 |
|
|
11834 | ac_status=$? |
|
|
11835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11836 | (exit $ac_status); }; }; then |
|
|
11837 | ac_lo=0 ac_mid=0 |
|
|
11838 | while :; do |
|
|
11839 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11840 | /* confdefs.h. */ |
|
|
11841 | _ACEOF |
|
|
11842 | cat confdefs.h >>conftest.$ac_ext |
|
|
11843 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11844 | /* end confdefs.h. */ |
|
|
11845 | $ac_includes_default |
|
|
11846 | int |
|
|
11847 | main () |
|
|
11848 | { |
|
|
11849 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11850 | test_array [0] = 0 |
|
|
11851 | |
|
|
11852 | ; |
|
|
11853 | return 0; |
|
|
11854 | } |
|
|
11855 | _ACEOF |
|
|
11856 | rm -f conftest.$ac_objext |
|
|
11857 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11858 | (eval $ac_compile) 2>conftest.er1 |
|
|
11859 | ac_status=$? |
|
|
11860 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11861 | rm -f conftest.er1 |
|
|
11862 | cat conftest.err >&5 |
|
|
11863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11864 | (exit $ac_status); } && |
|
|
11865 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11866 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11867 | (eval $ac_try) 2>&5 |
|
|
11868 | ac_status=$? |
|
|
11869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11870 | (exit $ac_status); }; } && |
|
|
11871 | { ac_try='test -s conftest.$ac_objext' |
|
|
11872 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11873 | (eval $ac_try) 2>&5 |
|
|
11874 | ac_status=$? |
|
|
11875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11876 | (exit $ac_status); }; }; then |
|
|
11877 | ac_hi=$ac_mid; break |
|
|
11878 | else |
|
|
11879 | echo "$as_me: failed program was:" >&5 |
|
|
11880 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11881 | |
|
|
11882 | ac_lo=`expr $ac_mid + 1` |
|
|
11883 | if test $ac_lo -le $ac_mid; then |
|
|
11884 | ac_lo= ac_hi= |
|
|
11885 | break |
|
|
11886 | fi |
|
|
11887 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11888 | fi |
|
|
11889 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11890 | done |
|
|
11891 | else |
|
|
11892 | echo "$as_me: failed program was:" >&5 |
|
|
11893 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11894 | |
|
|
11895 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11896 | /* confdefs.h. */ |
|
|
11897 | _ACEOF |
|
|
11898 | cat confdefs.h >>conftest.$ac_ext |
|
|
11899 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11900 | /* end confdefs.h. */ |
|
|
11901 | $ac_includes_default |
|
|
11902 | int |
|
|
11903 | main () |
|
|
11904 | { |
|
|
11905 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11906 | test_array [0] = 0 |
|
|
11907 | |
|
|
11908 | ; |
|
|
11909 | return 0; |
|
|
11910 | } |
|
|
11911 | _ACEOF |
|
|
11912 | rm -f conftest.$ac_objext |
|
|
11913 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11914 | (eval $ac_compile) 2>conftest.er1 |
|
|
11915 | ac_status=$? |
|
|
11916 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11917 | rm -f conftest.er1 |
|
|
11918 | cat conftest.err >&5 |
|
|
11919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11920 | (exit $ac_status); } && |
|
|
11921 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11923 | (eval $ac_try) 2>&5 |
|
|
11924 | ac_status=$? |
|
|
11925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11926 | (exit $ac_status); }; } && |
|
|
11927 | { ac_try='test -s conftest.$ac_objext' |
|
|
11928 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11929 | (eval $ac_try) 2>&5 |
|
|
11930 | ac_status=$? |
|
|
11931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11932 | (exit $ac_status); }; }; then |
|
|
11933 | ac_hi=-1 ac_mid=-1 |
|
|
11934 | while :; do |
|
|
11935 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11936 | /* confdefs.h. */ |
|
|
11937 | _ACEOF |
|
|
11938 | cat confdefs.h >>conftest.$ac_ext |
|
|
11939 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11940 | /* end confdefs.h. */ |
|
|
11941 | $ac_includes_default |
|
|
11942 | int |
|
|
11943 | main () |
|
|
11944 | { |
|
|
11945 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11946 | test_array [0] = 0 |
|
|
11947 | |
|
|
11948 | ; |
|
|
11949 | return 0; |
|
|
11950 | } |
|
|
11951 | _ACEOF |
|
|
11952 | rm -f conftest.$ac_objext |
|
|
11953 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11954 | (eval $ac_compile) 2>conftest.er1 |
|
|
11955 | ac_status=$? |
|
|
11956 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11957 | rm -f conftest.er1 |
|
|
11958 | cat conftest.err >&5 |
|
|
11959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11960 | (exit $ac_status); } && |
|
|
11961 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11963 | (eval $ac_try) 2>&5 |
|
|
11964 | ac_status=$? |
|
|
11965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11966 | (exit $ac_status); }; } && |
|
|
11967 | { ac_try='test -s conftest.$ac_objext' |
|
|
11968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11969 | (eval $ac_try) 2>&5 |
|
|
11970 | ac_status=$? |
|
|
11971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11972 | (exit $ac_status); }; }; then |
|
|
11973 | ac_lo=$ac_mid; break |
|
|
11974 | else |
|
|
11975 | echo "$as_me: failed program was:" >&5 |
|
|
11976 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11977 | |
|
|
11978 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11979 | if test $ac_mid -le $ac_hi; then |
|
|
11980 | ac_lo= ac_hi= |
|
|
11981 | break |
|
|
11982 | fi |
|
|
11983 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11984 | fi |
|
|
11985 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11986 | done |
|
|
11987 | else |
|
|
11988 | echo "$as_me: failed program was:" >&5 |
|
|
11989 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11990 | |
|
|
11991 | ac_lo= ac_hi= |
|
|
11992 | fi |
|
|
11993 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11994 | fi |
|
|
11995 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11996 | # Binary search between lo and hi bounds. |
|
|
11997 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11998 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11999 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12000 | /* confdefs.h. */ |
|
|
12001 | _ACEOF |
|
|
12002 | cat confdefs.h >>conftest.$ac_ext |
|
|
12003 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12004 | /* end confdefs.h. */ |
|
|
12005 | $ac_includes_default |
|
|
12006 | int |
|
|
12007 | main () |
|
|
12008 | { |
|
|
12009 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
12010 | test_array [0] = 0 |
|
|
12011 | |
|
|
12012 | ; |
|
|
12013 | return 0; |
|
|
12014 | } |
|
|
12015 | _ACEOF |
|
|
12016 | rm -f conftest.$ac_objext |
|
|
12017 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12018 | (eval $ac_compile) 2>conftest.er1 |
|
|
12019 | ac_status=$? |
|
|
12020 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12021 | rm -f conftest.er1 |
|
|
12022 | cat conftest.err >&5 |
|
|
12023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12024 | (exit $ac_status); } && |
|
|
12025 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12026 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12027 | (eval $ac_try) 2>&5 |
|
|
12028 | ac_status=$? |
|
|
12029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12030 | (exit $ac_status); }; } && |
|
|
12031 | { ac_try='test -s conftest.$ac_objext' |
|
|
12032 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12033 | (eval $ac_try) 2>&5 |
|
|
12034 | ac_status=$? |
|
|
12035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12036 | (exit $ac_status); }; }; then |
|
|
12037 | ac_hi=$ac_mid |
|
|
12038 | else |
|
|
12039 | echo "$as_me: failed program was:" >&5 |
|
|
12040 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12041 | |
|
|
12042 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
12043 | fi |
|
|
12044 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12045 | done |
|
|
12046 | case $ac_lo in |
|
|
12047 | ?*) ac_cv_sizeof_char=$ac_lo;; |
|
|
12048 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
12049 | See \`config.log' for more details." >&5 |
|
|
12050 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
12051 | See \`config.log' for more details." >&2;} |
|
|
12052 | { (exit 1); exit 1; }; } ;; |
|
|
12053 | esac |
|
|
12054 | else |
|
|
12055 | if test "$cross_compiling" = yes; then |
|
|
12056 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
12057 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
12058 | { (exit 1); exit 1; }; } |
|
|
12059 | else |
|
|
12060 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12061 | /* confdefs.h. */ |
|
|
12062 | _ACEOF |
|
|
12063 | cat confdefs.h >>conftest.$ac_ext |
|
|
12064 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12065 | /* end confdefs.h. */ |
|
|
12066 | $ac_includes_default |
|
|
12067 | long longval () { return (long) (sizeof (char)); } |
|
|
12068 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
12069 | #include <stdio.h> |
|
|
12070 | #include <stdlib.h> |
|
|
12071 | int |
|
|
12072 | main () |
|
|
12073 | { |
|
|
12074 | |
|
|
12075 | FILE *f = fopen ("conftest.val", "w"); |
|
|
12076 | if (! f) |
|
|
12077 | exit (1); |
|
|
12078 | if (((long) (sizeof (char))) < 0) |
|
|
12079 | { |
|
|
12080 | long i = longval (); |
|
|
12081 | if (i != ((long) (sizeof (char)))) |
|
|
12082 | exit (1); |
|
|
12083 | fprintf (f, "%ld\n", i); |
|
|
12084 | } |
|
|
12085 | else |
|
|
12086 | { |
|
|
12087 | unsigned long i = ulongval (); |
|
|
12088 | if (i != ((long) (sizeof (char)))) |
|
|
12089 | exit (1); |
|
|
12090 | fprintf (f, "%lu\n", i); |
|
|
12091 | } |
|
|
12092 | exit (ferror (f) || fclose (f) != 0); |
|
|
12093 | |
|
|
12094 | ; |
|
|
12095 | return 0; |
|
|
12096 | } |
|
|
12097 | _ACEOF |
|
|
12098 | rm -f conftest$ac_exeext |
|
|
12099 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12100 | (eval $ac_link) 2>&5 |
|
|
12101 | ac_status=$? |
|
|
12102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12103 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12104 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12105 | (eval $ac_try) 2>&5 |
|
|
12106 | ac_status=$? |
|
|
12107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12108 | (exit $ac_status); }; }; then |
|
|
12109 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
12110 | else |
|
|
12111 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12112 | echo "$as_me: failed program was:" >&5 |
|
|
12113 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12114 | |
|
|
12115 | ( exit $ac_status ) |
|
|
12116 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
12117 | See \`config.log' for more details." >&5 |
|
|
12118 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
12119 | See \`config.log' for more details." >&2;} |
|
|
12120 | { (exit 1); exit 1; }; } |
|
|
12121 | fi |
|
|
12122 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12123 | fi |
|
|
12124 | fi |
|
|
12125 | rm -f conftest.val |
|
|
12126 | else |
|
|
12127 | ac_cv_sizeof_char=0 |
|
|
12128 | fi |
|
|
12129 | fi |
|
|
12130 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
12131 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
12132 | cat >>confdefs.h <<_ACEOF |
|
|
12133 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
12134 | _ACEOF |
|
|
12135 | |
|
|
12136 | |
|
|
12137 | echo "$as_me:$LINENO: checking for short" >&5 |
11785 | echo "$as_me:$LINENO: checking for short" >&5 |
12138 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11786 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
12139 | if test "${ac_cv_type_short+set}" = set; then |
11787 | if test "${ac_cv_type_short+set}" = set; then |
12140 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11788 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12141 | else |
11789 | else |
… | |
… | |
12941 | fi |
12589 | fi |
12942 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12590 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12943 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12591 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12944 | cat >>confdefs.h <<_ACEOF |
12592 | cat >>confdefs.h <<_ACEOF |
12945 | #define SIZEOF_INT $ac_cv_sizeof_int |
12593 | #define SIZEOF_INT $ac_cv_sizeof_int |
12946 | _ACEOF |
|
|
12947 | |
|
|
12948 | |
|
|
12949 | echo "$as_me:$LINENO: checking for long" >&5 |
|
|
12950 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
|
|
12951 | if test "${ac_cv_type_long+set}" = set; then |
|
|
12952 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12953 | else |
|
|
12954 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12955 | /* confdefs.h. */ |
|
|
12956 | _ACEOF |
|
|
12957 | cat confdefs.h >>conftest.$ac_ext |
|
|
12958 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12959 | /* end confdefs.h. */ |
|
|
12960 | $ac_includes_default |
|
|
12961 | int |
|
|
12962 | main () |
|
|
12963 | { |
|
|
12964 | if ((long *) 0) |
|
|
12965 | return 0; |
|
|
12966 | if (sizeof (long)) |
|
|
12967 | return 0; |
|
|
12968 | ; |
|
|
12969 | return 0; |
|
|
12970 | } |
|
|
12971 | _ACEOF |
|
|
12972 | rm -f conftest.$ac_objext |
|
|
12973 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12974 | (eval $ac_compile) 2>conftest.er1 |
|
|
12975 | ac_status=$? |
|
|
12976 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12977 | rm -f conftest.er1 |
|
|
12978 | cat conftest.err >&5 |
|
|
12979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12980 | (exit $ac_status); } && |
|
|
12981 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12982 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12983 | (eval $ac_try) 2>&5 |
|
|
12984 | ac_status=$? |
|
|
12985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12986 | (exit $ac_status); }; } && |
|
|
12987 | { ac_try='test -s conftest.$ac_objext' |
|
|
12988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12989 | (eval $ac_try) 2>&5 |
|
|
12990 | ac_status=$? |
|
|
12991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12992 | (exit $ac_status); }; }; then |
|
|
12993 | ac_cv_type_long=yes |
|
|
12994 | else |
|
|
12995 | echo "$as_me: failed program was:" >&5 |
|
|
12996 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12997 | |
|
|
12998 | ac_cv_type_long=no |
|
|
12999 | fi |
|
|
13000 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13001 | fi |
|
|
13002 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
13003 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
13004 | |
|
|
13005 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
13006 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
13007 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
13008 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13009 | else |
|
|
13010 | if test "$ac_cv_type_long" = yes; then |
|
|
13011 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
13012 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
13013 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
13014 | # This bug is HP SR number 8606223364. |
|
|
13015 | if test "$cross_compiling" = yes; then |
|
|
13016 | # Depending upon the size, compute the lo and hi bounds. |
|
|
13017 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13018 | /* confdefs.h. */ |
|
|
13019 | _ACEOF |
|
|
13020 | cat confdefs.h >>conftest.$ac_ext |
|
|
13021 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13022 | /* end confdefs.h. */ |
|
|
13023 | $ac_includes_default |
|
|
13024 | int |
|
|
13025 | main () |
|
|
13026 | { |
|
|
13027 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
13028 | test_array [0] = 0 |
|
|
13029 | |
|
|
13030 | ; |
|
|
13031 | return 0; |
|
|
13032 | } |
|
|
13033 | _ACEOF |
|
|
13034 | rm -f conftest.$ac_objext |
|
|
13035 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13036 | (eval $ac_compile) 2>conftest.er1 |
|
|
13037 | ac_status=$? |
|
|
13038 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13039 | rm -f conftest.er1 |
|
|
13040 | cat conftest.err >&5 |
|
|
13041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13042 | (exit $ac_status); } && |
|
|
13043 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13044 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13045 | (eval $ac_try) 2>&5 |
|
|
13046 | ac_status=$? |
|
|
13047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13048 | (exit $ac_status); }; } && |
|
|
13049 | { ac_try='test -s conftest.$ac_objext' |
|
|
13050 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13051 | (eval $ac_try) 2>&5 |
|
|
13052 | ac_status=$? |
|
|
13053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13054 | (exit $ac_status); }; }; then |
|
|
13055 | ac_lo=0 ac_mid=0 |
|
|
13056 | while :; do |
|
|
13057 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13058 | /* confdefs.h. */ |
|
|
13059 | _ACEOF |
|
|
13060 | cat confdefs.h >>conftest.$ac_ext |
|
|
13061 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13062 | /* end confdefs.h. */ |
|
|
13063 | $ac_includes_default |
|
|
13064 | int |
|
|
13065 | main () |
|
|
13066 | { |
|
|
13067 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
13068 | test_array [0] = 0 |
|
|
13069 | |
|
|
13070 | ; |
|
|
13071 | return 0; |
|
|
13072 | } |
|
|
13073 | _ACEOF |
|
|
13074 | rm -f conftest.$ac_objext |
|
|
13075 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13076 | (eval $ac_compile) 2>conftest.er1 |
|
|
13077 | ac_status=$? |
|
|
13078 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13079 | rm -f conftest.er1 |
|
|
13080 | cat conftest.err >&5 |
|
|
13081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13082 | (exit $ac_status); } && |
|
|
13083 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13084 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13085 | (eval $ac_try) 2>&5 |
|
|
13086 | ac_status=$? |
|
|
13087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13088 | (exit $ac_status); }; } && |
|
|
13089 | { ac_try='test -s conftest.$ac_objext' |
|
|
13090 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13091 | (eval $ac_try) 2>&5 |
|
|
13092 | ac_status=$? |
|
|
13093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13094 | (exit $ac_status); }; }; then |
|
|
13095 | ac_hi=$ac_mid; break |
|
|
13096 | else |
|
|
13097 | echo "$as_me: failed program was:" >&5 |
|
|
13098 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13099 | |
|
|
13100 | ac_lo=`expr $ac_mid + 1` |
|
|
13101 | if test $ac_lo -le $ac_mid; then |
|
|
13102 | ac_lo= ac_hi= |
|
|
13103 | break |
|
|
13104 | fi |
|
|
13105 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
13106 | fi |
|
|
13107 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13108 | done |
|
|
13109 | else |
|
|
13110 | echo "$as_me: failed program was:" >&5 |
|
|
13111 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13112 | |
|
|
13113 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13114 | /* confdefs.h. */ |
|
|
13115 | _ACEOF |
|
|
13116 | cat confdefs.h >>conftest.$ac_ext |
|
|
13117 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13118 | /* end confdefs.h. */ |
|
|
13119 | $ac_includes_default |
|
|
13120 | int |
|
|
13121 | main () |
|
|
13122 | { |
|
|
13123 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
13124 | test_array [0] = 0 |
|
|
13125 | |
|
|
13126 | ; |
|
|
13127 | return 0; |
|
|
13128 | } |
|
|
13129 | _ACEOF |
|
|
13130 | rm -f conftest.$ac_objext |
|
|
13131 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13132 | (eval $ac_compile) 2>conftest.er1 |
|
|
13133 | ac_status=$? |
|
|
13134 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13135 | rm -f conftest.er1 |
|
|
13136 | cat conftest.err >&5 |
|
|
13137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13138 | (exit $ac_status); } && |
|
|
13139 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13140 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13141 | (eval $ac_try) 2>&5 |
|
|
13142 | ac_status=$? |
|
|
13143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13144 | (exit $ac_status); }; } && |
|
|
13145 | { ac_try='test -s conftest.$ac_objext' |
|
|
13146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13147 | (eval $ac_try) 2>&5 |
|
|
13148 | ac_status=$? |
|
|
13149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13150 | (exit $ac_status); }; }; then |
|
|
13151 | ac_hi=-1 ac_mid=-1 |
|
|
13152 | while :; do |
|
|
13153 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13154 | /* confdefs.h. */ |
|
|
13155 | _ACEOF |
|
|
13156 | cat confdefs.h >>conftest.$ac_ext |
|
|
13157 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13158 | /* end confdefs.h. */ |
|
|
13159 | $ac_includes_default |
|
|
13160 | int |
|
|
13161 | main () |
|
|
13162 | { |
|
|
13163 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
13164 | test_array [0] = 0 |
|
|
13165 | |
|
|
13166 | ; |
|
|
13167 | return 0; |
|
|
13168 | } |
|
|
13169 | _ACEOF |
|
|
13170 | rm -f conftest.$ac_objext |
|
|
13171 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13172 | (eval $ac_compile) 2>conftest.er1 |
|
|
13173 | ac_status=$? |
|
|
13174 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13175 | rm -f conftest.er1 |
|
|
13176 | cat conftest.err >&5 |
|
|
13177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13178 | (exit $ac_status); } && |
|
|
13179 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13180 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13181 | (eval $ac_try) 2>&5 |
|
|
13182 | ac_status=$? |
|
|
13183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13184 | (exit $ac_status); }; } && |
|
|
13185 | { ac_try='test -s conftest.$ac_objext' |
|
|
13186 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13187 | (eval $ac_try) 2>&5 |
|
|
13188 | ac_status=$? |
|
|
13189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13190 | (exit $ac_status); }; }; then |
|
|
13191 | ac_lo=$ac_mid; break |
|
|
13192 | else |
|
|
13193 | echo "$as_me: failed program was:" >&5 |
|
|
13194 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13195 | |
|
|
13196 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
13197 | if test $ac_mid -le $ac_hi; then |
|
|
13198 | ac_lo= ac_hi= |
|
|
13199 | break |
|
|
13200 | fi |
|
|
13201 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
13202 | fi |
|
|
13203 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13204 | done |
|
|
13205 | else |
|
|
13206 | echo "$as_me: failed program was:" >&5 |
|
|
13207 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13208 | |
|
|
13209 | ac_lo= ac_hi= |
|
|
13210 | fi |
|
|
13211 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13212 | fi |
|
|
13213 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13214 | # Binary search between lo and hi bounds. |
|
|
13215 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
13216 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
13217 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13218 | /* confdefs.h. */ |
|
|
13219 | _ACEOF |
|
|
13220 | cat confdefs.h >>conftest.$ac_ext |
|
|
13221 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13222 | /* end confdefs.h. */ |
|
|
13223 | $ac_includes_default |
|
|
13224 | int |
|
|
13225 | main () |
|
|
13226 | { |
|
|
13227 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
13228 | test_array [0] = 0 |
|
|
13229 | |
|
|
13230 | ; |
|
|
13231 | return 0; |
|
|
13232 | } |
|
|
13233 | _ACEOF |
|
|
13234 | rm -f conftest.$ac_objext |
|
|
13235 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13236 | (eval $ac_compile) 2>conftest.er1 |
|
|
13237 | ac_status=$? |
|
|
13238 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13239 | rm -f conftest.er1 |
|
|
13240 | cat conftest.err >&5 |
|
|
13241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13242 | (exit $ac_status); } && |
|
|
13243 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13244 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13245 | (eval $ac_try) 2>&5 |
|
|
13246 | ac_status=$? |
|
|
13247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13248 | (exit $ac_status); }; } && |
|
|
13249 | { ac_try='test -s conftest.$ac_objext' |
|
|
13250 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13251 | (eval $ac_try) 2>&5 |
|
|
13252 | ac_status=$? |
|
|
13253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13254 | (exit $ac_status); }; }; then |
|
|
13255 | ac_hi=$ac_mid |
|
|
13256 | else |
|
|
13257 | echo "$as_me: failed program was:" >&5 |
|
|
13258 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13259 | |
|
|
13260 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13261 | fi |
|
|
13262 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13263 | done |
|
|
13264 | case $ac_lo in |
|
|
13265 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
13266 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13267 | See \`config.log' for more details." >&5 |
|
|
13268 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13269 | See \`config.log' for more details." >&2;} |
|
|
13270 | { (exit 1); exit 1; }; } ;; |
|
|
13271 | esac |
|
|
13272 | else |
|
|
13273 | if test "$cross_compiling" = yes; then |
|
|
13274 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
13275 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
13276 | { (exit 1); exit 1; }; } |
|
|
13277 | else |
|
|
13278 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13279 | /* confdefs.h. */ |
|
|
13280 | _ACEOF |
|
|
13281 | cat confdefs.h >>conftest.$ac_ext |
|
|
13282 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13283 | /* end confdefs.h. */ |
|
|
13284 | $ac_includes_default |
|
|
13285 | long longval () { return (long) (sizeof (long)); } |
|
|
13286 | unsigned long ulongval () { return (long) (sizeof (long)); } |
|
|
13287 | #include <stdio.h> |
|
|
13288 | #include <stdlib.h> |
|
|
13289 | int |
|
|
13290 | main () |
|
|
13291 | { |
|
|
13292 | |
|
|
13293 | FILE *f = fopen ("conftest.val", "w"); |
|
|
13294 | if (! f) |
|
|
13295 | exit (1); |
|
|
13296 | if (((long) (sizeof (long))) < 0) |
|
|
13297 | { |
|
|
13298 | long i = longval (); |
|
|
13299 | if (i != ((long) (sizeof (long)))) |
|
|
13300 | exit (1); |
|
|
13301 | fprintf (f, "%ld\n", i); |
|
|
13302 | } |
|
|
13303 | else |
|
|
13304 | { |
|
|
13305 | unsigned long i = ulongval (); |
|
|
13306 | if (i != ((long) (sizeof (long)))) |
|
|
13307 | exit (1); |
|
|
13308 | fprintf (f, "%lu\n", i); |
|
|
13309 | } |
|
|
13310 | exit (ferror (f) || fclose (f) != 0); |
|
|
13311 | |
|
|
13312 | ; |
|
|
13313 | return 0; |
|
|
13314 | } |
|
|
13315 | _ACEOF |
|
|
13316 | rm -f conftest$ac_exeext |
|
|
13317 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13318 | (eval $ac_link) 2>&5 |
|
|
13319 | ac_status=$? |
|
|
13320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13321 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13322 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13323 | (eval $ac_try) 2>&5 |
|
|
13324 | ac_status=$? |
|
|
13325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13326 | (exit $ac_status); }; }; then |
|
|
13327 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
13328 | else |
|
|
13329 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
13330 | echo "$as_me: failed program was:" >&5 |
|
|
13331 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13332 | |
|
|
13333 | ( exit $ac_status ) |
|
|
13334 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13335 | See \`config.log' for more details." >&5 |
|
|
13336 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13337 | See \`config.log' for more details." >&2;} |
|
|
13338 | { (exit 1); exit 1; }; } |
|
|
13339 | fi |
|
|
13340 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13341 | fi |
|
|
13342 | fi |
|
|
13343 | rm -f conftest.val |
|
|
13344 | else |
|
|
13345 | ac_cv_sizeof_long=0 |
|
|
13346 | fi |
|
|
13347 | fi |
|
|
13348 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
13349 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
|
|
13350 | cat >>confdefs.h <<_ACEOF |
|
|
13351 | #define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
13352 | _ACEOF |
12594 | _ACEOF |
13353 | |
12595 | |
13354 | |
12596 | |
13355 | echo "$as_me:$LINENO: checking for long long" >&5 |
12597 | echo "$as_me:$LINENO: checking for long long" >&5 |
13356 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
12598 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
… | |
… | |
16445 | #define PTYCHAR2 "$pch2" |
15687 | #define PTYCHAR2 "$pch2" |
16446 | _ACEOF |
15688 | _ACEOF |
16447 | |
15689 | |
16448 | fi |
15690 | fi |
16449 | |
15691 | |
16450 | if test x$support_8bitctrls = xyes; then |
|
|
16451 | |
|
|
16452 | cat >>confdefs.h <<\_ACEOF |
|
|
16453 | #define EIGHT_BIT_CONTROLS 1 |
|
|
16454 | _ACEOF |
|
|
16455 | |
|
|
16456 | fi |
|
|
16457 | if test x$support_fading = xyes; then |
|
|
16458 | |
|
|
16459 | cat >>confdefs.h <<\_ACEOF |
|
|
16460 | #define OFF_FOCUS_FADING 1 |
|
|
16461 | _ACEOF |
|
|
16462 | |
|
|
16463 | fi |
|
|
16464 | if test x$support_tinting = xyes; then |
|
|
16465 | |
|
|
16466 | cat >>confdefs.h <<\_ACEOF |
|
|
16467 | #define TINTING 1 |
|
|
16468 | _ACEOF |
|
|
16469 | |
|
|
16470 | fi |
|
|
16471 | if test x$support_inheritpixmap = xyes; then |
|
|
16472 | |
|
|
16473 | cat >>confdefs.h <<\_ACEOF |
|
|
16474 | #define TRANSPARENT 1 |
|
|
16475 | _ACEOF |
|
|
16476 | |
|
|
16477 | fi |
|
|
16478 | if test x$support_keepscrolling = xno; then |
|
|
16479 | |
|
|
16480 | cat >>confdefs.h <<\_ACEOF |
|
|
16481 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16482 | _ACEOF |
|
|
16483 | |
|
|
16484 | fi |
|
|
16485 | if test x$support_selectionscrolling = xyes; then |
|
|
16486 | |
|
|
16487 | cat >>confdefs.h <<\_ACEOF |
|
|
16488 | #define SELECTION_SCROLLING 1 |
|
|
16489 | _ACEOF |
|
|
16490 | |
|
|
16491 | fi |
|
|
16492 | if test x$support_menubar = xyes; then |
|
|
16493 | |
|
|
16494 | cat >>confdefs.h <<\_ACEOF |
|
|
16495 | #define MENUBAR 1 |
|
|
16496 | _ACEOF |
|
|
16497 | |
|
|
16498 | fi |
|
|
16499 | if test x$support_frills = xno; then |
|
|
16500 | |
|
|
16501 | cat >>confdefs.h <<\_ACEOF |
|
|
16502 | #define NO_FRILLS 1 |
|
|
16503 | _ACEOF |
|
|
16504 | |
|
|
16505 | fi |
|
|
16506 | if test x$support_linespace = xno; then |
|
|
16507 | |
|
|
16508 | cat >>confdefs.h <<\_ACEOF |
|
|
16509 | #define NO_LINESPACE 1 |
|
|
16510 | _ACEOF |
|
|
16511 | |
|
|
16512 | fi |
|
|
16513 | if test x$support_24bit = xyes; then |
|
|
16514 | |
|
|
16515 | cat >>confdefs.h <<\_ACEOF |
|
|
16516 | #define PREFER_24BIT 1 |
|
|
16517 | _ACEOF |
|
|
16518 | |
|
|
16519 | fi |
|
|
16520 | if test x$support_mousewheel = xyes; then |
|
|
16521 | |
|
|
16522 | cat >>confdefs.h <<\_ACEOF |
|
|
16523 | #define MOUSE_WHEEL 1 |
|
|
16524 | _ACEOF |
|
|
16525 | |
|
|
16526 | fi |
|
|
16527 | if test x$support_mouseslipwheel = xyes; then |
|
|
16528 | |
|
|
16529 | cat >>confdefs.h <<\_ACEOF |
|
|
16530 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16531 | _ACEOF |
|
|
16532 | |
|
|
16533 | fi |
|
|
16534 | if test x$support_utmp = xyes; then |
|
|
16535 | |
|
|
16536 | cat >>confdefs.h <<\_ACEOF |
|
|
16537 | #define UTMP_SUPPORT 1 |
|
|
16538 | _ACEOF |
|
|
16539 | |
|
|
16540 | fi |
|
|
16541 | if test x$support_wtmp = xyes; then |
|
|
16542 | |
|
|
16543 | cat >>confdefs.h <<\_ACEOF |
|
|
16544 | #define WTMP_SUPPORT 1 |
|
|
16545 | _ACEOF |
|
|
16546 | |
|
|
16547 | fi |
|
|
16548 | if test x$support_lastlog = xyes; then |
|
|
16549 | |
|
|
16550 | cat >>confdefs.h <<\_ACEOF |
|
|
16551 | #define LASTLOG_SUPPORT 1 |
|
|
16552 | _ACEOF |
|
|
16553 | |
|
|
16554 | fi |
|
|
16555 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16556 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16557 | |
|
|
16558 | cat >>confdefs.h <<\_ACEOF |
|
|
16559 | #define USE_XIM 1 |
|
|
16560 | _ACEOF |
|
|
16561 | |
|
|
16562 | fi |
|
|
16563 | fi |
|
|
16564 | if test x$support_xpm = xyes; then |
|
|
16565 | |
|
|
16566 | cat >>confdefs.h <<\_ACEOF |
|
|
16567 | #define XPM_BACKGROUND 1 |
|
|
16568 | _ACEOF |
|
|
16569 | |
|
|
16570 | fi |
|
|
16571 | if test x$support_scroll_rxvt = xyes; then |
|
|
16572 | |
|
|
16573 | cat >>confdefs.h <<\_ACEOF |
|
|
16574 | #define RXVT_SCROLLBAR 1 |
|
|
16575 | _ACEOF |
|
|
16576 | |
|
|
16577 | scrolltypes="rxvt" |
|
|
16578 | fi |
|
|
16579 | if test x$support_scroll_next = xyes; then |
|
|
16580 | |
|
|
16581 | cat >>confdefs.h <<\_ACEOF |
|
|
16582 | #define NEXT_SCROLLBAR 1 |
|
|
16583 | _ACEOF |
|
|
16584 | |
|
|
16585 | scrolltypes="$scrolltypes next" |
|
|
16586 | fi |
|
|
16587 | if test x$support_scroll_xterm = xyes; then |
|
|
16588 | |
|
|
16589 | cat >>confdefs.h <<\_ACEOF |
|
|
16590 | #define XTERM_SCROLLBAR 1 |
|
|
16591 | _ACEOF |
|
|
16592 | |
|
|
16593 | scrolltypes="$scrolltypes xterm" |
|
|
16594 | fi |
|
|
16595 | if test x$support_scroll_plain = xyes; then |
|
|
16596 | |
|
|
16597 | cat >>confdefs.h <<\_ACEOF |
|
|
16598 | #define PLAIN_SCROLLBAR 1 |
|
|
16599 | _ACEOF |
|
|
16600 | |
|
|
16601 | scrolltypes="$scrolltypes plain" |
|
|
16602 | fi |
|
|
16603 | if test x$support_pointer_blank = xyes; then |
|
|
16604 | |
|
|
16605 | cat >>confdefs.h <<\_ACEOF |
|
|
16606 | #define POINTER_BLANK 1 |
|
|
16607 | _ACEOF |
|
|
16608 | |
|
|
16609 | fi |
|
|
16610 | if test x$support_cursor_blink = xyes; then |
|
|
16611 | |
|
|
16612 | cat >>confdefs.h <<\_ACEOF |
|
|
16613 | #define CURSOR_BLINK 1 |
|
|
16614 | _ACEOF |
|
|
16615 | |
|
|
16616 | fi |
|
|
16617 | if test x$support_text_blink = xyes; then |
|
|
16618 | |
|
|
16619 | cat >>confdefs.h <<\_ACEOF |
|
|
16620 | #define TEXT_BLINK 1 |
|
|
16621 | _ACEOF |
|
|
16622 | |
|
|
16623 | fi |
|
|
16624 | if test x$support_unicode3 = xyes; then |
|
|
16625 | |
|
|
16626 | cat >>confdefs.h <<\_ACEOF |
|
|
16627 | #define UNICODE_3 1 |
|
|
16628 | _ACEOF |
|
|
16629 | |
|
|
16630 | fi |
|
|
16631 | if test x$support_combining = xyes; then |
|
|
16632 | |
|
|
16633 | cat >>confdefs.h <<\_ACEOF |
|
|
16634 | #define ENABLE_COMBINING 1 |
|
|
16635 | _ACEOF |
|
|
16636 | |
|
|
16637 | fi |
|
|
16638 | if test x$codesets = xall; then |
|
|
16639 | codesets=jp,jp-ext,kr,cn,cn-ext |
|
|
16640 | fi |
|
|
16641 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16642 | |
|
|
16643 | cat >>confdefs.h <<\_ACEOF |
|
|
16644 | #define ENCODING_EU 1 |
|
|
16645 | _ACEOF |
|
|
16646 | |
|
|
16647 | |
|
|
16648 | cat >>confdefs.h <<\_ACEOF |
|
|
16649 | #define ENCODING_VN 1 |
|
|
16650 | _ACEOF |
|
|
16651 | |
|
|
16652 | case "$codeset" in |
|
|
16653 | JP ) |
|
|
16654 | cat >>confdefs.h <<\_ACEOF |
|
|
16655 | #define ENCODING_JP 1 |
|
|
16656 | _ACEOF |
|
|
16657 | ;; |
|
|
16658 | JP_EXT ) |
|
|
16659 | cat >>confdefs.h <<\_ACEOF |
|
|
16660 | #define ENCODING_JP_EXT 1 |
|
|
16661 | _ACEOF |
|
|
16662 | ;; |
|
|
16663 | KR ) |
|
|
16664 | cat >>confdefs.h <<\_ACEOF |
|
|
16665 | #define ENCODING_KR 1 |
|
|
16666 | _ACEOF |
|
|
16667 | ;; |
|
|
16668 | CN ) |
|
|
16669 | cat >>confdefs.h <<\_ACEOF |
|
|
16670 | #define ENCODING_CN 1 |
|
|
16671 | _ACEOF |
|
|
16672 | ;; |
|
|
16673 | CN_EXT ) |
|
|
16674 | cat >>confdefs.h <<\_ACEOF |
|
|
16675 | #define ENCODING_CN_EXT 1 |
|
|
16676 | _ACEOF |
|
|
16677 | ;; |
|
|
16678 | esac |
|
|
16679 | done |
|
|
16680 | |
|
|
16681 | |
|
|
16682 | CFLAGS=${CFLAGS--O} |
|
|
16683 | LDFLAGS=${LDFLAGS--O} |
|
|
16684 | |
|
|
16685 | CPPFLAGS="$CPPFLAGS" |
|
|
16686 | |
|
|
16687 | |
|
|
16688 | |
|
|
16689 | |
|
|
16690 | |
|
|
16691 | |
|
|
16692 | |
|
|
16693 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16694 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16695 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16696 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16697 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16698 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16699 | fi |
|
|
16700 | |
|
|
16701 | |
|
|
16702 | |
|
|
16703 | |
|
|
16704 | |
|
|
16705 | if test x$support_addstrings = xno; then |
|
|
16706 | |
|
|
16707 | cat >>confdefs.h <<\_ACEOF |
|
|
16708 | #define NO_STRINGS 1 |
|
|
16709 | _ACEOF |
|
|
16710 | |
|
|
16711 | fi |
|
|
16712 | |
|
|
16713 | MCOMMON=./autoconf/Make.common |
|
|
16714 | |
|
|
16715 | |
|
|
16716 | test "$program_prefix" != NONE && |
|
|
16717 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16718 | # Use a double $ so make ignores it. |
|
|
16719 | test "$program_suffix" != NONE && |
|
|
16720 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16721 | # Double any \ or $. echo might interpret backslashes. |
|
|
16722 | # By default was `s,x,x', remove it if useless. |
|
|
16723 | cat <<\_ACEOF >conftest.sed |
|
|
16724 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16725 | _ACEOF |
|
|
16726 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16727 | rm conftest.sed |
|
|
16728 | |
|
|
16729 | |
|
|
16730 | |
|
|
16731 | |
|
|
16732 | |
|
|
16733 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16734 | include_stdint_h="#include <stdint.h>" |
|
|
16735 | else |
|
|
16736 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16737 | fi |
|
|
16738 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16739 | include_stdarg_h="#include <cstdarg>" |
|
|
16740 | else |
|
|
16741 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16742 | fi |
|
|
16743 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16744 | include_stdlib_h="#include <cstdlib>" |
|
|
16745 | else |
|
|
16746 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16747 | fi |
|
|
16748 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16749 | include_unistd_h="#include <unistd.h>" |
|
|
16750 | else |
|
|
16751 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16752 | fi |
|
|
16753 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16754 | include_string_h="#include <cstring>" |
|
|
16755 | else |
|
|
16756 | include_string_h="/* #include <cstring> */" |
|
|
16757 | fi |
|
|
16758 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16759 | include_fcntl_h="#include <fcntl.h>" |
|
|
16760 | else |
|
|
16761 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16762 | fi |
|
|
16763 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16764 | include_util_h="#include <util.h>" |
|
|
16765 | else |
|
|
16766 | include_util_h="/* #include <util.h> */" |
|
|
16767 | fi |
|
|
16768 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16769 | include_assert_h="#include <assert.h>" |
|
|
16770 | else |
|
|
16771 | include_assert_h="/* #include <assert.h> */" |
|
|
16772 | fi |
|
|
16773 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16774 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16775 | else |
|
|
16776 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16777 | fi |
|
|
16778 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16779 | include_sys_select_h="#include <sys/select.h>" |
|
|
16780 | else |
|
|
16781 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16782 | fi |
|
|
16783 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16784 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16785 | else |
|
|
16786 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16787 | fi |
|
|
16788 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16789 | include_sys_time_h="#include <sys/time.h>" |
|
|
16790 | else |
|
|
16791 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16792 | fi |
|
|
16793 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16794 | include_time_h="#include <time.h>" |
|
|
16795 | else |
|
|
16796 | include_time_h="/* #include <time.h> */" |
|
|
16797 | fi |
|
|
16798 | |
|
|
16799 | if test x$support_xft = xyes; then |
15692 | if test x$support_xft = xyes; then |
16800 | LIBS="$LIBS `pkg-config xft --libs`" |
15693 | LIBS="$LIBS `pkg-config xft --libs`" |
16801 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
15694 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
16802 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
15695 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
16803 | |
15696 | |
… | |
… | |
17033 | cat >>confdefs.h <<\_ACEOF |
15926 | cat >>confdefs.h <<\_ACEOF |
17034 | #define XFT 1 |
15927 | #define XFT 1 |
17035 | _ACEOF |
15928 | _ACEOF |
17036 | |
15929 | |
17037 | fi |
15930 | fi |
|
|
15931 | fi |
|
|
15932 | if test x$support_styles = xyes; then |
|
|
15933 | |
|
|
15934 | cat >>confdefs.h <<\_ACEOF |
|
|
15935 | #define ENABLE_STYLES 1 |
|
|
15936 | _ACEOF |
|
|
15937 | |
|
|
15938 | fi |
|
|
15939 | if test x$support_iso14755 = xyes; then |
|
|
15940 | |
|
|
15941 | cat >>confdefs.h <<\_ACEOF |
|
|
15942 | #define ISO_14755 1 |
|
|
15943 | _ACEOF |
|
|
15944 | |
|
|
15945 | fi |
|
|
15946 | if test x$support_8bitctrls = xyes; then |
|
|
15947 | |
|
|
15948 | cat >>confdefs.h <<\_ACEOF |
|
|
15949 | #define EIGHT_BIT_CONTROLS 1 |
|
|
15950 | _ACEOF |
|
|
15951 | |
|
|
15952 | fi |
|
|
15953 | if test x$support_fading = xyes; then |
|
|
15954 | |
|
|
15955 | cat >>confdefs.h <<\_ACEOF |
|
|
15956 | #define OFF_FOCUS_FADING 1 |
|
|
15957 | _ACEOF |
|
|
15958 | |
|
|
15959 | fi |
|
|
15960 | if test x$support_tinting = xyes; then |
|
|
15961 | |
|
|
15962 | cat >>confdefs.h <<\_ACEOF |
|
|
15963 | #define TINTING 1 |
|
|
15964 | _ACEOF |
|
|
15965 | |
|
|
15966 | fi |
|
|
15967 | if test x$support_inheritpixmap = xyes; then |
|
|
15968 | |
|
|
15969 | cat >>confdefs.h <<\_ACEOF |
|
|
15970 | #define TRANSPARENT 1 |
|
|
15971 | _ACEOF |
|
|
15972 | |
|
|
15973 | fi |
|
|
15974 | if test x$support_keepscrolling = xno; then |
|
|
15975 | |
|
|
15976 | cat >>confdefs.h <<\_ACEOF |
|
|
15977 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
15978 | _ACEOF |
|
|
15979 | |
|
|
15980 | fi |
|
|
15981 | if test x$support_selectionscrolling = xyes; then |
|
|
15982 | |
|
|
15983 | cat >>confdefs.h <<\_ACEOF |
|
|
15984 | #define SELECTION_SCROLLING 1 |
|
|
15985 | _ACEOF |
|
|
15986 | |
|
|
15987 | fi |
|
|
15988 | if test x$support_menubar = xyes; then |
|
|
15989 | |
|
|
15990 | cat >>confdefs.h <<\_ACEOF |
|
|
15991 | #define MENUBAR 1 |
|
|
15992 | _ACEOF |
|
|
15993 | |
|
|
15994 | fi |
|
|
15995 | if test x$support_frills = xyes; then |
|
|
15996 | |
|
|
15997 | cat >>confdefs.h <<\_ACEOF |
|
|
15998 | #define ENABLE_FRILLS 1 |
|
|
15999 | _ACEOF |
|
|
16000 | |
|
|
16001 | fi |
|
|
16002 | if test x$support_linespace = xno; then |
|
|
16003 | |
|
|
16004 | cat >>confdefs.h <<\_ACEOF |
|
|
16005 | #define NO_LINESPACE 1 |
|
|
16006 | _ACEOF |
|
|
16007 | |
|
|
16008 | fi |
|
|
16009 | if test x$support_24bit = xyes; then |
|
|
16010 | |
|
|
16011 | cat >>confdefs.h <<\_ACEOF |
|
|
16012 | #define PREFER_24BIT 1 |
|
|
16013 | _ACEOF |
|
|
16014 | |
|
|
16015 | fi |
|
|
16016 | if test x$support_mousewheel = xyes; then |
|
|
16017 | |
|
|
16018 | cat >>confdefs.h <<\_ACEOF |
|
|
16019 | #define MOUSE_WHEEL 1 |
|
|
16020 | _ACEOF |
|
|
16021 | |
|
|
16022 | fi |
|
|
16023 | if test x$support_mouseslipwheel = xyes; then |
|
|
16024 | |
|
|
16025 | cat >>confdefs.h <<\_ACEOF |
|
|
16026 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16027 | _ACEOF |
|
|
16028 | |
|
|
16029 | fi |
|
|
16030 | if test x$support_utmp = xyes; then |
|
|
16031 | |
|
|
16032 | cat >>confdefs.h <<\_ACEOF |
|
|
16033 | #define UTMP_SUPPORT 1 |
|
|
16034 | _ACEOF |
|
|
16035 | |
|
|
16036 | fi |
|
|
16037 | if test x$support_wtmp = xyes; then |
|
|
16038 | |
|
|
16039 | cat >>confdefs.h <<\_ACEOF |
|
|
16040 | #define WTMP_SUPPORT 1 |
|
|
16041 | _ACEOF |
|
|
16042 | |
|
|
16043 | fi |
|
|
16044 | if test x$support_lastlog = xyes; then |
|
|
16045 | |
|
|
16046 | cat >>confdefs.h <<\_ACEOF |
|
|
16047 | #define LASTLOG_SUPPORT 1 |
|
|
16048 | _ACEOF |
|
|
16049 | |
|
|
16050 | fi |
|
|
16051 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16052 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16053 | |
|
|
16054 | cat >>confdefs.h <<\_ACEOF |
|
|
16055 | #define USE_XIM 1 |
|
|
16056 | _ACEOF |
|
|
16057 | |
|
|
16058 | fi |
|
|
16059 | fi |
|
|
16060 | if test x$support_xpm = xyes; then |
|
|
16061 | |
|
|
16062 | cat >>confdefs.h <<\_ACEOF |
|
|
16063 | #define XPM_BACKGROUND 1 |
|
|
16064 | _ACEOF |
|
|
16065 | |
|
|
16066 | fi |
|
|
16067 | if test x$support_scroll_rxvt = xyes; then |
|
|
16068 | |
|
|
16069 | cat >>confdefs.h <<\_ACEOF |
|
|
16070 | #define RXVT_SCROLLBAR 1 |
|
|
16071 | _ACEOF |
|
|
16072 | |
|
|
16073 | scrolltypes="rxvt" |
|
|
16074 | fi |
|
|
16075 | if test x$support_scroll_next = xyes; then |
|
|
16076 | |
|
|
16077 | cat >>confdefs.h <<\_ACEOF |
|
|
16078 | #define NEXT_SCROLLBAR 1 |
|
|
16079 | _ACEOF |
|
|
16080 | |
|
|
16081 | scrolltypes="$scrolltypes next" |
|
|
16082 | fi |
|
|
16083 | if test x$support_scroll_xterm = xyes; then |
|
|
16084 | |
|
|
16085 | cat >>confdefs.h <<\_ACEOF |
|
|
16086 | #define XTERM_SCROLLBAR 1 |
|
|
16087 | _ACEOF |
|
|
16088 | |
|
|
16089 | scrolltypes="$scrolltypes xterm" |
|
|
16090 | fi |
|
|
16091 | if test x$support_scroll_plain = xyes; then |
|
|
16092 | |
|
|
16093 | cat >>confdefs.h <<\_ACEOF |
|
|
16094 | #define PLAIN_SCROLLBAR 1 |
|
|
16095 | _ACEOF |
|
|
16096 | |
|
|
16097 | scrolltypes="$scrolltypes plain" |
|
|
16098 | fi |
|
|
16099 | if test x$support_pointer_blank = xyes; then |
|
|
16100 | |
|
|
16101 | cat >>confdefs.h <<\_ACEOF |
|
|
16102 | #define POINTER_BLANK 1 |
|
|
16103 | _ACEOF |
|
|
16104 | |
|
|
16105 | fi |
|
|
16106 | if test x$support_cursor_blink = xyes; then |
|
|
16107 | |
|
|
16108 | cat >>confdefs.h <<\_ACEOF |
|
|
16109 | #define CURSOR_BLINK 1 |
|
|
16110 | _ACEOF |
|
|
16111 | |
|
|
16112 | fi |
|
|
16113 | if test x$support_text_blink = xyes; then |
|
|
16114 | |
|
|
16115 | cat >>confdefs.h <<\_ACEOF |
|
|
16116 | #define TEXT_BLINK 1 |
|
|
16117 | _ACEOF |
|
|
16118 | |
|
|
16119 | fi |
|
|
16120 | if test x$support_unicode3 = xyes; then |
|
|
16121 | |
|
|
16122 | cat >>confdefs.h <<\_ACEOF |
|
|
16123 | #define UNICODE_3 1 |
|
|
16124 | _ACEOF |
|
|
16125 | |
|
|
16126 | fi |
|
|
16127 | if test x$support_combining = xyes; then |
|
|
16128 | |
|
|
16129 | cat >>confdefs.h <<\_ACEOF |
|
|
16130 | #define ENABLE_COMBINING 1 |
|
|
16131 | _ACEOF |
|
|
16132 | |
|
|
16133 | fi |
|
|
16134 | if test x$codesets = xall; then |
|
|
16135 | codesets=jp,jp-ext,kr,zh,zh-ext |
|
|
16136 | fi |
|
|
16137 | |
|
|
16138 | cat >>confdefs.h <<\_ACEOF |
|
|
16139 | #define ENCODING_EU 1 |
|
|
16140 | _ACEOF |
|
|
16141 | |
|
|
16142 | |
|
|
16143 | cat >>confdefs.h <<\_ACEOF |
|
|
16144 | #define ENCODING_VN 1 |
|
|
16145 | _ACEOF |
|
|
16146 | |
|
|
16147 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16148 | case "$codeset" in |
|
|
16149 | JP ) |
|
|
16150 | cat >>confdefs.h <<\_ACEOF |
|
|
16151 | #define ENCODING_JP 1 |
|
|
16152 | _ACEOF |
|
|
16153 | ;; |
|
|
16154 | JP_EXT ) |
|
|
16155 | cat >>confdefs.h <<\_ACEOF |
|
|
16156 | #define ENCODING_JP_EXT 1 |
|
|
16157 | _ACEOF |
|
|
16158 | ;; |
|
|
16159 | KR ) |
|
|
16160 | cat >>confdefs.h <<\_ACEOF |
|
|
16161 | #define ENCODING_KR 1 |
|
|
16162 | _ACEOF |
|
|
16163 | ;; |
|
|
16164 | ZH ) |
|
|
16165 | cat >>confdefs.h <<\_ACEOF |
|
|
16166 | #define ENCODING_ZH 1 |
|
|
16167 | _ACEOF |
|
|
16168 | ;; |
|
|
16169 | ZH_EXT ) |
|
|
16170 | cat >>confdefs.h <<\_ACEOF |
|
|
16171 | #define ENCODING_ZH_EXT 1 |
|
|
16172 | _ACEOF |
|
|
16173 | ;; |
|
|
16174 | esac |
|
|
16175 | done |
|
|
16176 | |
|
|
16177 | |
|
|
16178 | CFLAGS=${CFLAGS--O} |
|
|
16179 | LDFLAGS=${LDFLAGS--O} |
|
|
16180 | |
|
|
16181 | CPPFLAGS="$CPPFLAGS" |
|
|
16182 | |
|
|
16183 | |
|
|
16184 | |
|
|
16185 | |
|
|
16186 | |
|
|
16187 | |
|
|
16188 | |
|
|
16189 | if 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"` |
|
|
16195 | fi |
|
|
16196 | |
|
|
16197 | |
|
|
16198 | |
|
|
16199 | |
|
|
16200 | |
|
|
16201 | if test x$support_addstrings = xno; then |
|
|
16202 | |
|
|
16203 | cat >>confdefs.h <<\_ACEOF |
|
|
16204 | #define NO_STRINGS 1 |
|
|
16205 | _ACEOF |
|
|
16206 | |
|
|
16207 | fi |
|
|
16208 | |
|
|
16209 | MCOMMON=./autoconf/Make.common |
|
|
16210 | |
|
|
16211 | |
|
|
16212 | test "$program_prefix" != NONE && |
|
|
16213 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16214 | # Use a double $ so make ignores it. |
|
|
16215 | test "$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. |
|
|
16219 | cat <<\_ACEOF >conftest.sed |
|
|
16220 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16221 | _ACEOF |
|
|
16222 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16223 | rm conftest.sed |
|
|
16224 | |
|
|
16225 | |
|
|
16226 | |
|
|
16227 | |
|
|
16228 | |
|
|
16229 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16230 | include_stdint_h="#include <stdint.h>" |
|
|
16231 | else |
|
|
16232 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16233 | fi |
|
|
16234 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16235 | include_stdarg_h="#include <cstdarg>" |
|
|
16236 | else |
|
|
16237 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16238 | fi |
|
|
16239 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16240 | include_stdlib_h="#include <cstdlib>" |
|
|
16241 | else |
|
|
16242 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16243 | fi |
|
|
16244 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16245 | include_unistd_h="#include <unistd.h>" |
|
|
16246 | else |
|
|
16247 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16248 | fi |
|
|
16249 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16250 | include_string_h="#include <cstring>" |
|
|
16251 | else |
|
|
16252 | include_string_h="/* #include <cstring> */" |
|
|
16253 | fi |
|
|
16254 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16255 | include_fcntl_h="#include <fcntl.h>" |
|
|
16256 | else |
|
|
16257 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16258 | fi |
|
|
16259 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16260 | include_util_h="#include <util.h>" |
|
|
16261 | else |
|
|
16262 | include_util_h="/* #include <util.h> */" |
|
|
16263 | fi |
|
|
16264 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16265 | include_assert_h="#include <assert.h>" |
|
|
16266 | else |
|
|
16267 | include_assert_h="/* #include <assert.h> */" |
|
|
16268 | fi |
|
|
16269 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16270 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16271 | else |
|
|
16272 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16273 | fi |
|
|
16274 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16275 | include_sys_select_h="#include <sys/select.h>" |
|
|
16276 | else |
|
|
16277 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16278 | fi |
|
|
16279 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16280 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16281 | else |
|
|
16282 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16283 | fi |
|
|
16284 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16285 | include_sys_time_h="#include <sys/time.h>" |
|
|
16286 | else |
|
|
16287 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16288 | fi |
|
|
16289 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16290 | include_time_h="#include <time.h>" |
|
|
16291 | else |
|
|
16292 | include_time_h="/* #include <time.h> */" |
17038 | fi |
16293 | fi |
17039 | |
16294 | |
17040 | 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" |
17041 | |
16296 | |
17042 | cat >confcache <<\_ACEOF |
16297 | cat >confcache <<\_ACEOF |
… | |
… | |
17700 | s,@CP@,$CP,;t t |
16955 | s,@CP@,$CP,;t t |
17701 | s,@LN@,$LN,;t t |
16956 | s,@LN@,$LN,;t t |
17702 | s,@SED@,$SED,;t t |
16957 | s,@SED@,$SED,;t t |
17703 | s,@CMP@,$CMP,;t t |
16958 | s,@CMP@,$CMP,;t t |
17704 | s,@TBL@,$TBL,;t t |
16959 | s,@TBL@,$TBL,;t t |
|
|
16960 | s,@TIC@,$TIC,;t t |
17705 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16961 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17706 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16962 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17707 | s,@X_LIBS@,$X_LIBS,;t t |
16963 | s,@X_LIBS@,$X_LIBS,;t t |
17708 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
16964 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17709 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16965 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |