Debian Codegraph @

configure

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