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.25 by pcg, Mon Apr 5 15:54:21 2004 UTC

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
3691fi 3691fi
3692 3692
3693 3693
3694echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3695echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3696if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3698else
3699 ac_check_lib_save_LIBS=$LIBS
3700LIBS="-lxpg4 $LIBS"
3701cat >conftest.$ac_ext <<_ACEOF
3702/* confdefs.h. */
3703_ACEOF
3704cat confdefs.h >>conftest.$ac_ext
3705cat >>conftest.$ac_ext <<_ACEOF
3706/* end confdefs.h. */
3707
3708/* Override any gcc2 internal prototype to avoid an error. */
3709#ifdef __cplusplus
3710extern "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. */
3714char setlocale ();
3715int
3716main ()
3717{
3718setlocale ();
3719 ;
3720 return 0;
3721}
3722_ACEOF
3723rm -f conftest.$ac_objext conftest$ac_exeext
3724if { (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
3745else
3746 echo "$as_me: failed program was:" >&5
3747sed 's/^/| /' conftest.$ac_ext >&5
3748
3749ac_cv_lib_xpg4_setlocale=no
3750fi
3751rm -f conftest.err conftest.$ac_objext \
3752 conftest$ac_exeext conftest.$ac_ext
3753LIBS=$ac_check_lib_save_LIBS
3754fi
3755echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3756echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3757if test $ac_cv_lib_xpg4_setlocale = yes; then
3758 LIBS="$LIBS -lxpg4"
3759fi
3760
3761
3762echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3763echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3764if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3766else
3767 ac_check_lib_save_LIBS=$LIBS
3768LIBS="-lnsl $LIBS"
3769cat >conftest.$ac_ext <<_ACEOF
3770/* confdefs.h. */
3771_ACEOF
3772cat confdefs.h >>conftest.$ac_ext
3773cat >>conftest.$ac_ext <<_ACEOF
3774/* end confdefs.h. */
3775
3776/* Override any gcc2 internal prototype to avoid an error. */
3777#ifdef __cplusplus
3778extern "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. */
3782char gethostbyname ();
3783int
3784main ()
3785{
3786gethostbyname ();
3787 ;
3788 return 0;
3789}
3790_ACEOF
3791rm -f conftest.$ac_objext conftest$ac_exeext
3792if { (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
3813else
3814 echo "$as_me: failed program was:" >&5
3815sed 's/^/| /' conftest.$ac_ext >&5
3816
3817ac_cv_lib_nsl_gethostbyname=no
3818fi
3819rm -f conftest.err conftest.$ac_objext \
3820 conftest$ac_exeext conftest.$ac_ext
3821LIBS=$ac_check_lib_save_LIBS
3822fi
3823echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3824echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3825if test $ac_cv_lib_nsl_gethostbyname = yes; then
3826 LIBS="$LIBS -lnsl"
3827fi
3828
3829echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3830echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3831if test "${ac_cv_lib_socket_socket+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3833else
3834 ac_check_lib_save_LIBS=$LIBS
3835LIBS="-lsocket $LIBS"
3836cat >conftest.$ac_ext <<_ACEOF
3837/* confdefs.h. */
3838_ACEOF
3839cat confdefs.h >>conftest.$ac_ext
3840cat >>conftest.$ac_ext <<_ACEOF
3841/* end confdefs.h. */
3842
3843/* Override any gcc2 internal prototype to avoid an error. */
3844#ifdef __cplusplus
3845extern "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. */
3849char socket ();
3850int
3851main ()
3852{
3853socket ();
3854 ;
3855 return 0;
3856}
3857_ACEOF
3858rm -f conftest.$ac_objext conftest$ac_exeext
3859if { (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
3880else
3881 echo "$as_me: failed program was:" >&5
3882sed 's/^/| /' conftest.$ac_ext >&5
3883
3884ac_cv_lib_socket_socket=no
3885fi
3886rm -f conftest.err conftest.$ac_objext \
3887 conftest$ac_exeext conftest.$ac_ext
3888LIBS=$ac_check_lib_save_LIBS
3889fi
3890echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3891echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3892if test $ac_cv_lib_socket_socket = yes; then
3893 LIBS="$LIBS -lsocket"
3894fi
3895
3896
3694# Check whether --enable-shared or --disable-shared was given. 3897# Check whether --enable-shared or --disable-shared was given.
3695if test "${enable_shared+set}" = set; then 3898if test "${enable_shared+set}" = set; then
3696 enableval="$enable_shared" 3899 enableval="$enable_shared"
3697 p=${PACKAGE-default} 3900 p=${PACKAGE-default}
3698case "$enableval" in 3901case "$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.
5033case "$host" in 5236case "$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.
5583chmod -w . 5786chmod -w .
5584save_CFLAGS="$CFLAGS" 5787save_CFLAGS="$CFLAGS"
5585CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5788CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5586compiler_c_o=no 5789compiler_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 5790if { (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
7199else 7402else
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
7297else 7500else
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
16164fi 16367fi
16165 16368
16166echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
16167echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
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
16178/* end confdefs.h. */
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
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
16221ac_cv_lib_xpg4_setlocale=no
16222fi
16223rm -f conftest.err conftest.$ac_objext \
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
16233
16234if test x$support_tinting = xyes; then 16369if test x$support_tinting = xyes; then
16235 16370
16236cat >>confdefs.h <<\_ACEOF 16371cat >>confdefs.h <<\_ACEOF
16237#define TINTING 1 16372#define TINTING 1
16238_ACEOF 16373_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines