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

Comparing rxvt-unicode/configure (file contents):
Revision 1.34 by root, Sun Aug 15 04:42:45 2004 UTC vs.
Revision 1.39 by root, Sun Aug 22 01:40:31 2004 UTC

465#endif 465#endif
466#if HAVE_UNISTD_H 466#if HAVE_UNISTD_H
467# include <unistd.h> 467# include <unistd.h>
468#endif" 468#endif"
469 469
470ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 470ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
471ac_subst_files='MCOMMON' 471ac_subst_files='MCOMMON'
472 472
473# Initialize some variables set by options. 473# Initialize some variables set by options.
474ac_init_help= 474ac_init_help=
475ac_init_version=false 475ac_init_version=false
1031 NOTE: this option is order dependent 1031 NOTE: this option is order dependent
1032 NOTE: automatically enabled with --enable-shared 1032 NOTE: automatically enabled with --enable-shared
1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1034 --enable-combining enable composition of base and combining characters 1034 --enable-combining enable composition of base and combining characters
1035 --enable-xft enable xft support on systems that have it 1035 --enable-xft enable xft support on systems that have it
1036 --enable-font-styles enable bold and italic support
1036 --enable-utmp enable utmp (utmpx) support 1037 --enable-utmp enable utmp (utmpx) support
1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1038 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1038 --enable-lastlog enable lastlog support (requires --enable-utmp) 1039 --enable-lastlog enable lastlog support (requires --enable-utmp)
1039 --enable-xpm-background enable XPM background pixmaps 1040 --enable-xpm-background enable XPM background pixmaps
1040 --enable-transparency enable transparent backgrounds 1041 --enable-transparency enable transparent backgrounds
1066 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1067 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1067 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1068 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1068 --enable-dlmalloc enable Doug Lea's malloc - for production use 1069 --enable-dlmalloc enable Doug Lea's malloc - for production use
1069 NOTE: enable only one malloc package 1070 NOTE: enable only one malloc package
1070 --enable-smart-resize enable smart growth/shrink behaviour 1071 --enable-smart-resize enable smart growth/shrink behaviour
1071 --enable-256-color enable 256-color support
1072 --enable-cursor-blink enable blinking cursor 1072 --enable-cursor-blink enable blinking cursor
1073 --enable-text-blink enable blinking text 1073 --enable-text-blink enable blinking text
1074 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1074 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1075 1075
1076Optional Packages: 1076Optional Packages:
8260support_xft=no 8260support_xft=no
8261support_unicode3=no 8261support_unicode3=no
8262support_combining=no 8262support_combining=no
8263support_8bitctrls=no 8263support_8bitctrls=no
8264support_iso14755=no 8264support_iso14755=no
8265support_styles=no
8265codesets= 8266codesets=
8266 8267
8267 8268
8268if test "x$enable_shared" = xyes; then 8269if test "x$enable_shared" = xyes; then
8269 8270
8305 support_xft=yes 8306 support_xft=yes
8306 support_unicode3=yes 8307 support_unicode3=yes
8307 support_combining=yes 8308 support_combining=yes
8308 #support_8bitctrls=yes 8309 #support_8bitctrls=yes
8309 support_iso14755=yes 8310 support_iso14755=yes
8311 support_styles=yes
8310 codesets=all 8312 codesets=all
8311 fi 8313 fi
8312fi; 8314fi;
8313 8315
8314# Check whether --enable-unicode3 or --disable-unicode3 was given. 8316# Check whether --enable-unicode3 or --disable-unicode3 was given.
8315if test "${enable_unicode3+set}" = set; then 8317if test "${enable_unicode3+set}" = set; then
8316 enableval="$enable_unicode3" 8318 enableval="$enable_unicode3"
8317 if test x$enableval = xyes -o x$enableval = xno; then 8319 if test x$enableval = xyes -o x$enableval = xno; then
8318 support_unicode3=yes 8320 support_unicode3=$enableval
8319 fi 8321 fi
8320fi; 8322fi;
8321 8323
8322# Check whether --enable-combining or --disable-combining was given. 8324# Check whether --enable-combining or --disable-combining was given.
8323if test "${enable_combining+set}" = set; then 8325if test "${enable_combining+set}" = set; then
8324 enableval="$enable_combining" 8326 enableval="$enable_combining"
8325 if test x$enableval = xyes -o x$enableval = xno; then 8327 if test x$enableval = xyes -o x$enableval = xno; then
8326 support_combining=yes 8328 support_combining=$enableval
8327 fi 8329 fi
8328fi; 8330fi;
8329 8331
8330# Check whether --enable-xft or --disable-xft was given. 8332# Check whether --enable-xft or --disable-xft was given.
8331if test "${enable_xft+set}" = set; then 8333if test "${enable_xft+set}" = set; then
8332 enableval="$enable_xft" 8334 enableval="$enable_xft"
8333 if test x$enableval = xyes -o x$enableval = xno; then 8335 if test x$enableval = xyes -o x$enableval = xno; then
8334 support_xft=yes 8336 support_xft=$enableval
8337 fi
8338fi;
8339
8340# Check whether --enable-font-styles or --disable-font-styles was given.
8341if test "${enable_font_styles+set}" = set; then
8342 enableval="$enable_font_styles"
8343 if test x$enableval = xyes -o x$enableval = xno; then
8344 support_styles=$enableval
8335 fi 8345 fi
8336fi; 8346fi;
8337 8347
8338# Check whether --enable-utmp or --disable-utmp was given. 8348# Check whether --enable-utmp or --disable-utmp was given.
8339if test "${enable_utmp+set}" = set; then 8349if test "${enable_utmp+set}" = set; then
8520 8530
8521# Check whether --enable-8bitctrls or --disable-8bitctrls was given. 8531# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8522if test "${enable_8bitctrls+set}" = set; then 8532if test "${enable_8bitctrls+set}" = set; then
8523 enableval="$enable_8bitctrls" 8533 enableval="$enable_8bitctrls"
8524 if test x$enableval = xyes -o x$enableval = xno; then 8534 if test x$enableval = xyes -o x$enableval = xno; then
8525 support_8bitctrls=yes 8535 support_8bitctrls=$enableval
8526 fi 8536 fi
8527fi; 8537fi;
8528 8538
8529RESFALLBACK=Rxvt 8539RESFALLBACK=Rxvt
8530# Check whether --enable-fallback or --disable-fallback was given. 8540# Check whether --enable-fallback or --disable-fallback was given.
8576# Check whether --with-name or --without-name was given. 8586# Check whether --with-name or --without-name was given.
8577if test "${with_name+set}" = set; then 8587if test "${with_name+set}" = set; then
8578 withval="$with_name" 8588 withval="$with_name"
8579 RXVTNAME="$withval" 8589 RXVTNAME="$withval"
8580fi; 8590fi;
8591
8592cat >>confdefs.h <<_ACEOF
8593#define RXVTNAME "$RXVTNAME"
8594_ACEOF
8595
8581 8596
8582RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 8597RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8583 8598
8584 8599
8585# Check whether --enable-strings or --disable-strings was given. 8600# Check whether --enable-strings or --disable-strings was given.
8693 enableval="$enable_smart_resize" 8708 enableval="$enable_smart_resize"
8694 if test x$enableval = xyes; then 8709 if test x$enableval = xyes; then
8695 8710
8696cat >>confdefs.h <<\_ACEOF 8711cat >>confdefs.h <<\_ACEOF
8697#define SMART_RESIZE 1 8712#define SMART_RESIZE 1
8698_ACEOF
8699
8700 fi
8701fi;
8702
8703# Check whether --enable-256-color or --disable-256-color was given.
8704if test "${enable_256_color+set}" = set; then
8705 enableval="$enable_256_color"
8706 if test x$enableval = xyes; then
8707
8708cat >>confdefs.h <<\_ACEOF
8709#define TTY_256COLOR 1
8710_ACEOF 8713_ACEOF
8711 8714
8712 fi 8715 fi
8713fi; 8716fi;
8714 8717
9088TBL=$ac_cv_path_TBL 9091TBL=$ac_cv_path_TBL
9089 9092
9090if test -n "$TBL"; then 9093if test -n "$TBL"; then
9091 echo "$as_me:$LINENO: result: $TBL" >&5 9094 echo "$as_me:$LINENO: result: $TBL" >&5
9092echo "${ECHO_T}$TBL" >&6 9095echo "${ECHO_T}$TBL" >&6
9096else
9097 echo "$as_me:$LINENO: result: no" >&5
9098echo "${ECHO_T}no" >&6
9099fi
9100
9101# Extract the first word of "tic", so it can be a program name with args.
9102set dummy tic; ac_word=$2
9103echo "$as_me:$LINENO: checking for $ac_word" >&5
9104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9105if test "${ac_cv_path_TIC+set}" = set; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9107else
9108 case $TIC in
9109 [\\/]* | ?:[\\/]*)
9110 ac_cv_path_TIC="$TIC" # Let the user override the test with a path.
9111 ;;
9112 *)
9113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114for as_dir in $PATH
9115do
9116 IFS=$as_save_IFS
9117 test -z "$as_dir" && as_dir=.
9118 for ac_exec_ext in '' $ac_executable_extensions; do
9119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9120 ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext"
9121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9122 break 2
9123 fi
9124done
9125done
9126
9127 ;;
9128esac
9129fi
9130TIC=$ac_cv_path_TIC
9131
9132if test -n "$TIC"; then
9133 echo "$as_me:$LINENO: result: $TIC" >&5
9134echo "${ECHO_T}$TIC" >&6
9093else 9135else
9094 echo "$as_me:$LINENO: result: no" >&5 9136 echo "$as_me:$LINENO: result: no" >&5
9095echo "${ECHO_T}no" >&6 9137echo "${ECHO_T}no" >&6
9096fi 9138fi
9097 9139
16457#define PTYCHAR2 "$pch2" 16499#define PTYCHAR2 "$pch2"
16458_ACEOF 16500_ACEOF
16459 16501
16460fi 16502fi
16461 16503
16462if test x$support_iso14755 = xyes; then
16463
16464cat >>confdefs.h <<\_ACEOF
16465#define ISO_14755 1
16466_ACEOF
16467
16468fi
16469if test x$support_8bitctrls = xyes; then
16470
16471cat >>confdefs.h <<\_ACEOF
16472#define EIGHT_BIT_CONTROLS 1
16473_ACEOF
16474
16475fi
16476if test x$support_fading = xyes; then
16477
16478cat >>confdefs.h <<\_ACEOF
16479#define OFF_FOCUS_FADING 1
16480_ACEOF
16481
16482fi
16483if test x$support_tinting = xyes; then
16484
16485cat >>confdefs.h <<\_ACEOF
16486#define TINTING 1
16487_ACEOF
16488
16489fi
16490if test x$support_inheritpixmap = xyes; then
16491
16492cat >>confdefs.h <<\_ACEOF
16493#define TRANSPARENT 1
16494_ACEOF
16495
16496fi
16497if test x$support_keepscrolling = xno; then
16498
16499cat >>confdefs.h <<\_ACEOF
16500#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16501_ACEOF
16502
16503fi
16504if test x$support_selectionscrolling = xyes; then
16505
16506cat >>confdefs.h <<\_ACEOF
16507#define SELECTION_SCROLLING 1
16508_ACEOF
16509
16510fi
16511if test x$support_menubar = xyes; then
16512
16513cat >>confdefs.h <<\_ACEOF
16514#define MENUBAR 1
16515_ACEOF
16516
16517fi
16518if test x$support_frills = xyes; then
16519
16520cat >>confdefs.h <<\_ACEOF
16521#define ENABLE_FRILLS 1
16522_ACEOF
16523
16524fi
16525if test x$support_linespace = xno; then
16526
16527cat >>confdefs.h <<\_ACEOF
16528#define NO_LINESPACE 1
16529_ACEOF
16530
16531fi
16532if test x$support_24bit = xyes; then
16533
16534cat >>confdefs.h <<\_ACEOF
16535#define PREFER_24BIT 1
16536_ACEOF
16537
16538fi
16539if test x$support_mousewheel = xyes; then
16540
16541cat >>confdefs.h <<\_ACEOF
16542#define MOUSE_WHEEL 1
16543_ACEOF
16544
16545fi
16546if test x$support_mouseslipwheel = xyes; then
16547
16548cat >>confdefs.h <<\_ACEOF
16549#define MOUSE_SLIP_WHEELING 1
16550_ACEOF
16551
16552fi
16553if test x$support_utmp = xyes; then
16554
16555cat >>confdefs.h <<\_ACEOF
16556#define UTMP_SUPPORT 1
16557_ACEOF
16558
16559fi
16560if test x$support_wtmp = xyes; then
16561
16562cat >>confdefs.h <<\_ACEOF
16563#define WTMP_SUPPORT 1
16564_ACEOF
16565
16566fi
16567if test x$support_lastlog = xyes; then
16568
16569cat >>confdefs.h <<\_ACEOF
16570#define LASTLOG_SUPPORT 1
16571_ACEOF
16572
16573fi
16574if test x$support_xim = xyes -o x$multichar_set = xyes; then
16575 if test x$rxvt_cv_func_xlocale = xyes; then
16576
16577cat >>confdefs.h <<\_ACEOF
16578#define USE_XIM 1
16579_ACEOF
16580
16581 fi
16582fi
16583if test x$support_xpm = xyes; then
16584
16585cat >>confdefs.h <<\_ACEOF
16586#define XPM_BACKGROUND 1
16587_ACEOF
16588
16589fi
16590if test x$support_scroll_rxvt = xyes; then
16591
16592cat >>confdefs.h <<\_ACEOF
16593#define RXVT_SCROLLBAR 1
16594_ACEOF
16595
16596 scrolltypes="rxvt"
16597fi
16598if test x$support_scroll_next = xyes; then
16599
16600cat >>confdefs.h <<\_ACEOF
16601#define NEXT_SCROLLBAR 1
16602_ACEOF
16603
16604 scrolltypes="$scrolltypes next"
16605fi
16606if test x$support_scroll_xterm = xyes; then
16607
16608cat >>confdefs.h <<\_ACEOF
16609#define XTERM_SCROLLBAR 1
16610_ACEOF
16611
16612 scrolltypes="$scrolltypes xterm"
16613fi
16614if test x$support_scroll_plain = xyes; then
16615
16616cat >>confdefs.h <<\_ACEOF
16617#define PLAIN_SCROLLBAR 1
16618_ACEOF
16619
16620 scrolltypes="$scrolltypes plain"
16621fi
16622if test x$support_pointer_blank = xyes; then
16623
16624cat >>confdefs.h <<\_ACEOF
16625#define POINTER_BLANK 1
16626_ACEOF
16627
16628fi
16629if test x$support_cursor_blink = xyes; then
16630
16631cat >>confdefs.h <<\_ACEOF
16632#define CURSOR_BLINK 1
16633_ACEOF
16634
16635fi
16636if test x$support_text_blink = xyes; then
16637
16638cat >>confdefs.h <<\_ACEOF
16639#define TEXT_BLINK 1
16640_ACEOF
16641
16642fi
16643if test x$support_unicode3 = xyes; then
16644
16645cat >>confdefs.h <<\_ACEOF
16646#define UNICODE_3 1
16647_ACEOF
16648
16649fi
16650if test x$support_combining = xyes; then
16651
16652cat >>confdefs.h <<\_ACEOF
16653#define ENABLE_COMBINING 1
16654_ACEOF
16655
16656fi
16657if test x$codesets = xall; then
16658 codesets=jp,jp-ext,kr,cn,cn-ext
16659fi
16660
16661cat >>confdefs.h <<\_ACEOF
16662#define ENCODING_EU 1
16663_ACEOF
16664
16665
16666cat >>confdefs.h <<\_ACEOF
16667#define ENCODING_VN 1
16668_ACEOF
16669
16670for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16671 case "$codeset" in
16672 JP )
16673cat >>confdefs.h <<\_ACEOF
16674#define ENCODING_JP 1
16675_ACEOF
16676 ;;
16677 JP_EXT )
16678cat >>confdefs.h <<\_ACEOF
16679#define ENCODING_JP_EXT 1
16680_ACEOF
16681 ;;
16682 KR )
16683cat >>confdefs.h <<\_ACEOF
16684#define ENCODING_KR 1
16685_ACEOF
16686 ;;
16687 CN )
16688cat >>confdefs.h <<\_ACEOF
16689#define ENCODING_CN 1
16690_ACEOF
16691 ;;
16692 CN_EXT )
16693cat >>confdefs.h <<\_ACEOF
16694#define ENCODING_CN_EXT 1
16695_ACEOF
16696 ;;
16697 esac
16698done
16699
16700
16701CFLAGS=${CFLAGS--O}
16702LDFLAGS=${LDFLAGS--O}
16703
16704CPPFLAGS="$CPPFLAGS"
16705
16706
16707
16708
16709
16710
16711
16712if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16713 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16714 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16715 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16716 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16717 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16718fi
16719
16720
16721
16722
16723
16724if test x$support_addstrings = xno; then
16725
16726cat >>confdefs.h <<\_ACEOF
16727#define NO_STRINGS 1
16728_ACEOF
16729
16730fi
16731
16732MCOMMON=./autoconf/Make.common
16733
16734
16735test "$program_prefix" != NONE &&
16736 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16737# Use a double $ so make ignores it.
16738test "$program_suffix" != NONE &&
16739 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16740# Double any \ or $. echo might interpret backslashes.
16741# By default was `s,x,x', remove it if useless.
16742cat <<\_ACEOF >conftest.sed
16743s/[\\$]/&&/g;s/;s,x,x,$//
16744_ACEOF
16745program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16746rm conftest.sed
16747
16748
16749
16750
16751
16752if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16753 include_stdint_h="#include <stdint.h>"
16754else
16755 include_stdint_h="/* #include <stdint.h> */"
16756fi
16757if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16758 include_stdarg_h="#include <cstdarg>"
16759else
16760 include_stdarg_h="/* #include <cstdarg> */"
16761fi
16762if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16763 include_stdlib_h="#include <cstdlib>"
16764else
16765 include_stdlib_h="/* #include <cstdlib> */"
16766fi
16767if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16768 include_unistd_h="#include <unistd.h>"
16769else
16770 include_unistd_h="/* #include <unistd.h> */"
16771fi
16772if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16773 include_string_h="#include <cstring>"
16774else
16775 include_string_h="/* #include <cstring> */"
16776fi
16777if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16778 include_fcntl_h="#include <fcntl.h>"
16779else
16780 include_fcntl_h="/* #include <fcntl.h> */"
16781fi
16782if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16783 include_util_h="#include <util.h>"
16784else
16785 include_util_h="/* #include <util.h> */"
16786fi
16787if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16788 include_assert_h="#include <assert.h>"
16789else
16790 include_assert_h="/* #include <assert.h> */"
16791fi
16792if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16793 include_sys_ioctl_h="#include <sys/ioctl.h>"
16794else
16795 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16796fi
16797if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16798 include_sys_select_h="#include <sys/select.h>"
16799else
16800 include_sys_select_h="/* #include <sys/select.h> */"
16801fi
16802if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16803 include_sys_strredir_h="#include <sys/strredir.h>"
16804else
16805 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16806fi
16807if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16808 include_sys_time_h="#include <sys/time.h>"
16809else
16810 include_sys_time_h="/* #include <sys/time.h> */"
16811fi
16812if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16813 include_time_h="#include <time.h>"
16814else
16815 include_time_h="/* #include <time.h> */"
16816fi
16817
16818if test x$support_xft = xyes; then 16504if test x$support_xft = xyes; then
16819 LIBS="$LIBS `pkg-config xft --libs`" 16505 LIBS="$LIBS `pkg-config xft --libs`"
16820 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 16506 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
16821 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 16507 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
16822 16508
17052cat >>confdefs.h <<\_ACEOF 16738cat >>confdefs.h <<\_ACEOF
17053#define XFT 1 16739#define XFT 1
17054_ACEOF 16740_ACEOF
17055 16741
17056 fi 16742 fi
16743fi
16744if test x$support_styles = xyes; then
16745
16746cat >>confdefs.h <<\_ACEOF
16747#define ENABLE_STYLES 1
16748_ACEOF
16749
16750fi
16751if test x$support_iso14755 = xyes; then
16752
16753cat >>confdefs.h <<\_ACEOF
16754#define ISO_14755 1
16755_ACEOF
16756
16757fi
16758if test x$support_8bitctrls = xyes; then
16759
16760cat >>confdefs.h <<\_ACEOF
16761#define EIGHT_BIT_CONTROLS 1
16762_ACEOF
16763
16764fi
16765if test x$support_fading = xyes; then
16766
16767cat >>confdefs.h <<\_ACEOF
16768#define OFF_FOCUS_FADING 1
16769_ACEOF
16770
16771fi
16772if test x$support_tinting = xyes; then
16773
16774cat >>confdefs.h <<\_ACEOF
16775#define TINTING 1
16776_ACEOF
16777
16778fi
16779if test x$support_inheritpixmap = xyes; then
16780
16781cat >>confdefs.h <<\_ACEOF
16782#define TRANSPARENT 1
16783_ACEOF
16784
16785fi
16786if test x$support_keepscrolling = xno; then
16787
16788cat >>confdefs.h <<\_ACEOF
16789#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16790_ACEOF
16791
16792fi
16793if test x$support_selectionscrolling = xyes; then
16794
16795cat >>confdefs.h <<\_ACEOF
16796#define SELECTION_SCROLLING 1
16797_ACEOF
16798
16799fi
16800if test x$support_menubar = xyes; then
16801
16802cat >>confdefs.h <<\_ACEOF
16803#define MENUBAR 1
16804_ACEOF
16805
16806fi
16807if test x$support_frills = xyes; then
16808
16809cat >>confdefs.h <<\_ACEOF
16810#define ENABLE_FRILLS 1
16811_ACEOF
16812
16813fi
16814if test x$support_linespace = xno; then
16815
16816cat >>confdefs.h <<\_ACEOF
16817#define NO_LINESPACE 1
16818_ACEOF
16819
16820fi
16821if test x$support_24bit = xyes; then
16822
16823cat >>confdefs.h <<\_ACEOF
16824#define PREFER_24BIT 1
16825_ACEOF
16826
16827fi
16828if test x$support_mousewheel = xyes; then
16829
16830cat >>confdefs.h <<\_ACEOF
16831#define MOUSE_WHEEL 1
16832_ACEOF
16833
16834fi
16835if test x$support_mouseslipwheel = xyes; then
16836
16837cat >>confdefs.h <<\_ACEOF
16838#define MOUSE_SLIP_WHEELING 1
16839_ACEOF
16840
16841fi
16842if test x$support_utmp = xyes; then
16843
16844cat >>confdefs.h <<\_ACEOF
16845#define UTMP_SUPPORT 1
16846_ACEOF
16847
16848fi
16849if test x$support_wtmp = xyes; then
16850
16851cat >>confdefs.h <<\_ACEOF
16852#define WTMP_SUPPORT 1
16853_ACEOF
16854
16855fi
16856if test x$support_lastlog = xyes; then
16857
16858cat >>confdefs.h <<\_ACEOF
16859#define LASTLOG_SUPPORT 1
16860_ACEOF
16861
16862fi
16863if test x$support_xim = xyes -o x$multichar_set = xyes; then
16864 if test x$rxvt_cv_func_xlocale = xyes; then
16865
16866cat >>confdefs.h <<\_ACEOF
16867#define USE_XIM 1
16868_ACEOF
16869
16870 fi
16871fi
16872if test x$support_xpm = xyes; then
16873
16874cat >>confdefs.h <<\_ACEOF
16875#define XPM_BACKGROUND 1
16876_ACEOF
16877
16878fi
16879if test x$support_scroll_rxvt = xyes; then
16880
16881cat >>confdefs.h <<\_ACEOF
16882#define RXVT_SCROLLBAR 1
16883_ACEOF
16884
16885 scrolltypes="rxvt"
16886fi
16887if test x$support_scroll_next = xyes; then
16888
16889cat >>confdefs.h <<\_ACEOF
16890#define NEXT_SCROLLBAR 1
16891_ACEOF
16892
16893 scrolltypes="$scrolltypes next"
16894fi
16895if test x$support_scroll_xterm = xyes; then
16896
16897cat >>confdefs.h <<\_ACEOF
16898#define XTERM_SCROLLBAR 1
16899_ACEOF
16900
16901 scrolltypes="$scrolltypes xterm"
16902fi
16903if test x$support_scroll_plain = xyes; then
16904
16905cat >>confdefs.h <<\_ACEOF
16906#define PLAIN_SCROLLBAR 1
16907_ACEOF
16908
16909 scrolltypes="$scrolltypes plain"
16910fi
16911if test x$support_pointer_blank = xyes; then
16912
16913cat >>confdefs.h <<\_ACEOF
16914#define POINTER_BLANK 1
16915_ACEOF
16916
16917fi
16918if test x$support_cursor_blink = xyes; then
16919
16920cat >>confdefs.h <<\_ACEOF
16921#define CURSOR_BLINK 1
16922_ACEOF
16923
16924fi
16925if test x$support_text_blink = xyes; then
16926
16927cat >>confdefs.h <<\_ACEOF
16928#define TEXT_BLINK 1
16929_ACEOF
16930
16931fi
16932if test x$support_unicode3 = xyes; then
16933
16934cat >>confdefs.h <<\_ACEOF
16935#define UNICODE_3 1
16936_ACEOF
16937
16938fi
16939if test x$support_combining = xyes; then
16940
16941cat >>confdefs.h <<\_ACEOF
16942#define ENABLE_COMBINING 1
16943_ACEOF
16944
16945fi
16946if test x$codesets = xall; then
16947 codesets=jp,jp-ext,kr,cn,cn-ext
16948fi
16949
16950cat >>confdefs.h <<\_ACEOF
16951#define ENCODING_EU 1
16952_ACEOF
16953
16954
16955cat >>confdefs.h <<\_ACEOF
16956#define ENCODING_VN 1
16957_ACEOF
16958
16959for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16960 case "$codeset" in
16961 JP )
16962cat >>confdefs.h <<\_ACEOF
16963#define ENCODING_JP 1
16964_ACEOF
16965 ;;
16966 JP_EXT )
16967cat >>confdefs.h <<\_ACEOF
16968#define ENCODING_JP_EXT 1
16969_ACEOF
16970 ;;
16971 KR )
16972cat >>confdefs.h <<\_ACEOF
16973#define ENCODING_KR 1
16974_ACEOF
16975 ;;
16976 CN )
16977cat >>confdefs.h <<\_ACEOF
16978#define ENCODING_CN 1
16979_ACEOF
16980 ;;
16981 CN_EXT )
16982cat >>confdefs.h <<\_ACEOF
16983#define ENCODING_CN_EXT 1
16984_ACEOF
16985 ;;
16986 esac
16987done
16988
16989
16990CFLAGS=${CFLAGS--O}
16991LDFLAGS=${LDFLAGS--O}
16992
16993CPPFLAGS="$CPPFLAGS"
16994
16995
16996
16997
16998
16999
17000
17001if 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"`
17007fi
17008
17009
17010
17011
17012
17013if test x$support_addstrings = xno; then
17014
17015cat >>confdefs.h <<\_ACEOF
17016#define NO_STRINGS 1
17017_ACEOF
17018
17019fi
17020
17021MCOMMON=./autoconf/Make.common
17022
17023
17024test "$program_prefix" != NONE &&
17025 program_transform_name="s,^,$program_prefix,;$program_transform_name"
17026# Use a double $ so make ignores it.
17027test "$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.
17031cat <<\_ACEOF >conftest.sed
17032s/[\\$]/&&/g;s/;s,x,x,$//
17033_ACEOF
17034program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
17035rm conftest.sed
17036
17037
17038
17039
17040
17041if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
17042 include_stdint_h="#include <stdint.h>"
17043else
17044 include_stdint_h="/* #include <stdint.h> */"
17045fi
17046if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
17047 include_stdarg_h="#include <cstdarg>"
17048else
17049 include_stdarg_h="/* #include <cstdarg> */"
17050fi
17051if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
17052 include_stdlib_h="#include <cstdlib>"
17053else
17054 include_stdlib_h="/* #include <cstdlib> */"
17055fi
17056if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
17057 include_unistd_h="#include <unistd.h>"
17058else
17059 include_unistd_h="/* #include <unistd.h> */"
17060fi
17061if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
17062 include_string_h="#include <cstring>"
17063else
17064 include_string_h="/* #include <cstring> */"
17065fi
17066if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
17067 include_fcntl_h="#include <fcntl.h>"
17068else
17069 include_fcntl_h="/* #include <fcntl.h> */"
17070fi
17071if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
17072 include_util_h="#include <util.h>"
17073else
17074 include_util_h="/* #include <util.h> */"
17075fi
17076if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
17077 include_assert_h="#include <assert.h>"
17078else
17079 include_assert_h="/* #include <assert.h> */"
17080fi
17081if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
17082 include_sys_ioctl_h="#include <sys/ioctl.h>"
17083else
17084 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
17085fi
17086if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
17087 include_sys_select_h="#include <sys/select.h>"
17088else
17089 include_sys_select_h="/* #include <sys/select.h> */"
17090fi
17091if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
17092 include_sys_strredir_h="#include <sys/strredir.h>"
17093else
17094 include_sys_strredir_h="/* #include <sys/strredir.h> */"
17095fi
17096if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
17097 include_sys_time_h="#include <sys/time.h>"
17098else
17099 include_sys_time_h="/* #include <sys/time.h> */"
17100fi
17101if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
17102 include_time_h="#include <time.h>"
17103else
17104 include_time_h="/* #include <time.h> */"
17057fi 17105fi
17058 17106
17059 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"
17060 17108
17061cat >confcache <<\_ACEOF 17109cat >confcache <<\_ACEOF
17719s,@CP@,$CP,;t t 17767s,@CP@,$CP,;t t
17720s,@LN@,$LN,;t t 17768s,@LN@,$LN,;t t
17721s,@SED@,$SED,;t t 17769s,@SED@,$SED,;t t
17722s,@CMP@,$CMP,;t t 17770s,@CMP@,$CMP,;t t
17723s,@TBL@,$TBL,;t t 17771s,@TBL@,$TBL,;t t
17772s,@TIC@,$TIC,;t t
17724s,@X_CFLAGS@,$X_CFLAGS,;t t 17773s,@X_CFLAGS@,$X_CFLAGS,;t t
17725s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 17774s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17726s,@X_LIBS@,$X_LIBS,;t t 17775s,@X_LIBS@,$X_LIBS,;t t
17727s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 17776s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17728s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 17777s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines