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

Comparing rxvt-unicode/configure (file contents):
Revision 1.64 by root, Tue Jan 10 18:09:22 2006 UTC vs.
Revision 1.70 by root, Mon Jan 16 14:35:23 2006 UTC

889 --enable-xim XIM (X Input Method) protocol support 889 --enable-xim XIM (X Input Method) protocol support
890 --enable-ttygid enable tty setting to group named "tty" 890 --enable-ttygid enable tty setting to group named "tty"
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-xgetdefault enable resources via X instead of our small version
895 --enable-8bitctrls enable 8 bit control sequences (not recommended) 894 --enable-8bitctrls enable 8 bit control sequences (not recommended)
896 --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)
897 --enable-strings enable some replacement system functions
898 --disable-swapscreen disable swap screen support 896 --disable-swapscreen disable swap screen support
899 --enable-iso14755 enable support for extended ISO 14755 modes 897 --enable-iso14755 enable support for extended ISO 14755 modes
900 --enable-frills enable support for rarely used features 898 --enable-frills enable support for rarely used features
901 --enable-24bit enable support for using 24bit visuals if available 899 --enable-24bit enable support for using 24bit visuals if available
902 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 900 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
4318 conftest$ac_exeext conftest.$ac_ext 4316 conftest$ac_exeext conftest.$ac_ext
4319 4317
4320 4318
4321MALLOC_TYPE=S 4319MALLOC_TYPE=S
4322 4320
4323support_addstrings=no
4324support_frills=yes 4321support_frills=yes
4325support_inheritpixmap=yes 4322support_inheritpixmap=yes
4326support_tinting=yes 4323support_tinting=yes
4327support_fading=yes 4324support_fading=yes
4328support_keepscrolling=yes 4325support_keepscrolling=yes
4639_ACEOF 4636_ACEOF
4640 4637
4641 fi 4638 fi
4642fi; 4639fi;
4643 4640
4644# Check whether --enable-xgetdefault or --disable-xgetdefault was given.
4645if test "${enable_xgetdefault+set}" = set; then
4646 enableval="$enable_xgetdefault"
4647 if test x$enableval = xyes; then
4648
4649cat >>confdefs.h <<\_ACEOF
4650#define USE_XGETDEFAULT 1
4651_ACEOF
4652
4653 fi
4654fi;
4655
4656# Check whether --enable-8bitctrls or --disable-8bitctrls was given. 4641# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
4657if test "${enable_8bitctrls+set}" = set; then 4642if test "${enable_8bitctrls+set}" = set; then
4658 enableval="$enable_8bitctrls" 4643 enableval="$enable_8bitctrls"
4659 if test x$enableval = xyes -o x$enableval = xno; then 4644 if test x$enableval = xyes -o x$enableval = xno; then
4660 support_8bitctrls=$enableval 4645 support_8bitctrls=$enableval
4719_ACEOF 4704_ACEOF
4720 4705
4721 4706
4722RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 4707RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
4723 4708
4724
4725# Check whether --enable-strings or --disable-strings was given.
4726if test "${enable_strings+set}" = set; then
4727 enableval="$enable_strings"
4728 if test x$enableval = xyes -o x$enableval = xno; then
4729 support_addstrings=$enableval
4730 fi
4731fi;
4732 4709
4733# Check whether --enable-swapscreen or --disable-swapscreen was given. 4710# Check whether --enable-swapscreen or --disable-swapscreen was given.
4734if test "${enable_swapscreen+set}" = set; then 4711if test "${enable_swapscreen+set}" = set; then
4735 enableval="$enable_swapscreen" 4712 enableval="$enable_swapscreen"
4736 if test x$enableval = xno; then 4713 if test x$enableval = xno; then
10207 seteuid \ 10184 seteuid \
10208 setreuid \ 10185 setreuid \
10209 setsid \ 10186 setsid \
10210 setpgrp \ 10187 setpgrp \
10211 setpgid \ 10188 setpgid \
10212 openpty \
10213 _getpty \ 10189 _getpty \
10190 posix_openpt \
10214 grantpt \ 10191 grantpt \
10215 unlockpt \ 10192 unlockpt \
10216 isastream \ 10193 isastream \
10217 on_exit \ 10194 on_exit \
10218 nanosleep \ 10195 nanosleep \
11999#define XIMCB_PROTO_BROKEN 1 11976#define XIMCB_PROTO_BROKEN 1
12000_ACEOF 11977_ACEOF
12001 11978
12002fi 11979fi
12003 11980
11981if test x$ac_cv_func_posix_openpt = xno; then
12004echo "$as_me:$LINENO: checking for getpt" >&5 11982 echo "$as_me:$LINENO: checking for openpty" >&5
12005echo $ECHO_N "checking for getpt... $ECHO_C" >&6 11983echo $ECHO_N "checking for openpty... $ECHO_C" >&6
12006if test "${rxvt_cv_func_getpt+set}" = set; then 11984if test "${ac_cv_func_openpty+set}" = set; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6 11985 echo $ECHO_N "(cached) $ECHO_C" >&6
12008else 11986else
12009 cat >conftest.$ac_ext <<_ACEOF 11987 cat >conftest.$ac_ext <<_ACEOF
12010/* confdefs.h. */ 11988/* confdefs.h. */
12011_ACEOF 11989_ACEOF
12012cat confdefs.h >>conftest.$ac_ext 11990cat confdefs.h >>conftest.$ac_ext
12013cat >>conftest.$ac_ext <<_ACEOF 11991cat >>conftest.$ac_ext <<_ACEOF
12014/* end confdefs.h. */ 11992/* end confdefs.h. */
12015#define _GNU_SOURCE 11993/* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
12016#ifdef HAVE_STDLIB_H 11994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12017# include <cstdlib> 11995#define openpty innocuous_openpty
11996
11997/* System header to define __stub macros and hopefully few prototypes,
11998 which can conflict with char openpty (); below.
11999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12000 <limits.h> exists even on freestanding compilers. */
12001
12002#ifdef __STDC__
12003# include <limits.h>
12004#else
12005# include <assert.h>
12018#endif 12006#endif
12007
12008#undef openpty
12009
12010/* Override any gcc2 internal prototype to avoid an error. */
12011#ifdef __cplusplus
12012extern "C"
12013{
12014#endif
12015/* We use char because int might match the return type of a gcc2
12016 builtin and then its argument prototype would still apply. */
12017char openpty ();
12018/* The GNU C library defines this for functions which it implements
12019 to always fail with ENOSYS. Some functions are actually named
12020 something starting with __ and the normal name is an alias. */
12021#if defined (__stub_openpty) || defined (__stub___openpty)
12022choke me
12023#else
12024char (*f) () = openpty;
12025#endif
12026#ifdef __cplusplus
12027}
12028#endif
12029
12019int 12030int
12020main () 12031main ()
12021{ 12032{
12022(void)getpt(); 12033return f != openpty;
12023 ; 12034 ;
12024 return 0; 12035 return 0;
12025} 12036}
12026_ACEOF 12037_ACEOF
12027rm -f conftest.$ac_objext conftest$ac_exeext 12038rm -f conftest.$ac_objext conftest$ac_exeext
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5 12055 (eval $ac_try) 2>&5
12045 ac_status=$? 12056 ac_status=$?
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then 12058 (exit $ac_status); }; }; then
12048 rxvt_cv_func_getpt=yes 12059 ac_cv_func_openpty=yes
12049else 12060else
12050 echo "$as_me: failed program was:" >&5 12061 echo "$as_me: failed program was:" >&5
12051sed 's/^/| /' conftest.$ac_ext >&5 12062sed 's/^/| /' conftest.$ac_ext >&5
12052 12063
12053rxvt_cv_func_getpt=no 12064ac_cv_func_openpty=no
12054fi 12065fi
12055rm -f conftest.err conftest.$ac_objext \ 12066rm -f conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext 12067 conftest$ac_exeext conftest.$ac_ext
12057fi 12068fi
12058echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 12069echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
12059echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 12070echo "${ECHO_T}$ac_cv_func_openpty" >&6
12060if test x$rxvt_cv_func_getpt = xyes; then 12071if test $ac_cv_func_openpty = yes; then
12061 12072 :
12073else
12074 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12075echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12076if test "${ac_cv_lib_util_openpty+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12078else
12079 ac_check_lib_save_LIBS=$LIBS
12080LIBS="-lutil $LIBS"
12081cat >conftest.$ac_ext <<_ACEOF
12082/* confdefs.h. */
12083_ACEOF
12084cat confdefs.h >>conftest.$ac_ext
12062cat >>confdefs.h <<\_ACEOF 12085cat >>conftest.$ac_ext <<_ACEOF
12063#define HAVE_GETPT 1 12086/* end confdefs.h. */
12087
12088/* Override any gcc2 internal prototype to avoid an error. */
12089#ifdef __cplusplus
12090extern "C"
12091#endif
12092/* We use char because int might match the return type of a gcc2
12093 builtin and then its argument prototype would still apply. */
12094char openpty ();
12095int
12096main ()
12097{
12098openpty ();
12099 ;
12100 return 0;
12101}
12064_ACEOF 12102_ACEOF
12103rm -f conftest.$ac_objext conftest$ac_exeext
12104if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12105 (eval $ac_link) 2>conftest.er1
12106 ac_status=$?
12107 grep -v '^ *+' conftest.er1 >conftest.err
12108 rm -f conftest.er1
12109 cat conftest.err >&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try='test -s conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12121 ac_status=$?
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 ac_cv_lib_util_openpty=yes
12125else
12126 echo "$as_me: failed program was:" >&5
12127sed 's/^/| /' conftest.$ac_ext >&5
12128
12129ac_cv_lib_util_openpty=no
12130fi
12131rm -f conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133LIBS=$ac_check_lib_save_LIBS
12134fi
12135echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12136echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12137if test $ac_cv_lib_util_openpty = yes; then
12138 LIBS="$LIBS -lutil"
12139fi
12140
12141fi
12065 12142
12066fi 12143fi
12067 12144
12068echo "$as_me:$LINENO: checking for pty/tty type" >&5 12145echo "$as_me:$LINENO: checking for pty/tty type" >&5
12069echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 12146echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
12070if test "${rxvt_cv_ptys+set}" = set; then 12147if test "${rxvt_cv_ptys+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6 12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12072else 12149else
12073 if test x$ac_cv_func_openpty = xyes; then 12150 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12074 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
12075 else if test x$ac_cv_func__getpty = xyes; then 12154 else if test x$ac_cv_func__getpty = xyes; then
12076 rxvt_cv_ptys=SGI4 12155 rxvt_cv_ptys=SGI4
12077 else if test -c /dev/ttyp20; then 12156 else if test -c /dev/ttyp20; then
12078 rxvt_cv_ptys=SCO 12157 rxvt_cv_ptys=SCO
12079 else if test -c /dev/ptym/clone; then 12158 else if test -c /dev/ptym/clone; then
12080 rxvt_cv_ptys=HPUX 12159 rxvt_cv_ptys=HPUX
12081 else if test x$rxvt_cv_func_getpt = xyes; then
12082 rxvt_cv_ptys=GLIBC
12083 else if test -c /dev/ptc -a -c /dev/pts; then 12160 else if test -c /dev/ptc -a -c /dev/pts; then
12084 rxvt_cv_ptys=PTC 12161 rxvt_cv_ptys=PTC
12085 else if test -c /dev/ptc -a -d /dev/pts; then 12162 else if test -c /dev/ptc -a -d /dev/pts; then
12086 rxvt_cv_ptys=PTC 12163 rxvt_cv_ptys=PTC
12087 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
12102 12179
12103fi 12180fi
12104echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12181echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12105echo "${ECHO_T}$rxvt_cv_ptys" >&6 12182echo "${ECHO_T}$rxvt_cv_ptys" >&6
12106 12183
12184if test x$rxvt_cv_ptys = xPOSIX; then
12185
12186cat >>confdefs.h <<\_ACEOF
12187#define PTYS_ARE_POSIX 1
12188_ACEOF
12189
12190fi
12107if test x$rxvt_cv_ptys = xOPENPTY; then 12191if test x$rxvt_cv_ptys = xOPENPTY; then
12108 12192
12109cat >>confdefs.h <<\_ACEOF 12193cat >>confdefs.h <<\_ACEOF
12110#define PTYS_ARE_OPENPTY 1 12194#define PTYS_ARE_OPENPTY 1
12111_ACEOF 12195_ACEOF
12137cat >>confdefs.h <<\_ACEOF 12221cat >>confdefs.h <<\_ACEOF
12138#define PTYS_ARE__GETPTY 1 12222#define PTYS_ARE__GETPTY 1
12139_ACEOF 12223_ACEOF
12140 12224
12141fi 12225fi
12142if test x$rxvt_cv_ptys = xCONVEX; then
12143
12144cat >>confdefs.h <<\_ACEOF
12145#define PTYS_ARE_GETPTY 1
12146_ACEOF
12147
12148fi
12149if test x$rxvt_cv_ptys = xGLIBC; then
12150
12151cat >>confdefs.h <<\_ACEOF
12152#define PTYS_ARE_GETPT 1
12153_ACEOF
12154
12155fi
12156if test x$rxvt_cv_ptys = xHPUX; then 12226if test x$rxvt_cv_ptys = xHPUX; then
12157 12227
12158cat >>confdefs.h <<\_ACEOF 12228cat >>confdefs.h <<\_ACEOF
12159#define PTYS_ARE_CLONE 1 12229#define PTYS_ARE_CLONE 1
12160_ACEOF 12230_ACEOF
12161 12231
12162fi 12232fi
12163if 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
12164 12234
12165cat >>confdefs.h <<\_ACEOF 12235cat >>confdefs.h <<\_ACEOF
12166#define PTYS_ARE_SEARCHED 1 12236#define PTYS_ARE_SEARCHED 1
12167_ACEOF 12237_ACEOF
12168 12238
12832 12902
12833 12903
12834 12904
12835 12905
12836 12906
12837if text x$support_perl = xyes; then 12907if test x$support_perl = xyes; then
12838 support_frills=yes 12908 support_frills=yes
12839fi 12909fi
12840 12910
12841 12911
12842CFLAGS=${CFLAGS--O} 12912CFLAGS=${CFLAGS--O}
12859fi 12929fi
12860 12930
12861 12931
12862 12932
12863 12933
12864
12865if test x$support_addstrings = xno; then
12866
12867cat >>confdefs.h <<\_ACEOF
12868#define NO_STRINGS 1
12869_ACEOF
12870
12871fi
12872 12934
12873MCOMMON=./autoconf/Make.common 12935MCOMMON=./autoconf/Make.common
12874 12936
12875 12937
12876test "$program_prefix" != NONE && 12938test "$program_prefix" != NONE &&

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines