… | |
… | |
3689 | 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" |
3690 | |
3690 | |
3691 | fi |
3691 | fi |
3692 | |
3692 | |
3693 | |
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" |
|
|
3894 | fi |
|
|
3895 | |
|
|
3896 | |
3694 | # Check whether --enable-shared or --disable-shared was given. |
3897 | # Check whether --enable-shared or --disable-shared was given. |
3695 | if test "${enable_shared+set}" = set; then |
3898 | if test "${enable_shared+set}" = set; then |
3696 | enableval="$enable_shared" |
3899 | enableval="$enable_shared" |
3697 | p=${PACKAGE-default} |
3900 | p=${PACKAGE-default} |
3698 | case "$enableval" in |
3901 | case "$enableval" in |
… | |
… | |
5031 | # 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 |
5032 | # libtool support. |
5235 | # libtool support. |
5033 | case "$host" in |
5236 | case "$host" in |
5034 | *-*-irix6*) |
5237 | *-*-irix6*) |
5035 | # Find out which ABI we are using. |
5238 | # Find out which ABI we are using. |
5036 | echo '#line 5036 "configure"' > conftest.$ac_ext |
5239 | echo '#line 5239 "configure"' > conftest.$ac_ext |
5037 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5240 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5038 | (eval $ac_compile) 2>&5 |
5241 | (eval $ac_compile) 2>&5 |
5039 | ac_status=$? |
5242 | ac_status=$? |
5040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5041 | (exit $ac_status); }; then |
5244 | (exit $ac_status); }; then |
… | |
… | |
5582 | # builds. |
5785 | # builds. |
5583 | chmod -w . |
5786 | chmod -w . |
5584 | save_CFLAGS="$CFLAGS" |
5787 | save_CFLAGS="$CFLAGS" |
5585 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5788 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5586 | compiler_c_o=no |
5789 | compiler_c_o=no |
5587 | if { (eval echo configure:5587: \"$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 |
5588 | # 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 |
5589 | # So say no if there are warnings |
5792 | # So say no if there are warnings |
5590 | if test -s out/conftest.err; then |
5793 | if test -s out/conftest.err; then |
5591 | compiler_c_o=no |
5794 | compiler_c_o=no |
5592 | else |
5795 | else |
… | |
… | |
7198 | lt_cv_dlopen_self=cross |
7401 | lt_cv_dlopen_self=cross |
7199 | else |
7402 | else |
7200 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7403 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7201 | lt_status=$lt_dlunknown |
7404 | lt_status=$lt_dlunknown |
7202 | cat > conftest.$ac_ext <<EOF |
7405 | cat > conftest.$ac_ext <<EOF |
7203 | #line 7203 "configure" |
7406 | #line 7406 "configure" |
7204 | #include "confdefs.h" |
7407 | #include "confdefs.h" |
7205 | |
7408 | |
7206 | #if HAVE_DLFCN_H |
7409 | #if HAVE_DLFCN_H |
7207 | #include <dlfcn.h> |
7410 | #include <dlfcn.h> |
7208 | #endif |
7411 | #endif |
… | |
… | |
7296 | lt_cv_dlopen_self_static=cross |
7499 | lt_cv_dlopen_self_static=cross |
7297 | else |
7500 | else |
7298 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7501 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7299 | lt_status=$lt_dlunknown |
7502 | lt_status=$lt_dlunknown |
7300 | cat > conftest.$ac_ext <<EOF |
7503 | cat > conftest.$ac_ext <<EOF |
7301 | #line 7301 "configure" |
7504 | #line 7504 "configure" |
7302 | #include "confdefs.h" |
7505 | #include "confdefs.h" |
7303 | |
7506 | |
7304 | #if HAVE_DLFCN_H |
7507 | #if HAVE_DLFCN_H |
7305 | #include <dlfcn.h> |
7508 | #include <dlfcn.h> |
7306 | #endif |
7509 | #endif |
… | |
… | |
16161 | #define PTYCHAR2 "$pch2" |
16364 | #define PTYCHAR2 "$pch2" |
16162 | _ACEOF |
16365 | _ACEOF |
16163 | |
16366 | |
16164 | fi |
16367 | fi |
16165 | |
16368 | |
16166 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
16167 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
16168 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
16169 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16170 | else |
|
|
16171 | ac_check_lib_save_LIBS=$LIBS |
|
|
16172 | LIBS="-lxpg4 $LIBS" |
|
|
16173 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16174 | /* confdefs.h. */ |
|
|
16175 | _ACEOF |
|
|
16176 | cat confdefs.h >>conftest.$ac_ext |
|
|
16177 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16178 | /* end confdefs.h. */ |
|
|
16179 | |
|
|
16180 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16181 | #ifdef __cplusplus |
|
|
16182 | extern "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. */ |
|
|
16186 | char setlocale (); |
|
|
16187 | int |
|
|
16188 | main () |
|
|
16189 | { |
|
|
16190 | setlocale (); |
|
|
16191 | ; |
|
|
16192 | return 0; |
|
|
16193 | } |
|
|
16194 | _ACEOF |
|
|
16195 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16196 | if { (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 |
|
|
16217 | else |
|
|
16218 | echo "$as_me: failed program was:" >&5 |
|
|
16219 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16220 | |
|
|
16221 | ac_cv_lib_xpg4_setlocale=no |
|
|
16222 | fi |
|
|
16223 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16224 | conftest$ac_exeext conftest.$ac_ext |
|
|
16225 | LIBS=$ac_check_lib_save_LIBS |
|
|
16226 | fi |
|
|
16227 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
16228 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
16229 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
16230 | LIBS="$LIBS -lxpg4" |
|
|
16231 | fi |
|
|
16232 | |
|
|
16233 | |
|
|
16234 | if test x$support_tinting = xyes; then |
16369 | if test x$support_tinting = xyes; then |
16235 | |
16370 | |
16236 | cat >>confdefs.h <<\_ACEOF |
16371 | cat >>confdefs.h <<\_ACEOF |
16237 | #define TINTING 1 |
16372 | #define TINTING 1 |
16238 | _ACEOF |
16373 | _ACEOF |