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

Comparing rxvt-unicode/configure (file contents):
Revision 1.31 by root, Fri Jul 30 16:04:05 2004 UTC vs.
Revision 1.40 by root, Sun Sep 5 09:32:59 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
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
1075Optional Packages: 1076Optional Packages:
1536 1537
1537 1538
1538 1539
1539 1540
1540 1541
1542
1541ac_aux_dir= 1543ac_aux_dir=
1542for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1543 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1544 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1545 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
5236# 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
5237# libtool support. 5239# libtool support.
5238case "$host" in 5240case "$host" in
5239*-*-irix6*) 5241*-*-irix6*)
5240 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
5241 echo '#line 5241 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5243 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
5244 ac_status=$? 5246 ac_status=$?
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
5787# builds. 5789# builds.
5788chmod -w . 5790chmod -w .
5789save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5790CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5791compiler_c_o=no 5793compiler_c_o=no
5792if { (eval echo configure:5792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5794if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5793 # 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
5794 # So say no if there are warnings 5796 # So say no if there are warnings
5795 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5796 compiler_c_o=no 5798 compiler_c_o=no
5797 else 5799 else
7403 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
7404else 7406else
7405 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7406 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
7407 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
7408#line 7408 "configure" 7410#line 7410 "configure"
7409#include "confdefs.h" 7411#include "confdefs.h"
7410 7412
7411#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
7412#include <dlfcn.h> 7414#include <dlfcn.h>
7413#endif 7415#endif
7501 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
7502else 7504else
7503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7504 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
7505 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
7506#line 7506 "configure" 7508#line 7508 "configure"
7507#include "confdefs.h" 7509#include "confdefs.h"
7508 7510
7509#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
7510#include <dlfcn.h> 7512#include <dlfcn.h>
7511#endif 7513#endif
8257support_xpm=no 8259support_xpm=no
8258support_xft=no 8260support_xft=no
8259support_unicode3=no 8261support_unicode3=no
8260support_combining=no 8262support_combining=no
8261support_8bitctrls=no 8263support_8bitctrls=no
8264support_iso14755=no
8265support_styles=no
8262codesets= 8266codesets=
8263 8267
8264 8268
8265if test "x$enable_shared" = xyes; then 8269if test "x$enable_shared" = xyes; then
8266 8270
8301 support_xpm=yes 8305 support_xpm=yes
8302 support_xft=yes 8306 support_xft=yes
8303 support_unicode3=yes 8307 support_unicode3=yes
8304 support_combining=yes 8308 support_combining=yes
8305 #support_8bitctrls=yes 8309 #support_8bitctrls=yes
8310 support_iso14755=yes
8311 support_styles=yes
8306 codesets=all 8312 codesets=all
8307 fi 8313 fi
8308fi; 8314fi;
8309 8315
8310# Check whether --enable-unicode3 or --disable-unicode3 was given. 8316# Check whether --enable-unicode3 or --disable-unicode3 was given.
8311if test "${enable_unicode3+set}" = set; then 8317if test "${enable_unicode3+set}" = set; then
8312 enableval="$enable_unicode3" 8318 enableval="$enable_unicode3"
8313 if test x$enableval = xyes -o x$enableval = xno; then 8319 if test x$enableval = xyes -o x$enableval = xno; then
8314 support_unicode3=yes 8320 support_unicode3=$enableval
8315 fi 8321 fi
8316fi; 8322fi;
8317 8323
8318# Check whether --enable-combining or --disable-combining was given. 8324# Check whether --enable-combining or --disable-combining was given.
8319if test "${enable_combining+set}" = set; then 8325if test "${enable_combining+set}" = set; then
8320 enableval="$enable_combining" 8326 enableval="$enable_combining"
8321 if test x$enableval = xyes -o x$enableval = xno; then 8327 if test x$enableval = xyes -o x$enableval = xno; then
8322 support_combining=yes 8328 support_combining=$enableval
8323 fi 8329 fi
8324fi; 8330fi;
8325 8331
8326# Check whether --enable-xft or --disable-xft was given. 8332# Check whether --enable-xft or --disable-xft was given.
8327if test "${enable_xft+set}" = set; then 8333if test "${enable_xft+set}" = set; then
8328 enableval="$enable_xft" 8334 enableval="$enable_xft"
8329 if test x$enableval = xyes -o x$enableval = xno; then 8335 if test x$enableval = xyes -o x$enableval = xno; then
8330 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
8331 fi 8345 fi
8332fi; 8346fi;
8333 8347
8334# Check whether --enable-utmp or --disable-utmp was given. 8348# Check whether --enable-utmp or --disable-utmp was given.
8335if test "${enable_utmp+set}" = set; then 8349if test "${enable_utmp+set}" = set; then
8516 8530
8517# Check whether --enable-8bitctrls or --disable-8bitctrls was given. 8531# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8518if test "${enable_8bitctrls+set}" = set; then 8532if test "${enable_8bitctrls+set}" = set; then
8519 enableval="$enable_8bitctrls" 8533 enableval="$enable_8bitctrls"
8520 if test x$enableval = xyes -o x$enableval = xno; then 8534 if test x$enableval = xyes -o x$enableval = xno; then
8521 support_8bitctrls=yes 8535 support_8bitctrls=$enableval
8522 fi 8536 fi
8523fi; 8537fi;
8524 8538
8525RESFALLBACK=Rxvt 8539RESFALLBACK=Rxvt
8526# Check whether --enable-fallback or --disable-fallback was given. 8540# Check whether --enable-fallback or --disable-fallback was given.
8572# Check whether --with-name or --without-name was given. 8586# Check whether --with-name or --without-name was given.
8573if test "${with_name+set}" = set; then 8587if test "${with_name+set}" = set; then
8574 withval="$with_name" 8588 withval="$with_name"
8575 RXVTNAME="$withval" 8589 RXVTNAME="$withval"
8576fi; 8590fi;
8591
8592cat >>confdefs.h <<_ACEOF
8593#define RXVTNAME "$RXVTNAME"
8594_ACEOF
8595
8577 8596
8578RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 8597RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8579 8598
8580 8599
8581# Check whether --enable-strings or --disable-strings was given. 8600# Check whether --enable-strings or --disable-strings was given.
8593 8612
8594cat >>confdefs.h <<\_ACEOF 8613cat >>confdefs.h <<\_ACEOF
8595#define NO_SECONDARY_SCREEN 1 8614#define NO_SECONDARY_SCREEN 1
8596_ACEOF 8615_ACEOF
8597 8616
8617 fi
8618fi;
8619
8620# Check whether --enable-iso14755 or --disable-iso14755 was given.
8621if test "${enable_iso14755+set}" = set; then
8622 enableval="$enable_iso14755"
8623 if test x$enableval = xyes -o x$enableval = xno; then
8624 support_iso14755=$enableval
8598 fi 8625 fi
8599fi; 8626fi;
8600 8627
8601# Check whether --enable-frills or --disable-frills was given. 8628# Check whether --enable-frills or --disable-frills was given.
8602if test "${enable_frills+set}" = set; then 8629if test "${enable_frills+set}" = set; then
8681 enableval="$enable_smart_resize" 8708 enableval="$enable_smart_resize"
8682 if test x$enableval = xyes; then 8709 if test x$enableval = xyes; then
8683 8710
8684cat >>confdefs.h <<\_ACEOF 8711cat >>confdefs.h <<\_ACEOF
8685#define SMART_RESIZE 1 8712#define SMART_RESIZE 1
8686_ACEOF
8687
8688 fi
8689fi;
8690
8691# Check whether --enable-256-color or --disable-256-color was given.
8692if test "${enable_256_color+set}" = set; then
8693 enableval="$enable_256_color"
8694 if test x$enableval = xyes; then
8695
8696cat >>confdefs.h <<\_ACEOF
8697#define TTY_256COLOR 1
8698_ACEOF 8713_ACEOF
8699 8714
8700 fi 8715 fi
8701fi; 8716fi;
8702 8717
9076TBL=$ac_cv_path_TBL 9091TBL=$ac_cv_path_TBL
9077 9092
9078if test -n "$TBL"; then 9093if test -n "$TBL"; then
9079 echo "$as_me:$LINENO: result: $TBL" >&5 9094 echo "$as_me:$LINENO: result: $TBL" >&5
9080echo "${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
9081else 9135else
9082 echo "$as_me:$LINENO: result: no" >&5 9136 echo "$as_me:$LINENO: result: no" >&5
9083echo "${ECHO_T}no" >&6 9137echo "${ECHO_T}no" >&6
9084fi 9138fi
9085 9139
10911 10965
10912 10966
10913 10967
10914 10968
10915 10969
10970
10916for ac_header in \ 10971for ac_header in \
10917 assert.h \ 10972 assert.h \
10918 fcntl.h \ 10973 fcntl.h \
10919 grp.h \ 10974 grp.h \
10920 libc.h \ 10975 libc.h \
10927 sys/byteorder.h \ 10982 sys/byteorder.h \
10928 sys/ioctl.h \ 10983 sys/ioctl.h \
10929 sys/select.h \ 10984 sys/select.h \
10930 sys/sockio.h \ 10985 sys/sockio.h \
10931 sys/strredir.h \ 10986 sys/strredir.h \
10987 sys/stropts.h \
10932 sys/time.h \ 10988 sys/time.h \
10933 utmp.h \ 10989 utmp.h \
10934 utmpx.h \ 10990 utmpx.h \
10935 stdint.h \ 10991 stdint.h \
10936 10992
11722cat >>confdefs.h <<\_ACEOF 11778cat >>confdefs.h <<\_ACEOF
11723#define gid_t int 11779#define gid_t int
11724_ACEOF 11780_ACEOF
11725 11781
11726fi 11782fi
11727
11728 11783
11729 11784
11730echo "$as_me:$LINENO: checking for char" >&5 11785echo "$as_me:$LINENO: checking for char" >&5
11731echo $ECHO_N "checking for char... $ECHO_C" >&6 11786echo $ECHO_N "checking for char... $ECHO_C" >&6
11732if test "${ac_cv_type_char+set}" = set; then 11787if test "${ac_cv_type_char+set}" = set; then
16444#define PTYCHAR2 "$pch2" 16499#define PTYCHAR2 "$pch2"
16445_ACEOF 16500_ACEOF
16446 16501
16447fi 16502fi
16448 16503
16449if test x$support_8bitctrls = xyes; then
16450
16451cat >>confdefs.h <<\_ACEOF
16452#define EIGHT_BIT_CONTROLS 1
16453_ACEOF
16454
16455fi
16456if test x$support_fading = xyes; then
16457
16458cat >>confdefs.h <<\_ACEOF
16459#define OFF_FOCUS_FADING 1
16460_ACEOF
16461
16462fi
16463if test x$support_tinting = xyes; then
16464
16465cat >>confdefs.h <<\_ACEOF
16466#define TINTING 1
16467_ACEOF
16468
16469fi
16470if test x$support_inheritpixmap = xyes; then
16471
16472cat >>confdefs.h <<\_ACEOF
16473#define TRANSPARENT 1
16474_ACEOF
16475
16476fi
16477if test x$support_keepscrolling = xno; then
16478
16479cat >>confdefs.h <<\_ACEOF
16480#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16481_ACEOF
16482
16483fi
16484if test x$support_selectionscrolling = xyes; then
16485
16486cat >>confdefs.h <<\_ACEOF
16487#define SELECTION_SCROLLING 1
16488_ACEOF
16489
16490fi
16491if test x$support_menubar = xyes; then
16492
16493cat >>confdefs.h <<\_ACEOF
16494#define MENUBAR 1
16495_ACEOF
16496
16497fi
16498if test x$support_frills = xno; then
16499
16500cat >>confdefs.h <<\_ACEOF
16501#define NO_FRILLS 1
16502_ACEOF
16503
16504fi
16505if test x$support_linespace = xno; then
16506
16507cat >>confdefs.h <<\_ACEOF
16508#define NO_LINESPACE 1
16509_ACEOF
16510
16511fi
16512if test x$support_24bit = xyes; then
16513
16514cat >>confdefs.h <<\_ACEOF
16515#define PREFER_24BIT 1
16516_ACEOF
16517
16518fi
16519if test x$support_mousewheel = xyes; then
16520
16521cat >>confdefs.h <<\_ACEOF
16522#define MOUSE_WHEEL 1
16523_ACEOF
16524
16525fi
16526if test x$support_mouseslipwheel = xyes; then
16527
16528cat >>confdefs.h <<\_ACEOF
16529#define MOUSE_SLIP_WHEELING 1
16530_ACEOF
16531
16532fi
16533if test x$support_utmp = xyes; then
16534
16535cat >>confdefs.h <<\_ACEOF
16536#define UTMP_SUPPORT 1
16537_ACEOF
16538
16539fi
16540if test x$support_wtmp = xyes; then
16541
16542cat >>confdefs.h <<\_ACEOF
16543#define WTMP_SUPPORT 1
16544_ACEOF
16545
16546fi
16547if test x$support_lastlog = xyes; then
16548
16549cat >>confdefs.h <<\_ACEOF
16550#define LASTLOG_SUPPORT 1
16551_ACEOF
16552
16553fi
16554if test x$support_xim = xyes -o x$multichar_set = xyes; then
16555 if test x$rxvt_cv_func_xlocale = xyes; then
16556
16557cat >>confdefs.h <<\_ACEOF
16558#define USE_XIM 1
16559_ACEOF
16560
16561 fi
16562fi
16563if test x$support_xpm = xyes; then
16564
16565cat >>confdefs.h <<\_ACEOF
16566#define XPM_BACKGROUND 1
16567_ACEOF
16568
16569fi
16570if test x$support_scroll_rxvt = xyes; then
16571
16572cat >>confdefs.h <<\_ACEOF
16573#define RXVT_SCROLLBAR 1
16574_ACEOF
16575
16576 scrolltypes="rxvt"
16577fi
16578if test x$support_scroll_next = xyes; then
16579
16580cat >>confdefs.h <<\_ACEOF
16581#define NEXT_SCROLLBAR 1
16582_ACEOF
16583
16584 scrolltypes="$scrolltypes next"
16585fi
16586if test x$support_scroll_xterm = xyes; then
16587
16588cat >>confdefs.h <<\_ACEOF
16589#define XTERM_SCROLLBAR 1
16590_ACEOF
16591
16592 scrolltypes="$scrolltypes xterm"
16593fi
16594if test x$support_scroll_plain = xyes; then
16595
16596cat >>confdefs.h <<\_ACEOF
16597#define PLAIN_SCROLLBAR 1
16598_ACEOF
16599
16600 scrolltypes="$scrolltypes plain"
16601fi
16602if test x$support_pointer_blank = xyes; then
16603
16604cat >>confdefs.h <<\_ACEOF
16605#define POINTER_BLANK 1
16606_ACEOF
16607
16608fi
16609if test x$support_cursor_blink = xyes; then
16610
16611cat >>confdefs.h <<\_ACEOF
16612#define CURSOR_BLINK 1
16613_ACEOF
16614
16615fi
16616if test x$support_text_blink = xyes; then
16617
16618cat >>confdefs.h <<\_ACEOF
16619#define TEXT_BLINK 1
16620_ACEOF
16621
16622fi
16623if test x$support_unicode3 = xyes; then
16624
16625cat >>confdefs.h <<\_ACEOF
16626#define UNICODE_3 1
16627_ACEOF
16628
16629fi
16630if test x$support_combining = xyes; then
16631
16632cat >>confdefs.h <<\_ACEOF
16633#define ENABLE_COMBINING 1
16634_ACEOF
16635
16636fi
16637if test x$codesets = xall; then
16638 codesets=jp,jp-ext,kr,cn,cn-ext
16639fi
16640for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16641
16642cat >>confdefs.h <<\_ACEOF
16643#define ENCODING_EU 1
16644_ACEOF
16645
16646
16647cat >>confdefs.h <<\_ACEOF
16648#define ENCODING_VN 1
16649_ACEOF
16650
16651 case "$codeset" in
16652 JP )
16653cat >>confdefs.h <<\_ACEOF
16654#define ENCODING_JP 1
16655_ACEOF
16656 ;;
16657 JP_EXT )
16658cat >>confdefs.h <<\_ACEOF
16659#define ENCODING_JP_EXT 1
16660_ACEOF
16661 ;;
16662 KR )
16663cat >>confdefs.h <<\_ACEOF
16664#define ENCODING_KR 1
16665_ACEOF
16666 ;;
16667 CN )
16668cat >>confdefs.h <<\_ACEOF
16669#define ENCODING_CN 1
16670_ACEOF
16671 ;;
16672 CN_EXT )
16673cat >>confdefs.h <<\_ACEOF
16674#define ENCODING_CN_EXT 1
16675_ACEOF
16676 ;;
16677 esac
16678done
16679
16680
16681CFLAGS=${CFLAGS--O}
16682LDFLAGS=${LDFLAGS--O}
16683
16684CPPFLAGS="$CPPFLAGS"
16685
16686
16687
16688
16689
16690
16691
16692if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16693 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16694 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16695 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16696 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16697 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16698fi
16699
16700
16701
16702
16703
16704if test x$support_addstrings = xno; then
16705
16706cat >>confdefs.h <<\_ACEOF
16707#define NO_STRINGS 1
16708_ACEOF
16709
16710fi
16711
16712MCOMMON=./autoconf/Make.common
16713
16714
16715test "$program_prefix" != NONE &&
16716 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16717# Use a double $ so make ignores it.
16718test "$program_suffix" != NONE &&
16719 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16720# Double any \ or $. echo might interpret backslashes.
16721# By default was `s,x,x', remove it if useless.
16722cat <<\_ACEOF >conftest.sed
16723s/[\\$]/&&/g;s/;s,x,x,$//
16724_ACEOF
16725program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16726rm conftest.sed
16727
16728
16729
16730
16731
16732if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16733 include_stdint_h="#include <stdint.h>"
16734else
16735 include_stdint_h="/* #include <stdint.h> */"
16736fi
16737if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16738 include_stdarg_h="#include <cstdarg>"
16739else
16740 include_stdarg_h="/* #include <cstdarg> */"
16741fi
16742if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16743 include_stdlib_h="#include <cstdlib>"
16744else
16745 include_stdlib_h="/* #include <cstdlib> */"
16746fi
16747if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16748 include_unistd_h="#include <unistd.h>"
16749else
16750 include_unistd_h="/* #include <unistd.h> */"
16751fi
16752if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16753 include_string_h="#include <cstring>"
16754else
16755 include_string_h="/* #include <cstring> */"
16756fi
16757if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16758 include_fcntl_h="#include <fcntl.h>"
16759else
16760 include_fcntl_h="/* #include <fcntl.h> */"
16761fi
16762if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16763 include_util_h="#include <util.h>"
16764else
16765 include_util_h="/* #include <util.h> */"
16766fi
16767if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16768 include_assert_h="#include <assert.h>"
16769else
16770 include_assert_h="/* #include <assert.h> */"
16771fi
16772if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16773 include_sys_ioctl_h="#include <sys/ioctl.h>"
16774else
16775 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16776fi
16777if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16778 include_sys_select_h="#include <sys/select.h>"
16779else
16780 include_sys_select_h="/* #include <sys/select.h> */"
16781fi
16782if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16783 include_sys_strredir_h="#include <sys/strredir.h>"
16784else
16785 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16786fi
16787if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16788 include_sys_time_h="#include <sys/time.h>"
16789else
16790 include_sys_time_h="/* #include <sys/time.h> */"
16791fi
16792if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16793 include_time_h="#include <time.h>"
16794else
16795 include_time_h="/* #include <time.h> */"
16796fi
16797
16798if test x$support_xft = xyes; then 16504if test x$support_xft = xyes; then
16799 LIBS="$LIBS `pkg-config xft --libs`" 16505 LIBS="$LIBS `pkg-config xft --libs`"
16800 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 16506 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
16801 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 16507 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
16802 16508
17033#define XFT 1 16739#define XFT 1
17034_ACEOF 16740_ACEOF
17035 16741
17036 fi 16742 fi
17037fi 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,zh,zh-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 ZH )
16977cat >>confdefs.h <<\_ACEOF
16978#define ENCODING_ZH 1
16979_ACEOF
16980 ;;
16981 ZH_EXT )
16982cat >>confdefs.h <<\_ACEOF
16983#define ENCODING_ZH_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> */"
17105fi
17038 17106
17039 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
17040cat >confcache <<\_ACEOF 17109cat >confcache <<\_ACEOF
17041# 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
17042# 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
17043# scripts and configure runs, see configure's option --config-cache. 17112# scripts and configure runs, see configure's option --config-cache.
17044# 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
17698s,@CP@,$CP,;t t 17767s,@CP@,$CP,;t t
17699s,@LN@,$LN,;t t 17768s,@LN@,$LN,;t t
17700s,@SED@,$SED,;t t 17769s,@SED@,$SED,;t t
17701s,@CMP@,$CMP,;t t 17770s,@CMP@,$CMP,;t t
17702s,@TBL@,$TBL,;t t 17771s,@TBL@,$TBL,;t t
17772s,@TIC@,$TIC,;t t
17703s,@X_CFLAGS@,$X_CFLAGS,;t t 17773s,@X_CFLAGS@,$X_CFLAGS,;t t
17704s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 17774s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17705s,@X_LIBS@,$X_LIBS,;t t 17775s,@X_LIBS@,$X_LIBS,;t t
17706s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 17776s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17707s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 17777s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines