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

Comparing rxvt-unicode/configure (file contents):
Revision 1.22 by pcg, Wed Mar 17 03:07:35 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
3688 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"
3689 3692
3690fi 3693fi
3691 3694
3692 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"
3896fi
3897
3898
3693# Check whether --enable-shared or --disable-shared was given. 3899# Check whether --enable-shared or --disable-shared was given.
3694if test "${enable_shared+set}" = set; then 3900if test "${enable_shared+set}" = set; then
3695 enableval="$enable_shared" 3901 enableval="$enable_shared"
3696 p=${PACKAGE-default} 3902 p=${PACKAGE-default}
3697case "$enableval" in 3903case "$enableval" in
5030# 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
5031# libtool support. 5237# libtool support.
5032case "$host" in 5238case "$host" in
5033*-*-irix6*) 5239*-*-irix6*)
5034 # Find out which ABI we are using. 5240 # Find out which ABI we are using.
5035 echo '#line 5035 "configure"' > conftest.$ac_ext 5241 echo '#line 5241 "configure"' > conftest.$ac_ext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037 (eval $ac_compile) 2>&5 5243 (eval $ac_compile) 2>&5
5038 ac_status=$? 5244 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; then 5246 (exit $ac_status); }; then
5581# builds. 5787# builds.
5582chmod -w . 5788chmod -w .
5583save_CFLAGS="$CFLAGS" 5789save_CFLAGS="$CFLAGS"
5584CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5790CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5585compiler_c_o=no 5791compiler_c_o=no
5586if { (eval echo configure:5586: \"$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
5587 # 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
5588 # So say no if there are warnings 5794 # So say no if there are warnings
5589 if test -s out/conftest.err; then 5795 if test -s out/conftest.err; then
5590 compiler_c_o=no 5796 compiler_c_o=no
5591 else 5797 else
7197 lt_cv_dlopen_self=cross 7403 lt_cv_dlopen_self=cross
7198else 7404else
7199 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7405 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7200 lt_status=$lt_dlunknown 7406 lt_status=$lt_dlunknown
7201 cat > conftest.$ac_ext <<EOF 7407 cat > conftest.$ac_ext <<EOF
7202#line 7202 "configure" 7408#line 7408 "configure"
7203#include "confdefs.h" 7409#include "confdefs.h"
7204 7410
7205#if HAVE_DLFCN_H 7411#if HAVE_DLFCN_H
7206#include <dlfcn.h> 7412#include <dlfcn.h>
7207#endif 7413#endif
7295 lt_cv_dlopen_self_static=cross 7501 lt_cv_dlopen_self_static=cross
7296else 7502else
7297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7298 lt_status=$lt_dlunknown 7504 lt_status=$lt_dlunknown
7299 cat > conftest.$ac_ext <<EOF 7505 cat > conftest.$ac_ext <<EOF
7300#line 7300 "configure" 7506#line 7506 "configure"
7301#include "confdefs.h" 7507#include "confdefs.h"
7302 7508
7303#if HAVE_DLFCN_H 7509#if HAVE_DLFCN_H
7304#include <dlfcn.h> 7510#include <dlfcn.h>
7305#endif 7511#endif
8028MALLOC_TYPE=S 8234MALLOC_TYPE=S
8029support_addstrings=no 8235support_addstrings=no
8030support_frills=no 8236support_frills=no
8031support_linespace=no 8237support_linespace=no
8032support_inheritpixmap=no 8238support_inheritpixmap=no
8239support_tinting=no
8240support_fading=no
8033support_keepscrolling=no 8241support_keepscrolling=no
8034support_selectionscrolling=no 8242support_selectionscrolling=no
8035support_menubar=no 8243support_menubar=no
8036support_mousewheel=no 8244support_mousewheel=no
8037support_mouseslipwheel=no 8245support_mouseslipwheel=no
8048support_xim=no 8256support_xim=no
8049support_xpm=no 8257support_xpm=no
8050support_xft=no 8258support_xft=no
8051support_unicode3=no 8259support_unicode3=no
8052support_combining=no 8260support_combining=no
8261support_8bitctrls=no
8053codesets= 8262codesets=
8054 8263
8055 8264
8056if test "x$enable_shared" = xyes; then 8265if test "x$enable_shared" = xyes; then
8057 8266
8069 if test x$enableval = xyes; then 8278 if test x$enableval = xyes; then
8070 support_24bit=yes 8279 support_24bit=yes
8071 support_frills=yes 8280 support_frills=yes
8072 support_linespace=yes 8281 support_linespace=yes
8073 support_inheritpixmap=yes 8282 support_inheritpixmap=yes
8283 support_tinting=yes
8284 support_fading=yes
8074 support_keepscrolling=yes 8285 support_keepscrolling=yes
8075 support_selectionscrolling=yes 8286 support_selectionscrolling=yes
8076 support_lastlog=yes 8287 support_lastlog=yes
8077 support_menubar=yes 8288 support_menubar=yes
8078 support_mousewheel=yes 8289 support_mousewheel=yes
8089 support_xim=yes 8300 support_xim=yes
8090 support_xpm=yes 8301 support_xpm=yes
8091 support_xft=yes 8302 support_xft=yes
8092 support_unicode3=yes 8303 support_unicode3=yes
8093 support_combining=yes 8304 support_combining=yes
8305 #support_8bitctrls=yes
8094 codesets=all 8306 codesets=all
8095 fi 8307 fi
8096fi; 8308fi;
8097 8309
8098# Check whether --enable-unicode3 or --disable-unicode3 was given. 8310# Check whether --enable-unicode3 or --disable-unicode3 was given.
8157 if test x$enableval = xyes -o x$enableval = xno; then 8369 if test x$enableval = xyes -o x$enableval = xno; then
8158 support_inheritpixmap=$enableval 8370 support_inheritpixmap=$enableval
8159 fi 8371 fi
8160fi; 8372fi;
8161 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
8162# Check whether --enable-menubar or --disable-menubar was given. 8390# Check whether --enable-menubar or --disable-menubar was given.
8163if test "${enable_menubar+set}" = set; then 8391if test "${enable_menubar+set}" = set; then
8164 enableval="$enable_menubar" 8392 enableval="$enable_menubar"
8165 if test x$enableval = xyes -o x$enableval = xno; then 8393 if test x$enableval = xyes -o x$enableval = xno; then
8166 support_menubar=$enableval 8394 support_menubar=$enableval
8281 8509
8282cat >>confdefs.h <<\_ACEOF 8510cat >>confdefs.h <<\_ACEOF
8283#define USE_XGETDEFAULT 1 8511#define USE_XGETDEFAULT 1
8284_ACEOF 8512_ACEOF
8285 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
8286 fi 8522 fi
8287fi; 8523fi;
8288 8524
8289RESFALLBACK=Rxvt 8525RESFALLBACK=Rxvt
8290# Check whether --enable-fallback or --disable-fallback was given. 8526# Check whether --enable-fallback or --disable-fallback was given.
8848fi 9084fi
8849 9085
8850 9086
8851 9087
8852 9088
9089
9090if test "x$ac_path_x_has_been_run" != xyes; then
8853echo "$as_me:$LINENO: checking for X" >&5 9091 echo "$as_me:$LINENO: checking for X" >&5
8854echo $ECHO_N "checking for X... $ECHO_C" >&6 9092echo $ECHO_N "checking for X... $ECHO_C" >&6
8855 9093
9094ac_path_x_has_been_run=yes
8856 9095
8857# Check whether --with-x or --without-x was given. 9096# Check whether --with-x or --without-x was given.
8858if test "${with_x+set}" = set; then 9097if test "${with_x+set}" = set; then
8859 withval="$with_x" 9098 withval="$with_x"
8860 9099
8943 9182
8944/usr/openwin/include 9183/usr/openwin/include
8945/usr/openwin/share/include' 9184/usr/openwin/share/include'
8946 9185
8947if test "$ac_x_includes" = no; then 9186if test "$ac_x_includes" = no; then
8948 # 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.
8949 # First, try using that file with no special directory specified. 9188 # First, try using that file with no special directory specified.
8950 cat >conftest.$ac_ext <<_ACEOF 9189 cat >conftest.$ac_ext <<_ACEOF
8951/* confdefs.h. */ 9190/* confdefs.h. */
8952_ACEOF 9191_ACEOF
8953cat confdefs.h >>conftest.$ac_ext 9192cat confdefs.h >>conftest.$ac_ext
9077 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9316 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9078 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9317 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9079 # Update the cache value to reflect the command line values. 9318 # Update the cache value to reflect the command line values.
9080 ac_cv_have_x="have_x=yes \ 9319 ac_cv_have_x="have_x=yes \
9081 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"
9082 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
9083echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9326echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9084fi 9327fi
9085 9328
9329fi
9086if test "$no_x" = yes; then 9330if test "$no_x" = yes; then
9087 # 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.
9088 9332
9089cat >>confdefs.h <<\_ACEOF 9333cat >>confdefs.h <<\_ACEOF
9090#define X_DISPLAY_MISSING 1 9334#define X_DISPLAY_MISSING 1
15954#define HAVE_NL_LANGINFO 1 16198#define HAVE_NL_LANGINFO 1
15955_ACEOF 16199_ACEOF
15956 16200
15957fi 16201fi
15958 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
15959echo "$as_me:$LINENO: checking for getpt" >&5 16261echo "$as_me:$LINENO: checking for getpt" >&5
15960echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16262echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15961if test "${rxvt_cv_func_getpt+set}" = set; then 16263if test "${rxvt_cv_func_getpt+set}" = set; then
15962 echo $ECHO_N "(cached) $ECHO_C" >&6 16264 echo $ECHO_N "(cached) $ECHO_C" >&6
15963else 16265else
16142#define PTYCHAR2 "$pch2" 16444#define PTYCHAR2 "$pch2"
16143_ACEOF 16445_ACEOF
16144 16446
16145fi 16447fi
16146 16448
16147echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16449if test x$support_8bitctrls = xyes; then
16148echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16450
16149if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16151else
16152 ac_check_lib_save_LIBS=$LIBS
16153LIBS="-lxpg4 $LIBS"
16154cat >conftest.$ac_ext <<_ACEOF
16155/* confdefs.h. */
16156_ACEOF
16157cat confdefs.h >>conftest.$ac_ext
16158cat >>conftest.$ac_ext <<_ACEOF 16451cat >>confdefs.h <<\_ACEOF
16159/* end confdefs.h. */ 16452#define EIGHT_BIT_CONTROLS 1
16160
16161/* Override any gcc2 internal prototype to avoid an error. */
16162#ifdef __cplusplus
16163extern "C"
16164#endif
16165/* We use char because int might match the return type of a gcc2
16166 builtin and then its argument prototype would still apply. */
16167char setlocale ();
16168int
16169main ()
16170{
16171setlocale ();
16172 ;
16173 return 0;
16174}
16175_ACEOF 16453_ACEOF
16176rm -f conftest.$ac_objext conftest$ac_exeext
16177if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16178 (eval $ac_link) 2>conftest.er1
16179 ac_status=$?
16180 grep -v '^ *+' conftest.er1 >conftest.err
16181 rm -f conftest.er1
16182 cat conftest.err >&5
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); } &&
16185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16188 ac_status=$?
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; } &&
16191 { ac_try='test -s conftest$ac_exeext'
16192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16193 (eval $ac_try) 2>&5
16194 ac_status=$?
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; }; then
16197 ac_cv_lib_xpg4_setlocale=yes
16198else
16199 echo "$as_me: failed program was:" >&5
16200sed 's/^/| /' conftest.$ac_ext >&5
16201 16454
16202ac_cv_lib_xpg4_setlocale=no
16203fi 16455fi
16204rm -f conftest.err conftest.$ac_objext \ 16456if test x$support_fading = xyes; then
16205 conftest$ac_exeext conftest.$ac_ext
16206LIBS=$ac_check_lib_save_LIBS
16207fi
16208echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16209echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16210if test $ac_cv_lib_xpg4_setlocale = yes; then
16211 LIBS="$LIBS -lxpg4"
16212fi
16213 16457
16458cat >>confdefs.h <<\_ACEOF
16459#define OFF_FOCUS_FADING 1
16460_ACEOF
16214 16461
16462fi
16463if test x$support_tinting = xyes; then
16464
16465cat >>confdefs.h <<\_ACEOF
16466#define TINTING 1
16467_ACEOF
16468
16469fi
16215if test x$support_inheritpixmap = xyes; then 16470if test x$support_inheritpixmap = xyes; then
16216 16471
16217cat >>confdefs.h <<\_ACEOF 16472cat >>confdefs.h <<\_ACEOF
16218#define TRANSPARENT 1 16473#define TRANSPARENT 1
16219_ACEOF 16474_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines