1
--- src/configure.gotom 2004-01-05 15:37:17.000000000 +0900
2
+++ src/configure 2005-05-06 15:36:02.000000000 +0900
4
# Any additions from configure.in:
6
--enable-purify enables checks by purify"
8
+ --enable-fastio tries to reduce stdio overhead"
10
# Initialize some variables set by options.
11
# The variables have the same names as the options, with
15
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
16
-echo "configure:529: checking whether ln -s works" >&5
17
+echo "configure:531: checking whether ln -s works" >&5
18
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
19
echo $ac_n "(cached) $ac_c" 1>&6
22
# Extract the first word of "gcc", so it can be a program name with args.
23
set dummy gcc; ac_word=$2
24
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
25
-echo "configure:552: checking for $ac_word" >&5
26
+echo "configure:554: checking for $ac_word" >&5
27
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
28
echo $ac_n "(cached) $ac_c" 1>&6
31
# Extract the first word of "cc", so it can be a program name with args.
32
set dummy cc; ac_word=$2
33
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
34
-echo "configure:582: checking for $ac_word" >&5
35
+echo "configure:584: checking for $ac_word" >&5
36
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
37
echo $ac_n "(cached) $ac_c" 1>&6
40
# Extract the first word of "cl", so it can be a program name with args.
41
set dummy cl; ac_word=$2
42
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
43
-echo "configure:633: checking for $ac_word" >&5
44
+echo "configure:635: checking for $ac_word" >&5
45
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
46
echo $ac_n "(cached) $ac_c" 1>&6
51
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
52
-echo "configure:665: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
53
+echo "configure:667: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
56
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
59
cat > conftest.$ac_ext << EOF
61
-#line 676 "configure"
62
+#line 678 "configure"
67
-if { (eval echo configure:681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
68
+if { (eval echo configure:683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
69
ac_cv_prog_cc_works=yes
70
# If we can't run a trivial program, we are probably using a cross compiler.
71
if (./conftest; exit) 2>/dev/null; then
73
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
75
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
76
-echo "configure:707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
77
+echo "configure:709: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
78
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
79
cross_compiling=$ac_cv_prog_cc_cross
81
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
82
-echo "configure:712: checking whether we are using GNU C" >&5
83
+echo "configure:714: checking whether we are using GNU C" >&5
84
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
85
echo $ac_n "(cached) $ac_c" 1>&6
91
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
92
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
97
ac_save_CFLAGS="$CFLAGS"
99
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
100
-echo "configure:740: checking whether ${CC-cc} accepts -g" >&5
101
+echo "configure:742: checking whether ${CC-cc} accepts -g" >&5
102
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
103
echo $ac_n "(cached) $ac_c" 1>&6
106
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
107
# ./install, which can be erroneously created by make from ./install.sh.
108
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
109
-echo "configure:802: checking for a BSD compatible install" >&5
110
+echo "configure:804: checking for a BSD compatible install" >&5
111
if test -z "$INSTALL"; then
112
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
113
echo $ac_n "(cached) $ac_c" 1>&6
115
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
117
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
118
-echo "configure:855: checking how to run the C preprocessor" >&5
119
+echo "configure:857: checking how to run the C preprocessor" >&5
120
# On Suns, sometimes $CPP names a directory.
121
if test -n "$CPP" && test -d "$CPP"; then
123
@@ -866,13 +868,13 @@
124
# On the NeXT, cc -E runs the code through the compiler's parser,
125
# not just through cpp.
126
cat > conftest.$ac_ext <<EOF
127
-#line 870 "configure"
128
+#line 872 "configure"
129
#include "confdefs.h"
133
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
134
-{ (eval echo configure:876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
135
+{ (eval echo configure:878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
136
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
137
if test -z "$ac_err"; then
139
@@ -883,13 +885,13 @@
141
CPP="${CC-cc} -E -traditional-cpp"
142
cat > conftest.$ac_ext <<EOF
143
-#line 887 "configure"
144
+#line 889 "configure"
145
#include "confdefs.h"
149
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
150
-{ (eval echo configure:893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
151
+{ (eval echo configure:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
152
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
153
if test -z "$ac_err"; then
155
@@ -900,13 +902,13 @@
157
CPP="${CC-cc} -nologo -E"
158
cat > conftest.$ac_ext <<EOF
159
-#line 904 "configure"
160
+#line 906 "configure"
161
#include "confdefs.h"
165
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
166
-{ (eval echo configure:910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
167
+{ (eval echo configure:912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
168
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
169
if test -z "$ac_err"; then
172
echo "$ac_t""$CPP" 1>&6
174
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
175
-echo "configure:935: checking whether ${MAKE-make} sets \${MAKE}" >&5
176
+echo "configure:937: checking whether ${MAKE-make} sets \${MAKE}" >&5
177
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
178
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
179
echo $ac_n "(cached) $ac_c" 1>&6
181
# Extract the first word of "$ac_prog", so it can be a program name with args.
182
set dummy $ac_prog; ac_word=$2
183
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
184
-echo "configure:966: checking for $ac_word" >&5
185
+echo "configure:968: checking for $ac_word" >&5
186
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
187
echo $ac_n "(cached) $ac_c" 1>&6
192
echo $ac_n "checking if --enable-purify is specified""... $ac_c" 1>&6
193
-echo "configure:1003: checking if --enable-purify is specified" >&5
194
+echo "configure:1005: checking if --enable-purify is specified" >&5
197
# Check whether --enable-purify or --disable-purify was given.
198
@@ -1011,7 +1013,7 @@
199
# Extract the first word of "$ac_prog", so it can be a program name with args.
200
set dummy $ac_prog; ac_word=$2
201
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
202
-echo "configure:1015: checking for $ac_word" >&5
203
+echo "configure:1017: checking for $ac_word" >&5
204
if eval "test \"`echo '$''{'ac_cv_path_PURIFY'+set}'`\" = set"; then
205
echo $ac_n "(cached) $ac_c" 1>&6
207
@@ -1064,7 +1066,7 @@
210
echo $ac_n "checking for tgetstr in -lterminfo""... $ac_c" 1>&6
211
-echo "configure:1068: checking for tgetstr in -lterminfo" >&5
212
+echo "configure:1070: checking for tgetstr in -lterminfo" >&5
213
ac_lib_var=`echo terminfo'_'tgetstr | sed 'y%./+-%__p_%'`
214
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
215
echo $ac_n "(cached) $ac_c" 1>&6
216
@@ -1072,7 +1074,7 @@
218
LIBS="-lterminfo $LIBS"
219
cat > conftest.$ac_ext <<EOF
220
-#line 1076 "configure"
221
+#line 1078 "configure"
222
#include "confdefs.h"
223
/* Override any gcc2 internal prototype to avoid an error. */
224
/* We use char because int might match the return type of a gcc2
225
@@ -1083,7 +1085,7 @@
229
-if { (eval echo configure:1087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
230
+if { (eval echo configure:1089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
232
eval "ac_cv_lib_$ac_lib_var=yes"
234
@@ -1109,7 +1111,7 @@
236
echo "$ac_t""no" 1>&6
237
echo $ac_n "checking for tgetstr in -ltermcap""... $ac_c" 1>&6
238
-echo "configure:1113: checking for tgetstr in -ltermcap" >&5
239
+echo "configure:1115: checking for tgetstr in -ltermcap" >&5
240
ac_lib_var=`echo termcap'_'tgetstr | sed 'y%./+-%__p_%'`
241
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
242
echo $ac_n "(cached) $ac_c" 1>&6
243
@@ -1117,7 +1119,7 @@
245
LIBS="-ltermcap $LIBS"
246
cat > conftest.$ac_ext <<EOF
247
-#line 1121 "configure"
248
+#line 1123 "configure"
249
#include "confdefs.h"
250
/* Override any gcc2 internal prototype to avoid an error. */
251
/* We use char because int might match the return type of a gcc2
252
@@ -1128,7 +1130,7 @@
256
-if { (eval echo configure:1132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
257
+if { (eval echo configure:1134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
259
eval "ac_cv_lib_$ac_lib_var=yes"
261
@@ -1154,7 +1156,7 @@
263
echo "$ac_t""no" 1>&6
264
echo $ac_n "checking for tgetstr in -lncurses""... $ac_c" 1>&6
265
-echo "configure:1158: checking for tgetstr in -lncurses" >&5
266
+echo "configure:1160: checking for tgetstr in -lncurses" >&5
267
ac_lib_var=`echo ncurses'_'tgetstr | sed 'y%./+-%__p_%'`
268
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
269
echo $ac_n "(cached) $ac_c" 1>&6
270
@@ -1162,7 +1164,7 @@
272
LIBS="-lncurses $LIBS"
273
cat > conftest.$ac_ext <<EOF
274
-#line 1166 "configure"
275
+#line 1168 "configure"
276
#include "confdefs.h"
277
/* Override any gcc2 internal prototype to avoid an error. */
278
/* We use char because int might match the return type of a gcc2
279
@@ -1173,7 +1175,7 @@
283
-if { (eval echo configure:1177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
284
+if { (eval echo configure:1179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
286
eval "ac_cv_lib_$ac_lib_var=yes"
288
@@ -1199,7 +1201,7 @@
290
echo "$ac_t""no" 1>&6
291
echo $ac_n "checking for tgetstr in -lcurses""... $ac_c" 1>&6
292
-echo "configure:1203: checking for tgetstr in -lcurses" >&5
293
+echo "configure:1205: checking for tgetstr in -lcurses" >&5
294
ac_lib_var=`echo curses'_'tgetstr | sed 'y%./+-%__p_%'`
295
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
296
echo $ac_n "(cached) $ac_c" 1>&6
297
@@ -1207,7 +1209,7 @@
299
LIBS="-lcurses $LIBS"
300
cat > conftest.$ac_ext <<EOF
301
-#line 1211 "configure"
302
+#line 1213 "configure"
303
#include "confdefs.h"
304
/* Override any gcc2 internal prototype to avoid an error. */
305
/* We use char because int might match the return type of a gcc2
306
@@ -1218,7 +1220,7 @@
310
-if { (eval echo configure:1222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
311
+if { (eval echo configure:1224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
313
eval "ac_cv_lib_$ac_lib_var=yes"
315
@@ -1253,12 +1255,12 @@
318
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
319
-echo "configure:1257: checking for ANSI C header files" >&5
320
+echo "configure:1259: checking for ANSI C header files" >&5
321
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
322
echo $ac_n "(cached) $ac_c" 1>&6
324
cat > conftest.$ac_ext <<EOF
325
-#line 1262 "configure"
326
+#line 1264 "configure"
327
#include "confdefs.h"
330
@@ -1266,7 +1268,7 @@
333
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
334
-{ (eval echo configure:1270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
335
+{ (eval echo configure:1272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
336
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
337
if test -z "$ac_err"; then
339
@@ -1283,7 +1285,7 @@
340
if test $ac_cv_header_stdc = yes; then
341
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
342
cat > conftest.$ac_ext <<EOF
343
-#line 1287 "configure"
344
+#line 1289 "configure"
345
#include "confdefs.h"
348
@@ -1301,7 +1303,7 @@
349
if test $ac_cv_header_stdc = yes; then
350
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
351
cat > conftest.$ac_ext <<EOF
352
-#line 1305 "configure"
353
+#line 1307 "configure"
354
#include "confdefs.h"
357
@@ -1322,7 +1324,7 @@
360
cat > conftest.$ac_ext <<EOF
361
-#line 1326 "configure"
362
+#line 1328 "configure"
363
#include "confdefs.h"
365
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
366
@@ -1333,7 +1335,7 @@
370
-if { (eval echo configure:1337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
371
+if { (eval echo configure:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
375
@@ -1357,12 +1359,12 @@
378
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
379
-echo "configure:1361: checking for sys/wait.h that is POSIX.1 compatible" >&5
380
+echo "configure:1363: checking for sys/wait.h that is POSIX.1 compatible" >&5
381
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
382
echo $ac_n "(cached) $ac_c" 1>&6
384
cat > conftest.$ac_ext <<EOF
385
-#line 1366 "configure"
386
+#line 1368 "configure"
387
#include "confdefs.h"
388
#include <sys/types.h>
389
#include <sys/wait.h>
390
@@ -1378,7 +1380,7 @@
391
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
394
-if { (eval echo configure:1382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
395
+if { (eval echo configure:1384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
397
ac_cv_header_sys_wait_h=yes
399
@@ -1402,17 +1404,17 @@
401
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
402
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
403
-echo "configure:1406: checking for $ac_hdr" >&5
404
+echo "configure:1408: checking for $ac_hdr" >&5
405
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
406
echo $ac_n "(cached) $ac_c" 1>&6
408
cat > conftest.$ac_ext <<EOF
409
-#line 1411 "configure"
410
+#line 1413 "configure"
411
#include "confdefs.h"
414
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
415
-{ (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
416
+{ (eval echo configure:1418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
417
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
418
if test -z "$ac_err"; then
420
@@ -1443,12 +1445,12 @@
421
for ac_func in sigvec tgetnum setlocale
423
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
424
-echo "configure:1447: checking for $ac_func" >&5
425
+echo "configure:1449: checking for $ac_func" >&5
426
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
427
echo $ac_n "(cached) $ac_c" 1>&6
429
cat > conftest.$ac_ext <<EOF
430
-#line 1452 "configure"
431
+#line 1454 "configure"
432
#include "confdefs.h"
433
/* System header to define __stub macros and hopefully few prototypes,
434
which can conflict with char $ac_func(); below. */
435
@@ -1471,7 +1473,7 @@
439
-if { (eval echo configure:1475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
440
+if { (eval echo configure:1477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
442
eval "ac_cv_func_$ac_func=yes"
444
@@ -1496,7 +1498,7 @@
447
echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
448
-echo "configure:1500: checking whether getpgrp takes no argument" >&5
449
+echo "configure:1502: checking whether getpgrp takes no argument" >&5
450
if eval "test \"`echo '$''{'ac_cv_func_getpgrp_void'+set}'`\" = set"; then
451
echo $ac_n "(cached) $ac_c" 1>&6
453
@@ -1504,7 +1506,7 @@
454
{ echo "configure: error: cannot check getpgrp if cross compiling" 1>&2; exit 1; }
456
cat > conftest.$ac_ext <<EOF
457
-#line 1508 "configure"
458
+#line 1510 "configure"
459
#include "confdefs.h"
462
@@ -1559,7 +1561,7 @@
466
-if { (eval echo configure:1563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
467
+if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
469
ac_cv_func_getpgrp_void=yes
471
@@ -1584,13 +1586,13 @@
473
if test $ac_cv_prog_gcc = yes; then
474
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
475
-echo "configure:1588: checking whether ${CC-cc} needs -traditional" >&5
476
+echo "configure:1590: checking whether ${CC-cc} needs -traditional" >&5
477
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
478
echo $ac_n "(cached) $ac_c" 1>&6
480
ac_pattern="Autoconf.*'x'"
481
cat > conftest.$ac_ext <<EOF
482
-#line 1594 "configure"
483
+#line 1596 "configure"
484
#include "confdefs.h"
487
@@ -1608,7 +1610,7 @@
489
if test $ac_cv_prog_gcc_traditional = no; then
490
cat > conftest.$ac_ext <<EOF
491
-#line 1612 "configure"
492
+#line 1614 "configure"
493
#include "confdefs.h"
496
@@ -1630,12 +1632,12 @@
499
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
500
-echo "configure:1634: checking return type of signal handlers" >&5
501
+echo "configure:1636: checking return type of signal handlers" >&5
502
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
503
echo $ac_n "(cached) $ac_c" 1>&6
505
cat > conftest.$ac_ext <<EOF
506
-#line 1639 "configure"
507
+#line 1641 "configure"
508
#include "confdefs.h"
509
#include <sys/types.h>
511
@@ -1652,7 +1654,7 @@
515
-if { (eval echo configure:1656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
516
+if { (eval echo configure:1658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
518
ac_cv_type_signal=void
520
@@ -1676,19 +1678,19 @@
523
echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
524
-echo "configure:1680: checking for nl_langinfo and CODESET" >&5
525
+echo "configure:1682: checking for nl_langinfo and CODESET" >&5
526
if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then
527
echo $ac_n "(cached) $ac_c" 1>&6
529
cat > conftest.$ac_ext <<EOF
530
-#line 1685 "configure"
531
+#line 1687 "configure"
532
#include "confdefs.h"
533
#include <langinfo.h>
535
char* cs = nl_langinfo(CODESET);
538
-if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
539
+if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
541
am_cv_langinfo_codeset=yes
543
@@ -1710,6 +1712,25 @@
547
+echo $ac_n "checking whether fastio is used""... $ac_c" 1>&6
548
+echo "configure:1717: checking whether fastio is used" >&5
549
+# Check whether --enable-fastio or --disable-fastio was given.
550
+if test "${enable_fastio+set}" = set; then
551
+ enableval="$enable_fastio"
552
+ if ! test "$enableval" = no; then
553
+ cat >> confdefs.h <<\EOF
554
+#define USE_INTERNAL_IOBUF 1
557
+ echo "$ac_t""yes" 1>&6
559
+ echo "$ac_t""no" 1>&6
562
+ echo "$ac_t""no" 1>&6
567
cat > confcache <<\EOF
568
# This file is a shell script that caches the results of configure
569
--- lv.hlp.gotom 2004-01-16 21:24:09.000000000 +0900
570
+++ lv.hlp 2005-05-06 15:35:46.000000000 +0900
581
- llvv [-[+]acdfgiklmnqsuvz]
582
+ llvv [-acdfgiklmnqsuvz] [+acdfgiklmnqsuvz]
583
[-A_c_o_d_i_n_g_-_s_y_s_t_e_m] [-I_c_o_d_i_n_g_-_s_y_s_t_e_m] [-K_c_o_d_i_n_g_-_s_y_s_t_e_m]
584
[-O_c_o_d_i_n_g_-_s_y_s_t_e_m] [-P_c_o_d_i_n_g_-_s_y_s_t_e_m] [-D_c_o_d_i_n_g_-_s_y_s_t_e_m]
585
[-Ss_s_e_q] [-Sr_s_e_q] [-Sb_s_e_q] [-Su_s_e_q] [-Sh_s_e_q]
586
[-T_n_u_m_b_e_r] [-W_w_i_d_t_h] [-H_h_e_i_g_h_t] [-E'_e_d_i_t_o_r_'] [-+]
587
- [-] (_g_r_e_p _p_a_t_t_e_r_n) [_f_i_l_e_s _._._.]
588
+ [+_n_u_m_b_e_r] [+/_g_r_e_p_-_p_a_t_t_e_r_n]
589
+ [-] (_g_r_e_p_-_p_a_t_t_e_r_n) [_f_i_l_e_s _._._.]
591
DDEESSCCRRIIPPTTIIOONN
592
_M_u_l_t_i_l_i_n_g_u_a_l _f_i_l_e _v_i_e_w_e_r
593
- _l_v is a powerful multilingual file viewer. Appar-
594
- ently, lv looks like _l_e_s_s (1), a representative
595
- file viewer on UNIX as you know, so UNIX people
596
- (and _l_e_s_s people on other OSs) don't have to learn
597
- a burdensome new interface. lv can be used on
598
- MSDOS ANSI terminals and almost all UNIX platforms.
599
- lv is a currently growing software, so your feed-
600
- back is welcome and helpful for us to refine the
602
+ _l_v is a powerful multilingual file viewer. Apparently, lv looks
603
+ like _l_e_s_s (1), a representative file viewer on UNIX as you know,
604
+ so UNIX people (and _l_e_s_s people on other OSs) don't have to
605
+ learn a burdensome new interface. lv can be used on MSDOS ANSI
606
+ terminals and almost all UNIX platforms. lv is a currently
607
+ growing software, so your feedback is welcome and helpful for us
608
+ to refine the future lv.
610
_M_u_l_t_i_p_l_e _c_o_d_i_n_g _s_y_s_t_e_m_s
611
- lv can decode and encode multilingual streams
612
- through many coding systems, for example, ISO 2022
613
- based coding systems such as iso-2022-jp, and EUC
614
- (Extended Unix Code) like euc-japan. Furthermore,
615
- localized coding systems such as shift-jis, big5
616
- and HZ are also supported. lv can be used not only
617
- as a file viewer but also as a coding-system trans-
618
- lation filter like _n_k_f (1) and _t_c_s (1).
619
+ lv can decode and encode multilingual streams through many cod-
620
+ ing systems, for example, ISO 2022 based coding systems such as
621
+ iso-2022-jp, and EUC (Extended Unix Code) like euc-japan. Fur-
622
+ thermore, localized coding systems such as shift-jis, big5 and
623
+ HZ are also supported. lv can be used not only as a file viewer
624
+ but also as a coding-system translation filter like _n_k_f (1) and
627
_M_u_l_t_i_l_i_n_g_u_a_l _r_e_g_u_l_a_r _e_x_p_r_e_s_s_i_o_n_s _/ _M_u_l_t_i_l_i_n_g_u_a_l _g_r_e_p
628
- lv can recognize multi-bytes patterns as regular
629
- expressions, and lv also provides multilingual _g_r_e_p
630
- (1) functionality by giving it another name, _l_g_r_e_p.
631
- Pattern matching is conducted in the charset level,
632
- so an EUC fragment, for example, can be found in
633
- the ISO 2022 tailored streams, of course.
634
+ lv can recognize multi-bytes patterns as regular expressions,
635
+ and lv also provides multilingual _g_r_e_p (1) functionality by giv-
636
+ ing it another name, _l_g_r_e_p. Pattern matching is conducted in
637
+ the charset level, so an EUC fragment, for example, can be found
638
+ in the ISO 2022 tailored streams, of course.
640
_S_u_p_p_o_r_t_i_n_g _t_h_e _U_n_i_c_o_d_e _s_t_a_n_d_a_r_d
641
- lv provides Unicode facilities which enables you to
642
- handle Unicode streams encoded in UTF-7 or UTF-8,
643
- and lv can also convert their code-points between
644
- Unicode and other charsets. So you can display
645
- Unicode or foreign texts on your terminal, using
646
- the code conversion function to your favorite
647
- charsets via Unicode. (However, MSDOS version of
648
- lv has none of the Unicode facility.)
649
+ lv provides Unicode facilities which enables you to handle Uni-
650
+ code streams encoded in UTF-7 or UTF-8, and lv can also convert
651
+ their code-points between Unicode and other charsets. So you
652
+ can display Unicode or foreign texts on your terminal, using the
653
+ code conversion function to your favorite charsets via Unicode.
654
+ (However, MSDOS version of lv has none of the Unicode facility.)
656
_A_N_S_I _e_s_c_a_p_e _s_e_q_u_e_n_c_e _t_h_r_o_u_g_h
657
- lv can recognize ANSI escape sequences for text
658
- decoration. So you can look ANSI-decorated streams
659
- such as colored source codes generated by another
660
- software just like intended image on ANSI termi-
662
+ lv can recognize ANSI escape sequences for text decoration. So
663
+ you can look ANSI-decorated streams such as colored source codes
664
+ generated by another software just like intended image on ANSI
667
_C_o_m_p_l_e_t_e_l_y _o_r_i_g_i_n_a_l
668
- lv is a completely original software including no
669
- code drawn from _l_e_s_s and _g_r_e_p and other programs at
671
+ lv is a completely original software including no code drawn
672
+ from _l_e_s_s and _g_r_e_p and other programs at all.
675
-A<_c_o_d_i_n_g_-_s_y_s_t_e_m>
677
Set input coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.
679
-K<_c_o_d_i_n_g_-_s_y_s_t_e_m>
680
- Set keyboard coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m. If it
681
- is not set, output coding system will be applied to
683
+ Set keyboard coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m. If it is not set,
684
+ output coding system will be applied to it.
686
-O<_c_o_d_i_n_g_-_s_y_s_t_e_m>
687
Set output coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.
689
Set pathname coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.
691
-D<_c_o_d_i_n_g_-_s_y_s_t_e_m>
692
- Set default (fall-back) coding system to _c_o_d_i_n_g_-
694
+ Set default (fall-back) coding system to _c_o_d_i_n_g_-_s_y_s_t_e_m.
698
@@ -116,28 +107,24 @@
699
-Ab: all coding systems are big5
701
Coding-system translations / Code-points conversions:
702
- iso-2022-cn, -jp, -kr can be converted into euc-
703
- china or -taiwan, euc-japan, euc-korea, respec-
704
- tively (and vice versa). shift-jis uses the same
705
- internal code-points as iso-2022-jp and euc-japan.
707
- Since big5 characters can be converted into CNS
708
- 11643-1992 with negligible incompleteness, big5
709
- streams can be translated into iso-2022-cn or euc-
710
- taiwan (and vice versa) with code-points conver-
711
- sion. Note that the iso-2022-cn referred here is
712
- not GB sequence, only just CNS one. You should
713
- remember that lv cannot translate big5 into GB
716
- The search function of lv may not work correctly
717
- when lv additionally performs ``code-points'' con-
718
- version (not ``coding-system'' translation),
719
- because visible code and internal code are differ-
720
- ent from each other. lv will try to avoid this
721
- problem with converting charsets of search patterns
722
- automatically, but this function is not always per-
724
+ iso-2022-cn, -jp, -kr can be converted into euc-china or -tai-
725
+ wan, euc-japan, euc-korea, respectively (and vice versa).
726
+ shift-jis uses the same internal code-points as iso-2022-jp and
729
+ Since big5 characters can be converted into CNS 11643-1992 with
730
+ negligible incompleteness, big5 streams can be translated into
731
+ iso-2022-cn or euc-taiwan (and vice versa) with code-points con-
732
+ version. Note that the iso-2022-cn referred here is not GB
733
+ sequence, only just CNS one. You should remember that lv cannot
734
+ translate big5 into GB directly.
736
+ The search function of lv may not work correctly when lv addi-
737
+ tionally performs ``code-points'' conversion (not ``coding-sys-
738
+ tem'' translation), because visible code and internal code are
739
+ different from each other. lv will try to avoid this problem
740
+ with converting charsets of search patterns automatically, but
741
+ this function is not always perfect.
745
@@ -147,14 +134,12 @@
747
-E'<_e_d_i_t_o_r>' (default 'vi -c %d')
748
Editor name (default 'vi -c %d')
749
- ``%d'' means the line number of current position in
751
+ ``%d'' means the line number of current position in a file.
753
-q Assert there is delete/insert-lines control.
754
- Please set this option on a MSDOS ANSI terminal
755
- that has capability to delete and/or insert lines.
756
- As to termcap and terminfo version, it will be set
758
+ Please set this option on a MSDOS ANSI terminal that has capa-
759
+ bility to delete and/or insert lines. As to termcap and ter-
760
+ minfo version, it will be set automatically.
763
Set ANSI Standout sequence to _s_e_q (default "7")
764
@@ -171,88 +156,83 @@
766
Set ANSI Highlight sequence to _s_e_q (default "1")
768
- These sequences are inserted between ``ESC ['' and
769
- ``m'' to construct full ANSI escape sequences.
770
+ These sequences are inserted between ``ESC ['' and ``m'' to con-
771
+ struct full ANSI escape sequences.
774
- Set Threshold-code which divides Unicode code-
775
- points in two regions. Characters belonging to the
776
- lower region are assumed to have a width of one,
777
- and the higher characters are equated to a width of
778
- two. (Default: 12288, = 0x3000)
780
- -m Force Unicode code-points which have the same
781
- glyphs as iso-8859-* to be Mapped to iso-8859-* in
782
- a conversion from Unicode to another character set
783
- which also has the corresponding code-points, in
784
- particular, Asian charsets.
785
+ Set Threshold-code which divides Unicode code-points in two
786
+ regions. Characters belonging to the lower region are assumed to
787
+ have a width of one, and the higher characters are equated to a
788
+ width of two. (Default: 12288, = 0x3000)
790
+ -m Force Unicode code-points which have the same glyphs as
791
+ iso-8859-* to be Mapped to iso-8859-* in a conversion from Uni-
792
+ code to another character set which also has the corresponding
793
+ code-points, in particular, Asian charsets.
795
-a Adjust character set for search pattern (default)
797
- -c Allow ANSI escape sequences for text decoration
799
+ -c Allow ANSI escape sequences for text decoration (Color)
801
- -d, -i Make regexp-searches ignore case (case folD search)
803
+ -d, -i Make regexp-searches ignore case (case folD search) (default)
805
-f Substitute Fixed strings for regular expressions
807
-k Convert X0201 Katakana to X0208 while decoding
809
- -l Allow physical lines of each logical line printed
810
- on the screen to be concatenated for cut and paste
811
- after screen refresh
813
- -s Force old pages to be swept out from the screen
816
- -u Unify several character sets, eg. JIS X0208 and
817
- C6226. In addition, lv equates ISO 646 variants,
818
- eg. JIS X0201-Roman, and unknown charsets with
820
+ -l Allow physical lines of each logical line printed on the screen
821
+ to be concatenated for cut and paste after screen refresh
823
+ -s Force old pages to be swept out from the screen Smoothly
825
+ -u Unify several character sets, eg. JIS X0208 and C6226. In addi-
826
+ tion, lv equates ISO 646 variants, eg. JIS X0201-Roman, and
827
+ unknown charsets with ASCII.
829
-g Turn on lgrep mode.
831
- -n Prefix each line of output with the line number
832
- within its input file on lgrep.
833
+ -n Prefix each line of output with the line number within its input
836
-v Invert the sense of matching on lgrep.
838
- -z Enable HZ auto-detection (also enabled by run-time
840
+ -z Enable HZ auto-detection (also enabled by run-time C-t).
843
- You can also turn OFF specified options, using
844
- ``+<option>'' like +c, +d, ... +z.
845
+ You can also turn OFF specified options, using ``+<option>''
846
+ like +c, +d, ... +z.
848
- Treat the following arguments as filenames
850
- _g_r_e_p _p_a_t_t_e_r_n
851
+ _g_r_e_p_-_p_a_t_t_e_r_n
852
lv works like _g_r_e_p (1) when its name is _l_g_r_e_p
855
+ Jump to the specified line immediately when lv is invoked.
857
+ +/_g_r_e_p_-_p_a_t_t_e_r_n
858
+ Search the specified pattern immediately when lv is invoked.
864
CCOONNFFIIGGUURRAATTIIOONN
865
- Options can be described in configuration file ``.lv''
866
- (``_lv'' on MSDOS) located at you HOME directory. If and
867
- only if you use MSDOS, you can locate ``_lv'' at current
868
- working directory. They can be also described in the
869
- environment variable LV. Every configuration will be
870
- overloaded in this order if there is. Command line options
871
- are always read finally.
872
+ Options can be described in configuration file ``.lv'' (``_lv'' on
873
+ MSDOS) located at you HOME directory. If and only if you use MSDOS,
874
+ you can locate ``_lv'' at current working directory. They can be also
875
+ described in the environment variable LV. Every configuration will be
876
+ overloaded in this order if there is. Command line options are always
879
CCOOMMMMAANNDD KKEEYY BBIINNDDIINNGGSS
882
g, <: Jump to the line number (default: top of the file)
884
- G, >: Jump to the line number (default: bottom of the
886
+ G, >: Jump to the line number (default: bottom of the file)
888
- p: Jump to the percentage position in line numbers
890
+ p: Jump to the percentage position in line numbers (0-100)
894
@@ -272,21 +252,18 @@
898
- F: Jump to the end of file, and wait for a data to be
899
- appended to the file until interrupted.
900
+ F: Jump to the end of file, and wait for a data to be appended to
901
+ the file until interrupted.
904
- Find a string in the forward direction (regular
906
+ Find a string in the forward direction (regular expression)
909
- Find a string in the backward direction (regular
911
+ Find a string in the backward direction (regular expression)
913
n: Repeat previous search in forward direction
915
- N: Repeat previous search in backward direction (not
917
+ N: Repeat previous search in backward direction (not REVERSE)
919
C-l: Redisplay all lines
922
v: Launch the editor defined by option -E
925
- Show file information (filename, position, coding
927
+ Show file information (filename, position, coding system)
931
@@ -340,39 +316,34 @@
934
RREEGGUULLAARR EEXXPPRREESSSSIIOONN
935
- Special characters are ^, $, ., *, +, ?, [, ^, -, ], \.
936
- \| specifies an alternative. \(, \) is a grouping con-
937
- struct. \1 and \2 matches any charset consists of one- or
938
- two- column(s) characters respectively. Mutually overlap-
939
- ping ranges (or charset) are not guaranteed.
940
+ Special characters are ^, $, ., *, +, ?, [, ^, -, ], \. \| specifies
941
+ an alternative. \(, \) is a grouping construct. \1 and \2 matches any
942
+ charset consists of one- or two- column(s) characters respectively.
943
+ Mutually overlapping ranges (or charset) are not guaranteed.
946
LV Homepage: http://www.ff.iij4u.or.jp/~nrt/lv/
949
- All rights reserved. Copyright (C) 1996-2004 by NARITA
951
+ All rights reserved. Copyright (C) 1996-2004 by NARITA Tomio.
953
- This program is free software; you can redistribute it
954
- and/or modify it under the terms of the GNU General Public
955
- License as published by the Free Software Foundation;
956
- either version 2 of the License, or (at your option) any
959
- This program is distributed in the hope that it will be
960
- useful, but WITHOUT ANY WARRANTY; without even the implied
961
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
962
- PURPOSE. See the GNU General Public License for more
965
- You should have received a copy of the GNU General Public
966
- License along with this program; if not, write to the Free
967
- Software Foundation, Inc., 59 Temple Place, Suite 330,
968
- Boston, MA 02111-1307 USA
969
+ This program is free software; you can redistribute it and/or modify it
970
+ under the terms of the GNU General Public License as published by the
971
+ Free Software Foundation; either version 2 of the License, or (at your
972
+ option) any later version.
974
+ This program is distributed in the hope that it will be useful, but
975
+ WITHOUT ANY WARRANTY; without even the implied warranty of MER-
976
+ CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
977
+ Public License for more details.
979
+ You should have received a copy of the GNU General Public License along
980
+ with this program; if not, write to the Free Software Foundation, Inc.,
981
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
984
Please send bug reports to: nrt@ff.iij4u.or.jp
988
- v.4.51 (Jan.16th,2004) LV(1)
989
+ v.4.51 (Jan.16th,2004) LV(1)