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.26 by root, Sat Jul 10 20:59:38 2004 UTC

1049 --enable-ttygid enable tty setting to group named "tty" 1049 --enable-ttygid enable tty setting to group named "tty"
1050 --disable-backspace-key disable handling of the backspace key 1050 --disable-backspace-key disable handling of the backspace key
1051 --disable-delete-key disable handling of the delete key 1051 --disable-delete-key disable handling of the delete key
1052 --disable-resources disable all resource checking 1052 --disable-resources disable all resource checking
1053 --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)
1054 --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)
1055 --enable-strings enable some replacement system functions 1056 --enable-strings enable some replacement system functions
1056 --disable-swapscreen disable swap screen support 1057 --disable-swapscreen disable swap screen support
1057 --enable-frills enable support for rarely used features 1058 --enable-frills enable support for rarely used features
1058 --enable-linespace enable support for linespace 1059 --enable-linespace enable support for linespace
3689 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"
3690 3691
3691fi 3692fi
3692 3693
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"
3895fi
3896
3897
3694# Check whether --enable-shared or --disable-shared was given. 3898# Check whether --enable-shared or --disable-shared was given.
3695if test "${enable_shared+set}" = set; then 3899if test "${enable_shared+set}" = set; then
3696 enableval="$enable_shared" 3900 enableval="$enable_shared"
3697 p=${PACKAGE-default} 3901 p=${PACKAGE-default}
3698case "$enableval" in 3902case "$enableval" in
5031# 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
5032# libtool support. 5236# libtool support.
5033case "$host" in 5237case "$host" in
5034*-*-irix6*) 5238*-*-irix6*)
5035 # Find out which ABI we are using. 5239 # Find out which ABI we are using.
5036 echo '#line 5036 "configure"' > conftest.$ac_ext 5240 echo '#line 5240 "configure"' > conftest.$ac_ext
5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5038 (eval $ac_compile) 2>&5 5242 (eval $ac_compile) 2>&5
5039 ac_status=$? 5243 ac_status=$?
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; then 5245 (exit $ac_status); }; then
5582# builds. 5786# builds.
5583chmod -w . 5787chmod -w .
5584save_CFLAGS="$CFLAGS" 5788save_CFLAGS="$CFLAGS"
5585CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5789CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5586compiler_c_o=no 5790compiler_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 5791if { (eval echo configure:5791: \"$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 5792 # The compiler can only warn and ignore the option if not recognized
5589 # So say no if there are warnings 5793 # So say no if there are warnings
5590 if test -s out/conftest.err; then 5794 if test -s out/conftest.err; then
5591 compiler_c_o=no 5795 compiler_c_o=no
5592 else 5796 else
7198 lt_cv_dlopen_self=cross 7402 lt_cv_dlopen_self=cross
7199else 7403else
7200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7404 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7201 lt_status=$lt_dlunknown 7405 lt_status=$lt_dlunknown
7202 cat > conftest.$ac_ext <<EOF 7406 cat > conftest.$ac_ext <<EOF
7203#line 7203 "configure" 7407#line 7407 "configure"
7204#include "confdefs.h" 7408#include "confdefs.h"
7205 7409
7206#if HAVE_DLFCN_H 7410#if HAVE_DLFCN_H
7207#include <dlfcn.h> 7411#include <dlfcn.h>
7208#endif 7412#endif
7296 lt_cv_dlopen_self_static=cross 7500 lt_cv_dlopen_self_static=cross
7297else 7501else
7298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7299 lt_status=$lt_dlunknown 7503 lt_status=$lt_dlunknown
7300 cat > conftest.$ac_ext <<EOF 7504 cat > conftest.$ac_ext <<EOF
7301#line 7301 "configure" 7505#line 7505 "configure"
7302#include "confdefs.h" 7506#include "confdefs.h"
7303 7507
7304#if HAVE_DLFCN_H 7508#if HAVE_DLFCN_H
7305#include <dlfcn.h> 7509#include <dlfcn.h>
7306#endif 7510#endif
8050support_xim=no 8254support_xim=no
8051support_xpm=no 8255support_xpm=no
8052support_xft=no 8256support_xft=no
8053support_unicode3=no 8257support_unicode3=no
8054support_combining=no 8258support_combining=no
8259support_8bitctrls=no
8055codesets= 8260codesets=
8056 8261
8057 8262
8058if test "x$enable_shared" = xyes; then 8263if test "x$enable_shared" = xyes; then
8059 8264
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.
8292 8498
8293cat >>confdefs.h <<\_ACEOF 8499cat >>confdefs.h <<\_ACEOF
8294#define USE_XGETDEFAULT 1 8500#define USE_XGETDEFAULT 1
8295_ACEOF 8501_ACEOF
8296 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
8297 fi 8511 fi
8298fi; 8512fi;
8299 8513
8300RESFALLBACK=Rxvt 8514RESFALLBACK=Rxvt
8301# Check whether --enable-fallback or --disable-fallback was given. 8515# Check whether --enable-fallback or --disable-fallback was given.
16161#define PTYCHAR2 "$pch2" 16375#define PTYCHAR2 "$pch2"
16162_ACEOF 16376_ACEOF
16163 16377
16164fi 16378fi
16165 16379
16166echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16380if test x$support_8bitctrls = xyes; then
16167echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16381
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 16382cat >>confdefs.h <<\_ACEOF
16178/* end confdefs.h. */ 16383#define EIGHT_BIT_CONTROLS 1
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 16384_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 16385
16221ac_cv_lib_xpg4_setlocale=no
16222fi 16386fi
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 16387if test x$support_tinting = xyes; then
16235 16388
16236cat >>confdefs.h <<\_ACEOF 16389cat >>confdefs.h <<\_ACEOF
16237#define TINTING 1 16390#define TINTING 1
16238_ACEOF 16391_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines