… | |
… | |
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 |
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 |
… | |
… | |
1049 | --enable-ttygid enable tty setting to group named "tty" |
1051 | --enable-ttygid enable tty setting to group named "tty" |
1050 | --disable-backspace-key disable handling of the backspace key |
1052 | --disable-backspace-key disable handling of the backspace key |
1051 | --disable-delete-key disable handling of the delete key |
1053 | --disable-delete-key disable handling of the delete key |
1052 | --disable-resources disable all resource checking |
1054 | --disable-resources disable all resource checking |
1053 | --enable-xgetdefault enable resources via X instead of our small version |
1055 | --enable-xgetdefault enable resources via X instead of our small version |
|
|
1056 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1054 | --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) |
1055 | --enable-strings enable some replacement system functions |
1058 | --enable-strings enable some replacement system functions |
1056 | --disable-swapscreen disable swap screen support |
1059 | --disable-swapscreen disable swap screen support |
|
|
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
1057 | --enable-frills enable support for rarely used features |
1061 | --enable-frills enable support for rarely used features |
1058 | --enable-linespace enable support for linespace |
1062 | --enable-linespace enable support for linespace |
1059 | --enable-24bit enable support for using 24bit visuals if available |
1063 | --enable-24bit enable support for using 24bit visuals if available |
1060 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1064 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1061 | --enable-selectionscrolling enable scrolling during selections |
1065 | --enable-selectionscrolling enable scrolling during selections |
… | |
… | |
1063 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1067 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1064 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1068 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1065 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1069 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1066 | NOTE: enable only one malloc package |
1070 | NOTE: enable only one malloc package |
1067 | --enable-smart-resize enable smart growth/shrink behaviour |
1071 | --enable-smart-resize enable smart growth/shrink behaviour |
1068 | --enable-256-color enable 256-color support |
|
|
1069 | --enable-cursor-blink enable blinking cursor |
1072 | --enable-cursor-blink enable blinking cursor |
1070 | --enable-text-blink enable blinking text |
1073 | --enable-text-blink enable blinking text |
1071 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1074 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1072 | |
1075 | |
1073 | Optional Packages: |
1076 | Optional Packages: |
… | |
… | |
1534 | |
1537 | |
1535 | |
1538 | |
1536 | |
1539 | |
1537 | |
1540 | |
1538 | |
1541 | |
|
|
1542 | |
1539 | ac_aux_dir= |
1543 | ac_aux_dir= |
1540 | for ac_dir in autoconf $srcdir/autoconf; do |
1544 | for ac_dir in autoconf $srcdir/autoconf; do |
1541 | if test -f $ac_dir/install-sh; then |
1545 | if test -f $ac_dir/install-sh; then |
1542 | ac_aux_dir=$ac_dir |
1546 | ac_aux_dir=$ac_dir |
1543 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1547 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
5234 | # 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 |
5235 | # libtool support. |
5239 | # libtool support. |
5236 | case "$host" in |
5240 | case "$host" in |
5237 | *-*-irix6*) |
5241 | *-*-irix6*) |
5238 | # Find out which ABI we are using. |
5242 | # Find out which ABI we are using. |
5239 | echo '#line 5239 "configure"' > conftest.$ac_ext |
5243 | echo '#line 5243 "configure"' > conftest.$ac_ext |
5240 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5241 | (eval $ac_compile) 2>&5 |
5245 | (eval $ac_compile) 2>&5 |
5242 | ac_status=$? |
5246 | ac_status=$? |
5243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5244 | (exit $ac_status); }; then |
5248 | (exit $ac_status); }; then |
… | |
… | |
5785 | # builds. |
5789 | # builds. |
5786 | chmod -w . |
5790 | chmod -w . |
5787 | save_CFLAGS="$CFLAGS" |
5791 | save_CFLAGS="$CFLAGS" |
5788 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5792 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5789 | compiler_c_o=no |
5793 | compiler_c_o=no |
5790 | if { (eval echo configure:5790: \"$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 |
5791 | # 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 |
5792 | # So say no if there are warnings |
5796 | # So say no if there are warnings |
5793 | if test -s out/conftest.err; then |
5797 | if test -s out/conftest.err; then |
5794 | compiler_c_o=no |
5798 | compiler_c_o=no |
5795 | else |
5799 | else |
… | |
… | |
7401 | lt_cv_dlopen_self=cross |
7405 | lt_cv_dlopen_self=cross |
7402 | else |
7406 | else |
7403 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7407 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7404 | lt_status=$lt_dlunknown |
7408 | lt_status=$lt_dlunknown |
7405 | cat > conftest.$ac_ext <<EOF |
7409 | cat > conftest.$ac_ext <<EOF |
7406 | #line 7406 "configure" |
7410 | #line 7410 "configure" |
7407 | #include "confdefs.h" |
7411 | #include "confdefs.h" |
7408 | |
7412 | |
7409 | #if HAVE_DLFCN_H |
7413 | #if HAVE_DLFCN_H |
7410 | #include <dlfcn.h> |
7414 | #include <dlfcn.h> |
7411 | #endif |
7415 | #endif |
… | |
… | |
7499 | lt_cv_dlopen_self_static=cross |
7503 | lt_cv_dlopen_self_static=cross |
7500 | else |
7504 | else |
7501 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7505 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7502 | lt_status=$lt_dlunknown |
7506 | lt_status=$lt_dlunknown |
7503 | cat > conftest.$ac_ext <<EOF |
7507 | cat > conftest.$ac_ext <<EOF |
7504 | #line 7504 "configure" |
7508 | #line 7508 "configure" |
7505 | #include "confdefs.h" |
7509 | #include "confdefs.h" |
7506 | |
7510 | |
7507 | #if HAVE_DLFCN_H |
7511 | #if HAVE_DLFCN_H |
7508 | #include <dlfcn.h> |
7512 | #include <dlfcn.h> |
7509 | #endif |
7513 | #endif |
… | |
… | |
8233 | support_addstrings=no |
8237 | support_addstrings=no |
8234 | support_frills=no |
8238 | support_frills=no |
8235 | support_linespace=no |
8239 | support_linespace=no |
8236 | support_inheritpixmap=no |
8240 | support_inheritpixmap=no |
8237 | support_tinting=no |
8241 | support_tinting=no |
|
|
8242 | support_fading=no |
8238 | support_keepscrolling=no |
8243 | support_keepscrolling=no |
8239 | support_selectionscrolling=no |
8244 | support_selectionscrolling=no |
8240 | support_menubar=no |
8245 | support_menubar=no |
8241 | support_mousewheel=no |
8246 | support_mousewheel=no |
8242 | support_mouseslipwheel=no |
8247 | support_mouseslipwheel=no |
… | |
… | |
8253 | support_xim=no |
8258 | support_xim=no |
8254 | support_xpm=no |
8259 | support_xpm=no |
8255 | support_xft=no |
8260 | support_xft=no |
8256 | support_unicode3=no |
8261 | support_unicode3=no |
8257 | support_combining=no |
8262 | support_combining=no |
|
|
8263 | support_8bitctrls=no |
|
|
8264 | support_iso14755=no |
|
|
8265 | support_styles=no |
8258 | codesets= |
8266 | codesets= |
8259 | |
8267 | |
8260 | |
8268 | |
8261 | if test "x$enable_shared" = xyes; then |
8269 | if test "x$enable_shared" = xyes; then |
8262 | |
8270 | |
… | |
… | |
8275 | support_24bit=yes |
8283 | support_24bit=yes |
8276 | support_frills=yes |
8284 | support_frills=yes |
8277 | support_linespace=yes |
8285 | support_linespace=yes |
8278 | support_inheritpixmap=yes |
8286 | support_inheritpixmap=yes |
8279 | support_tinting=yes |
8287 | support_tinting=yes |
|
|
8288 | support_fading=yes |
8280 | support_keepscrolling=yes |
8289 | support_keepscrolling=yes |
8281 | support_selectionscrolling=yes |
8290 | support_selectionscrolling=yes |
8282 | support_lastlog=yes |
8291 | support_lastlog=yes |
8283 | support_menubar=yes |
8292 | support_menubar=yes |
8284 | support_mousewheel=yes |
8293 | support_mousewheel=yes |
… | |
… | |
8295 | support_xim=yes |
8304 | support_xim=yes |
8296 | support_xpm=yes |
8305 | support_xpm=yes |
8297 | support_xft=yes |
8306 | support_xft=yes |
8298 | support_unicode3=yes |
8307 | support_unicode3=yes |
8299 | support_combining=yes |
8308 | support_combining=yes |
|
|
8309 | #support_8bitctrls=yes |
|
|
8310 | support_iso14755=yes |
|
|
8311 | support_styles=yes |
8300 | codesets=all |
8312 | codesets=all |
8301 | fi |
8313 | fi |
8302 | fi; |
8314 | fi; |
8303 | |
8315 | |
8304 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8316 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8305 | if test "${enable_unicode3+set}" = set; then |
8317 | if test "${enable_unicode3+set}" = set; then |
8306 | enableval="$enable_unicode3" |
8318 | enableval="$enable_unicode3" |
8307 | if test x$enableval = xyes -o x$enableval = xno; then |
8319 | if test x$enableval = xyes -o x$enableval = xno; then |
8308 | support_unicode3=yes |
8320 | support_unicode3=$enableval |
8309 | fi |
8321 | fi |
8310 | fi; |
8322 | fi; |
8311 | |
8323 | |
8312 | # Check whether --enable-combining or --disable-combining was given. |
8324 | # Check whether --enable-combining or --disable-combining was given. |
8313 | if test "${enable_combining+set}" = set; then |
8325 | if test "${enable_combining+set}" = set; then |
8314 | enableval="$enable_combining" |
8326 | enableval="$enable_combining" |
8315 | if test x$enableval = xyes -o x$enableval = xno; then |
8327 | if test x$enableval = xyes -o x$enableval = xno; then |
8316 | support_combining=yes |
8328 | support_combining=$enableval |
8317 | fi |
8329 | fi |
8318 | fi; |
8330 | fi; |
8319 | |
8331 | |
8320 | # Check whether --enable-xft or --disable-xft was given. |
8332 | # Check whether --enable-xft or --disable-xft was given. |
8321 | if test "${enable_xft+set}" = set; then |
8333 | if test "${enable_xft+set}" = set; then |
8322 | enableval="$enable_xft" |
8334 | enableval="$enable_xft" |
8323 | if test x$enableval = xyes -o x$enableval = xno; then |
8335 | if test x$enableval = xyes -o x$enableval = xno; then |
8324 | 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 |
8325 | fi |
8345 | fi |
8326 | fi; |
8346 | fi; |
8327 | |
8347 | |
8328 | # Check whether --enable-utmp or --disable-utmp was given. |
8348 | # Check whether --enable-utmp or --disable-utmp was given. |
8329 | if test "${enable_utmp+set}" = set; then |
8349 | if test "${enable_utmp+set}" = set; then |
… | |
… | |
8371 | if test x$enableval = xyes -o x$enableval = xno; then |
8391 | if test x$enableval = xyes -o x$enableval = xno; then |
8372 | support_tinting=$enableval |
8392 | support_tinting=$enableval |
8373 | fi |
8393 | fi |
8374 | fi; |
8394 | fi; |
8375 | |
8395 | |
|
|
8396 | # Check whether --enable-fading or --disable-fading was given. |
|
|
8397 | if 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 |
|
|
8402 | fi; |
|
|
8403 | |
8376 | # Check whether --enable-menubar or --disable-menubar was given. |
8404 | # Check whether --enable-menubar or --disable-menubar was given. |
8377 | if test "${enable_menubar+set}" = set; then |
8405 | if test "${enable_menubar+set}" = set; then |
8378 | enableval="$enable_menubar" |
8406 | enableval="$enable_menubar" |
8379 | if test x$enableval = xyes -o x$enableval = xno; then |
8407 | if test x$enableval = xyes -o x$enableval = xno; then |
8380 | support_menubar=$enableval |
8408 | support_menubar=$enableval |
… | |
… | |
8498 | _ACEOF |
8526 | _ACEOF |
8499 | |
8527 | |
8500 | fi |
8528 | fi |
8501 | fi; |
8529 | fi; |
8502 | |
8530 | |
|
|
8531 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
|
|
8532 | if test "${enable_8bitctrls+set}" = set; then |
|
|
8533 | enableval="$enable_8bitctrls" |
|
|
8534 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8535 | support_8bitctrls=$enableval |
|
|
8536 | fi |
|
|
8537 | fi; |
|
|
8538 | |
8503 | RESFALLBACK=Rxvt |
8539 | RESFALLBACK=Rxvt |
8504 | # Check whether --enable-fallback or --disable-fallback was given. |
8540 | # Check whether --enable-fallback or --disable-fallback was given. |
8505 | if test "${enable_fallback+set}" = set; then |
8541 | if test "${enable_fallback+set}" = set; then |
8506 | enableval="$enable_fallback" |
8542 | enableval="$enable_fallback" |
8507 | |
8543 | |
… | |
… | |
8550 | # Check whether --with-name or --without-name was given. |
8586 | # Check whether --with-name or --without-name was given. |
8551 | if test "${with_name+set}" = set; then |
8587 | if test "${with_name+set}" = set; then |
8552 | withval="$with_name" |
8588 | withval="$with_name" |
8553 | RXVTNAME="$withval" |
8589 | RXVTNAME="$withval" |
8554 | fi; |
8590 | fi; |
|
|
8591 | |
|
|
8592 | cat >>confdefs.h <<_ACEOF |
|
|
8593 | #define RXVTNAME "$RXVTNAME" |
|
|
8594 | _ACEOF |
|
|
8595 | |
8555 | |
8596 | |
8556 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8597 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8557 | |
8598 | |
8558 | |
8599 | |
8559 | # Check whether --enable-strings or --disable-strings was given. |
8600 | # Check whether --enable-strings or --disable-strings was given. |
… | |
… | |
8571 | |
8612 | |
8572 | cat >>confdefs.h <<\_ACEOF |
8613 | cat >>confdefs.h <<\_ACEOF |
8573 | #define NO_SECONDARY_SCREEN 1 |
8614 | #define NO_SECONDARY_SCREEN 1 |
8574 | _ACEOF |
8615 | _ACEOF |
8575 | |
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 |
8576 | fi |
8625 | fi |
8577 | fi; |
8626 | fi; |
8578 | |
8627 | |
8579 | # Check whether --enable-frills or --disable-frills was given. |
8628 | # Check whether --enable-frills or --disable-frills was given. |
8580 | if test "${enable_frills+set}" = set; then |
8629 | if test "${enable_frills+set}" = set; then |
… | |
… | |
8659 | enableval="$enable_smart_resize" |
8708 | enableval="$enable_smart_resize" |
8660 | if test x$enableval = xyes; then |
8709 | if test x$enableval = xyes; then |
8661 | |
8710 | |
8662 | cat >>confdefs.h <<\_ACEOF |
8711 | cat >>confdefs.h <<\_ACEOF |
8663 | #define SMART_RESIZE 1 |
8712 | #define SMART_RESIZE 1 |
8664 | _ACEOF |
|
|
8665 | |
|
|
8666 | fi |
|
|
8667 | fi; |
|
|
8668 | |
|
|
8669 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8670 | if test "${enable_256_color+set}" = set; then |
|
|
8671 | enableval="$enable_256_color" |
|
|
8672 | if test x$enableval = xyes; then |
|
|
8673 | |
|
|
8674 | cat >>confdefs.h <<\_ACEOF |
|
|
8675 | #define TTY_256COLOR 1 |
|
|
8676 | _ACEOF |
8713 | _ACEOF |
8677 | |
8714 | |
8678 | fi |
8715 | fi |
8679 | fi; |
8716 | fi; |
8680 | |
8717 | |
… | |
… | |
9054 | TBL=$ac_cv_path_TBL |
9091 | TBL=$ac_cv_path_TBL |
9055 | |
9092 | |
9056 | if test -n "$TBL"; then |
9093 | if test -n "$TBL"; then |
9057 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9094 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9058 | 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 |
9059 | else |
9135 | else |
9060 | echo "$as_me:$LINENO: result: no" >&5 |
9136 | echo "$as_me:$LINENO: result: no" >&5 |
9061 | echo "${ECHO_T}no" >&6 |
9137 | echo "${ECHO_T}no" >&6 |
9062 | fi |
9138 | fi |
9063 | |
9139 | |
… | |
… | |
10889 | |
10965 | |
10890 | |
10966 | |
10891 | |
10967 | |
10892 | |
10968 | |
10893 | |
10969 | |
|
|
10970 | |
10894 | for ac_header in \ |
10971 | for ac_header in \ |
10895 | assert.h \ |
10972 | assert.h \ |
10896 | fcntl.h \ |
10973 | fcntl.h \ |
10897 | grp.h \ |
10974 | grp.h \ |
10898 | libc.h \ |
10975 | libc.h \ |
… | |
… | |
10905 | sys/byteorder.h \ |
10982 | sys/byteorder.h \ |
10906 | sys/ioctl.h \ |
10983 | sys/ioctl.h \ |
10907 | sys/select.h \ |
10984 | sys/select.h \ |
10908 | sys/sockio.h \ |
10985 | sys/sockio.h \ |
10909 | sys/strredir.h \ |
10986 | sys/strredir.h \ |
|
|
10987 | sys/stropts.h \ |
10910 | sys/time.h \ |
10988 | sys/time.h \ |
10911 | utmp.h \ |
10989 | utmp.h \ |
10912 | utmpx.h \ |
10990 | utmpx.h \ |
10913 | stdint.h \ |
10991 | stdint.h \ |
10914 | |
10992 | |
… | |
… | |
11700 | cat >>confdefs.h <<\_ACEOF |
11778 | cat >>confdefs.h <<\_ACEOF |
11701 | #define gid_t int |
11779 | #define gid_t int |
11702 | _ACEOF |
11780 | _ACEOF |
11703 | |
11781 | |
11704 | fi |
11782 | fi |
11705 | |
|
|
11706 | |
11783 | |
11707 | |
11784 | |
11708 | echo "$as_me:$LINENO: checking for char" >&5 |
11785 | echo "$as_me:$LINENO: checking for char" >&5 |
11709 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
11786 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
11710 | if test "${ac_cv_type_char+set}" = set; then |
11787 | if test "${ac_cv_type_char+set}" = set; then |
… | |
… | |
16176 | #define HAVE_NL_LANGINFO 1 |
16253 | #define HAVE_NL_LANGINFO 1 |
16177 | _ACEOF |
16254 | _ACEOF |
16178 | |
16255 | |
16179 | fi |
16256 | fi |
16180 | |
16257 | |
|
|
16258 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
16259 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
|
|
16260 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
16261 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16262 | else |
|
|
16263 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16264 | |
|
|
16265 | #include <X11/Xlib.h> |
|
|
16266 | |
|
|
16267 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
16268 | |
|
|
16269 | void f() { |
|
|
16270 | XIMCallback cb; |
|
|
16271 | cb.callback = im_destroy_cb; |
|
|
16272 | } |
|
|
16273 | |
|
|
16274 | _ACEOF |
|
|
16275 | rm -f conftest.$ac_objext |
|
|
16276 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
16277 | (eval $ac_compile) 2>conftest.er1 |
|
|
16278 | ac_status=$? |
|
|
16279 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16280 | rm -f conftest.er1 |
|
|
16281 | cat conftest.err >&5 |
|
|
16282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16283 | (exit $ac_status); } && |
|
|
16284 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
16285 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16286 | (eval $ac_try) 2>&5 |
|
|
16287 | ac_status=$? |
|
|
16288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16289 | (exit $ac_status); }; } && |
|
|
16290 | { ac_try='test -s conftest.$ac_objext' |
|
|
16291 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16292 | (eval $ac_try) 2>&5 |
|
|
16293 | ac_status=$? |
|
|
16294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16295 | (exit $ac_status); }; }; then |
|
|
16296 | rxvt_broken_ximcb=yes |
|
|
16297 | else |
|
|
16298 | echo "$as_me: failed program was:" >&5 |
|
|
16299 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16300 | |
|
|
16301 | rxvt_broken_ximcb=no |
|
|
16302 | fi |
|
|
16303 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
16304 | fi |
|
|
16305 | echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
16306 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6 |
|
|
16307 | |
|
|
16308 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
16309 | |
|
|
16310 | cat >>confdefs.h <<\_ACEOF |
|
|
16311 | #define XIMCB_PROTO_BROKEN 1 |
|
|
16312 | _ACEOF |
|
|
16313 | |
|
|
16314 | fi |
|
|
16315 | |
16181 | echo "$as_me:$LINENO: checking for getpt" >&5 |
16316 | echo "$as_me:$LINENO: checking for getpt" >&5 |
16182 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
16317 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
16183 | if test "${rxvt_cv_func_getpt+set}" = set; then |
16318 | if test "${rxvt_cv_func_getpt+set}" = set; then |
16184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16319 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16185 | else |
16320 | else |
… | |
… | |
16362 | |
16497 | |
16363 | cat >>confdefs.h <<_ACEOF |
16498 | cat >>confdefs.h <<_ACEOF |
16364 | #define PTYCHAR2 "$pch2" |
16499 | #define PTYCHAR2 "$pch2" |
16365 | _ACEOF |
16500 | _ACEOF |
16366 | |
16501 | |
16367 | fi |
|
|
16368 | |
|
|
16369 | if test x$support_tinting = xyes; then |
|
|
16370 | |
|
|
16371 | cat >>confdefs.h <<\_ACEOF |
|
|
16372 | #define TINTING 1 |
|
|
16373 | _ACEOF |
|
|
16374 | |
|
|
16375 | fi |
|
|
16376 | if test x$support_inheritpixmap = xyes; then |
|
|
16377 | |
|
|
16378 | cat >>confdefs.h <<\_ACEOF |
|
|
16379 | #define TRANSPARENT 1 |
|
|
16380 | _ACEOF |
|
|
16381 | |
|
|
16382 | fi |
|
|
16383 | if test x$support_keepscrolling = xno; then |
|
|
16384 | |
|
|
16385 | cat >>confdefs.h <<\_ACEOF |
|
|
16386 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16387 | _ACEOF |
|
|
16388 | |
|
|
16389 | fi |
|
|
16390 | if test x$support_selectionscrolling = xyes; then |
|
|
16391 | |
|
|
16392 | cat >>confdefs.h <<\_ACEOF |
|
|
16393 | #define SELECTION_SCROLLING 1 |
|
|
16394 | _ACEOF |
|
|
16395 | |
|
|
16396 | fi |
|
|
16397 | if test x$support_menubar = xyes; then |
|
|
16398 | |
|
|
16399 | cat >>confdefs.h <<\_ACEOF |
|
|
16400 | #define MENUBAR 1 |
|
|
16401 | _ACEOF |
|
|
16402 | |
|
|
16403 | fi |
|
|
16404 | if test x$support_frills = xno; then |
|
|
16405 | |
|
|
16406 | cat >>confdefs.h <<\_ACEOF |
|
|
16407 | #define NO_FRILLS 1 |
|
|
16408 | _ACEOF |
|
|
16409 | |
|
|
16410 | fi |
|
|
16411 | if test x$support_linespace = xno; then |
|
|
16412 | |
|
|
16413 | cat >>confdefs.h <<\_ACEOF |
|
|
16414 | #define NO_LINESPACE 1 |
|
|
16415 | _ACEOF |
|
|
16416 | |
|
|
16417 | fi |
|
|
16418 | if test x$support_24bit = xyes; then |
|
|
16419 | |
|
|
16420 | cat >>confdefs.h <<\_ACEOF |
|
|
16421 | #define PREFER_24BIT 1 |
|
|
16422 | _ACEOF |
|
|
16423 | |
|
|
16424 | fi |
|
|
16425 | if test x$support_mousewheel = xyes; then |
|
|
16426 | |
|
|
16427 | cat >>confdefs.h <<\_ACEOF |
|
|
16428 | #define MOUSE_WHEEL 1 |
|
|
16429 | _ACEOF |
|
|
16430 | |
|
|
16431 | fi |
|
|
16432 | if test x$support_mouseslipwheel = xyes; then |
|
|
16433 | |
|
|
16434 | cat >>confdefs.h <<\_ACEOF |
|
|
16435 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16436 | _ACEOF |
|
|
16437 | |
|
|
16438 | fi |
|
|
16439 | if test x$support_utmp = xyes; then |
|
|
16440 | |
|
|
16441 | cat >>confdefs.h <<\_ACEOF |
|
|
16442 | #define UTMP_SUPPORT 1 |
|
|
16443 | _ACEOF |
|
|
16444 | |
|
|
16445 | fi |
|
|
16446 | if test x$support_wtmp = xyes; then |
|
|
16447 | |
|
|
16448 | cat >>confdefs.h <<\_ACEOF |
|
|
16449 | #define WTMP_SUPPORT 1 |
|
|
16450 | _ACEOF |
|
|
16451 | |
|
|
16452 | fi |
|
|
16453 | if test x$support_lastlog = xyes; then |
|
|
16454 | |
|
|
16455 | cat >>confdefs.h <<\_ACEOF |
|
|
16456 | #define LASTLOG_SUPPORT 1 |
|
|
16457 | _ACEOF |
|
|
16458 | |
|
|
16459 | fi |
|
|
16460 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16461 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16462 | |
|
|
16463 | cat >>confdefs.h <<\_ACEOF |
|
|
16464 | #define USE_XIM 1 |
|
|
16465 | _ACEOF |
|
|
16466 | |
|
|
16467 | fi |
|
|
16468 | fi |
|
|
16469 | if test x$support_xpm = xyes; then |
|
|
16470 | |
|
|
16471 | cat >>confdefs.h <<\_ACEOF |
|
|
16472 | #define XPM_BACKGROUND 1 |
|
|
16473 | _ACEOF |
|
|
16474 | |
|
|
16475 | fi |
|
|
16476 | if test x$support_scroll_rxvt = xyes; then |
|
|
16477 | |
|
|
16478 | cat >>confdefs.h <<\_ACEOF |
|
|
16479 | #define RXVT_SCROLLBAR 1 |
|
|
16480 | _ACEOF |
|
|
16481 | |
|
|
16482 | scrolltypes="rxvt" |
|
|
16483 | fi |
|
|
16484 | if test x$support_scroll_next = xyes; then |
|
|
16485 | |
|
|
16486 | cat >>confdefs.h <<\_ACEOF |
|
|
16487 | #define NEXT_SCROLLBAR 1 |
|
|
16488 | _ACEOF |
|
|
16489 | |
|
|
16490 | scrolltypes="$scrolltypes next" |
|
|
16491 | fi |
|
|
16492 | if test x$support_scroll_xterm = xyes; then |
|
|
16493 | |
|
|
16494 | cat >>confdefs.h <<\_ACEOF |
|
|
16495 | #define XTERM_SCROLLBAR 1 |
|
|
16496 | _ACEOF |
|
|
16497 | |
|
|
16498 | scrolltypes="$scrolltypes xterm" |
|
|
16499 | fi |
|
|
16500 | if test x$support_scroll_plain = xyes; then |
|
|
16501 | |
|
|
16502 | cat >>confdefs.h <<\_ACEOF |
|
|
16503 | #define PLAIN_SCROLLBAR 1 |
|
|
16504 | _ACEOF |
|
|
16505 | |
|
|
16506 | scrolltypes="$scrolltypes plain" |
|
|
16507 | fi |
|
|
16508 | if test x$support_pointer_blank = xyes; then |
|
|
16509 | |
|
|
16510 | cat >>confdefs.h <<\_ACEOF |
|
|
16511 | #define POINTER_BLANK 1 |
|
|
16512 | _ACEOF |
|
|
16513 | |
|
|
16514 | fi |
|
|
16515 | if test x$support_cursor_blink = xyes; then |
|
|
16516 | |
|
|
16517 | cat >>confdefs.h <<\_ACEOF |
|
|
16518 | #define CURSOR_BLINK 1 |
|
|
16519 | _ACEOF |
|
|
16520 | |
|
|
16521 | fi |
|
|
16522 | if test x$support_text_blink = xyes; then |
|
|
16523 | |
|
|
16524 | cat >>confdefs.h <<\_ACEOF |
|
|
16525 | #define TEXT_BLINK 1 |
|
|
16526 | _ACEOF |
|
|
16527 | |
|
|
16528 | fi |
|
|
16529 | if test x$support_unicode3 = xyes; then |
|
|
16530 | |
|
|
16531 | cat >>confdefs.h <<\_ACEOF |
|
|
16532 | #define UNICODE_3 1 |
|
|
16533 | _ACEOF |
|
|
16534 | |
|
|
16535 | fi |
|
|
16536 | if test x$support_combining = xyes; then |
|
|
16537 | |
|
|
16538 | cat >>confdefs.h <<\_ACEOF |
|
|
16539 | #define ENABLE_COMBINING 1 |
|
|
16540 | _ACEOF |
|
|
16541 | |
|
|
16542 | fi |
|
|
16543 | if test x$codesets = xall; then |
|
|
16544 | codesets=jp,jp-ext,kr,cn,cn-ext |
|
|
16545 | fi |
|
|
16546 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16547 | |
|
|
16548 | cat >>confdefs.h <<\_ACEOF |
|
|
16549 | #define ENCODING_EU 1 |
|
|
16550 | _ACEOF |
|
|
16551 | |
|
|
16552 | |
|
|
16553 | cat >>confdefs.h <<\_ACEOF |
|
|
16554 | #define ENCODING_VN 1 |
|
|
16555 | _ACEOF |
|
|
16556 | |
|
|
16557 | case "$codeset" in |
|
|
16558 | JP ) |
|
|
16559 | cat >>confdefs.h <<\_ACEOF |
|
|
16560 | #define ENCODING_JP 1 |
|
|
16561 | _ACEOF |
|
|
16562 | ;; |
|
|
16563 | JP_EXT ) |
|
|
16564 | cat >>confdefs.h <<\_ACEOF |
|
|
16565 | #define ENCODING_JP_EXT 1 |
|
|
16566 | _ACEOF |
|
|
16567 | ;; |
|
|
16568 | KR ) |
|
|
16569 | cat >>confdefs.h <<\_ACEOF |
|
|
16570 | #define ENCODING_KR 1 |
|
|
16571 | _ACEOF |
|
|
16572 | ;; |
|
|
16573 | CN ) |
|
|
16574 | cat >>confdefs.h <<\_ACEOF |
|
|
16575 | #define ENCODING_CN 1 |
|
|
16576 | _ACEOF |
|
|
16577 | ;; |
|
|
16578 | CN_EXT ) |
|
|
16579 | cat >>confdefs.h <<\_ACEOF |
|
|
16580 | #define ENCODING_CN_EXT 1 |
|
|
16581 | _ACEOF |
|
|
16582 | ;; |
|
|
16583 | esac |
|
|
16584 | done |
|
|
16585 | |
|
|
16586 | |
|
|
16587 | CFLAGS=${CFLAGS--O} |
|
|
16588 | LDFLAGS=${LDFLAGS--O} |
|
|
16589 | |
|
|
16590 | CPPFLAGS="$CPPFLAGS" |
|
|
16591 | |
|
|
16592 | |
|
|
16593 | |
|
|
16594 | |
|
|
16595 | |
|
|
16596 | |
|
|
16597 | |
|
|
16598 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16599 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16600 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16601 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16602 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16603 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16604 | fi |
|
|
16605 | |
|
|
16606 | |
|
|
16607 | |
|
|
16608 | |
|
|
16609 | |
|
|
16610 | if test x$support_addstrings = xno; then |
|
|
16611 | |
|
|
16612 | cat >>confdefs.h <<\_ACEOF |
|
|
16613 | #define NO_STRINGS 1 |
|
|
16614 | _ACEOF |
|
|
16615 | |
|
|
16616 | fi |
|
|
16617 | |
|
|
16618 | MCOMMON=./autoconf/Make.common |
|
|
16619 | |
|
|
16620 | |
|
|
16621 | test "$program_prefix" != NONE && |
|
|
16622 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16623 | # Use a double $ so make ignores it. |
|
|
16624 | test "$program_suffix" != NONE && |
|
|
16625 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16626 | # Double any \ or $. echo might interpret backslashes. |
|
|
16627 | # By default was `s,x,x', remove it if useless. |
|
|
16628 | cat <<\_ACEOF >conftest.sed |
|
|
16629 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16630 | _ACEOF |
|
|
16631 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16632 | rm conftest.sed |
|
|
16633 | |
|
|
16634 | |
|
|
16635 | |
|
|
16636 | |
|
|
16637 | |
|
|
16638 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16639 | include_stdint_h="#include <stdint.h>" |
|
|
16640 | else |
|
|
16641 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16642 | fi |
|
|
16643 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16644 | include_stdarg_h="#include <cstdarg>" |
|
|
16645 | else |
|
|
16646 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16647 | fi |
|
|
16648 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16649 | include_stdlib_h="#include <cstdlib>" |
|
|
16650 | else |
|
|
16651 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16652 | fi |
|
|
16653 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16654 | include_unistd_h="#include <unistd.h>" |
|
|
16655 | else |
|
|
16656 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16657 | fi |
|
|
16658 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16659 | include_string_h="#include <cstring>" |
|
|
16660 | else |
|
|
16661 | include_string_h="/* #include <cstring> */" |
|
|
16662 | fi |
|
|
16663 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16664 | include_fcntl_h="#include <fcntl.h>" |
|
|
16665 | else |
|
|
16666 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16667 | fi |
|
|
16668 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16669 | include_util_h="#include <util.h>" |
|
|
16670 | else |
|
|
16671 | include_util_h="/* #include <util.h> */" |
|
|
16672 | fi |
|
|
16673 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16674 | include_assert_h="#include <assert.h>" |
|
|
16675 | else |
|
|
16676 | include_assert_h="/* #include <assert.h> */" |
|
|
16677 | fi |
|
|
16678 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16679 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16680 | else |
|
|
16681 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16682 | fi |
|
|
16683 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16684 | include_sys_select_h="#include <sys/select.h>" |
|
|
16685 | else |
|
|
16686 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16687 | fi |
|
|
16688 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16689 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16690 | else |
|
|
16691 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16692 | fi |
|
|
16693 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16694 | include_sys_time_h="#include <sys/time.h>" |
|
|
16695 | else |
|
|
16696 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16697 | fi |
|
|
16698 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16699 | include_time_h="#include <time.h>" |
|
|
16700 | else |
|
|
16701 | include_time_h="/* #include <time.h> */" |
|
|
16702 | fi |
16502 | fi |
16703 | |
16503 | |
16704 | if test x$support_xft = xyes; then |
16504 | if test x$support_xft = xyes; then |
16705 | LIBS="$LIBS `pkg-config xft --libs`" |
16505 | LIBS="$LIBS `pkg-config xft --libs`" |
16706 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
16506 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
… | |
… | |
16939 | #define XFT 1 |
16739 | #define XFT 1 |
16940 | _ACEOF |
16740 | _ACEOF |
16941 | |
16741 | |
16942 | fi |
16742 | fi |
16943 | fi |
16743 | fi |
|
|
16744 | if test x$support_styles = xyes; then |
|
|
16745 | |
|
|
16746 | cat >>confdefs.h <<\_ACEOF |
|
|
16747 | #define ENABLE_STYLES 1 |
|
|
16748 | _ACEOF |
|
|
16749 | |
|
|
16750 | fi |
|
|
16751 | if test x$support_iso14755 = xyes; then |
|
|
16752 | |
|
|
16753 | cat >>confdefs.h <<\_ACEOF |
|
|
16754 | #define ISO_14755 1 |
|
|
16755 | _ACEOF |
|
|
16756 | |
|
|
16757 | fi |
|
|
16758 | if test x$support_8bitctrls = xyes; then |
|
|
16759 | |
|
|
16760 | cat >>confdefs.h <<\_ACEOF |
|
|
16761 | #define EIGHT_BIT_CONTROLS 1 |
|
|
16762 | _ACEOF |
|
|
16763 | |
|
|
16764 | fi |
|
|
16765 | if test x$support_fading = xyes; then |
|
|
16766 | |
|
|
16767 | cat >>confdefs.h <<\_ACEOF |
|
|
16768 | #define OFF_FOCUS_FADING 1 |
|
|
16769 | _ACEOF |
|
|
16770 | |
|
|
16771 | fi |
|
|
16772 | if test x$support_tinting = xyes; then |
|
|
16773 | |
|
|
16774 | cat >>confdefs.h <<\_ACEOF |
|
|
16775 | #define TINTING 1 |
|
|
16776 | _ACEOF |
|
|
16777 | |
|
|
16778 | fi |
|
|
16779 | if test x$support_inheritpixmap = xyes; then |
|
|
16780 | |
|
|
16781 | cat >>confdefs.h <<\_ACEOF |
|
|
16782 | #define TRANSPARENT 1 |
|
|
16783 | _ACEOF |
|
|
16784 | |
|
|
16785 | fi |
|
|
16786 | if test x$support_keepscrolling = xno; then |
|
|
16787 | |
|
|
16788 | cat >>confdefs.h <<\_ACEOF |
|
|
16789 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16790 | _ACEOF |
|
|
16791 | |
|
|
16792 | fi |
|
|
16793 | if test x$support_selectionscrolling = xyes; then |
|
|
16794 | |
|
|
16795 | cat >>confdefs.h <<\_ACEOF |
|
|
16796 | #define SELECTION_SCROLLING 1 |
|
|
16797 | _ACEOF |
|
|
16798 | |
|
|
16799 | fi |
|
|
16800 | if test x$support_menubar = xyes; then |
|
|
16801 | |
|
|
16802 | cat >>confdefs.h <<\_ACEOF |
|
|
16803 | #define MENUBAR 1 |
|
|
16804 | _ACEOF |
|
|
16805 | |
|
|
16806 | fi |
|
|
16807 | if test x$support_frills = xyes; then |
|
|
16808 | |
|
|
16809 | cat >>confdefs.h <<\_ACEOF |
|
|
16810 | #define ENABLE_FRILLS 1 |
|
|
16811 | _ACEOF |
|
|
16812 | |
|
|
16813 | fi |
|
|
16814 | if test x$support_linespace = xno; then |
|
|
16815 | |
|
|
16816 | cat >>confdefs.h <<\_ACEOF |
|
|
16817 | #define NO_LINESPACE 1 |
|
|
16818 | _ACEOF |
|
|
16819 | |
|
|
16820 | fi |
|
|
16821 | if test x$support_24bit = xyes; then |
|
|
16822 | |
|
|
16823 | cat >>confdefs.h <<\_ACEOF |
|
|
16824 | #define PREFER_24BIT 1 |
|
|
16825 | _ACEOF |
|
|
16826 | |
|
|
16827 | fi |
|
|
16828 | if test x$support_mousewheel = xyes; then |
|
|
16829 | |
|
|
16830 | cat >>confdefs.h <<\_ACEOF |
|
|
16831 | #define MOUSE_WHEEL 1 |
|
|
16832 | _ACEOF |
|
|
16833 | |
|
|
16834 | fi |
|
|
16835 | if test x$support_mouseslipwheel = xyes; then |
|
|
16836 | |
|
|
16837 | cat >>confdefs.h <<\_ACEOF |
|
|
16838 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16839 | _ACEOF |
|
|
16840 | |
|
|
16841 | fi |
|
|
16842 | if test x$support_utmp = xyes; then |
|
|
16843 | |
|
|
16844 | cat >>confdefs.h <<\_ACEOF |
|
|
16845 | #define UTMP_SUPPORT 1 |
|
|
16846 | _ACEOF |
|
|
16847 | |
|
|
16848 | fi |
|
|
16849 | if test x$support_wtmp = xyes; then |
|
|
16850 | |
|
|
16851 | cat >>confdefs.h <<\_ACEOF |
|
|
16852 | #define WTMP_SUPPORT 1 |
|
|
16853 | _ACEOF |
|
|
16854 | |
|
|
16855 | fi |
|
|
16856 | if test x$support_lastlog = xyes; then |
|
|
16857 | |
|
|
16858 | cat >>confdefs.h <<\_ACEOF |
|
|
16859 | #define LASTLOG_SUPPORT 1 |
|
|
16860 | _ACEOF |
|
|
16861 | |
|
|
16862 | fi |
|
|
16863 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16864 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16865 | |
|
|
16866 | cat >>confdefs.h <<\_ACEOF |
|
|
16867 | #define USE_XIM 1 |
|
|
16868 | _ACEOF |
|
|
16869 | |
|
|
16870 | fi |
|
|
16871 | fi |
|
|
16872 | if test x$support_xpm = xyes; then |
|
|
16873 | |
|
|
16874 | cat >>confdefs.h <<\_ACEOF |
|
|
16875 | #define XPM_BACKGROUND 1 |
|
|
16876 | _ACEOF |
|
|
16877 | |
|
|
16878 | fi |
|
|
16879 | if test x$support_scroll_rxvt = xyes; then |
|
|
16880 | |
|
|
16881 | cat >>confdefs.h <<\_ACEOF |
|
|
16882 | #define RXVT_SCROLLBAR 1 |
|
|
16883 | _ACEOF |
|
|
16884 | |
|
|
16885 | scrolltypes="rxvt" |
|
|
16886 | fi |
|
|
16887 | if test x$support_scroll_next = xyes; then |
|
|
16888 | |
|
|
16889 | cat >>confdefs.h <<\_ACEOF |
|
|
16890 | #define NEXT_SCROLLBAR 1 |
|
|
16891 | _ACEOF |
|
|
16892 | |
|
|
16893 | scrolltypes="$scrolltypes next" |
|
|
16894 | fi |
|
|
16895 | if test x$support_scroll_xterm = xyes; then |
|
|
16896 | |
|
|
16897 | cat >>confdefs.h <<\_ACEOF |
|
|
16898 | #define XTERM_SCROLLBAR 1 |
|
|
16899 | _ACEOF |
|
|
16900 | |
|
|
16901 | scrolltypes="$scrolltypes xterm" |
|
|
16902 | fi |
|
|
16903 | if test x$support_scroll_plain = xyes; then |
|
|
16904 | |
|
|
16905 | cat >>confdefs.h <<\_ACEOF |
|
|
16906 | #define PLAIN_SCROLLBAR 1 |
|
|
16907 | _ACEOF |
|
|
16908 | |
|
|
16909 | scrolltypes="$scrolltypes plain" |
|
|
16910 | fi |
|
|
16911 | if test x$support_pointer_blank = xyes; then |
|
|
16912 | |
|
|
16913 | cat >>confdefs.h <<\_ACEOF |
|
|
16914 | #define POINTER_BLANK 1 |
|
|
16915 | _ACEOF |
|
|
16916 | |
|
|
16917 | fi |
|
|
16918 | if test x$support_cursor_blink = xyes; then |
|
|
16919 | |
|
|
16920 | cat >>confdefs.h <<\_ACEOF |
|
|
16921 | #define CURSOR_BLINK 1 |
|
|
16922 | _ACEOF |
|
|
16923 | |
|
|
16924 | fi |
|
|
16925 | if test x$support_text_blink = xyes; then |
|
|
16926 | |
|
|
16927 | cat >>confdefs.h <<\_ACEOF |
|
|
16928 | #define TEXT_BLINK 1 |
|
|
16929 | _ACEOF |
|
|
16930 | |
|
|
16931 | fi |
|
|
16932 | if test x$support_unicode3 = xyes; then |
|
|
16933 | |
|
|
16934 | cat >>confdefs.h <<\_ACEOF |
|
|
16935 | #define UNICODE_3 1 |
|
|
16936 | _ACEOF |
|
|
16937 | |
|
|
16938 | fi |
|
|
16939 | if test x$support_combining = xyes; then |
|
|
16940 | |
|
|
16941 | cat >>confdefs.h <<\_ACEOF |
|
|
16942 | #define ENABLE_COMBINING 1 |
|
|
16943 | _ACEOF |
|
|
16944 | |
|
|
16945 | fi |
|
|
16946 | if test x$codesets = xall; then |
|
|
16947 | codesets=jp,jp-ext,kr,zh,zh-ext |
|
|
16948 | fi |
|
|
16949 | |
|
|
16950 | cat >>confdefs.h <<\_ACEOF |
|
|
16951 | #define ENCODING_EU 1 |
|
|
16952 | _ACEOF |
|
|
16953 | |
|
|
16954 | |
|
|
16955 | cat >>confdefs.h <<\_ACEOF |
|
|
16956 | #define ENCODING_VN 1 |
|
|
16957 | _ACEOF |
|
|
16958 | |
|
|
16959 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16960 | case "$codeset" in |
|
|
16961 | JP ) |
|
|
16962 | cat >>confdefs.h <<\_ACEOF |
|
|
16963 | #define ENCODING_JP 1 |
|
|
16964 | _ACEOF |
|
|
16965 | ;; |
|
|
16966 | JP_EXT ) |
|
|
16967 | cat >>confdefs.h <<\_ACEOF |
|
|
16968 | #define ENCODING_JP_EXT 1 |
|
|
16969 | _ACEOF |
|
|
16970 | ;; |
|
|
16971 | KR ) |
|
|
16972 | cat >>confdefs.h <<\_ACEOF |
|
|
16973 | #define ENCODING_KR 1 |
|
|
16974 | _ACEOF |
|
|
16975 | ;; |
|
|
16976 | ZH ) |
|
|
16977 | cat >>confdefs.h <<\_ACEOF |
|
|
16978 | #define ENCODING_ZH 1 |
|
|
16979 | _ACEOF |
|
|
16980 | ;; |
|
|
16981 | ZH_EXT ) |
|
|
16982 | cat >>confdefs.h <<\_ACEOF |
|
|
16983 | #define ENCODING_ZH_EXT 1 |
|
|
16984 | _ACEOF |
|
|
16985 | ;; |
|
|
16986 | esac |
|
|
16987 | done |
|
|
16988 | |
|
|
16989 | |
|
|
16990 | CFLAGS=${CFLAGS--O} |
|
|
16991 | LDFLAGS=${LDFLAGS--O} |
|
|
16992 | |
|
|
16993 | CPPFLAGS="$CPPFLAGS" |
|
|
16994 | |
|
|
16995 | |
|
|
16996 | |
|
|
16997 | |
|
|
16998 | |
|
|
16999 | |
|
|
17000 | |
|
|
17001 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
17002 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
17003 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
17004 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
17005 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
17006 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
17007 | fi |
|
|
17008 | |
|
|
17009 | |
|
|
17010 | |
|
|
17011 | |
|
|
17012 | |
|
|
17013 | if test x$support_addstrings = xno; then |
|
|
17014 | |
|
|
17015 | cat >>confdefs.h <<\_ACEOF |
|
|
17016 | #define NO_STRINGS 1 |
|
|
17017 | _ACEOF |
|
|
17018 | |
|
|
17019 | fi |
|
|
17020 | |
|
|
17021 | MCOMMON=./autoconf/Make.common |
|
|
17022 | |
|
|
17023 | |
|
|
17024 | test "$program_prefix" != NONE && |
|
|
17025 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
17026 | # Use a double $ so make ignores it. |
|
|
17027 | test "$program_suffix" != NONE && |
|
|
17028 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
17029 | # Double any \ or $. echo might interpret backslashes. |
|
|
17030 | # By default was `s,x,x', remove it if useless. |
|
|
17031 | cat <<\_ACEOF >conftest.sed |
|
|
17032 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
17033 | _ACEOF |
|
|
17034 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
17035 | rm conftest.sed |
|
|
17036 | |
|
|
17037 | |
|
|
17038 | |
|
|
17039 | |
|
|
17040 | |
|
|
17041 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17042 | include_stdint_h="#include <stdint.h>" |
|
|
17043 | else |
|
|
17044 | include_stdint_h="/* #include <stdint.h> */" |
|
|
17045 | fi |
|
|
17046 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17047 | include_stdarg_h="#include <cstdarg>" |
|
|
17048 | else |
|
|
17049 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
17050 | fi |
|
|
17051 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17052 | include_stdlib_h="#include <cstdlib>" |
|
|
17053 | else |
|
|
17054 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
17055 | fi |
|
|
17056 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17057 | include_unistd_h="#include <unistd.h>" |
|
|
17058 | else |
|
|
17059 | include_unistd_h="/* #include <unistd.h> */" |
|
|
17060 | fi |
|
|
17061 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17062 | include_string_h="#include <cstring>" |
|
|
17063 | else |
|
|
17064 | include_string_h="/* #include <cstring> */" |
|
|
17065 | fi |
|
|
17066 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17067 | include_fcntl_h="#include <fcntl.h>" |
|
|
17068 | else |
|
|
17069 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
17070 | fi |
|
|
17071 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17072 | include_util_h="#include <util.h>" |
|
|
17073 | else |
|
|
17074 | include_util_h="/* #include <util.h> */" |
|
|
17075 | fi |
|
|
17076 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17077 | include_assert_h="#include <assert.h>" |
|
|
17078 | else |
|
|
17079 | include_assert_h="/* #include <assert.h> */" |
|
|
17080 | fi |
|
|
17081 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17082 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
17083 | else |
|
|
17084 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
17085 | fi |
|
|
17086 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17087 | include_sys_select_h="#include <sys/select.h>" |
|
|
17088 | else |
|
|
17089 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
17090 | fi |
|
|
17091 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17092 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
17093 | else |
|
|
17094 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
17095 | fi |
|
|
17096 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
17097 | include_sys_time_h="#include <sys/time.h>" |
|
|
17098 | else |
|
|
17099 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
17100 | fi |
|
|
17101 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
17102 | include_time_h="#include <time.h>" |
|
|
17103 | else |
|
|
17104 | include_time_h="/* #include <time.h> */" |
|
|
17105 | fi |
16944 | |
17106 | |
16945 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
17107 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
|
|
17108 | |
16946 | cat >confcache <<\_ACEOF |
17109 | cat >confcache <<\_ACEOF |
16947 | # This file is a shell script that caches the results of configure |
17110 | # This file is a shell script that caches the results of configure |
16948 | # tests run on this system so they can be shared between configure |
17111 | # tests run on this system so they can be shared between configure |
16949 | # scripts and configure runs, see configure's option --config-cache. |
17112 | # scripts and configure runs, see configure's option --config-cache. |
16950 | # It is not useful on other systems. If it contains results you don't |
17113 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
17604 | s,@CP@,$CP,;t t |
17767 | s,@CP@,$CP,;t t |
17605 | s,@LN@,$LN,;t t |
17768 | s,@LN@,$LN,;t t |
17606 | s,@SED@,$SED,;t t |
17769 | s,@SED@,$SED,;t t |
17607 | s,@CMP@,$CMP,;t t |
17770 | s,@CMP@,$CMP,;t t |
17608 | s,@TBL@,$TBL,;t t |
17771 | s,@TBL@,$TBL,;t t |
|
|
17772 | s,@TIC@,$TIC,;t t |
17609 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17773 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17610 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17774 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17611 | s,@X_LIBS@,$X_LIBS,;t t |
17775 | s,@X_LIBS@,$X_LIBS,;t t |
17612 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17776 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17613 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
17777 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |