… | |
… | |
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 |
4642 | fi; |
4641 | fi; |
4643 | |
4642 | |
4644 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
|
|
4645 | if test "${enable_xgetdefault+set}" = set; then |
|
|
4646 | enableval="$enable_xgetdefault" |
|
|
4647 | if test x$enableval = xyes; then |
|
|
4648 | |
|
|
4649 | cat >>confdefs.h <<\_ACEOF |
|
|
4650 | #define USE_XGETDEFAULT 1 |
|
|
4651 | _ACEOF |
|
|
4652 | |
|
|
4653 | fi |
|
|
4654 | fi; |
|
|
4655 | |
|
|
4656 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4643 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4657 | if test "${enable_8bitctrls+set}" = set; then |
4644 | if 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 |
… | |
… | |
7308 | |
7295 | |
7309 | |
7296 | |
7310 | |
7297 | |
7311 | |
7298 | |
7312 | |
7299 | |
|
|
7300 | |
|
|
7301 | |
7313 | for ac_header in \ |
7302 | for ac_header in \ |
7314 | assert.h \ |
7303 | assert.h \ |
7315 | fcntl.h \ |
7304 | fcntl.h \ |
7316 | grp.h \ |
7305 | grp.h \ |
7317 | libc.h \ |
7306 | libc.h \ |
… | |
… | |
7330 | sys/time.h \ |
7319 | sys/time.h \ |
7331 | utmp.h \ |
7320 | utmp.h \ |
7332 | utmpx.h \ |
7321 | utmpx.h \ |
7333 | stdint.h \ |
7322 | stdint.h \ |
7334 | pty.h \ |
7323 | pty.h \ |
|
|
7324 | util.h \ |
|
|
7325 | libutil.h \ |
7335 | wchar.h \ |
7326 | wchar.h \ |
7336 | cwchar \ |
7327 | cwchar \ |
7337 | clocale \ |
7328 | clocale \ |
7338 | |
7329 | |
7339 | do |
7330 | do |
… | |
… | |
10192 | |
10183 | |
10193 | |
10184 | |
10194 | |
10185 | |
10195 | |
10186 | |
10196 | |
10187 | |
10197 | |
|
|
10198 | for ac_func in \ |
10188 | for ac_func in \ |
10199 | atexit \ |
10189 | atexit \ |
10200 | revoke \ |
10190 | revoke \ |
10201 | unsetenv \ |
10191 | unsetenv \ |
10202 | setutent \ |
10192 | setutent \ |
10203 | seteuid \ |
10193 | seteuid \ |
10204 | setreuid \ |
10194 | setreuid \ |
10205 | setsid \ |
10195 | setsid \ |
10206 | setpgrp \ |
10196 | setpgrp \ |
10207 | setpgid \ |
10197 | setpgid \ |
10208 | openpty \ |
|
|
10209 | _getpty \ |
10198 | _getpty \ |
10210 | grantpt \ |
10199 | grantpt \ |
10211 | unlockpt \ |
10200 | unlockpt \ |
10212 | isastream \ |
10201 | isastream \ |
10213 | on_exit \ |
10202 | on_exit \ |
… | |
… | |
12051 | rm -f conftest.err conftest.$ac_objext \ |
12040 | rm -f conftest.err conftest.$ac_objext \ |
12052 | conftest$ac_exeext conftest.$ac_ext |
12041 | conftest$ac_exeext conftest.$ac_ext |
12053 | fi |
12042 | fi |
12054 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
12043 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
12055 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
12044 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
12056 | if test x$rxvt_cv_func_getpt = xyes; then |
12045 | if test x$rxvt_cv_func_getpt = xno; then |
12057 | |
12046 | echo "$as_me:$LINENO: checking for openpty" >&5 |
|
|
12047 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
|
|
12048 | if test "${ac_cv_func_openpty+set}" = set; then |
|
|
12049 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12050 | else |
|
|
12051 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12052 | /* confdefs.h. */ |
|
|
12053 | _ACEOF |
|
|
12054 | cat confdefs.h >>conftest.$ac_ext |
12058 | cat >>confdefs.h <<\_ACEOF |
12055 | cat >>conftest.$ac_ext <<_ACEOF |
12059 | #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 |
|
|
12076 | extern "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. */ |
|
|
12081 | char 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) |
|
|
12086 | choke me |
|
|
12087 | #else |
|
|
12088 | char (*f) () = openpty; |
|
|
12089 | #endif |
|
|
12090 | #ifdef __cplusplus |
|
|
12091 | } |
|
|
12092 | #endif |
|
|
12093 | |
|
|
12094 | int |
|
|
12095 | main () |
|
|
12096 | { |
|
|
12097 | return f != openpty; |
|
|
12098 | ; |
|
|
12099 | return 0; |
|
|
12100 | } |
12060 | _ACEOF |
12101 | _ACEOF |
|
|
12102 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12103 | if { (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 |
|
|
12124 | else |
|
|
12125 | echo "$as_me: failed program was:" >&5 |
|
|
12126 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12127 | |
|
|
12128 | ac_cv_func_openpty=no |
|
|
12129 | fi |
|
|
12130 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12131 | conftest$ac_exeext conftest.$ac_ext |
|
|
12132 | fi |
|
|
12133 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
|
|
12134 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
|
|
12135 | if test $ac_cv_func_openpty = yes; then |
|
|
12136 | : |
|
|
12137 | else |
|
|
12138 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12139 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12140 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12141 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12142 | else |
|
|
12143 | ac_check_lib_save_LIBS=$LIBS |
|
|
12144 | LIBS="-lutil $LIBS" |
|
|
12145 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12146 | /* confdefs.h. */ |
|
|
12147 | _ACEOF |
|
|
12148 | cat confdefs.h >>conftest.$ac_ext |
|
|
12149 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12150 | /* end confdefs.h. */ |
|
|
12151 | |
|
|
12152 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12153 | #ifdef __cplusplus |
|
|
12154 | extern "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. */ |
|
|
12158 | char openpty (); |
|
|
12159 | int |
|
|
12160 | main () |
|
|
12161 | { |
|
|
12162 | openpty (); |
|
|
12163 | ; |
|
|
12164 | return 0; |
|
|
12165 | } |
|
|
12166 | _ACEOF |
|
|
12167 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12168 | if { (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 |
|
|
12189 | else |
|
|
12190 | echo "$as_me: failed program was:" >&5 |
|
|
12191 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12192 | |
|
|
12193 | ac_cv_lib_util_openpty=no |
|
|
12194 | fi |
|
|
12195 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12196 | conftest$ac_exeext conftest.$ac_ext |
|
|
12197 | LIBS=$ac_check_lib_save_LIBS |
|
|
12198 | fi |
|
|
12199 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12200 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12201 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12202 | LIBS="$LIBS -lutil" |
|
|
12203 | fi |
|
|
12204 | |
|
|
12205 | fi |
12061 | |
12206 | |
12062 | fi |
12207 | fi |
12063 | |
12208 | |
12064 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12209 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12065 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12210 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12066 | if test "${rxvt_cv_ptys+set}" = set; then |
12211 | if test "${rxvt_cv_ptys+set}" = set; then |
12067 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12212 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12068 | else |
12213 | else |
12069 | 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 |
12070 | rxvt_cv_ptys=OPENPTY |
12215 | rxvt_cv_ptys=OPENPTY |
12071 | else if test x$ac_cv_func__getpty = xyes; then |
12216 | else if test x$ac_cv_func__getpty = xyes; then |
12072 | rxvt_cv_ptys=SGI4 |
12217 | rxvt_cv_ptys=SGI4 |
12073 | else if test -c /dev/ttyp20; then |
12218 | else if test -c /dev/ttyp20; then |
12074 | rxvt_cv_ptys=SCO |
12219 | rxvt_cv_ptys=SCO |
… | |
… | |
12827 | |
12972 | |
12828 | |
12973 | |
12829 | |
12974 | |
12830 | |
12975 | |
12831 | |
12976 | |
|
|
12977 | |
|
|
12978 | if test x$support_perl = xyes; then |
|
|
12979 | support_frills=yes |
|
|
12980 | fi |
12832 | |
12981 | |
12833 | |
12982 | |
12834 | CFLAGS=${CFLAGS--O} |
12983 | CFLAGS=${CFLAGS--O} |
12835 | LDFLAGS=${LDFLAGS--O} |
12984 | LDFLAGS=${LDFLAGS--O} |
12836 | |
12985 | |