… | |
… | |
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 |
… | |
… | |
3279 | LINKER=$LINKER |
3280 | LINKER=$LINKER |
3280 | |
3281 | |
3281 | |
3282 | |
3282 | CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" |
3283 | CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" |
3283 | |
3284 | |
3284 | if test x$GXX = xyes; then |
|
|
3285 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
|
|
3286 | fi |
|
|
3287 | |
3285 | |
3288 | ac_ext=cc |
3286 | ac_ext=cc |
3289 | ac_cpp='$CXXCPP $CPPFLAGS' |
3287 | ac_cpp='$CXXCPP $CPPFLAGS' |
3290 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3288 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3291 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3289 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
3688 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3686 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3689 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3687 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3690 | if test "$ac_cv_search_strerror" != no; then |
3688 | if test "$ac_cv_search_strerror" != no; then |
3691 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3689 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3692 | |
3690 | |
|
|
3691 | fi |
|
|
3692 | |
|
|
3693 | |
|
|
3694 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
3695 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
3696 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
3697 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3698 | else |
|
|
3699 | ac_check_lib_save_LIBS=$LIBS |
|
|
3700 | LIBS="-lxpg4 $LIBS" |
|
|
3701 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3702 | /* confdefs.h. */ |
|
|
3703 | _ACEOF |
|
|
3704 | cat confdefs.h >>conftest.$ac_ext |
|
|
3705 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3706 | /* end confdefs.h. */ |
|
|
3707 | |
|
|
3708 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3709 | #ifdef __cplusplus |
|
|
3710 | extern "C" |
|
|
3711 | #endif |
|
|
3712 | /* We use char because int might match the return type of a gcc2 |
|
|
3713 | builtin and then its argument prototype would still apply. */ |
|
|
3714 | char setlocale (); |
|
|
3715 | int |
|
|
3716 | main () |
|
|
3717 | { |
|
|
3718 | setlocale (); |
|
|
3719 | ; |
|
|
3720 | return 0; |
|
|
3721 | } |
|
|
3722 | _ACEOF |
|
|
3723 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3724 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3725 | (eval $ac_link) 2>conftest.er1 |
|
|
3726 | ac_status=$? |
|
|
3727 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3728 | rm -f conftest.er1 |
|
|
3729 | cat conftest.err >&5 |
|
|
3730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3731 | (exit $ac_status); } && |
|
|
3732 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3734 | (eval $ac_try) 2>&5 |
|
|
3735 | ac_status=$? |
|
|
3736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3737 | (exit $ac_status); }; } && |
|
|
3738 | { ac_try='test -s conftest$ac_exeext' |
|
|
3739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3740 | (eval $ac_try) 2>&5 |
|
|
3741 | ac_status=$? |
|
|
3742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3743 | (exit $ac_status); }; }; then |
|
|
3744 | ac_cv_lib_xpg4_setlocale=yes |
|
|
3745 | else |
|
|
3746 | echo "$as_me: failed program was:" >&5 |
|
|
3747 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3748 | |
|
|
3749 | ac_cv_lib_xpg4_setlocale=no |
|
|
3750 | fi |
|
|
3751 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3752 | conftest$ac_exeext conftest.$ac_ext |
|
|
3753 | LIBS=$ac_check_lib_save_LIBS |
|
|
3754 | fi |
|
|
3755 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
3756 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
3757 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
3758 | LIBS="$LIBS -lxpg4" |
|
|
3759 | fi |
|
|
3760 | |
|
|
3761 | |
|
|
3762 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
|
|
3763 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
|
|
3764 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
|
|
3765 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3766 | else |
|
|
3767 | ac_check_lib_save_LIBS=$LIBS |
|
|
3768 | LIBS="-lnsl $LIBS" |
|
|
3769 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3770 | /* confdefs.h. */ |
|
|
3771 | _ACEOF |
|
|
3772 | cat confdefs.h >>conftest.$ac_ext |
|
|
3773 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3774 | /* end confdefs.h. */ |
|
|
3775 | |
|
|
3776 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3777 | #ifdef __cplusplus |
|
|
3778 | extern "C" |
|
|
3779 | #endif |
|
|
3780 | /* We use char because int might match the return type of a gcc2 |
|
|
3781 | builtin and then its argument prototype would still apply. */ |
|
|
3782 | char gethostbyname (); |
|
|
3783 | int |
|
|
3784 | main () |
|
|
3785 | { |
|
|
3786 | gethostbyname (); |
|
|
3787 | ; |
|
|
3788 | return 0; |
|
|
3789 | } |
|
|
3790 | _ACEOF |
|
|
3791 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3792 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3793 | (eval $ac_link) 2>conftest.er1 |
|
|
3794 | ac_status=$? |
|
|
3795 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3796 | rm -f conftest.er1 |
|
|
3797 | cat conftest.err >&5 |
|
|
3798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3799 | (exit $ac_status); } && |
|
|
3800 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3802 | (eval $ac_try) 2>&5 |
|
|
3803 | ac_status=$? |
|
|
3804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3805 | (exit $ac_status); }; } && |
|
|
3806 | { ac_try='test -s conftest$ac_exeext' |
|
|
3807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3808 | (eval $ac_try) 2>&5 |
|
|
3809 | ac_status=$? |
|
|
3810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3811 | (exit $ac_status); }; }; then |
|
|
3812 | ac_cv_lib_nsl_gethostbyname=yes |
|
|
3813 | else |
|
|
3814 | echo "$as_me: failed program was:" >&5 |
|
|
3815 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3816 | |
|
|
3817 | ac_cv_lib_nsl_gethostbyname=no |
|
|
3818 | fi |
|
|
3819 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3820 | conftest$ac_exeext conftest.$ac_ext |
|
|
3821 | LIBS=$ac_check_lib_save_LIBS |
|
|
3822 | fi |
|
|
3823 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
|
|
3824 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
|
|
3825 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
|
|
3826 | LIBS="$LIBS -lnsl" |
|
|
3827 | fi |
|
|
3828 | |
|
|
3829 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
|
|
3830 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
|
|
3831 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
|
|
3832 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3833 | else |
|
|
3834 | ac_check_lib_save_LIBS=$LIBS |
|
|
3835 | LIBS="-lsocket $LIBS" |
|
|
3836 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3837 | /* confdefs.h. */ |
|
|
3838 | _ACEOF |
|
|
3839 | cat confdefs.h >>conftest.$ac_ext |
|
|
3840 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3841 | /* end confdefs.h. */ |
|
|
3842 | |
|
|
3843 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3844 | #ifdef __cplusplus |
|
|
3845 | extern "C" |
|
|
3846 | #endif |
|
|
3847 | /* We use char because int might match the return type of a gcc2 |
|
|
3848 | builtin and then its argument prototype would still apply. */ |
|
|
3849 | char socket (); |
|
|
3850 | int |
|
|
3851 | main () |
|
|
3852 | { |
|
|
3853 | socket (); |
|
|
3854 | ; |
|
|
3855 | return 0; |
|
|
3856 | } |
|
|
3857 | _ACEOF |
|
|
3858 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3859 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3860 | (eval $ac_link) 2>conftest.er1 |
|
|
3861 | ac_status=$? |
|
|
3862 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3863 | rm -f conftest.er1 |
|
|
3864 | cat conftest.err >&5 |
|
|
3865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3866 | (exit $ac_status); } && |
|
|
3867 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3869 | (eval $ac_try) 2>&5 |
|
|
3870 | ac_status=$? |
|
|
3871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3872 | (exit $ac_status); }; } && |
|
|
3873 | { ac_try='test -s conftest$ac_exeext' |
|
|
3874 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3875 | (eval $ac_try) 2>&5 |
|
|
3876 | ac_status=$? |
|
|
3877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3878 | (exit $ac_status); }; }; then |
|
|
3879 | ac_cv_lib_socket_socket=yes |
|
|
3880 | else |
|
|
3881 | echo "$as_me: failed program was:" >&5 |
|
|
3882 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3883 | |
|
|
3884 | ac_cv_lib_socket_socket=no |
|
|
3885 | fi |
|
|
3886 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3887 | conftest$ac_exeext conftest.$ac_ext |
|
|
3888 | LIBS=$ac_check_lib_save_LIBS |
|
|
3889 | fi |
|
|
3890 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
|
|
3891 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
|
|
3892 | if test $ac_cv_lib_socket_socket = yes; then |
|
|
3893 | LIBS="$LIBS -lsocket" |
3693 | fi |
3894 | fi |
3694 | |
3895 | |
3695 | |
3896 | |
3696 | # Check whether --enable-shared or --disable-shared was given. |
3897 | # Check whether --enable-shared or --disable-shared was given. |
3697 | if test "${enable_shared+set}" = set; then |
3898 | if test "${enable_shared+set}" = set; then |
… | |
… | |
5033 | # Some flags need to be propagated to the compiler or linker for good |
5234 | # Some flags need to be propagated to the compiler or linker for good |
5034 | # libtool support. |
5235 | # libtool support. |
5035 | case "$host" in |
5236 | case "$host" in |
5036 | *-*-irix6*) |
5237 | *-*-irix6*) |
5037 | # Find out which ABI we are using. |
5238 | # Find out which ABI we are using. |
5038 | echo '#line 5038 "configure"' > conftest.$ac_ext |
5239 | echo '#line 5239 "configure"' > conftest.$ac_ext |
5039 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5240 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5040 | (eval $ac_compile) 2>&5 |
5241 | (eval $ac_compile) 2>&5 |
5041 | ac_status=$? |
5242 | ac_status=$? |
5042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5043 | (exit $ac_status); }; then |
5244 | (exit $ac_status); }; then |
… | |
… | |
5584 | # builds. |
5785 | # builds. |
5585 | chmod -w . |
5786 | chmod -w . |
5586 | save_CFLAGS="$CFLAGS" |
5787 | save_CFLAGS="$CFLAGS" |
5587 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5788 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5588 | compiler_c_o=no |
5789 | compiler_c_o=no |
5589 | if { (eval echo configure:5589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5790 | if { (eval echo configure:5790: \"$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 |
5791 | # The compiler can only warn and ignore the option if not recognized |
5591 | # So say no if there are warnings |
5792 | # So say no if there are warnings |
5592 | if test -s out/conftest.err; then |
5793 | if test -s out/conftest.err; then |
5593 | compiler_c_o=no |
5794 | compiler_c_o=no |
5594 | else |
5795 | else |
… | |
… | |
7200 | lt_cv_dlopen_self=cross |
7401 | lt_cv_dlopen_self=cross |
7201 | else |
7402 | else |
7202 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7403 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7203 | lt_status=$lt_dlunknown |
7404 | lt_status=$lt_dlunknown |
7204 | cat > conftest.$ac_ext <<EOF |
7405 | cat > conftest.$ac_ext <<EOF |
7205 | #line 7205 "configure" |
7406 | #line 7406 "configure" |
7206 | #include "confdefs.h" |
7407 | #include "confdefs.h" |
7207 | |
7408 | |
7208 | #if HAVE_DLFCN_H |
7409 | #if HAVE_DLFCN_H |
7209 | #include <dlfcn.h> |
7410 | #include <dlfcn.h> |
7210 | #endif |
7411 | #endif |
… | |
… | |
7298 | lt_cv_dlopen_self_static=cross |
7499 | lt_cv_dlopen_self_static=cross |
7299 | else |
7500 | else |
7300 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7501 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7301 | lt_status=$lt_dlunknown |
7502 | lt_status=$lt_dlunknown |
7302 | cat > conftest.$ac_ext <<EOF |
7503 | cat > conftest.$ac_ext <<EOF |
7303 | #line 7303 "configure" |
7504 | #line 7504 "configure" |
7304 | #include "confdefs.h" |
7505 | #include "confdefs.h" |
7305 | |
7506 | |
7306 | #if HAVE_DLFCN_H |
7507 | #if HAVE_DLFCN_H |
7307 | #include <dlfcn.h> |
7508 | #include <dlfcn.h> |
7308 | #endif |
7509 | #endif |
… | |
… | |
8031 | MALLOC_TYPE=S |
8232 | MALLOC_TYPE=S |
8032 | support_addstrings=no |
8233 | support_addstrings=no |
8033 | support_frills=no |
8234 | support_frills=no |
8034 | support_linespace=no |
8235 | support_linespace=no |
8035 | support_inheritpixmap=no |
8236 | support_inheritpixmap=no |
|
|
8237 | support_tinting=no |
8036 | support_keepscrolling=no |
8238 | support_keepscrolling=no |
8037 | support_selectionscrolling=no |
8239 | support_selectionscrolling=no |
8038 | support_menubar=no |
8240 | support_menubar=no |
8039 | support_mousewheel=no |
8241 | support_mousewheel=no |
8040 | support_mouseslipwheel=no |
8242 | support_mouseslipwheel=no |
… | |
… | |
8072 | if test x$enableval = xyes; then |
8274 | if test x$enableval = xyes; then |
8073 | support_24bit=yes |
8275 | support_24bit=yes |
8074 | support_frills=yes |
8276 | support_frills=yes |
8075 | support_linespace=yes |
8277 | support_linespace=yes |
8076 | support_inheritpixmap=yes |
8278 | support_inheritpixmap=yes |
|
|
8279 | support_tinting=yes |
8077 | support_keepscrolling=yes |
8280 | support_keepscrolling=yes |
8078 | support_selectionscrolling=yes |
8281 | support_selectionscrolling=yes |
8079 | support_lastlog=yes |
8282 | support_lastlog=yes |
8080 | support_menubar=yes |
8283 | support_menubar=yes |
8081 | support_mousewheel=yes |
8284 | support_mousewheel=yes |
… | |
… | |
8160 | if test x$enableval = xyes -o x$enableval = xno; then |
8363 | if test x$enableval = xyes -o x$enableval = xno; then |
8161 | support_inheritpixmap=$enableval |
8364 | support_inheritpixmap=$enableval |
8162 | fi |
8365 | fi |
8163 | fi; |
8366 | fi; |
8164 | |
8367 | |
|
|
8368 | # Check whether --enable-tinting or --disable-tinting was given. |
|
|
8369 | if test "${enable_tinting+set}" = set; then |
|
|
8370 | enableval="$enable_tinting" |
|
|
8371 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8372 | support_tinting=$enableval |
|
|
8373 | fi |
|
|
8374 | fi; |
|
|
8375 | |
8165 | # Check whether --enable-menubar or --disable-menubar was given. |
8376 | # Check whether --enable-menubar or --disable-menubar was given. |
8166 | if test "${enable_menubar+set}" = set; then |
8377 | if test "${enable_menubar+set}" = set; then |
8167 | enableval="$enable_menubar" |
8378 | enableval="$enable_menubar" |
8168 | if test x$enableval = xyes -o x$enableval = xno; then |
8379 | if test x$enableval = xyes -o x$enableval = xno; then |
8169 | support_menubar=$enableval |
8380 | support_menubar=$enableval |
… | |
… | |
8851 | fi |
9062 | fi |
8852 | |
9063 | |
8853 | |
9064 | |
8854 | |
9065 | |
8855 | |
9066 | |
|
|
9067 | |
|
|
9068 | if test "x$ac_path_x_has_been_run" != xyes; then |
8856 | echo "$as_me:$LINENO: checking for X" >&5 |
9069 | echo "$as_me:$LINENO: checking for X" >&5 |
8857 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
9070 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
8858 | |
9071 | |
|
|
9072 | ac_path_x_has_been_run=yes |
8859 | |
9073 | |
8860 | # Check whether --with-x or --without-x was given. |
9074 | # Check whether --with-x or --without-x was given. |
8861 | if test "${with_x+set}" = set; then |
9075 | if test "${with_x+set}" = set; then |
8862 | withval="$with_x" |
9076 | withval="$with_x" |
8863 | |
9077 | |
… | |
… | |
8946 | |
9160 | |
8947 | /usr/openwin/include |
9161 | /usr/openwin/include |
8948 | /usr/openwin/share/include' |
9162 | /usr/openwin/share/include' |
8949 | |
9163 | |
8950 | if test "$ac_x_includes" = no; then |
9164 | if test "$ac_x_includes" = no; then |
8951 | # Guess where to find include files, by looking for Intrinsic.h. |
9165 | # Guess where to find include files, by looking for a specified header file. |
8952 | # First, try using that file with no special directory specified. |
9166 | # First, try using that file with no special directory specified. |
8953 | cat >conftest.$ac_ext <<_ACEOF |
9167 | cat >conftest.$ac_ext <<_ACEOF |
8954 | /* confdefs.h. */ |
9168 | /* confdefs.h. */ |
8955 | _ACEOF |
9169 | _ACEOF |
8956 | cat confdefs.h >>conftest.$ac_ext |
9170 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
9080 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9294 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9081 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9295 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9082 | # Update the cache value to reflect the command line values. |
9296 | # Update the cache value to reflect the command line values. |
9083 | ac_cv_have_x="have_x=yes \ |
9297 | ac_cv_have_x="have_x=yes \ |
9084 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
9298 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
|
|
9299 | # It might be that x_includes is empty (headers are found in the |
|
|
9300 | # standard search path. Then output the corresponding message |
|
|
9301 | ac_out_x_includes=$x_includes |
|
|
9302 | 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 |
9303 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 |
9086 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
9304 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
9087 | fi |
9305 | fi |
9088 | |
9306 | |
|
|
9307 | fi |
9089 | if test "$no_x" = yes; then |
9308 | if test "$no_x" = yes; then |
9090 | # Not all programs may use this symbol, but it does not hurt to define it. |
9309 | # Not all programs may use this symbol, but it does not hurt to define it. |
9091 | |
9310 | |
9092 | cat >>confdefs.h <<\_ACEOF |
9311 | cat >>confdefs.h <<\_ACEOF |
9093 | #define X_DISPLAY_MISSING 1 |
9312 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
16145 | #define PTYCHAR2 "$pch2" |
16364 | #define PTYCHAR2 "$pch2" |
16146 | _ACEOF |
16365 | _ACEOF |
16147 | |
16366 | |
16148 | fi |
16367 | fi |
16149 | |
16368 | |
16150 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
16369 | if test x$support_tinting = xyes; then |
16151 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
16370 | |
16152 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
16153 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16154 | else |
|
|
16155 | ac_check_lib_save_LIBS=$LIBS |
|
|
16156 | LIBS="-lxpg4 $LIBS" |
|
|
16157 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16158 | /* confdefs.h. */ |
|
|
16159 | _ACEOF |
|
|
16160 | cat confdefs.h >>conftest.$ac_ext |
|
|
16161 | cat >>conftest.$ac_ext <<_ACEOF |
16371 | cat >>confdefs.h <<\_ACEOF |
16162 | /* end confdefs.h. */ |
16372 | #define TINTING 1 |
16163 | |
|
|
16164 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16165 | #ifdef __cplusplus |
|
|
16166 | extern "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. */ |
|
|
16170 | char setlocale (); |
|
|
16171 | int |
|
|
16172 | main () |
|
|
16173 | { |
|
|
16174 | setlocale (); |
|
|
16175 | ; |
|
|
16176 | return 0; |
|
|
16177 | } |
|
|
16178 | _ACEOF |
16373 | _ACEOF |
16179 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16180 | if { (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 |
|
|
16201 | else |
|
|
16202 | echo "$as_me: failed program was:" >&5 |
|
|
16203 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16204 | |
16374 | |
16205 | ac_cv_lib_xpg4_setlocale=no |
|
|
16206 | fi |
16375 | fi |
16207 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16208 | conftest$ac_exeext conftest.$ac_ext |
|
|
16209 | LIBS=$ac_check_lib_save_LIBS |
|
|
16210 | fi |
|
|
16211 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
16212 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
16213 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
16214 | LIBS="$LIBS -lxpg4" |
|
|
16215 | fi |
|
|
16216 | |
|
|
16217 | |
|
|
16218 | if test x$support_inheritpixmap = xyes; then |
16376 | if test x$support_inheritpixmap = xyes; then |
16219 | |
16377 | |
16220 | cat >>confdefs.h <<\_ACEOF |
16378 | cat >>confdefs.h <<\_ACEOF |
16221 | #define TRANSPARENT 1 |
16379 | #define TRANSPARENT 1 |
16222 | _ACEOF |
16380 | _ACEOF |