Debian Codegraph @

configure

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