1 | dnl# -*- sh -*- |
1 | dnl# -*- sh -*- |
2 | dnl# |
2 | dnl# |
3 | dnl# Process this file with autoconf to produce a configure script. |
3 | dnl# Process this file with autoconf to produce a configure script. |
4 | dnl# |
4 | dnl# |
5 | orig_CXXFLAGS="$CXXFLAGS" |
|
|
6 | |
5 | |
7 | AC_INIT |
6 | AC_INIT |
|
|
7 | AC_PREREQ(2.50) |
8 | AC_CONFIG_SRCDIR([src/feature.h]) |
8 | AC_CONFIG_SRCDIR([src/feature.h]) |
9 | AC_CONFIG_AUX_DIR(autoconf) |
9 | AC_CONFIG_AUX_DIR(autoconf) |
10 | AC_CONFIG_HEADER(config.h:autoconf/config.h.in) |
10 | AC_CONFIG_HEADER(config.h:autoconf/config.h.in) |
11 | |
11 | |
12 | AC_CANONICAL_HOST |
12 | AC_CANONICAL_HOST |
13 | |
13 | |
14 | dnl RXVT version |
14 | dnl RXVT version |
15 | changequote(, )dnl |
15 | changequote(, )dnl |
16 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
16 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
17 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
17 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
18 | LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
|
|
19 | LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
18 | dnl LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
20 | changequote([, ])dnl |
19 | changequote([, ])dnl |
21 | AC_SUBST(VERSION)dnl |
20 | AC_SUBST(VERSION)dnl |
22 | AC_SUBST(DATE)dnl |
21 | AC_SUBST(DATE)dnl |
23 | AC_SUBST(LSMDATE)dnl |
22 | AC_SUBST(LSMDATE)dnl |
24 | AC_SUBST(LIBVERSION)dnl |
23 | AC_SUBST(LIBVERSION)dnl |
25 | echo "" |
24 | echo "" |
26 | echo "configuring for rxvt $VERSION" |
25 | echo "configuring for rxvt $VERSION" |
27 | echo "" |
26 | echo "" |
28 | |
27 | |
|
|
28 | orig_CXXFLAGS="$CXXFLAGS" |
|
|
29 | |
29 | dnl# Checks for programs. |
30 | dnl# Checks for programs. |
30 | dnl AC_MAKE_SET |
31 | dnl AC_MAKE_SET |
31 | |
32 | |
32 | AC_PROG_CC |
33 | AC_PROG_CC |
33 | AC_PROG_CXX |
34 | AC_PROG_CXX |
… | |
… | |
39 | |
40 | |
40 | dnl# -------------------------------------------------------------------------- |
41 | dnl# -------------------------------------------------------------------------- |
41 | dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure' |
42 | dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure' |
42 | dnl# |
43 | dnl# |
43 | if test -z "$orig_CXXFLAGS"; then |
44 | if test -z "$orig_CXXFLAGS"; then |
44 | CXXFLAGS='-O' |
|
|
45 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
45 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
46 | CXXFLAGS="-g -O3" |
46 | CXXFLAGS="-g -O3" |
|
|
47 | else |
|
|
48 | CXXFLAGS="-O" |
47 | fi |
49 | fi |
48 | CFLAGS="$CXXFLAGS" |
50 | CFLAGS="$CXXFLAGS" |
49 | fi |
51 | fi |
50 | |
52 | |
51 | LINKER="$CXX" |
53 | LINKER="$CXX" |
… | |
… | |
76 | dnl# system hacks |
78 | dnl# system hacks |
77 | AC_AIX |
79 | AC_AIX |
78 | AC_ISC_POSIX |
80 | AC_ISC_POSIX |
79 | |
81 | |
80 | dnl# FreeBSD needs to link libxpg4 |
82 | dnl# FreeBSD needs to link libxpg4 |
81 | AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"]) |
83 | AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])]) |
82 | |
84 | |
83 | dnl solaris needs to link libnsl and socket |
85 | dnl# solaris needs to link libnsl and socket |
84 | AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"]) |
86 | AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"])]) |
85 | AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"]) |
87 | AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])]) |
86 | |
88 | |
|
|
89 | dnl# more solaris |
|
|
90 | AC_CHECK_FUNC(sched_yield, [], [AC_CHECK_LIB(rt, sched_yield, [LIBS="$LIBS -lrt"])]) |
|
|
91 | |
|
|
92 | dnl# sched_yield to improve terminal efficiency |
|
|
93 | AC_MSG_CHECKING(for sched_yield support) |
|
|
94 | AC_TRY_LINK([#include <sched.h>],[sched_yield ()], |
|
|
95 | [AC_MSG_RESULT(yes) |
|
|
96 | AC_DEFINE(HAVE_SCHED_YIELD, 1, Define if you have sched-h and sched_yield)], |
|
|
97 | [AC_MSG_RESULT(no)]) |
|
|
98 | |
87 | AC_ENABLE_SHARED(no)dnl# libtool |
99 | dnl AC_ENABLE_SHARED(no)dnl# libtool |
88 | AC_ENABLE_STATIC(yes)dnl# libtool |
100 | dnl AC_ENABLE_STATIC(yes)dnl# libtool |
89 | AC_PROG_LIBTOOL()dnl# libtool |
101 | dnl AC_PROG_LIBTOOL()dnl# libtool |
90 | |
102 | |
91 | MALLOC_TYPE=S |
103 | MALLOC_TYPE=S |
92 | support_addstrings=no |
104 | |
93 | support_frills=no |
105 | support_frills=yes |
94 | support_inheritpixmap=no |
106 | support_inheritpixmap=yes |
95 | support_tinting=no |
107 | support_tinting=yes |
96 | support_fading=no |
108 | support_fading=yes |
97 | support_keepscrolling=no |
109 | support_keepscrolling=yes |
98 | support_selectionscrolling=no |
110 | support_selectionscrolling=yes |
99 | support_menubar=no |
|
|
100 | support_mousewheel=no |
111 | support_mousewheel=yes |
101 | support_mouseslipwheel=no |
112 | support_mouseslipwheel=yes |
102 | support_utmp=no |
113 | support_utmp=yes |
103 | support_wtmp=no |
114 | support_wtmp=yes |
104 | support_lastlog=no |
115 | support_lastlog=yes |
105 | support_cursor_blink=no |
|
|
106 | support_text_blink=no |
116 | support_text_blink=yes |
107 | support_pointer_blank=no |
117 | support_pointer_blank=yes |
108 | support_scroll_rxvt=no |
118 | support_scroll_rxvt=yes |
109 | support_scroll_next=no |
119 | support_scroll_next=yes |
110 | support_scroll_xterm=no |
120 | support_scroll_xterm=yes |
111 | support_scroll_plain=no |
121 | support_scroll_plain=yes |
112 | support_xim=no |
122 | support_xim=yes |
113 | support_xpm=no |
123 | support_xpm=yes |
114 | support_xft=no |
124 | support_xft=yes |
115 | support_unicode3=no |
125 | support_unicode3=no |
116 | support_combining=no |
126 | support_combining=yes |
117 | support_8bitctrls=no |
127 | support_8bitctrls=no |
118 | support_iso14755=no |
128 | support_iso14755=yes |
119 | support_styles=no |
129 | support_styles=yes |
|
|
130 | support_perl=yes |
120 | codesets= |
131 | codesets=all |
121 | |
132 | |
122 | dnl# -------------------------------------------------------------------------- |
133 | dnl# -------------------------------------------------------------------------- |
123 | dnl# CHECKING COMMAND LINE OPTIONS |
134 | dnl# CHECKING COMMAND LINE OPTIONS |
124 | dnl# -------------------------------------------------------------------------- |
135 | dnl# -------------------------------------------------------------------------- |
125 | |
136 | |
… | |
… | |
131 | |
142 | |
132 | AC_ARG_ENABLE(everything, |
143 | AC_ARG_ENABLE(everything, |
133 | [ --enable-everything enable standard non-multichoice features |
144 | [ --enable-everything enable standard non-multichoice features |
134 | NOTE: this option is order dependent |
145 | NOTE: this option is order dependent |
135 | NOTE: automatically enabled with --enable-shared], |
146 | NOTE: automatically enabled with --enable-shared], |
|
|
147 | [ |
|
|
148 | if test x$enableval = xno; then |
|
|
149 | support_24bit=no |
|
|
150 | support_frills=no |
|
|
151 | support_inheritpixmap=no |
|
|
152 | support_tinting=no |
|
|
153 | support_fading=no |
|
|
154 | support_keepscrolling=no |
|
|
155 | support_selectionscrolling=no |
|
|
156 | support_lastlog=no |
|
|
157 | support_mousewheel=no |
|
|
158 | support_mouseslipwheel=no |
|
|
159 | support_text_blink=no |
|
|
160 | support_pointer_blank=no |
|
|
161 | support_scroll_rxvt=no |
|
|
162 | support_scroll_next=no |
|
|
163 | support_scroll_xterm=no |
|
|
164 | support_scroll_plain=no |
|
|
165 | support_utmp=no |
|
|
166 | support_wtmp=no |
|
|
167 | support_xim=no |
|
|
168 | support_xpm=no |
|
|
169 | support_xft=no |
|
|
170 | support_unicode3=no |
|
|
171 | support_combining=no |
|
|
172 | support_8bitctrls=no |
|
|
173 | support_iso14755=no |
|
|
174 | support_styles=no |
|
|
175 | support_perl=no |
|
|
176 | codesets= |
|
|
177 | fi |
136 | [if test x$enableval = xyes; then |
178 | if test x$enableval = xyes; then |
137 | support_24bit=yes |
179 | support_24bit=yes |
138 | support_frills=yes |
180 | support_frills=yes |
139 | support_inheritpixmap=yes |
181 | support_inheritpixmap=yes |
140 | support_tinting=yes |
182 | support_tinting=yes |
141 | support_fading=yes |
183 | support_fading=yes |
142 | support_keepscrolling=yes |
184 | support_keepscrolling=yes |
143 | support_selectionscrolling=yes |
185 | support_selectionscrolling=yes |
144 | support_lastlog=yes |
186 | support_lastlog=yes |
145 | support_menubar=yes |
|
|
146 | support_mousewheel=yes |
187 | support_mousewheel=yes |
147 | support_mouseslipwheel=yes |
188 | support_mouseslipwheel=yes |
148 | support_cursor_blink=yes |
|
|
149 | support_text_blink=yes |
189 | support_text_blink=yes |
150 | support_pointer_blank=yes |
190 | support_pointer_blank=yes |
151 | support_scroll_rxvt=yes |
191 | support_scroll_rxvt=yes |
152 | support_scroll_next=yes |
192 | support_scroll_next=yes |
153 | support_scroll_xterm=yes |
193 | support_scroll_xterm=yes |
154 | support_scroll_plain=yes |
194 | support_scroll_plain=yes |
155 | support_utmp=yes |
195 | support_utmp=yes |
156 | support_wtmp=yes |
196 | support_wtmp=yes |
157 | support_xim=yes |
197 | support_xim=yes |
158 | support_xpm=yes |
198 | support_xpm=yes |
159 | support_xft=yes |
199 | support_xft=yes |
160 | support_unicode3=yes |
200 | support_unicode3=yes |
161 | support_combining=yes |
201 | support_combining=yes |
162 | #support_8bitctrls=yes |
202 | #support_8bitctrls=yes |
163 | support_iso14755=yes |
203 | support_iso14755=yes |
164 | support_styles=yes |
204 | support_styles=yes |
|
|
205 | support_perl=yes |
165 | codesets=all |
206 | codesets=all |
|
|
207 | fi |
166 | fi]) |
208 | ]) |
167 | |
209 | |
168 | AC_ARG_ENABLE(unicode3, |
210 | AC_ARG_ENABLE(unicode3, |
169 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
211 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
170 | [if test x$enableval = xyes -o x$enableval = xno; then |
212 | [if test x$enableval = xyes -o x$enableval = xno; then |
171 | support_unicode3=$enableval |
213 | support_unicode3=$enableval |
… | |
… | |
229 | [ --enable-fading enable colors fading when off focus], |
271 | [ --enable-fading enable colors fading when off focus], |
230 | [if test x$enableval = xyes -o x$enableval = xno; then |
272 | [if test x$enableval = xyes -o x$enableval = xno; then |
231 | support_fading=$enableval |
273 | support_fading=$enableval |
232 | fi]) |
274 | fi]) |
233 | |
275 | |
234 | AC_ARG_ENABLE(menubar, |
|
|
235 | [ --enable-menubar enable menubar], |
|
|
236 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
237 | support_menubar=$enableval |
|
|
238 | fi]) |
|
|
239 | |
|
|
240 | AC_ARG_ENABLE(rxvt-scroll, |
276 | AC_ARG_ENABLE(rxvt-scroll, |
241 | [ --enable-rxvt-scroll enable rxvt style scrollbar], |
277 | [ --enable-rxvt-scroll enable rxvt style scrollbar], |
242 | [if test x$enableval = xyes -o x$enableval = xno; then |
278 | [if test x$enableval = xyes -o x$enableval = xno; then |
243 | support_scroll_rxvt=$enableval |
279 | support_scroll_rxvt=$enableval |
244 | fi]) |
280 | fi]) |
… | |
… | |
253 | [ --enable-xterm-scroll enable Xterm style scrollbar], |
289 | [ --enable-xterm-scroll enable Xterm style scrollbar], |
254 | [if test x$enableval = xyes -o x$enableval = xno; then |
290 | [if test x$enableval = xyes -o x$enableval = xno; then |
255 | support_scroll_xterm=$enableval |
291 | support_scroll_xterm=$enableval |
256 | fi]) |
292 | fi]) |
257 | |
293 | |
|
|
294 | AC_ARG_ENABLE(perl, |
|
|
295 | [ --enable-perl enable embedded perl interpreter], |
|
|
296 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
297 | support_perl=$enableval |
|
|
298 | fi]) |
|
|
299 | |
258 | AC_ARG_ENABLE(plain-scroll, |
300 | AC_ARG_ENABLE(plain-scroll, |
259 | [ --enable-plain-scroll enable plain style scrollbar], |
301 | [ --enable-plain-scroll enable plain style scrollbar], |
260 | [if test x$enableval = xyes -o x$enableval = xno; then |
302 | [if test x$enableval = xyes -o x$enableval = xno; then |
261 | support_scroll_plain=$enableval |
303 | support_scroll_plain=$enableval |
262 | fi]) |
304 | fi]) |
263 | |
305 | |
264 | AC_ARG_ENABLE(half-shadow, |
306 | dnl AC_ARG_ENABLE(half-shadow, |
265 | [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], |
307 | dnl [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], |
266 | [if test x$enableval = xyes; then |
308 | dnl [if test x$enableval = xyes; then |
267 | AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less) |
309 | dnl AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less) |
268 | fi]) |
310 | dnl fi]) |
269 | |
311 | |
270 | AC_ARG_WITH(codesets, |
312 | AC_ARG_WITH(codesets, |
271 | [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)], |
313 | [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)], |
272 | [codesets="$withval"]) |
314 | [codesets="$withval"]) |
273 | |
315 | |
… | |
… | |
297 | |
339 | |
298 | AC_ARG_ENABLE(resources, |
340 | AC_ARG_ENABLE(resources, |
299 | [ --disable-resources disable all resource checking], |
341 | [ --disable-resources disable all resource checking], |
300 | [if test x$enableval = xno; then |
342 | [if test x$enableval = xno; then |
301 | AC_DEFINE(NO_RESOURCES, 1, Define if you don't want any resources read) |
343 | AC_DEFINE(NO_RESOURCES, 1, Define if you don't want any resources read) |
302 | fi]) |
|
|
303 | |
|
|
304 | AC_ARG_ENABLE(xgetdefault, |
|
|
305 | [ --enable-xgetdefault enable resources via X instead of our small version], |
|
|
306 | [if test x$enableval = xyes; then |
|
|
307 | AC_DEFINE(USE_XGETDEFAULT, 1, Define if you want to use XGetDefault instead of our internal version) |
|
|
308 | fi]) |
344 | fi]) |
309 | |
345 | |
310 | AC_ARG_ENABLE(8bitctrls, |
346 | AC_ARG_ENABLE(8bitctrls, |
311 | [ --enable-8bitctrls enable 8 bit control sequences (not recommended)], |
347 | [ --enable-8bitctrls enable 8 bit control sequences (not recommended)], |
312 | [if test x$enableval = xyes -o x$enableval = xno; then |
348 | [if test x$enableval = xyes -o x$enableval = xno; then |
… | |
… | |
345 | AC_DEFINE_UNQUOTED(RXVTNAME,"$RXVTNAME", [Binary base name]) |
381 | AC_DEFINE_UNQUOTED(RXVTNAME,"$RXVTNAME", [Binary base name]) |
346 | |
382 | |
347 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
383 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
348 | AC_SUBST(RXVTNAME) |
384 | AC_SUBST(RXVTNAME) |
349 | |
385 | |
350 | AC_ARG_ENABLE(strings, |
|
|
351 | [ --enable-strings enable some replacement system functions], |
|
|
352 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
353 | support_addstrings=$enableval |
|
|
354 | fi]) |
|
|
355 | |
|
|
356 | AC_ARG_ENABLE(swapscreen, |
386 | AC_ARG_ENABLE(swapscreen, |
357 | [ --disable-swapscreen disable swap screen support], |
387 | [ --disable-swapscreen disable swap screen support], |
358 | [if test x$enableval = xno; then |
388 | [if test x$enableval = xno; then |
359 | AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) |
389 | AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) |
360 | fi]) |
390 | fi]) |
… | |
… | |
422 | |
452 | |
423 | AC_ARG_ENABLE(smart-resize, |
453 | AC_ARG_ENABLE(smart-resize, |
424 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
454 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
425 | [if test x$enableval = xyes; then |
455 | [if test x$enableval = xyes; then |
426 | AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) |
456 | AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) |
427 | fi]) |
|
|
428 | |
|
|
429 | AC_ARG_ENABLE(cursor-blink, |
|
|
430 | [ --enable-cursor-blink enable blinking cursor], |
|
|
431 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
432 | support_cursor_blink=$enableval |
|
|
433 | fi]) |
457 | fi]) |
434 | |
458 | |
435 | AC_ARG_ENABLE(text-blink, |
459 | AC_ARG_ENABLE(text-blink, |
436 | [ --enable-text-blink enable blinking text], |
460 | [ --enable-text-blink enable blinking text], |
437 | [if test x$enableval = xyes -o x$enableval = xno; then |
461 | [if test x$enableval = xyes -o x$enableval = xno; then |
… | |
… | |
519 | sys/time.h \ |
543 | sys/time.h \ |
520 | utmp.h \ |
544 | utmp.h \ |
521 | utmpx.h \ |
545 | utmpx.h \ |
522 | stdint.h \ |
546 | stdint.h \ |
523 | pty.h \ |
547 | pty.h \ |
|
|
548 | util.h \ |
|
|
549 | libutil.h \ |
524 | wchar.h \ |
550 | wchar.h \ |
525 | cwchar \ |
551 | cwchar \ |
526 | clocale \ |
552 | clocale \ |
527 | ) |
553 | ) |
528 | |
554 | |
… | |
… | |
700 | seteuid \ |
726 | seteuid \ |
701 | setreuid \ |
727 | setreuid \ |
702 | setsid \ |
728 | setsid \ |
703 | setpgrp \ |
729 | setpgrp \ |
704 | setpgid \ |
730 | setpgid \ |
705 | openpty \ |
|
|
706 | _getpty \ |
731 | _getpty \ |
|
|
732 | getpt \ |
|
|
733 | posix_openpt \ |
707 | grantpt \ |
734 | grantpt \ |
708 | unlockpt \ |
735 | unlockpt \ |
709 | isastream \ |
736 | isastream \ |
710 | on_exit \ |
737 | on_exit \ |
711 | nanosleep \ |
738 | nanosleep \ |
712 | updwtmp \ |
739 | updwtmp \ |
|
|
740 | updwtmpx \ |
713 | ttyslot \ |
741 | ttyslot \ |
714 | ) |
742 | ) |
715 | dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in |
|
|
716 | |
743 | |
717 | dnl# -------------------------------------------------------------------------- |
744 | dnl# -------------------------------------------------------------------------- |
718 | dnl# DO ALL UTMP AND WTMP CHECKING |
745 | dnl# DO ALL UTMP AND WTMP CHECKING |
719 | dnl# -------------------------------------------------------------------------- |
746 | dnl# -------------------------------------------------------------------------- |
720 | dnl# check for host field in utmp structure |
747 | dnl# check for host field in utmp structure |
… | |
… | |
760 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
787 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
761 | #include <utmpx.h>]], [[struct utmpx utx; utx.ut_host;]])],[rxvt_cv_struct_utmpx_host=yes],[rxvt_cv_struct_utmpx_host=no])]) |
788 | #include <utmpx.h>]], [[struct utmpx utx; utx.ut_host;]])],[rxvt_cv_struct_utmpx_host=yes],[rxvt_cv_struct_utmpx_host=no])]) |
762 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
789 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
763 | AC_DEFINE(HAVE_UTMPX_HOST, 1, Define if struct utmpx contains ut_host) |
790 | AC_DEFINE(HAVE_UTMPX_HOST, 1, Define if struct utmpx contains ut_host) |
764 | fi |
791 | fi |
|
|
792 | |
|
|
793 | AC_CACHE_CHECK(for session in utmpx struct, rxvt_cv_struct_utmpx_session, |
|
|
794 | [AC_TRY_COMPILE([#include <sys/types.h> |
|
|
795 | #include <utmpx.h>], |
|
|
796 | [struct utmpx utx; utx.ut_session;], |
|
|
797 | rxvt_cv_struct_utmpx_session=yes, rxvt_cv_struct_utmpx_session=no)]) |
|
|
798 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
|
|
799 | AC_DEFINE(HAVE_UTMPX_SESSION, 1, Define if struct utmpx contains ut_session) |
|
|
800 | fi |
765 | ) dnl# AC_CHECK_HEADER(utmpx.h |
801 | ) dnl# AC_CHECK_HEADER(utmpx.h |
766 | |
|
|
767 | |
802 | |
768 | dnl# -------------------------------------------------------------------------- |
803 | dnl# -------------------------------------------------------------------------- |
769 | dnl# check for struct lastlog |
804 | dnl# check for struct lastlog |
770 | AC_CACHE_CHECK(for struct lastlog, rxvt_cv_struct_lastlog, |
805 | AC_CACHE_CHECK(for struct lastlog, rxvt_cv_struct_lastlog, |
771 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
806 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
… | |
… | |
1083 | [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])]) |
1118 | [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])]) |
1084 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
1119 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
1085 | AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) |
1120 | AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) |
1086 | fi |
1121 | fi |
1087 | |
1122 | |
|
|
1123 | AC_CACHE_CHECK(for unix-compliant filehandle passing ability, rxvt_can_pass_fds, |
|
|
1124 | [AC_TRY_LINK([ |
|
|
1125 | #include <sys/types.h> |
|
|
1126 | #include <sys/socket.h> |
|
|
1127 | ],[ |
|
|
1128 | { |
|
|
1129 | msghdr msg; |
|
|
1130 | iovec iov; |
|
|
1131 | char buf [100]; |
|
|
1132 | char data = 0; |
|
|
1133 | |
|
|
1134 | iov.iov_base = &data; |
|
|
1135 | iov.iov_len = 1; |
|
|
1136 | |
|
|
1137 | msg.msg_iov = &iov; |
|
|
1138 | msg.msg_iovlen = 1; |
|
|
1139 | msg.msg_control = buf; |
|
|
1140 | msg.msg_controllen = sizeof buf; |
|
|
1141 | |
|
|
1142 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
1143 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
1144 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
1145 | cmsg->cmsg_len = 100; |
|
|
1146 | |
|
|
1147 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
1148 | |
|
|
1149 | return sendmsg (3, &msg, 0); |
|
|
1150 | } |
|
|
1151 | ],[rxvt_can_pass_fds=yes],[rxvt_can_pass_fds=no])]) |
|
|
1152 | if test x$rxvt_can_pass_fds = xyes; then |
|
|
1153 | AC_DEFINE(HAVE_UNIX_FDPASS, 1, Define if sys/socket.h defines the necessary macros/functions for file handle passing) |
|
|
1154 | fi |
|
|
1155 | |
1088 | AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb, |
1156 | AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb, |
1089 | [AC_COMPILE_IFELSE([ |
1157 | [AC_COMPILE_IFELSE([ |
1090 | #include <X11/Xlib.h> |
1158 | #include <X11/Xlib.h> |
1091 | |
1159 | |
1092 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
1160 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
… | |
… | |
1099 | |
1167 | |
1100 | if test x$rxvt_broken_ximcb = xyes; then |
1168 | if test x$rxvt_broken_ximcb = xyes; then |
1101 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
1169 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
1102 | fi |
1170 | fi |
1103 | |
1171 | |
1104 | AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt, |
1172 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
1105 | [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE |
1173 | AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])]) |
1106 | #ifdef HAVE_STDLIB_H |
|
|
1107 | # include <cstdlib> |
|
|
1108 | #endif]], [[(void)getpt();]])],[rxvt_cv_func_getpt=yes],[rxvt_cv_func_getpt=no])]) |
|
|
1109 | if test x$rxvt_cv_func_getpt = xyes; then |
|
|
1110 | AC_DEFINE(HAVE_GETPT, 1, Define if you have _GNU_SOURCE getpt() ) |
|
|
1111 | fi |
1174 | fi |
1112 | |
1175 | |
1113 | dnl# if we don't guess right then it's up to the user |
1176 | dnl# if we don't guess right then it's up to the user |
1114 | AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, |
1177 | AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, |
1115 | [if test x$ac_cv_func_openpty = xyes; then |
1178 | [if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
1116 | rxvt_cv_ptys=OPENPTY |
1179 | rxvt_cv_ptys=OPENPTY |
|
|
1180 | else if test x$ac_cv_func_getpt = xyes; then |
|
|
1181 | rxvt_cv_ptys=GLIBC |
|
|
1182 | else if test x$ac_cv_func_posix_openpt = xyes; then |
|
|
1183 | rxvt_cv_ptys=POSIX |
1117 | else if test x$ac_cv_func__getpty = xyes; then |
1184 | else if test x$ac_cv_func__getpty = xyes; then |
1118 | rxvt_cv_ptys=SGI4 |
1185 | rxvt_cv_ptys=SGI4 |
1119 | else if test -c /dev/ttyp20; then |
1186 | else if test -c /dev/ttyp20; then |
1120 | rxvt_cv_ptys=SCO |
1187 | rxvt_cv_ptys=SCO |
1121 | else if test -c /dev/ptym/clone; then |
1188 | else if test -c /dev/ptym/clone; then |
1122 | rxvt_cv_ptys=HPUX |
1189 | rxvt_cv_ptys=HPUX |
1123 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
1124 | rxvt_cv_ptys=GLIBC |
|
|
1125 | else if test -c /dev/ptc -a -c /dev/pts; then |
1190 | else if test -c /dev/ptc -a -c /dev/pts; then |
1126 | rxvt_cv_ptys=PTC |
1191 | rxvt_cv_ptys=PTC |
1127 | else if test -c /dev/ptc -a -d /dev/pts; then |
1192 | else if test -c /dev/ptc -a -d /dev/pts; then |
1128 | rxvt_cv_ptys=PTC |
1193 | rxvt_cv_ptys=PTC |
1129 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
1194 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
… | |
… | |
1140 | fi |
1205 | fi |
1141 | fi |
1206 | fi |
1142 | fi |
1207 | fi |
1143 | fi |
1208 | fi |
1144 | fi |
1209 | fi |
|
|
1210 | fi |
1145 | ]) |
1211 | ]) |
1146 | |
1212 | |
|
|
1213 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
1214 | AC_DEFINE(PTYS_ARE_GETPT, 1, Define for this pty type) |
|
|
1215 | fi |
|
|
1216 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
1217 | AC_DEFINE(PTYS_ARE_POSIX, 1, Define for this pty type) |
|
|
1218 | fi |
1147 | if test x$rxvt_cv_ptys = xOPENPTY; then |
1219 | if test x$rxvt_cv_ptys = xOPENPTY; then |
1148 | AC_DEFINE(PTYS_ARE_OPENPTY, 1, Define for this pty type) |
1220 | AC_DEFINE(PTYS_ARE_OPENPTY, 1, Define for this pty type) |
1149 | fi |
1221 | fi |
1150 | if test x$rxvt_cv_ptys = xSCO; then |
1222 | if test x$rxvt_cv_ptys = xSCO; then |
1151 | AC_DEFINE(PTYS_ARE_NUMERIC, 1, Define for this pty type) |
1223 | AC_DEFINE(PTYS_ARE_NUMERIC, 1, Define for this pty type) |
… | |
… | |
1157 | AC_DEFINE(PTYS_ARE_PTC, 1, Define for this pty type) |
1229 | AC_DEFINE(PTYS_ARE_PTC, 1, Define for this pty type) |
1158 | fi |
1230 | fi |
1159 | if test x$rxvt_cv_ptys = xSGI4; then |
1231 | if test x$rxvt_cv_ptys = xSGI4; then |
1160 | AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type) |
1232 | AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type) |
1161 | fi |
1233 | fi |
1162 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
1163 | AC_DEFINE(PTYS_ARE_GETPTY, 1, Define for this pty type) |
|
|
1164 | fi |
|
|
1165 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
1166 | AC_DEFINE(PTYS_ARE_GETPT, 1, Define for this pty type) |
|
|
1167 | fi |
|
|
1168 | if test x$rxvt_cv_ptys = xHPUX; then |
1234 | if test x$rxvt_cv_ptys = xHPUX; then |
1169 | AC_DEFINE(PTYS_ARE_CLONE, 1, Define for this pty type) |
1235 | AC_DEFINE(PTYS_ARE_CLONE, 1, Define for this pty type) |
1170 | fi |
1236 | fi |
1171 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
1237 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
1172 | AC_DEFINE(PTYS_ARE_SEARCHED, 1, Define for this pty type) |
1238 | AC_DEFINE(PTYS_ARE_SEARCHED, 1, Define for this pty type) |
1173 | fi |
1239 | fi |
1174 | |
1240 | |
1175 | |
1241 | |
1176 | AS_MESSAGE(checking for pty ranges...) |
1242 | AS_MESSAGE(checking for pty ranges...) |
… | |
… | |
1187 | dnl# -------------------------------------------------------------------------- |
1253 | dnl# -------------------------------------------------------------------------- |
1188 | dnl# now add and remove other stuff |
1254 | dnl# now add and remove other stuff |
1189 | dnl# -------------------------------------------------------------------------- |
1255 | dnl# -------------------------------------------------------------------------- |
1190 | if test x$support_xft = xyes; then |
1256 | if test x$support_xft = xyes; then |
1191 | LIBS="$LIBS `pkg-config xft --libs`" |
1257 | LIBS="$LIBS `pkg-config xft --libs`" |
1192 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
1193 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
1258 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
1194 | |
1259 | |
1195 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
1260 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
1196 | AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no]) |
1261 | AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no]) |
1197 | |
1262 | |
… | |
… | |
1220 | if test x$support_keepscrolling = xno; then |
1285 | if test x$support_keepscrolling = xno; then |
1221 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
1286 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
1222 | fi |
1287 | fi |
1223 | if test x$support_selectionscrolling = xyes; then |
1288 | if test x$support_selectionscrolling = xyes; then |
1224 | AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen) |
1289 | AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen) |
1225 | fi |
|
|
1226 | if test x$support_menubar = xyes; then |
|
|
1227 | AC_DEFINE(MENUBAR, 1, Define if you want Menubar support) |
|
|
1228 | fi |
1290 | fi |
1229 | if test x$support_frills = xyes; then |
1291 | if test x$support_frills = xyes; then |
1230 | AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) |
1292 | AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) |
1231 | fi |
1293 | fi |
1232 | if test x$support_24bit = xyes; then |
1294 | if test x$support_24bit = xyes; then |
… | |
… | |
1271 | AC_DEFINE(PLAIN_SCROLLBAR, 1, Support plain style scrollbars) |
1333 | AC_DEFINE(PLAIN_SCROLLBAR, 1, Support plain style scrollbars) |
1272 | scrolltypes="$scrolltypes plain" |
1334 | scrolltypes="$scrolltypes plain" |
1273 | fi |
1335 | fi |
1274 | if test x$support_pointer_blank = xyes; then |
1336 | if test x$support_pointer_blank = xyes; then |
1275 | AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) |
1337 | AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) |
1276 | fi |
|
|
1277 | if test x$support_cursor_blink = xyes; then |
|
|
1278 | AC_DEFINE(CURSOR_BLINK, 1, Define if you want blinking cursor support) |
|
|
1279 | fi |
1338 | fi |
1280 | if test x$support_text_blink = xyes; then |
1339 | if test x$support_text_blink = xyes; then |
1281 | AC_DEFINE(TEXT_BLINK, 1, Define if you want blinking text support) |
1340 | AC_DEFINE(TEXT_BLINK, 1, Define if you want blinking text support) |
1282 | fi |
1341 | fi |
1283 | if test x$support_unicode3 = xyes; then |
1342 | if test x$support_unicode3 = xyes; then |
… | |
… | |
1299 | ZH ) AC_DEFINE(ENCODING_ZH, 1, Define if you want chinese codesets) ;; |
1358 | ZH ) AC_DEFINE(ENCODING_ZH, 1, Define if you want chinese codesets) ;; |
1300 | ZH_EXT ) AC_DEFINE(ENCODING_ZH_EXT, 1, Define if you want extended chinese codesets) ;; |
1359 | ZH_EXT ) AC_DEFINE(ENCODING_ZH_EXT, 1, Define if you want extended chinese codesets) ;; |
1301 | esac |
1360 | esac |
1302 | done |
1361 | done |
1303 | |
1362 | |
|
|
1363 | IF_PERL=\# |
|
|
1364 | if test x$support_perl = xyes; then |
|
|
1365 | AC_PATH_PROG(PERL, perl5) |
|
|
1366 | AC_PATH_PROG(PERL, perl) |
|
|
1367 | |
|
|
1368 | AC_MSG_CHECKING(for $PERL suitability) |
|
|
1369 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
1370 | |
|
|
1371 | save_CXXFLAGS="$CXXFLAGS" |
|
|
1372 | save_LIBS="$LIBS" |
|
|
1373 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
1374 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
1375 | AC_TRY_LINK([ |
|
|
1376 | #include <EXTERN.h> |
|
|
1377 | #include <perl.h> |
|
|
1378 | #include <XSUB.h> |
|
|
1379 | ],[ |
|
|
1380 | PerlInterpreter *perl = perl_alloc (); |
|
|
1381 | ],[rxvt_perl_link=yes],[rxvt_perl_link=no]) |
|
|
1382 | CXXFLAGS="$save_CXXFLAGS" |
|
|
1383 | LIBS="$save_LIBS" |
|
|
1384 | |
|
|
1385 | if test x$rxvt_perl_link = xyes; then |
|
|
1386 | AC_MSG_RESULT(ok) |
|
|
1387 | AC_DEFINE(ENABLE_PERL, 1, Define if you can embed a perl interpreter) |
|
|
1388 | IF_PERL= |
|
|
1389 | PERL_O=rxvtperl.o |
|
|
1390 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
1391 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
1392 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
1393 | else |
|
|
1394 | support_perl=no |
|
|
1395 | AC_MSG_RESULT([no, unable to link]) |
|
|
1396 | fi |
|
|
1397 | else |
|
|
1398 | AC_MSG_ERROR(no working perl found, or perl not version >= 5.8) |
|
|
1399 | support_perl=no |
|
|
1400 | fi |
|
|
1401 | fi |
|
|
1402 | AC_SUBST(PERLLIB) |
|
|
1403 | AC_SUBST(PERLFLAGS) |
|
|
1404 | AC_SUBST(PERLPRIVLIBEXP) |
|
|
1405 | AC_SUBST(PERL) |
|
|
1406 | AC_SUBST(IF_PERL) |
|
|
1407 | AC_SUBST(PERL_O) |
|
|
1408 | |
|
|
1409 | if test x$support_perl = xyes; then |
|
|
1410 | support_frills=yes |
|
|
1411 | fi |
|
|
1412 | |
1304 | dnl> AC_CHECK_FUNCS(gettimeofday putenv select socket) |
1413 | dnl> AC_CHECK_FUNCS(gettimeofday putenv select socket) |
1305 | |
1414 | |
1306 | CFLAGS=${CFLAGS--O} |
1415 | CFLAGS=${CFLAGS--O} |
1307 | LDFLAGS=${LDFLAGS--O} |
1416 | LDFLAGS=${LDFLAGS--O} |
1308 | |
1417 | |
… | |
… | |
1324 | fi |
1433 | fi |
1325 | AC_SUBST(DLIB) |
1434 | AC_SUBST(DLIB) |
1326 | AC_SUBST(LIBS) |
1435 | AC_SUBST(LIBS) |
1327 | AC_SUBST(X_LIBS) |
1436 | AC_SUBST(X_LIBS) |
1328 | AC_SUBST(X_EXTRA_LIBS) |
1437 | AC_SUBST(X_EXTRA_LIBS) |
1329 | |
|
|
1330 | if test x$support_addstrings = xno; then |
|
|
1331 | AC_DEFINE(NO_STRINGS, 1, Define if you don't need to use our replacement string functions) |
|
|
1332 | fi |
|
|
1333 | |
|
|
1334 | dnl# common parts of the Makefile |
|
|
1335 | MCOMMON=./autoconf/Make.common |
|
|
1336 | AC_SUBST_FILE(MCOMMON) |
|
|
1337 | |
1438 | |
1338 | AC_ARG_PROGRAM |
1439 | AC_ARG_PROGRAM |
1339 | |
1440 | |
1340 | dnl# test for "sun" or "__sun__" before include sys_ioctl |
1441 | dnl# test for "sun" or "__sun__" before include sys_ioctl |
1341 | |
1442 | |
… | |
… | |
1360 | RXVT_DEFINE_TO_INCLUDE(include_sys_select_h, sys/select.h, ac_cv_header_sys_select_h, yes, notset, dontmatch) |
1461 | RXVT_DEFINE_TO_INCLUDE(include_sys_select_h, sys/select.h, ac_cv_header_sys_select_h, yes, notset, dontmatch) |
1361 | RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch) |
1462 | RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch) |
1362 | RXVT_DEFINE_TO_INCLUDE(include_sys_time_h, sys/time.h, ac_cv_header_sys_time_h, yes, notset, dontmatch) |
1463 | RXVT_DEFINE_TO_INCLUDE(include_sys_time_h, sys/time.h, ac_cv_header_sys_time_h, yes, notset, dontmatch) |
1363 | RXVT_DEFINE_TO_INCLUDE(include_time_h, time.h, ac_cv_header_sys_time_h, no, ac_cv_header_time, yes) |
1464 | RXVT_DEFINE_TO_INCLUDE(include_time_h, time.h, ac_cv_header_sys_time_h, no, ac_cv_header_time, yes) |
1364 | |
1465 | |
1365 | AC_CONFIG_FILES([autoconf/Make.common \ |
1466 | AC_CONFIG_FILES([Makefile \ |
1366 | Makefile \ |
|
|
1367 | doc/Makefile \ |
1467 | doc/Makefile \ |
1368 | src/Makefile \ |
1468 | src/Makefile \ |
1369 | src/rxvtlib.h \ |
1469 | src/rxvtlib.h \ |
1370 | ]) |
1470 | ]) |
1371 | AC_OUTPUT |
1471 | AC_OUTPUT |
… | |
… | |
1405 | utmp file: $rxvt_cv_path_utmp |
1505 | utmp file: $rxvt_cv_path_utmp |
1406 | utmpx file: $rxvt_cv_path_utmpx |
1506 | utmpx file: $rxvt_cv_path_utmpx |
1407 | wtmp file: $rxvt_cv_path_wtmp |
1507 | wtmp file: $rxvt_cv_path_wtmp |
1408 | wtmpx file: $rxvt_cv_path_wtmpx |
1508 | wtmpx file: $rxvt_cv_path_wtmpx |
1409 | lastlog file: $rxvt_cv_path_lastlog |
1509 | lastlog file: $rxvt_cv_path_lastlog |
1410 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
1510 | ttys/ttytab file: $rxvt_cv_path_ttytab |
|
|
1511 | embedded perl: $support_perl" |
1411 | echo |
1512 | echo |
1412 | fi |
1513 | fi |
1413 | if test x$term != x; then |
1514 | if test x$term != x; then |
1414 | echo " set TERM to: $term" |
1515 | echo " set TERM to: $term" |
1415 | fi |
1516 | fi |
… | |
… | |
1444 | echo ". functions could not be found. ." |
1545 | echo ". functions could not be found. ." |
1445 | echo ". XIM is now being DISABLED! ." |
1546 | echo ". XIM is now being DISABLED! ." |
1446 | echo ".----------------------------------------------------------------." |
1547 | echo ".----------------------------------------------------------------." |
1447 | fi |
1548 | fi |
1448 | |
1549 | |
1449 | echo " *** Please check src/feature.h for further options ***" |
1550 | echo " *** Optionally check src/feature.h for further options ***" |
1450 | echo |
1551 | echo |
1451 | |
1552 | |
1452 | echo ".----------------------------------------------------------------." |
1553 | echo ".----------------------------------------------------------------." |
1453 | echo ". NOTE: most features are disabled by default, try ." |
1554 | echo ". NOTE: some features are disabled by default, try ." |
1454 | echo ". configure --help to get an idea of the optional features ." |
1555 | echo ". configure --help to get an idea of the optional features, ." |
|
|
1556 | echo ". or read ./README.configure ." |
|
|
1557 | echo ". ." |
|
|
1558 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
1559 | echo ". you do not want to read documentation and still want some ." |
|
|
1560 | echo ". useful features. ." |
1455 | echo ".----------------------------------------------------------------." |
1561 | echo ".----------------------------------------------------------------." |
1456 | echo |
1562 | echo |
1457 | |
1563 | |