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.25 by pcg, Mon Apr 5 15:54:21 2004 UTC

1036 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1038 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1039 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1040 --enable-transparency enable transparent backgrounds 1040 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg
1041 --enable-menubar enable menubar 1042 --enable-menubar enable menubar
1042 --enable-rxvt-scroll enable rxvt style scrollbar 1043 --enable-rxvt-scroll enable rxvt style scrollbar
1043 --enable-next-scroll enable NeXT style scrollbar 1044 --enable-next-scroll enable NeXT style scrollbar
1044 --enable-xterm-scroll enable Xterm style scrollbar 1045 --enable-xterm-scroll enable Xterm style scrollbar
1045 --enable-plain-scroll enable plain style scrollbar 1046 --enable-plain-scroll enable plain style scrollbar
1058 --enable-24bit enable support for using 24bit visuals if available 1059 --enable-24bit enable support for using 24bit visuals if available
1059 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1060 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1060 --enable-selectionscrolling enable scrolling during selections 1061 --enable-selectionscrolling enable scrolling during selections
1061 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1062 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1062 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1063 --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 1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1066 --enable-dlmalloc enable Doug Lea's malloc - for production use 1065 --enable-dlmalloc enable Doug Lea's malloc - for production use
1067 NOTE: enable only one malloc package 1066 NOTE: enable only one malloc package
1068 --enable-smart-resize enable smart growth/shrink behaviour 1067 --enable-smart-resize enable smart growth/shrink behaviour
1069 --enable-256-color enable 256-color support 1068 --enable-256-color enable 256-color support
3281LINKER=$LINKER 3280LINKER=$LINKER
3282 3281
3283 3282
3284CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3285 3284
3286if test x$GXX = xyes; then
3287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3288fi
3289 3285
3290ac_ext=cc 3286ac_ext=cc
3291ac_cpp='$CXXCPP $CPPFLAGS' 3287ac_cpp='$CXXCPP $CPPFLAGS'
3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293ac_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'
3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3686echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3691echo "${ECHO_T}$ac_cv_search_strerror" >&6 3687echo "${ECHO_T}$ac_cv_search_strerror" >&6
3692if test "$ac_cv_search_strerror" != no; then 3688if test "$ac_cv_search_strerror" != no; then
3693 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"
3694 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"
3695fi 3894fi
3696 3895
3697 3896
3698# Check whether --enable-shared or --disable-shared was given. 3897# Check whether --enable-shared or --disable-shared was given.
3699if test "${enable_shared+set}" = set; then 3898if test "${enable_shared+set}" = set; then
5035# 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
5036# libtool support. 5235# libtool support.
5037case "$host" in 5236case "$host" in
5038*-*-irix6*) 5237*-*-irix6*)
5039 # Find out which ABI we are using. 5238 # Find out which ABI we are using.
5040 echo '#line 5040 "configure"' > conftest.$ac_ext 5239 echo '#line 5239 "configure"' > conftest.$ac_ext
5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 (eval $ac_compile) 2>&5 5241 (eval $ac_compile) 2>&5
5043 ac_status=$? 5242 ac_status=$?
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; then 5244 (exit $ac_status); }; then
5586# builds. 5785# builds.
5587chmod -w . 5786chmod -w .
5588save_CFLAGS="$CFLAGS" 5787save_CFLAGS="$CFLAGS"
5589CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5788CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5590compiler_c_o=no 5789compiler_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 5790if { (eval echo configure:5790: \"$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 5791 # The compiler can only warn and ignore the option if not recognized
5593 # So say no if there are warnings 5792 # So say no if there are warnings
5594 if test -s out/conftest.err; then 5793 if test -s out/conftest.err; then
5595 compiler_c_o=no 5794 compiler_c_o=no
5596 else 5795 else
7202 lt_cv_dlopen_self=cross 7401 lt_cv_dlopen_self=cross
7203else 7402else
7204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7403 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7205 lt_status=$lt_dlunknown 7404 lt_status=$lt_dlunknown
7206 cat > conftest.$ac_ext <<EOF 7405 cat > conftest.$ac_ext <<EOF
7207#line 7207 "configure" 7406#line 7406 "configure"
7208#include "confdefs.h" 7407#include "confdefs.h"
7209 7408
7210#if HAVE_DLFCN_H 7409#if HAVE_DLFCN_H
7211#include <dlfcn.h> 7410#include <dlfcn.h>
7212#endif 7411#endif
7300 lt_cv_dlopen_self_static=cross 7499 lt_cv_dlopen_self_static=cross
7301else 7500else
7302 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7501 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7303 lt_status=$lt_dlunknown 7502 lt_status=$lt_dlunknown
7304 cat > conftest.$ac_ext <<EOF 7503 cat > conftest.$ac_ext <<EOF
7305#line 7305 "configure" 7504#line 7504 "configure"
7306#include "confdefs.h" 7505#include "confdefs.h"
7307 7506
7308#if HAVE_DLFCN_H 7507#if HAVE_DLFCN_H
7309#include <dlfcn.h> 7508#include <dlfcn.h>
7310#endif 7509#endif
8033MALLOC_TYPE=S 8232MALLOC_TYPE=S
8034support_addstrings=no 8233support_addstrings=no
8035support_frills=no 8234support_frills=no
8036support_linespace=no 8235support_linespace=no
8037support_inheritpixmap=no 8236support_inheritpixmap=no
8237support_tinting=no
8038support_keepscrolling=no 8238support_keepscrolling=no
8039support_selectionscrolling=no 8239support_selectionscrolling=no
8040support_menubar=no 8240support_menubar=no
8041support_mousewheel=no 8241support_mousewheel=no
8042support_mouseslipwheel=no 8242support_mouseslipwheel=no
8043support_oldselection=no
8044support_utmp=no 8243support_utmp=no
8045support_wtmp=no 8244support_wtmp=no
8046support_lastlog=no 8245support_lastlog=no
8047support_cursor_blink=no 8246support_cursor_blink=no
8048support_text_blink=no 8247support_text_blink=no
8075 if test x$enableval = xyes; then 8274 if test x$enableval = xyes; then
8076 support_24bit=yes 8275 support_24bit=yes
8077 support_frills=yes 8276 support_frills=yes
8078 support_linespace=yes 8277 support_linespace=yes
8079 support_inheritpixmap=yes 8278 support_inheritpixmap=yes
8279 support_tinting=yes
8080 support_keepscrolling=yes 8280 support_keepscrolling=yes
8081 support_selectionscrolling=yes 8281 support_selectionscrolling=yes
8082 support_lastlog=yes 8282 support_lastlog=yes
8083 support_menubar=yes 8283 support_menubar=yes
8084 support_mousewheel=yes 8284 support_mousewheel=yes
8085 support_mouseslipwheel=yes 8285 support_mouseslipwheel=yes
8086 support_oldselection=yes
8087 support_cursor_blink=yes 8286 support_cursor_blink=yes
8088 support_text_blink=yes 8287 support_text_blink=yes
8089 support_pointer_blank=yes 8288 support_pointer_blank=yes
8090 support_scroll_rxvt=yes 8289 support_scroll_rxvt=yes
8091 support_scroll_next=yes 8290 support_scroll_next=yes
8164 if test x$enableval = xyes -o x$enableval = xno; then 8363 if test x$enableval = xyes -o x$enableval = xno; then
8165 support_inheritpixmap=$enableval 8364 support_inheritpixmap=$enableval
8166 fi 8365 fi
8167fi; 8366fi;
8168 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
8169# Check whether --enable-menubar or --disable-menubar was given. 8376# Check whether --enable-menubar or --disable-menubar was given.
8170if test "${enable_menubar+set}" = set; then 8377if test "${enable_menubar+set}" = set; then
8171 enableval="$enable_menubar" 8378 enableval="$enable_menubar"
8172 if test x$enableval = xyes -o x$enableval = xno; then 8379 if test x$enableval = xyes -o x$enableval = xno; then
8173 support_menubar=$enableval 8380 support_menubar=$enableval
8420# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8627# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8421if test "${enable_slipwheeling+set}" = set; then 8628if test "${enable_slipwheeling+set}" = set; then
8422 enableval="$enable_slipwheeling" 8629 enableval="$enable_slipwheeling"
8423 if test x$enableval = xyes -o x$enableval = xno; then 8630 if test x$enableval = xyes -o x$enableval = xno; then
8424 support_mouseslipwheel=$enableval 8631 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 8632 fi
8446fi; 8633fi;
8447 8634
8448# Check whether --enable-dmalloc or --disable-dmalloc was given. 8635# Check whether --enable-dmalloc or --disable-dmalloc was given.
8449if test "${enable_dmalloc+set}" = set; then 8636if test "${enable_dmalloc+set}" = set; then
8875fi 9062fi
8876 9063
8877 9064
8878 9065
8879 9066
9067
9068if test "x$ac_path_x_has_been_run" != xyes; then
8880echo "$as_me:$LINENO: checking for X" >&5 9069 echo "$as_me:$LINENO: checking for X" >&5
8881echo $ECHO_N "checking for X... $ECHO_C" >&6 9070echo $ECHO_N "checking for X... $ECHO_C" >&6
8882 9071
9072ac_path_x_has_been_run=yes
8883 9073
8884# Check whether --with-x or --without-x was given. 9074# Check whether --with-x or --without-x was given.
8885if test "${with_x+set}" = set; then 9075if test "${with_x+set}" = set; then
8886 withval="$with_x" 9076 withval="$with_x"
8887 9077
8970 9160
8971/usr/openwin/include 9161/usr/openwin/include
8972/usr/openwin/share/include' 9162/usr/openwin/share/include'
8973 9163
8974if test "$ac_x_includes" = no; then 9164if test "$ac_x_includes" = no; then
8975 # 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.
8976 # First, try using that file with no special directory specified. 9166 # First, try using that file with no special directory specified.
8977 cat >conftest.$ac_ext <<_ACEOF 9167 cat >conftest.$ac_ext <<_ACEOF
8978/* confdefs.h. */ 9168/* confdefs.h. */
8979_ACEOF 9169_ACEOF
8980cat confdefs.h >>conftest.$ac_ext 9170cat confdefs.h >>conftest.$ac_ext
9104 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9294 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9105 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9295 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9106 # Update the cache value to reflect the command line values. 9296 # Update the cache value to reflect the command line values.
9107 ac_cv_have_x="have_x=yes \ 9297 ac_cv_have_x="have_x=yes \
9108 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"
9109 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
9110echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9304echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9111fi 9305fi
9112 9306
9307fi
9113if test "$no_x" = yes; then 9308if test "$no_x" = yes; then
9114 # 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.
9115 9310
9116cat >>confdefs.h <<\_ACEOF 9311cat >>confdefs.h <<\_ACEOF
9117#define X_DISPLAY_MISSING 1 9312#define X_DISPLAY_MISSING 1
16169#define PTYCHAR2 "$pch2" 16364#define PTYCHAR2 "$pch2"
16170_ACEOF 16365_ACEOF
16171 16366
16172fi 16367fi
16173 16368
16174echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16369if test x$support_tinting = xyes; then
16175echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16370
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 16371cat >>confdefs.h <<\_ACEOF
16186/* end confdefs.h. */ 16372#define TINTING 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 16373_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 16374
16229ac_cv_lib_xpg4_setlocale=no
16230fi 16375fi
16231rm -f conftest.err conftest.$ac_objext \
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
16241
16242if test x$support_inheritpixmap = xyes; then 16376if test x$support_inheritpixmap = xyes; then
16243 16377
16244cat >>confdefs.h <<\_ACEOF 16378cat >>confdefs.h <<\_ACEOF
16245#define TRANSPARENT 1 16379#define TRANSPARENT 1
16246_ACEOF 16380_ACEOF
16300cat >>confdefs.h <<\_ACEOF 16434cat >>confdefs.h <<\_ACEOF
16301#define MOUSE_SLIP_WHEELING 1 16435#define MOUSE_SLIP_WHEELING 1
16302_ACEOF 16436_ACEOF
16303 16437
16304fi 16438fi
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 16439if test x$support_utmp = xyes; then
16313 16440
16314cat >>confdefs.h <<\_ACEOF 16441cat >>confdefs.h <<\_ACEOF
16315#define UTMP_SUPPORT 1 16442#define UTMP_SUPPORT 1
16316_ACEOF 16443_ACEOF
16407 16534
16408fi 16535fi
16409if test x$support_combining = xyes; then 16536if test x$support_combining = xyes; then
16410 16537
16411cat >>confdefs.h <<\_ACEOF 16538cat >>confdefs.h <<\_ACEOF
16412#define ENCODING_COMPOSE 1 16539#define ENABLE_COMBINING 1
16413_ACEOF 16540_ACEOF
16414 16541
16415fi 16542fi
16416if test x$codesets = xall; then 16543if test x$codesets = xall; then
16417 codesets=jp,jp-ext,kr,cn,cn-ext 16544 codesets=jp,jp-ext,kr,cn,cn-ext
18031echo " 18158echo "
18032The following are set in config.h 18159The following are set in config.h
18033" 18160"
18034echo " pty/tty type: "$rxvt_cv_ptys 18161echo " pty/tty type: "$rxvt_cv_ptys
18035if test x$support_utmp != xyes; then 18162if test x$support_utmp != xyes; then
18036 echo " utmp support: disabled 18163 echo " utmp support: disabled"
18037" 18164 echo
18038else 18165else
18039 echo " utmp support: enabled 18166 echo " utmp support: enabled
18040 utmp file: $rxvt_cv_path_utmp 18167 utmp file: $rxvt_cv_path_utmp
18041 utmpx file: $rxvt_cv_path_utmpx 18168 utmpx file: $rxvt_cv_path_utmpx
18042 wtmp file: $rxvt_cv_path_wtmp 18169 wtmp file: $rxvt_cv_path_wtmp
18043 wtmpx file: $rxvt_cv_path_wtmpx 18170 wtmpx file: $rxvt_cv_path_wtmpx
18044 lastlog file: $rxvt_cv_path_lastlog 18171 lastlog file: $rxvt_cv_path_lastlog
18045 ttys/ttytab file: $rxvt_cv_path_ttytab 18172 ttys/ttytab file: $rxvt_cv_path_ttytab"
18046" 18173 echo
18047fi 18174fi
18048if test x$term != x; then 18175if test x$term != x; then
18049 echo " set TERM to: $term" 18176 echo " set TERM to: $term"
18050fi 18177fi
18051if test x$terminfo != x; then 18178if test x$terminfo != x; then
18078 echo ". WARNING: --enable-xim was specified however the locale support ." 18205 echo ". WARNING: --enable-xim was specified however the locale support ."
18079 echo ". functions could not be found. ." 18206 echo ". functions could not be found. ."
18080 echo ". XIM is now being DISABLED! ." 18207 echo ". XIM is now being DISABLED! ."
18081 echo ".----------------------------------------------------------------." 18208 echo ".----------------------------------------------------------------."
18082fi 18209fi
18210
18083echo " *** Please check src/feature.h for further options *** 18211echo " *** Please check src/feature.h for further options ***"
18084" 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