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