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

Comparing rxvt-unicode/configure (file contents):
Revision 1.15 by pcg, Wed Mar 3 04:07:45 2004 UTC vs.
Revision 1.25 by pcg, Mon Apr 5 15:54:21 2004 UTC

1029 --disable-libtool-lock avoid locking (might break parallel builds) 1029 --disable-libtool-lock avoid locking (might break parallel builds)
1030 --enable-everything enable standard non-multichoice features 1030 --enable-everything enable standard non-multichoice features
1031 NOTE: this option is order dependent 1031 NOTE: this option is order dependent
1032 NOTE: automatically enabled with --enable-shared 1032 NOTE: automatically enabled with --enable-shared
1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1034 --enable-combining enable composition of base and combining characters
1034 --enable-xft enable xft support on systems that have it 1035 --enable-xft enable xft support on systems that have it
1035 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1036 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1037 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1038 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1039 --enable-transparency enable transparent backgrounds 1040 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg
1040 --enable-menubar enable menubar 1042 --enable-menubar enable menubar
1041 --enable-rxvt-scroll enable rxvt style scrollbar 1043 --enable-rxvt-scroll enable rxvt style scrollbar
1042 --enable-next-scroll enable NeXT style scrollbar 1044 --enable-next-scroll enable NeXT style scrollbar
1043 --enable-xterm-scroll enable Xterm style scrollbar 1045 --enable-xterm-scroll enable Xterm style scrollbar
1044 --enable-plain-scroll enable plain style scrollbar 1046 --enable-plain-scroll enable plain style scrollbar
1057 --enable-24bit enable support for using 24bit visuals if available 1059 --enable-24bit enable support for using 24bit visuals if available
1058 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1060 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1059 --enable-selectionscrolling enable scrolling during selections 1061 --enable-selectionscrolling enable scrolling during selections
1060 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1062 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1061 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1063 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1062 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1063 --disable-new-selection disable new mouse (xterm) selection style support
1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1065 --enable-dlmalloc enable Doug Lea's malloc - for production use 1065 --enable-dlmalloc enable Doug Lea's malloc - for production use
1066 NOTE: enable only one malloc package 1066 NOTE: enable only one malloc package
1067 --enable-smart-resize enable smart growth/shrink behaviour 1067 --enable-smart-resize enable smart growth/shrink behaviour
1068 --enable-256-color enable 256-color support 1068 --enable-256-color enable 256-color support
1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1076 --with-gnu-ld assume the C compiler uses GNU ld default=no 1076 --with-gnu-ld assume the C compiler uses GNU ld default=no
1077 --with-pic try to use only PIC/non-PIC objects default=use both 1077 --with-pic try to use only PIC/non-PIC objects default=use both
1078 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1078 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all)
1079 --with-res-name=NAME use this as default resource name (default: urxvt) 1079 --with-res-name=NAME use this as default resource name (default: urxvt)
1080 --with-res-class=NAME use this as the resource class (default: URxvt) 1080 --with-res-class=CLASS use this as the resource class (default: URxvt)
1081 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1081 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1082 --with-term=NAME set the terminal to NAME (default: rxvt) 1082 --with-term=NAME set the terminal to NAME (default: rxvt)
1083 --with-terminfo=PATH set the path to the terminfo tree to PATH 1083 --with-terminfo=PATH set the path to the terminfo tree to PATH
1084 --with-x use the X Window System 1084 --with-x use the X Window System
1085 --with-xpm-includes=DIR use XPM includes in DIR 1085 --with-xpm-includes=DIR use XPM includes in DIR
3280LINKER=$LINKER 3280LINKER=$LINKER
3281 3281
3282 3282
3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3284 3284
3285if test x$GXX = xyes; then
3286 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3287fi
3288 3285
3289ac_ext=cc 3286ac_ext=cc
3290ac_cpp='$CXXCPP $CPPFLAGS' 3287ac_cpp='$CXXCPP $CPPFLAGS'
3291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3686echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3690echo "${ECHO_T}$ac_cv_search_strerror" >&6 3687echo "${ECHO_T}$ac_cv_search_strerror" >&6
3691if test "$ac_cv_search_strerror" != no; then 3688if test "$ac_cv_search_strerror" != no; then
3692 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3689 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3693 3690
3691fi
3692
3693
3694echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3695echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3696if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3698else
3699 ac_check_lib_save_LIBS=$LIBS
3700LIBS="-lxpg4 $LIBS"
3701cat >conftest.$ac_ext <<_ACEOF
3702/* confdefs.h. */
3703_ACEOF
3704cat confdefs.h >>conftest.$ac_ext
3705cat >>conftest.$ac_ext <<_ACEOF
3706/* end confdefs.h. */
3707
3708/* Override any gcc2 internal prototype to avoid an error. */
3709#ifdef __cplusplus
3710extern "C"
3711#endif
3712/* We use char because int might match the return type of a gcc2
3713 builtin and then its argument prototype would still apply. */
3714char setlocale ();
3715int
3716main ()
3717{
3718setlocale ();
3719 ;
3720 return 0;
3721}
3722_ACEOF
3723rm -f conftest.$ac_objext conftest$ac_exeext
3724if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3725 (eval $ac_link) 2>conftest.er1
3726 ac_status=$?
3727 grep -v '^ *+' conftest.er1 >conftest.err
3728 rm -f conftest.er1
3729 cat conftest.err >&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } &&
3732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 (eval $ac_try) 2>&5
3735 ac_status=$?
3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); }; } &&
3738 { ac_try='test -s conftest$ac_exeext'
3739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 (eval $ac_try) 2>&5
3741 ac_status=$?
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); }; }; then
3744 ac_cv_lib_xpg4_setlocale=yes
3745else
3746 echo "$as_me: failed program was:" >&5
3747sed 's/^/| /' conftest.$ac_ext >&5
3748
3749ac_cv_lib_xpg4_setlocale=no
3750fi
3751rm -f conftest.err conftest.$ac_objext \
3752 conftest$ac_exeext conftest.$ac_ext
3753LIBS=$ac_check_lib_save_LIBS
3754fi
3755echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3756echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3757if test $ac_cv_lib_xpg4_setlocale = yes; then
3758 LIBS="$LIBS -lxpg4"
3759fi
3760
3761
3762echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3763echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3764if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3766else
3767 ac_check_lib_save_LIBS=$LIBS
3768LIBS="-lnsl $LIBS"
3769cat >conftest.$ac_ext <<_ACEOF
3770/* confdefs.h. */
3771_ACEOF
3772cat confdefs.h >>conftest.$ac_ext
3773cat >>conftest.$ac_ext <<_ACEOF
3774/* end confdefs.h. */
3775
3776/* Override any gcc2 internal prototype to avoid an error. */
3777#ifdef __cplusplus
3778extern "C"
3779#endif
3780/* We use char because int might match the return type of a gcc2
3781 builtin and then its argument prototype would still apply. */
3782char gethostbyname ();
3783int
3784main ()
3785{
3786gethostbyname ();
3787 ;
3788 return 0;
3789}
3790_ACEOF
3791rm -f conftest.$ac_objext conftest$ac_exeext
3792if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793 (eval $ac_link) 2>conftest.er1
3794 ac_status=$?
3795 grep -v '^ *+' conftest.er1 >conftest.err
3796 rm -f conftest.er1
3797 cat conftest.err >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 (eval $ac_try) 2>&5
3803 ac_status=$?
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 (eval $ac_try) 2>&5
3809 ac_status=$?
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 ac_cv_lib_nsl_gethostbyname=yes
3813else
3814 echo "$as_me: failed program was:" >&5
3815sed 's/^/| /' conftest.$ac_ext >&5
3816
3817ac_cv_lib_nsl_gethostbyname=no
3818fi
3819rm -f conftest.err conftest.$ac_objext \
3820 conftest$ac_exeext conftest.$ac_ext
3821LIBS=$ac_check_lib_save_LIBS
3822fi
3823echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3824echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3825if test $ac_cv_lib_nsl_gethostbyname = yes; then
3826 LIBS="$LIBS -lnsl"
3827fi
3828
3829echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3830echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3831if test "${ac_cv_lib_socket_socket+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3833else
3834 ac_check_lib_save_LIBS=$LIBS
3835LIBS="-lsocket $LIBS"
3836cat >conftest.$ac_ext <<_ACEOF
3837/* confdefs.h. */
3838_ACEOF
3839cat confdefs.h >>conftest.$ac_ext
3840cat >>conftest.$ac_ext <<_ACEOF
3841/* end confdefs.h. */
3842
3843/* Override any gcc2 internal prototype to avoid an error. */
3844#ifdef __cplusplus
3845extern "C"
3846#endif
3847/* We use char because int might match the return type of a gcc2
3848 builtin and then its argument prototype would still apply. */
3849char socket ();
3850int
3851main ()
3852{
3853socket ();
3854 ;
3855 return 0;
3856}
3857_ACEOF
3858rm -f conftest.$ac_objext conftest$ac_exeext
3859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3860 (eval $ac_link) 2>conftest.er1
3861 ac_status=$?
3862 grep -v '^ *+' conftest.er1 >conftest.err
3863 rm -f conftest.er1
3864 cat conftest.err >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } &&
3867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869 (eval $ac_try) 2>&5
3870 ac_status=$?
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }; } &&
3873 { ac_try='test -s conftest$ac_exeext'
3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875 (eval $ac_try) 2>&5
3876 ac_status=$?
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; }; then
3879 ac_cv_lib_socket_socket=yes
3880else
3881 echo "$as_me: failed program was:" >&5
3882sed 's/^/| /' conftest.$ac_ext >&5
3883
3884ac_cv_lib_socket_socket=no
3885fi
3886rm -f conftest.err conftest.$ac_objext \
3887 conftest$ac_exeext conftest.$ac_ext
3888LIBS=$ac_check_lib_save_LIBS
3889fi
3890echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3891echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3892if test $ac_cv_lib_socket_socket = yes; then
3893 LIBS="$LIBS -lsocket"
3694fi 3894fi
3695 3895
3696 3896
3697# Check whether --enable-shared or --disable-shared was given. 3897# Check whether --enable-shared or --disable-shared was given.
3698if test "${enable_shared+set}" = set; then 3898if test "${enable_shared+set}" = set; then
5034# Some flags need to be propagated to the compiler or linker for good 5234# Some flags need to be propagated to the compiler or linker for good
5035# libtool support. 5235# libtool support.
5036case "$host" in 5236case "$host" in
5037*-*-irix6*) 5237*-*-irix6*)
5038 # Find out which ABI we are using. 5238 # Find out which ABI we are using.
5039 echo '#line 5039 "configure"' > conftest.$ac_ext 5239 echo '#line 5239 "configure"' > conftest.$ac_ext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>&5 5241 (eval $ac_compile) 2>&5
5042 ac_status=$? 5242 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; then 5244 (exit $ac_status); }; then
5585# builds. 5785# builds.
5586chmod -w . 5786chmod -w .
5587save_CFLAGS="$CFLAGS" 5787save_CFLAGS="$CFLAGS"
5588CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5788CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5589compiler_c_o=no 5789compiler_c_o=no
5590if { (eval echo configure:5590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5790if { (eval echo configure:5790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5591 # The compiler can only warn and ignore the option if not recognized 5791 # The compiler can only warn and ignore the option if not recognized
5592 # So say no if there are warnings 5792 # So say no if there are warnings
5593 if test -s out/conftest.err; then 5793 if test -s out/conftest.err; then
5594 compiler_c_o=no 5794 compiler_c_o=no
5595 else 5795 else
7201 lt_cv_dlopen_self=cross 7401 lt_cv_dlopen_self=cross
7202else 7402else
7203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7403 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7204 lt_status=$lt_dlunknown 7404 lt_status=$lt_dlunknown
7205 cat > conftest.$ac_ext <<EOF 7405 cat > conftest.$ac_ext <<EOF
7206#line 7206 "configure" 7406#line 7406 "configure"
7207#include "confdefs.h" 7407#include "confdefs.h"
7208 7408
7209#if HAVE_DLFCN_H 7409#if HAVE_DLFCN_H
7210#include <dlfcn.h> 7410#include <dlfcn.h>
7211#endif 7411#endif
7299 lt_cv_dlopen_self_static=cross 7499 lt_cv_dlopen_self_static=cross
7300else 7500else
7301 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7501 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7302 lt_status=$lt_dlunknown 7502 lt_status=$lt_dlunknown
7303 cat > conftest.$ac_ext <<EOF 7503 cat > conftest.$ac_ext <<EOF
7304#line 7304 "configure" 7504#line 7504 "configure"
7305#include "confdefs.h" 7505#include "confdefs.h"
7306 7506
7307#if HAVE_DLFCN_H 7507#if HAVE_DLFCN_H
7308#include <dlfcn.h> 7508#include <dlfcn.h>
7309#endif 7509#endif
8032MALLOC_TYPE=S 8232MALLOC_TYPE=S
8033support_addstrings=no 8233support_addstrings=no
8034support_frills=no 8234support_frills=no
8035support_linespace=no 8235support_linespace=no
8036support_inheritpixmap=no 8236support_inheritpixmap=no
8237support_tinting=no
8037support_keepscrolling=no 8238support_keepscrolling=no
8038support_selectionscrolling=no 8239support_selectionscrolling=no
8039support_menubar=no 8240support_menubar=no
8040support_mousewheel=no 8241support_mousewheel=no
8041support_mouseslipwheel=no 8242support_mouseslipwheel=no
8042support_oldselection=no
8043support_utmp=no 8243support_utmp=no
8044support_wtmp=no 8244support_wtmp=no
8045support_lastlog=no 8245support_lastlog=no
8046support_cursor_blink=no 8246support_cursor_blink=no
8047support_text_blink=no 8247support_text_blink=no
8052support_scroll_plain=no 8252support_scroll_plain=no
8053support_xim=no 8253support_xim=no
8054support_xpm=no 8254support_xpm=no
8055support_xft=no 8255support_xft=no
8056support_unicode3=no 8256support_unicode3=no
8257support_combining=no
8057codesets= 8258codesets=
8058 8259
8059 8260
8060if test "x$enable_shared" = xyes; then 8261if test "x$enable_shared" = xyes; then
8061 8262
8073 if test x$enableval = xyes; then 8274 if test x$enableval = xyes; then
8074 support_24bit=yes 8275 support_24bit=yes
8075 support_frills=yes 8276 support_frills=yes
8076 support_linespace=yes 8277 support_linespace=yes
8077 support_inheritpixmap=yes 8278 support_inheritpixmap=yes
8279 support_tinting=yes
8078 support_keepscrolling=yes 8280 support_keepscrolling=yes
8079 support_selectionscrolling=yes 8281 support_selectionscrolling=yes
8080 support_lastlog=yes 8282 support_lastlog=yes
8081 support_menubar=yes 8283 support_menubar=yes
8082 support_mousewheel=yes 8284 support_mousewheel=yes
8083 support_mouseslipwheel=yes 8285 support_mouseslipwheel=yes
8084 support_oldselection=yes
8085 support_cursor_blink=yes 8286 support_cursor_blink=yes
8086 support_text_blink=yes 8287 support_text_blink=yes
8087 support_pointer_blank=yes 8288 support_pointer_blank=yes
8088 support_scroll_rxvt=yes 8289 support_scroll_rxvt=yes
8089 support_scroll_next=yes 8290 support_scroll_next=yes
8093 support_wtmp=yes 8294 support_wtmp=yes
8094 support_xim=yes 8295 support_xim=yes
8095 support_xpm=yes 8296 support_xpm=yes
8096 support_xft=yes 8297 support_xft=yes
8097 support_unicode3=yes 8298 support_unicode3=yes
8299 support_combining=yes
8098 codesets=all 8300 codesets=all
8099 fi 8301 fi
8100fi; 8302fi;
8101 8303
8102# Check whether --enable-unicode3 or --disable-unicode3 was given. 8304# Check whether --enable-unicode3 or --disable-unicode3 was given.
8105 if test x$enableval = xyes -o x$enableval = xno; then 8307 if test x$enableval = xyes -o x$enableval = xno; then
8106 support_unicode3=yes 8308 support_unicode3=yes
8107 fi 8309 fi
8108fi; 8310fi;
8109 8311
8312# Check whether --enable-combining or --disable-combining was given.
8313if test "${enable_combining+set}" = set; then
8314 enableval="$enable_combining"
8315 if test x$enableval = xyes -o x$enableval = xno; then
8316 support_combining=yes
8317 fi
8318fi;
8319
8110# Check whether --enable-xft or --disable-xft was given. 8320# Check whether --enable-xft or --disable-xft was given.
8111if test "${enable_xft+set}" = set; then 8321if test "${enable_xft+set}" = set; then
8112 enableval="$enable_xft" 8322 enableval="$enable_xft"
8113 if test x$enableval = xyes -o x$enableval = xno; then 8323 if test x$enableval = xyes -o x$enableval = xno; then
8114 support_xft=yes 8324 support_xft=yes
8153 if test x$enableval = xyes -o x$enableval = xno; then 8363 if test x$enableval = xyes -o x$enableval = xno; then
8154 support_inheritpixmap=$enableval 8364 support_inheritpixmap=$enableval
8155 fi 8365 fi
8156fi; 8366fi;
8157 8367
8368# Check whether --enable-tinting or --disable-tinting was given.
8369if test "${enable_tinting+set}" = set; then
8370 enableval="$enable_tinting"
8371 if test x$enableval = xyes -o x$enableval = xno; then
8372 support_tinting=$enableval
8373 fi
8374fi;
8375
8158# Check whether --enable-menubar or --disable-menubar was given. 8376# Check whether --enable-menubar or --disable-menubar was given.
8159if test "${enable_menubar+set}" = set; then 8377if test "${enable_menubar+set}" = set; then
8160 enableval="$enable_menubar" 8378 enableval="$enable_menubar"
8161 if test x$enableval = xyes -o x$enableval = xno; then 8379 if test x$enableval = xyes -o x$enableval = xno; then
8162 support_menubar=$enableval 8380 support_menubar=$enableval
8409# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8627# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8410if test "${enable_slipwheeling+set}" = set; then 8628if test "${enable_slipwheeling+set}" = set; then
8411 enableval="$enable_slipwheeling" 8629 enableval="$enable_slipwheeling"
8412 if test x$enableval = xyes -o x$enableval = xno; then 8630 if test x$enableval = xyes -o x$enableval = xno; then
8413 support_mouseslipwheel=$enableval 8631 support_mouseslipwheel=$enableval
8414 fi
8415fi;
8416
8417# Check whether --enable-old-selection or --disable-old-selection was given.
8418if test "${enable_old_selection+set}" = set; then
8419 enableval="$enable_old_selection"
8420 if test x$enableval = xyes -o x$enableval = xno; then
8421 support_oldselection=$enableval
8422 fi
8423fi;
8424
8425# Check whether --enable-new-selection or --disable-new-selection was given.
8426if test "${enable_new_selection+set}" = set; then
8427 enableval="$enable_new_selection"
8428 if test x$enableval = xno; then
8429
8430cat >>confdefs.h <<\_ACEOF
8431#define NO_NEW_SELECTION 1
8432_ACEOF
8433
8434 fi 8632 fi
8435fi; 8633fi;
8436 8634
8437# Check whether --enable-dmalloc or --disable-dmalloc was given. 8635# Check whether --enable-dmalloc or --disable-dmalloc was given.
8438if test "${enable_dmalloc+set}" = set; then 8636if test "${enable_dmalloc+set}" = set; then
8864fi 9062fi
8865 9063
8866 9064
8867 9065
8868 9066
9067
9068if test "x$ac_path_x_has_been_run" != xyes; then
8869echo "$as_me:$LINENO: checking for X" >&5 9069 echo "$as_me:$LINENO: checking for X" >&5
8870echo $ECHO_N "checking for X... $ECHO_C" >&6 9070echo $ECHO_N "checking for X... $ECHO_C" >&6
8871 9071
9072ac_path_x_has_been_run=yes
8872 9073
8873# Check whether --with-x or --without-x was given. 9074# Check whether --with-x or --without-x was given.
8874if test "${with_x+set}" = set; then 9075if test "${with_x+set}" = set; then
8875 withval="$with_x" 9076 withval="$with_x"
8876 9077
8959 9160
8960/usr/openwin/include 9161/usr/openwin/include
8961/usr/openwin/share/include' 9162/usr/openwin/share/include'
8962 9163
8963if test "$ac_x_includes" = no; then 9164if test "$ac_x_includes" = no; then
8964 # Guess where to find include files, by looking for Intrinsic.h. 9165 # Guess where to find include files, by looking for a specified header file.
8965 # First, try using that file with no special directory specified. 9166 # First, try using that file with no special directory specified.
8966 cat >conftest.$ac_ext <<_ACEOF 9167 cat >conftest.$ac_ext <<_ACEOF
8967/* confdefs.h. */ 9168/* confdefs.h. */
8968_ACEOF 9169_ACEOF
8969cat confdefs.h >>conftest.$ac_ext 9170cat confdefs.h >>conftest.$ac_ext
9093 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9294 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9094 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9295 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9095 # Update the cache value to reflect the command line values. 9296 # Update the cache value to reflect the command line values.
9096 ac_cv_have_x="have_x=yes \ 9297 ac_cv_have_x="have_x=yes \
9097 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9298 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9299 # It might be that x_includes is empty (headers are found in the
9300 # standard search path. Then output the corresponding message
9301 ac_out_x_includes=$x_includes
9302 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9098 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9303 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9099echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9304echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9100fi 9305fi
9101 9306
9307fi
9102if test "$no_x" = yes; then 9308if test "$no_x" = yes; then
9103 # Not all programs may use this symbol, but it does not hurt to define it. 9309 # Not all programs may use this symbol, but it does not hurt to define it.
9104 9310
9105cat >>confdefs.h <<\_ACEOF 9311cat >>confdefs.h <<\_ACEOF
9106#define X_DISPLAY_MISSING 1 9312#define X_DISPLAY_MISSING 1
15859/* confdefs.h. */ 16065/* confdefs.h. */
15860_ACEOF 16066_ACEOF
15861cat confdefs.h >>conftest.$ac_ext 16067cat confdefs.h >>conftest.$ac_ext
15862cat >>conftest.$ac_ext <<_ACEOF 16068cat >>conftest.$ac_ext <<_ACEOF
15863/* end confdefs.h. */ 16069/* end confdefs.h. */
15864#include <locale.h> 16070#include <clocale>
15865int 16071int
15866main () 16072main ()
15867{ 16073{
15868setlocale(LC_CTYPE, ""); 16074setlocale(LC_CTYPE, "");
15869 ; 16075 ;
15983cat confdefs.h >>conftest.$ac_ext 16189cat confdefs.h >>conftest.$ac_ext
15984cat >>conftest.$ac_ext <<_ACEOF 16190cat >>conftest.$ac_ext <<_ACEOF
15985/* end confdefs.h. */ 16191/* end confdefs.h. */
15986#define _GNU_SOURCE 16192#define _GNU_SOURCE
15987#ifdef HAVE_STDLIB_H 16193#ifdef HAVE_STDLIB_H
15988# include <stdlib.h> 16194# include <cstdlib>
15989#endif 16195#endif
15990int 16196int
15991main () 16197main ()
15992{ 16198{
15993(void)getpt(); 16199(void)getpt();
16158#define PTYCHAR2 "$pch2" 16364#define PTYCHAR2 "$pch2"
16159_ACEOF 16365_ACEOF
16160 16366
16161fi 16367fi
16162 16368
16163echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16369if test x$support_tinting = xyes; then
16164echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16370
16165if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167else
16168 ac_check_lib_save_LIBS=$LIBS
16169LIBS="-lxpg4 $LIBS"
16170cat >conftest.$ac_ext <<_ACEOF
16171/* confdefs.h. */
16172_ACEOF
16173cat confdefs.h >>conftest.$ac_ext
16174cat >>conftest.$ac_ext <<_ACEOF 16371cat >>confdefs.h <<\_ACEOF
16175/* end confdefs.h. */ 16372#define TINTING 1
16176
16177/* Override any gcc2 internal prototype to avoid an error. */
16178#ifdef __cplusplus
16179extern "C"
16180#endif
16181/* We use char because int might match the return type of a gcc2
16182 builtin and then its argument prototype would still apply. */
16183char setlocale ();
16184int
16185main ()
16186{
16187setlocale ();
16188 ;
16189 return 0;
16190}
16191_ACEOF 16373_ACEOF
16192rm -f conftest.$ac_objext conftest$ac_exeext
16193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16194 (eval $ac_link) 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try='test -s conftest$ac_exeext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16210 ac_status=$?
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_cv_lib_xpg4_setlocale=yes
16214else
16215 echo "$as_me: failed program was:" >&5
16216sed 's/^/| /' conftest.$ac_ext >&5
16217 16374
16218ac_cv_lib_xpg4_setlocale=no
16219fi 16375fi
16220rm -f conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16222LIBS=$ac_check_lib_save_LIBS
16223fi
16224echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16225echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16226if test $ac_cv_lib_xpg4_setlocale = yes; then
16227 LIBS="$LIBS -lxpg4"
16228fi
16229
16230
16231if test x$support_inheritpixmap = xyes; then 16376if test x$support_inheritpixmap = xyes; then
16232 16377
16233cat >>confdefs.h <<\_ACEOF 16378cat >>confdefs.h <<\_ACEOF
16234#define TRANSPARENT 1 16379#define TRANSPARENT 1
16235_ACEOF 16380_ACEOF
16289cat >>confdefs.h <<\_ACEOF 16434cat >>confdefs.h <<\_ACEOF
16290#define MOUSE_SLIP_WHEELING 1 16435#define MOUSE_SLIP_WHEELING 1
16291_ACEOF 16436_ACEOF
16292 16437
16293fi 16438fi
16294if test x$support_oldselection = xno; then
16295
16296cat >>confdefs.h <<\_ACEOF
16297#define NO_OLD_SELECTION 1
16298_ACEOF
16299
16300fi
16301if test x$support_utmp = xyes; then 16439if test x$support_utmp = xyes; then
16302 16440
16303cat >>confdefs.h <<\_ACEOF 16441cat >>confdefs.h <<\_ACEOF
16304#define UTMP_SUPPORT 1 16442#define UTMP_SUPPORT 1
16305_ACEOF 16443_ACEOF
16393cat >>confdefs.h <<\_ACEOF 16531cat >>confdefs.h <<\_ACEOF
16394#define UNICODE_3 1 16532#define UNICODE_3 1
16395_ACEOF 16533_ACEOF
16396 16534
16397fi 16535fi
16536if test x$support_combining = xyes; then
16537
16538cat >>confdefs.h <<\_ACEOF
16539#define ENABLE_COMBINING 1
16540_ACEOF
16541
16542fi
16398if test x$codesets = xall; then 16543if test x$codesets = xall; then
16399 codesets=jp,jp-ext,kr,cn,cn-ext,vn 16544 codesets=jp,jp-ext,kr,cn,cn-ext
16400fi 16545fi
16401for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do 16546for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16402 16547
16403cat >>confdefs.h <<\_ACEOF 16548cat >>confdefs.h <<\_ACEOF
16404#define ENCODING_EU 1 16549#define ENCODING_EU 1
16494 include_stdint_h="#include <stdint.h>" 16639 include_stdint_h="#include <stdint.h>"
16495else 16640else
16496 include_stdint_h="/* #include <stdint.h> */" 16641 include_stdint_h="/* #include <stdint.h> */"
16497fi 16642fi
16498if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then 16643if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16499 include_stdarg_h="#include <stdarg.h>" 16644 include_stdarg_h="#include <cstdarg>"
16500else 16645else
16501 include_stdarg_h="/* #include <stdarg.h> */" 16646 include_stdarg_h="/* #include <cstdarg> */"
16502fi 16647fi
16503if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then 16648if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16504 include_stdlib_h="#include <stdlib.h>" 16649 include_stdlib_h="#include <cstdlib>"
16505else 16650else
16506 include_stdlib_h="/* #include <stdlib.h> */" 16651 include_stdlib_h="/* #include <cstdlib> */"
16507fi 16652fi
16508if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then 16653if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16509 include_unistd_h="#include <unistd.h>" 16654 include_unistd_h="#include <unistd.h>"
16510else 16655else
16511 include_unistd_h="/* #include <unistd.h> */" 16656 include_unistd_h="/* #include <unistd.h> */"
16512fi 16657fi
16513if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then 16658if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16514 include_string_h="#include <string.h>" 16659 include_string_h="#include <cstring>"
16515else 16660else
16516 include_string_h="/* #include <string.h> */" 16661 include_string_h="/* #include <cstring> */"
16517fi 16662fi
16518if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then 16663if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16519 include_fcntl_h="#include <fcntl.h>" 16664 include_fcntl_h="#include <fcntl.h>"
16520else 16665else
16521 include_fcntl_h="/* #include <fcntl.h> */" 16666 include_fcntl_h="/* #include <fcntl.h> */"
18013echo " 18158echo "
18014The following are set in config.h 18159The following are set in config.h
18015" 18160"
18016echo " pty/tty type: "$rxvt_cv_ptys 18161echo " pty/tty type: "$rxvt_cv_ptys
18017if test x$support_utmp != xyes; then 18162if test x$support_utmp != xyes; then
18018 echo " utmp support: disabled 18163 echo " utmp support: disabled"
18019" 18164 echo
18020else 18165else
18021 echo " utmp support: enabled 18166 echo " utmp support: enabled
18022 utmp file: $rxvt_cv_path_utmp 18167 utmp file: $rxvt_cv_path_utmp
18023 utmpx file: $rxvt_cv_path_utmpx 18168 utmpx file: $rxvt_cv_path_utmpx
18024 wtmp file: $rxvt_cv_path_wtmp 18169 wtmp file: $rxvt_cv_path_wtmp
18025 wtmpx file: $rxvt_cv_path_wtmpx 18170 wtmpx file: $rxvt_cv_path_wtmpx
18026 lastlog file: $rxvt_cv_path_lastlog 18171 lastlog file: $rxvt_cv_path_lastlog
18027 ttys/ttytab file: $rxvt_cv_path_ttytab 18172 ttys/ttytab file: $rxvt_cv_path_ttytab"
18028" 18173 echo
18029fi 18174fi
18030if test x$term != x; then 18175if test x$term != x; then
18031 echo " set TERM to: $term 18176 echo " set TERM to: $term"
18032"
18033fi 18177fi
18034if test x$terminfo != x; then 18178if test x$terminfo != x; then
18035 echo " set TERMINFO to: $terminfo 18179 echo " set TERMINFO to: $terminfo"
18036"
18037fi 18180fi
18181echo " default resource name: $RESNAME"
18182echo " resource class: $RESCLASS"
18183if test x$RESFALLBACK != x; then
18184 echo " resource class fallback: $RESFALLBACK"
18185fi
18186echo
18038if test x$rxvt_cv_ptys = xUNKNOWN; then 18187if test x$rxvt_cv_ptys = xUNKNOWN; then
18039 echo ".----------------------------------------------------------------." 18188 echo ".----------------------------------------------------------------."
18040 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18189 echo ". WARNING: could not determine pty/tty type. Do not build until ."
18041 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18190 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
18042 echo ".----------------------------------------------------------------." 18191 echo ".----------------------------------------------------------------."
18056 echo ". WARNING: --enable-xim was specified however the locale support ." 18205 echo ". WARNING: --enable-xim was specified however the locale support ."
18057 echo ". functions could not be found. ." 18206 echo ". functions could not be found. ."
18058 echo ". XIM is now being DISABLED! ." 18207 echo ". XIM is now being DISABLED! ."
18059 echo ".----------------------------------------------------------------." 18208 echo ".----------------------------------------------------------------."
18060fi 18209fi
18210
18061echo " *** Please check src/feature.h for further options *** 18211echo " *** Please check src/feature.h for further options ***"
18062" 18212echo
18213
18214echo ".----------------------------------------------------------------."
18215echo ". NOTE: most features are disabled by default, try ."
18216echo ". configure --help to get an idea of the optional features ."
18217echo ".----------------------------------------------------------------."
18218echo
18219

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines