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

Comparing rxvt-unicode/configure (file contents):
Revision 1.13 by pcg, Mon Mar 1 01:06:45 2004 UTC vs.
Revision 1.24 by pcg, Fri Apr 2 17:59:49 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 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 RXVTNAME 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 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
1029 --disable-libtool-lock avoid locking (might break parallel builds) 1029 --disable-libtool-lock avoid locking (might break parallel builds)
1030 --enable-everything enable standard non-multichoice features 1030 --enable-everything enable standard non-multichoice features
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-xft enable xft support on systems that have it 1035 --enable-xft enable xft support on systems that have it
1035 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1036 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1037 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1038 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1039 --enable-transparency enable transparent backgrounds 1040 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg
1040 --enable-menubar enable menubar 1042 --enable-menubar enable menubar
1041 --enable-rxvt-scroll enable rxvt style scrollbar 1043 --enable-rxvt-scroll enable rxvt style scrollbar
1042 --enable-next-scroll enable NeXT style scrollbar 1044 --enable-next-scroll enable NeXT style scrollbar
1043 --enable-xterm-scroll enable Xterm style scrollbar 1045 --enable-xterm-scroll enable Xterm style scrollbar
1044 --enable-plain-scroll enable plain style scrollbar 1046 --enable-plain-scroll enable plain style scrollbar
1047 --enable-ttygid enable tty setting to group named "tty" 1049 --enable-ttygid enable tty setting to group named "tty"
1048 --disable-backspace-key disable handling of the backspace key 1050 --disable-backspace-key disable handling of the backspace key
1049 --disable-delete-key disable handling of the delete key 1051 --disable-delete-key disable handling of the delete key
1050 --disable-resources disable all resource checking 1052 --disable-resources disable all resource checking
1051 --enable-xgetdefault enable resources via X instead of our small version 1053 --enable-xgetdefault enable resources via X instead of our small version
1054 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1052 --enable-strings enable some replacement system functions 1055 --enable-strings enable some replacement system functions
1053 --disable-swapscreen disable swap screen support 1056 --disable-swapscreen disable swap screen support
1054 --enable-frills enable support for rarely used features 1057 --enable-frills enable support for rarely used features
1055 --enable-linespace enable support for linespace 1058 --enable-linespace enable support for linespace
1056 --enable-24bit enable support for using 24bit visuals if available 1059 --enable-24bit enable support for using 24bit visuals if available
1057 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1060 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1058 --enable-selectionscrolling enable scrolling during selections 1061 --enable-selectionscrolling enable scrolling during selections
1059 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1062 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1060 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1063 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1061 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1062 --disable-new-selection disable new mouse (xterm) selection style support
1063 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1064 --enable-dlmalloc enable Doug Lea's malloc - for production use 1065 --enable-dlmalloc enable Doug Lea's malloc - for production use
1065 NOTE: enable only one malloc package 1066 NOTE: enable only one malloc package
1066 --enable-smart-resize enable smart growth/shrink behaviour 1067 --enable-smart-resize enable smart growth/shrink behaviour
1067 --enable-256-color enable 256-color support 1068 --enable-256-color enable 256-color support
1072Optional Packages: 1073Optional Packages:
1073 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1074 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1074 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no 1076 --with-gnu-ld assume the C compiler uses GNU ld default=no
1076 --with-pic try to use only PIC/non-PIC objects default=use both 1077 --with-pic try to use only PIC/non-PIC objects default=use both
1077 --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1078 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all)
1079 --with-res-name=NAME use this as default resource name (default: urxvt)
1080 --with-res-class=CLASS use this as the resource class (default: URxvt)
1081 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1078 --with-term=NAME set the terminal to NAME (default \"rxvt\") 1082 --with-term=NAME set the terminal to NAME (default: rxvt)
1079 --with-terminfo=PATH set the path to the terminfo tree to PATH 1083 --with-terminfo=PATH set the path to the terminfo tree to PATH
1080 --with-x use the X Window System 1084 --with-x use the X Window System
1081 --with-xpm-includes=DIR use XPM includes in DIR 1085 --with-xpm-includes=DIR use XPM includes in DIR
1082 --with-xpm-library=DIR use XPM library in DIR 1086 --with-xpm-library=DIR use XPM library in DIR
1083 --with-xpm use XPM 1087 --with-xpm use XPM
3276LINKER=$LINKER 3280LINKER=$LINKER
3277 3281
3278 3282
3279CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3280 3284
3281if test x$GXX = xyes; then
3282 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3283fi
3284 3285
3285ac_ext=cc 3286ac_ext=cc
3286ac_cpp='$CXXCPP $CPPFLAGS' 3287ac_cpp='$CXXCPP $CPPFLAGS'
3287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5030# Some flags need to be propagated to the compiler or linker for good 5031# Some flags need to be propagated to the compiler or linker for good
5031# libtool support. 5032# libtool support.
5032case "$host" in 5033case "$host" in
5033*-*-irix6*) 5034*-*-irix6*)
5034 # Find out which ABI we are using. 5035 # Find out which ABI we are using.
5035 echo '#line 5035 "configure"' > conftest.$ac_ext 5036 echo '#line 5036 "configure"' > conftest.$ac_ext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037 (eval $ac_compile) 2>&5 5038 (eval $ac_compile) 2>&5
5038 ac_status=$? 5039 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; then 5041 (exit $ac_status); }; then
5581# builds. 5582# builds.
5582chmod -w . 5583chmod -w .
5583save_CFLAGS="$CFLAGS" 5584save_CFLAGS="$CFLAGS"
5584CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5585CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5585compiler_c_o=no 5586compiler_c_o=no
5586if { (eval echo configure:5586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5587if { (eval echo configure:5587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5587 # The compiler can only warn and ignore the option if not recognized 5588 # The compiler can only warn and ignore the option if not recognized
5588 # So say no if there are warnings 5589 # So say no if there are warnings
5589 if test -s out/conftest.err; then 5590 if test -s out/conftest.err; then
5590 compiler_c_o=no 5591 compiler_c_o=no
5591 else 5592 else
7197 lt_cv_dlopen_self=cross 7198 lt_cv_dlopen_self=cross
7198else 7199else
7199 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7200 lt_status=$lt_dlunknown 7201 lt_status=$lt_dlunknown
7201 cat > conftest.$ac_ext <<EOF 7202 cat > conftest.$ac_ext <<EOF
7202#line 7202 "configure" 7203#line 7203 "configure"
7203#include "confdefs.h" 7204#include "confdefs.h"
7204 7205
7205#if HAVE_DLFCN_H 7206#if HAVE_DLFCN_H
7206#include <dlfcn.h> 7207#include <dlfcn.h>
7207#endif 7208#endif
7295 lt_cv_dlopen_self_static=cross 7296 lt_cv_dlopen_self_static=cross
7296else 7297else
7297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7298 lt_status=$lt_dlunknown 7299 lt_status=$lt_dlunknown
7299 cat > conftest.$ac_ext <<EOF 7300 cat > conftest.$ac_ext <<EOF
7300#line 7300 "configure" 7301#line 7301 "configure"
7301#include "confdefs.h" 7302#include "confdefs.h"
7302 7303
7303#if HAVE_DLFCN_H 7304#if HAVE_DLFCN_H
7304#include <dlfcn.h> 7305#include <dlfcn.h>
7305#endif 7306#endif
8028MALLOC_TYPE=S 8029MALLOC_TYPE=S
8029support_addstrings=no 8030support_addstrings=no
8030support_frills=no 8031support_frills=no
8031support_linespace=no 8032support_linespace=no
8032support_inheritpixmap=no 8033support_inheritpixmap=no
8034support_tinting=no
8033support_keepscrolling=no 8035support_keepscrolling=no
8034support_selectionscrolling=no 8036support_selectionscrolling=no
8035support_menubar=no 8037support_menubar=no
8036support_mousewheel=no 8038support_mousewheel=no
8037support_mouseslipwheel=no 8039support_mouseslipwheel=no
8038support_oldselection=no
8039support_utmp=no 8040support_utmp=no
8040support_wtmp=no 8041support_wtmp=no
8041support_lastlog=no 8042support_lastlog=no
8042support_cursor_blink=no 8043support_cursor_blink=no
8043support_text_blink=no 8044support_text_blink=no
8048support_scroll_plain=no 8049support_scroll_plain=no
8049support_xim=no 8050support_xim=no
8050support_xpm=no 8051support_xpm=no
8051support_xft=no 8052support_xft=no
8052support_unicode3=no 8053support_unicode3=no
8054support_combining=no
8053codesets= 8055codesets=
8054 8056
8055 8057
8056if test "x$enable_shared" = xyes; then 8058if test "x$enable_shared" = xyes; then
8057 8059
8069 if test x$enableval = xyes; then 8071 if test x$enableval = xyes; then
8070 support_24bit=yes 8072 support_24bit=yes
8071 support_frills=yes 8073 support_frills=yes
8072 support_linespace=yes 8074 support_linespace=yes
8073 support_inheritpixmap=yes 8075 support_inheritpixmap=yes
8076 support_tinting=yes
8074 support_keepscrolling=yes 8077 support_keepscrolling=yes
8075 support_selectionscrolling=yes 8078 support_selectionscrolling=yes
8076 support_lastlog=yes 8079 support_lastlog=yes
8077 support_menubar=yes 8080 support_menubar=yes
8078 support_mousewheel=yes 8081 support_mousewheel=yes
8079 support_mouseslipwheel=yes 8082 support_mouseslipwheel=yes
8080 support_oldselection=yes
8081 support_cursor_blink=yes 8083 support_cursor_blink=yes
8082 support_text_blink=yes 8084 support_text_blink=yes
8083 support_pointer_blank=yes 8085 support_pointer_blank=yes
8084 support_scroll_rxvt=yes 8086 support_scroll_rxvt=yes
8085 support_scroll_next=yes 8087 support_scroll_next=yes
8089 support_wtmp=yes 8091 support_wtmp=yes
8090 support_xim=yes 8092 support_xim=yes
8091 support_xpm=yes 8093 support_xpm=yes
8092 support_xft=yes 8094 support_xft=yes
8093 support_unicode3=yes 8095 support_unicode3=yes
8096 support_combining=yes
8094 codesets=all 8097 codesets=all
8095 fi 8098 fi
8096fi; 8099fi;
8097 8100
8098# Check whether --enable-unicode3 or --disable-unicode3 was given. 8101# Check whether --enable-unicode3 or --disable-unicode3 was given.
8101 if test x$enableval = xyes -o x$enableval = xno; then 8104 if test x$enableval = xyes -o x$enableval = xno; then
8102 support_unicode3=yes 8105 support_unicode3=yes
8103 fi 8106 fi
8104fi; 8107fi;
8105 8108
8109# Check whether --enable-combining or --disable-combining was given.
8110if test "${enable_combining+set}" = set; then
8111 enableval="$enable_combining"
8112 if test x$enableval = xyes -o x$enableval = xno; then
8113 support_combining=yes
8114 fi
8115fi;
8116
8106# Check whether --enable-xft or --disable-xft was given. 8117# Check whether --enable-xft or --disable-xft was given.
8107if test "${enable_xft+set}" = set; then 8118if test "${enable_xft+set}" = set; then
8108 enableval="$enable_xft" 8119 enableval="$enable_xft"
8109 if test x$enableval = xyes -o x$enableval = xno; then 8120 if test x$enableval = xyes -o x$enableval = xno; then
8110 support_xft=yes 8121 support_xft=yes
8111 fi 8122 fi
8112fi; 8123fi;
8113 8124
8114
8115# Check whether --with-codesets or --without-codesets was given.
8116if test "${with_codesets+set}" = set; then
8117 withval="$with_codesets"
8118 codesets="$withval"
8119fi;
8120
8121# Check whether --enable-utmp or --disable-utmp was given. 8125# Check whether --enable-utmp or --disable-utmp was given.
8122if test "${enable_utmp+set}" = set; then 8126if test "${enable_utmp+set}" = set; then
8123 enableval="$enable_utmp" 8127 enableval="$enable_utmp"
8124 if test x$enableval = xyes -o x$enableval = xno; then 8128 if test x$enableval = xyes -o x$enableval = xno; then
8125 support_utmp=$enableval 8129 support_utmp=$enableval
8156 if test x$enableval = xyes -o x$enableval = xno; then 8160 if test x$enableval = xyes -o x$enableval = xno; then
8157 support_inheritpixmap=$enableval 8161 support_inheritpixmap=$enableval
8158 fi 8162 fi
8159fi; 8163fi;
8160 8164
8165# Check whether --enable-tinting or --disable-tinting was given.
8166if test "${enable_tinting+set}" = set; then
8167 enableval="$enable_tinting"
8168 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_tinting=$enableval
8170 fi
8171fi;
8172
8161# Check whether --enable-menubar or --disable-menubar was given. 8173# Check whether --enable-menubar or --disable-menubar was given.
8162if test "${enable_menubar+set}" = set; then 8174if test "${enable_menubar+set}" = set; then
8163 enableval="$enable_menubar" 8175 enableval="$enable_menubar"
8164 if test x$enableval = xyes -o x$enableval = xno; then 8176 if test x$enableval = xyes -o x$enableval = xno; then
8165 support_menubar=$enableval 8177 support_menubar=$enableval
8208_ACEOF 8220_ACEOF
8209 8221
8210 fi 8222 fi
8211fi; 8223fi;
8212 8224
8225
8226# Check whether --with-codesets or --without-codesets was given.
8227if test "${with_codesets+set}" = set; then
8228 withval="$with_codesets"
8229 codesets="$withval"
8230fi;
8231
8213# Check whether --enable-xim or --disable-xim was given. 8232# Check whether --enable-xim or --disable-xim was given.
8214if test "${enable_xim+set}" = set; then 8233if test "${enable_xim+set}" = set; then
8215 enableval="$enable_xim" 8234 enableval="$enable_xim"
8216 if test x$enableval = xyes -o x$enableval = xno; then 8235 if test x$enableval = xyes -o x$enableval = xno; then
8217 support_xim=$enableval 8236 support_xim=$enableval
8276_ACEOF 8295_ACEOF
8277 8296
8278 fi 8297 fi
8279fi; 8298fi;
8280 8299
8300RESFALLBACK=Rxvt
8301# Check whether --enable-fallback or --disable-fallback was given.
8302if test "${enable_fallback+set}" = set; then
8303 enableval="$enable_fallback"
8304
8305 test x$enableval = xyes && enableval=Rxvt
8306 test x$enableval = xno && enableval=
8307 RESFALLBACK="$enableval"
8308
8309fi;
8310
8311if test x$RESFALLBACK != x; then
8312
8313cat >>confdefs.h <<_ACEOF
8314#define RESFALLBACK "$RESFALLBACK"
8315_ACEOF
8316
8317fi
8318
8319RESNAME=urxvt
8320
8321# Check whether --with-res-name or --without-res-name was given.
8322if test "${with_res_name+set}" = set; then
8323 withval="$with_res_name"
8324 RESNAME="$withval"
8325fi;
8326
8327cat >>confdefs.h <<_ACEOF
8328#define RESNAME "$RESNAME"
8329_ACEOF
8330
8331
8332RESCLASS=URxvt
8333
8334# Check whether --with-res-class or --without-res-class was given.
8335if test "${with_res_class+set}" = set; then
8336 withval="$with_res_class"
8337 RESCLASS="$withval"
8338fi;
8339
8340cat >>confdefs.h <<_ACEOF
8341#define RESCLASS "$RESCLASS"
8342_ACEOF
8343
8344
8345RXVTNAME=urxvt
8346
8347# Check whether --with-name or --without-name was given.
8348if test "${with_name+set}" = set; then
8349 withval="$with_name"
8350 RXVTNAME="$withval"
8351fi;
8352
8353RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8354
8355
8281# Check whether --enable-strings or --disable-strings was given. 8356# Check whether --enable-strings or --disable-strings was given.
8282if test "${enable_strings+set}" = set; then 8357if test "${enable_strings+set}" = set; then
8283 enableval="$enable_strings" 8358 enableval="$enable_strings"
8284 if test x$enableval = xyes -o x$enableval = xno; then 8359 if test x$enableval = xyes -o x$enableval = xno; then
8285 support_addstrings=$enableval 8360 support_addstrings=$enableval
8349# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8424# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8350if test "${enable_slipwheeling+set}" = set; then 8425if test "${enable_slipwheeling+set}" = set; then
8351 enableval="$enable_slipwheeling" 8426 enableval="$enable_slipwheeling"
8352 if test x$enableval = xyes -o x$enableval = xno; then 8427 if test x$enableval = xyes -o x$enableval = xno; then
8353 support_mouseslipwheel=$enableval 8428 support_mouseslipwheel=$enableval
8354 fi
8355fi;
8356
8357# Check whether --enable-old-selection or --disable-old-selection was given.
8358if test "${enable_old_selection+set}" = set; then
8359 enableval="$enable_old_selection"
8360 if test x$enableval = xyes -o x$enableval = xno; then
8361 support_oldselection=$enableval
8362 fi
8363fi;
8364
8365# Check whether --enable-new-selection or --disable-new-selection was given.
8366if test "${enable_new_selection+set}" = set; then
8367 enableval="$enable_new_selection"
8368 if test x$enableval = xno; then
8369
8370cat >>confdefs.h <<\_ACEOF
8371#define NO_NEW_SELECTION 1
8372_ACEOF
8373
8374 fi 8429 fi
8375fi; 8430fi;
8376 8431
8377# Check whether --enable-dmalloc or --disable-dmalloc was given. 8432# Check whether --enable-dmalloc or --disable-dmalloc was given.
8378if test "${enable_dmalloc+set}" = set; then 8433if test "${enable_dmalloc+set}" = set; then
8804fi 8859fi
8805 8860
8806 8861
8807 8862
8808 8863
8864
8865if test "x$ac_path_x_has_been_run" != xyes; then
8809echo "$as_me:$LINENO: checking for X" >&5 8866 echo "$as_me:$LINENO: checking for X" >&5
8810echo $ECHO_N "checking for X... $ECHO_C" >&6 8867echo $ECHO_N "checking for X... $ECHO_C" >&6
8811 8868
8869ac_path_x_has_been_run=yes
8812 8870
8813# Check whether --with-x or --without-x was given. 8871# Check whether --with-x or --without-x was given.
8814if test "${with_x+set}" = set; then 8872if test "${with_x+set}" = set; then
8815 withval="$with_x" 8873 withval="$with_x"
8816 8874
8899 8957
8900/usr/openwin/include 8958/usr/openwin/include
8901/usr/openwin/share/include' 8959/usr/openwin/share/include'
8902 8960
8903if test "$ac_x_includes" = no; then 8961if test "$ac_x_includes" = no; then
8904 # Guess where to find include files, by looking for Intrinsic.h. 8962 # Guess where to find include files, by looking for a specified header file.
8905 # First, try using that file with no special directory specified. 8963 # First, try using that file with no special directory specified.
8906 cat >conftest.$ac_ext <<_ACEOF 8964 cat >conftest.$ac_ext <<_ACEOF
8907/* confdefs.h. */ 8965/* confdefs.h. */
8908_ACEOF 8966_ACEOF
8909cat confdefs.h >>conftest.$ac_ext 8967cat confdefs.h >>conftest.$ac_ext
9033 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9091 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9034 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9092 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9035 # Update the cache value to reflect the command line values. 9093 # Update the cache value to reflect the command line values.
9036 ac_cv_have_x="have_x=yes \ 9094 ac_cv_have_x="have_x=yes \
9037 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9095 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9096 # It might be that x_includes is empty (headers are found in the
9097 # standard search path. Then output the corresponding message
9098 ac_out_x_includes=$x_includes
9099 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9038 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9100 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9039echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9101echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9040fi 9102fi
9041 9103
9104fi
9042if test "$no_x" = yes; then 9105if test "$no_x" = yes; then
9043 # Not all programs may use this symbol, but it does not hurt to define it. 9106 # Not all programs may use this symbol, but it does not hurt to define it.
9044 9107
9045cat >>confdefs.h <<\_ACEOF 9108cat >>confdefs.h <<\_ACEOF
9046#define X_DISPLAY_MISSING 1 9109#define X_DISPLAY_MISSING 1
15799/* confdefs.h. */ 15862/* confdefs.h. */
15800_ACEOF 15863_ACEOF
15801cat confdefs.h >>conftest.$ac_ext 15864cat confdefs.h >>conftest.$ac_ext
15802cat >>conftest.$ac_ext <<_ACEOF 15865cat >>conftest.$ac_ext <<_ACEOF
15803/* end confdefs.h. */ 15866/* end confdefs.h. */
15804#include <locale.h> 15867#include <clocale>
15805int 15868int
15806main () 15869main ()
15807{ 15870{
15808setlocale(LC_CTYPE, ""); 15871setlocale(LC_CTYPE, "");
15809 ; 15872 ;
15923cat confdefs.h >>conftest.$ac_ext 15986cat confdefs.h >>conftest.$ac_ext
15924cat >>conftest.$ac_ext <<_ACEOF 15987cat >>conftest.$ac_ext <<_ACEOF
15925/* end confdefs.h. */ 15988/* end confdefs.h. */
15926#define _GNU_SOURCE 15989#define _GNU_SOURCE
15927#ifdef HAVE_STDLIB_H 15990#ifdef HAVE_STDLIB_H
15928# include <stdlib.h> 15991# include <cstdlib>
15929#endif 15992#endif
15930int 15993int
15931main () 15994main ()
15932{ 15995{
15933(void)getpt(); 15996(void)getpt();
16166if test $ac_cv_lib_xpg4_setlocale = yes; then 16229if test $ac_cv_lib_xpg4_setlocale = yes; then
16167 LIBS="$LIBS -lxpg4" 16230 LIBS="$LIBS -lxpg4"
16168fi 16231fi
16169 16232
16170 16233
16234if test x$support_tinting = xyes; then
16235
16236cat >>confdefs.h <<\_ACEOF
16237#define TINTING 1
16238_ACEOF
16239
16240fi
16171if test x$support_inheritpixmap = xyes; then 16241if test x$support_inheritpixmap = xyes; then
16172 16242
16173cat >>confdefs.h <<\_ACEOF 16243cat >>confdefs.h <<\_ACEOF
16174#define TRANSPARENT 1 16244#define TRANSPARENT 1
16175_ACEOF 16245_ACEOF
16229cat >>confdefs.h <<\_ACEOF 16299cat >>confdefs.h <<\_ACEOF
16230#define MOUSE_SLIP_WHEELING 1 16300#define MOUSE_SLIP_WHEELING 1
16231_ACEOF 16301_ACEOF
16232 16302
16233fi 16303fi
16234if test x$support_oldselection = xno; then
16235
16236cat >>confdefs.h <<\_ACEOF
16237#define NO_OLD_SELECTION 1
16238_ACEOF
16239
16240fi
16241if test x$support_utmp = xyes; then 16304if test x$support_utmp = xyes; then
16242 16305
16243cat >>confdefs.h <<\_ACEOF 16306cat >>confdefs.h <<\_ACEOF
16244#define UTMP_SUPPORT 1 16307#define UTMP_SUPPORT 1
16245_ACEOF 16308_ACEOF
16333cat >>confdefs.h <<\_ACEOF 16396cat >>confdefs.h <<\_ACEOF
16334#define UNICODE_3 1 16397#define UNICODE_3 1
16335_ACEOF 16398_ACEOF
16336 16399
16337fi 16400fi
16401if test x$support_combining = xyes; then
16402
16403cat >>confdefs.h <<\_ACEOF
16404#define ENABLE_COMBINING 1
16405_ACEOF
16406
16407fi
16338if test x$codesets = xall; then 16408if test x$codesets = xall; then
16339 codesets=jp,jp-ext,kr,cn,cn-ext,vn 16409 codesets=jp,jp-ext,kr,cn,cn-ext
16340fi 16410fi
16341for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do 16411for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16342 16412
16343cat >>confdefs.h <<\_ACEOF 16413cat >>confdefs.h <<\_ACEOF
16344#define ENCODING_EU 1 16414#define ENCODING_EU 1
16425_ACEOF 16495_ACEOF
16426program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 16496program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16427rm conftest.sed 16497rm conftest.sed
16428 16498
16429 16499
16430RXVTNAME=`echo rxvt|sed "$program_transform_name"`
16431
16432
16433 16500
16434 16501
16435 16502
16436if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then 16503if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16437 include_stdint_h="#include <stdint.h>" 16504 include_stdint_h="#include <stdint.h>"
16438else 16505else
16439 include_stdint_h="/* #include <stdint.h> */" 16506 include_stdint_h="/* #include <stdint.h> */"
16440fi 16507fi
16441if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then 16508if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16442 include_stdarg_h="#include <stdarg.h>" 16509 include_stdarg_h="#include <cstdarg>"
16443else 16510else
16444 include_stdarg_h="/* #include <stdarg.h> */" 16511 include_stdarg_h="/* #include <cstdarg> */"
16445fi 16512fi
16446if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then 16513if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16447 include_stdlib_h="#include <stdlib.h>" 16514 include_stdlib_h="#include <cstdlib>"
16448else 16515else
16449 include_stdlib_h="/* #include <stdlib.h> */" 16516 include_stdlib_h="/* #include <cstdlib> */"
16450fi 16517fi
16451if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then 16518if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16452 include_unistd_h="#include <unistd.h>" 16519 include_unistd_h="#include <unistd.h>"
16453else 16520else
16454 include_unistd_h="/* #include <unistd.h> */" 16521 include_unistd_h="/* #include <unistd.h> */"
16455fi 16522fi
16456if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then 16523if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16457 include_string_h="#include <string.h>" 16524 include_string_h="#include <cstring>"
16458else 16525else
16459 include_string_h="/* #include <string.h> */" 16526 include_string_h="/* #include <cstring> */"
16460fi 16527fi
16461if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then 16528if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16462 include_fcntl_h="#include <fcntl.h>" 16529 include_fcntl_h="#include <fcntl.h>"
16463else 16530else
16464 include_fcntl_h="/* #include <fcntl.h> */" 16531 include_fcntl_h="/* #include <fcntl.h> */"
17394s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 17461s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17395s,@STRIP@,$STRIP,;t t 17462s,@STRIP@,$STRIP,;t t
17396s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 17463s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17397s,@LIBTOOL@,$LIBTOOL,;t t 17464s,@LIBTOOL@,$LIBTOOL,;t t
17398s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 17465s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
17466s,@RXVTNAME@,$RXVTNAME,;t t
17399s,@MV@,$MV,;t t 17467s,@MV@,$MV,;t t
17400s,@RM@,$RM,;t t 17468s,@RM@,$RM,;t t
17401s,@CP@,$CP,;t t 17469s,@CP@,$CP,;t t
17402s,@LN@,$LN,;t t 17470s,@LN@,$LN,;t t
17403s,@SED@,$SED,;t t 17471s,@SED@,$SED,;t t
17417s,@rxvt_intp_define@,$rxvt_intp_define,;t t 17485s,@rxvt_intp_define@,$rxvt_intp_define,;t t
17418s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 17486s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
17419s,@DEBUG@,$DEBUG,;t t 17487s,@DEBUG@,$DEBUG,;t t
17420s,@DINCLUDE@,$DINCLUDE,;t t 17488s,@DINCLUDE@,$DINCLUDE,;t t
17421s,@DLIB@,$DLIB,;t t 17489s,@DLIB@,$DLIB,;t t
17422s,@RXVTNAME@,$RXVTNAME,;t t
17423s,@include_stdint_h@,$include_stdint_h,;t t 17490s,@include_stdint_h@,$include_stdint_h,;t t
17424s,@include_stdarg_h@,$include_stdarg_h,;t t 17491s,@include_stdarg_h@,$include_stdarg_h,;t t
17425s,@include_stdlib_h@,$include_stdlib_h,;t t 17492s,@include_stdlib_h@,$include_stdlib_h,;t t
17426s,@include_unistd_h@,$include_unistd_h,;t t 17493s,@include_unistd_h@,$include_unistd_h,;t t
17427s,@include_string_h@,$include_string_h,;t t 17494s,@include_string_h@,$include_string_h,;t t
17956echo " 18023echo "
17957The following are set in config.h 18024The following are set in config.h
17958" 18025"
17959echo " pty/tty type: "$rxvt_cv_ptys 18026echo " pty/tty type: "$rxvt_cv_ptys
17960if test x$support_utmp != xyes; then 18027if test x$support_utmp != xyes; then
17961 echo " utmp support: disabled 18028 echo " utmp support: disabled"
17962" 18029 echo
17963else 18030else
17964 echo " utmp support: enabled 18031 echo " utmp support: enabled
17965 utmp file: $rxvt_cv_path_utmp 18032 utmp file: $rxvt_cv_path_utmp
17966 utmpx file: $rxvt_cv_path_utmpx 18033 utmpx file: $rxvt_cv_path_utmpx
17967 wtmp file: $rxvt_cv_path_wtmp 18034 wtmp file: $rxvt_cv_path_wtmp
17968 wtmpx file: $rxvt_cv_path_wtmpx 18035 wtmpx file: $rxvt_cv_path_wtmpx
17969 lastlog file: $rxvt_cv_path_lastlog 18036 lastlog file: $rxvt_cv_path_lastlog
17970 ttys/ttytab file: $rxvt_cv_path_ttytab 18037 ttys/ttytab file: $rxvt_cv_path_ttytab"
17971" 18038 echo
17972fi 18039fi
17973if test x$term != x; then 18040if test x$term != x; then
17974 echo " set TERM to: $term 18041 echo " set TERM to: $term"
17975"
17976fi 18042fi
17977if test x$terminfo != x; then 18043if test x$terminfo != x; then
17978 echo " set TERMINFO to: $terminfo 18044 echo " set TERMINFO to: $terminfo"
17979"
17980fi 18045fi
18046echo " default resource name: $RESNAME"
18047echo " resource class: $RESCLASS"
18048if test x$RESFALLBACK != x; then
18049 echo " resource class fallback: $RESFALLBACK"
18050fi
18051echo
17981if test x$rxvt_cv_ptys = xUNKNOWN; then 18052if test x$rxvt_cv_ptys = xUNKNOWN; then
17982 echo ".----------------------------------------------------------------." 18053 echo ".----------------------------------------------------------------."
17983 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18054 echo ". WARNING: could not determine pty/tty type. Do not build until ."
17984 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18055 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
17985 echo ".----------------------------------------------------------------." 18056 echo ".----------------------------------------------------------------."
17999 echo ". WARNING: --enable-xim was specified however the locale support ." 18070 echo ". WARNING: --enable-xim was specified however the locale support ."
18000 echo ". functions could not be found. ." 18071 echo ". functions could not be found. ."
18001 echo ". XIM is now being DISABLED! ." 18072 echo ". XIM is now being DISABLED! ."
18002 echo ".----------------------------------------------------------------." 18073 echo ".----------------------------------------------------------------."
18003fi 18074fi
18075
18004echo " *** Please check src/feature.h for further options *** 18076echo " *** Please check src/feature.h for further options ***"
18005" 18077echo
18078
18079echo ".----------------------------------------------------------------."
18080echo ". NOTE: most features are disabled by default, try ."
18081echo ". configure --help to get an idea of the optional features ."
18082echo ".----------------------------------------------------------------."
18083echo
18084

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines