Debian Codegraph @

configure

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