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.66 by root, Wed Jan 11 19:55:33 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 896 --enable-strings enable some replacement system functions
898 --disable-swapscreen disable swap screen support 897 --disable-swapscreen disable swap screen support
899 --enable-iso14755 enable support for extended ISO 14755 modes 898 --enable-iso14755 enable support for extended ISO 14755 modes
4639_ACEOF 4638_ACEOF
4640 4639
4641 fi 4640 fi
4642fi; 4641fi;
4643 4642
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. 4643# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
4657if test "${enable_8bitctrls+set}" = set; then 4644if test "${enable_8bitctrls+set}" = set; then
4658 enableval="$enable_8bitctrls" 4645 enableval="$enable_8bitctrls"
4659 if test x$enableval = xyes -o x$enableval = xno; then 4646 if test x$enableval = xyes -o x$enableval = xno; then
4660 support_8bitctrls=$enableval 4647 support_8bitctrls=$enableval
10196 10183
10197 10184
10198 10185
10199 10186
10200 10187
10201
10202for ac_func in \ 10188for ac_func in \
10203 atexit \ 10189 atexit \
10204 revoke \ 10190 revoke \
10205 unsetenv \ 10191 unsetenv \
10206 setutent \ 10192 setutent \
10207 seteuid \ 10193 seteuid \
10208 setreuid \ 10194 setreuid \
10209 setsid \ 10195 setsid \
10210 setpgrp \ 10196 setpgrp \
10211 setpgid \ 10197 setpgid \
10212 openpty \
10213 _getpty \ 10198 _getpty \
10214 grantpt \ 10199 grantpt \
10215 unlockpt \ 10200 unlockpt \
10216 isastream \ 10201 isastream \
10217 on_exit \ 10202 on_exit \
12055rm -f conftest.err conftest.$ac_objext \ 12040rm -f conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext 12041 conftest$ac_exeext conftest.$ac_ext
12057fi 12042fi
12058echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 12043echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5
12059echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 12044echo "${ECHO_T}$rxvt_cv_func_getpt" >&6
12060if test x$rxvt_cv_func_getpt = xyes; then 12045if test x$rxvt_cv_func_getpt = xno; then
12061 12046 echo "$as_me:$LINENO: checking for openpty" >&5
12047echo $ECHO_N "checking for openpty... $ECHO_C" >&6
12048if test "${ac_cv_func_openpty+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6
12050else
12051 cat >conftest.$ac_ext <<_ACEOF
12052/* confdefs.h. */
12053_ACEOF
12054cat confdefs.h >>conftest.$ac_ext
12062cat >>confdefs.h <<\_ACEOF 12055cat >>conftest.$ac_ext <<_ACEOF
12063#define HAVE_GETPT 1 12056/* end confdefs.h. */
12057/* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
12058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12059#define openpty innocuous_openpty
12060
12061/* System header to define __stub macros and hopefully few prototypes,
12062 which can conflict with char openpty (); below.
12063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12064 <limits.h> exists even on freestanding compilers. */
12065
12066#ifdef __STDC__
12067# include <limits.h>
12068#else
12069# include <assert.h>
12070#endif
12071
12072#undef openpty
12073
12074/* Override any gcc2 internal prototype to avoid an error. */
12075#ifdef __cplusplus
12076extern "C"
12077{
12078#endif
12079/* We use char because int might match the return type of a gcc2
12080 builtin and then its argument prototype would still apply. */
12081char openpty ();
12082/* The GNU C library defines this for functions which it implements
12083 to always fail with ENOSYS. Some functions are actually named
12084 something starting with __ and the normal name is an alias. */
12085#if defined (__stub_openpty) || defined (__stub___openpty)
12086choke me
12087#else
12088char (*f) () = openpty;
12089#endif
12090#ifdef __cplusplus
12091}
12092#endif
12093
12094int
12095main ()
12096{
12097return f != openpty;
12098 ;
12099 return 0;
12100}
12064_ACEOF 12101_ACEOF
12102rm -f conftest.$ac_objext conftest$ac_exeext
12103if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>conftest.er1
12105 ac_status=$?
12106 grep -v '^ *+' conftest.er1 >conftest.err
12107 rm -f conftest.er1
12108 cat conftest.err >&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12114 ac_status=$?
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; } &&
12117 { ac_try='test -s conftest$ac_exeext'
12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12119 (eval $ac_try) 2>&5
12120 ac_status=$?
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }; }; then
12123 ac_cv_func_openpty=yes
12124else
12125 echo "$as_me: failed program was:" >&5
12126sed 's/^/| /' conftest.$ac_ext >&5
12127
12128ac_cv_func_openpty=no
12129fi
12130rm -f conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132fi
12133echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
12134echo "${ECHO_T}$ac_cv_func_openpty" >&6
12135if test $ac_cv_func_openpty = yes; then
12136 :
12137else
12138 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12139echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12140if test "${ac_cv_lib_util_openpty+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12142else
12143 ac_check_lib_save_LIBS=$LIBS
12144LIBS="-lutil $LIBS"
12145cat >conftest.$ac_ext <<_ACEOF
12146/* confdefs.h. */
12147_ACEOF
12148cat confdefs.h >>conftest.$ac_ext
12149cat >>conftest.$ac_ext <<_ACEOF
12150/* end confdefs.h. */
12151
12152/* Override any gcc2 internal prototype to avoid an error. */
12153#ifdef __cplusplus
12154extern "C"
12155#endif
12156/* We use char because int might match the return type of a gcc2
12157 builtin and then its argument prototype would still apply. */
12158char openpty ();
12159int
12160main ()
12161{
12162openpty ();
12163 ;
12164 return 0;
12165}
12166_ACEOF
12167rm -f conftest.$ac_objext conftest$ac_exeext
12168if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12169 (eval $ac_link) 2>conftest.er1
12170 ac_status=$?
12171 grep -v '^ *+' conftest.er1 >conftest.err
12172 rm -f conftest.er1
12173 cat conftest.err >&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); } &&
12176 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; } &&
12182 { ac_try='test -s conftest$ac_exeext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12185 ac_status=$?
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 ac_cv_lib_util_openpty=yes
12189else
12190 echo "$as_me: failed program was:" >&5
12191sed 's/^/| /' conftest.$ac_ext >&5
12192
12193ac_cv_lib_util_openpty=no
12194fi
12195rm -f conftest.err conftest.$ac_objext \
12196 conftest$ac_exeext conftest.$ac_ext
12197LIBS=$ac_check_lib_save_LIBS
12198fi
12199echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12200echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12201if test $ac_cv_lib_util_openpty = yes; then
12202 LIBS="$LIBS -lutil"
12203fi
12204
12205fi
12065 12206
12066fi 12207fi
12067 12208
12068echo "$as_me:$LINENO: checking for pty/tty type" >&5 12209echo "$as_me:$LINENO: checking for pty/tty type" >&5
12069echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 12210echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
12070if test "${rxvt_cv_ptys+set}" = set; then 12211if test "${rxvt_cv_ptys+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6 12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12072else 12213else
12073 if test x$ac_cv_func_openpty = xyes; then 12214 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12074 rxvt_cv_ptys=OPENPTY 12215 rxvt_cv_ptys=OPENPTY
12075 else if test x$ac_cv_func__getpty = xyes; then 12216 else if test x$ac_cv_func__getpty = xyes; then
12076 rxvt_cv_ptys=SGI4 12217 rxvt_cv_ptys=SGI4
12077 else if test -c /dev/ttyp20; then 12218 else if test -c /dev/ttyp20; then
12078 rxvt_cv_ptys=SCO 12219 rxvt_cv_ptys=SCO
12832 12973
12833 12974
12834 12975
12835 12976
12836 12977
12837if text x$support_perl = xyes; then 12978if test x$support_perl = xyes; then
12838 support_frills=yes 12979 support_frills=yes
12839fi 12980fi
12840 12981
12841 12982
12842CFLAGS=${CFLAGS--O} 12983CFLAGS=${CFLAGS--O}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines