ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.66 by root, Wed Jan 11 19:55:33 2006 UTC vs.
Revision 1.69 by root, Mon Jan 16 11:26:39 2006 UTC

891 --disable-backspace-key disable handling of the backspace key 891 --disable-backspace-key disable handling of the backspace key
892 --disable-delete-key disable handling of the delete key 892 --disable-delete-key disable handling of the delete key
893 --disable-resources disable all resource checking 893 --disable-resources disable all resource checking
894 --enable-8bitctrls enable 8 bit control sequences (not recommended) 894 --enable-8bitctrls enable 8 bit control sequences (not recommended)
895 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 895 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
896 --enable-strings enable some replacement system functions
897 --disable-swapscreen disable swap screen support 896 --disable-swapscreen disable swap screen support
898 --enable-iso14755 enable support for extended ISO 14755 modes 897 --enable-iso14755 enable support for extended ISO 14755 modes
899 --enable-frills enable support for rarely used features 898 --enable-frills enable support for rarely used features
900 --enable-24bit enable support for using 24bit visuals if available 899 --enable-24bit enable support for using 24bit visuals if available
901 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 900 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
4317 conftest$ac_exeext conftest.$ac_ext 4316 conftest$ac_exeext conftest.$ac_ext
4318 4317
4319 4318
4320MALLOC_TYPE=S 4319MALLOC_TYPE=S
4321 4320
4322support_addstrings=no
4323support_frills=yes 4321support_frills=yes
4324support_inheritpixmap=yes 4322support_inheritpixmap=yes
4325support_tinting=yes 4323support_tinting=yes
4326support_fading=yes 4324support_fading=yes
4327support_keepscrolling=yes 4325support_keepscrolling=yes
4707 4705
4708 4706
4709RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 4707RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
4710 4708
4711 4709
4712# Check whether --enable-strings or --disable-strings was given.
4713if test "${enable_strings+set}" = set; then
4714 enableval="$enable_strings"
4715 if test x$enableval = xyes -o x$enableval = xno; then
4716 support_addstrings=$enableval
4717 fi
4718fi;
4719
4720# Check whether --enable-swapscreen or --disable-swapscreen was given. 4710# Check whether --enable-swapscreen or --disable-swapscreen was given.
4721if test "${enable_swapscreen+set}" = set; then 4711if test "${enable_swapscreen+set}" = set; then
4722 enableval="$enable_swapscreen" 4712 enableval="$enable_swapscreen"
4723 if test x$enableval = xno; then 4713 if test x$enableval = xno; then
4724 4714
10183 10173
10184 10174
10185 10175
10186 10176
10187 10177
10178
10188for ac_func in \ 10179for ac_func in \
10189 atexit \ 10180 atexit \
10190 revoke \ 10181 revoke \
10191 unsetenv \ 10182 unsetenv \
10192 setutent \ 10183 setutent \
10194 setreuid \ 10185 setreuid \
10195 setsid \ 10186 setsid \
10196 setpgrp \ 10187 setpgrp \
10197 setpgid \ 10188 setpgid \
10198 _getpty \ 10189 _getpty \
10190 posix_openpt \
10199 grantpt \ 10191 grantpt \
10200 unlockpt \ 10192 unlockpt \
10201 isastream \ 10193 isastream \
10202 on_exit \ 10194 on_exit \
10203 nanosleep \ 10195 nanosleep \
11984#define XIMCB_PROTO_BROKEN 1 11976#define XIMCB_PROTO_BROKEN 1
11985_ACEOF 11977_ACEOF
11986 11978
11987fi 11979fi
11988 11980
11989echo "$as_me:$LINENO: checking for getpt" >&5
11990echo $ECHO_N "checking for getpt... $ECHO_C" >&6
11991if test "${rxvt_cv_func_getpt+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11993else
11994 cat >conftest.$ac_ext <<_ACEOF
11995/* confdefs.h. */
11996_ACEOF
11997cat confdefs.h >>conftest.$ac_ext
11998cat >>conftest.$ac_ext <<_ACEOF
11999/* end confdefs.h. */
12000#define _GNU_SOURCE
12001#ifdef HAVE_STDLIB_H
12002# include <cstdlib>
12003#endif
12004int
12005main ()
12006{
12007(void)getpt();
12008 ;
12009 return 0;
12010}
12011_ACEOF
12012rm -f conftest.$ac_objext conftest$ac_exeext
12013if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12014 (eval $ac_link) 2>conftest.er1
12015 ac_status=$?
12016 grep -v '^ *+' conftest.er1 >conftest.err
12017 rm -f conftest.er1
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } &&
12021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023 (eval $ac_try) 2>&5
12024 ac_status=$?
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); }; } &&
12027 { ac_try='test -s conftest$ac_exeext'
12028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12029 (eval $ac_try) 2>&5
12030 ac_status=$?
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); }; }; then
12033 rxvt_cv_func_getpt=yes
12034else
12035 echo "$as_me: failed program was:" >&5
12036sed 's/^/| /' conftest.$ac_ext >&5
12037
12038rxvt_cv_func_getpt=no
12039fi
12040rm -f conftest.err conftest.$ac_objext \
12041 conftest$ac_exeext conftest.$ac_ext
12042fi
12043echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5
12044echo "${ECHO_T}$rxvt_cv_func_getpt" >&6
12045if test x$rxvt_cv_func_getpt = xno; then 11981if test x$rxvt_cv_func_posix_openpt = xno; then
12046 echo "$as_me:$LINENO: checking for openpty" >&5 11982 echo "$as_me:$LINENO: checking for openpty" >&5
12047echo $ECHO_N "checking for openpty... $ECHO_C" >&6 11983echo $ECHO_N "checking for openpty... $ECHO_C" >&6
12048if test "${ac_cv_func_openpty+set}" = set; then 11984if test "${ac_cv_func_openpty+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6 11985 echo $ECHO_N "(cached) $ECHO_C" >&6
12050else 11986else
12211if test "${rxvt_cv_ptys+set}" = set; then 12147if test "${rxvt_cv_ptys+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6 12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12213else 12149else
12214 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then 12150 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12215 rxvt_cv_ptys=OPENPTY 12151 rxvt_cv_ptys=OPENPTY
12152 else if test x$ac_cv_func_posix_openpt = xyes; then
12153 rxvt_cv_ptys=POSIX
12216 else if test x$ac_cv_func__getpty = xyes; then 12154 else if test x$ac_cv_func__getpty = xyes; then
12217 rxvt_cv_ptys=SGI4 12155 rxvt_cv_ptys=SGI4
12218 else if test -c /dev/ttyp20; then 12156 else if test -c /dev/ttyp20; then
12219 rxvt_cv_ptys=SCO 12157 rxvt_cv_ptys=SCO
12220 else if test -c /dev/ptym/clone; then 12158 else if test -c /dev/ptym/clone; then
12221 rxvt_cv_ptys=HPUX 12159 rxvt_cv_ptys=HPUX
12222 else if test x$rxvt_cv_func_getpt = xyes; then
12223 rxvt_cv_ptys=GLIBC
12224 else if test -c /dev/ptc -a -c /dev/pts; then 12160 else if test -c /dev/ptc -a -c /dev/pts; then
12225 rxvt_cv_ptys=PTC 12161 rxvt_cv_ptys=PTC
12226 else if test -c /dev/ptc -a -d /dev/pts; then 12162 else if test -c /dev/ptc -a -d /dev/pts; then
12227 rxvt_cv_ptys=PTC 12163 rxvt_cv_ptys=PTC
12228 else if test -c /dev/ptmx -a -c /dev/pts/0; then 12164 else if test -c /dev/ptmx -a -c /dev/pts/0; then
12243 12179
12244fi 12180fi
12245echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12181echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12246echo "${ECHO_T}$rxvt_cv_ptys" >&6 12182echo "${ECHO_T}$rxvt_cv_ptys" >&6
12247 12183
12184if test x$rxvt_cv_ptys = xPOSIX; then
12185
12186cat >>confdefs.h <<\_ACEOF
12187#define PTYS_ARE_POSIX 1
12188_ACEOF
12189
12190fi
12248if test x$rxvt_cv_ptys = xOPENPTY; then 12191if test x$rxvt_cv_ptys = xOPENPTY; then
12249 12192
12250cat >>confdefs.h <<\_ACEOF 12193cat >>confdefs.h <<\_ACEOF
12251#define PTYS_ARE_OPENPTY 1 12194#define PTYS_ARE_OPENPTY 1
12252_ACEOF 12195_ACEOF
12278cat >>confdefs.h <<\_ACEOF 12221cat >>confdefs.h <<\_ACEOF
12279#define PTYS_ARE__GETPTY 1 12222#define PTYS_ARE__GETPTY 1
12280_ACEOF 12223_ACEOF
12281 12224
12282fi 12225fi
12283if test x$rxvt_cv_ptys = xCONVEX; then
12284
12285cat >>confdefs.h <<\_ACEOF
12286#define PTYS_ARE_GETPTY 1
12287_ACEOF
12288
12289fi
12290if test x$rxvt_cv_ptys = xGLIBC; then
12291
12292cat >>confdefs.h <<\_ACEOF
12293#define PTYS_ARE_GETPT 1
12294_ACEOF
12295
12296fi
12297if test x$rxvt_cv_ptys = xHPUX; then 12226if test x$rxvt_cv_ptys = xHPUX; then
12298 12227
12299cat >>confdefs.h <<\_ACEOF 12228cat >>confdefs.h <<\_ACEOF
12300#define PTYS_ARE_CLONE 1 12229#define PTYS_ARE_CLONE 1
12301_ACEOF 12230_ACEOF
12302 12231
12303fi 12232fi
12304if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then 12233if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
12305 12234
12306cat >>confdefs.h <<\_ACEOF 12235cat >>confdefs.h <<\_ACEOF
12307#define PTYS_ARE_SEARCHED 1 12236#define PTYS_ARE_SEARCHED 1
12308_ACEOF 12237_ACEOF
12309 12238
13000fi 12929fi
13001 12930
13002 12931
13003 12932
13004 12933
13005
13006if test x$support_addstrings = xno; then
13007
13008cat >>confdefs.h <<\_ACEOF
13009#define NO_STRINGS 1
13010_ACEOF
13011
13012fi
13013 12934
13014MCOMMON=./autoconf/Make.common 12935MCOMMON=./autoconf/Make.common
13015 12936
13016 12937
13017test "$program_prefix" != NONE && 12938test "$program_prefix" != NONE &&

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines