… | |
… | |
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 | |
4321 | MALLOC_TYPE=S |
4319 | MALLOC_TYPE=S |
4322 | |
4320 | |
4323 | support_addstrings=no |
|
|
4324 | support_frills=yes |
4321 | support_frills=yes |
4325 | support_inheritpixmap=no |
4322 | support_inheritpixmap=yes |
4326 | support_tinting=yes |
4323 | support_tinting=yes |
4327 | support_fading=yes |
4324 | support_fading=yes |
4328 | support_keepscrolling=yes |
4325 | support_keepscrolling=yes |
4329 | support_selectionscrolling=yes |
4326 | support_selectionscrolling=yes |
4330 | support_menubar=no |
4327 | support_menubar=no |
… | |
… | |
4338 | support_scroll_rxvt=yes |
4335 | support_scroll_rxvt=yes |
4339 | support_scroll_next=yes |
4336 | support_scroll_next=yes |
4340 | support_scroll_xterm=yes |
4337 | support_scroll_xterm=yes |
4341 | support_scroll_plain=yes |
4338 | support_scroll_plain=yes |
4342 | support_xim=yes |
4339 | support_xim=yes |
4343 | support_xpm=no |
4340 | support_xpm=yes |
4344 | support_xft=yes |
4341 | support_xft=yes |
4345 | support_unicode3=no |
4342 | support_unicode3=no |
4346 | support_combining=yes |
4343 | support_combining=yes |
4347 | support_8bitctrls=no |
4344 | support_8bitctrls=no |
4348 | support_iso14755=yes |
4345 | support_iso14755=yes |
4349 | support_styles=yes |
4346 | support_styles=yes |
4350 | support_perl=no |
4347 | support_perl=yes |
4351 | codesets=all |
4348 | codesets=all |
4352 | |
4349 | |
4353 | |
4350 | |
4354 | if test "x$enable_shared" = xyes; then |
4351 | if test "x$enable_shared" = xyes; then |
4355 | |
4352 | |
… | |
… | |
4639 | _ACEOF |
4636 | _ACEOF |
4640 | |
4637 | |
4641 | fi |
4638 | fi |
4642 | fi; |
4639 | fi; |
4643 | |
4640 | |
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. |
4641 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4657 | if test "${enable_8bitctrls+set}" = set; then |
4642 | if 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 | |
4722 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4707 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4723 | |
4708 | |
4724 | |
|
|
4725 | # Check whether --enable-strings or --disable-strings was given. |
|
|
4726 | if 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 |
|
|
4731 | fi; |
|
|
4732 | |
4709 | |
4733 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4710 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4734 | if test "${enable_swapscreen+set}" = set; then |
4711 | if 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 |
… | |
… | |
7308 | |
7285 | |
7309 | |
7286 | |
7310 | |
7287 | |
7311 | |
7288 | |
7312 | |
7289 | |
|
|
7290 | |
|
|
7291 | |
7313 | for ac_header in \ |
7292 | for ac_header in \ |
7314 | assert.h \ |
7293 | assert.h \ |
7315 | fcntl.h \ |
7294 | fcntl.h \ |
7316 | grp.h \ |
7295 | grp.h \ |
7317 | libc.h \ |
7296 | libc.h \ |
… | |
… | |
7330 | sys/time.h \ |
7309 | sys/time.h \ |
7331 | utmp.h \ |
7310 | utmp.h \ |
7332 | utmpx.h \ |
7311 | utmpx.h \ |
7333 | stdint.h \ |
7312 | stdint.h \ |
7334 | pty.h \ |
7313 | pty.h \ |
|
|
7314 | util.h \ |
|
|
7315 | libutil.h \ |
7335 | wchar.h \ |
7316 | wchar.h \ |
7336 | cwchar \ |
7317 | cwchar \ |
7337 | clocale \ |
7318 | clocale \ |
7338 | |
7319 | |
7339 | do |
7320 | do |
… | |
… | |
10203 | seteuid \ |
10184 | seteuid \ |
10204 | setreuid \ |
10185 | setreuid \ |
10205 | setsid \ |
10186 | setsid \ |
10206 | setpgrp \ |
10187 | setpgrp \ |
10207 | setpgid \ |
10188 | setpgid \ |
10208 | openpty \ |
|
|
10209 | _getpty \ |
10189 | _getpty \ |
|
|
10190 | posix_openpt \ |
10210 | grantpt \ |
10191 | grantpt \ |
10211 | unlockpt \ |
10192 | unlockpt \ |
10212 | isastream \ |
10193 | isastream \ |
10213 | on_exit \ |
10194 | on_exit \ |
10214 | nanosleep \ |
10195 | nanosleep \ |
… | |
… | |
11995 | #define XIMCB_PROTO_BROKEN 1 |
11976 | #define XIMCB_PROTO_BROKEN 1 |
11996 | _ACEOF |
11977 | _ACEOF |
11997 | |
11978 | |
11998 | fi |
11979 | fi |
11999 | |
11980 | |
|
|
11981 | if test x$ac_cv_func_posix_openpt = xno; then |
12000 | echo "$as_me:$LINENO: checking for getpt" >&5 |
11982 | echo "$as_me:$LINENO: checking for openpty" >&5 |
12001 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
11983 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
12002 | if test "${rxvt_cv_func_getpt+set}" = set; then |
11984 | if test "${ac_cv_func_openpty+set}" = set; then |
12003 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11985 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12004 | else |
11986 | else |
12005 | cat >conftest.$ac_ext <<_ACEOF |
11987 | cat >conftest.$ac_ext <<_ACEOF |
12006 | /* confdefs.h. */ |
11988 | /* confdefs.h. */ |
12007 | _ACEOF |
11989 | _ACEOF |
12008 | cat confdefs.h >>conftest.$ac_ext |
11990 | cat confdefs.h >>conftest.$ac_ext |
12009 | cat >>conftest.$ac_ext <<_ACEOF |
11991 | cat >>conftest.$ac_ext <<_ACEOF |
12010 | /* end confdefs.h. */ |
11992 | /* end confdefs.h. */ |
12011 | #define _GNU_SOURCE |
11993 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
12012 | #ifdef HAVE_STDLIB_H |
11994 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12013 | # 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> |
12014 | #endif |
12006 | #endif |
|
|
12007 | |
|
|
12008 | #undef openpty |
|
|
12009 | |
|
|
12010 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12011 | #ifdef __cplusplus |
|
|
12012 | extern "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. */ |
|
|
12017 | char 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) |
|
|
12022 | choke me |
|
|
12023 | #else |
|
|
12024 | char (*f) () = openpty; |
|
|
12025 | #endif |
|
|
12026 | #ifdef __cplusplus |
|
|
12027 | } |
|
|
12028 | #endif |
|
|
12029 | |
12015 | int |
12030 | int |
12016 | main () |
12031 | main () |
12017 | { |
12032 | { |
12018 | (void)getpt(); |
12033 | return f != openpty; |
12019 | ; |
12034 | ; |
12020 | return 0; |
12035 | return 0; |
12021 | } |
12036 | } |
12022 | _ACEOF |
12037 | _ACEOF |
12023 | rm -f conftest.$ac_objext conftest$ac_exeext |
12038 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
12039 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12054 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12040 | (eval $ac_try) 2>&5 |
12055 | (eval $ac_try) 2>&5 |
12041 | ac_status=$? |
12056 | ac_status=$? |
12042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12043 | (exit $ac_status); }; }; then |
12058 | (exit $ac_status); }; }; then |
12044 | rxvt_cv_func_getpt=yes |
12059 | ac_cv_func_openpty=yes |
12045 | else |
12060 | else |
12046 | echo "$as_me: failed program was:" >&5 |
12061 | echo "$as_me: failed program was:" >&5 |
12047 | sed 's/^/| /' conftest.$ac_ext >&5 |
12062 | sed 's/^/| /' conftest.$ac_ext >&5 |
12048 | |
12063 | |
12049 | rxvt_cv_func_getpt=no |
12064 | ac_cv_func_openpty=no |
12050 | fi |
12065 | fi |
12051 | rm -f conftest.err conftest.$ac_objext \ |
12066 | rm -f conftest.err conftest.$ac_objext \ |
12052 | conftest$ac_exeext conftest.$ac_ext |
12067 | conftest$ac_exeext conftest.$ac_ext |
12053 | fi |
12068 | fi |
12054 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
12069 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
12055 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
12070 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
12056 | if test x$rxvt_cv_func_getpt = xyes; then |
12071 | if test $ac_cv_func_openpty = yes; then |
12057 | |
12072 | : |
|
|
12073 | else |
|
|
12074 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12075 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12076 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12077 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12078 | else |
|
|
12079 | ac_check_lib_save_LIBS=$LIBS |
|
|
12080 | LIBS="-lutil $LIBS" |
|
|
12081 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12082 | /* confdefs.h. */ |
|
|
12083 | _ACEOF |
|
|
12084 | cat confdefs.h >>conftest.$ac_ext |
12058 | cat >>confdefs.h <<\_ACEOF |
12085 | cat >>conftest.$ac_ext <<_ACEOF |
12059 | #define HAVE_GETPT 1 |
12086 | /* end confdefs.h. */ |
|
|
12087 | |
|
|
12088 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12089 | #ifdef __cplusplus |
|
|
12090 | extern "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. */ |
|
|
12094 | char openpty (); |
|
|
12095 | int |
|
|
12096 | main () |
|
|
12097 | { |
|
|
12098 | openpty (); |
|
|
12099 | ; |
|
|
12100 | return 0; |
|
|
12101 | } |
12060 | _ACEOF |
12102 | _ACEOF |
|
|
12103 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12104 | if { (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 |
|
|
12125 | else |
|
|
12126 | echo "$as_me: failed program was:" >&5 |
|
|
12127 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12128 | |
|
|
12129 | ac_cv_lib_util_openpty=no |
|
|
12130 | fi |
|
|
12131 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12132 | conftest$ac_exeext conftest.$ac_ext |
|
|
12133 | LIBS=$ac_check_lib_save_LIBS |
|
|
12134 | fi |
|
|
12135 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12136 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12137 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12138 | LIBS="$LIBS -lutil" |
|
|
12139 | fi |
|
|
12140 | |
|
|
12141 | fi |
12061 | |
12142 | |
12062 | fi |
12143 | fi |
12063 | |
12144 | |
12064 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12145 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12065 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12146 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12066 | if test "${rxvt_cv_ptys+set}" = set; then |
12147 | if test "${rxvt_cv_ptys+set}" = set; then |
12067 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12148 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12068 | else |
12149 | else |
12069 | 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 |
12070 | 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 |
12071 | else if test x$ac_cv_func__getpty = xyes; then |
12154 | else if test x$ac_cv_func__getpty = xyes; then |
12072 | rxvt_cv_ptys=SGI4 |
12155 | rxvt_cv_ptys=SGI4 |
12073 | else if test -c /dev/ttyp20; then |
12156 | else if test -c /dev/ttyp20; then |
12074 | rxvt_cv_ptys=SCO |
12157 | rxvt_cv_ptys=SCO |
12075 | else if test -c /dev/ptym/clone; then |
12158 | else if test -c /dev/ptym/clone; then |
12076 | rxvt_cv_ptys=HPUX |
12159 | rxvt_cv_ptys=HPUX |
12077 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
12078 | rxvt_cv_ptys=GLIBC |
|
|
12079 | else if test -c /dev/ptc -a -c /dev/pts; then |
12160 | else if test -c /dev/ptc -a -c /dev/pts; then |
12080 | rxvt_cv_ptys=PTC |
12161 | rxvt_cv_ptys=PTC |
12081 | else if test -c /dev/ptc -a -d /dev/pts; then |
12162 | else if test -c /dev/ptc -a -d /dev/pts; then |
12082 | rxvt_cv_ptys=PTC |
12163 | rxvt_cv_ptys=PTC |
12083 | 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 |
… | |
… | |
12098 | |
12179 | |
12099 | fi |
12180 | fi |
12100 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12181 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12101 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12182 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12102 | |
12183 | |
|
|
12184 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12185 | |
|
|
12186 | cat >>confdefs.h <<\_ACEOF |
|
|
12187 | #define PTYS_ARE_POSIX 1 |
|
|
12188 | _ACEOF |
|
|
12189 | |
|
|
12190 | fi |
12103 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12191 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12104 | |
12192 | |
12105 | cat >>confdefs.h <<\_ACEOF |
12193 | cat >>confdefs.h <<\_ACEOF |
12106 | #define PTYS_ARE_OPENPTY 1 |
12194 | #define PTYS_ARE_OPENPTY 1 |
12107 | _ACEOF |
12195 | _ACEOF |
… | |
… | |
12133 | cat >>confdefs.h <<\_ACEOF |
12221 | cat >>confdefs.h <<\_ACEOF |
12134 | #define PTYS_ARE__GETPTY 1 |
12222 | #define PTYS_ARE__GETPTY 1 |
12135 | _ACEOF |
12223 | _ACEOF |
12136 | |
12224 | |
12137 | fi |
12225 | fi |
12138 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
12139 | |
|
|
12140 | cat >>confdefs.h <<\_ACEOF |
|
|
12141 | #define PTYS_ARE_GETPTY 1 |
|
|
12142 | _ACEOF |
|
|
12143 | |
|
|
12144 | fi |
|
|
12145 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12146 | |
|
|
12147 | cat >>confdefs.h <<\_ACEOF |
|
|
12148 | #define PTYS_ARE_GETPT 1 |
|
|
12149 | _ACEOF |
|
|
12150 | |
|
|
12151 | fi |
|
|
12152 | if test x$rxvt_cv_ptys = xHPUX; then |
12226 | if test x$rxvt_cv_ptys = xHPUX; then |
12153 | |
12227 | |
12154 | cat >>confdefs.h <<\_ACEOF |
12228 | cat >>confdefs.h <<\_ACEOF |
12155 | #define PTYS_ARE_CLONE 1 |
12229 | #define PTYS_ARE_CLONE 1 |
12156 | _ACEOF |
12230 | _ACEOF |
12157 | |
12231 | |
12158 | fi |
12232 | fi |
12159 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
12233 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
12160 | |
12234 | |
12161 | cat >>confdefs.h <<\_ACEOF |
12235 | cat >>confdefs.h <<\_ACEOF |
12162 | #define PTYS_ARE_SEARCHED 1 |
12236 | #define PTYS_ARE_SEARCHED 1 |
12163 | _ACEOF |
12237 | _ACEOF |
12164 | |
12238 | |
… | |
… | |
12185 | |
12259 | |
12186 | fi |
12260 | fi |
12187 | |
12261 | |
12188 | if test x$support_xft = xyes; then |
12262 | if test x$support_xft = xyes; then |
12189 | LIBS="$LIBS `pkg-config xft --libs`" |
12263 | LIBS="$LIBS `pkg-config xft --libs`" |
12190 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
12191 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12264 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12192 | |
12265 | |
12193 | |
12266 | |
12194 | for ac_header in X11/Xft/Xft.h |
12267 | for ac_header in X11/Xft/Xft.h |
12195 | do |
12268 | do |
… | |
… | |
12739 | |
12812 | |
12740 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
12813 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
12741 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
12814 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
12742 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
12815 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
12743 | |
12816 | |
|
|
12817 | save_CXXFLAGS="$CXXFLAGS" |
|
|
12818 | save_LIBS="$LIBS" |
|
|
12819 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12820 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12821 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12822 | /* confdefs.h. */ |
|
|
12823 | _ACEOF |
|
|
12824 | cat confdefs.h >>conftest.$ac_ext |
|
|
12825 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12826 | /* end confdefs.h. */ |
|
|
12827 | |
|
|
12828 | #include <EXTERN.h> |
|
|
12829 | #include <perl.h> |
|
|
12830 | #include <XSUB.h> |
|
|
12831 | |
|
|
12832 | int |
|
|
12833 | main () |
|
|
12834 | { |
|
|
12835 | |
|
|
12836 | PerlInterpreter *perl = perl_alloc (); |
|
|
12837 | |
|
|
12838 | ; |
|
|
12839 | return 0; |
|
|
12840 | } |
|
|
12841 | _ACEOF |
|
|
12842 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12843 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12844 | (eval $ac_link) 2>conftest.er1 |
|
|
12845 | ac_status=$? |
|
|
12846 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12847 | rm -f conftest.er1 |
|
|
12848 | cat conftest.err >&5 |
|
|
12849 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12850 | (exit $ac_status); } && |
|
|
12851 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12852 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12853 | (eval $ac_try) 2>&5 |
|
|
12854 | ac_status=$? |
|
|
12855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12856 | (exit $ac_status); }; } && |
|
|
12857 | { ac_try='test -s conftest$ac_exeext' |
|
|
12858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12859 | (eval $ac_try) 2>&5 |
|
|
12860 | ac_status=$? |
|
|
12861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12862 | (exit $ac_status); }; }; then |
|
|
12863 | rxvt_perl_link=yes |
|
|
12864 | else |
|
|
12865 | echo "$as_me: failed program was:" >&5 |
|
|
12866 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12867 | |
|
|
12868 | rxvt_perl_link=no |
|
|
12869 | fi |
|
|
12870 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12871 | conftest$ac_exeext conftest.$ac_ext |
|
|
12872 | CXXFLAGS="$save_CXXFLAGS" |
|
|
12873 | LIBS="$save_LIBS" |
|
|
12874 | |
|
|
12875 | if test x$rxvt_perl_link = xyes; then |
|
|
12876 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
12877 | echo "${ECHO_T}ok" >&6 |
|
|
12878 | |
12744 | cat >>confdefs.h <<\_ACEOF |
12879 | cat >>confdefs.h <<\_ACEOF |
12745 | #define ENABLE_PERL 1 |
12880 | #define ENABLE_PERL 1 |
12746 | _ACEOF |
12881 | _ACEOF |
12747 | |
12882 | |
12748 | IF_PERL= |
12883 | IF_PERL= |
12749 | PERL_O=rxvtperl.o |
12884 | PERL_O=rxvtperl.o |
12750 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12885 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12751 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12886 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12752 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12887 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
12888 | else |
|
|
12889 | support_perl=no |
12753 | echo "$as_me:$LINENO: result: ok" >&5 |
12890 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
12754 | echo "${ECHO_T}ok" >&6 |
12891 | echo "${ECHO_T}no, unable to link" >&6 |
|
|
12892 | fi |
12755 | else |
12893 | else |
12756 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
12894 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
12757 | echo "$as_me: error: no working perl found" >&2;} |
12895 | echo "$as_me: error: no working perl found" >&2;} |
12758 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
12896 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
|
|
12897 | support_perl=no |
12759 | fi |
12898 | fi |
12760 | fi |
12899 | fi |
12761 | |
12900 | |
12762 | |
12901 | |
12763 | |
12902 | |
12764 | |
12903 | |
12765 | |
12904 | |
12766 | |
12905 | |
|
|
12906 | |
|
|
12907 | if test x$support_perl = xyes; then |
|
|
12908 | support_frills=yes |
|
|
12909 | fi |
12767 | |
12910 | |
12768 | |
12911 | |
12769 | CFLAGS=${CFLAGS--O} |
12912 | CFLAGS=${CFLAGS--O} |
12770 | LDFLAGS=${LDFLAGS--O} |
12913 | LDFLAGS=${LDFLAGS--O} |
12771 | |
12914 | |
… | |
… | |
12786 | fi |
12929 | fi |
12787 | |
12930 | |
12788 | |
12931 | |
12789 | |
12932 | |
12790 | |
12933 | |
12791 | |
|
|
12792 | if test x$support_addstrings = xno; then |
|
|
12793 | |
|
|
12794 | cat >>confdefs.h <<\_ACEOF |
|
|
12795 | #define NO_STRINGS 1 |
|
|
12796 | _ACEOF |
|
|
12797 | |
|
|
12798 | fi |
|
|
12799 | |
12934 | |
12800 | MCOMMON=./autoconf/Make.common |
12935 | MCOMMON=./autoconf/Make.common |
12801 | |
12936 | |
12802 | |
12937 | |
12803 | test "$program_prefix" != NONE && |
12938 | test "$program_prefix" != NONE && |