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

Comparing rxvt-unicode/configure (file contents):
Revision 1.21 by pcg, Sun Mar 14 23:14:37 2004 UTC vs.
Revision 1.31 by root, Fri Jul 30 16:04:05 2004 UTC

1036 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1038 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1039 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1040 --enable-transparency enable transparent backgrounds 1040 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg
1042 --enable-fading enable colors fading when off focus
1041 --enable-menubar enable menubar 1043 --enable-menubar enable menubar
1042 --enable-rxvt-scroll enable rxvt style scrollbar 1044 --enable-rxvt-scroll enable rxvt style scrollbar
1043 --enable-next-scroll enable NeXT style scrollbar 1045 --enable-next-scroll enable NeXT style scrollbar
1044 --enable-xterm-scroll enable Xterm style scrollbar 1046 --enable-xterm-scroll enable Xterm style scrollbar
1045 --enable-plain-scroll enable plain style scrollbar 1047 --enable-plain-scroll enable plain style scrollbar
1048 --enable-ttygid enable tty setting to group named "tty" 1050 --enable-ttygid enable tty setting to group named "tty"
1049 --disable-backspace-key disable handling of the backspace key 1051 --disable-backspace-key disable handling of the backspace key
1050 --disable-delete-key disable handling of the delete key 1052 --disable-delete-key disable handling of the delete key
1051 --disable-resources disable all resource checking 1053 --disable-resources disable all resource checking
1052 --enable-xgetdefault enable resources via X instead of our small version 1054 --enable-xgetdefault enable resources via X instead of our small version
1055 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1053 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1056 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1054 --enable-strings enable some replacement system functions 1057 --enable-strings enable some replacement system functions
1055 --disable-swapscreen disable swap screen support 1058 --disable-swapscreen disable swap screen support
1056 --enable-frills enable support for rarely used features 1059 --enable-frills enable support for rarely used features
1057 --enable-linespace enable support for linespace 1060 --enable-linespace enable support for linespace
3279LINKER=$LINKER 3282LINKER=$LINKER
3280 3283
3281 3284
3282CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3285CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3283 3286
3284if test x$GXX = xyes; then
3285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3286fi
3287 3287
3288ac_ext=cc 3288ac_ext=cc
3289ac_cpp='$CXXCPP $CPPFLAGS' 3289ac_cpp='$CXXCPP $CPPFLAGS'
3290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3688echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3689echo "${ECHO_T}$ac_cv_search_strerror" >&6 3689echo "${ECHO_T}$ac_cv_search_strerror" >&6
3690if test "$ac_cv_search_strerror" != no; then 3690if test "$ac_cv_search_strerror" != no; then
3691 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3691 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3692 3692
3693fi
3694
3695
3696echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3697echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3698if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700else
3701 ac_check_lib_save_LIBS=$LIBS
3702LIBS="-lxpg4 $LIBS"
3703cat >conftest.$ac_ext <<_ACEOF
3704/* confdefs.h. */
3705_ACEOF
3706cat confdefs.h >>conftest.$ac_ext
3707cat >>conftest.$ac_ext <<_ACEOF
3708/* end confdefs.h. */
3709
3710/* Override any gcc2 internal prototype to avoid an error. */
3711#ifdef __cplusplus
3712extern "C"
3713#endif
3714/* We use char because int might match the return type of a gcc2
3715 builtin and then its argument prototype would still apply. */
3716char setlocale ();
3717int
3718main ()
3719{
3720setlocale ();
3721 ;
3722 return 0;
3723}
3724_ACEOF
3725rm -f conftest.$ac_objext conftest$ac_exeext
3726if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3727 (eval $ac_link) 2>conftest.er1
3728 ac_status=$?
3729 grep -v '^ *+' conftest.er1 >conftest.err
3730 rm -f conftest.er1
3731 cat conftest.err >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } &&
3734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3736 (eval $ac_try) 2>&5
3737 ac_status=$?
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; } &&
3740 { ac_try='test -s conftest$ac_exeext'
3741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3742 (eval $ac_try) 2>&5
3743 ac_status=$?
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }; }; then
3746 ac_cv_lib_xpg4_setlocale=yes
3747else
3748 echo "$as_me: failed program was:" >&5
3749sed 's/^/| /' conftest.$ac_ext >&5
3750
3751ac_cv_lib_xpg4_setlocale=no
3752fi
3753rm -f conftest.err conftest.$ac_objext \
3754 conftest$ac_exeext conftest.$ac_ext
3755LIBS=$ac_check_lib_save_LIBS
3756fi
3757echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3758echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3759if test $ac_cv_lib_xpg4_setlocale = yes; then
3760 LIBS="$LIBS -lxpg4"
3761fi
3762
3763
3764echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3765echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3766if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3768else
3769 ac_check_lib_save_LIBS=$LIBS
3770LIBS="-lnsl $LIBS"
3771cat >conftest.$ac_ext <<_ACEOF
3772/* confdefs.h. */
3773_ACEOF
3774cat confdefs.h >>conftest.$ac_ext
3775cat >>conftest.$ac_ext <<_ACEOF
3776/* end confdefs.h. */
3777
3778/* Override any gcc2 internal prototype to avoid an error. */
3779#ifdef __cplusplus
3780extern "C"
3781#endif
3782/* We use char because int might match the return type of a gcc2
3783 builtin and then its argument prototype would still apply. */
3784char gethostbyname ();
3785int
3786main ()
3787{
3788gethostbyname ();
3789 ;
3790 return 0;
3791}
3792_ACEOF
3793rm -f conftest.$ac_objext conftest$ac_exeext
3794if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3795 (eval $ac_link) 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } &&
3802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 (eval $ac_try) 2>&5
3805 ac_status=$?
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; } &&
3808 { ac_try='test -s conftest$ac_exeext'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 (eval $ac_try) 2>&5
3811 ac_status=$?
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; }; then
3814 ac_cv_lib_nsl_gethostbyname=yes
3815else
3816 echo "$as_me: failed program was:" >&5
3817sed 's/^/| /' conftest.$ac_ext >&5
3818
3819ac_cv_lib_nsl_gethostbyname=no
3820fi
3821rm -f conftest.err conftest.$ac_objext \
3822 conftest$ac_exeext conftest.$ac_ext
3823LIBS=$ac_check_lib_save_LIBS
3824fi
3825echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3826echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3827if test $ac_cv_lib_nsl_gethostbyname = yes; then
3828 LIBS="$LIBS -lnsl"
3829fi
3830
3831echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3832echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3833if test "${ac_cv_lib_socket_socket+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3835else
3836 ac_check_lib_save_LIBS=$LIBS
3837LIBS="-lsocket $LIBS"
3838cat >conftest.$ac_ext <<_ACEOF
3839/* confdefs.h. */
3840_ACEOF
3841cat confdefs.h >>conftest.$ac_ext
3842cat >>conftest.$ac_ext <<_ACEOF
3843/* end confdefs.h. */
3844
3845/* Override any gcc2 internal prototype to avoid an error. */
3846#ifdef __cplusplus
3847extern "C"
3848#endif
3849/* We use char because int might match the return type of a gcc2
3850 builtin and then its argument prototype would still apply. */
3851char socket ();
3852int
3853main ()
3854{
3855socket ();
3856 ;
3857 return 0;
3858}
3859_ACEOF
3860rm -f conftest.$ac_objext conftest$ac_exeext
3861if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3862 (eval $ac_link) 2>conftest.er1
3863 ac_status=$?
3864 grep -v '^ *+' conftest.er1 >conftest.err
3865 rm -f conftest.er1
3866 cat conftest.err >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } &&
3869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3871 (eval $ac_try) 2>&5
3872 ac_status=$?
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }; } &&
3875 { ac_try='test -s conftest$ac_exeext'
3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877 (eval $ac_try) 2>&5
3878 ac_status=$?
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); }; }; then
3881 ac_cv_lib_socket_socket=yes
3882else
3883 echo "$as_me: failed program was:" >&5
3884sed 's/^/| /' conftest.$ac_ext >&5
3885
3886ac_cv_lib_socket_socket=no
3887fi
3888rm -f conftest.err conftest.$ac_objext \
3889 conftest$ac_exeext conftest.$ac_ext
3890LIBS=$ac_check_lib_save_LIBS
3891fi
3892echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3893echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3894if test $ac_cv_lib_socket_socket = yes; then
3895 LIBS="$LIBS -lsocket"
3693fi 3896fi
3694 3897
3695 3898
3696# Check whether --enable-shared or --disable-shared was given. 3899# Check whether --enable-shared or --disable-shared was given.
3697if test "${enable_shared+set}" = set; then 3900if test "${enable_shared+set}" = set; then
5033# Some flags need to be propagated to the compiler or linker for good 5236# Some flags need to be propagated to the compiler or linker for good
5034# libtool support. 5237# libtool support.
5035case "$host" in 5238case "$host" in
5036*-*-irix6*) 5239*-*-irix6*)
5037 # Find out which ABI we are using. 5240 # Find out which ABI we are using.
5038 echo '#line 5038 "configure"' > conftest.$ac_ext 5241 echo '#line 5241 "configure"' > conftest.$ac_ext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>&5 5243 (eval $ac_compile) 2>&5
5041 ac_status=$? 5244 ac_status=$?
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; then 5246 (exit $ac_status); }; then
5584# builds. 5787# builds.
5585chmod -w . 5788chmod -w .
5586save_CFLAGS="$CFLAGS" 5789save_CFLAGS="$CFLAGS"
5587CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5790CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5588compiler_c_o=no 5791compiler_c_o=no
5589if { (eval echo configure:5589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5792if { (eval echo configure:5792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5590 # The compiler can only warn and ignore the option if not recognized 5793 # The compiler can only warn and ignore the option if not recognized
5591 # So say no if there are warnings 5794 # So say no if there are warnings
5592 if test -s out/conftest.err; then 5795 if test -s out/conftest.err; then
5593 compiler_c_o=no 5796 compiler_c_o=no
5594 else 5797 else
7200 lt_cv_dlopen_self=cross 7403 lt_cv_dlopen_self=cross
7201else 7404else
7202 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7405 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7203 lt_status=$lt_dlunknown 7406 lt_status=$lt_dlunknown
7204 cat > conftest.$ac_ext <<EOF 7407 cat > conftest.$ac_ext <<EOF
7205#line 7205 "configure" 7408#line 7408 "configure"
7206#include "confdefs.h" 7409#include "confdefs.h"
7207 7410
7208#if HAVE_DLFCN_H 7411#if HAVE_DLFCN_H
7209#include <dlfcn.h> 7412#include <dlfcn.h>
7210#endif 7413#endif
7298 lt_cv_dlopen_self_static=cross 7501 lt_cv_dlopen_self_static=cross
7299else 7502else
7300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7301 lt_status=$lt_dlunknown 7504 lt_status=$lt_dlunknown
7302 cat > conftest.$ac_ext <<EOF 7505 cat > conftest.$ac_ext <<EOF
7303#line 7303 "configure" 7506#line 7506 "configure"
7304#include "confdefs.h" 7507#include "confdefs.h"
7305 7508
7306#if HAVE_DLFCN_H 7509#if HAVE_DLFCN_H
7307#include <dlfcn.h> 7510#include <dlfcn.h>
7308#endif 7511#endif
8031MALLOC_TYPE=S 8234MALLOC_TYPE=S
8032support_addstrings=no 8235support_addstrings=no
8033support_frills=no 8236support_frills=no
8034support_linespace=no 8237support_linespace=no
8035support_inheritpixmap=no 8238support_inheritpixmap=no
8239support_tinting=no
8240support_fading=no
8036support_keepscrolling=no 8241support_keepscrolling=no
8037support_selectionscrolling=no 8242support_selectionscrolling=no
8038support_menubar=no 8243support_menubar=no
8039support_mousewheel=no 8244support_mousewheel=no
8040support_mouseslipwheel=no 8245support_mouseslipwheel=no
8051support_xim=no 8256support_xim=no
8052support_xpm=no 8257support_xpm=no
8053support_xft=no 8258support_xft=no
8054support_unicode3=no 8259support_unicode3=no
8055support_combining=no 8260support_combining=no
8261support_8bitctrls=no
8056codesets= 8262codesets=
8057 8263
8058 8264
8059if test "x$enable_shared" = xyes; then 8265if test "x$enable_shared" = xyes; then
8060 8266
8072 if test x$enableval = xyes; then 8278 if test x$enableval = xyes; then
8073 support_24bit=yes 8279 support_24bit=yes
8074 support_frills=yes 8280 support_frills=yes
8075 support_linespace=yes 8281 support_linespace=yes
8076 support_inheritpixmap=yes 8282 support_inheritpixmap=yes
8283 support_tinting=yes
8284 support_fading=yes
8077 support_keepscrolling=yes 8285 support_keepscrolling=yes
8078 support_selectionscrolling=yes 8286 support_selectionscrolling=yes
8079 support_lastlog=yes 8287 support_lastlog=yes
8080 support_menubar=yes 8288 support_menubar=yes
8081 support_mousewheel=yes 8289 support_mousewheel=yes
8092 support_xim=yes 8300 support_xim=yes
8093 support_xpm=yes 8301 support_xpm=yes
8094 support_xft=yes 8302 support_xft=yes
8095 support_unicode3=yes 8303 support_unicode3=yes
8096 support_combining=yes 8304 support_combining=yes
8305 #support_8bitctrls=yes
8097 codesets=all 8306 codesets=all
8098 fi 8307 fi
8099fi; 8308fi;
8100 8309
8101# Check whether --enable-unicode3 or --disable-unicode3 was given. 8310# Check whether --enable-unicode3 or --disable-unicode3 was given.
8160 if test x$enableval = xyes -o x$enableval = xno; then 8369 if test x$enableval = xyes -o x$enableval = xno; then
8161 support_inheritpixmap=$enableval 8370 support_inheritpixmap=$enableval
8162 fi 8371 fi
8163fi; 8372fi;
8164 8373
8374# Check whether --enable-tinting or --disable-tinting was given.
8375if test "${enable_tinting+set}" = set; then
8376 enableval="$enable_tinting"
8377 if test x$enableval = xyes -o x$enableval = xno; then
8378 support_tinting=$enableval
8379 fi
8380fi;
8381
8382# Check whether --enable-fading or --disable-fading was given.
8383if test "${enable_fading+set}" = set; then
8384 enableval="$enable_fading"
8385 if test x$enableval = xyes -o x$enableval = xno; then
8386 support_fading=$enableval
8387 fi
8388fi;
8389
8165# Check whether --enable-menubar or --disable-menubar was given. 8390# Check whether --enable-menubar or --disable-menubar was given.
8166if test "${enable_menubar+set}" = set; then 8391if test "${enable_menubar+set}" = set; then
8167 enableval="$enable_menubar" 8392 enableval="$enable_menubar"
8168 if test x$enableval = xyes -o x$enableval = xno; then 8393 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_menubar=$enableval 8394 support_menubar=$enableval
8284 8509
8285cat >>confdefs.h <<\_ACEOF 8510cat >>confdefs.h <<\_ACEOF
8286#define USE_XGETDEFAULT 1 8511#define USE_XGETDEFAULT 1
8287_ACEOF 8512_ACEOF
8288 8513
8514 fi
8515fi;
8516
8517# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8518if test "${enable_8bitctrls+set}" = set; then
8519 enableval="$enable_8bitctrls"
8520 if test x$enableval = xyes -o x$enableval = xno; then
8521 support_8bitctrls=yes
8289 fi 8522 fi
8290fi; 8523fi;
8291 8524
8292RESFALLBACK=Rxvt 8525RESFALLBACK=Rxvt
8293# Check whether --enable-fallback or --disable-fallback was given. 8526# Check whether --enable-fallback or --disable-fallback was given.
8851fi 9084fi
8852 9085
8853 9086
8854 9087
8855 9088
9089
9090if test "x$ac_path_x_has_been_run" != xyes; then
8856echo "$as_me:$LINENO: checking for X" >&5 9091 echo "$as_me:$LINENO: checking for X" >&5
8857echo $ECHO_N "checking for X... $ECHO_C" >&6 9092echo $ECHO_N "checking for X... $ECHO_C" >&6
8858 9093
9094ac_path_x_has_been_run=yes
8859 9095
8860# Check whether --with-x or --without-x was given. 9096# Check whether --with-x or --without-x was given.
8861if test "${with_x+set}" = set; then 9097if test "${with_x+set}" = set; then
8862 withval="$with_x" 9098 withval="$with_x"
8863 9099
8946 9182
8947/usr/openwin/include 9183/usr/openwin/include
8948/usr/openwin/share/include' 9184/usr/openwin/share/include'
8949 9185
8950if test "$ac_x_includes" = no; then 9186if test "$ac_x_includes" = no; then
8951 # Guess where to find include files, by looking for Intrinsic.h. 9187 # Guess where to find include files, by looking for a specified header file.
8952 # First, try using that file with no special directory specified. 9188 # First, try using that file with no special directory specified.
8953 cat >conftest.$ac_ext <<_ACEOF 9189 cat >conftest.$ac_ext <<_ACEOF
8954/* confdefs.h. */ 9190/* confdefs.h. */
8955_ACEOF 9191_ACEOF
8956cat confdefs.h >>conftest.$ac_ext 9192cat confdefs.h >>conftest.$ac_ext
9080 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9316 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9081 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9317 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9082 # Update the cache value to reflect the command line values. 9318 # Update the cache value to reflect the command line values.
9083 ac_cv_have_x="have_x=yes \ 9319 ac_cv_have_x="have_x=yes \
9084 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9320 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9321 # It might be that x_includes is empty (headers are found in the
9322 # standard search path. Then output the corresponding message
9323 ac_out_x_includes=$x_includes
9324 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9085 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9325 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9086echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9326echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9087fi 9327fi
9088 9328
9329fi
9089if test "$no_x" = yes; then 9330if test "$no_x" = yes; then
9090 # Not all programs may use this symbol, but it does not hurt to define it. 9331 # Not all programs may use this symbol, but it does not hurt to define it.
9091 9332
9092cat >>confdefs.h <<\_ACEOF 9333cat >>confdefs.h <<\_ACEOF
9093#define X_DISPLAY_MISSING 1 9334#define X_DISPLAY_MISSING 1
15957#define HAVE_NL_LANGINFO 1 16198#define HAVE_NL_LANGINFO 1
15958_ACEOF 16199_ACEOF
15959 16200
15960fi 16201fi
15961 16202
16203echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16204echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16205if test "${rxvt_broken_ximcb+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16207else
16208 cat >conftest.$ac_ext <<_ACEOF
16209
16210#include <X11/Xlib.h>
16211
16212void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16213
16214void f() {
16215 XIMCallback cb;
16216 cb.callback = im_destroy_cb;
16217}
16218
16219_ACEOF
16220rm -f conftest.$ac_objext
16221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16222 (eval $ac_compile) 2>conftest.er1
16223 ac_status=$?
16224 grep -v '^ *+' conftest.er1 >conftest.err
16225 rm -f conftest.er1
16226 cat conftest.err >&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); } &&
16229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16232 ac_status=$?
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; } &&
16235 { ac_try='test -s conftest.$ac_objext'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16238 ac_status=$?
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; }; then
16241 rxvt_broken_ximcb=yes
16242else
16243 echo "$as_me: failed program was:" >&5
16244sed 's/^/| /' conftest.$ac_ext >&5
16245
16246rxvt_broken_ximcb=no
16247fi
16248rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16249fi
16250echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16251echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16252
16253if test x$rxvt_broken_ximcb = xyes; then
16254
16255cat >>confdefs.h <<\_ACEOF
16256#define XIMCB_PROTO_BROKEN 1
16257_ACEOF
16258
16259fi
16260
15962echo "$as_me:$LINENO: checking for getpt" >&5 16261echo "$as_me:$LINENO: checking for getpt" >&5
15963echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16262echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15964if test "${rxvt_cv_func_getpt+set}" = set; then 16263if test "${rxvt_cv_func_getpt+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6 16264 echo $ECHO_N "(cached) $ECHO_C" >&6
15966else 16265else
16145#define PTYCHAR2 "$pch2" 16444#define PTYCHAR2 "$pch2"
16146_ACEOF 16445_ACEOF
16147 16446
16148fi 16447fi
16149 16448
16150echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16449if test x$support_8bitctrls = xyes; then
16151echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16450
16152if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16153 echo $ECHO_N "(cached) $ECHO_C" >&6
16154else
16155 ac_check_lib_save_LIBS=$LIBS
16156LIBS="-lxpg4 $LIBS"
16157cat >conftest.$ac_ext <<_ACEOF
16158/* confdefs.h. */
16159_ACEOF
16160cat confdefs.h >>conftest.$ac_ext
16161cat >>conftest.$ac_ext <<_ACEOF 16451cat >>confdefs.h <<\_ACEOF
16162/* end confdefs.h. */ 16452#define EIGHT_BIT_CONTROLS 1
16163
16164/* Override any gcc2 internal prototype to avoid an error. */
16165#ifdef __cplusplus
16166extern "C"
16167#endif
16168/* We use char because int might match the return type of a gcc2
16169 builtin and then its argument prototype would still apply. */
16170char setlocale ();
16171int
16172main ()
16173{
16174setlocale ();
16175 ;
16176 return 0;
16177}
16178_ACEOF 16453_ACEOF
16179rm -f conftest.$ac_objext conftest$ac_exeext
16180if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16181 (eval $ac_link) 2>conftest.er1
16182 ac_status=$?
16183 grep -v '^ *+' conftest.er1 >conftest.err
16184 rm -f conftest.er1
16185 cat conftest.err >&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } &&
16188 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16191 ac_status=$?
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; } &&
16194 { ac_try='test -s conftest$ac_exeext'
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16197 ac_status=$?
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; }; then
16200 ac_cv_lib_xpg4_setlocale=yes
16201else
16202 echo "$as_me: failed program was:" >&5
16203sed 's/^/| /' conftest.$ac_ext >&5
16204 16454
16205ac_cv_lib_xpg4_setlocale=no
16206fi 16455fi
16207rm -f conftest.err conftest.$ac_objext \ 16456if test x$support_fading = xyes; then
16208 conftest$ac_exeext conftest.$ac_ext
16209LIBS=$ac_check_lib_save_LIBS
16210fi
16211echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16212echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16213if test $ac_cv_lib_xpg4_setlocale = yes; then
16214 LIBS="$LIBS -lxpg4"
16215fi
16216 16457
16458cat >>confdefs.h <<\_ACEOF
16459#define OFF_FOCUS_FADING 1
16460_ACEOF
16217 16461
16462fi
16463if test x$support_tinting = xyes; then
16464
16465cat >>confdefs.h <<\_ACEOF
16466#define TINTING 1
16467_ACEOF
16468
16469fi
16218if test x$support_inheritpixmap = xyes; then 16470if test x$support_inheritpixmap = xyes; then
16219 16471
16220cat >>confdefs.h <<\_ACEOF 16472cat >>confdefs.h <<\_ACEOF
16221#define TRANSPARENT 1 16473#define TRANSPARENT 1
16222_ACEOF 16474_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines