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.34 by root, Sun Aug 15 04:42:45 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
1059 --enable-iso14755 enable support for extended ISO 14755 modes
1056 --enable-frills enable support for rarely used features 1060 --enable-frills enable support for rarely used features
1057 --enable-linespace enable support for linespace 1061 --enable-linespace enable support for linespace
1058 --enable-24bit enable support for using 24bit visuals if available 1062 --enable-24bit enable support for using 24bit visuals if available
1059 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1063 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1060 --enable-selectionscrolling enable scrolling during selections 1064 --enable-selectionscrolling enable scrolling during selections
1061 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1065 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1062 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1066 --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 1067 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1066 --enable-dlmalloc enable Doug Lea's malloc - for production use 1068 --enable-dlmalloc enable Doug Lea's malloc - for production use
1067 NOTE: enable only one malloc package 1069 NOTE: enable only one malloc package
1068 --enable-smart-resize enable smart growth/shrink behaviour 1070 --enable-smart-resize enable smart growth/shrink behaviour
1069 --enable-256-color enable 256-color support 1071 --enable-256-color enable 256-color support
1535 1537
1536 1538
1537 1539
1538 1540
1539 1541
1542
1540ac_aux_dir= 1543ac_aux_dir=
1541for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1542 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1543 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1544 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
3281LINKER=$LINKER 3284LINKER=$LINKER
3282 3285
3283 3286
3284CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3287CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3285 3288
3286if test x$GXX = xyes; then
3287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3288fi
3289 3289
3290ac_ext=cc 3290ac_ext=cc
3291ac_cpp='$CXXCPP $CPPFLAGS' 3291ac_cpp='$CXXCPP $CPPFLAGS'
3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3691echo "${ECHO_T}$ac_cv_search_strerror" >&6 3691echo "${ECHO_T}$ac_cv_search_strerror" >&6
3692if test "$ac_cv_search_strerror" != no; then 3692if test "$ac_cv_search_strerror" != no; then
3693 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3693 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3694 3694
3695fi
3696
3697
3698echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3699echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3700if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702else
3703 ac_check_lib_save_LIBS=$LIBS
3704LIBS="-lxpg4 $LIBS"
3705cat >conftest.$ac_ext <<_ACEOF
3706/* confdefs.h. */
3707_ACEOF
3708cat confdefs.h >>conftest.$ac_ext
3709cat >>conftest.$ac_ext <<_ACEOF
3710/* end confdefs.h. */
3711
3712/* Override any gcc2 internal prototype to avoid an error. */
3713#ifdef __cplusplus
3714extern "C"
3715#endif
3716/* We use char because int might match the return type of a gcc2
3717 builtin and then its argument prototype would still apply. */
3718char setlocale ();
3719int
3720main ()
3721{
3722setlocale ();
3723 ;
3724 return 0;
3725}
3726_ACEOF
3727rm -f conftest.$ac_objext conftest$ac_exeext
3728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3729 (eval $ac_link) 2>conftest.er1
3730 ac_status=$?
3731 grep -v '^ *+' conftest.er1 >conftest.err
3732 rm -f conftest.er1
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738 (eval $ac_try) 2>&5
3739 ac_status=$?
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; } &&
3742 { ac_try='test -s conftest$ac_exeext'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 (eval $ac_try) 2>&5
3745 ac_status=$?
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then
3748 ac_cv_lib_xpg4_setlocale=yes
3749else
3750 echo "$as_me: failed program was:" >&5
3751sed 's/^/| /' conftest.$ac_ext >&5
3752
3753ac_cv_lib_xpg4_setlocale=no
3754fi
3755rm -f conftest.err conftest.$ac_objext \
3756 conftest$ac_exeext conftest.$ac_ext
3757LIBS=$ac_check_lib_save_LIBS
3758fi
3759echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3760echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3761if test $ac_cv_lib_xpg4_setlocale = yes; then
3762 LIBS="$LIBS -lxpg4"
3763fi
3764
3765
3766echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3767echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3768if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3770else
3771 ac_check_lib_save_LIBS=$LIBS
3772LIBS="-lnsl $LIBS"
3773cat >conftest.$ac_ext <<_ACEOF
3774/* confdefs.h. */
3775_ACEOF
3776cat confdefs.h >>conftest.$ac_ext
3777cat >>conftest.$ac_ext <<_ACEOF
3778/* end confdefs.h. */
3779
3780/* Override any gcc2 internal prototype to avoid an error. */
3781#ifdef __cplusplus
3782extern "C"
3783#endif
3784/* We use char because int might match the return type of a gcc2
3785 builtin and then its argument prototype would still apply. */
3786char gethostbyname ();
3787int
3788main ()
3789{
3790gethostbyname ();
3791 ;
3792 return 0;
3793}
3794_ACEOF
3795rm -f conftest.$ac_objext conftest$ac_exeext
3796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3797 (eval $ac_link) 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } &&
3804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 (eval $ac_try) 2>&5
3807 ac_status=$?
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; } &&
3810 { ac_try='test -s conftest$ac_exeext'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 (eval $ac_try) 2>&5
3813 ac_status=$?
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3816 ac_cv_lib_nsl_gethostbyname=yes
3817else
3818 echo "$as_me: failed program was:" >&5
3819sed 's/^/| /' conftest.$ac_ext >&5
3820
3821ac_cv_lib_nsl_gethostbyname=no
3822fi
3823rm -f conftest.err conftest.$ac_objext \
3824 conftest$ac_exeext conftest.$ac_ext
3825LIBS=$ac_check_lib_save_LIBS
3826fi
3827echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3828echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3829if test $ac_cv_lib_nsl_gethostbyname = yes; then
3830 LIBS="$LIBS -lnsl"
3831fi
3832
3833echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3834echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3835if test "${ac_cv_lib_socket_socket+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3837else
3838 ac_check_lib_save_LIBS=$LIBS
3839LIBS="-lsocket $LIBS"
3840cat >conftest.$ac_ext <<_ACEOF
3841/* confdefs.h. */
3842_ACEOF
3843cat confdefs.h >>conftest.$ac_ext
3844cat >>conftest.$ac_ext <<_ACEOF
3845/* end confdefs.h. */
3846
3847/* Override any gcc2 internal prototype to avoid an error. */
3848#ifdef __cplusplus
3849extern "C"
3850#endif
3851/* We use char because int might match the return type of a gcc2
3852 builtin and then its argument prototype would still apply. */
3853char socket ();
3854int
3855main ()
3856{
3857socket ();
3858 ;
3859 return 0;
3860}
3861_ACEOF
3862rm -f conftest.$ac_objext conftest$ac_exeext
3863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3864 (eval $ac_link) 2>conftest.er1
3865 ac_status=$?
3866 grep -v '^ *+' conftest.er1 >conftest.err
3867 rm -f conftest.er1
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873 (eval $ac_try) 2>&5
3874 ac_status=$?
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; } &&
3877 { ac_try='test -s conftest$ac_exeext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 (eval $ac_try) 2>&5
3880 ac_status=$?
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_cv_lib_socket_socket=yes
3884else
3885 echo "$as_me: failed program was:" >&5
3886sed 's/^/| /' conftest.$ac_ext >&5
3887
3888ac_cv_lib_socket_socket=no
3889fi
3890rm -f conftest.err conftest.$ac_objext \
3891 conftest$ac_exeext conftest.$ac_ext
3892LIBS=$ac_check_lib_save_LIBS
3893fi
3894echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3895echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3896if test $ac_cv_lib_socket_socket = yes; then
3897 LIBS="$LIBS -lsocket"
3695fi 3898fi
3696 3899
3697 3900
3698# Check whether --enable-shared or --disable-shared was given. 3901# Check whether --enable-shared or --disable-shared was given.
3699if test "${enable_shared+set}" = set; then 3902if test "${enable_shared+set}" = set; then
5035# Some flags need to be propagated to the compiler or linker for good 5238# Some flags need to be propagated to the compiler or linker for good
5036# libtool support. 5239# libtool support.
5037case "$host" in 5240case "$host" in
5038*-*-irix6*) 5241*-*-irix6*)
5039 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
5040 echo '#line 5040 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
5043 ac_status=$? 5246 ac_status=$?
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
5586# builds. 5789# builds.
5587chmod -w . 5790chmod -w .
5588save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5589CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5590compiler_c_o=no 5793compiler_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 5794if { (eval echo configure:5794: \"$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 5795 # The compiler can only warn and ignore the option if not recognized
5593 # So say no if there are warnings 5796 # So say no if there are warnings
5594 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5595 compiler_c_o=no 5798 compiler_c_o=no
5596 else 5799 else
7202 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
7203else 7406else
7204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7205 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
7206 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
7207#line 7207 "configure" 7410#line 7410 "configure"
7208#include "confdefs.h" 7411#include "confdefs.h"
7209 7412
7210#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
7211#include <dlfcn.h> 7414#include <dlfcn.h>
7212#endif 7415#endif
7300 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
7301else 7504else
7302 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7303 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
7304 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
7305#line 7305 "configure" 7508#line 7508 "configure"
7306#include "confdefs.h" 7509#include "confdefs.h"
7307 7510
7308#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
7309#include <dlfcn.h> 7512#include <dlfcn.h>
7310#endif 7513#endif
8033MALLOC_TYPE=S 8236MALLOC_TYPE=S
8034support_addstrings=no 8237support_addstrings=no
8035support_frills=no 8238support_frills=no
8036support_linespace=no 8239support_linespace=no
8037support_inheritpixmap=no 8240support_inheritpixmap=no
8241support_tinting=no
8242support_fading=no
8038support_keepscrolling=no 8243support_keepscrolling=no
8039support_selectionscrolling=no 8244support_selectionscrolling=no
8040support_menubar=no 8245support_menubar=no
8041support_mousewheel=no 8246support_mousewheel=no
8042support_mouseslipwheel=no 8247support_mouseslipwheel=no
8043support_oldselection=no
8044support_utmp=no 8248support_utmp=no
8045support_wtmp=no 8249support_wtmp=no
8046support_lastlog=no 8250support_lastlog=no
8047support_cursor_blink=no 8251support_cursor_blink=no
8048support_text_blink=no 8252support_text_blink=no
8054support_xim=no 8258support_xim=no
8055support_xpm=no 8259support_xpm=no
8056support_xft=no 8260support_xft=no
8057support_unicode3=no 8261support_unicode3=no
8058support_combining=no 8262support_combining=no
8263support_8bitctrls=no
8264support_iso14755=no
8059codesets= 8265codesets=
8060 8266
8061 8267
8062if test "x$enable_shared" = xyes; then 8268if test "x$enable_shared" = xyes; then
8063 8269
8075 if test x$enableval = xyes; then 8281 if test x$enableval = xyes; then
8076 support_24bit=yes 8282 support_24bit=yes
8077 support_frills=yes 8283 support_frills=yes
8078 support_linespace=yes 8284 support_linespace=yes
8079 support_inheritpixmap=yes 8285 support_inheritpixmap=yes
8286 support_tinting=yes
8287 support_fading=yes
8080 support_keepscrolling=yes 8288 support_keepscrolling=yes
8081 support_selectionscrolling=yes 8289 support_selectionscrolling=yes
8082 support_lastlog=yes 8290 support_lastlog=yes
8083 support_menubar=yes 8291 support_menubar=yes
8084 support_mousewheel=yes 8292 support_mousewheel=yes
8085 support_mouseslipwheel=yes 8293 support_mouseslipwheel=yes
8086 support_oldselection=yes
8087 support_cursor_blink=yes 8294 support_cursor_blink=yes
8088 support_text_blink=yes 8295 support_text_blink=yes
8089 support_pointer_blank=yes 8296 support_pointer_blank=yes
8090 support_scroll_rxvt=yes 8297 support_scroll_rxvt=yes
8091 support_scroll_next=yes 8298 support_scroll_next=yes
8096 support_xim=yes 8303 support_xim=yes
8097 support_xpm=yes 8304 support_xpm=yes
8098 support_xft=yes 8305 support_xft=yes
8099 support_unicode3=yes 8306 support_unicode3=yes
8100 support_combining=yes 8307 support_combining=yes
8308 #support_8bitctrls=yes
8309 support_iso14755=yes
8101 codesets=all 8310 codesets=all
8102 fi 8311 fi
8103fi; 8312fi;
8104 8313
8105# Check whether --enable-unicode3 or --disable-unicode3 was given. 8314# Check whether --enable-unicode3 or --disable-unicode3 was given.
8164 if test x$enableval = xyes -o x$enableval = xno; then 8373 if test x$enableval = xyes -o x$enableval = xno; then
8165 support_inheritpixmap=$enableval 8374 support_inheritpixmap=$enableval
8166 fi 8375 fi
8167fi; 8376fi;
8168 8377
8378# Check whether --enable-tinting or --disable-tinting was given.
8379if test "${enable_tinting+set}" = set; then
8380 enableval="$enable_tinting"
8381 if test x$enableval = xyes -o x$enableval = xno; then
8382 support_tinting=$enableval
8383 fi
8384fi;
8385
8386# Check whether --enable-fading or --disable-fading was given.
8387if test "${enable_fading+set}" = set; then
8388 enableval="$enable_fading"
8389 if test x$enableval = xyes -o x$enableval = xno; then
8390 support_fading=$enableval
8391 fi
8392fi;
8393
8169# Check whether --enable-menubar or --disable-menubar was given. 8394# Check whether --enable-menubar or --disable-menubar was given.
8170if test "${enable_menubar+set}" = set; then 8395if test "${enable_menubar+set}" = set; then
8171 enableval="$enable_menubar" 8396 enableval="$enable_menubar"
8172 if test x$enableval = xyes -o x$enableval = xno; then 8397 if test x$enableval = xyes -o x$enableval = xno; then
8173 support_menubar=$enableval 8398 support_menubar=$enableval
8291_ACEOF 8516_ACEOF
8292 8517
8293 fi 8518 fi
8294fi; 8519fi;
8295 8520
8521# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8522if test "${enable_8bitctrls+set}" = set; then
8523 enableval="$enable_8bitctrls"
8524 if test x$enableval = xyes -o x$enableval = xno; then
8525 support_8bitctrls=yes
8526 fi
8527fi;
8528
8296RESFALLBACK=Rxvt 8529RESFALLBACK=Rxvt
8297# Check whether --enable-fallback or --disable-fallback was given. 8530# Check whether --enable-fallback or --disable-fallback was given.
8298if test "${enable_fallback+set}" = set; then 8531if test "${enable_fallback+set}" = set; then
8299 enableval="$enable_fallback" 8532 enableval="$enable_fallback"
8300 8533
8367_ACEOF 8600_ACEOF
8368 8601
8369 fi 8602 fi
8370fi; 8603fi;
8371 8604
8605# Check whether --enable-iso14755 or --disable-iso14755 was given.
8606if test "${enable_iso14755+set}" = set; then
8607 enableval="$enable_iso14755"
8608 if test x$enableval = xyes -o x$enableval = xno; then
8609 support_iso14755=$enableval
8610 fi
8611fi;
8612
8372# Check whether --enable-frills or --disable-frills was given. 8613# Check whether --enable-frills or --disable-frills was given.
8373if test "${enable_frills+set}" = set; then 8614if test "${enable_frills+set}" = set; then
8374 enableval="$enable_frills" 8615 enableval="$enable_frills"
8375 if test x$enableval = xyes -o x$enableval = xno; then 8616 if test x$enableval = xyes -o x$enableval = xno; then
8376 support_frills=$enableval 8617 support_frills=$enableval
8420# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8661# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8421if test "${enable_slipwheeling+set}" = set; then 8662if test "${enable_slipwheeling+set}" = set; then
8422 enableval="$enable_slipwheeling" 8663 enableval="$enable_slipwheeling"
8423 if test x$enableval = xyes -o x$enableval = xno; then 8664 if test x$enableval = xyes -o x$enableval = xno; then
8424 support_mouseslipwheel=$enableval 8665 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 8666 fi
8446fi; 8667fi;
8447 8668
8448# Check whether --enable-dmalloc or --disable-dmalloc was given. 8669# Check whether --enable-dmalloc or --disable-dmalloc was given.
8449if test "${enable_dmalloc+set}" = set; then 8670if test "${enable_dmalloc+set}" = set; then
8875fi 9096fi
8876 9097
8877 9098
8878 9099
8879 9100
9101
9102if test "x$ac_path_x_has_been_run" != xyes; then
8880echo "$as_me:$LINENO: checking for X" >&5 9103 echo "$as_me:$LINENO: checking for X" >&5
8881echo $ECHO_N "checking for X... $ECHO_C" >&6 9104echo $ECHO_N "checking for X... $ECHO_C" >&6
8882 9105
9106ac_path_x_has_been_run=yes
8883 9107
8884# Check whether --with-x or --without-x was given. 9108# Check whether --with-x or --without-x was given.
8885if test "${with_x+set}" = set; then 9109if test "${with_x+set}" = set; then
8886 withval="$with_x" 9110 withval="$with_x"
8887 9111
8970 9194
8971/usr/openwin/include 9195/usr/openwin/include
8972/usr/openwin/share/include' 9196/usr/openwin/share/include'
8973 9197
8974if test "$ac_x_includes" = no; then 9198if test "$ac_x_includes" = no; then
8975 # Guess where to find include files, by looking for Intrinsic.h. 9199 # Guess where to find include files, by looking for a specified header file.
8976 # First, try using that file with no special directory specified. 9200 # First, try using that file with no special directory specified.
8977 cat >conftest.$ac_ext <<_ACEOF 9201 cat >conftest.$ac_ext <<_ACEOF
8978/* confdefs.h. */ 9202/* confdefs.h. */
8979_ACEOF 9203_ACEOF
8980cat confdefs.h >>conftest.$ac_ext 9204cat confdefs.h >>conftest.$ac_ext
9104 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9328 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9105 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9329 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9106 # Update the cache value to reflect the command line values. 9330 # Update the cache value to reflect the command line values.
9107 ac_cv_have_x="have_x=yes \ 9331 ac_cv_have_x="have_x=yes \
9108 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9332 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9333 # It might be that x_includes is empty (headers are found in the
9334 # standard search path. Then output the corresponding message
9335 ac_out_x_includes=$x_includes
9336 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 9337 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9110echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9338echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9111fi 9339fi
9112 9340
9341fi
9113if test "$no_x" = yes; then 9342if test "$no_x" = yes; then
9114 # Not all programs may use this symbol, but it does not hurt to define it. 9343 # Not all programs may use this symbol, but it does not hurt to define it.
9115 9344
9116cat >>confdefs.h <<\_ACEOF 9345cat >>confdefs.h <<\_ACEOF
9117#define X_DISPLAY_MISSING 1 9346#define X_DISPLAY_MISSING 1
10694 10923
10695 10924
10696 10925
10697 10926
10698 10927
10928
10699for ac_header in \ 10929for ac_header in \
10700 assert.h \ 10930 assert.h \
10701 fcntl.h \ 10931 fcntl.h \
10702 grp.h \ 10932 grp.h \
10703 libc.h \ 10933 libc.h \
10710 sys/byteorder.h \ 10940 sys/byteorder.h \
10711 sys/ioctl.h \ 10941 sys/ioctl.h \
10712 sys/select.h \ 10942 sys/select.h \
10713 sys/sockio.h \ 10943 sys/sockio.h \
10714 sys/strredir.h \ 10944 sys/strredir.h \
10945 sys/stropts.h \
10715 sys/time.h \ 10946 sys/time.h \
10716 utmp.h \ 10947 utmp.h \
10717 utmpx.h \ 10948 utmpx.h \
10718 stdint.h \ 10949 stdint.h \
10719 10950
11505cat >>confdefs.h <<\_ACEOF 11736cat >>confdefs.h <<\_ACEOF
11506#define gid_t int 11737#define gid_t int
11507_ACEOF 11738_ACEOF
11508 11739
11509fi 11740fi
11510
11511 11741
11512 11742
11513echo "$as_me:$LINENO: checking for char" >&5 11743echo "$as_me:$LINENO: checking for char" >&5
11514echo $ECHO_N "checking for char... $ECHO_C" >&6 11744echo $ECHO_N "checking for char... $ECHO_C" >&6
11515if test "${ac_cv_type_char+set}" = set; then 11745if test "${ac_cv_type_char+set}" = set; then
15981#define HAVE_NL_LANGINFO 1 16211#define HAVE_NL_LANGINFO 1
15982_ACEOF 16212_ACEOF
15983 16213
15984fi 16214fi
15985 16215
16216echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16217echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16218if test "${rxvt_broken_ximcb+set}" = set; then
16219 echo $ECHO_N "(cached) $ECHO_C" >&6
16220else
16221 cat >conftest.$ac_ext <<_ACEOF
16222
16223#include <X11/Xlib.h>
16224
16225void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16226
16227void f() {
16228 XIMCallback cb;
16229 cb.callback = im_destroy_cb;
16230}
16231
16232_ACEOF
16233rm -f conftest.$ac_objext
16234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 rxvt_broken_ximcb=yes
16255else
16256 echo "$as_me: failed program was:" >&5
16257sed 's/^/| /' conftest.$ac_ext >&5
16258
16259rxvt_broken_ximcb=no
16260fi
16261rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262fi
16263echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16264echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16265
16266if test x$rxvt_broken_ximcb = xyes; then
16267
16268cat >>confdefs.h <<\_ACEOF
16269#define XIMCB_PROTO_BROKEN 1
16270_ACEOF
16271
16272fi
16273
15986echo "$as_me:$LINENO: checking for getpt" >&5 16274echo "$as_me:$LINENO: checking for getpt" >&5
15987echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16275echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15988if test "${rxvt_cv_func_getpt+set}" = set; then 16276if test "${rxvt_cv_func_getpt+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6 16277 echo $ECHO_N "(cached) $ECHO_C" >&6
15990else 16278else
16169#define PTYCHAR2 "$pch2" 16457#define PTYCHAR2 "$pch2"
16170_ACEOF 16458_ACEOF
16171 16459
16172fi 16460fi
16173 16461
16174echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16462if test x$support_iso14755 = xyes; then
16175echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16463
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 16464cat >>confdefs.h <<\_ACEOF
16186/* end confdefs.h. */ 16465#define ISO_14755 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 16466_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 16467
16229ac_cv_lib_xpg4_setlocale=no
16230fi 16468fi
16231rm -f conftest.err conftest.$ac_objext \ 16469if test x$support_8bitctrls = 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 16470
16471cat >>confdefs.h <<\_ACEOF
16472#define EIGHT_BIT_CONTROLS 1
16473_ACEOF
16241 16474
16475fi
16476if test x$support_fading = xyes; then
16477
16478cat >>confdefs.h <<\_ACEOF
16479#define OFF_FOCUS_FADING 1
16480_ACEOF
16481
16482fi
16483if test x$support_tinting = xyes; then
16484
16485cat >>confdefs.h <<\_ACEOF
16486#define TINTING 1
16487_ACEOF
16488
16489fi
16242if test x$support_inheritpixmap = xyes; then 16490if test x$support_inheritpixmap = xyes; then
16243 16491
16244cat >>confdefs.h <<\_ACEOF 16492cat >>confdefs.h <<\_ACEOF
16245#define TRANSPARENT 1 16493#define TRANSPARENT 1
16246_ACEOF 16494_ACEOF
16265cat >>confdefs.h <<\_ACEOF 16513cat >>confdefs.h <<\_ACEOF
16266#define MENUBAR 1 16514#define MENUBAR 1
16267_ACEOF 16515_ACEOF
16268 16516
16269fi 16517fi
16270if test x$support_frills = xno; then 16518if test x$support_frills = xyes; then
16271 16519
16272cat >>confdefs.h <<\_ACEOF 16520cat >>confdefs.h <<\_ACEOF
16273#define NO_FRILLS 1 16521#define ENABLE_FRILLS 1
16274_ACEOF 16522_ACEOF
16275 16523
16276fi 16524fi
16277if test x$support_linespace = xno; then 16525if test x$support_linespace = xno; then
16278 16526
16300cat >>confdefs.h <<\_ACEOF 16548cat >>confdefs.h <<\_ACEOF
16301#define MOUSE_SLIP_WHEELING 1 16549#define MOUSE_SLIP_WHEELING 1
16302_ACEOF 16550_ACEOF
16303 16551
16304fi 16552fi
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 16553if test x$support_utmp = xyes; then
16313 16554
16314cat >>confdefs.h <<\_ACEOF 16555cat >>confdefs.h <<\_ACEOF
16315#define UTMP_SUPPORT 1 16556#define UTMP_SUPPORT 1
16316_ACEOF 16557_ACEOF
16407 16648
16408fi 16649fi
16409if test x$support_combining = xyes; then 16650if test x$support_combining = xyes; then
16410 16651
16411cat >>confdefs.h <<\_ACEOF 16652cat >>confdefs.h <<\_ACEOF
16412#define ENCODING_COMPOSE 1 16653#define ENABLE_COMBINING 1
16413_ACEOF 16654_ACEOF
16414 16655
16415fi 16656fi
16416if test x$codesets = xall; then 16657if test x$codesets = xall; then
16417 codesets=jp,jp-ext,kr,cn,cn-ext 16658 codesets=jp,jp-ext,kr,cn,cn-ext
16418fi 16659fi
16419for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16420 16660
16421cat >>confdefs.h <<\_ACEOF 16661cat >>confdefs.h <<\_ACEOF
16422#define ENCODING_EU 1 16662#define ENCODING_EU 1
16423_ACEOF 16663_ACEOF
16424 16664
16425 16665
16426cat >>confdefs.h <<\_ACEOF 16666cat >>confdefs.h <<\_ACEOF
16427#define ENCODING_VN 1 16667#define ENCODING_VN 1
16428_ACEOF 16668_ACEOF
16429 16669
16670for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16430 case "$codeset" in 16671 case "$codeset" in
16431 JP ) 16672 JP )
16432cat >>confdefs.h <<\_ACEOF 16673cat >>confdefs.h <<\_ACEOF
16433#define ENCODING_JP 1 16674#define ENCODING_JP 1
16434_ACEOF 16675_ACEOF
16814 17055
16815 fi 17056 fi
16816fi 17057fi
16817 17058
16818 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 17059 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
17060
16819cat >confcache <<\_ACEOF 17061cat >confcache <<\_ACEOF
16820# This file is a shell script that caches the results of configure 17062# This file is a shell script that caches the results of configure
16821# tests run on this system so they can be shared between configure 17063# tests run on this system so they can be shared between configure
16822# scripts and configure runs, see configure's option --config-cache. 17064# scripts and configure runs, see configure's option --config-cache.
16823# It is not useful on other systems. If it contains results you don't 17065# It is not useful on other systems. If it contains results you don't
18031echo " 18273echo "
18032The following are set in config.h 18274The following are set in config.h
18033" 18275"
18034echo " pty/tty type: "$rxvt_cv_ptys 18276echo " pty/tty type: "$rxvt_cv_ptys
18035if test x$support_utmp != xyes; then 18277if test x$support_utmp != xyes; then
18036 echo " utmp support: disabled 18278 echo " utmp support: disabled"
18037" 18279 echo
18038else 18280else
18039 echo " utmp support: enabled 18281 echo " utmp support: enabled
18040 utmp file: $rxvt_cv_path_utmp 18282 utmp file: $rxvt_cv_path_utmp
18041 utmpx file: $rxvt_cv_path_utmpx 18283 utmpx file: $rxvt_cv_path_utmpx
18042 wtmp file: $rxvt_cv_path_wtmp 18284 wtmp file: $rxvt_cv_path_wtmp
18043 wtmpx file: $rxvt_cv_path_wtmpx 18285 wtmpx file: $rxvt_cv_path_wtmpx
18044 lastlog file: $rxvt_cv_path_lastlog 18286 lastlog file: $rxvt_cv_path_lastlog
18045 ttys/ttytab file: $rxvt_cv_path_ttytab 18287 ttys/ttytab file: $rxvt_cv_path_ttytab"
18046" 18288 echo
18047fi 18289fi
18048if test x$term != x; then 18290if test x$term != x; then
18049 echo " set TERM to: $term" 18291 echo " set TERM to: $term"
18050fi 18292fi
18051if test x$terminfo != x; then 18293if test x$terminfo != x; then
18078 echo ". WARNING: --enable-xim was specified however the locale support ." 18320 echo ". WARNING: --enable-xim was specified however the locale support ."
18079 echo ". functions could not be found. ." 18321 echo ". functions could not be found. ."
18080 echo ". XIM is now being DISABLED! ." 18322 echo ". XIM is now being DISABLED! ."
18081 echo ".----------------------------------------------------------------." 18323 echo ".----------------------------------------------------------------."
18082fi 18324fi
18325
18083echo " *** Please check src/feature.h for further options *** 18326echo " *** Please check src/feature.h for further options ***"
18084" 18327echo
18328
18329echo ".----------------------------------------------------------------."
18330echo ". NOTE: most features are disabled by default, try ."
18331echo ". configure --help to get an idea of the optional features ."
18332echo ".----------------------------------------------------------------."
18333echo
18334

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines