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.31 by root, Fri Jul 30 16:04:05 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
1057 --enable-frills enable support for rarely used features 1059 --enable-frills enable support for rarely used features
1058 --enable-linespace enable support for linespace 1060 --enable-linespace enable support for linespace
3689 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"
3690 3692
3691fi 3693fi
3692 3694
3693 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
3694# Check whether --enable-shared or --disable-shared was given. 3899# Check whether --enable-shared or --disable-shared was given.
3695if test "${enable_shared+set}" = set; then 3900if test "${enable_shared+set}" = set; then
3696 enableval="$enable_shared" 3901 enableval="$enable_shared"
3697 p=${PACKAGE-default} 3902 p=${PACKAGE-default}
3698case "$enableval" in 3903case "$enableval" in
5031# 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
5032# libtool support. 5237# libtool support.
5033case "$host" in 5238case "$host" in
5034*-*-irix6*) 5239*-*-irix6*)
5035 # Find out which ABI we are using. 5240 # Find out which ABI we are using.
5036 echo '#line 5036 "configure"' > conftest.$ac_ext 5241 echo '#line 5241 "configure"' > conftest.$ac_ext
5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5038 (eval $ac_compile) 2>&5 5243 (eval $ac_compile) 2>&5
5039 ac_status=$? 5244 ac_status=$?
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; then 5246 (exit $ac_status); }; then
5582# builds. 5787# builds.
5583chmod -w . 5788chmod -w .
5584save_CFLAGS="$CFLAGS" 5789save_CFLAGS="$CFLAGS"
5585CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5790CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5586compiler_c_o=no 5791compiler_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 5792if { (eval echo configure:5792: \"$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 5793 # The compiler can only warn and ignore the option if not recognized
5589 # So say no if there are warnings 5794 # So say no if there are warnings
5590 if test -s out/conftest.err; then 5795 if test -s out/conftest.err; then
5591 compiler_c_o=no 5796 compiler_c_o=no
5592 else 5797 else
7198 lt_cv_dlopen_self=cross 7403 lt_cv_dlopen_self=cross
7199else 7404else
7200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7405 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7201 lt_status=$lt_dlunknown 7406 lt_status=$lt_dlunknown
7202 cat > conftest.$ac_ext <<EOF 7407 cat > conftest.$ac_ext <<EOF
7203#line 7203 "configure" 7408#line 7408 "configure"
7204#include "confdefs.h" 7409#include "confdefs.h"
7205 7410
7206#if HAVE_DLFCN_H 7411#if HAVE_DLFCN_H
7207#include <dlfcn.h> 7412#include <dlfcn.h>
7208#endif 7413#endif
7296 lt_cv_dlopen_self_static=cross 7501 lt_cv_dlopen_self_static=cross
7297else 7502else
7298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7299 lt_status=$lt_dlunknown 7504 lt_status=$lt_dlunknown
7300 cat > conftest.$ac_ext <<EOF 7505 cat > conftest.$ac_ext <<EOF
7301#line 7301 "configure" 7506#line 7506 "configure"
7302#include "confdefs.h" 7507#include "confdefs.h"
7303 7508
7304#if HAVE_DLFCN_H 7509#if HAVE_DLFCN_H
7305#include <dlfcn.h> 7510#include <dlfcn.h>
7306#endif 7511#endif
8030support_addstrings=no 8235support_addstrings=no
8031support_frills=no 8236support_frills=no
8032support_linespace=no 8237support_linespace=no
8033support_inheritpixmap=no 8238support_inheritpixmap=no
8034support_tinting=no 8239support_tinting=no
8240support_fading=no
8035support_keepscrolling=no 8241support_keepscrolling=no
8036support_selectionscrolling=no 8242support_selectionscrolling=no
8037support_menubar=no 8243support_menubar=no
8038support_mousewheel=no 8244support_mousewheel=no
8039support_mouseslipwheel=no 8245support_mouseslipwheel=no
8050support_xim=no 8256support_xim=no
8051support_xpm=no 8257support_xpm=no
8052support_xft=no 8258support_xft=no
8053support_unicode3=no 8259support_unicode3=no
8054support_combining=no 8260support_combining=no
8261support_8bitctrls=no
8055codesets= 8262codesets=
8056 8263
8057 8264
8058if test "x$enable_shared" = xyes; then 8265if test "x$enable_shared" = xyes; then
8059 8266
8072 support_24bit=yes 8279 support_24bit=yes
8073 support_frills=yes 8280 support_frills=yes
8074 support_linespace=yes 8281 support_linespace=yes
8075 support_inheritpixmap=yes 8282 support_inheritpixmap=yes
8076 support_tinting=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.
8168 if test x$enableval = xyes -o x$enableval = xno; then 8377 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_tinting=$enableval 8378 support_tinting=$enableval
8170 fi 8379 fi
8171fi; 8380fi;
8172 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
8173# Check whether --enable-menubar or --disable-menubar was given. 8390# Check whether --enable-menubar or --disable-menubar was given.
8174if test "${enable_menubar+set}" = set; then 8391if test "${enable_menubar+set}" = set; then
8175 enableval="$enable_menubar" 8392 enableval="$enable_menubar"
8176 if test x$enableval = xyes -o x$enableval = xno; then 8393 if test x$enableval = xyes -o x$enableval = xno; then
8177 support_menubar=$enableval 8394 support_menubar=$enableval
8292 8509
8293cat >>confdefs.h <<\_ACEOF 8510cat >>confdefs.h <<\_ACEOF
8294#define USE_XGETDEFAULT 1 8511#define USE_XGETDEFAULT 1
8295_ACEOF 8512_ACEOF
8296 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
8297 fi 8522 fi
8298fi; 8523fi;
8299 8524
8300RESFALLBACK=Rxvt 8525RESFALLBACK=Rxvt
8301# Check whether --enable-fallback or --disable-fallback was given. 8526# Check whether --enable-fallback or --disable-fallback was given.
15973#define HAVE_NL_LANGINFO 1 16198#define HAVE_NL_LANGINFO 1
15974_ACEOF 16199_ACEOF
15975 16200
15976fi 16201fi
15977 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
15978echo "$as_me:$LINENO: checking for getpt" >&5 16261echo "$as_me:$LINENO: checking for getpt" >&5
15979echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16262echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15980if test "${rxvt_cv_func_getpt+set}" = set; then 16263if test "${rxvt_cv_func_getpt+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6 16264 echo $ECHO_N "(cached) $ECHO_C" >&6
15982else 16265else
16161#define PTYCHAR2 "$pch2" 16444#define PTYCHAR2 "$pch2"
16162_ACEOF 16445_ACEOF
16163 16446
16164fi 16447fi
16165 16448
16166echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16449if test x$support_8bitctrls = xyes; then
16167echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16450
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 16451cat >>confdefs.h <<\_ACEOF
16178/* end confdefs.h. */ 16452#define EIGHT_BIT_CONTROLS 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 16453_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 16454
16221ac_cv_lib_xpg4_setlocale=no
16222fi 16455fi
16223rm -f conftest.err conftest.$ac_objext \ 16456if test x$support_fading = 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 16457
16458cat >>confdefs.h <<\_ACEOF
16459#define OFF_FOCUS_FADING 1
16460_ACEOF
16233 16461
16462fi
16234if test x$support_tinting = xyes; then 16463if test x$support_tinting = xyes; then
16235 16464
16236cat >>confdefs.h <<\_ACEOF 16465cat >>confdefs.h <<\_ACEOF
16237#define TINTING 1 16466#define TINTING 1
16238_ACEOF 16467_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines