Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12 else
13 as_expr=false
14 fi
15
16
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
20
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh
24 NULLCMD=:
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix
27 fi
28
29 # NLS nuisances.
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33 else
34 as_unset=false
35 fi
36
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69 echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
82
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';'
90 else
91 PATH_SEPARATOR=:
92 fi
93 rm -f conftest.sh
94 fi
95
96
97 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 for as_dir in $PATH
108 do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129 do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147 done
148 ;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179 }
180
181
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184 ' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187 esac
188
189 if expr a : '\(a\)' >/dev/null 2>&1; then
190 as_expr=expr
191 else
192 as_expr=false
193 fi
194
195 rm -f conf$$ conf$$.exe conf$$.file
196 echo >conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
202 as_ln_s='cp -p'
203 else
204 as_ln_s='ln -s'
205 fi
206 elif ln conf$$.file conf$$ 2>/dev/null; then
207 as_ln_s=ln
208 else
209 as_ln_s='cp -p'
210 fi
211 rm -f conf$$ conf$$.exe conf$$.file
212
213 as_executable_p="test -f"
214
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220
221
222 # IFS
223 # We need space, tab and new line, in precisely that order.
224 as_nl='
225 '
226 IFS=" $as_nl"
227
228 # CDPATH.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
231
232 # Name of the host.
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236
237 exec 6>&1
238
239 #
240 # Initializations.
241 #
242 ac_default_prefix=/usr/local
243 cross_compiling=no
244 subdirs=
245 MFLAGS=
246 MAKEFLAGS=
247 SHELL=${CONFIG_SHELL-/bin/sh}
248
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
253
254 # Identity of this package.
255 PACKAGE_NAME=
256 PACKAGE_TARNAME=
257 PACKAGE_VERSION=
258 PACKAGE_STRING=
259 PACKAGE_BUGREPORT=
260
261 ac_unique_file="connect.cha"
262
263 # Initialize some variables set by options.
264 ac_init_help=
265 ac_init_version=false
266 # The variables have the same names as the options, with
267 # dashes changed to underlines.
268 cache_file=/dev/null
269 exec_prefix=NONE
270 no_create=
271 no_recursion=
272 prefix=NONE
273 program_prefix=NONE
274 program_suffix=NONE
275 program_transform_name=s,x,x,
276 silent=
277 site=
278 srcdir=
279 verbose=
280 x_includes=NONE
281 x_libraries=NONE
282
283 # Installation directory options.
284 # These are left unexpanded so users can "make install exec_prefix=/foo"
285 # and all the variables that are supposed to be based on exec_prefix
286 # by default will actually change.
287 # Use braces instead of parens because sh, perl, etc. also accept them.
288 bindir='${exec_prefix}/bin'
289 sbindir='${exec_prefix}/sbin'
290 libexecdir='${exec_prefix}/libexec'
291 datadir='${prefix}/share'
292 sysconfdir='${prefix}/etc'
293 sharedstatedir='${prefix}/com'
294 localstatedir='${prefix}/var'
295 libdir='${exec_prefix}/lib'
296 includedir='${prefix}/include'
297 oldincludedir='/usr/include'
298 infodir='${prefix}/info'
299 mandir='${prefix}/man'
300
301 ac_prev=
302 for ac_option
303 do
304 # If the previous option needs an argument, assign it.
305 if test -n "$ac_prev"; then
306 eval "$ac_prev=\$ac_option"
307 ac_prev=
308 continue
309 fi
310
311 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
312
313 # Accept the important Cygnus configure options, so we can diagnose typos.
314
315 case $ac_option in
316
317 -bindir | --bindir | --bindi | --bind | --bin | --bi)
318 ac_prev=bindir ;;
319 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
320 bindir=$ac_optarg ;;
321
322 -build | --build | --buil | --bui | --bu)
323 ac_prev=build_alias ;;
324 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
325 build_alias=$ac_optarg ;;
326
327 -cache-file | --cache-file | --cache-fil | --cache-fi \
328 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
329 ac_prev=cache_file ;;
330 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
331 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
332 cache_file=$ac_optarg ;;
333
334 --config-cache | -C)
335 cache_file=config.cache ;;
336
337 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
338 ac_prev=datadir ;;
339 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
340 | --da=*)
341 datadir=$ac_optarg ;;
342
343 -disable-* | --disable-*)
344 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
345 # Reject names that are not valid shell variable names.
346 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
347 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
348 { (exit 1); exit 1; }; }
349 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
350 eval "enable_$ac_feature=no" ;;
351
352 -enable-* | --enable-*)
353 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
354 # Reject names that are not valid shell variable names.
355 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
356 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
357 { (exit 1); exit 1; }; }
358 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
359 case $ac_option in
360 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
361 *) ac_optarg=yes ;;
362 esac
363 eval "enable_$ac_feature='$ac_optarg'" ;;
364
365 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
366 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
367 | --exec | --exe | --ex)
368 ac_prev=exec_prefix ;;
369 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
370 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
371 | --exec=* | --exe=* | --ex=*)
372 exec_prefix=$ac_optarg ;;
373
374 -gas | --gas | --ga | --g)
375 # Obsolete; use --with-gas.
376 with_gas=yes ;;
377
378 -help | --help | --hel | --he | -h)
379 ac_init_help=long ;;
380 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
381 ac_init_help=recursive ;;
382 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
383 ac_init_help=short ;;
384
385 -host | --host | --hos | --ho)
386 ac_prev=host_alias ;;
387 -host=* | --host=* | --hos=* | --ho=*)
388 host_alias=$ac_optarg ;;
389
390 -includedir | --includedir | --includedi | --included | --include \
391 | --includ | --inclu | --incl | --inc)
392 ac_prev=includedir ;;
393 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
394 | --includ=* | --inclu=* | --incl=* | --inc=*)
395 includedir=$ac_optarg ;;
396
397 -infodir | --infodir | --infodi | --infod | --info | --inf)
398 ac_prev=infodir ;;
399 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
400 infodir=$ac_optarg ;;
401
402 -libdir | --libdir | --libdi | --libd)
403 ac_prev=libdir ;;
404 -libdir=* | --libdir=* | --libdi=* | --libd=*)
405 libdir=$ac_optarg ;;
406
407 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
408 | --libexe | --libex | --libe)
409 ac_prev=libexecdir ;;
410 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
411 | --libexe=* | --libex=* | --libe=*)
412 libexecdir=$ac_optarg ;;
413
414 -localstatedir | --localstatedir | --localstatedi | --localstated \
415 | --localstate | --localstat | --localsta | --localst \
416 | --locals | --local | --loca | --loc | --lo)
417 ac_prev=localstatedir ;;
418 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
419 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
420 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
421 localstatedir=$ac_optarg ;;
422
423 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
424 ac_prev=mandir ;;
425 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
426 mandir=$ac_optarg ;;
427
428 -nfp | --nfp | --nf)
429 # Obsolete; use --without-fp.
430 with_fp=no ;;
431
432 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
433 | --no-cr | --no-c | -n)
434 no_create=yes ;;
435
436 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
437 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
438 no_recursion=yes ;;
439
440 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
441 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
442 | --oldin | --oldi | --old | --ol | --o)
443 ac_prev=oldincludedir ;;
444 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
445 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
446 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
447 oldincludedir=$ac_optarg ;;
448
449 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
450 ac_prev=prefix ;;
451 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
452 prefix=$ac_optarg ;;
453
454 -program-prefix | --program-prefix | --program-prefi | --program-pref \
455 | --program-pre | --program-pr | --program-p)
456 ac_prev=program_prefix ;;
457 -program-prefix=* | --program-prefix=* | --program-prefi=* \
458 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
459 program_prefix=$ac_optarg ;;
460
461 -program-suffix | --program-suffix | --program-suffi | --program-suff \
462 | --program-suf | --program-su | --program-s)
463 ac_prev=program_suffix ;;
464 -program-suffix=* | --program-suffix=* | --program-suffi=* \
465 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
466 program_suffix=$ac_optarg ;;
467
468 -program-transform-name | --program-transform-name \
469 | --program-transform-nam | --program-transform-na \
470 | --program-transform-n | --program-transform- \
471 | --program-transform | --program-transfor \
472 | --program-transfo | --program-transf \
473 | --program-trans | --program-tran \
474 | --progr-tra | --program-tr | --program-t)
475 ac_prev=program_transform_name ;;
476 -program-transform-name=* | --program-transform-name=* \
477 | --program-transform-nam=* | --program-transform-na=* \
478 | --program-transform-n=* | --program-transform-=* \
479 | --program-transform=* | --program-transfor=* \
480 | --program-transfo=* | --program-transf=* \
481 | --program-trans=* | --program-tran=* \
482 | --progr-tra=* | --program-tr=* | --program-t=*)
483 program_transform_name=$ac_optarg ;;
484
485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
486 | -silent | --silent | --silen | --sile | --sil)
487 silent=yes ;;
488
489 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
490 ac_prev=sbindir ;;
491 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
492 | --sbi=* | --sb=*)
493 sbindir=$ac_optarg ;;
494
495 -sharedstatedir | --sharedstatedir | --sharedstatedi \
496 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
497 | --sharedst | --shareds | --shared | --share | --shar \
498 | --sha | --sh)
499 ac_prev=sharedstatedir ;;
500 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
501 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
502 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
503 | --sha=* | --sh=*)
504 sharedstatedir=$ac_optarg ;;
505
506 -site | --site | --sit)
507 ac_prev=site ;;
508 -site=* | --site=* | --sit=*)
509 site=$ac_optarg ;;
510
511 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
512 ac_prev=srcdir ;;
513 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
514 srcdir=$ac_optarg ;;
515
516 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
517 | --syscon | --sysco | --sysc | --sys | --sy)
518 ac_prev=sysconfdir ;;
519 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
520 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
521 sysconfdir=$ac_optarg ;;
522
523 -target | --target | --targe | --targ | --tar | --ta | --t)
524 ac_prev=target_alias ;;
525 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
526 target_alias=$ac_optarg ;;
527
528 -v | -verbose | --verbose | --verbos | --verbo | --verb)
529 verbose=yes ;;
530
531 -version | --version | --versio | --versi | --vers | -V)
532 ac_init_version=: ;;
533
534 -with-* | --with-*)
535 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
536 # Reject names that are not valid shell variable names.
537 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
538 { echo "$as_me: error: invalid package name: $ac_package" >&2
539 { (exit 1); exit 1; }; }
540 ac_package=`echo $ac_package| sed 's/-/_/g'`
541 case $ac_option in
542 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
543 *) ac_optarg=yes ;;
544 esac
545 eval "with_$ac_package='$ac_optarg'" ;;
546
547 -without-* | --without-*)
548 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551 { echo "$as_me: error: invalid package name: $ac_package" >&2
552 { (exit 1); exit 1; }; }
553 ac_package=`echo $ac_package | sed 's/-/_/g'`
554 eval "with_$ac_package=no" ;;
555
556 --x)
557 # Obsolete; use --with-x.
558 with_x=yes ;;
559
560 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
561 | --x-incl | --x-inc | --x-in | --x-i)
562 ac_prev=x_includes ;;
563 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
564 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
565 x_includes=$ac_optarg ;;
566
567 -x-libraries | --x-libraries | --x-librarie | --x-librari \
568 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
569 ac_prev=x_libraries ;;
570 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
571 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
572 x_libraries=$ac_optarg ;;
573
574 -*) { echo "$as_me: error: unrecognized option: $ac_option
575 Try \`$0 --help' for more information." >&2
576 { (exit 1); exit 1; }; }
577 ;;
578
579 *=*)
580 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
581 # Reject names that are not valid shell variable names.
582 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
583 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
584 { (exit 1); exit 1; }; }
585 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
586 eval "$ac_envvar='$ac_optarg'"
587 export $ac_envvar ;;
588
589 *)
590 # FIXME: should be removed in autoconf 3.0.
591 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
592 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
593 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
594 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
595 ;;
596
597 esac
598 done
599
600 if test -n "$ac_prev"; then
601 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
602 { echo "$as_me: error: missing argument to $ac_option" >&2
603 { (exit 1); exit 1; }; }
604 fi
605
606 # Be sure to have absolute paths.
607 for ac_var in exec_prefix prefix
608 do
609 eval ac_val=$`echo $ac_var`
610 case $ac_val in
611 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
612 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
613 { (exit 1); exit 1; }; };;
614 esac
615 done
616
617 # Be sure to have absolute paths.
618 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
619 localstatedir libdir includedir oldincludedir infodir mandir
620 do
621 eval ac_val=$`echo $ac_var`
622 case $ac_val in
623 [\\/$]* | ?:[\\/]* ) ;;
624 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
625 { (exit 1); exit 1; }; };;
626 esac
627 done
628
629 # There might be people who depend on the old broken behavior: `$host'
630 # used to hold the argument of --host etc.
631 # FIXME: To remove some day.
632 build=$build_alias
633 host=$host_alias
634 target=$target_alias
635
636 # FIXME: To remove some day.
637 if test "x$host_alias" != x; then
638 if test "x$build_alias" = x; then
639 cross_compiling=maybe
640 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
641 If a cross compiler is detected then cross compile mode will be used." >&2
642 elif test "x$build_alias" != "x$host_alias"; then
643 cross_compiling=yes
644 fi
645 fi
646
647 ac_tool_prefix=
648 test -n "$host_alias" && ac_tool_prefix=$host_alias-
649
650 test "$silent" = yes && exec 6>/dev/null
651
652
653 # Find the source files, if location was not specified.
654 if test -z "$srcdir"; then
655 ac_srcdir_defaulted=yes
656 # Try the directory containing this script, then its parent.
657 ac_confdir=`(dirname "$0") 2>/dev/null ||
658 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
659 X"$0" : 'X\(//\)[^/]' \| \
660 X"$0" : 'X\(//\)$' \| \
661 X"$0" : 'X\(/\)' \| \
662 . : '\(.\)' 2>/dev/null ||
663 echo X"$0" |
664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
665 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
666 /^X\(\/\/\)$/{ s//\1/; q; }
667 /^X\(\/\).*/{ s//\1/; q; }
668 s/.*/./; q'`
669 srcdir=$ac_confdir
670 if test ! -r $srcdir/$ac_unique_file; then
671 srcdir=..
672 fi
673 else
674 ac_srcdir_defaulted=no
675 fi
676 if test ! -r $srcdir/$ac_unique_file; then
677 if test "$ac_srcdir_defaulted" = yes; then
678 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
679 { (exit 1); exit 1; }; }
680 else
681 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
682 { (exit 1); exit 1; }; }
683 fi
684 fi
685 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
686 ac_env_build_alias_set=${build_alias+set}
687 ac_env_build_alias_value=$build_alias
688 ac_cv_env_build_alias_set=${build_alias+set}
689 ac_cv_env_build_alias_value=$build_alias
690 ac_env_host_alias_set=${host_alias+set}
691 ac_env_host_alias_value=$host_alias
692 ac_cv_env_host_alias_set=${host_alias+set}
693 ac_cv_env_host_alias_value=$host_alias
694 ac_env_target_alias_set=${target_alias+set}
695 ac_env_target_alias_value=$target_alias
696 ac_cv_env_target_alias_set=${target_alias+set}
697 ac_cv_env_target_alias_value=$target_alias
698
699 #
700 # Report the --help message.
701 #
702 if test "$ac_init_help" = "long"; then
703 # Omit some internal or obsolete options to make the list less imposing.
704 # This message is too long to be a string in the A/UX 3.1 sh.
705 cat <<_ACEOF
706 \`configure' configures this package to adapt to many kinds of systems.
707
708 Usage: $0 [OPTION]... [VAR=VALUE]...
709
710 To assign environment variables (e.g., CC, CFLAGS...), specify them as
711 VAR=VALUE. See below for descriptions of some of the useful variables.
712
713 Defaults for the options are specified in brackets.
714
715 Configuration:
716 -h, --help display this help and exit
717 --help=short display options specific to this package
718 --help=recursive display the short help of all the included packages
719 -V, --version display version information and exit
720 -q, --quiet, --silent do not print \`checking...' messages
721 --cache-file=FILE cache test results in FILE [disabled]
722 -C, --config-cache alias for \`--cache-file=config.cache'
723 -n, --no-create do not create output files
724 --srcdir=DIR find the sources in DIR [configure dir or \`..']
725
726 _ACEOF
727
728 cat <<_ACEOF
729 Installation directories:
730 --prefix=PREFIX install architecture-independent files in PREFIX
731 [$ac_default_prefix]
732 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
733 [PREFIX]
734
735 By default, \`make install' will install all the files in
736 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
737 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
738 for instance \`--prefix=\$HOME'.
739
740 For better control, use the options below.
741
742 Fine tuning of the installation directories:
743 --bindir=DIR user executables [EPREFIX/bin]
744 --sbindir=DIR system admin executables [EPREFIX/sbin]
745 --libexecdir=DIR program executables [EPREFIX/libexec]
746 --datadir=DIR read-only architecture-independent data [PREFIX/share]
747 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
748 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
749 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
750 --libdir=DIR object code libraries [EPREFIX/lib]
751 --includedir=DIR C header files [PREFIX/include]
752 --oldincludedir=DIR C header files for non-gcc [/usr/include]
753 --infodir=DIR info documentation [PREFIX/info]
754 --mandir=DIR man documentation [PREFIX/man]
755 _ACEOF
756
757 cat <<\_ACEOF
758
759 Program names:
760 --program-prefix=PREFIX prepend PREFIX to installed program names
761 --program-suffix=SUFFIX append SUFFIX to installed program names
762 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
763 _ACEOF
764 fi
765
766 if test -n "$ac_init_help"; then
767
768 cat <<\_ACEOF
769
770 Optional Features:
771 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
772 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
773 --enable-maintainer-mode enable make rules and dependencies not useful
774 (and sometimes confusing) to the casual installer
775
776 Optional Packages:
777 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
778 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
779 --with-dicdir=DIR set dicdir location
780 --with-mkchadic=DIR set mkchadic location
781 --with-chasenrc-path=FILE set chasenrc path
782 --with-chasen-config=PATH set chasen-config location search path
783 --with-emacs=EMACS Use EMACS for producing info files default=emacs
784 --with-tex=TEX Use TEX for producing dvi files default=ptex
785
786 _ACEOF
787 fi
788
789 if test "$ac_init_help" = "recursive"; then
790 # If there are subdirs, report their specific --help.
791 ac_popdir=`pwd`
792 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
793 test -d $ac_dir || continue
794 ac_builddir=.
795
796 if test "$ac_dir" != .; then
797 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
798 # A "../" for each directory in $ac_dir_suffix.
799 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
800 else
801 ac_dir_suffix= ac_top_builddir=
802 fi
803
804 case $srcdir in
805 .) # No --srcdir option. We are building in place.
806 ac_srcdir=.
807 if test -z "$ac_top_builddir"; then
808 ac_top_srcdir=.
809 else
810 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
811 fi ;;
812 [\\/]* | ?:[\\/]* ) # Absolute path.
813 ac_srcdir=$srcdir$ac_dir_suffix;
814 ac_top_srcdir=$srcdir ;;
815 *) # Relative path.
816 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
817 ac_top_srcdir=$ac_top_builddir$srcdir ;;
818 esac
819 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
820 # absolute.
821 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
822 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
823 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
824 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
825
826 cd $ac_dir
827 # Check for guested configure; otherwise get Cygnus style configure.
828 if test -f $ac_srcdir/configure.gnu; then
829 echo
830 $SHELL $ac_srcdir/configure.gnu --help=recursive
831 elif test -f $ac_srcdir/configure; then
832 echo
833 $SHELL $ac_srcdir/configure --help=recursive
834 elif test -f $ac_srcdir/configure.ac ||
835 test -f $ac_srcdir/configure.in; then
836 echo
837 $ac_configure --help
838 else
839 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
840 fi
841 cd $ac_popdir
842 done
843 fi
844
845 test -n "$ac_init_help" && exit 0
846 if $ac_init_version; then
847 cat <<\_ACEOF
848
849 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
850 Free Software Foundation, Inc.
851 This configure script is free software; the Free Software Foundation
852 gives unlimited permission to copy, distribute and modify it.
853 _ACEOF
854 exit 0
855 fi
856 exec 5>config.log
857 cat >&5 <<_ACEOF
858 This file contains any messages produced by compilers while
859 running configure, to aid debugging if configure makes a mistake.
860
861 It was created by $as_me, which was
862 generated by GNU Autoconf 2.53. Invocation command line was
863
864 $ $0 $@
865
866 _ACEOF
867 {
868 cat <<_ASUNAME
869 ## --------- ##
870 ## Platform. ##
871 ## --------- ##
872
873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
878
879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
880 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
881
882 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
883 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
885 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
886 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
887 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
888 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
889
890 _ASUNAME
891
892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
893 for as_dir in $PATH
894 do
895 IFS=$as_save_IFS
896 test -z "$as_dir" && as_dir=.
897 echo "PATH: $as_dir"
898 done
899
900 } >&5
901
902 cat >&5 <<_ACEOF
903
904
905 ## ----------- ##
906 ## Core tests. ##
907 ## ----------- ##
908
909 _ACEOF
910
911
912 # Keep a trace of the command line.
913 # Strip out --no-create and --no-recursion so they do not pile up.
914 # Also quote any args containing shell meta-characters.
915 ac_configure_args=
916 ac_sep=
917 for ac_arg
918 do
919 case $ac_arg in
920 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
921 | --no-cr | --no-c | -n ) continue ;;
922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924 continue ;;
925 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
926 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
927 esac
928 case " $ac_configure_args " in
929 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
930 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
931 ac_sep=" " ;;
932 esac
933 # Get rid of the leading space.
934 done
935
936 # When interrupted or exit'd, cleanup temporary files, and complete
937 # config.log. We remove comments because anyway the quotes in there
938 # would cause problems or look ugly.
939 # WARNING: Be sure not to use single quotes in there, as some shells,
940 # such as our DU 5.0 friend, will then `close' the trap.
941 trap 'exit_status=$?
942 # Save into config.log some information that might help in debugging.
943 {
944 echo
945 cat <<\_ASBOX
946 ## ---------------- ##
947 ## Cache variables. ##
948 ## ---------------- ##
949 _ASBOX
950 echo
951 # The following way of writing the cache mishandles newlines in values,
952 {
953 (set) 2>&1 |
954 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
955 *ac_space=\ *)
956 sed -n \
957 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
959 ;;
960 *)
961 sed -n \
962 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
963 ;;
964 esac;
965 }
966 echo
967 if test -s confdefs.h; then
968 cat <<\_ASBOX
969 ## ----------- ##
970 ## confdefs.h. ##
971 ## ----------- ##
972 _ASBOX
973 echo
974 sed "/^$/d" confdefs.h
975 echo
976 fi
977 test "$ac_signal" != 0 &&
978 echo "$as_me: caught signal $ac_signal"
979 echo "$as_me: exit $exit_status"
980 } >&5
981 rm -f core core.* *.core &&
982 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
983 exit $exit_status
984 ' 0
985 for ac_signal in 1 2 13 15; do
986 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
987 done
988 ac_signal=0
989
990 # confdefs.h avoids OS command line length limits that DEFS can exceed.
991 rm -rf conftest* confdefs.h
992 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
993 echo >confdefs.h
994
995 # Predefined preprocessor variables.
996
997 cat >>confdefs.h <<_ACEOF
998 #define PACKAGE_NAME "$PACKAGE_NAME"
999 _ACEOF
1000
1001
1002 cat >>confdefs.h <<_ACEOF
1003 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1004 _ACEOF
1005
1006
1007 cat >>confdefs.h <<_ACEOF
1008 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1009 _ACEOF
1010
1011
1012 cat >>confdefs.h <<_ACEOF
1013 #define PACKAGE_STRING "$PACKAGE_STRING"
1014 _ACEOF
1015
1016
1017 cat >>confdefs.h <<_ACEOF
1018 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1019 _ACEOF
1020
1021
1022 # Let the site file select an alternate cache file if it wants to.
1023 # Prefer explicitly selected file to automatically selected ones.
1024 if test -z "$CONFIG_SITE"; then
1025 if test "x$prefix" != xNONE; then
1026 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1027 else
1028 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1029 fi
1030 fi
1031 for ac_site_file in $CONFIG_SITE; do
1032 if test -r "$ac_site_file"; then
1033 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1034 echo "$as_me: loading site script $ac_site_file" >&6;}
1035 sed 's/^/| /' "$ac_site_file" >&5
1036 . "$ac_site_file"
1037 fi
1038 done
1039
1040 if test -r "$cache_file"; then
1041 # Some versions of bash will fail to source /dev/null (special
1042 # files actually), so we avoid doing that.
1043 if test -f "$cache_file"; then
1044 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1045 echo "$as_me: loading cache $cache_file" >&6;}
1046 case $cache_file in
1047 [\\/]* | ?:[\\/]* ) . $cache_file;;
1048 *) . ./$cache_file;;
1049 esac
1050 fi
1051 else
1052 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1053 echo "$as_me: creating cache $cache_file" >&6;}
1054 >$cache_file
1055 fi
1056
1057 # Check that the precious variables saved in the cache have kept the same
1058 # value.
1059 ac_cache_corrupted=false
1060 for ac_var in `(set) 2>&1 |
1061 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1062 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1063 eval ac_new_set=\$ac_env_${ac_var}_set
1064 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1065 eval ac_new_val="\$ac_env_${ac_var}_value"
1066 case $ac_old_set,$ac_new_set in
1067 set,)
1068 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1069 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1070 ac_cache_corrupted=: ;;
1071 ,set)
1072 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1073 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1074 ac_cache_corrupted=: ;;
1075 ,);;
1076 *)
1077 if test "x$ac_old_val" != "x$ac_new_val"; then
1078 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1079 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1080 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1081 echo "$as_me: former value: $ac_old_val" >&2;}
1082 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1083 echo "$as_me: current value: $ac_new_val" >&2;}
1084 ac_cache_corrupted=:
1085 fi;;
1086 esac
1087 # Pass precious variables to config.status.
1088 if test "$ac_new_set" = set; then
1089 case $ac_new_val in
1090 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1091 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1092 *) ac_arg=$ac_var=$ac_new_val ;;
1093 esac
1094 case " $ac_configure_args " in
1095 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1096 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1097 esac
1098 fi
1099 done
1100 if $ac_cache_corrupted; then
1101 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1102 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1103 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1104 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1105 { (exit 1); exit 1; }; }
1106 fi
1107
1108 ac_ext=c
1109 ac_cpp='$CPP $CPPFLAGS'
1110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132 am__api_version="1.6"
1133 ac_aux_dir=
1134 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1135 if test -f $ac_dir/install-sh; then
1136 ac_aux_dir=$ac_dir
1137 ac_install_sh="$ac_aux_dir/install-sh -c"
1138 break
1139 elif test -f $ac_dir/install.sh; then
1140 ac_aux_dir=$ac_dir
1141 ac_install_sh="$ac_aux_dir/install.sh -c"
1142 break
1143 elif test -f $ac_dir/shtool; then
1144 ac_aux_dir=$ac_dir
1145 ac_install_sh="$ac_aux_dir/shtool install -c"
1146 break
1147 fi
1148 done
1149 if test -z "$ac_aux_dir"; then
1150 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1151 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1152 { (exit 1); exit 1; }; }
1153 fi
1154 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1155 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1156 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1157
1158 # Find a good install program. We prefer a C program (faster),
1159 # so one script is as good as another. But avoid the broken or
1160 # incompatible versions:
1161 # SysV /etc/install, /usr/sbin/install
1162 # SunOS /usr/etc/install
1163 # IRIX /sbin/install
1164 # AIX /bin/install
1165 # AmigaOS /C/install, which installs bootblocks on floppy discs
1166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1169 # ./install, which can be erroneously created by make from ./install.sh.
1170 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1171 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1172 if test -z "$INSTALL"; then
1173 if test "${ac_cv_path_install+set}" = set; then
1174 echo $ECHO_N "(cached) $ECHO_C" >&6
1175 else
1176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1177 for as_dir in $PATH
1178 do
1179 IFS=$as_save_IFS
1180 test -z "$as_dir" && as_dir=.
1181 # Account for people who put trailing slashes in PATH elements.
1182 case $as_dir/ in
1183 ./ | .// | /cC/* | \
1184 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1185 /usr/ucb/* ) ;;
1186 *)
1187 # OSF1 and SCO ODT 3.0 have their own names for install.
1188 # Don't use installbsd from OSF since it installs stuff as root
1189 # by default.
1190 for ac_prog in ginstall scoinst install; do
1191 for ac_exec_ext in '' $ac_executable_extensions; do
1192 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1193 if test $ac_prog = install &&
1194 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1195 # AIX install. It has an incompatible calling convention.
1196 :
1197 elif test $ac_prog = install &&
1198 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1199 # program-specific install script used by HP pwplus--don't use.
1200 :
1201 else
1202 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1203 break 3
1204 fi
1205 fi
1206 done
1207 done
1208 ;;
1209 esac
1210 done
1211
1212
1213 fi
1214 if test "${ac_cv_path_install+set}" = set; then
1215 INSTALL=$ac_cv_path_install
1216 else
1217 # As a last resort, use the slow shell script. We don't cache a
1218 # path for INSTALL within a source directory, because that will
1219 # break other packages using the cache if that directory is
1220 # removed, or if the path is relative.
1221 INSTALL=$ac_install_sh
1222 fi
1223 fi
1224 echo "$as_me:$LINENO: result: $INSTALL" >&5
1225 echo "${ECHO_T}$INSTALL" >&6
1226
1227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1228 # It thinks the first close brace ends the variable substitution.
1229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1230
1231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1232
1233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1234
1235 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1236 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1237 # Just in case
1238 sleep 1
1239 echo timestamp > conftest.file
1240 # Do `set' in a subshell so we don't clobber the current shell's
1241 # arguments. Must try -L first in case configure is actually a
1242 # symlink; some systems play weird games with the mod time of symlinks
1243 # (eg FreeBSD returns the mod time of the symlink's containing
1244 # directory).
1245 if (
1246 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1247 if test "$*" = "X"; then
1248 # -L didn't work.
1249 set X `ls -t $srcdir/configure conftest.file`
1250 fi
1251 rm -f conftest.file
1252 if test "$*" != "X $srcdir/configure conftest.file" \
1253 && test "$*" != "X conftest.file $srcdir/configure"; then
1254
1255 # If neither matched, then we have a broken ls. This can happen
1256 # if, for instance, CONFIG_SHELL is bash and it inherits a
1257 # broken ls alias from the environment. This has actually
1258 # happened. Such a system could not be considered "sane".
1259 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1260 alias in your environment" >&5
1261 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1262 alias in your environment" >&2;}
1263 { (exit 1); exit 1; }; }
1264 fi
1265
1266 test "$2" = conftest.file
1267 )
1268 then
1269 # Ok.
1270 :
1271 else
1272 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1273 Check your system clock" >&5
1274 echo "$as_me: error: newly created file is older than distributed files!
1275 Check your system clock" >&2;}
1276 { (exit 1); exit 1; }; }
1277 fi
1278 echo "$as_me:$LINENO: result: yes" >&5
1279 echo "${ECHO_T}yes" >&6
1280 test "$program_prefix" != NONE &&
1281 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1282 # Use a double $ so make ignores it.
1283 test "$program_suffix" != NONE &&
1284 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1285 # Double any \ or $. echo might interpret backslashes.
1286 # By default was `s,x,x', remove it if useless.
1287 cat <<\_ACEOF >conftest.sed
1288 s/[\\$]/&&/g;s/;s,x,x,$//
1289 _ACEOF
1290 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1291 rm conftest.sed
1292
1293
1294 # expand $ac_aux_dir to an absolute path
1295 am_aux_dir=`cd $ac_aux_dir && pwd`
1296
1297 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1298 # Use eval to expand $SHELL
1299 if eval "$MISSING --run true"; then
1300 am_missing_run="$MISSING --run "
1301 else
1302 am_missing_run=
1303 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1304 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1305 fi
1306
1307 for ac_prog in gawk mawk nawk awk
1308 do
1309 # Extract the first word of "$ac_prog", so it can be a program name with args.
1310 set dummy $ac_prog; ac_word=$2
1311 echo "$as_me:$LINENO: checking for $ac_word" >&5
1312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1313 if test "${ac_cv_prog_AWK+set}" = set; then
1314 echo $ECHO_N "(cached) $ECHO_C" >&6
1315 else
1316 if test -n "$AWK"; then
1317 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1318 else
1319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1320 for as_dir in $PATH
1321 do
1322 IFS=$as_save_IFS
1323 test -z "$as_dir" && as_dir=.
1324 for ac_exec_ext in '' $ac_executable_extensions; do
1325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1326 ac_cv_prog_AWK="$ac_prog"
1327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1328 break 2
1329 fi
1330 done
1331 done
1332
1333 fi
1334 fi
1335 AWK=$ac_cv_prog_AWK
1336 if test -n "$AWK"; then
1337 echo "$as_me:$LINENO: result: $AWK" >&5
1338 echo "${ECHO_T}$AWK" >&6
1339 else
1340 echo "$as_me:$LINENO: result: no" >&5
1341 echo "${ECHO_T}no" >&6
1342 fi
1343
1344 test -n "$AWK" && break
1345 done
1346
1347 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1348 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1349 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1350 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1352 else
1353 cat >conftest.make <<\_ACEOF
1354 all:
1355 @echo 'ac_maketemp="${MAKE}"'
1356 _ACEOF
1357 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1358 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1359 if test -n "$ac_maketemp"; then
1360 eval ac_cv_prog_make_${ac_make}_set=yes
1361 else
1362 eval ac_cv_prog_make_${ac_make}_set=no
1363 fi
1364 rm -f conftest.make
1365 fi
1366 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1367 echo "$as_me:$LINENO: result: yes" >&5
1368 echo "${ECHO_T}yes" >&6
1369 SET_MAKE=
1370 else
1371 echo "$as_me:$LINENO: result: no" >&5
1372 echo "${ECHO_T}no" >&6
1373 SET_MAKE="MAKE=${MAKE-make}"
1374 fi
1375
1376 # test to see if srcdir already configured
1377 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1378 test -f $srcdir/config.status; then
1379 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1380 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1381 { (exit 1); exit 1; }; }
1382 fi
1383
1384 # Define the identity of the package.
1385 PACKAGE=ipadic
1386 VERSION=2.7.0
1387
1388
1389 cat >>confdefs.h <<_ACEOF
1390 #define PACKAGE "$PACKAGE"
1391 _ACEOF
1392
1393
1394 cat >>confdefs.h <<_ACEOF
1395 #define VERSION "$VERSION"
1396 _ACEOF
1397
1398 # Some tools Automake needs.
1399
1400 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1401
1402
1403 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1404
1405
1406 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1407
1408
1409 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1410
1411
1412 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1413
1414
1415 AMTAR=${AMTAR-"${am_missing_run}tar"}
1416
1417 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1418
1419 # Installed binaries are usually stripped using `strip' when the user
1420 # run `make install-strip'. However `strip' might not be the right
1421 # tool to use in cross-compilation environments, therefore Automake
1422 # will honor the `STRIP' environment variable to overrule this program.
1423 if test "$cross_compiling" != no; then
1424 if test -n "$ac_tool_prefix"; then
1425 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1426 set dummy ${ac_tool_prefix}strip; ac_word=$2
1427 echo "$as_me:$LINENO: checking for $ac_word" >&5
1428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1429 if test "${ac_cv_prog_STRIP+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 else
1432 if test -n "$STRIP"; then
1433 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1434 else
1435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436 for as_dir in $PATH
1437 do
1438 IFS=$as_save_IFS
1439 test -z "$as_dir" && as_dir=.
1440 for ac_exec_ext in '' $ac_executable_extensions; do
1441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1442 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1444 break 2
1445 fi
1446 done
1447 done
1448
1449 fi
1450 fi
1451 STRIP=$ac_cv_prog_STRIP
1452 if test -n "$STRIP"; then
1453 echo "$as_me:$LINENO: result: $STRIP" >&5
1454 echo "${ECHO_T}$STRIP" >&6
1455 else
1456 echo "$as_me:$LINENO: result: no" >&5
1457 echo "${ECHO_T}no" >&6
1458 fi
1459
1460 fi
1461 if test -z "$ac_cv_prog_STRIP"; then
1462 ac_ct_STRIP=$STRIP
1463 # Extract the first word of "strip", so it can be a program name with args.
1464 set dummy strip; ac_word=$2
1465 echo "$as_me:$LINENO: checking for $ac_word" >&5
1466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1467 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 else
1470 if test -n "$ac_ct_STRIP"; then
1471 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1472 else
1473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1474 for as_dir in $PATH
1475 do
1476 IFS=$as_save_IFS
1477 test -z "$as_dir" && as_dir=.
1478 for ac_exec_ext in '' $ac_executable_extensions; do
1479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1480 ac_cv_prog_ac_ct_STRIP="strip"
1481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1482 break 2
1483 fi
1484 done
1485 done
1486
1487 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1488 fi
1489 fi
1490 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1491 if test -n "$ac_ct_STRIP"; then
1492 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1493 echo "${ECHO_T}$ac_ct_STRIP" >&6
1494 else
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1497 fi
1498
1499 STRIP=$ac_ct_STRIP
1500 else
1501 STRIP="$ac_cv_prog_STRIP"
1502 fi
1503
1504 fi
1505 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1506
1507 # We need awk for the "check" target. The system "awk" is bad on
1508 # some platforms.
1509
1510
1511
1512 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1513 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1514 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1515 if test "${enable_maintainer_mode+set}" = set; then
1516 enableval="$enable_maintainer_mode"
1517 USE_MAINTAINER_MODE=$enableval
1518 else
1519 USE_MAINTAINER_MODE=no
1520 fi;
1521 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1522 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1523
1524
1525 if test $USE_MAINTAINER_MODE = yes; then
1526 MAINTAINER_MODE_TRUE=
1527 MAINTAINER_MODE_FALSE='#'
1528 else
1529 MAINTAINER_MODE_TRUE='#'
1530 MAINTAINER_MODE_FALSE=
1531 fi
1532
1533 MAINT=$MAINTAINER_MODE_TRUE
1534
1535
1536
1537
1538 # Find a good install program. We prefer a C program (faster),
1539 # so one script is as good as another. But avoid the broken or
1540 # incompatible versions:
1541 # SysV /etc/install, /usr/sbin/install
1542 # SunOS /usr/etc/install
1543 # IRIX /sbin/install
1544 # AIX /bin/install
1545 # AmigaOS /C/install, which installs bootblocks on floppy discs
1546 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1547 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1548 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 for as_dir in $PATH
1558 do
1559 IFS=$as_save_IFS
1560 test -z "$as_dir" && as_dir=.
1561 # Account for people who put trailing slashes in PATH elements.
1562 case $as_dir/ in
1563 ./ | .// | /cC/* | \
1564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1565 /usr/ucb/* ) ;;
1566 *)
1567 # OSF1 and SCO ODT 3.0 have their own names for install.
1568 # Don't use installbsd from OSF since it installs stuff as root
1569 # by default.
1570 for ac_prog in ginstall scoinst install; do
1571 for ac_exec_ext in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1573 if test $ac_prog = install &&
1574 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1575 # AIX install. It has an incompatible calling convention.
1576 :
1577 elif test $ac_prog = install &&
1578 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1579 # program-specific install script used by HP pwplus--don't use.
1580 :
1581 else
1582 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1583 break 3
1584 fi
1585 fi
1586 done
1587 done
1588 ;;
1589 esac
1590 done
1591
1592
1593 fi
1594 if test "${ac_cv_path_install+set}" = set; then
1595 INSTALL=$ac_cv_path_install
1596 else
1597 # As a last resort, use the slow shell script. We don't cache a
1598 # path for INSTALL within a source directory, because that will
1599 # break other packages using the cache if that directory is
1600 # removed, or if the path is relative.
1601 INSTALL=$ac_install_sh
1602 fi
1603 fi
1604 echo "$as_me:$LINENO: result: $INSTALL" >&5
1605 echo "${ECHO_T}$INSTALL" >&6
1606
1607 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1608 # It thinks the first close brace ends the variable substitution.
1609 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1610
1611 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1612
1613 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1614
1615 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1616 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1617 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1618 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 else
1621 cat >conftest.make <<\_ACEOF
1622 all:
1623 @echo 'ac_maketemp="${MAKE}"'
1624 _ACEOF
1625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1626 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1627 if test -n "$ac_maketemp"; then
1628 eval ac_cv_prog_make_${ac_make}_set=yes
1629 else
1630 eval ac_cv_prog_make_${ac_make}_set=no
1631 fi
1632 rm -f conftest.make
1633 fi
1634 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1635 echo "$as_me:$LINENO: result: yes" >&5
1636 echo "${ECHO_T}yes" >&6
1637 SET_MAKE=
1638 else
1639 echo "$as_me:$LINENO: result: no" >&5
1640 echo "${ECHO_T}no" >&6
1641 SET_MAKE="MAKE=${MAKE-make}"
1642 fi
1643
1644
1645
1646 # Check whether --with-dicdir or --without-dicdir was given.
1647 if test "${with_dicdir+set}" = set; then
1648 withval="$with_dicdir"
1649 echo "$as_me:$LINENO: result: using $with_dicdir for dicdir" >&5
1650 echo "${ECHO_T}using $with_dicdir for dicdir" >&6
1651 CHASEN_DIC_DIR=$with_dicdir
1652 else
1653 CHASEN_DIC_DIR="no"
1654
1655 fi;
1656
1657
1658 # Check whether --with-mkchadic or --without-mkchadic was given.
1659 if test "${with_mkchadic+set}" = set; then
1660 withval="$with_mkchadic"
1661 echo "$as_me:$LINENO: result: using $with_mkchadic for mkchadic" >&5
1662 echo "${ECHO_T}using $with_mkchadic for mkchadic" >&6
1663 CHASEN_MKCHADIC_DIR=$with_mkchadic
1664 else
1665 CHASEN_MKCHADIC_DIR="no"
1666
1667 fi;
1668
1669
1670 # Check whether --with-chasenrc-path or --without-chasenrc-path was given.
1671 if test "${with_chasenrc_path+set}" = set; then
1672 withval="$with_chasenrc_path"
1673 echo "$as_me:$LINENO: result: using $with_chasenrc_path for chasenrc-path" >&5
1674 echo "${ECHO_T}using $with_chasenrc_path for chasenrc-path" >&6
1675 CHASEN_CHASENRC_PATH=$with_chasenrc_path
1676 else
1677 CHASEN_CHASENRC_PATH="no"
1678
1679 fi;
1680
1681 if test $CHASEN_DIC_DIR = "no" || test $CHASEN_MKCHADIC_DIR = "no" || test $CHASEN_CHASENRC_PATH = "no";
1682 then
1683
1684 # Check whether --with-chasen-config or --without-chasen-config was given.
1685 if test "${with_chasen_config+set}" = set; then
1686 withval="$with_chasen_config"
1687 echo "$as_me:$LINENO: result: using $with_chasen_config for chasen-config" >&5
1688 echo "${ECHO_T}using $with_chasen_config for chasen-config" >&6
1689 CHASEN_CONFIG=$with_chasen_config
1690 else
1691 for ac_prog in chasen-config
1692 do
1693 # Extract the first word of "$ac_prog", so it can be a program name with args.
1694 set dummy $ac_prog; ac_word=$2
1695 echo "$as_me:$LINENO: checking for $ac_word" >&5
1696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1697 if test "${ac_cv_path_CHASEN_CONFIG+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1699 else
1700 case $CHASEN_CONFIG in
1701 [\\/]* | ?:[\\/]*)
1702 ac_cv_path_CHASEN_CONFIG="$CHASEN_CONFIG" # Let the user override the test with a path.
1703 ;;
1704 *)
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1706 for as_dir in $PATH
1707 do
1708 IFS=$as_save_IFS
1709 test -z "$as_dir" && as_dir=.
1710 for ac_exec_ext in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 ac_cv_path_CHASEN_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 break 2
1715 fi
1716 done
1717 done
1718
1719 ;;
1720 esac
1721 fi
1722 CHASEN_CONFIG=$ac_cv_path_CHASEN_CONFIG
1723
1724 if test -n "$CHASEN_CONFIG"; then
1725 echo "$as_me:$LINENO: result: $CHASEN_CONFIG" >&5
1726 echo "${ECHO_T}$CHASEN_CONFIG" >&6
1727 else
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1730 fi
1731
1732 test -n "$CHASEN_CONFIG" && break
1733 done
1734 test -n "$CHASEN_CONFIG" || CHASEN_CONFIG="no"
1735
1736
1737 fi;
1738
1739 if test $CHASEN_CONFIG = "no";
1740 then
1741 { { echo "$as_me:$LINENO: error: chasen_config required for making dictionary" >&5
1742 echo "$as_me: error: chasen_config required for making dictionary" >&2;}
1743 { (exit 1); exit 1; }; }
1744 fi
1745
1746
1747 if test $CHASEN_DIC_DIR = "no";
1748 then
1749 CHASEN_DIC_DIR=`$CHASEN_CONFIG --dicdir`
1750 fi
1751
1752 if test $CHASEN_MKCHADIC_DIR = "no";
1753 then
1754 CHASEN_MKCHADIC_DIR=`$CHASEN_CONFIG --mkchadic`
1755 fi
1756
1757 if test $CHASEN_CHASENRC_PATH = "no";
1758 then
1759 CHASEN_CHASENRC_PATH=`$CHASEN_CONFIG --chasenrc-path`
1760 fi
1761
1762 fi
1763
1764
1765
1766
1767
1768 EMACS=emacs
1769
1770 # Check whether --with-emacs or --without-emacs was given.
1771 if test "${with_emacs+set}" = set; then
1772 withval="$with_emacs"
1773 EMACS=$with_emacs
1774 fi;
1775
1776
1777 TEX=ptex
1778
1779 # Check whether --with-tex or --without-tex was given.
1780 if test "${with_tex+set}" = set; then
1781 withval="$with_tex"
1782 TEX=$with_tex
1783 fi;
1784
1785
1786
1787 CHASEN_LEXICAL_DIC=`echo *.dic`
1788
1789
1790 CHASEN_MANUAL_FILES="INSTALL-ja doc/ipadic-ja.pdf"
1791
1792
1793 CHASEN_GENDATA="matrix.cha table.cha chadic.da chadic.lex chadic.dat"
1794
1795
1796 CHASEN_PREDATA="grammar.cha ctypes.cha cforms.cha chasenrc connect.cha Makefile.bat"
1797
1798
1799 ac_config_files="$ac_config_files Makefile chasenrc ipadic.spec version.cha doc/Makefile"
1800 cat >confcache <<\_ACEOF
1801 # This file is a shell script that caches the results of configure
1802 # tests run on this system so they can be shared between configure
1803 # scripts and configure runs, see configure's option --config-cache.
1804 # It is not useful on other systems. If it contains results you don't
1805 # want to keep, you may remove or edit it.
1806 #
1807 # config.status only pays attention to the cache file if you give it
1808 # the --recheck option to rerun configure.
1809 #
1810 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1811 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1812 # following values.
1813
1814 _ACEOF
1815
1816 # The following way of writing the cache mishandles newlines in values,
1817 # but we know of no workaround that is simple, portable, and efficient.
1818 # So, don't put newlines in cache variables' values.
1819 # Ultrix sh set writes to stderr and can't be redirected directly,
1820 # and sets the high bit in the cache file unless we assign to the vars.
1821 {
1822 (set) 2>&1 |
1823 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1824 *ac_space=\ *)
1825 # `set' does not quote correctly, so add quotes (double-quote
1826 # substitution turns \\\\ into \\, and sed turns \\ into \).
1827 sed -n \
1828 "s/'/'\\\\''/g;
1829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1830 ;;
1831 *)
1832 # `set' quotes correctly as required by POSIX, so do not add quotes.
1833 sed -n \
1834 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1835 ;;
1836 esac;
1837 } |
1838 sed '
1839 t clear
1840 : clear
1841 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1842 t end
1843 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1844 : end' >>confcache
1845 if cmp -s $cache_file confcache; then :; else
1846 if test -w $cache_file; then
1847 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1848 cat confcache >$cache_file
1849 else
1850 echo "not updating unwritable cache $cache_file"
1851 fi
1852 fi
1853 rm -f confcache
1854
1855 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1856 # Let make expand exec_prefix.
1857 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1858
1859 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1860 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1861 # trailing colons and then remove the whole line if VPATH becomes empty
1862 # (actually we leave an empty line to preserve line numbers).
1863 if test "x$srcdir" = x.; then
1864 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1865 s/:*\$(srcdir):*/:/;
1866 s/:*\${srcdir}:*/:/;
1867 s/:*@srcdir@:*/:/;
1868 s/^\([^=]*=[ ]*\):*/\1/;
1869 s/:*$//;
1870 s/^[^=]*=[ ]*$//;
1871 }'
1872 fi
1873
1874 # Transform confdefs.h into DEFS.
1875 # Protect against shell expansion while executing Makefile rules.
1876 # Protect against Makefile macro expansion.
1877 #
1878 # If the first sed substitution is executed (which looks for macros that
1879 # take arguments), then we branch to the quote section. Otherwise,
1880 # look for a macro that doesn't take arguments.
1881 cat >confdef2opt.sed <<\_ACEOF
1882 t clear
1883 : clear
1884 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1885 t quote
1886 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1887 t quote
1888 d
1889 : quote
1890 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1891 s,\[,\\&,g
1892 s,\],\\&,g
1893 s,\$,$$,g
1894 p
1895 _ACEOF
1896 # We use echo to avoid assuming a particular line-breaking character.
1897 # The extra dot is to prevent the shell from consuming trailing
1898 # line-breaks from the sub-command output. A line-break within
1899 # single-quotes doesn't work because, if this script is created in a
1900 # platform that uses two characters for line-breaks (e.g., DOS), tr
1901 # would break.
1902 ac_LF_and_DOT=`echo; echo .`
1903 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1904 rm -f confdef2opt.sed
1905
1906
1907 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1908 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
1909 Usually this means the macro was only invoked conditionally." >&5
1910 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1911 Usually this means the macro was only invoked conditionally." >&2;}
1912 { (exit 1); exit 1; }; }
1913 fi
1914
1915 : ${CONFIG_STATUS=./config.status}
1916 ac_clean_files_save=$ac_clean_files
1917 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1918 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1919 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1920 cat >$CONFIG_STATUS <<_ACEOF
1921 #! $SHELL
1922 # Generated by $as_me.
1923 # Run this file to recreate the current configuration.
1924 # Compiler output produced by configure, useful for debugging
1925 # configure, is in config.log if it exists.
1926
1927 debug=false
1928 SHELL=\${CONFIG_SHELL-$SHELL}
1929 _ACEOF
1930
1931 cat >>$CONFIG_STATUS <<\_ACEOF
1932
1933 ## --------------------- ##
1934 ## M4sh Initialization. ##
1935 ## --------------------- ##
1936
1937 # Be Bourne compatible
1938 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1939 emulate sh
1940 NULLCMD=:
1941 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1942 set -o posix
1943 fi
1944
1945 # NLS nuisances.
1946 # Support unset when possible.
1947 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1948 as_unset=unset
1949 else
1950 as_unset=false
1951 fi
1952
1953 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
1954 { $as_unset LANG || test "${LANG+set}" != set; } ||
1955 { LANG=C; export LANG; }
1956 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
1957 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
1958 { LC_ALL=C; export LC_ALL; }
1959 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
1960 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
1961 { LC_TIME=C; export LC_TIME; }
1962 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
1963 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
1964 { LC_CTYPE=C; export LC_CTYPE; }
1965 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
1966 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
1967 { LANGUAGE=C; export LANGUAGE; }
1968 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
1969 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
1970 { LC_COLLATE=C; export LC_COLLATE; }
1971 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
1972 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
1973 { LC_NUMERIC=C; export LC_NUMERIC; }
1974 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
1975 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
1976 { LC_MESSAGES=C; export LC_MESSAGES; }
1977
1978
1979 # Name of the executable.
1980 as_me=`(basename "$0") 2>/dev/null ||
1981 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1982 X"$0" : 'X\(//\)$' \| \
1983 X"$0" : 'X\(/\)$' \| \
1984 . : '\(.\)' 2>/dev/null ||
1985 echo X/"$0" |
1986 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1987 /^X\/\(\/\/\)$/{ s//\1/; q; }
1988 /^X\/\(\/\).*/{ s//\1/; q; }
1989 s/.*/./; q'`
1990
1991 # PATH needs CR, and LINENO needs CR and PATH.
1992 # Avoid depending upon Character Ranges.
1993 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1994 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1995 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1996 as_cr_digits='0123456789'
1997 as_cr_alnum=$as_cr_Letters$as_cr_digits
1998
1999 # The user is always right.
2000 if test "${PATH_SEPARATOR+set}" != set; then
2001 echo "#! /bin/sh" >conftest.sh
2002 echo "exit 0" >>conftest.sh
2003 chmod +x conftest.sh
2004 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
2005 PATH_SEPARATOR=';'
2006 else
2007 PATH_SEPARATOR=:
2008 fi
2009 rm -f conftest.sh
2010 fi
2011
2012
2013 as_lineno_1=$LINENO
2014 as_lineno_2=$LINENO
2015 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2016 test "x$as_lineno_1" != "x$as_lineno_2" &&
2017 test "x$as_lineno_3" = "x$as_lineno_2" || {
2018 # Find who we are. Look in the path if we contain no path at all
2019 # relative or not.
2020 case $0 in
2021 *[\\/]* ) as_myself=$0 ;;
2022 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 for as_dir in $PATH
2024 do
2025 IFS=$as_save_IFS
2026 test -z "$as_dir" && as_dir=.
2027 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2028 done
2029
2030 ;;
2031 esac
2032 # We did not find ourselves, most probably we were run as `sh COMMAND'
2033 # in which case we are not to be found in the path.
2034 if test "x$as_myself" = x; then
2035 as_myself=$0
2036 fi
2037 if test ! -f "$as_myself"; then
2038 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2039 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2040 { (exit 1); exit 1; }; }
2041 fi
2042 case $CONFIG_SHELL in
2043 '')
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2046 do
2047 IFS=$as_save_IFS
2048 test -z "$as_dir" && as_dir=.
2049 for as_base in sh bash ksh sh5; do
2050 case $as_dir in
2051 /*)
2052 if ("$as_dir/$as_base" -c '
2053 as_lineno_1=$LINENO
2054 as_lineno_2=$LINENO
2055 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2056 test "x$as_lineno_1" != "x$as_lineno_2" &&
2057 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2058 CONFIG_SHELL=$as_dir/$as_base
2059 export CONFIG_SHELL
2060 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2061 fi;;
2062 esac
2063 done
2064 done
2065 ;;
2066 esac
2067
2068 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2069 # uniformly replaced by the line number. The first 'sed' inserts a
2070 # line-number line before each line; the second 'sed' does the real
2071 # work. The second script uses 'N' to pair each line-number line
2072 # with the numbered line, and appends trailing '-' during
2073 # substitution so that $LINENO is not a special case at line end.
2074 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2075 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2076 sed '=' <$as_myself |
2077 sed '
2078 N
2079 s,$,-,
2080 : loop
2081 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2082 t loop
2083 s,-$,,
2084 s,^['$as_cr_digits']*\n,,
2085 ' >$as_me.lineno &&
2086 chmod +x $as_me.lineno ||
2087 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2088 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2089 { (exit 1); exit 1; }; }
2090
2091 # Don't try to exec as it changes $[0], causing all sort of problems
2092 # (the dirname of $[0] is not the place where we might find the
2093 # original and so on. Autoconf is especially sensible to this).
2094 . ./$as_me.lineno
2095 # Exit status is that of the last command.
2096 exit
2097 }
2098
2099
2100 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2101 *c*,-n*) ECHO_N= ECHO_C='
2102 ' ECHO_T=' ' ;;
2103 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2104 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2105 esac
2106
2107 if expr a : '\(a\)' >/dev/null 2>&1; then
2108 as_expr=expr
2109 else
2110 as_expr=false
2111 fi
2112
2113 rm -f conf$$ conf$$.exe conf$$.file
2114 echo >conf$$.file
2115 if ln -s conf$$.file conf$$ 2>/dev/null; then
2116 # We could just check for DJGPP; but this test a) works b) is more generic
2117 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2118 if test -f conf$$.exe; then
2119 # Don't use ln at all; we don't have any links
2120 as_ln_s='cp -p'
2121 else
2122 as_ln_s='ln -s'
2123 fi
2124 elif ln conf$$.file conf$$ 2>/dev/null; then
2125 as_ln_s=ln
2126 else
2127 as_ln_s='cp -p'
2128 fi
2129 rm -f conf$$ conf$$.exe conf$$.file
2130
2131 as_executable_p="test -f"
2132
2133 # Sed expression to map a string onto a valid CPP name.
2134 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2135
2136 # Sed expression to map a string onto a valid variable name.
2137 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2138
2139
2140 # IFS
2141 # We need space, tab and new line, in precisely that order.
2142 as_nl='
2143 '
2144 IFS=" $as_nl"
2145
2146 # CDPATH.
2147 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
2148
2149 exec 6>&1
2150
2151 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2152 # report actual input values of CONFIG_FILES etc. instead of their
2153 # values after options handling. Logging --version etc. is OK.
2154 exec 5>>config.log
2155 {
2156 echo
2157 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2158 ## Running $as_me. ##
2159 _ASBOX
2160 } >&5
2161 cat >&5 <<_CSEOF
2162
2163 This file was extended by $as_me, which was
2164 generated by GNU Autoconf 2.53. Invocation command line was
2165
2166 CONFIG_FILES = $CONFIG_FILES
2167 CONFIG_HEADERS = $CONFIG_HEADERS
2168 CONFIG_LINKS = $CONFIG_LINKS
2169 CONFIG_COMMANDS = $CONFIG_COMMANDS
2170 $ $0 $@
2171
2172 _CSEOF
2173 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2174 echo >&5
2175 _ACEOF
2176
2177 # Files that config.status was made for.
2178 if test -n "$ac_config_files"; then
2179 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2180 fi
2181
2182 if test -n "$ac_config_headers"; then
2183 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2184 fi
2185
2186 if test -n "$ac_config_links"; then
2187 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2188 fi
2189
2190 if test -n "$ac_config_commands"; then
2191 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2192 fi
2193
2194 cat >>$CONFIG_STATUS <<\_ACEOF
2195
2196 ac_cs_usage="\
2197 \`$as_me' instantiates files from templates according to the
2198 current configuration.
2199
2200 Usage: $0 [OPTIONS] [FILE]...
2201
2202 -h, --help print this help, then exit
2203 -V, --version print version number, then exit
2204 -d, --debug don't remove temporary files
2205 --recheck update $as_me by reconfiguring in the same conditions
2206 --file=FILE[:TEMPLATE]
2207 instantiate the configuration file FILE
2208
2209 Configuration files:
2210 $config_files
2211
2212 Report bugs to <[email protected]>."
2213 _ACEOF
2214
2215 cat >>$CONFIG_STATUS <<_ACEOF
2216 ac_cs_version="\\
2217 config.status
2218 configured by $0, generated by GNU Autoconf 2.53,
2219 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2220
2221 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2222 Free Software Foundation, Inc.
2223 This config.status script is free software; the Free Software Foundation
2224 gives unlimited permission to copy, distribute and modify it."
2225 srcdir=$srcdir
2226 INSTALL="$INSTALL"
2227 _ACEOF
2228
2229 cat >>$CONFIG_STATUS <<\_ACEOF
2230 # If no file are specified by the user, then we need to provide default
2231 # value. By we need to know if files were specified by the user.
2232 ac_need_defaults=:
2233 while test $# != 0
2234 do
2235 case $1 in
2236 --*=*)
2237 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2238 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2239 shift
2240 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2241 shift
2242 ;;
2243 -*);;
2244 *) # This is not an option, so the user has probably given explicit
2245 # arguments.
2246 ac_need_defaults=false;;
2247 esac
2248
2249 case $1 in
2250 # Handling of the options.
2251 _ACEOF
2252 cat >>$CONFIG_STATUS <<_ACEOF
2253 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2254 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2255 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2256 _ACEOF
2257 cat >>$CONFIG_STATUS <<\_ACEOF
2258 --version | --vers* | -V )
2259 echo "$ac_cs_version"; exit 0 ;;
2260 --he | --h)
2261 # Conflict between --help and --header
2262 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2263 Try \`$0 --help' for more information." >&5
2264 echo "$as_me: error: ambiguous option: $1
2265 Try \`$0 --help' for more information." >&2;}
2266 { (exit 1); exit 1; }; };;
2267 --help | --hel | -h )
2268 echo "$ac_cs_usage"; exit 0 ;;
2269 --debug | --d* | -d )
2270 debug=: ;;
2271 --file | --fil | --fi | --f )
2272 shift
2273 CONFIG_FILES="$CONFIG_FILES $1"
2274 ac_need_defaults=false;;
2275 --header | --heade | --head | --hea )
2276 shift
2277 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2278 ac_need_defaults=false;;
2279
2280 # This is an error.
2281 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2282 Try \`$0 --help' for more information." >&5
2283 echo "$as_me: error: unrecognized option: $1
2284 Try \`$0 --help' for more information." >&2;}
2285 { (exit 1); exit 1; }; } ;;
2286
2287 *) ac_config_targets="$ac_config_targets $1" ;;
2288
2289 esac
2290 shift
2291 done
2292
2293 _ACEOF
2294
2295
2296
2297
2298
2299 cat >>$CONFIG_STATUS <<\_ACEOF
2300 for ac_config_target in $ac_config_targets
2301 do
2302 case "$ac_config_target" in
2303 # Handling of arguments.
2304 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2305 "chasenrc" ) CONFIG_FILES="$CONFIG_FILES chasenrc" ;;
2306 "ipadic.spec" ) CONFIG_FILES="$CONFIG_FILES ipadic.spec" ;;
2307 "version.cha" ) CONFIG_FILES="$CONFIG_FILES version.cha" ;;
2308 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
2309 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2310 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2311 { (exit 1); exit 1; }; };;
2312 esac
2313 done
2314
2315 # If the user did not use the arguments to specify the items to instantiate,
2316 # then the envvar interface is used. Set only those that are not.
2317 # We use the long form for the default assignment because of an extremely
2318 # bizarre bug on SunOS 4.1.3.
2319 if $ac_need_defaults; then
2320 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2321 fi
2322
2323 # Create a temporary directory, and hook for its removal unless debugging.
2324 $debug ||
2325 {
2326 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2327 trap '{ (exit 1); exit 1; }' 1 2 13 15
2328 }
2329
2330 # Create a (secure) tmp directory for tmp files.
2331 : ${TMPDIR=/tmp}
2332 {
2333 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2334 test -n "$tmp" && test -d "$tmp"
2335 } ||
2336 {
2337 tmp=$TMPDIR/cs$$-$RANDOM
2338 (umask 077 && mkdir $tmp)
2339 } ||
2340 {
2341 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2342 { (exit 1); exit 1; }
2343 }
2344
2345 _ACEOF
2346
2347 cat >>$CONFIG_STATUS <<_ACEOF
2348
2349 #
2350 # CONFIG_FILES section.
2351 #
2352
2353 # No need to generate the scripts if there are no CONFIG_FILES.
2354 # This happens for instance when ./config.status config.h
2355 if test -n "\$CONFIG_FILES"; then
2356 # Protect against being on the right side of a sed subst in config.status.
2357 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2358 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2359 s,@SHELL@,$SHELL,;t t
2360 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2361 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2362 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2363 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2364 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2365 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2366 s,@exec_prefix@,$exec_prefix,;t t
2367 s,@prefix@,$prefix,;t t
2368 s,@program_transform_name@,$program_transform_name,;t t
2369 s,@bindir@,$bindir,;t t
2370 s,@sbindir@,$sbindir,;t t
2371 s,@libexecdir@,$libexecdir,;t t
2372 s,@datadir@,$datadir,;t t
2373 s,@sysconfdir@,$sysconfdir,;t t
2374 s,@sharedstatedir@,$sharedstatedir,;t t
2375 s,@localstatedir@,$localstatedir,;t t
2376 s,@libdir@,$libdir,;t t
2377 s,@includedir@,$includedir,;t t
2378 s,@oldincludedir@,$oldincludedir,;t t
2379 s,@infodir@,$infodir,;t t
2380 s,@mandir@,$mandir,;t t
2381 s,@build_alias@,$build_alias,;t t
2382 s,@host_alias@,$host_alias,;t t
2383 s,@target_alias@,$target_alias,;t t
2384 s,@DEFS@,$DEFS,;t t
2385 s,@ECHO_C@,$ECHO_C,;t t
2386 s,@ECHO_N@,$ECHO_N,;t t
2387 s,@ECHO_T@,$ECHO_T,;t t
2388 s,@LIBS@,$LIBS,;t t
2389 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2390 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2391 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2392 s,@PACKAGE@,$PACKAGE,;t t
2393 s,@VERSION@,$VERSION,;t t
2394 s,@ACLOCAL@,$ACLOCAL,;t t
2395 s,@AUTOCONF@,$AUTOCONF,;t t
2396 s,@AUTOMAKE@,$AUTOMAKE,;t t
2397 s,@AUTOHEADER@,$AUTOHEADER,;t t
2398 s,@MAKEINFO@,$MAKEINFO,;t t
2399 s,@AMTAR@,$AMTAR,;t t
2400 s,@install_sh@,$install_sh,;t t
2401 s,@STRIP@,$STRIP,;t t
2402 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2403 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2404 s,@AWK@,$AWK,;t t
2405 s,@SET_MAKE@,$SET_MAKE,;t t
2406 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2407 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2408 s,@MAINT@,$MAINT,;t t
2409 s,@CHASEN_CONFIG@,$CHASEN_CONFIG,;t t
2410 s,@CHASEN_DIC_DIR@,$CHASEN_DIC_DIR,;t t
2411 s,@CHASEN_MKCHADIC_DIR@,$CHASEN_MKCHADIC_DIR,;t t
2412 s,@CHASEN_CHASENRC_PATH@,$CHASEN_CHASENRC_PATH,;t t
2413 s,@EMACS@,$EMACS,;t t
2414 s,@TEX@,$TEX,;t t
2415 s,@CHASEN_LEXICAL_DIC@,$CHASEN_LEXICAL_DIC,;t t
2416 s,@CHASEN_MANUAL_FILES@,$CHASEN_MANUAL_FILES,;t t
2417 s,@CHASEN_GENDATA@,$CHASEN_GENDATA,;t t
2418 s,@CHASEN_PREDATA@,$CHASEN_PREDATA,;t t
2419 CEOF
2420
2421 _ACEOF
2422
2423 cat >>$CONFIG_STATUS <<\_ACEOF
2424 # Split the substitutions into bite-sized pieces for seds with
2425 # small command number limits, like on Digital OSF/1 and HP-UX.
2426 ac_max_sed_lines=48
2427 ac_sed_frag=1 # Number of current file.
2428 ac_beg=1 # First line for current file.
2429 ac_end=$ac_max_sed_lines # Line after last line for current file.
2430 ac_more_lines=:
2431 ac_sed_cmds=
2432 while $ac_more_lines; do
2433 if test $ac_beg -gt 1; then
2434 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2435 else
2436 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2437 fi
2438 if test ! -s $tmp/subs.frag; then
2439 ac_more_lines=false
2440 else
2441 # The purpose of the label and of the branching condition is to
2442 # speed up the sed processing (if there are no `@' at all, there
2443 # is no need to browse any of the substitutions).
2444 # These are the two extra sed commands mentioned above.
2445 (echo ':t
2446 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2447 if test -z "$ac_sed_cmds"; then
2448 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2449 else
2450 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2451 fi
2452 ac_sed_frag=`expr $ac_sed_frag + 1`
2453 ac_beg=$ac_end
2454 ac_end=`expr $ac_end + $ac_max_sed_lines`
2455 fi
2456 done
2457 if test -z "$ac_sed_cmds"; then
2458 ac_sed_cmds=cat
2459 fi
2460 fi # test -n "$CONFIG_FILES"
2461
2462 _ACEOF
2463 cat >>$CONFIG_STATUS <<\_ACEOF
2464 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2465 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2466 case $ac_file in
2467 - | *:- | *:-:* ) # input from stdin
2468 cat >$tmp/stdin
2469 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2470 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2471 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2472 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2473 * ) ac_file_in=$ac_file.in ;;
2474 esac
2475
2476 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2477 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2479 X"$ac_file" : 'X\(//\)[^/]' \| \
2480 X"$ac_file" : 'X\(//\)$' \| \
2481 X"$ac_file" : 'X\(/\)' \| \
2482 . : '\(.\)' 2>/dev/null ||
2483 echo X"$ac_file" |
2484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2486 /^X\(\/\/\)$/{ s//\1/; q; }
2487 /^X\(\/\).*/{ s//\1/; q; }
2488 s/.*/./; q'`
2489 { case "$ac_dir" in
2490 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2491 *) as_incr_dir=.;;
2492 esac
2493 as_dummy="$ac_dir"
2494 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2495 case $as_mkdir_dir in
2496 # Skip DOS drivespec
2497 ?:) as_incr_dir=$as_mkdir_dir ;;
2498 *)
2499 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2500 test -d "$as_incr_dir" ||
2501 mkdir "$as_incr_dir" ||
2502 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2503 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2504 { (exit 1); exit 1; }; }
2505 ;;
2506 esac
2507 done; }
2508
2509 ac_builddir=.
2510
2511 if test "$ac_dir" != .; then
2512 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2513 # A "../" for each directory in $ac_dir_suffix.
2514 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2515 else
2516 ac_dir_suffix= ac_top_builddir=
2517 fi
2518
2519 case $srcdir in
2520 .) # No --srcdir option. We are building in place.
2521 ac_srcdir=.
2522 if test -z "$ac_top_builddir"; then
2523 ac_top_srcdir=.
2524 else
2525 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2526 fi ;;
2527 [\\/]* | ?:[\\/]* ) # Absolute path.
2528 ac_srcdir=$srcdir$ac_dir_suffix;
2529 ac_top_srcdir=$srcdir ;;
2530 *) # Relative path.
2531 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2532 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2533 esac
2534 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2535 # absolute.
2536 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2537 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2538 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2539 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2540
2541
2542 case $INSTALL in
2543 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2544 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2545 esac
2546
2547 if test x"$ac_file" != x-; then
2548 { echo "$as_me:$LINENO: creating $ac_file" >&5
2549 echo "$as_me: creating $ac_file" >&6;}
2550 rm -f "$ac_file"
2551 fi
2552 # Let's still pretend it is `configure' which instantiates (i.e., don't
2553 # use $as_me), people would be surprised to read:
2554 # /* config.h. Generated by config.status. */
2555 if test x"$ac_file" = x-; then
2556 configure_input=
2557 else
2558 configure_input="$ac_file. "
2559 fi
2560 configure_input=$configure_input"Generated from `echo $ac_file_in |
2561 sed 's,.*/,,'` by configure."
2562
2563 # First look for the input files in the build tree, otherwise in the
2564 # src tree.
2565 ac_file_inputs=`IFS=:
2566 for f in $ac_file_in; do
2567 case $f in
2568 -) echo $tmp/stdin ;;
2569 [\\/$]*)
2570 # Absolute (can't be DOS-style, as IFS=:)
2571 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2572 echo "$as_me: error: cannot find input file: $f" >&2;}
2573 { (exit 1); exit 1; }; }
2574 echo $f;;
2575 *) # Relative
2576 if test -f "$f"; then
2577 # Build tree
2578 echo $f
2579 elif test -f "$srcdir/$f"; then
2580 # Source tree
2581 echo $srcdir/$f
2582 else
2583 # /dev/null tree
2584 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2585 echo "$as_me: error: cannot find input file: $f" >&2;}
2586 { (exit 1); exit 1; }; }
2587 fi;;
2588 esac
2589 done` || { (exit 1); exit 1; }
2590 _ACEOF
2591 cat >>$CONFIG_STATUS <<_ACEOF
2592 sed "$ac_vpsub
2593 $extrasub
2594 _ACEOF
2595 cat >>$CONFIG_STATUS <<\_ACEOF
2596 :t
2597 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2598 s,@configure_input@,$configure_input,;t t
2599 s,@srcdir@,$ac_srcdir,;t t
2600 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2601 s,@top_srcdir@,$ac_top_srcdir,;t t
2602 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2603 s,@builddir@,$ac_builddir,;t t
2604 s,@abs_builddir@,$ac_abs_builddir,;t t
2605 s,@top_builddir@,$ac_top_builddir,;t t
2606 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2607 s,@INSTALL@,$ac_INSTALL,;t t
2608 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2609 rm -f $tmp/stdin
2610 if test x"$ac_file" != x-; then
2611 mv $tmp/out $ac_file
2612 else
2613 cat $tmp/out
2614 rm -f $tmp/out
2615 fi
2616
2617 done
2618 _ACEOF
2619
2620 cat >>$CONFIG_STATUS <<\_ACEOF
2621
2622 { (exit 0); exit 0; }
2623 _ACEOF
2624 chmod +x $CONFIG_STATUS
2625 ac_clean_files=$ac_clean_files_save
2626
2627
2628 # configure is writing to config.log, and then calls config.status.
2629 # config.status does its own redirection, appending to config.log.
2630 # Unfortunately, on DOS this fails, as config.log is still kept open
2631 # by configure, so config.status won't be able to write to it; its
2632 # output is simply discarded. So we exec the FD to /dev/null,
2633 # effectively closing config.log, so it can be properly (re)opened and
2634 # appended to by config.status. When coming back to configure, we
2635 # need to make the FD available again.
2636 if test "$no_create" != yes; then
2637 ac_cs_success=:
2638 exec 5>/dev/null
2639 $SHELL $CONFIG_STATUS || ac_cs_success=false
2640 exec 5>>config.log
2641 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2642 # would make configure fail if this is the last instruction.
2643 $ac_cs_success || { (exit 1); exit 1; }
2644 fi
2645
2646 # Local Variables:
2647 # mode:shell-script
2648 # sh-indentation:4
2649 # End: