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.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
3279LINKER=$LINKER 3281LINKER=$LINKER
3280 3282
3281 3283
3282CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3284CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3283 3285
3284if test x$GXX = xyes; then
3285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3286fi
3287 3286
3288ac_ext=cc 3287ac_ext=cc
3289ac_cpp='$CXXCPP $CPPFLAGS' 3288ac_cpp='$CXXCPP $CPPFLAGS'
3290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3289ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3290ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3687echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3689echo "${ECHO_T}$ac_cv_search_strerror" >&6 3688echo "${ECHO_T}$ac_cv_search_strerror" >&6
3690if test "$ac_cv_search_strerror" != no; then 3689if test "$ac_cv_search_strerror" != no; then
3691 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"
3692 3691
3692fi
3693
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"
3693fi 3895fi
3694 3896
3695 3897
3696# Check whether --enable-shared or --disable-shared was given. 3898# Check whether --enable-shared or --disable-shared was given.
3697if test "${enable_shared+set}" = set; then 3899if test "${enable_shared+set}" = set; then
5033# 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
5034# libtool support. 5236# libtool support.
5035case "$host" in 5237case "$host" in
5036*-*-irix6*) 5238*-*-irix6*)
5037 # Find out which ABI we are using. 5239 # Find out which ABI we are using.
5038 echo '#line 5038 "configure"' > conftest.$ac_ext 5240 echo '#line 5240 "configure"' > conftest.$ac_ext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>&5 5242 (eval $ac_compile) 2>&5
5041 ac_status=$? 5243 ac_status=$?
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; then 5245 (exit $ac_status); }; then
5584# builds. 5786# builds.
5585chmod -w . 5787chmod -w .
5586save_CFLAGS="$CFLAGS" 5788save_CFLAGS="$CFLAGS"
5587CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5789CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5588compiler_c_o=no 5790compiler_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 5791if { (eval echo configure:5791: \"$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 5792 # The compiler can only warn and ignore the option if not recognized
5591 # So say no if there are warnings 5793 # So say no if there are warnings
5592 if test -s out/conftest.err; then 5794 if test -s out/conftest.err; then
5593 compiler_c_o=no 5795 compiler_c_o=no
5594 else 5796 else
7200 lt_cv_dlopen_self=cross 7402 lt_cv_dlopen_self=cross
7201else 7403else
7202 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7404 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7203 lt_status=$lt_dlunknown 7405 lt_status=$lt_dlunknown
7204 cat > conftest.$ac_ext <<EOF 7406 cat > conftest.$ac_ext <<EOF
7205#line 7205 "configure" 7407#line 7407 "configure"
7206#include "confdefs.h" 7408#include "confdefs.h"
7207 7409
7208#if HAVE_DLFCN_H 7410#if HAVE_DLFCN_H
7209#include <dlfcn.h> 7411#include <dlfcn.h>
7210#endif 7412#endif
7298 lt_cv_dlopen_self_static=cross 7500 lt_cv_dlopen_self_static=cross
7299else 7501else
7300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7301 lt_status=$lt_dlunknown 7503 lt_status=$lt_dlunknown
7302 cat > conftest.$ac_ext <<EOF 7504 cat > conftest.$ac_ext <<EOF
7303#line 7303 "configure" 7505#line 7505 "configure"
7304#include "confdefs.h" 7506#include "confdefs.h"
7305 7507
7306#if HAVE_DLFCN_H 7508#if HAVE_DLFCN_H
7307#include <dlfcn.h> 7509#include <dlfcn.h>
7308#endif 7510#endif
8031MALLOC_TYPE=S 8233MALLOC_TYPE=S
8032support_addstrings=no 8234support_addstrings=no
8033support_frills=no 8235support_frills=no
8034support_linespace=no 8236support_linespace=no
8035support_inheritpixmap=no 8237support_inheritpixmap=no
8238support_tinting=no
8036support_keepscrolling=no 8239support_keepscrolling=no
8037support_selectionscrolling=no 8240support_selectionscrolling=no
8038support_menubar=no 8241support_menubar=no
8039support_mousewheel=no 8242support_mousewheel=no
8040support_mouseslipwheel=no 8243support_mouseslipwheel=no
8051support_xim=no 8254support_xim=no
8052support_xpm=no 8255support_xpm=no
8053support_xft=no 8256support_xft=no
8054support_unicode3=no 8257support_unicode3=no
8055support_combining=no 8258support_combining=no
8259support_8bitctrls=no
8056codesets= 8260codesets=
8057 8261
8058 8262
8059if test "x$enable_shared" = xyes; then 8263if test "x$enable_shared" = xyes; then
8060 8264
8072 if test x$enableval = xyes; then 8276 if test x$enableval = xyes; then
8073 support_24bit=yes 8277 support_24bit=yes
8074 support_frills=yes 8278 support_frills=yes
8075 support_linespace=yes 8279 support_linespace=yes
8076 support_inheritpixmap=yes 8280 support_inheritpixmap=yes
8281 support_tinting=yes
8077 support_keepscrolling=yes 8282 support_keepscrolling=yes
8078 support_selectionscrolling=yes 8283 support_selectionscrolling=yes
8079 support_lastlog=yes 8284 support_lastlog=yes
8080 support_menubar=yes 8285 support_menubar=yes
8081 support_mousewheel=yes 8286 support_mousewheel=yes
8092 support_xim=yes 8297 support_xim=yes
8093 support_xpm=yes 8298 support_xpm=yes
8094 support_xft=yes 8299 support_xft=yes
8095 support_unicode3=yes 8300 support_unicode3=yes
8096 support_combining=yes 8301 support_combining=yes
8302 #support_8bitctrls=yes
8097 codesets=all 8303 codesets=all
8098 fi 8304 fi
8099fi; 8305fi;
8100 8306
8101# Check whether --enable-unicode3 or --disable-unicode3 was given. 8307# Check whether --enable-unicode3 or --disable-unicode3 was given.
8160 if test x$enableval = xyes -o x$enableval = xno; then 8366 if test x$enableval = xyes -o x$enableval = xno; then
8161 support_inheritpixmap=$enableval 8367 support_inheritpixmap=$enableval
8162 fi 8368 fi
8163fi; 8369fi;
8164 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
8165# Check whether --enable-menubar or --disable-menubar was given. 8379# Check whether --enable-menubar or --disable-menubar was given.
8166if test "${enable_menubar+set}" = set; then 8380if test "${enable_menubar+set}" = set; then
8167 enableval="$enable_menubar" 8381 enableval="$enable_menubar"
8168 if test x$enableval = xyes -o x$enableval = xno; then 8382 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_menubar=$enableval 8383 support_menubar=$enableval
8284 8498
8285cat >>confdefs.h <<\_ACEOF 8499cat >>confdefs.h <<\_ACEOF
8286#define USE_XGETDEFAULT 1 8500#define USE_XGETDEFAULT 1
8287_ACEOF 8501_ACEOF
8288 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
8289 fi 8511 fi
8290fi; 8512fi;
8291 8513
8292RESFALLBACK=Rxvt 8514RESFALLBACK=Rxvt
8293# Check whether --enable-fallback or --disable-fallback was given. 8515# Check whether --enable-fallback or --disable-fallback was given.
8851fi 9073fi
8852 9074
8853 9075
8854 9076
8855 9077
9078
9079if test "x$ac_path_x_has_been_run" != xyes; then
8856echo "$as_me:$LINENO: checking for X" >&5 9080 echo "$as_me:$LINENO: checking for X" >&5
8857echo $ECHO_N "checking for X... $ECHO_C" >&6 9081echo $ECHO_N "checking for X... $ECHO_C" >&6
8858 9082
9083ac_path_x_has_been_run=yes
8859 9084
8860# Check whether --with-x or --without-x was given. 9085# Check whether --with-x or --without-x was given.
8861if test "${with_x+set}" = set; then 9086if test "${with_x+set}" = set; then
8862 withval="$with_x" 9087 withval="$with_x"
8863 9088
8946 9171
8947/usr/openwin/include 9172/usr/openwin/include
8948/usr/openwin/share/include' 9173/usr/openwin/share/include'
8949 9174
8950if test "$ac_x_includes" = no; then 9175if test "$ac_x_includes" = no; then
8951 # 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.
8952 # First, try using that file with no special directory specified. 9177 # First, try using that file with no special directory specified.
8953 cat >conftest.$ac_ext <<_ACEOF 9178 cat >conftest.$ac_ext <<_ACEOF
8954/* confdefs.h. */ 9179/* confdefs.h. */
8955_ACEOF 9180_ACEOF
8956cat confdefs.h >>conftest.$ac_ext 9181cat confdefs.h >>conftest.$ac_ext
9080 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9305 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9081 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9306 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9082 # Update the cache value to reflect the command line values. 9307 # Update the cache value to reflect the command line values.
9083 ac_cv_have_x="have_x=yes \ 9308 ac_cv_have_x="have_x=yes \
9084 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"
9085 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
9086echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9315echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9087fi 9316fi
9088 9317
9318fi
9089if test "$no_x" = yes; then 9319if test "$no_x" = yes; then
9090 # 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.
9091 9321
9092cat >>confdefs.h <<\_ACEOF 9322cat >>confdefs.h <<\_ACEOF
9093#define X_DISPLAY_MISSING 1 9323#define X_DISPLAY_MISSING 1
16145#define PTYCHAR2 "$pch2" 16375#define PTYCHAR2 "$pch2"
16146_ACEOF 16376_ACEOF
16147 16377
16148fi 16378fi
16149 16379
16150echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16380if test x$support_8bitctrls = xyes; then
16151echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16381
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 16382cat >>confdefs.h <<\_ACEOF
16162/* end confdefs.h. */ 16383#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 16384_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 16385
16205ac_cv_lib_xpg4_setlocale=no
16206fi 16386fi
16207rm -f conftest.err conftest.$ac_objext \ 16387if test x$support_tinting = 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 16388
16389cat >>confdefs.h <<\_ACEOF
16390#define TINTING 1
16391_ACEOF
16217 16392
16393fi
16218if test x$support_inheritpixmap = xyes; then 16394if test x$support_inheritpixmap = xyes; then
16219 16395
16220cat >>confdefs.h <<\_ACEOF 16396cat >>confdefs.h <<\_ACEOF
16221#define TRANSPARENT 1 16397#define TRANSPARENT 1
16222_ACEOF 16398_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines