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.26 by root, Sat Jul 10 20:59:38 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
1041 --enable-menubar enable menubar 1042 --enable-menubar enable menubar
1042 --enable-rxvt-scroll enable rxvt style scrollbar 1043 --enable-rxvt-scroll enable rxvt style scrollbar
1043 --enable-next-scroll enable NeXT style scrollbar 1044 --enable-next-scroll enable NeXT style scrollbar
1044 --enable-xterm-scroll enable Xterm style scrollbar 1045 --enable-xterm-scroll enable Xterm style scrollbar
1045 --enable-plain-scroll enable plain style scrollbar 1046 --enable-plain-scroll enable plain style scrollbar
1048 --enable-ttygid enable tty setting to group named "tty" 1049 --enable-ttygid enable tty setting to group named "tty"
1049 --disable-backspace-key disable handling of the backspace key 1050 --disable-backspace-key disable handling of the backspace key
1050 --disable-delete-key disable handling of the delete key 1051 --disable-delete-key disable handling of the delete key
1051 --disable-resources disable all resource checking 1052 --disable-resources disable all resource checking
1052 --enable-xgetdefault enable resources via X instead of our small version 1053 --enable-xgetdefault enable resources via X instead of our small version
1054 --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) 1055 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1054 --enable-strings enable some replacement system functions 1056 --enable-strings enable some replacement system functions
1055 --disable-swapscreen disable swap screen support 1057 --disable-swapscreen disable swap screen support
1056 --enable-frills enable support for rarely used features 1058 --enable-frills enable support for rarely used features
1057 --enable-linespace enable support for linespace 1059 --enable-linespace enable support for linespace
3688 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3690 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3689 3691
3690fi 3692fi
3691 3693
3692 3694
3695echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3696echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3697if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699else
3700 ac_check_lib_save_LIBS=$LIBS
3701LIBS="-lxpg4 $LIBS"
3702cat >conftest.$ac_ext <<_ACEOF
3703/* confdefs.h. */
3704_ACEOF
3705cat confdefs.h >>conftest.$ac_ext
3706cat >>conftest.$ac_ext <<_ACEOF
3707/* end confdefs.h. */
3708
3709/* Override any gcc2 internal prototype to avoid an error. */
3710#ifdef __cplusplus
3711extern "C"
3712#endif
3713/* We use char because int might match the return type of a gcc2
3714 builtin and then its argument prototype would still apply. */
3715char setlocale ();
3716int
3717main ()
3718{
3719setlocale ();
3720 ;
3721 return 0;
3722}
3723_ACEOF
3724rm -f conftest.$ac_objext conftest$ac_exeext
3725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3726 (eval $ac_link) 2>conftest.er1
3727 ac_status=$?
3728 grep -v '^ *+' conftest.er1 >conftest.err
3729 rm -f conftest.er1
3730 cat conftest.err >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } &&
3733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 (eval $ac_try) 2>&5
3736 ac_status=$?
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; } &&
3739 { ac_try='test -s conftest$ac_exeext'
3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 (eval $ac_try) 2>&5
3742 ac_status=$?
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then
3745 ac_cv_lib_xpg4_setlocale=yes
3746else
3747 echo "$as_me: failed program was:" >&5
3748sed 's/^/| /' conftest.$ac_ext >&5
3749
3750ac_cv_lib_xpg4_setlocale=no
3751fi
3752rm -f conftest.err conftest.$ac_objext \
3753 conftest$ac_exeext conftest.$ac_ext
3754LIBS=$ac_check_lib_save_LIBS
3755fi
3756echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3757echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3758if test $ac_cv_lib_xpg4_setlocale = yes; then
3759 LIBS="$LIBS -lxpg4"
3760fi
3761
3762
3763echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3764echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3765if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3767else
3768 ac_check_lib_save_LIBS=$LIBS
3769LIBS="-lnsl $LIBS"
3770cat >conftest.$ac_ext <<_ACEOF
3771/* confdefs.h. */
3772_ACEOF
3773cat confdefs.h >>conftest.$ac_ext
3774cat >>conftest.$ac_ext <<_ACEOF
3775/* end confdefs.h. */
3776
3777/* Override any gcc2 internal prototype to avoid an error. */
3778#ifdef __cplusplus
3779extern "C"
3780#endif
3781/* We use char because int might match the return type of a gcc2
3782 builtin and then its argument prototype would still apply. */
3783char gethostbyname ();
3784int
3785main ()
3786{
3787gethostbyname ();
3788 ;
3789 return 0;
3790}
3791_ACEOF
3792rm -f conftest.$ac_objext conftest$ac_exeext
3793if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3794 (eval $ac_link) 2>conftest.er1
3795 ac_status=$?
3796 grep -v '^ *+' conftest.er1 >conftest.err
3797 rm -f conftest.er1
3798 cat conftest.err >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } &&
3801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 (eval $ac_try) 2>&5
3804 ac_status=$?
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }; } &&
3807 { ac_try='test -s conftest$ac_exeext'
3808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 (eval $ac_try) 2>&5
3810 ac_status=$?
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); }; }; then
3813 ac_cv_lib_nsl_gethostbyname=yes
3814else
3815 echo "$as_me: failed program was:" >&5
3816sed 's/^/| /' conftest.$ac_ext >&5
3817
3818ac_cv_lib_nsl_gethostbyname=no
3819fi
3820rm -f conftest.err conftest.$ac_objext \
3821 conftest$ac_exeext conftest.$ac_ext
3822LIBS=$ac_check_lib_save_LIBS
3823fi
3824echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3825echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3826if test $ac_cv_lib_nsl_gethostbyname = yes; then
3827 LIBS="$LIBS -lnsl"
3828fi
3829
3830echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3831echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3832if test "${ac_cv_lib_socket_socket+set}" = set; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3834else
3835 ac_check_lib_save_LIBS=$LIBS
3836LIBS="-lsocket $LIBS"
3837cat >conftest.$ac_ext <<_ACEOF
3838/* confdefs.h. */
3839_ACEOF
3840cat confdefs.h >>conftest.$ac_ext
3841cat >>conftest.$ac_ext <<_ACEOF
3842/* end confdefs.h. */
3843
3844/* Override any gcc2 internal prototype to avoid an error. */
3845#ifdef __cplusplus
3846extern "C"
3847#endif
3848/* We use char because int might match the return type of a gcc2
3849 builtin and then its argument prototype would still apply. */
3850char socket ();
3851int
3852main ()
3853{
3854socket ();
3855 ;
3856 return 0;
3857}
3858_ACEOF
3859rm -f conftest.$ac_objext conftest$ac_exeext
3860if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3861 (eval $ac_link) 2>conftest.er1
3862 ac_status=$?
3863 grep -v '^ *+' conftest.er1 >conftest.err
3864 rm -f conftest.er1
3865 cat conftest.err >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } &&
3868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870 (eval $ac_try) 2>&5
3871 ac_status=$?
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; } &&
3874 { ac_try='test -s conftest$ac_exeext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 (eval $ac_try) 2>&5
3877 ac_status=$?
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 ac_cv_lib_socket_socket=yes
3881else
3882 echo "$as_me: failed program was:" >&5
3883sed 's/^/| /' conftest.$ac_ext >&5
3884
3885ac_cv_lib_socket_socket=no
3886fi
3887rm -f conftest.err conftest.$ac_objext \
3888 conftest$ac_exeext conftest.$ac_ext
3889LIBS=$ac_check_lib_save_LIBS
3890fi
3891echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3892echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3893if test $ac_cv_lib_socket_socket = yes; then
3894 LIBS="$LIBS -lsocket"
3895fi
3896
3897
3693# Check whether --enable-shared or --disable-shared was given. 3898# Check whether --enable-shared or --disable-shared was given.
3694if test "${enable_shared+set}" = set; then 3899if test "${enable_shared+set}" = set; then
3695 enableval="$enable_shared" 3900 enableval="$enable_shared"
3696 p=${PACKAGE-default} 3901 p=${PACKAGE-default}
3697case "$enableval" in 3902case "$enableval" in
5030# Some flags need to be propagated to the compiler or linker for good 5235# Some flags need to be propagated to the compiler or linker for good
5031# libtool support. 5236# libtool support.
5032case "$host" in 5237case "$host" in
5033*-*-irix6*) 5238*-*-irix6*)
5034 # Find out which ABI we are using. 5239 # Find out which ABI we are using.
5035 echo '#line 5035 "configure"' > conftest.$ac_ext 5240 echo '#line 5240 "configure"' > conftest.$ac_ext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037 (eval $ac_compile) 2>&5 5242 (eval $ac_compile) 2>&5
5038 ac_status=$? 5243 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; then 5245 (exit $ac_status); }; then
5581# builds. 5786# builds.
5582chmod -w . 5787chmod -w .
5583save_CFLAGS="$CFLAGS" 5788save_CFLAGS="$CFLAGS"
5584CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5789CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5585compiler_c_o=no 5790compiler_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 5791if { (eval echo configure:5791: \"$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 5792 # The compiler can only warn and ignore the option if not recognized
5588 # So say no if there are warnings 5793 # So say no if there are warnings
5589 if test -s out/conftest.err; then 5794 if test -s out/conftest.err; then
5590 compiler_c_o=no 5795 compiler_c_o=no
5591 else 5796 else
7197 lt_cv_dlopen_self=cross 7402 lt_cv_dlopen_self=cross
7198else 7403else
7199 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7404 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7200 lt_status=$lt_dlunknown 7405 lt_status=$lt_dlunknown
7201 cat > conftest.$ac_ext <<EOF 7406 cat > conftest.$ac_ext <<EOF
7202#line 7202 "configure" 7407#line 7407 "configure"
7203#include "confdefs.h" 7408#include "confdefs.h"
7204 7409
7205#if HAVE_DLFCN_H 7410#if HAVE_DLFCN_H
7206#include <dlfcn.h> 7411#include <dlfcn.h>
7207#endif 7412#endif
7295 lt_cv_dlopen_self_static=cross 7500 lt_cv_dlopen_self_static=cross
7296else 7501else
7297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7298 lt_status=$lt_dlunknown 7503 lt_status=$lt_dlunknown
7299 cat > conftest.$ac_ext <<EOF 7504 cat > conftest.$ac_ext <<EOF
7300#line 7300 "configure" 7505#line 7505 "configure"
7301#include "confdefs.h" 7506#include "confdefs.h"
7302 7507
7303#if HAVE_DLFCN_H 7508#if HAVE_DLFCN_H
7304#include <dlfcn.h> 7509#include <dlfcn.h>
7305#endif 7510#endif
8028MALLOC_TYPE=S 8233MALLOC_TYPE=S
8029support_addstrings=no 8234support_addstrings=no
8030support_frills=no 8235support_frills=no
8031support_linespace=no 8236support_linespace=no
8032support_inheritpixmap=no 8237support_inheritpixmap=no
8238support_tinting=no
8033support_keepscrolling=no 8239support_keepscrolling=no
8034support_selectionscrolling=no 8240support_selectionscrolling=no
8035support_menubar=no 8241support_menubar=no
8036support_mousewheel=no 8242support_mousewheel=no
8037support_mouseslipwheel=no 8243support_mouseslipwheel=no
8048support_xim=no 8254support_xim=no
8049support_xpm=no 8255support_xpm=no
8050support_xft=no 8256support_xft=no
8051support_unicode3=no 8257support_unicode3=no
8052support_combining=no 8258support_combining=no
8259support_8bitctrls=no
8053codesets= 8260codesets=
8054 8261
8055 8262
8056if test "x$enable_shared" = xyes; then 8263if test "x$enable_shared" = xyes; then
8057 8264
8069 if test x$enableval = xyes; then 8276 if test x$enableval = xyes; then
8070 support_24bit=yes 8277 support_24bit=yes
8071 support_frills=yes 8278 support_frills=yes
8072 support_linespace=yes 8279 support_linespace=yes
8073 support_inheritpixmap=yes 8280 support_inheritpixmap=yes
8281 support_tinting=yes
8074 support_keepscrolling=yes 8282 support_keepscrolling=yes
8075 support_selectionscrolling=yes 8283 support_selectionscrolling=yes
8076 support_lastlog=yes 8284 support_lastlog=yes
8077 support_menubar=yes 8285 support_menubar=yes
8078 support_mousewheel=yes 8286 support_mousewheel=yes
8089 support_xim=yes 8297 support_xim=yes
8090 support_xpm=yes 8298 support_xpm=yes
8091 support_xft=yes 8299 support_xft=yes
8092 support_unicode3=yes 8300 support_unicode3=yes
8093 support_combining=yes 8301 support_combining=yes
8302 #support_8bitctrls=yes
8094 codesets=all 8303 codesets=all
8095 fi 8304 fi
8096fi; 8305fi;
8097 8306
8098# Check whether --enable-unicode3 or --disable-unicode3 was given. 8307# Check whether --enable-unicode3 or --disable-unicode3 was given.
8157 if test x$enableval = xyes -o x$enableval = xno; then 8366 if test x$enableval = xyes -o x$enableval = xno; then
8158 support_inheritpixmap=$enableval 8367 support_inheritpixmap=$enableval
8159 fi 8368 fi
8160fi; 8369fi;
8161 8370
8371# Check whether --enable-tinting or --disable-tinting was given.
8372if test "${enable_tinting+set}" = set; then
8373 enableval="$enable_tinting"
8374 if test x$enableval = xyes -o x$enableval = xno; then
8375 support_tinting=$enableval
8376 fi
8377fi;
8378
8162# Check whether --enable-menubar or --disable-menubar was given. 8379# Check whether --enable-menubar or --disable-menubar was given.
8163if test "${enable_menubar+set}" = set; then 8380if test "${enable_menubar+set}" = set; then
8164 enableval="$enable_menubar" 8381 enableval="$enable_menubar"
8165 if test x$enableval = xyes -o x$enableval = xno; then 8382 if test x$enableval = xyes -o x$enableval = xno; then
8166 support_menubar=$enableval 8383 support_menubar=$enableval
8281 8498
8282cat >>confdefs.h <<\_ACEOF 8499cat >>confdefs.h <<\_ACEOF
8283#define USE_XGETDEFAULT 1 8500#define USE_XGETDEFAULT 1
8284_ACEOF 8501_ACEOF
8285 8502
8503 fi
8504fi;
8505
8506# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8507if test "${enable_8bitctrls+set}" = set; then
8508 enableval="$enable_8bitctrls"
8509 if test x$enableval = xyes -o x$enableval = xno; then
8510 support_8bitctrls=yes
8286 fi 8511 fi
8287fi; 8512fi;
8288 8513
8289RESFALLBACK=Rxvt 8514RESFALLBACK=Rxvt
8290# Check whether --enable-fallback or --disable-fallback was given. 8515# Check whether --enable-fallback or --disable-fallback was given.
8848fi 9073fi
8849 9074
8850 9075
8851 9076
8852 9077
9078
9079if test "x$ac_path_x_has_been_run" != xyes; then
8853echo "$as_me:$LINENO: checking for X" >&5 9080 echo "$as_me:$LINENO: checking for X" >&5
8854echo $ECHO_N "checking for X... $ECHO_C" >&6 9081echo $ECHO_N "checking for X... $ECHO_C" >&6
8855 9082
9083ac_path_x_has_been_run=yes
8856 9084
8857# Check whether --with-x or --without-x was given. 9085# Check whether --with-x or --without-x was given.
8858if test "${with_x+set}" = set; then 9086if test "${with_x+set}" = set; then
8859 withval="$with_x" 9087 withval="$with_x"
8860 9088
8943 9171
8944/usr/openwin/include 9172/usr/openwin/include
8945/usr/openwin/share/include' 9173/usr/openwin/share/include'
8946 9174
8947if test "$ac_x_includes" = no; then 9175if test "$ac_x_includes" = no; then
8948 # Guess where to find include files, by looking for Intrinsic.h. 9176 # Guess where to find include files, by looking for a specified header file.
8949 # First, try using that file with no special directory specified. 9177 # First, try using that file with no special directory specified.
8950 cat >conftest.$ac_ext <<_ACEOF 9178 cat >conftest.$ac_ext <<_ACEOF
8951/* confdefs.h. */ 9179/* confdefs.h. */
8952_ACEOF 9180_ACEOF
8953cat confdefs.h >>conftest.$ac_ext 9181cat confdefs.h >>conftest.$ac_ext
9077 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9305 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9078 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9306 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9079 # Update the cache value to reflect the command line values. 9307 # Update the cache value to reflect the command line values.
9080 ac_cv_have_x="have_x=yes \ 9308 ac_cv_have_x="have_x=yes \
9081 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9309 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9310 # It might be that x_includes is empty (headers are found in the
9311 # standard search path. Then output the corresponding message
9312 ac_out_x_includes=$x_includes
9313 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 9314 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9083echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9315echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9084fi 9316fi
9085 9317
9318fi
9086if test "$no_x" = yes; then 9319if test "$no_x" = yes; then
9087 # Not all programs may use this symbol, but it does not hurt to define it. 9320 # Not all programs may use this symbol, but it does not hurt to define it.
9088 9321
9089cat >>confdefs.h <<\_ACEOF 9322cat >>confdefs.h <<\_ACEOF
9090#define X_DISPLAY_MISSING 1 9323#define X_DISPLAY_MISSING 1
16142#define PTYCHAR2 "$pch2" 16375#define PTYCHAR2 "$pch2"
16143_ACEOF 16376_ACEOF
16144 16377
16145fi 16378fi
16146 16379
16147echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16380if test x$support_8bitctrls = xyes; then
16148echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16381
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 16382cat >>confdefs.h <<\_ACEOF
16159/* end confdefs.h. */ 16383#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 16384_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 16385
16202ac_cv_lib_xpg4_setlocale=no
16203fi 16386fi
16204rm -f conftest.err conftest.$ac_objext \ 16387if test x$support_tinting = 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 16388
16389cat >>confdefs.h <<\_ACEOF
16390#define TINTING 1
16391_ACEOF
16214 16392
16393fi
16215if test x$support_inheritpixmap = xyes; then 16394if test x$support_inheritpixmap = xyes; then
16216 16395
16217cat >>confdefs.h <<\_ACEOF 16396cat >>confdefs.h <<\_ACEOF
16218#define TRANSPARENT 1 16397#define TRANSPARENT 1
16219_ACEOF 16398_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines