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

Comparing rxvt-unicode/configure (file contents):
Revision 1.24 by pcg, Fri Apr 2 17:59:49 2004 UTC vs.
Revision 1.34 by root, Sun Aug 15 04:42:45 2004 UTC

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-tinting enable tinting of transparent bg
1042 --enable-fading enable colors fading when off focus
1042 --enable-menubar enable menubar 1043 --enable-menubar enable menubar
1043 --enable-rxvt-scroll enable rxvt style scrollbar 1044 --enable-rxvt-scroll enable rxvt style scrollbar
1044 --enable-next-scroll enable NeXT style scrollbar 1045 --enable-next-scroll enable NeXT style scrollbar
1045 --enable-xterm-scroll enable Xterm style scrollbar 1046 --enable-xterm-scroll enable Xterm style scrollbar
1046 --enable-plain-scroll enable plain style scrollbar 1047 --enable-plain-scroll enable plain style scrollbar
1049 --enable-ttygid enable tty setting to group named "tty" 1050 --enable-ttygid enable tty setting to group named "tty"
1050 --disable-backspace-key disable handling of the backspace key 1051 --disable-backspace-key disable handling of the backspace key
1051 --disable-delete-key disable handling of the delete key 1052 --disable-delete-key disable handling of the delete key
1052 --disable-resources disable all resource checking 1053 --disable-resources disable all resource checking
1053 --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)
1054 --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)
1055 --enable-strings enable some replacement system functions 1057 --enable-strings enable some replacement system functions
1056 --disable-swapscreen disable swap screen support 1058 --disable-swapscreen disable swap screen support
1059 --enable-iso14755 enable support for extended ISO 14755 modes
1057 --enable-frills enable support for rarely used features 1060 --enable-frills enable support for rarely used features
1058 --enable-linespace enable support for linespace 1061 --enable-linespace enable support for linespace
1059 --enable-24bit enable support for using 24bit visuals if available 1062 --enable-24bit enable support for using 24bit visuals if available
1060 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1063 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1061 --enable-selectionscrolling enable scrolling during selections 1064 --enable-selectionscrolling enable scrolling during selections
1534 1537
1535 1538
1536 1539
1537 1540
1538 1541
1542
1539ac_aux_dir= 1543ac_aux_dir=
1540for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1541 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1542 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
3686echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3687echo "${ECHO_T}$ac_cv_search_strerror" >&6 3691echo "${ECHO_T}$ac_cv_search_strerror" >&6
3688if test "$ac_cv_search_strerror" != no; then 3692if test "$ac_cv_search_strerror" != no; then
3689 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3693 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3690 3694
3695fi
3696
3697
3698echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3699echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3700if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702else
3703 ac_check_lib_save_LIBS=$LIBS
3704LIBS="-lxpg4 $LIBS"
3705cat >conftest.$ac_ext <<_ACEOF
3706/* confdefs.h. */
3707_ACEOF
3708cat confdefs.h >>conftest.$ac_ext
3709cat >>conftest.$ac_ext <<_ACEOF
3710/* end confdefs.h. */
3711
3712/* Override any gcc2 internal prototype to avoid an error. */
3713#ifdef __cplusplus
3714extern "C"
3715#endif
3716/* We use char because int might match the return type of a gcc2
3717 builtin and then its argument prototype would still apply. */
3718char setlocale ();
3719int
3720main ()
3721{
3722setlocale ();
3723 ;
3724 return 0;
3725}
3726_ACEOF
3727rm -f conftest.$ac_objext conftest$ac_exeext
3728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3729 (eval $ac_link) 2>conftest.er1
3730 ac_status=$?
3731 grep -v '^ *+' conftest.er1 >conftest.err
3732 rm -f conftest.er1
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738 (eval $ac_try) 2>&5
3739 ac_status=$?
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; } &&
3742 { ac_try='test -s conftest$ac_exeext'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 (eval $ac_try) 2>&5
3745 ac_status=$?
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then
3748 ac_cv_lib_xpg4_setlocale=yes
3749else
3750 echo "$as_me: failed program was:" >&5
3751sed 's/^/| /' conftest.$ac_ext >&5
3752
3753ac_cv_lib_xpg4_setlocale=no
3754fi
3755rm -f conftest.err conftest.$ac_objext \
3756 conftest$ac_exeext conftest.$ac_ext
3757LIBS=$ac_check_lib_save_LIBS
3758fi
3759echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3760echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3761if test $ac_cv_lib_xpg4_setlocale = yes; then
3762 LIBS="$LIBS -lxpg4"
3763fi
3764
3765
3766echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3767echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3768if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3770else
3771 ac_check_lib_save_LIBS=$LIBS
3772LIBS="-lnsl $LIBS"
3773cat >conftest.$ac_ext <<_ACEOF
3774/* confdefs.h. */
3775_ACEOF
3776cat confdefs.h >>conftest.$ac_ext
3777cat >>conftest.$ac_ext <<_ACEOF
3778/* end confdefs.h. */
3779
3780/* Override any gcc2 internal prototype to avoid an error. */
3781#ifdef __cplusplus
3782extern "C"
3783#endif
3784/* We use char because int might match the return type of a gcc2
3785 builtin and then its argument prototype would still apply. */
3786char gethostbyname ();
3787int
3788main ()
3789{
3790gethostbyname ();
3791 ;
3792 return 0;
3793}
3794_ACEOF
3795rm -f conftest.$ac_objext conftest$ac_exeext
3796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3797 (eval $ac_link) 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } &&
3804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 (eval $ac_try) 2>&5
3807 ac_status=$?
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; } &&
3810 { ac_try='test -s conftest$ac_exeext'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 (eval $ac_try) 2>&5
3813 ac_status=$?
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3816 ac_cv_lib_nsl_gethostbyname=yes
3817else
3818 echo "$as_me: failed program was:" >&5
3819sed 's/^/| /' conftest.$ac_ext >&5
3820
3821ac_cv_lib_nsl_gethostbyname=no
3822fi
3823rm -f conftest.err conftest.$ac_objext \
3824 conftest$ac_exeext conftest.$ac_ext
3825LIBS=$ac_check_lib_save_LIBS
3826fi
3827echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3828echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3829if test $ac_cv_lib_nsl_gethostbyname = yes; then
3830 LIBS="$LIBS -lnsl"
3831fi
3832
3833echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3834echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3835if test "${ac_cv_lib_socket_socket+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3837else
3838 ac_check_lib_save_LIBS=$LIBS
3839LIBS="-lsocket $LIBS"
3840cat >conftest.$ac_ext <<_ACEOF
3841/* confdefs.h. */
3842_ACEOF
3843cat confdefs.h >>conftest.$ac_ext
3844cat >>conftest.$ac_ext <<_ACEOF
3845/* end confdefs.h. */
3846
3847/* Override any gcc2 internal prototype to avoid an error. */
3848#ifdef __cplusplus
3849extern "C"
3850#endif
3851/* We use char because int might match the return type of a gcc2
3852 builtin and then its argument prototype would still apply. */
3853char socket ();
3854int
3855main ()
3856{
3857socket ();
3858 ;
3859 return 0;
3860}
3861_ACEOF
3862rm -f conftest.$ac_objext conftest$ac_exeext
3863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3864 (eval $ac_link) 2>conftest.er1
3865 ac_status=$?
3866 grep -v '^ *+' conftest.er1 >conftest.err
3867 rm -f conftest.er1
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873 (eval $ac_try) 2>&5
3874 ac_status=$?
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; } &&
3877 { ac_try='test -s conftest$ac_exeext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 (eval $ac_try) 2>&5
3880 ac_status=$?
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_cv_lib_socket_socket=yes
3884else
3885 echo "$as_me: failed program was:" >&5
3886sed 's/^/| /' conftest.$ac_ext >&5
3887
3888ac_cv_lib_socket_socket=no
3889fi
3890rm -f conftest.err conftest.$ac_objext \
3891 conftest$ac_exeext conftest.$ac_ext
3892LIBS=$ac_check_lib_save_LIBS
3893fi
3894echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3895echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3896if test $ac_cv_lib_socket_socket = yes; then
3897 LIBS="$LIBS -lsocket"
3691fi 3898fi
3692 3899
3693 3900
3694# Check whether --enable-shared or --disable-shared was given. 3901# Check whether --enable-shared or --disable-shared was given.
3695if test "${enable_shared+set}" = set; then 3902if test "${enable_shared+set}" = set; then
5031# Some flags need to be propagated to the compiler or linker for good 5238# Some flags need to be propagated to the compiler or linker for good
5032# libtool support. 5239# libtool support.
5033case "$host" in 5240case "$host" in
5034*-*-irix6*) 5241*-*-irix6*)
5035 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
5036 echo '#line 5036 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5038 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
5039 ac_status=$? 5246 ac_status=$?
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
5582# builds. 5789# builds.
5583chmod -w . 5790chmod -w .
5584save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5585CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5586compiler_c_o=no 5793compiler_c_o=no
5587if { (eval echo configure:5587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5794if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5588 # The compiler can only warn and ignore the option if not recognized 5795 # The compiler can only warn and ignore the option if not recognized
5589 # So say no if there are warnings 5796 # So say no if there are warnings
5590 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5591 compiler_c_o=no 5798 compiler_c_o=no
5592 else 5799 else
7198 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
7199else 7406else
7200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7201 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
7202 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
7203#line 7203 "configure" 7410#line 7410 "configure"
7204#include "confdefs.h" 7411#include "confdefs.h"
7205 7412
7206#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
7207#include <dlfcn.h> 7414#include <dlfcn.h>
7208#endif 7415#endif
7296 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
7297else 7504else
7298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7299 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
7300 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
7301#line 7301 "configure" 7508#line 7508 "configure"
7302#include "confdefs.h" 7509#include "confdefs.h"
7303 7510
7304#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
7305#include <dlfcn.h> 7512#include <dlfcn.h>
7306#endif 7513#endif
8030support_addstrings=no 8237support_addstrings=no
8031support_frills=no 8238support_frills=no
8032support_linespace=no 8239support_linespace=no
8033support_inheritpixmap=no 8240support_inheritpixmap=no
8034support_tinting=no 8241support_tinting=no
8242support_fading=no
8035support_keepscrolling=no 8243support_keepscrolling=no
8036support_selectionscrolling=no 8244support_selectionscrolling=no
8037support_menubar=no 8245support_menubar=no
8038support_mousewheel=no 8246support_mousewheel=no
8039support_mouseslipwheel=no 8247support_mouseslipwheel=no
8050support_xim=no 8258support_xim=no
8051support_xpm=no 8259support_xpm=no
8052support_xft=no 8260support_xft=no
8053support_unicode3=no 8261support_unicode3=no
8054support_combining=no 8262support_combining=no
8263support_8bitctrls=no
8264support_iso14755=no
8055codesets= 8265codesets=
8056 8266
8057 8267
8058if test "x$enable_shared" = xyes; then 8268if test "x$enable_shared" = xyes; then
8059 8269
8072 support_24bit=yes 8282 support_24bit=yes
8073 support_frills=yes 8283 support_frills=yes
8074 support_linespace=yes 8284 support_linespace=yes
8075 support_inheritpixmap=yes 8285 support_inheritpixmap=yes
8076 support_tinting=yes 8286 support_tinting=yes
8287 support_fading=yes
8077 support_keepscrolling=yes 8288 support_keepscrolling=yes
8078 support_selectionscrolling=yes 8289 support_selectionscrolling=yes
8079 support_lastlog=yes 8290 support_lastlog=yes
8080 support_menubar=yes 8291 support_menubar=yes
8081 support_mousewheel=yes 8292 support_mousewheel=yes
8092 support_xim=yes 8303 support_xim=yes
8093 support_xpm=yes 8304 support_xpm=yes
8094 support_xft=yes 8305 support_xft=yes
8095 support_unicode3=yes 8306 support_unicode3=yes
8096 support_combining=yes 8307 support_combining=yes
8308 #support_8bitctrls=yes
8309 support_iso14755=yes
8097 codesets=all 8310 codesets=all
8098 fi 8311 fi
8099fi; 8312fi;
8100 8313
8101# Check whether --enable-unicode3 or --disable-unicode3 was given. 8314# Check whether --enable-unicode3 or --disable-unicode3 was given.
8168 if test x$enableval = xyes -o x$enableval = xno; then 8381 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_tinting=$enableval 8382 support_tinting=$enableval
8170 fi 8383 fi
8171fi; 8384fi;
8172 8385
8386# Check whether --enable-fading or --disable-fading was given.
8387if test "${enable_fading+set}" = set; then
8388 enableval="$enable_fading"
8389 if test x$enableval = xyes -o x$enableval = xno; then
8390 support_fading=$enableval
8391 fi
8392fi;
8393
8173# Check whether --enable-menubar or --disable-menubar was given. 8394# Check whether --enable-menubar or --disable-menubar was given.
8174if test "${enable_menubar+set}" = set; then 8395if test "${enable_menubar+set}" = set; then
8175 enableval="$enable_menubar" 8396 enableval="$enable_menubar"
8176 if test x$enableval = xyes -o x$enableval = xno; then 8397 if test x$enableval = xyes -o x$enableval = xno; then
8177 support_menubar=$enableval 8398 support_menubar=$enableval
8295_ACEOF 8516_ACEOF
8296 8517
8297 fi 8518 fi
8298fi; 8519fi;
8299 8520
8521# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8522if test "${enable_8bitctrls+set}" = set; then
8523 enableval="$enable_8bitctrls"
8524 if test x$enableval = xyes -o x$enableval = xno; then
8525 support_8bitctrls=yes
8526 fi
8527fi;
8528
8300RESFALLBACK=Rxvt 8529RESFALLBACK=Rxvt
8301# Check whether --enable-fallback or --disable-fallback was given. 8530# Check whether --enable-fallback or --disable-fallback was given.
8302if test "${enable_fallback+set}" = set; then 8531if test "${enable_fallback+set}" = set; then
8303 enableval="$enable_fallback" 8532 enableval="$enable_fallback"
8304 8533
8368 8597
8369cat >>confdefs.h <<\_ACEOF 8598cat >>confdefs.h <<\_ACEOF
8370#define NO_SECONDARY_SCREEN 1 8599#define NO_SECONDARY_SCREEN 1
8371_ACEOF 8600_ACEOF
8372 8601
8602 fi
8603fi;
8604
8605# Check whether --enable-iso14755 or --disable-iso14755 was given.
8606if test "${enable_iso14755+set}" = set; then
8607 enableval="$enable_iso14755"
8608 if test x$enableval = xyes -o x$enableval = xno; then
8609 support_iso14755=$enableval
8373 fi 8610 fi
8374fi; 8611fi;
8375 8612
8376# Check whether --enable-frills or --disable-frills was given. 8613# Check whether --enable-frills or --disable-frills was given.
8377if test "${enable_frills+set}" = set; then 8614if test "${enable_frills+set}" = set; then
10686 10923
10687 10924
10688 10925
10689 10926
10690 10927
10928
10691for ac_header in \ 10929for ac_header in \
10692 assert.h \ 10930 assert.h \
10693 fcntl.h \ 10931 fcntl.h \
10694 grp.h \ 10932 grp.h \
10695 libc.h \ 10933 libc.h \
10702 sys/byteorder.h \ 10940 sys/byteorder.h \
10703 sys/ioctl.h \ 10941 sys/ioctl.h \
10704 sys/select.h \ 10942 sys/select.h \
10705 sys/sockio.h \ 10943 sys/sockio.h \
10706 sys/strredir.h \ 10944 sys/strredir.h \
10945 sys/stropts.h \
10707 sys/time.h \ 10946 sys/time.h \
10708 utmp.h \ 10947 utmp.h \
10709 utmpx.h \ 10948 utmpx.h \
10710 stdint.h \ 10949 stdint.h \
10711 10950
11497cat >>confdefs.h <<\_ACEOF 11736cat >>confdefs.h <<\_ACEOF
11498#define gid_t int 11737#define gid_t int
11499_ACEOF 11738_ACEOF
11500 11739
11501fi 11740fi
11502
11503 11741
11504 11742
11505echo "$as_me:$LINENO: checking for char" >&5 11743echo "$as_me:$LINENO: checking for char" >&5
11506echo $ECHO_N "checking for char... $ECHO_C" >&6 11744echo $ECHO_N "checking for char... $ECHO_C" >&6
11507if test "${ac_cv_type_char+set}" = set; then 11745if test "${ac_cv_type_char+set}" = set; then
15973#define HAVE_NL_LANGINFO 1 16211#define HAVE_NL_LANGINFO 1
15974_ACEOF 16212_ACEOF
15975 16213
15976fi 16214fi
15977 16215
16216echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16217echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16218if test "${rxvt_broken_ximcb+set}" = set; then
16219 echo $ECHO_N "(cached) $ECHO_C" >&6
16220else
16221 cat >conftest.$ac_ext <<_ACEOF
16222
16223#include <X11/Xlib.h>
16224
16225void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16226
16227void f() {
16228 XIMCallback cb;
16229 cb.callback = im_destroy_cb;
16230}
16231
16232_ACEOF
16233rm -f conftest.$ac_objext
16234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 rxvt_broken_ximcb=yes
16255else
16256 echo "$as_me: failed program was:" >&5
16257sed 's/^/| /' conftest.$ac_ext >&5
16258
16259rxvt_broken_ximcb=no
16260fi
16261rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262fi
16263echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16264echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16265
16266if test x$rxvt_broken_ximcb = xyes; then
16267
16268cat >>confdefs.h <<\_ACEOF
16269#define XIMCB_PROTO_BROKEN 1
16270_ACEOF
16271
16272fi
16273
15978echo "$as_me:$LINENO: checking for getpt" >&5 16274echo "$as_me:$LINENO: checking for getpt" >&5
15979echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16275echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15980if test "${rxvt_cv_func_getpt+set}" = set; then 16276if test "${rxvt_cv_func_getpt+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6 16277 echo $ECHO_N "(cached) $ECHO_C" >&6
15982else 16278else
16161#define PTYCHAR2 "$pch2" 16457#define PTYCHAR2 "$pch2"
16162_ACEOF 16458_ACEOF
16163 16459
16164fi 16460fi
16165 16461
16166echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16462if test x$support_iso14755 = xyes; then
16167echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16463
16168if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16169 echo $ECHO_N "(cached) $ECHO_C" >&6
16170else
16171 ac_check_lib_save_LIBS=$LIBS
16172LIBS="-lxpg4 $LIBS"
16173cat >conftest.$ac_ext <<_ACEOF
16174/* confdefs.h. */
16175_ACEOF
16176cat confdefs.h >>conftest.$ac_ext
16177cat >>conftest.$ac_ext <<_ACEOF 16464cat >>confdefs.h <<\_ACEOF
16178/* end confdefs.h. */ 16465#define ISO_14755 1
16179
16180/* Override any gcc2 internal prototype to avoid an error. */
16181#ifdef __cplusplus
16182extern "C"
16183#endif
16184/* We use char because int might match the return type of a gcc2
16185 builtin and then its argument prototype would still apply. */
16186char setlocale ();
16187int
16188main ()
16189{
16190setlocale ();
16191 ;
16192 return 0;
16193}
16194_ACEOF 16466_ACEOF
16195rm -f conftest.$ac_objext conftest$ac_exeext
16196if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16197 (eval $ac_link) 2>conftest.er1
16198 ac_status=$?
16199 grep -v '^ *+' conftest.er1 >conftest.err
16200 rm -f conftest.er1
16201 cat conftest.err >&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } &&
16204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 (eval $ac_try) 2>&5
16207 ac_status=$?
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); }; } &&
16210 { ac_try='test -s conftest$ac_exeext'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then
16216 ac_cv_lib_xpg4_setlocale=yes
16217else
16218 echo "$as_me: failed program was:" >&5
16219sed 's/^/| /' conftest.$ac_ext >&5
16220 16467
16221ac_cv_lib_xpg4_setlocale=no
16222fi 16468fi
16223rm -f conftest.err conftest.$ac_objext \ 16469if test x$support_8bitctrls = xyes; then
16224 conftest$ac_exeext conftest.$ac_ext
16225LIBS=$ac_check_lib_save_LIBS
16226fi
16227echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16228echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16229if test $ac_cv_lib_xpg4_setlocale = yes; then
16230 LIBS="$LIBS -lxpg4"
16231fi
16232 16470
16471cat >>confdefs.h <<\_ACEOF
16472#define EIGHT_BIT_CONTROLS 1
16473_ACEOF
16233 16474
16475fi
16476if test x$support_fading = xyes; then
16477
16478cat >>confdefs.h <<\_ACEOF
16479#define OFF_FOCUS_FADING 1
16480_ACEOF
16481
16482fi
16234if test x$support_tinting = xyes; then 16483if test x$support_tinting = xyes; then
16235 16484
16236cat >>confdefs.h <<\_ACEOF 16485cat >>confdefs.h <<\_ACEOF
16237#define TINTING 1 16486#define TINTING 1
16238_ACEOF 16487_ACEOF
16264cat >>confdefs.h <<\_ACEOF 16513cat >>confdefs.h <<\_ACEOF
16265#define MENUBAR 1 16514#define MENUBAR 1
16266_ACEOF 16515_ACEOF
16267 16516
16268fi 16517fi
16269if test x$support_frills = xno; then 16518if test x$support_frills = xyes; then
16270 16519
16271cat >>confdefs.h <<\_ACEOF 16520cat >>confdefs.h <<\_ACEOF
16272#define NO_FRILLS 1 16521#define ENABLE_FRILLS 1
16273_ACEOF 16522_ACEOF
16274 16523
16275fi 16524fi
16276if test x$support_linespace = xno; then 16525if test x$support_linespace = xno; then
16277 16526
16406 16655
16407fi 16656fi
16408if test x$codesets = xall; then 16657if test x$codesets = xall; then
16409 codesets=jp,jp-ext,kr,cn,cn-ext 16658 codesets=jp,jp-ext,kr,cn,cn-ext
16410fi 16659fi
16411for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16412 16660
16413cat >>confdefs.h <<\_ACEOF 16661cat >>confdefs.h <<\_ACEOF
16414#define ENCODING_EU 1 16662#define ENCODING_EU 1
16415_ACEOF 16663_ACEOF
16416 16664
16417 16665
16418cat >>confdefs.h <<\_ACEOF 16666cat >>confdefs.h <<\_ACEOF
16419#define ENCODING_VN 1 16667#define ENCODING_VN 1
16420_ACEOF 16668_ACEOF
16421 16669
16670for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16422 case "$codeset" in 16671 case "$codeset" in
16423 JP ) 16672 JP )
16424cat >>confdefs.h <<\_ACEOF 16673cat >>confdefs.h <<\_ACEOF
16425#define ENCODING_JP 1 16674#define ENCODING_JP 1
16426_ACEOF 16675_ACEOF
16806 17055
16807 fi 17056 fi
16808fi 17057fi
16809 17058
16810 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 17059 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
17060
16811cat >confcache <<\_ACEOF 17061cat >confcache <<\_ACEOF
16812# This file is a shell script that caches the results of configure 17062# This file is a shell script that caches the results of configure
16813# tests run on this system so they can be shared between configure 17063# tests run on this system so they can be shared between configure
16814# scripts and configure runs, see configure's option --config-cache. 17064# scripts and configure runs, see configure's option --config-cache.
16815# It is not useful on other systems. If it contains results you don't 17065# It is not useful on other systems. If it contains results you don't

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines