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.32 by root, Tue Aug 10 22:36:30 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
1533 1536
1534 1537
1535 1538
1536 1539
1537 1540
1541
1538ac_aux_dir= 1542ac_aux_dir=
1539for ac_dir in autoconf $srcdir/autoconf; do 1543for ac_dir in autoconf $srcdir/autoconf; do
1540 if test -f $ac_dir/install-sh; then 1544 if test -f $ac_dir/install-sh; then
1541 ac_aux_dir=$ac_dir 1545 ac_aux_dir=$ac_dir
1542 ac_install_sh="$ac_aux_dir/install-sh -c" 1546 ac_install_sh="$ac_aux_dir/install-sh -c"
3279LINKER=$LINKER 3283LINKER=$LINKER
3280 3284
3281 3285
3282CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3286CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3283 3287
3284if test x$GXX = xyes; then
3285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3286fi
3287 3288
3288ac_ext=cc 3289ac_ext=cc
3289ac_cpp='$CXXCPP $CPPFLAGS' 3290ac_cpp='$CXXCPP $CPPFLAGS'
3290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3292ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3689echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3689echo "${ECHO_T}$ac_cv_search_strerror" >&6 3690echo "${ECHO_T}$ac_cv_search_strerror" >&6
3690if test "$ac_cv_search_strerror" != no; then 3691if test "$ac_cv_search_strerror" != no; then
3691 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3692 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3692 3693
3694fi
3695
3696
3697echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3698echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3699if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3701else
3702 ac_check_lib_save_LIBS=$LIBS
3703LIBS="-lxpg4 $LIBS"
3704cat >conftest.$ac_ext <<_ACEOF
3705/* confdefs.h. */
3706_ACEOF
3707cat confdefs.h >>conftest.$ac_ext
3708cat >>conftest.$ac_ext <<_ACEOF
3709/* end confdefs.h. */
3710
3711/* Override any gcc2 internal prototype to avoid an error. */
3712#ifdef __cplusplus
3713extern "C"
3714#endif
3715/* We use char because int might match the return type of a gcc2
3716 builtin and then its argument prototype would still apply. */
3717char setlocale ();
3718int
3719main ()
3720{
3721setlocale ();
3722 ;
3723 return 0;
3724}
3725_ACEOF
3726rm -f conftest.$ac_objext conftest$ac_exeext
3727if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3728 (eval $ac_link) 2>conftest.er1
3729 ac_status=$?
3730 grep -v '^ *+' conftest.er1 >conftest.err
3731 rm -f conftest.er1
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } &&
3735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 (eval $ac_try) 2>&5
3738 ac_status=$?
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); }; } &&
3741 { ac_try='test -s conftest$ac_exeext'
3742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743 (eval $ac_try) 2>&5
3744 ac_status=$?
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; }; then
3747 ac_cv_lib_xpg4_setlocale=yes
3748else
3749 echo "$as_me: failed program was:" >&5
3750sed 's/^/| /' conftest.$ac_ext >&5
3751
3752ac_cv_lib_xpg4_setlocale=no
3753fi
3754rm -f conftest.err conftest.$ac_objext \
3755 conftest$ac_exeext conftest.$ac_ext
3756LIBS=$ac_check_lib_save_LIBS
3757fi
3758echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3759echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3760if test $ac_cv_lib_xpg4_setlocale = yes; then
3761 LIBS="$LIBS -lxpg4"
3762fi
3763
3764
3765echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3766echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3767if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3769else
3770 ac_check_lib_save_LIBS=$LIBS
3771LIBS="-lnsl $LIBS"
3772cat >conftest.$ac_ext <<_ACEOF
3773/* confdefs.h. */
3774_ACEOF
3775cat confdefs.h >>conftest.$ac_ext
3776cat >>conftest.$ac_ext <<_ACEOF
3777/* end confdefs.h. */
3778
3779/* Override any gcc2 internal prototype to avoid an error. */
3780#ifdef __cplusplus
3781extern "C"
3782#endif
3783/* We use char because int might match the return type of a gcc2
3784 builtin and then its argument prototype would still apply. */
3785char gethostbyname ();
3786int
3787main ()
3788{
3789gethostbyname ();
3790 ;
3791 return 0;
3792}
3793_ACEOF
3794rm -f conftest.$ac_objext conftest$ac_exeext
3795if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3796 (eval $ac_link) 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } &&
3803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805 (eval $ac_try) 2>&5
3806 ac_status=$?
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; } &&
3809 { ac_try='test -s conftest$ac_exeext'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811 (eval $ac_try) 2>&5
3812 ac_status=$?
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; }; then
3815 ac_cv_lib_nsl_gethostbyname=yes
3816else
3817 echo "$as_me: failed program was:" >&5
3818sed 's/^/| /' conftest.$ac_ext >&5
3819
3820ac_cv_lib_nsl_gethostbyname=no
3821fi
3822rm -f conftest.err conftest.$ac_objext \
3823 conftest$ac_exeext conftest.$ac_ext
3824LIBS=$ac_check_lib_save_LIBS
3825fi
3826echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3827echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3828if test $ac_cv_lib_nsl_gethostbyname = yes; then
3829 LIBS="$LIBS -lnsl"
3830fi
3831
3832echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3833echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3834if test "${ac_cv_lib_socket_socket+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3836else
3837 ac_check_lib_save_LIBS=$LIBS
3838LIBS="-lsocket $LIBS"
3839cat >conftest.$ac_ext <<_ACEOF
3840/* confdefs.h. */
3841_ACEOF
3842cat confdefs.h >>conftest.$ac_ext
3843cat >>conftest.$ac_ext <<_ACEOF
3844/* end confdefs.h. */
3845
3846/* Override any gcc2 internal prototype to avoid an error. */
3847#ifdef __cplusplus
3848extern "C"
3849#endif
3850/* We use char because int might match the return type of a gcc2
3851 builtin and then its argument prototype would still apply. */
3852char socket ();
3853int
3854main ()
3855{
3856socket ();
3857 ;
3858 return 0;
3859}
3860_ACEOF
3861rm -f conftest.$ac_objext conftest$ac_exeext
3862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3863 (eval $ac_link) 2>conftest.er1
3864 ac_status=$?
3865 grep -v '^ *+' conftest.er1 >conftest.err
3866 rm -f conftest.er1
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } &&
3870 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 (eval $ac_try) 2>&5
3873 ac_status=$?
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; } &&
3876 { ac_try='test -s conftest$ac_exeext'
3877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 (eval $ac_try) 2>&5
3879 ac_status=$?
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3882 ac_cv_lib_socket_socket=yes
3883else
3884 echo "$as_me: failed program was:" >&5
3885sed 's/^/| /' conftest.$ac_ext >&5
3886
3887ac_cv_lib_socket_socket=no
3888fi
3889rm -f conftest.err conftest.$ac_objext \
3890 conftest$ac_exeext conftest.$ac_ext
3891LIBS=$ac_check_lib_save_LIBS
3892fi
3893echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3894echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3895if test $ac_cv_lib_socket_socket = yes; then
3896 LIBS="$LIBS -lsocket"
3693fi 3897fi
3694 3898
3695 3899
3696# Check whether --enable-shared or --disable-shared was given. 3900# Check whether --enable-shared or --disable-shared was given.
3697if test "${enable_shared+set}" = set; then 3901if test "${enable_shared+set}" = set; then
5033# Some flags need to be propagated to the compiler or linker for good 5237# Some flags need to be propagated to the compiler or linker for good
5034# libtool support. 5238# libtool support.
5035case "$host" in 5239case "$host" in
5036*-*-irix6*) 5240*-*-irix6*)
5037 # Find out which ABI we are using. 5241 # Find out which ABI we are using.
5038 echo '#line 5038 "configure"' > conftest.$ac_ext 5242 echo '#line 5242 "configure"' > conftest.$ac_ext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>&5 5244 (eval $ac_compile) 2>&5
5041 ac_status=$? 5245 ac_status=$?
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; then 5247 (exit $ac_status); }; then
5584# builds. 5788# builds.
5585chmod -w . 5789chmod -w .
5586save_CFLAGS="$CFLAGS" 5790save_CFLAGS="$CFLAGS"
5587CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5791CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5588compiler_c_o=no 5792compiler_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 5793if { (eval echo configure:5793: \"$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 5794 # The compiler can only warn and ignore the option if not recognized
5591 # So say no if there are warnings 5795 # So say no if there are warnings
5592 if test -s out/conftest.err; then 5796 if test -s out/conftest.err; then
5593 compiler_c_o=no 5797 compiler_c_o=no
5594 else 5798 else
7200 lt_cv_dlopen_self=cross 7404 lt_cv_dlopen_self=cross
7201else 7405else
7202 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7406 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7203 lt_status=$lt_dlunknown 7407 lt_status=$lt_dlunknown
7204 cat > conftest.$ac_ext <<EOF 7408 cat > conftest.$ac_ext <<EOF
7205#line 7205 "configure" 7409#line 7409 "configure"
7206#include "confdefs.h" 7410#include "confdefs.h"
7207 7411
7208#if HAVE_DLFCN_H 7412#if HAVE_DLFCN_H
7209#include <dlfcn.h> 7413#include <dlfcn.h>
7210#endif 7414#endif
7298 lt_cv_dlopen_self_static=cross 7502 lt_cv_dlopen_self_static=cross
7299else 7503else
7300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7504 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7301 lt_status=$lt_dlunknown 7505 lt_status=$lt_dlunknown
7302 cat > conftest.$ac_ext <<EOF 7506 cat > conftest.$ac_ext <<EOF
7303#line 7303 "configure" 7507#line 7507 "configure"
7304#include "confdefs.h" 7508#include "confdefs.h"
7305 7509
7306#if HAVE_DLFCN_H 7510#if HAVE_DLFCN_H
7307#include <dlfcn.h> 7511#include <dlfcn.h>
7308#endif 7512#endif
8031MALLOC_TYPE=S 8235MALLOC_TYPE=S
8032support_addstrings=no 8236support_addstrings=no
8033support_frills=no 8237support_frills=no
8034support_linespace=no 8238support_linespace=no
8035support_inheritpixmap=no 8239support_inheritpixmap=no
8240support_tinting=no
8241support_fading=no
8036support_keepscrolling=no 8242support_keepscrolling=no
8037support_selectionscrolling=no 8243support_selectionscrolling=no
8038support_menubar=no 8244support_menubar=no
8039support_mousewheel=no 8245support_mousewheel=no
8040support_mouseslipwheel=no 8246support_mouseslipwheel=no
8051support_xim=no 8257support_xim=no
8052support_xpm=no 8258support_xpm=no
8053support_xft=no 8259support_xft=no
8054support_unicode3=no 8260support_unicode3=no
8055support_combining=no 8261support_combining=no
8262support_8bitctrls=no
8056codesets= 8263codesets=
8057 8264
8058 8265
8059if test "x$enable_shared" = xyes; then 8266if test "x$enable_shared" = xyes; then
8060 8267
8072 if test x$enableval = xyes; then 8279 if test x$enableval = xyes; then
8073 support_24bit=yes 8280 support_24bit=yes
8074 support_frills=yes 8281 support_frills=yes
8075 support_linespace=yes 8282 support_linespace=yes
8076 support_inheritpixmap=yes 8283 support_inheritpixmap=yes
8284 support_tinting=yes
8285 support_fading=yes
8077 support_keepscrolling=yes 8286 support_keepscrolling=yes
8078 support_selectionscrolling=yes 8287 support_selectionscrolling=yes
8079 support_lastlog=yes 8288 support_lastlog=yes
8080 support_menubar=yes 8289 support_menubar=yes
8081 support_mousewheel=yes 8290 support_mousewheel=yes
8092 support_xim=yes 8301 support_xim=yes
8093 support_xpm=yes 8302 support_xpm=yes
8094 support_xft=yes 8303 support_xft=yes
8095 support_unicode3=yes 8304 support_unicode3=yes
8096 support_combining=yes 8305 support_combining=yes
8306 #support_8bitctrls=yes
8097 codesets=all 8307 codesets=all
8098 fi 8308 fi
8099fi; 8309fi;
8100 8310
8101# Check whether --enable-unicode3 or --disable-unicode3 was given. 8311# Check whether --enable-unicode3 or --disable-unicode3 was given.
8160 if test x$enableval = xyes -o x$enableval = xno; then 8370 if test x$enableval = xyes -o x$enableval = xno; then
8161 support_inheritpixmap=$enableval 8371 support_inheritpixmap=$enableval
8162 fi 8372 fi
8163fi; 8373fi;
8164 8374
8375# Check whether --enable-tinting or --disable-tinting was given.
8376if test "${enable_tinting+set}" = set; then
8377 enableval="$enable_tinting"
8378 if test x$enableval = xyes -o x$enableval = xno; then
8379 support_tinting=$enableval
8380 fi
8381fi;
8382
8383# Check whether --enable-fading or --disable-fading was given.
8384if test "${enable_fading+set}" = set; then
8385 enableval="$enable_fading"
8386 if test x$enableval = xyes -o x$enableval = xno; then
8387 support_fading=$enableval
8388 fi
8389fi;
8390
8165# Check whether --enable-menubar or --disable-menubar was given. 8391# Check whether --enable-menubar or --disable-menubar was given.
8166if test "${enable_menubar+set}" = set; then 8392if test "${enable_menubar+set}" = set; then
8167 enableval="$enable_menubar" 8393 enableval="$enable_menubar"
8168 if test x$enableval = xyes -o x$enableval = xno; then 8394 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_menubar=$enableval 8395 support_menubar=$enableval
8284 8510
8285cat >>confdefs.h <<\_ACEOF 8511cat >>confdefs.h <<\_ACEOF
8286#define USE_XGETDEFAULT 1 8512#define USE_XGETDEFAULT 1
8287_ACEOF 8513_ACEOF
8288 8514
8515 fi
8516fi;
8517
8518# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8519if test "${enable_8bitctrls+set}" = set; then
8520 enableval="$enable_8bitctrls"
8521 if test x$enableval = xyes -o x$enableval = xno; then
8522 support_8bitctrls=yes
8289 fi 8523 fi
8290fi; 8524fi;
8291 8525
8292RESFALLBACK=Rxvt 8526RESFALLBACK=Rxvt
8293# Check whether --enable-fallback or --disable-fallback was given. 8527# Check whether --enable-fallback or --disable-fallback was given.
8851fi 9085fi
8852 9086
8853 9087
8854 9088
8855 9089
9090
9091if test "x$ac_path_x_has_been_run" != xyes; then
8856echo "$as_me:$LINENO: checking for X" >&5 9092 echo "$as_me:$LINENO: checking for X" >&5
8857echo $ECHO_N "checking for X... $ECHO_C" >&6 9093echo $ECHO_N "checking for X... $ECHO_C" >&6
8858 9094
9095ac_path_x_has_been_run=yes
8859 9096
8860# Check whether --with-x or --without-x was given. 9097# Check whether --with-x or --without-x was given.
8861if test "${with_x+set}" = set; then 9098if test "${with_x+set}" = set; then
8862 withval="$with_x" 9099 withval="$with_x"
8863 9100
8946 9183
8947/usr/openwin/include 9184/usr/openwin/include
8948/usr/openwin/share/include' 9185/usr/openwin/share/include'
8949 9186
8950if test "$ac_x_includes" = no; then 9187if test "$ac_x_includes" = no; then
8951 # Guess where to find include files, by looking for Intrinsic.h. 9188 # Guess where to find include files, by looking for a specified header file.
8952 # First, try using that file with no special directory specified. 9189 # First, try using that file with no special directory specified.
8953 cat >conftest.$ac_ext <<_ACEOF 9190 cat >conftest.$ac_ext <<_ACEOF
8954/* confdefs.h. */ 9191/* confdefs.h. */
8955_ACEOF 9192_ACEOF
8956cat confdefs.h >>conftest.$ac_ext 9193cat confdefs.h >>conftest.$ac_ext
9080 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9317 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9081 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9318 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9082 # Update the cache value to reflect the command line values. 9319 # Update the cache value to reflect the command line values.
9083 ac_cv_have_x="have_x=yes \ 9320 ac_cv_have_x="have_x=yes \
9084 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9321 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9322 # It might be that x_includes is empty (headers are found in the
9323 # standard search path. Then output the corresponding message
9324 ac_out_x_includes=$x_includes
9325 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 9326 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9086echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9327echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9087fi 9328fi
9088 9329
9330fi
9089if test "$no_x" = yes; then 9331if test "$no_x" = yes; then
9090 # Not all programs may use this symbol, but it does not hurt to define it. 9332 # Not all programs may use this symbol, but it does not hurt to define it.
9091 9333
9092cat >>confdefs.h <<\_ACEOF 9334cat >>confdefs.h <<\_ACEOF
9093#define X_DISPLAY_MISSING 1 9335#define X_DISPLAY_MISSING 1
15957#define HAVE_NL_LANGINFO 1 16199#define HAVE_NL_LANGINFO 1
15958_ACEOF 16200_ACEOF
15959 16201
15960fi 16202fi
15961 16203
16204echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16205echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16206if test "${rxvt_broken_ximcb+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208else
16209 cat >conftest.$ac_ext <<_ACEOF
16210
16211#include <X11/Xlib.h>
16212
16213void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16214
16215void f() {
16216 XIMCallback cb;
16217 cb.callback = im_destroy_cb;
16218}
16219
16220_ACEOF
16221rm -f conftest.$ac_objext
16222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; } &&
16236 { ac_try='test -s conftest.$ac_objext'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16239 ac_status=$?
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16242 rxvt_broken_ximcb=yes
16243else
16244 echo "$as_me: failed program was:" >&5
16245sed 's/^/| /' conftest.$ac_ext >&5
16246
16247rxvt_broken_ximcb=no
16248fi
16249rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16250fi
16251echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16252echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16253
16254if test x$rxvt_broken_ximcb = xyes; then
16255
16256cat >>confdefs.h <<\_ACEOF
16257#define XIMCB_PROTO_BROKEN 1
16258_ACEOF
16259
16260fi
16261
15962echo "$as_me:$LINENO: checking for getpt" >&5 16262echo "$as_me:$LINENO: checking for getpt" >&5
15963echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16263echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15964if test "${rxvt_cv_func_getpt+set}" = set; then 16264if test "${rxvt_cv_func_getpt+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6 16265 echo $ECHO_N "(cached) $ECHO_C" >&6
15966else 16266else
16145#define PTYCHAR2 "$pch2" 16445#define PTYCHAR2 "$pch2"
16146_ACEOF 16446_ACEOF
16147 16447
16148fi 16448fi
16149 16449
16150echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16450if test x$support_8bitctrls = xyes; then
16151echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16451
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 16452cat >>confdefs.h <<\_ACEOF
16162/* end confdefs.h. */ 16453#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 16454_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 16455
16205ac_cv_lib_xpg4_setlocale=no
16206fi 16456fi
16207rm -f conftest.err conftest.$ac_objext \ 16457if 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 16458
16459cat >>confdefs.h <<\_ACEOF
16460#define OFF_FOCUS_FADING 1
16461_ACEOF
16217 16462
16463fi
16464if test x$support_tinting = xyes; then
16465
16466cat >>confdefs.h <<\_ACEOF
16467#define TINTING 1
16468_ACEOF
16469
16470fi
16218if test x$support_inheritpixmap = xyes; then 16471if test x$support_inheritpixmap = xyes; then
16219 16472
16220cat >>confdefs.h <<\_ACEOF 16473cat >>confdefs.h <<\_ACEOF
16221#define TRANSPARENT 1 16474#define TRANSPARENT 1
16222_ACEOF 16475_ACEOF
16783 17036
16784 fi 17037 fi
16785fi 17038fi
16786 17039
16787 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 17040 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
17041
16788cat >confcache <<\_ACEOF 17042cat >confcache <<\_ACEOF
16789# This file is a shell script that caches the results of configure 17043# This file is a shell script that caches the results of configure
16790# tests run on this system so they can be shared between configure 17044# tests run on this system so they can be shared between configure
16791# scripts and configure runs, see configure's option --config-cache. 17045# scripts and configure runs, see configure's option --config-cache.
16792# It is not useful on other systems. If it contains results you don't 17046# It is not useful on other systems. If it contains results you don't

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines