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