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

Comparing rxvt-unicode/configure (file contents):
Revision 1.18 by pcg, Sat Mar 6 00:05:00 2004 UTC vs.
Revision 1.26 by root, Sat Jul 10 20:59:38 2004 UTC

1036 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1038 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1039 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1040 --enable-transparency enable transparent backgrounds 1040 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg
1041 --enable-menubar enable menubar 1042 --enable-menubar enable menubar
1042 --enable-rxvt-scroll enable rxvt style scrollbar 1043 --enable-rxvt-scroll enable rxvt style scrollbar
1043 --enable-next-scroll enable NeXT style scrollbar 1044 --enable-next-scroll enable NeXT style scrollbar
1044 --enable-xterm-scroll enable Xterm style scrollbar 1045 --enable-xterm-scroll enable Xterm style scrollbar
1045 --enable-plain-scroll enable plain style scrollbar 1046 --enable-plain-scroll enable plain style scrollbar
1048 --enable-ttygid enable tty setting to group named "tty" 1049 --enable-ttygid enable tty setting to group named "tty"
1049 --disable-backspace-key disable handling of the backspace key 1050 --disable-backspace-key disable handling of the backspace key
1050 --disable-delete-key disable handling of the delete key 1051 --disable-delete-key disable handling of the delete key
1051 --disable-resources disable all resource checking 1052 --disable-resources disable all resource checking
1052 --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)
1053 --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)
1054 --enable-strings enable some replacement system functions 1056 --enable-strings enable some replacement system functions
1055 --disable-swapscreen disable swap screen support 1057 --disable-swapscreen disable swap screen support
1056 --enable-frills enable support for rarely used features 1058 --enable-frills enable support for rarely used features
1057 --enable-linespace enable support for linespace 1059 --enable-linespace enable support for linespace
1058 --enable-24bit enable support for using 24bit visuals if available 1060 --enable-24bit enable support for using 24bit visuals if available
1059 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1061 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1060 --enable-selectionscrolling enable scrolling during selections 1062 --enable-selectionscrolling enable scrolling during selections
1061 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1063 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1062 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1064 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1063 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1064 --disable-new-selection disable new mouse (xterm) selection style support
1065 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1065 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1066 --enable-dlmalloc enable Doug Lea's malloc - for production use 1066 --enable-dlmalloc enable Doug Lea's malloc - for production use
1067 NOTE: enable only one malloc package 1067 NOTE: enable only one malloc package
1068 --enable-smart-resize enable smart growth/shrink behaviour 1068 --enable-smart-resize enable smart growth/shrink behaviour
1069 --enable-256-color enable 256-color support 1069 --enable-256-color enable 256-color support
3281LINKER=$LINKER 3281LINKER=$LINKER
3282 3282
3283 3283
3284CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3284CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3285 3285
3286if test x$GXX = xyes; then
3287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3288fi
3289 3286
3290ac_ext=cc 3287ac_ext=cc
3291ac_cpp='$CXXCPP $CPPFLAGS' 3288ac_cpp='$CXXCPP $CPPFLAGS'
3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3289ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293ac_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'
3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3687echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3691echo "${ECHO_T}$ac_cv_search_strerror" >&6 3688echo "${ECHO_T}$ac_cv_search_strerror" >&6
3692if test "$ac_cv_search_strerror" != no; then 3689if test "$ac_cv_search_strerror" != no; then
3693 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"
3694 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"
3695fi 3895fi
3696 3896
3697 3897
3698# Check whether --enable-shared or --disable-shared was given. 3898# Check whether --enable-shared or --disable-shared was given.
3699if test "${enable_shared+set}" = set; then 3899if test "${enable_shared+set}" = set; then
5035# 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
5036# libtool support. 5236# libtool support.
5037case "$host" in 5237case "$host" in
5038*-*-irix6*) 5238*-*-irix6*)
5039 # Find out which ABI we are using. 5239 # Find out which ABI we are using.
5040 echo '#line 5040 "configure"' > conftest.$ac_ext 5240 echo '#line 5240 "configure"' > conftest.$ac_ext
5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 (eval $ac_compile) 2>&5 5242 (eval $ac_compile) 2>&5
5043 ac_status=$? 5243 ac_status=$?
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; then 5245 (exit $ac_status); }; then
5586# builds. 5786# builds.
5587chmod -w . 5787chmod -w .
5588save_CFLAGS="$CFLAGS" 5788save_CFLAGS="$CFLAGS"
5589CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5789CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5590compiler_c_o=no 5790compiler_c_o=no
5591if { (eval echo configure:5591: \"$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
5592 # 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
5593 # So say no if there are warnings 5793 # So say no if there are warnings
5594 if test -s out/conftest.err; then 5794 if test -s out/conftest.err; then
5595 compiler_c_o=no 5795 compiler_c_o=no
5596 else 5796 else
7202 lt_cv_dlopen_self=cross 7402 lt_cv_dlopen_self=cross
7203else 7403else
7204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7404 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7205 lt_status=$lt_dlunknown 7405 lt_status=$lt_dlunknown
7206 cat > conftest.$ac_ext <<EOF 7406 cat > conftest.$ac_ext <<EOF
7207#line 7207 "configure" 7407#line 7407 "configure"
7208#include "confdefs.h" 7408#include "confdefs.h"
7209 7409
7210#if HAVE_DLFCN_H 7410#if HAVE_DLFCN_H
7211#include <dlfcn.h> 7411#include <dlfcn.h>
7212#endif 7412#endif
7300 lt_cv_dlopen_self_static=cross 7500 lt_cv_dlopen_self_static=cross
7301else 7501else
7302 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7303 lt_status=$lt_dlunknown 7503 lt_status=$lt_dlunknown
7304 cat > conftest.$ac_ext <<EOF 7504 cat > conftest.$ac_ext <<EOF
7305#line 7305 "configure" 7505#line 7505 "configure"
7306#include "confdefs.h" 7506#include "confdefs.h"
7307 7507
7308#if HAVE_DLFCN_H 7508#if HAVE_DLFCN_H
7309#include <dlfcn.h> 7509#include <dlfcn.h>
7310#endif 7510#endif
8033MALLOC_TYPE=S 8233MALLOC_TYPE=S
8034support_addstrings=no 8234support_addstrings=no
8035support_frills=no 8235support_frills=no
8036support_linespace=no 8236support_linespace=no
8037support_inheritpixmap=no 8237support_inheritpixmap=no
8238support_tinting=no
8038support_keepscrolling=no 8239support_keepscrolling=no
8039support_selectionscrolling=no 8240support_selectionscrolling=no
8040support_menubar=no 8241support_menubar=no
8041support_mousewheel=no 8242support_mousewheel=no
8042support_mouseslipwheel=no 8243support_mouseslipwheel=no
8043support_oldselection=no
8044support_utmp=no 8244support_utmp=no
8045support_wtmp=no 8245support_wtmp=no
8046support_lastlog=no 8246support_lastlog=no
8047support_cursor_blink=no 8247support_cursor_blink=no
8048support_text_blink=no 8248support_text_blink=no
8054support_xim=no 8254support_xim=no
8055support_xpm=no 8255support_xpm=no
8056support_xft=no 8256support_xft=no
8057support_unicode3=no 8257support_unicode3=no
8058support_combining=no 8258support_combining=no
8259support_8bitctrls=no
8059codesets= 8260codesets=
8060 8261
8061 8262
8062if test "x$enable_shared" = xyes; then 8263if test "x$enable_shared" = xyes; then
8063 8264
8075 if test x$enableval = xyes; then 8276 if test x$enableval = xyes; then
8076 support_24bit=yes 8277 support_24bit=yes
8077 support_frills=yes 8278 support_frills=yes
8078 support_linespace=yes 8279 support_linespace=yes
8079 support_inheritpixmap=yes 8280 support_inheritpixmap=yes
8281 support_tinting=yes
8080 support_keepscrolling=yes 8282 support_keepscrolling=yes
8081 support_selectionscrolling=yes 8283 support_selectionscrolling=yes
8082 support_lastlog=yes 8284 support_lastlog=yes
8083 support_menubar=yes 8285 support_menubar=yes
8084 support_mousewheel=yes 8286 support_mousewheel=yes
8085 support_mouseslipwheel=yes 8287 support_mouseslipwheel=yes
8086 support_oldselection=yes
8087 support_cursor_blink=yes 8288 support_cursor_blink=yes
8088 support_text_blink=yes 8289 support_text_blink=yes
8089 support_pointer_blank=yes 8290 support_pointer_blank=yes
8090 support_scroll_rxvt=yes 8291 support_scroll_rxvt=yes
8091 support_scroll_next=yes 8292 support_scroll_next=yes
8096 support_xim=yes 8297 support_xim=yes
8097 support_xpm=yes 8298 support_xpm=yes
8098 support_xft=yes 8299 support_xft=yes
8099 support_unicode3=yes 8300 support_unicode3=yes
8100 support_combining=yes 8301 support_combining=yes
8302 #support_8bitctrls=yes
8101 codesets=all 8303 codesets=all
8102 fi 8304 fi
8103fi; 8305fi;
8104 8306
8105# Check whether --enable-unicode3 or --disable-unicode3 was given. 8307# Check whether --enable-unicode3 or --disable-unicode3 was given.
8164 if test x$enableval = xyes -o x$enableval = xno; then 8366 if test x$enableval = xyes -o x$enableval = xno; then
8165 support_inheritpixmap=$enableval 8367 support_inheritpixmap=$enableval
8166 fi 8368 fi
8167fi; 8369fi;
8168 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
8169# Check whether --enable-menubar or --disable-menubar was given. 8379# Check whether --enable-menubar or --disable-menubar was given.
8170if test "${enable_menubar+set}" = set; then 8380if test "${enable_menubar+set}" = set; then
8171 enableval="$enable_menubar" 8381 enableval="$enable_menubar"
8172 if test x$enableval = xyes -o x$enableval = xno; then 8382 if test x$enableval = xyes -o x$enableval = xno; then
8173 support_menubar=$enableval 8383 support_menubar=$enableval
8291_ACEOF 8501_ACEOF
8292 8502
8293 fi 8503 fi
8294fi; 8504fi;
8295 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
8296RESFALLBACK=Rxvt 8514RESFALLBACK=Rxvt
8297# Check whether --enable-fallback or --disable-fallback was given. 8515# Check whether --enable-fallback or --disable-fallback was given.
8298if test "${enable_fallback+set}" = set; then 8516if test "${enable_fallback+set}" = set; then
8299 enableval="$enable_fallback" 8517 enableval="$enable_fallback"
8300 8518
8420# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8638# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8421if test "${enable_slipwheeling+set}" = set; then 8639if test "${enable_slipwheeling+set}" = set; then
8422 enableval="$enable_slipwheeling" 8640 enableval="$enable_slipwheeling"
8423 if test x$enableval = xyes -o x$enableval = xno; then 8641 if test x$enableval = xyes -o x$enableval = xno; then
8424 support_mouseslipwheel=$enableval 8642 support_mouseslipwheel=$enableval
8425 fi
8426fi;
8427
8428# Check whether --enable-old-selection or --disable-old-selection was given.
8429if test "${enable_old_selection+set}" = set; then
8430 enableval="$enable_old_selection"
8431 if test x$enableval = xyes -o x$enableval = xno; then
8432 support_oldselection=$enableval
8433 fi
8434fi;
8435
8436# Check whether --enable-new-selection or --disable-new-selection was given.
8437if test "${enable_new_selection+set}" = set; then
8438 enableval="$enable_new_selection"
8439 if test x$enableval = xno; then
8440
8441cat >>confdefs.h <<\_ACEOF
8442#define NO_NEW_SELECTION 1
8443_ACEOF
8444
8445 fi 8643 fi
8446fi; 8644fi;
8447 8645
8448# Check whether --enable-dmalloc or --disable-dmalloc was given. 8646# Check whether --enable-dmalloc or --disable-dmalloc was given.
8449if test "${enable_dmalloc+set}" = set; then 8647if test "${enable_dmalloc+set}" = set; then
8875fi 9073fi
8876 9074
8877 9075
8878 9076
8879 9077
9078
9079if test "x$ac_path_x_has_been_run" != xyes; then
8880echo "$as_me:$LINENO: checking for X" >&5 9080 echo "$as_me:$LINENO: checking for X" >&5
8881echo $ECHO_N "checking for X... $ECHO_C" >&6 9081echo $ECHO_N "checking for X... $ECHO_C" >&6
8882 9082
9083ac_path_x_has_been_run=yes
8883 9084
8884# Check whether --with-x or --without-x was given. 9085# Check whether --with-x or --without-x was given.
8885if test "${with_x+set}" = set; then 9086if test "${with_x+set}" = set; then
8886 withval="$with_x" 9087 withval="$with_x"
8887 9088
8970 9171
8971/usr/openwin/include 9172/usr/openwin/include
8972/usr/openwin/share/include' 9173/usr/openwin/share/include'
8973 9174
8974if test "$ac_x_includes" = no; then 9175if test "$ac_x_includes" = no; then
8975 # 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.
8976 # First, try using that file with no special directory specified. 9177 # First, try using that file with no special directory specified.
8977 cat >conftest.$ac_ext <<_ACEOF 9178 cat >conftest.$ac_ext <<_ACEOF
8978/* confdefs.h. */ 9179/* confdefs.h. */
8979_ACEOF 9180_ACEOF
8980cat confdefs.h >>conftest.$ac_ext 9181cat confdefs.h >>conftest.$ac_ext
9104 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9305 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9105 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9306 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9106 # Update the cache value to reflect the command line values. 9307 # Update the cache value to reflect the command line values.
9107 ac_cv_have_x="have_x=yes \ 9308 ac_cv_have_x="have_x=yes \
9108 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"
9109 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
9110echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9315echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9111fi 9316fi
9112 9317
9318fi
9113if test "$no_x" = yes; then 9319if test "$no_x" = yes; then
9114 # 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.
9115 9321
9116cat >>confdefs.h <<\_ACEOF 9322cat >>confdefs.h <<\_ACEOF
9117#define X_DISPLAY_MISSING 1 9323#define X_DISPLAY_MISSING 1
16169#define PTYCHAR2 "$pch2" 16375#define PTYCHAR2 "$pch2"
16170_ACEOF 16376_ACEOF
16171 16377
16172fi 16378fi
16173 16379
16174echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16380if test x$support_8bitctrls = xyes; then
16175echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16381
16176if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16178else
16179 ac_check_lib_save_LIBS=$LIBS
16180LIBS="-lxpg4 $LIBS"
16181cat >conftest.$ac_ext <<_ACEOF
16182/* confdefs.h. */
16183_ACEOF
16184cat confdefs.h >>conftest.$ac_ext
16185cat >>conftest.$ac_ext <<_ACEOF 16382cat >>confdefs.h <<\_ACEOF
16186/* end confdefs.h. */ 16383#define EIGHT_BIT_CONTROLS 1
16187
16188/* Override any gcc2 internal prototype to avoid an error. */
16189#ifdef __cplusplus
16190extern "C"
16191#endif
16192/* We use char because int might match the return type of a gcc2
16193 builtin and then its argument prototype would still apply. */
16194char setlocale ();
16195int
16196main ()
16197{
16198setlocale ();
16199 ;
16200 return 0;
16201}
16202_ACEOF 16384_ACEOF
16203rm -f conftest.$ac_objext conftest$ac_exeext
16204if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16205 (eval $ac_link) 2>conftest.er1
16206 ac_status=$?
16207 grep -v '^ *+' conftest.er1 >conftest.err
16208 rm -f conftest.er1
16209 cat conftest.err >&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } &&
16212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16214 (eval $ac_try) 2>&5
16215 ac_status=$?
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }; } &&
16218 { ac_try='test -s conftest$ac_exeext'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16221 ac_status=$?
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; }; then
16224 ac_cv_lib_xpg4_setlocale=yes
16225else
16226 echo "$as_me: failed program was:" >&5
16227sed 's/^/| /' conftest.$ac_ext >&5
16228 16385
16229ac_cv_lib_xpg4_setlocale=no
16230fi 16386fi
16231rm -f conftest.err conftest.$ac_objext \ 16387if test x$support_tinting = xyes; then
16232 conftest$ac_exeext conftest.$ac_ext
16233LIBS=$ac_check_lib_save_LIBS
16234fi
16235echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16236echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16237if test $ac_cv_lib_xpg4_setlocale = yes; then
16238 LIBS="$LIBS -lxpg4"
16239fi
16240 16388
16389cat >>confdefs.h <<\_ACEOF
16390#define TINTING 1
16391_ACEOF
16241 16392
16393fi
16242if test x$support_inheritpixmap = xyes; then 16394if test x$support_inheritpixmap = xyes; then
16243 16395
16244cat >>confdefs.h <<\_ACEOF 16396cat >>confdefs.h <<\_ACEOF
16245#define TRANSPARENT 1 16397#define TRANSPARENT 1
16246_ACEOF 16398_ACEOF
16300cat >>confdefs.h <<\_ACEOF 16452cat >>confdefs.h <<\_ACEOF
16301#define MOUSE_SLIP_WHEELING 1 16453#define MOUSE_SLIP_WHEELING 1
16302_ACEOF 16454_ACEOF
16303 16455
16304fi 16456fi
16305if test x$support_oldselection = xno; then
16306
16307cat >>confdefs.h <<\_ACEOF
16308#define NO_OLD_SELECTION 1
16309_ACEOF
16310
16311fi
16312if test x$support_utmp = xyes; then 16457if test x$support_utmp = xyes; then
16313 16458
16314cat >>confdefs.h <<\_ACEOF 16459cat >>confdefs.h <<\_ACEOF
16315#define UTMP_SUPPORT 1 16460#define UTMP_SUPPORT 1
16316_ACEOF 16461_ACEOF
16407 16552
16408fi 16553fi
16409if test x$support_combining = xyes; then 16554if test x$support_combining = xyes; then
16410 16555
16411cat >>confdefs.h <<\_ACEOF 16556cat >>confdefs.h <<\_ACEOF
16412#define ENCODING_COMPOSE 1 16557#define ENABLE_COMBINING 1
16413_ACEOF 16558_ACEOF
16414 16559
16415fi 16560fi
16416if test x$codesets = xall; then 16561if test x$codesets = xall; then
16417 codesets=jp,jp-ext,kr,cn,cn-ext 16562 codesets=jp,jp-ext,kr,cn,cn-ext
18031echo " 18176echo "
18032The following are set in config.h 18177The following are set in config.h
18033" 18178"
18034echo " pty/tty type: "$rxvt_cv_ptys 18179echo " pty/tty type: "$rxvt_cv_ptys
18035if test x$support_utmp != xyes; then 18180if test x$support_utmp != xyes; then
18036 echo " utmp support: disabled 18181 echo " utmp support: disabled"
18037" 18182 echo
18038else 18183else
18039 echo " utmp support: enabled 18184 echo " utmp support: enabled
18040 utmp file: $rxvt_cv_path_utmp 18185 utmp file: $rxvt_cv_path_utmp
18041 utmpx file: $rxvt_cv_path_utmpx 18186 utmpx file: $rxvt_cv_path_utmpx
18042 wtmp file: $rxvt_cv_path_wtmp 18187 wtmp file: $rxvt_cv_path_wtmp
18043 wtmpx file: $rxvt_cv_path_wtmpx 18188 wtmpx file: $rxvt_cv_path_wtmpx
18044 lastlog file: $rxvt_cv_path_lastlog 18189 lastlog file: $rxvt_cv_path_lastlog
18045 ttys/ttytab file: $rxvt_cv_path_ttytab 18190 ttys/ttytab file: $rxvt_cv_path_ttytab"
18046" 18191 echo
18047fi 18192fi
18048if test x$term != x; then 18193if test x$term != x; then
18049 echo " set TERM to: $term" 18194 echo " set TERM to: $term"
18050fi 18195fi
18051if test x$terminfo != x; then 18196if test x$terminfo != x; then
18078 echo ". WARNING: --enable-xim was specified however the locale support ." 18223 echo ". WARNING: --enable-xim was specified however the locale support ."
18079 echo ". functions could not be found. ." 18224 echo ". functions could not be found. ."
18080 echo ". XIM is now being DISABLED! ." 18225 echo ". XIM is now being DISABLED! ."
18081 echo ".----------------------------------------------------------------." 18226 echo ".----------------------------------------------------------------."
18082fi 18227fi
18228
18083echo " *** Please check src/feature.h for further options *** 18229echo " *** Please check src/feature.h for further options ***"
18084" 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