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

Comparing rxvt-unicode/configure (file contents):
Revision 1.20 by pcg, Sun Mar 14 17:50:40 2004 UTC vs.
Revision 1.31 by root, Fri Jul 30 16:04:05 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
1042 --enable-fading enable colors fading when off focus
1041 --enable-menubar enable menubar 1043 --enable-menubar enable menubar
1042 --enable-rxvt-scroll enable rxvt style scrollbar 1044 --enable-rxvt-scroll enable rxvt style scrollbar
1043 --enable-next-scroll enable NeXT style scrollbar 1045 --enable-next-scroll enable NeXT style scrollbar
1044 --enable-xterm-scroll enable Xterm style scrollbar 1046 --enable-xterm-scroll enable Xterm style scrollbar
1045 --enable-plain-scroll enable plain style scrollbar 1047 --enable-plain-scroll enable plain style scrollbar
1048 --enable-ttygid enable tty setting to group named "tty" 1050 --enable-ttygid enable tty setting to group named "tty"
1049 --disable-backspace-key disable handling of the backspace key 1051 --disable-backspace-key disable handling of the backspace key
1050 --disable-delete-key disable handling of the delete key 1052 --disable-delete-key disable handling of the delete key
1051 --disable-resources disable all resource checking 1053 --disable-resources disable all resource checking
1052 --enable-xgetdefault enable resources via X instead of our small version 1054 --enable-xgetdefault enable resources via X instead of our small version
1055 --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) 1056 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1054 --enable-strings enable some replacement system functions 1057 --enable-strings enable some replacement system functions
1055 --disable-swapscreen disable swap screen support 1058 --disable-swapscreen disable swap screen support
1056 --enable-frills enable support for rarely used features 1059 --enable-frills enable support for rarely used features
1057 --enable-linespace enable support for linespace 1060 --enable-linespace enable support for linespace
1058 --enable-24bit enable support for using 24bit visuals if available 1061 --enable-24bit enable support for using 24bit visuals if available
1059 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1062 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1060 --enable-selectionscrolling enable scrolling during selections 1063 --enable-selectionscrolling enable scrolling during selections
1061 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1064 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1062 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1065 --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 1066 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1066 --enable-dlmalloc enable Doug Lea's malloc - for production use 1067 --enable-dlmalloc enable Doug Lea's malloc - for production use
1067 NOTE: enable only one malloc package 1068 NOTE: enable only one malloc package
1068 --enable-smart-resize enable smart growth/shrink behaviour 1069 --enable-smart-resize enable smart growth/shrink behaviour
1069 --enable-256-color enable 256-color support 1070 --enable-256-color enable 256-color support
3281LINKER=$LINKER 3282LINKER=$LINKER
3282 3283
3283 3284
3284CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3285CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3285 3286
3286if test x$GXX = xyes; then
3287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3288fi
3289 3287
3290ac_ext=cc 3288ac_ext=cc
3291ac_cpp='$CXXCPP $CPPFLAGS' 3289ac_cpp='$CXXCPP $CPPFLAGS'
3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3688echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3691echo "${ECHO_T}$ac_cv_search_strerror" >&6 3689echo "${ECHO_T}$ac_cv_search_strerror" >&6
3692if test "$ac_cv_search_strerror" != no; then 3690if test "$ac_cv_search_strerror" != no; then
3693 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3691 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3694 3692
3693fi
3694
3695
3696echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3697echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3698if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700else
3701 ac_check_lib_save_LIBS=$LIBS
3702LIBS="-lxpg4 $LIBS"
3703cat >conftest.$ac_ext <<_ACEOF
3704/* confdefs.h. */
3705_ACEOF
3706cat confdefs.h >>conftest.$ac_ext
3707cat >>conftest.$ac_ext <<_ACEOF
3708/* end confdefs.h. */
3709
3710/* Override any gcc2 internal prototype to avoid an error. */
3711#ifdef __cplusplus
3712extern "C"
3713#endif
3714/* We use char because int might match the return type of a gcc2
3715 builtin and then its argument prototype would still apply. */
3716char setlocale ();
3717int
3718main ()
3719{
3720setlocale ();
3721 ;
3722 return 0;
3723}
3724_ACEOF
3725rm -f conftest.$ac_objext conftest$ac_exeext
3726if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3727 (eval $ac_link) 2>conftest.er1
3728 ac_status=$?
3729 grep -v '^ *+' conftest.er1 >conftest.err
3730 rm -f conftest.er1
3731 cat conftest.err >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } &&
3734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3736 (eval $ac_try) 2>&5
3737 ac_status=$?
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; } &&
3740 { ac_try='test -s conftest$ac_exeext'
3741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3742 (eval $ac_try) 2>&5
3743 ac_status=$?
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }; }; then
3746 ac_cv_lib_xpg4_setlocale=yes
3747else
3748 echo "$as_me: failed program was:" >&5
3749sed 's/^/| /' conftest.$ac_ext >&5
3750
3751ac_cv_lib_xpg4_setlocale=no
3752fi
3753rm -f conftest.err conftest.$ac_objext \
3754 conftest$ac_exeext conftest.$ac_ext
3755LIBS=$ac_check_lib_save_LIBS
3756fi
3757echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3758echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3759if test $ac_cv_lib_xpg4_setlocale = yes; then
3760 LIBS="$LIBS -lxpg4"
3761fi
3762
3763
3764echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3765echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3766if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3768else
3769 ac_check_lib_save_LIBS=$LIBS
3770LIBS="-lnsl $LIBS"
3771cat >conftest.$ac_ext <<_ACEOF
3772/* confdefs.h. */
3773_ACEOF
3774cat confdefs.h >>conftest.$ac_ext
3775cat >>conftest.$ac_ext <<_ACEOF
3776/* end confdefs.h. */
3777
3778/* Override any gcc2 internal prototype to avoid an error. */
3779#ifdef __cplusplus
3780extern "C"
3781#endif
3782/* We use char because int might match the return type of a gcc2
3783 builtin and then its argument prototype would still apply. */
3784char gethostbyname ();
3785int
3786main ()
3787{
3788gethostbyname ();
3789 ;
3790 return 0;
3791}
3792_ACEOF
3793rm -f conftest.$ac_objext conftest$ac_exeext
3794if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3795 (eval $ac_link) 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } &&
3802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 (eval $ac_try) 2>&5
3805 ac_status=$?
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; } &&
3808 { ac_try='test -s conftest$ac_exeext'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 (eval $ac_try) 2>&5
3811 ac_status=$?
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; }; then
3814 ac_cv_lib_nsl_gethostbyname=yes
3815else
3816 echo "$as_me: failed program was:" >&5
3817sed 's/^/| /' conftest.$ac_ext >&5
3818
3819ac_cv_lib_nsl_gethostbyname=no
3820fi
3821rm -f conftest.err conftest.$ac_objext \
3822 conftest$ac_exeext conftest.$ac_ext
3823LIBS=$ac_check_lib_save_LIBS
3824fi
3825echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3826echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3827if test $ac_cv_lib_nsl_gethostbyname = yes; then
3828 LIBS="$LIBS -lnsl"
3829fi
3830
3831echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3832echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3833if test "${ac_cv_lib_socket_socket+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3835else
3836 ac_check_lib_save_LIBS=$LIBS
3837LIBS="-lsocket $LIBS"
3838cat >conftest.$ac_ext <<_ACEOF
3839/* confdefs.h. */
3840_ACEOF
3841cat confdefs.h >>conftest.$ac_ext
3842cat >>conftest.$ac_ext <<_ACEOF
3843/* end confdefs.h. */
3844
3845/* Override any gcc2 internal prototype to avoid an error. */
3846#ifdef __cplusplus
3847extern "C"
3848#endif
3849/* We use char because int might match the return type of a gcc2
3850 builtin and then its argument prototype would still apply. */
3851char socket ();
3852int
3853main ()
3854{
3855socket ();
3856 ;
3857 return 0;
3858}
3859_ACEOF
3860rm -f conftest.$ac_objext conftest$ac_exeext
3861if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3862 (eval $ac_link) 2>conftest.er1
3863 ac_status=$?
3864 grep -v '^ *+' conftest.er1 >conftest.err
3865 rm -f conftest.er1
3866 cat conftest.err >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } &&
3869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3871 (eval $ac_try) 2>&5
3872 ac_status=$?
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }; } &&
3875 { ac_try='test -s conftest$ac_exeext'
3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877 (eval $ac_try) 2>&5
3878 ac_status=$?
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); }; }; then
3881 ac_cv_lib_socket_socket=yes
3882else
3883 echo "$as_me: failed program was:" >&5
3884sed 's/^/| /' conftest.$ac_ext >&5
3885
3886ac_cv_lib_socket_socket=no
3887fi
3888rm -f conftest.err conftest.$ac_objext \
3889 conftest$ac_exeext conftest.$ac_ext
3890LIBS=$ac_check_lib_save_LIBS
3891fi
3892echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3893echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3894if test $ac_cv_lib_socket_socket = yes; then
3895 LIBS="$LIBS -lsocket"
3695fi 3896fi
3696 3897
3697 3898
3698# Check whether --enable-shared or --disable-shared was given. 3899# Check whether --enable-shared or --disable-shared was given.
3699if test "${enable_shared+set}" = set; then 3900if test "${enable_shared+set}" = set; then
5035# Some flags need to be propagated to the compiler or linker for good 5236# Some flags need to be propagated to the compiler or linker for good
5036# libtool support. 5237# libtool support.
5037case "$host" in 5238case "$host" in
5038*-*-irix6*) 5239*-*-irix6*)
5039 # Find out which ABI we are using. 5240 # Find out which ABI we are using.
5040 echo '#line 5040 "configure"' > conftest.$ac_ext 5241 echo '#line 5241 "configure"' > conftest.$ac_ext
5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 (eval $ac_compile) 2>&5 5243 (eval $ac_compile) 2>&5
5043 ac_status=$? 5244 ac_status=$?
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; then 5246 (exit $ac_status); }; then
5586# builds. 5787# builds.
5587chmod -w . 5788chmod -w .
5588save_CFLAGS="$CFLAGS" 5789save_CFLAGS="$CFLAGS"
5589CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5790CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5590compiler_c_o=no 5791compiler_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 5792if { (eval echo configure:5792: \"$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 5793 # The compiler can only warn and ignore the option if not recognized
5593 # So say no if there are warnings 5794 # So say no if there are warnings
5594 if test -s out/conftest.err; then 5795 if test -s out/conftest.err; then
5595 compiler_c_o=no 5796 compiler_c_o=no
5596 else 5797 else
7202 lt_cv_dlopen_self=cross 7403 lt_cv_dlopen_self=cross
7203else 7404else
7204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7405 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7205 lt_status=$lt_dlunknown 7406 lt_status=$lt_dlunknown
7206 cat > conftest.$ac_ext <<EOF 7407 cat > conftest.$ac_ext <<EOF
7207#line 7207 "configure" 7408#line 7408 "configure"
7208#include "confdefs.h" 7409#include "confdefs.h"
7209 7410
7210#if HAVE_DLFCN_H 7411#if HAVE_DLFCN_H
7211#include <dlfcn.h> 7412#include <dlfcn.h>
7212#endif 7413#endif
7300 lt_cv_dlopen_self_static=cross 7501 lt_cv_dlopen_self_static=cross
7301else 7502else
7302 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7303 lt_status=$lt_dlunknown 7504 lt_status=$lt_dlunknown
7304 cat > conftest.$ac_ext <<EOF 7505 cat > conftest.$ac_ext <<EOF
7305#line 7305 "configure" 7506#line 7506 "configure"
7306#include "confdefs.h" 7507#include "confdefs.h"
7307 7508
7308#if HAVE_DLFCN_H 7509#if HAVE_DLFCN_H
7309#include <dlfcn.h> 7510#include <dlfcn.h>
7310#endif 7511#endif
8033MALLOC_TYPE=S 8234MALLOC_TYPE=S
8034support_addstrings=no 8235support_addstrings=no
8035support_frills=no 8236support_frills=no
8036support_linespace=no 8237support_linespace=no
8037support_inheritpixmap=no 8238support_inheritpixmap=no
8239support_tinting=no
8240support_fading=no
8038support_keepscrolling=no 8241support_keepscrolling=no
8039support_selectionscrolling=no 8242support_selectionscrolling=no
8040support_menubar=no 8243support_menubar=no
8041support_mousewheel=no 8244support_mousewheel=no
8042support_mouseslipwheel=no 8245support_mouseslipwheel=no
8043support_oldselection=no
8044support_utmp=no 8246support_utmp=no
8045support_wtmp=no 8247support_wtmp=no
8046support_lastlog=no 8248support_lastlog=no
8047support_cursor_blink=no 8249support_cursor_blink=no
8048support_text_blink=no 8250support_text_blink=no
8054support_xim=no 8256support_xim=no
8055support_xpm=no 8257support_xpm=no
8056support_xft=no 8258support_xft=no
8057support_unicode3=no 8259support_unicode3=no
8058support_combining=no 8260support_combining=no
8261support_8bitctrls=no
8059codesets= 8262codesets=
8060 8263
8061 8264
8062if test "x$enable_shared" = xyes; then 8265if test "x$enable_shared" = xyes; then
8063 8266
8075 if test x$enableval = xyes; then 8278 if test x$enableval = xyes; then
8076 support_24bit=yes 8279 support_24bit=yes
8077 support_frills=yes 8280 support_frills=yes
8078 support_linespace=yes 8281 support_linespace=yes
8079 support_inheritpixmap=yes 8282 support_inheritpixmap=yes
8283 support_tinting=yes
8284 support_fading=yes
8080 support_keepscrolling=yes 8285 support_keepscrolling=yes
8081 support_selectionscrolling=yes 8286 support_selectionscrolling=yes
8082 support_lastlog=yes 8287 support_lastlog=yes
8083 support_menubar=yes 8288 support_menubar=yes
8084 support_mousewheel=yes 8289 support_mousewheel=yes
8085 support_mouseslipwheel=yes 8290 support_mouseslipwheel=yes
8086 support_oldselection=yes
8087 support_cursor_blink=yes 8291 support_cursor_blink=yes
8088 support_text_blink=yes 8292 support_text_blink=yes
8089 support_pointer_blank=yes 8293 support_pointer_blank=yes
8090 support_scroll_rxvt=yes 8294 support_scroll_rxvt=yes
8091 support_scroll_next=yes 8295 support_scroll_next=yes
8096 support_xim=yes 8300 support_xim=yes
8097 support_xpm=yes 8301 support_xpm=yes
8098 support_xft=yes 8302 support_xft=yes
8099 support_unicode3=yes 8303 support_unicode3=yes
8100 support_combining=yes 8304 support_combining=yes
8305 #support_8bitctrls=yes
8101 codesets=all 8306 codesets=all
8102 fi 8307 fi
8103fi; 8308fi;
8104 8309
8105# Check whether --enable-unicode3 or --disable-unicode3 was given. 8310# Check whether --enable-unicode3 or --disable-unicode3 was given.
8164 if test x$enableval = xyes -o x$enableval = xno; then 8369 if test x$enableval = xyes -o x$enableval = xno; then
8165 support_inheritpixmap=$enableval 8370 support_inheritpixmap=$enableval
8166 fi 8371 fi
8167fi; 8372fi;
8168 8373
8374# Check whether --enable-tinting or --disable-tinting was given.
8375if test "${enable_tinting+set}" = set; then
8376 enableval="$enable_tinting"
8377 if test x$enableval = xyes -o x$enableval = xno; then
8378 support_tinting=$enableval
8379 fi
8380fi;
8381
8382# Check whether --enable-fading or --disable-fading was given.
8383if test "${enable_fading+set}" = set; then
8384 enableval="$enable_fading"
8385 if test x$enableval = xyes -o x$enableval = xno; then
8386 support_fading=$enableval
8387 fi
8388fi;
8389
8169# Check whether --enable-menubar or --disable-menubar was given. 8390# Check whether --enable-menubar or --disable-menubar was given.
8170if test "${enable_menubar+set}" = set; then 8391if test "${enable_menubar+set}" = set; then
8171 enableval="$enable_menubar" 8392 enableval="$enable_menubar"
8172 if test x$enableval = xyes -o x$enableval = xno; then 8393 if test x$enableval = xyes -o x$enableval = xno; then
8173 support_menubar=$enableval 8394 support_menubar=$enableval
8291_ACEOF 8512_ACEOF
8292 8513
8293 fi 8514 fi
8294fi; 8515fi;
8295 8516
8517# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8518if test "${enable_8bitctrls+set}" = set; then
8519 enableval="$enable_8bitctrls"
8520 if test x$enableval = xyes -o x$enableval = xno; then
8521 support_8bitctrls=yes
8522 fi
8523fi;
8524
8296RESFALLBACK=Rxvt 8525RESFALLBACK=Rxvt
8297# Check whether --enable-fallback or --disable-fallback was given. 8526# Check whether --enable-fallback or --disable-fallback was given.
8298if test "${enable_fallback+set}" = set; then 8527if test "${enable_fallback+set}" = set; then
8299 enableval="$enable_fallback" 8528 enableval="$enable_fallback"
8300 8529
8420# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8649# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8421if test "${enable_slipwheeling+set}" = set; then 8650if test "${enable_slipwheeling+set}" = set; then
8422 enableval="$enable_slipwheeling" 8651 enableval="$enable_slipwheeling"
8423 if test x$enableval = xyes -o x$enableval = xno; then 8652 if test x$enableval = xyes -o x$enableval = xno; then
8424 support_mouseslipwheel=$enableval 8653 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 8654 fi
8446fi; 8655fi;
8447 8656
8448# Check whether --enable-dmalloc or --disable-dmalloc was given. 8657# Check whether --enable-dmalloc or --disable-dmalloc was given.
8449if test "${enable_dmalloc+set}" = set; then 8658if test "${enable_dmalloc+set}" = set; then
8875fi 9084fi
8876 9085
8877 9086
8878 9087
8879 9088
9089
9090if test "x$ac_path_x_has_been_run" != xyes; then
8880echo "$as_me:$LINENO: checking for X" >&5 9091 echo "$as_me:$LINENO: checking for X" >&5
8881echo $ECHO_N "checking for X... $ECHO_C" >&6 9092echo $ECHO_N "checking for X... $ECHO_C" >&6
8882 9093
9094ac_path_x_has_been_run=yes
8883 9095
8884# Check whether --with-x or --without-x was given. 9096# Check whether --with-x or --without-x was given.
8885if test "${with_x+set}" = set; then 9097if test "${with_x+set}" = set; then
8886 withval="$with_x" 9098 withval="$with_x"
8887 9099
8970 9182
8971/usr/openwin/include 9183/usr/openwin/include
8972/usr/openwin/share/include' 9184/usr/openwin/share/include'
8973 9185
8974if test "$ac_x_includes" = no; then 9186if test "$ac_x_includes" = no; then
8975 # Guess where to find include files, by looking for Intrinsic.h. 9187 # Guess where to find include files, by looking for a specified header file.
8976 # First, try using that file with no special directory specified. 9188 # First, try using that file with no special directory specified.
8977 cat >conftest.$ac_ext <<_ACEOF 9189 cat >conftest.$ac_ext <<_ACEOF
8978/* confdefs.h. */ 9190/* confdefs.h. */
8979_ACEOF 9191_ACEOF
8980cat confdefs.h >>conftest.$ac_ext 9192cat confdefs.h >>conftest.$ac_ext
9104 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9316 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9105 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9317 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9106 # Update the cache value to reflect the command line values. 9318 # Update the cache value to reflect the command line values.
9107 ac_cv_have_x="have_x=yes \ 9319 ac_cv_have_x="have_x=yes \
9108 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9320 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9321 # It might be that x_includes is empty (headers are found in the
9322 # standard search path. Then output the corresponding message
9323 ac_out_x_includes=$x_includes
9324 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 9325 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9110echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9326echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9111fi 9327fi
9112 9328
9329fi
9113if test "$no_x" = yes; then 9330if test "$no_x" = yes; then
9114 # Not all programs may use this symbol, but it does not hurt to define it. 9331 # Not all programs may use this symbol, but it does not hurt to define it.
9115 9332
9116cat >>confdefs.h <<\_ACEOF 9333cat >>confdefs.h <<\_ACEOF
9117#define X_DISPLAY_MISSING 1 9334#define X_DISPLAY_MISSING 1
15981#define HAVE_NL_LANGINFO 1 16198#define HAVE_NL_LANGINFO 1
15982_ACEOF 16199_ACEOF
15983 16200
15984fi 16201fi
15985 16202
16203echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16204echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16205if test "${rxvt_broken_ximcb+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16207else
16208 cat >conftest.$ac_ext <<_ACEOF
16209
16210#include <X11/Xlib.h>
16211
16212void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16213
16214void f() {
16215 XIMCallback cb;
16216 cb.callback = im_destroy_cb;
16217}
16218
16219_ACEOF
16220rm -f conftest.$ac_objext
16221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16222 (eval $ac_compile) 2>conftest.er1
16223 ac_status=$?
16224 grep -v '^ *+' conftest.er1 >conftest.err
16225 rm -f conftest.er1
16226 cat conftest.err >&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); } &&
16229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16232 ac_status=$?
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; } &&
16235 { ac_try='test -s conftest.$ac_objext'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16238 ac_status=$?
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; }; then
16241 rxvt_broken_ximcb=yes
16242else
16243 echo "$as_me: failed program was:" >&5
16244sed 's/^/| /' conftest.$ac_ext >&5
16245
16246rxvt_broken_ximcb=no
16247fi
16248rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16249fi
16250echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16251echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16252
16253if test x$rxvt_broken_ximcb = xyes; then
16254
16255cat >>confdefs.h <<\_ACEOF
16256#define XIMCB_PROTO_BROKEN 1
16257_ACEOF
16258
16259fi
16260
15986echo "$as_me:$LINENO: checking for getpt" >&5 16261echo "$as_me:$LINENO: checking for getpt" >&5
15987echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16262echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15988if test "${rxvt_cv_func_getpt+set}" = set; then 16263if test "${rxvt_cv_func_getpt+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6 16264 echo $ECHO_N "(cached) $ECHO_C" >&6
15990else 16265else
16169#define PTYCHAR2 "$pch2" 16444#define PTYCHAR2 "$pch2"
16170_ACEOF 16445_ACEOF
16171 16446
16172fi 16447fi
16173 16448
16174echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16449if test x$support_8bitctrls = xyes; then
16175echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16450
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 16451cat >>confdefs.h <<\_ACEOF
16186/* end confdefs.h. */ 16452#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 16453_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 16454
16229ac_cv_lib_xpg4_setlocale=no
16230fi 16455fi
16231rm -f conftest.err conftest.$ac_objext \ 16456if test x$support_fading = 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 16457
16458cat >>confdefs.h <<\_ACEOF
16459#define OFF_FOCUS_FADING 1
16460_ACEOF
16241 16461
16462fi
16463if test x$support_tinting = xyes; then
16464
16465cat >>confdefs.h <<\_ACEOF
16466#define TINTING 1
16467_ACEOF
16468
16469fi
16242if test x$support_inheritpixmap = xyes; then 16470if test x$support_inheritpixmap = xyes; then
16243 16471
16244cat >>confdefs.h <<\_ACEOF 16472cat >>confdefs.h <<\_ACEOF
16245#define TRANSPARENT 1 16473#define TRANSPARENT 1
16246_ACEOF 16474_ACEOF
16297fi 16525fi
16298if test x$support_mouseslipwheel = xyes; then 16526if test x$support_mouseslipwheel = xyes; then
16299 16527
16300cat >>confdefs.h <<\_ACEOF 16528cat >>confdefs.h <<\_ACEOF
16301#define MOUSE_SLIP_WHEELING 1 16529#define MOUSE_SLIP_WHEELING 1
16302_ACEOF
16303
16304fi
16305if test x$support_oldselection = xno; then
16306
16307cat >>confdefs.h <<\_ACEOF
16308#define NO_OLD_SELECTION 1
16309_ACEOF 16530_ACEOF
16310 16531
16311fi 16532fi
16312if test x$support_utmp = xyes; then 16533if test x$support_utmp = xyes; then
16313 16534

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines