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

Comparing rxvt-unicode/configure (file contents):
Revision 1.15 by pcg, Wed Mar 3 04:07:45 2004 UTC vs.
Revision 1.26 by root, Sat Jul 10 20:59:38 2004 UTC

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-8bitctrls enable 8 bit control sequences (not recommended)
1052 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1055 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1053 --enable-strings enable some replacement system functions 1056 --enable-strings enable some replacement system functions
1054 --disable-swapscreen disable swap screen support 1057 --disable-swapscreen disable swap screen support
1055 --enable-frills enable support for rarely used features 1058 --enable-frills enable support for rarely used features
1056 --enable-linespace enable support for linespace 1059 --enable-linespace enable support for linespace
1057 --enable-24bit enable support for using 24bit visuals if available 1060 --enable-24bit enable support for using 24bit visuals if available
1058 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1061 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1059 --enable-selectionscrolling enable scrolling during selections 1062 --enable-selectionscrolling enable scrolling during selections
1060 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1063 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1061 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1064 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1062 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1063 --disable-new-selection disable new mouse (xterm) selection style support
1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1065 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1065 --enable-dlmalloc enable Doug Lea's malloc - for production use 1066 --enable-dlmalloc enable Doug Lea's malloc - for production use
1066 NOTE: enable only one malloc package 1067 NOTE: enable only one malloc package
1067 --enable-smart-resize enable smart growth/shrink behaviour 1068 --enable-smart-resize enable smart growth/shrink behaviour
1068 --enable-256-color enable 256-color support 1069 --enable-256-color enable 256-color support
1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1076 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1076 --with-gnu-ld assume the C compiler uses GNU ld default=no 1077 --with-gnu-ld assume the C compiler uses GNU ld default=no
1077 --with-pic try to use only PIC/non-PIC objects default=use both 1078 --with-pic try to use only PIC/non-PIC objects default=use both
1078 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1079 --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-name=NAME use this as default resource name (default: urxvt)
1080 --with-res-class=NAME use this as the resource class (default: URxvt) 1081 --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) 1082 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1082 --with-term=NAME set the terminal to NAME (default: rxvt) 1083 --with-term=NAME set the terminal to NAME (default: rxvt)
1083 --with-terminfo=PATH set the path to the terminfo tree to PATH 1084 --with-terminfo=PATH set the path to the terminfo tree to PATH
1084 --with-x use the X Window System 1085 --with-x use the X Window System
1085 --with-xpm-includes=DIR use XPM includes in DIR 1086 --with-xpm-includes=DIR use XPM includes in DIR
3280LINKER=$LINKER 3281LINKER=$LINKER
3281 3282
3282 3283
3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3284CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3284 3285
3285if test x$GXX = xyes; then
3286 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3287fi
3288 3286
3289ac_ext=cc 3287ac_ext=cc
3290ac_cpp='$CXXCPP $CPPFLAGS' 3288ac_cpp='$CXXCPP $CPPFLAGS'
3291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3289ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3290ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3687echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3690echo "${ECHO_T}$ac_cv_search_strerror" >&6 3688echo "${ECHO_T}$ac_cv_search_strerror" >&6
3691if test "$ac_cv_search_strerror" != no; then 3689if test "$ac_cv_search_strerror" != no; then
3692 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3690 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3693 3691
3692fi
3693
3694
3695echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3696echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3697if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699else
3700 ac_check_lib_save_LIBS=$LIBS
3701LIBS="-lxpg4 $LIBS"
3702cat >conftest.$ac_ext <<_ACEOF
3703/* confdefs.h. */
3704_ACEOF
3705cat confdefs.h >>conftest.$ac_ext
3706cat >>conftest.$ac_ext <<_ACEOF
3707/* end confdefs.h. */
3708
3709/* Override any gcc2 internal prototype to avoid an error. */
3710#ifdef __cplusplus
3711extern "C"
3712#endif
3713/* We use char because int might match the return type of a gcc2
3714 builtin and then its argument prototype would still apply. */
3715char setlocale ();
3716int
3717main ()
3718{
3719setlocale ();
3720 ;
3721 return 0;
3722}
3723_ACEOF
3724rm -f conftest.$ac_objext conftest$ac_exeext
3725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3726 (eval $ac_link) 2>conftest.er1
3727 ac_status=$?
3728 grep -v '^ *+' conftest.er1 >conftest.err
3729 rm -f conftest.er1
3730 cat conftest.err >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } &&
3733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 (eval $ac_try) 2>&5
3736 ac_status=$?
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; } &&
3739 { ac_try='test -s conftest$ac_exeext'
3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 (eval $ac_try) 2>&5
3742 ac_status=$?
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then
3745 ac_cv_lib_xpg4_setlocale=yes
3746else
3747 echo "$as_me: failed program was:" >&5
3748sed 's/^/| /' conftest.$ac_ext >&5
3749
3750ac_cv_lib_xpg4_setlocale=no
3751fi
3752rm -f conftest.err conftest.$ac_objext \
3753 conftest$ac_exeext conftest.$ac_ext
3754LIBS=$ac_check_lib_save_LIBS
3755fi
3756echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3757echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3758if test $ac_cv_lib_xpg4_setlocale = yes; then
3759 LIBS="$LIBS -lxpg4"
3760fi
3761
3762
3763echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3764echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3765if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3767else
3768 ac_check_lib_save_LIBS=$LIBS
3769LIBS="-lnsl $LIBS"
3770cat >conftest.$ac_ext <<_ACEOF
3771/* confdefs.h. */
3772_ACEOF
3773cat confdefs.h >>conftest.$ac_ext
3774cat >>conftest.$ac_ext <<_ACEOF
3775/* end confdefs.h. */
3776
3777/* Override any gcc2 internal prototype to avoid an error. */
3778#ifdef __cplusplus
3779extern "C"
3780#endif
3781/* We use char because int might match the return type of a gcc2
3782 builtin and then its argument prototype would still apply. */
3783char gethostbyname ();
3784int
3785main ()
3786{
3787gethostbyname ();
3788 ;
3789 return 0;
3790}
3791_ACEOF
3792rm -f conftest.$ac_objext conftest$ac_exeext
3793if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3794 (eval $ac_link) 2>conftest.er1
3795 ac_status=$?
3796 grep -v '^ *+' conftest.er1 >conftest.err
3797 rm -f conftest.er1
3798 cat conftest.err >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } &&
3801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 (eval $ac_try) 2>&5
3804 ac_status=$?
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }; } &&
3807 { ac_try='test -s conftest$ac_exeext'
3808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 (eval $ac_try) 2>&5
3810 ac_status=$?
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); }; }; then
3813 ac_cv_lib_nsl_gethostbyname=yes
3814else
3815 echo "$as_me: failed program was:" >&5
3816sed 's/^/| /' conftest.$ac_ext >&5
3817
3818ac_cv_lib_nsl_gethostbyname=no
3819fi
3820rm -f conftest.err conftest.$ac_objext \
3821 conftest$ac_exeext conftest.$ac_ext
3822LIBS=$ac_check_lib_save_LIBS
3823fi
3824echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3825echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3826if test $ac_cv_lib_nsl_gethostbyname = yes; then
3827 LIBS="$LIBS -lnsl"
3828fi
3829
3830echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3831echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3832if test "${ac_cv_lib_socket_socket+set}" = set; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3834else
3835 ac_check_lib_save_LIBS=$LIBS
3836LIBS="-lsocket $LIBS"
3837cat >conftest.$ac_ext <<_ACEOF
3838/* confdefs.h. */
3839_ACEOF
3840cat confdefs.h >>conftest.$ac_ext
3841cat >>conftest.$ac_ext <<_ACEOF
3842/* end confdefs.h. */
3843
3844/* Override any gcc2 internal prototype to avoid an error. */
3845#ifdef __cplusplus
3846extern "C"
3847#endif
3848/* We use char because int might match the return type of a gcc2
3849 builtin and then its argument prototype would still apply. */
3850char socket ();
3851int
3852main ()
3853{
3854socket ();
3855 ;
3856 return 0;
3857}
3858_ACEOF
3859rm -f conftest.$ac_objext conftest$ac_exeext
3860if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3861 (eval $ac_link) 2>conftest.er1
3862 ac_status=$?
3863 grep -v '^ *+' conftest.er1 >conftest.err
3864 rm -f conftest.er1
3865 cat conftest.err >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } &&
3868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870 (eval $ac_try) 2>&5
3871 ac_status=$?
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; } &&
3874 { ac_try='test -s conftest$ac_exeext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 (eval $ac_try) 2>&5
3877 ac_status=$?
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 ac_cv_lib_socket_socket=yes
3881else
3882 echo "$as_me: failed program was:" >&5
3883sed 's/^/| /' conftest.$ac_ext >&5
3884
3885ac_cv_lib_socket_socket=no
3886fi
3887rm -f conftest.err conftest.$ac_objext \
3888 conftest$ac_exeext conftest.$ac_ext
3889LIBS=$ac_check_lib_save_LIBS
3890fi
3891echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3892echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3893if test $ac_cv_lib_socket_socket = yes; then
3894 LIBS="$LIBS -lsocket"
3694fi 3895fi
3695 3896
3696 3897
3697# Check whether --enable-shared or --disable-shared was given. 3898# Check whether --enable-shared or --disable-shared was given.
3698if test "${enable_shared+set}" = set; then 3899if test "${enable_shared+set}" = set; then
5034# Some flags need to be propagated to the compiler or linker for good 5235# Some flags need to be propagated to the compiler or linker for good
5035# libtool support. 5236# libtool support.
5036case "$host" in 5237case "$host" in
5037*-*-irix6*) 5238*-*-irix6*)
5038 # Find out which ABI we are using. 5239 # Find out which ABI we are using.
5039 echo '#line 5039 "configure"' > conftest.$ac_ext 5240 echo '#line 5240 "configure"' > conftest.$ac_ext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>&5 5242 (eval $ac_compile) 2>&5
5042 ac_status=$? 5243 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; then 5245 (exit $ac_status); }; then
5585# builds. 5786# builds.
5586chmod -w . 5787chmod -w .
5587save_CFLAGS="$CFLAGS" 5788save_CFLAGS="$CFLAGS"
5588CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5789CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5589compiler_c_o=no 5790compiler_c_o=no
5590if { (eval echo configure:5590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5791if { (eval echo configure:5791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5591 # The compiler can only warn and ignore the option if not recognized 5792 # The compiler can only warn and ignore the option if not recognized
5592 # So say no if there are warnings 5793 # So say no if there are warnings
5593 if test -s out/conftest.err; then 5794 if test -s out/conftest.err; then
5594 compiler_c_o=no 5795 compiler_c_o=no
5595 else 5796 else
7201 lt_cv_dlopen_self=cross 7402 lt_cv_dlopen_self=cross
7202else 7403else
7203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7404 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7204 lt_status=$lt_dlunknown 7405 lt_status=$lt_dlunknown
7205 cat > conftest.$ac_ext <<EOF 7406 cat > conftest.$ac_ext <<EOF
7206#line 7206 "configure" 7407#line 7407 "configure"
7207#include "confdefs.h" 7408#include "confdefs.h"
7208 7409
7209#if HAVE_DLFCN_H 7410#if HAVE_DLFCN_H
7210#include <dlfcn.h> 7411#include <dlfcn.h>
7211#endif 7412#endif
7299 lt_cv_dlopen_self_static=cross 7500 lt_cv_dlopen_self_static=cross
7300else 7501else
7301 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7302 lt_status=$lt_dlunknown 7503 lt_status=$lt_dlunknown
7303 cat > conftest.$ac_ext <<EOF 7504 cat > conftest.$ac_ext <<EOF
7304#line 7304 "configure" 7505#line 7505 "configure"
7305#include "confdefs.h" 7506#include "confdefs.h"
7306 7507
7307#if HAVE_DLFCN_H 7508#if HAVE_DLFCN_H
7308#include <dlfcn.h> 7509#include <dlfcn.h>
7309#endif 7510#endif
8032MALLOC_TYPE=S 8233MALLOC_TYPE=S
8033support_addstrings=no 8234support_addstrings=no
8034support_frills=no 8235support_frills=no
8035support_linespace=no 8236support_linespace=no
8036support_inheritpixmap=no 8237support_inheritpixmap=no
8238support_tinting=no
8037support_keepscrolling=no 8239support_keepscrolling=no
8038support_selectionscrolling=no 8240support_selectionscrolling=no
8039support_menubar=no 8241support_menubar=no
8040support_mousewheel=no 8242support_mousewheel=no
8041support_mouseslipwheel=no 8243support_mouseslipwheel=no
8042support_oldselection=no
8043support_utmp=no 8244support_utmp=no
8044support_wtmp=no 8245support_wtmp=no
8045support_lastlog=no 8246support_lastlog=no
8046support_cursor_blink=no 8247support_cursor_blink=no
8047support_text_blink=no 8248support_text_blink=no
8052support_scroll_plain=no 8253support_scroll_plain=no
8053support_xim=no 8254support_xim=no
8054support_xpm=no 8255support_xpm=no
8055support_xft=no 8256support_xft=no
8056support_unicode3=no 8257support_unicode3=no
8258support_combining=no
8259support_8bitctrls=no
8057codesets= 8260codesets=
8058 8261
8059 8262
8060if test "x$enable_shared" = xyes; then 8263if test "x$enable_shared" = xyes; then
8061 8264
8073 if test x$enableval = xyes; then 8276 if test x$enableval = xyes; then
8074 support_24bit=yes 8277 support_24bit=yes
8075 support_frills=yes 8278 support_frills=yes
8076 support_linespace=yes 8279 support_linespace=yes
8077 support_inheritpixmap=yes 8280 support_inheritpixmap=yes
8281 support_tinting=yes
8078 support_keepscrolling=yes 8282 support_keepscrolling=yes
8079 support_selectionscrolling=yes 8283 support_selectionscrolling=yes
8080 support_lastlog=yes 8284 support_lastlog=yes
8081 support_menubar=yes 8285 support_menubar=yes
8082 support_mousewheel=yes 8286 support_mousewheel=yes
8083 support_mouseslipwheel=yes 8287 support_mouseslipwheel=yes
8084 support_oldselection=yes
8085 support_cursor_blink=yes 8288 support_cursor_blink=yes
8086 support_text_blink=yes 8289 support_text_blink=yes
8087 support_pointer_blank=yes 8290 support_pointer_blank=yes
8088 support_scroll_rxvt=yes 8291 support_scroll_rxvt=yes
8089 support_scroll_next=yes 8292 support_scroll_next=yes
8093 support_wtmp=yes 8296 support_wtmp=yes
8094 support_xim=yes 8297 support_xim=yes
8095 support_xpm=yes 8298 support_xpm=yes
8096 support_xft=yes 8299 support_xft=yes
8097 support_unicode3=yes 8300 support_unicode3=yes
8301 support_combining=yes
8302 #support_8bitctrls=yes
8098 codesets=all 8303 codesets=all
8099 fi 8304 fi
8100fi; 8305fi;
8101 8306
8102# Check whether --enable-unicode3 or --disable-unicode3 was given. 8307# Check whether --enable-unicode3 or --disable-unicode3 was given.
8105 if test x$enableval = xyes -o x$enableval = xno; then 8310 if test x$enableval = xyes -o x$enableval = xno; then
8106 support_unicode3=yes 8311 support_unicode3=yes
8107 fi 8312 fi
8108fi; 8313fi;
8109 8314
8315# Check whether --enable-combining or --disable-combining was given.
8316if test "${enable_combining+set}" = set; then
8317 enableval="$enable_combining"
8318 if test x$enableval = xyes -o x$enableval = xno; then
8319 support_combining=yes
8320 fi
8321fi;
8322
8110# Check whether --enable-xft or --disable-xft was given. 8323# Check whether --enable-xft or --disable-xft was given.
8111if test "${enable_xft+set}" = set; then 8324if test "${enable_xft+set}" = set; then
8112 enableval="$enable_xft" 8325 enableval="$enable_xft"
8113 if test x$enableval = xyes -o x$enableval = xno; then 8326 if test x$enableval = xyes -o x$enableval = xno; then
8114 support_xft=yes 8327 support_xft=yes
8153 if test x$enableval = xyes -o x$enableval = xno; then 8366 if test x$enableval = xyes -o x$enableval = xno; then
8154 support_inheritpixmap=$enableval 8367 support_inheritpixmap=$enableval
8155 fi 8368 fi
8156fi; 8369fi;
8157 8370
8371# Check whether --enable-tinting or --disable-tinting was given.
8372if test "${enable_tinting+set}" = set; then
8373 enableval="$enable_tinting"
8374 if test x$enableval = xyes -o x$enableval = xno; then
8375 support_tinting=$enableval
8376 fi
8377fi;
8378
8158# Check whether --enable-menubar or --disable-menubar was given. 8379# Check whether --enable-menubar or --disable-menubar was given.
8159if test "${enable_menubar+set}" = set; then 8380if test "${enable_menubar+set}" = set; then
8160 enableval="$enable_menubar" 8381 enableval="$enable_menubar"
8161 if test x$enableval = xyes -o x$enableval = xno; then 8382 if test x$enableval = xyes -o x$enableval = xno; then
8162 support_menubar=$enableval 8383 support_menubar=$enableval
8280_ACEOF 8501_ACEOF
8281 8502
8282 fi 8503 fi
8283fi; 8504fi;
8284 8505
8506# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8507if test "${enable_8bitctrls+set}" = set; then
8508 enableval="$enable_8bitctrls"
8509 if test x$enableval = xyes -o x$enableval = xno; then
8510 support_8bitctrls=yes
8511 fi
8512fi;
8513
8285RESFALLBACK=Rxvt 8514RESFALLBACK=Rxvt
8286# Check whether --enable-fallback or --disable-fallback was given. 8515# Check whether --enable-fallback or --disable-fallback was given.
8287if test "${enable_fallback+set}" = set; then 8516if test "${enable_fallback+set}" = set; then
8288 enableval="$enable_fallback" 8517 enableval="$enable_fallback"
8289 8518
8409# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8638# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8410if test "${enable_slipwheeling+set}" = set; then 8639if test "${enable_slipwheeling+set}" = set; then
8411 enableval="$enable_slipwheeling" 8640 enableval="$enable_slipwheeling"
8412 if test x$enableval = xyes -o x$enableval = xno; then 8641 if test x$enableval = xyes -o x$enableval = xno; then
8413 support_mouseslipwheel=$enableval 8642 support_mouseslipwheel=$enableval
8414 fi
8415fi;
8416
8417# Check whether --enable-old-selection or --disable-old-selection was given.
8418if test "${enable_old_selection+set}" = set; then
8419 enableval="$enable_old_selection"
8420 if test x$enableval = xyes -o x$enableval = xno; then
8421 support_oldselection=$enableval
8422 fi
8423fi;
8424
8425# Check whether --enable-new-selection or --disable-new-selection was given.
8426if test "${enable_new_selection+set}" = set; then
8427 enableval="$enable_new_selection"
8428 if test x$enableval = xno; then
8429
8430cat >>confdefs.h <<\_ACEOF
8431#define NO_NEW_SELECTION 1
8432_ACEOF
8433
8434 fi 8643 fi
8435fi; 8644fi;
8436 8645
8437# Check whether --enable-dmalloc or --disable-dmalloc was given. 8646# Check whether --enable-dmalloc or --disable-dmalloc was given.
8438if test "${enable_dmalloc+set}" = set; then 8647if test "${enable_dmalloc+set}" = set; then
8864fi 9073fi
8865 9074
8866 9075
8867 9076
8868 9077
9078
9079if test "x$ac_path_x_has_been_run" != xyes; then
8869echo "$as_me:$LINENO: checking for X" >&5 9080 echo "$as_me:$LINENO: checking for X" >&5
8870echo $ECHO_N "checking for X... $ECHO_C" >&6 9081echo $ECHO_N "checking for X... $ECHO_C" >&6
8871 9082
9083ac_path_x_has_been_run=yes
8872 9084
8873# Check whether --with-x or --without-x was given. 9085# Check whether --with-x or --without-x was given.
8874if test "${with_x+set}" = set; then 9086if test "${with_x+set}" = set; then
8875 withval="$with_x" 9087 withval="$with_x"
8876 9088
8959 9171
8960/usr/openwin/include 9172/usr/openwin/include
8961/usr/openwin/share/include' 9173/usr/openwin/share/include'
8962 9174
8963if test "$ac_x_includes" = no; then 9175if test "$ac_x_includes" = no; then
8964 # Guess where to find include files, by looking for Intrinsic.h. 9176 # Guess where to find include files, by looking for a specified header file.
8965 # First, try using that file with no special directory specified. 9177 # First, try using that file with no special directory specified.
8966 cat >conftest.$ac_ext <<_ACEOF 9178 cat >conftest.$ac_ext <<_ACEOF
8967/* confdefs.h. */ 9179/* confdefs.h. */
8968_ACEOF 9180_ACEOF
8969cat confdefs.h >>conftest.$ac_ext 9181cat confdefs.h >>conftest.$ac_ext
9093 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9305 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9094 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9306 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9095 # Update the cache value to reflect the command line values. 9307 # Update the cache value to reflect the command line values.
9096 ac_cv_have_x="have_x=yes \ 9308 ac_cv_have_x="have_x=yes \
9097 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9309 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9310 # It might be that x_includes is empty (headers are found in the
9311 # standard search path. Then output the corresponding message
9312 ac_out_x_includes=$x_includes
9313 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9098 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9314 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9099echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9315echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9100fi 9316fi
9101 9317
9318fi
9102if test "$no_x" = yes; then 9319if test "$no_x" = yes; then
9103 # Not all programs may use this symbol, but it does not hurt to define it. 9320 # Not all programs may use this symbol, but it does not hurt to define it.
9104 9321
9105cat >>confdefs.h <<\_ACEOF 9322cat >>confdefs.h <<\_ACEOF
9106#define X_DISPLAY_MISSING 1 9323#define X_DISPLAY_MISSING 1
15859/* confdefs.h. */ 16076/* confdefs.h. */
15860_ACEOF 16077_ACEOF
15861cat confdefs.h >>conftest.$ac_ext 16078cat confdefs.h >>conftest.$ac_ext
15862cat >>conftest.$ac_ext <<_ACEOF 16079cat >>conftest.$ac_ext <<_ACEOF
15863/* end confdefs.h. */ 16080/* end confdefs.h. */
15864#include <locale.h> 16081#include <clocale>
15865int 16082int
15866main () 16083main ()
15867{ 16084{
15868setlocale(LC_CTYPE, ""); 16085setlocale(LC_CTYPE, "");
15869 ; 16086 ;
15983cat confdefs.h >>conftest.$ac_ext 16200cat confdefs.h >>conftest.$ac_ext
15984cat >>conftest.$ac_ext <<_ACEOF 16201cat >>conftest.$ac_ext <<_ACEOF
15985/* end confdefs.h. */ 16202/* end confdefs.h. */
15986#define _GNU_SOURCE 16203#define _GNU_SOURCE
15987#ifdef HAVE_STDLIB_H 16204#ifdef HAVE_STDLIB_H
15988# include <stdlib.h> 16205# include <cstdlib>
15989#endif 16206#endif
15990int 16207int
15991main () 16208main ()
15992{ 16209{
15993(void)getpt(); 16210(void)getpt();
16158#define PTYCHAR2 "$pch2" 16375#define PTYCHAR2 "$pch2"
16159_ACEOF 16376_ACEOF
16160 16377
16161fi 16378fi
16162 16379
16163echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16380if test x$support_8bitctrls = xyes; then
16164echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16381
16165if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167else
16168 ac_check_lib_save_LIBS=$LIBS
16169LIBS="-lxpg4 $LIBS"
16170cat >conftest.$ac_ext <<_ACEOF
16171/* confdefs.h. */
16172_ACEOF
16173cat confdefs.h >>conftest.$ac_ext
16174cat >>conftest.$ac_ext <<_ACEOF 16382cat >>confdefs.h <<\_ACEOF
16175/* end confdefs.h. */ 16383#define EIGHT_BIT_CONTROLS 1
16176
16177/* Override any gcc2 internal prototype to avoid an error. */
16178#ifdef __cplusplus
16179extern "C"
16180#endif
16181/* We use char because int might match the return type of a gcc2
16182 builtin and then its argument prototype would still apply. */
16183char setlocale ();
16184int
16185main ()
16186{
16187setlocale ();
16188 ;
16189 return 0;
16190}
16191_ACEOF 16384_ACEOF
16192rm -f conftest.$ac_objext conftest$ac_exeext
16193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16194 (eval $ac_link) 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try='test -s conftest$ac_exeext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16210 ac_status=$?
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_cv_lib_xpg4_setlocale=yes
16214else
16215 echo "$as_me: failed program was:" >&5
16216sed 's/^/| /' conftest.$ac_ext >&5
16217 16385
16218ac_cv_lib_xpg4_setlocale=no
16219fi 16386fi
16220rm -f conftest.err conftest.$ac_objext \ 16387if test x$support_tinting = xyes; then
16221 conftest$ac_exeext conftest.$ac_ext
16222LIBS=$ac_check_lib_save_LIBS
16223fi
16224echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16225echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16226if test $ac_cv_lib_xpg4_setlocale = yes; then
16227 LIBS="$LIBS -lxpg4"
16228fi
16229 16388
16389cat >>confdefs.h <<\_ACEOF
16390#define TINTING 1
16391_ACEOF
16230 16392
16393fi
16231if test x$support_inheritpixmap = xyes; then 16394if test x$support_inheritpixmap = xyes; then
16232 16395
16233cat >>confdefs.h <<\_ACEOF 16396cat >>confdefs.h <<\_ACEOF
16234#define TRANSPARENT 1 16397#define TRANSPARENT 1
16235_ACEOF 16398_ACEOF
16289cat >>confdefs.h <<\_ACEOF 16452cat >>confdefs.h <<\_ACEOF
16290#define MOUSE_SLIP_WHEELING 1 16453#define MOUSE_SLIP_WHEELING 1
16291_ACEOF 16454_ACEOF
16292 16455
16293fi 16456fi
16294if test x$support_oldselection = xno; then
16295
16296cat >>confdefs.h <<\_ACEOF
16297#define NO_OLD_SELECTION 1
16298_ACEOF
16299
16300fi
16301if test x$support_utmp = xyes; then 16457if test x$support_utmp = xyes; then
16302 16458
16303cat >>confdefs.h <<\_ACEOF 16459cat >>confdefs.h <<\_ACEOF
16304#define UTMP_SUPPORT 1 16460#define UTMP_SUPPORT 1
16305_ACEOF 16461_ACEOF
16393cat >>confdefs.h <<\_ACEOF 16549cat >>confdefs.h <<\_ACEOF
16394#define UNICODE_3 1 16550#define UNICODE_3 1
16395_ACEOF 16551_ACEOF
16396 16552
16397fi 16553fi
16554if test x$support_combining = xyes; then
16555
16556cat >>confdefs.h <<\_ACEOF
16557#define ENABLE_COMBINING 1
16558_ACEOF
16559
16560fi
16398if test x$codesets = xall; then 16561if test x$codesets = xall; then
16399 codesets=jp,jp-ext,kr,cn,cn-ext,vn 16562 codesets=jp,jp-ext,kr,cn,cn-ext
16400fi 16563fi
16401for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do 16564for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16402 16565
16403cat >>confdefs.h <<\_ACEOF 16566cat >>confdefs.h <<\_ACEOF
16404#define ENCODING_EU 1 16567#define ENCODING_EU 1
16494 include_stdint_h="#include <stdint.h>" 16657 include_stdint_h="#include <stdint.h>"
16495else 16658else
16496 include_stdint_h="/* #include <stdint.h> */" 16659 include_stdint_h="/* #include <stdint.h> */"
16497fi 16660fi
16498if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then 16661if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16499 include_stdarg_h="#include <stdarg.h>" 16662 include_stdarg_h="#include <cstdarg>"
16500else 16663else
16501 include_stdarg_h="/* #include <stdarg.h> */" 16664 include_stdarg_h="/* #include <cstdarg> */"
16502fi 16665fi
16503if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then 16666if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16504 include_stdlib_h="#include <stdlib.h>" 16667 include_stdlib_h="#include <cstdlib>"
16505else 16668else
16506 include_stdlib_h="/* #include <stdlib.h> */" 16669 include_stdlib_h="/* #include <cstdlib> */"
16507fi 16670fi
16508if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then 16671if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16509 include_unistd_h="#include <unistd.h>" 16672 include_unistd_h="#include <unistd.h>"
16510else 16673else
16511 include_unistd_h="/* #include <unistd.h> */" 16674 include_unistd_h="/* #include <unistd.h> */"
16512fi 16675fi
16513if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then 16676if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16514 include_string_h="#include <string.h>" 16677 include_string_h="#include <cstring>"
16515else 16678else
16516 include_string_h="/* #include <string.h> */" 16679 include_string_h="/* #include <cstring> */"
16517fi 16680fi
16518if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then 16681if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16519 include_fcntl_h="#include <fcntl.h>" 16682 include_fcntl_h="#include <fcntl.h>"
16520else 16683else
16521 include_fcntl_h="/* #include <fcntl.h> */" 16684 include_fcntl_h="/* #include <fcntl.h> */"
18013echo " 18176echo "
18014The following are set in config.h 18177The following are set in config.h
18015" 18178"
18016echo " pty/tty type: "$rxvt_cv_ptys 18179echo " pty/tty type: "$rxvt_cv_ptys
18017if test x$support_utmp != xyes; then 18180if test x$support_utmp != xyes; then
18018 echo " utmp support: disabled 18181 echo " utmp support: disabled"
18019" 18182 echo
18020else 18183else
18021 echo " utmp support: enabled 18184 echo " utmp support: enabled
18022 utmp file: $rxvt_cv_path_utmp 18185 utmp file: $rxvt_cv_path_utmp
18023 utmpx file: $rxvt_cv_path_utmpx 18186 utmpx file: $rxvt_cv_path_utmpx
18024 wtmp file: $rxvt_cv_path_wtmp 18187 wtmp file: $rxvt_cv_path_wtmp
18025 wtmpx file: $rxvt_cv_path_wtmpx 18188 wtmpx file: $rxvt_cv_path_wtmpx
18026 lastlog file: $rxvt_cv_path_lastlog 18189 lastlog file: $rxvt_cv_path_lastlog
18027 ttys/ttytab file: $rxvt_cv_path_ttytab 18190 ttys/ttytab file: $rxvt_cv_path_ttytab"
18028" 18191 echo
18029fi 18192fi
18030if test x$term != x; then 18193if test x$term != x; then
18031 echo " set TERM to: $term 18194 echo " set TERM to: $term"
18032"
18033fi 18195fi
18034if test x$terminfo != x; then 18196if test x$terminfo != x; then
18035 echo " set TERMINFO to: $terminfo 18197 echo " set TERMINFO to: $terminfo"
18036"
18037fi 18198fi
18199echo " default resource name: $RESNAME"
18200echo " resource class: $RESCLASS"
18201if test x$RESFALLBACK != x; then
18202 echo " resource class fallback: $RESFALLBACK"
18203fi
18204echo
18038if test x$rxvt_cv_ptys = xUNKNOWN; then 18205if test x$rxvt_cv_ptys = xUNKNOWN; then
18039 echo ".----------------------------------------------------------------." 18206 echo ".----------------------------------------------------------------."
18040 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18207 echo ". WARNING: could not determine pty/tty type. Do not build until ."
18041 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18208 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
18042 echo ".----------------------------------------------------------------." 18209 echo ".----------------------------------------------------------------."
18056 echo ". WARNING: --enable-xim was specified however the locale support ." 18223 echo ". WARNING: --enable-xim was specified however the locale support ."
18057 echo ". functions could not be found. ." 18224 echo ". functions could not be found. ."
18058 echo ". XIM is now being DISABLED! ." 18225 echo ". XIM is now being DISABLED! ."
18059 echo ".----------------------------------------------------------------." 18226 echo ".----------------------------------------------------------------."
18060fi 18227fi
18228
18061echo " *** Please check src/feature.h for further options *** 18229echo " *** Please check src/feature.h for further options ***"
18062" 18230echo
18231
18232echo ".----------------------------------------------------------------."
18233echo ". NOTE: most features are disabled by default, try ."
18234echo ". configure --help to get an idea of the optional features ."
18235echo ".----------------------------------------------------------------."
18236echo
18237

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines