2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete. It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
267
# Identity of this package.
274
ac_unique_file="es.h"
275
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT flite_dir flite_include_dir FL_LANG FL_VOX FL_LEX LIBOBJS LTLIBOBJS'
278
# Initialize some variables set by options.
280
ac_init_version=false
281
# The variables have the same names as the options, with
282
# dashes changed to underlines.
290
program_transform_name=s,x,x,
298
# Installation directory options.
299
# These are left unexpanded so users can "make install exec_prefix=/foo"
300
# and all the variables that are supposed to be based on exec_prefix
301
# by default will actually change.
302
# Use braces instead of parens because sh, perl, etc. also accept them.
303
bindir='${exec_prefix}/bin'
304
sbindir='${exec_prefix}/sbin'
305
libexecdir='${exec_prefix}/libexec'
306
datadir='${prefix}/share'
307
sysconfdir='${prefix}/etc'
308
sharedstatedir='${prefix}/com'
309
localstatedir='${prefix}/var'
310
libdir='${exec_prefix}/lib'
311
includedir='${prefix}/include'
312
oldincludedir='/usr/include'
313
infodir='${prefix}/info'
314
mandir='${prefix}/man'
319
# If the previous option needs an argument, assign it.
320
if test -n "$ac_prev"; then
321
eval "$ac_prev=\$ac_option"
326
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
# Accept the important Cygnus configure options, so we can diagnose typos.
332
-bindir | --bindir | --bindi | --bind | --bin | --bi)
334
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337
-build | --build | --buil | --bui | --bu)
338
ac_prev=build_alias ;;
339
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
340
build_alias=$ac_optarg ;;
342
-cache-file | --cache-file | --cache-fil | --cache-fi \
343
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344
ac_prev=cache_file ;;
345
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347
cache_file=$ac_optarg ;;
350
cache_file=config.cache ;;
352
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356
datadir=$ac_optarg ;;
358
-disable-* | --disable-*)
359
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360
# Reject names that are not valid shell variable names.
361
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
363
{ (exit 1); exit 1; }; }
364
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365
eval "enable_$ac_feature=no" ;;
367
-enable-* | --enable-*)
368
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369
# Reject names that are not valid shell variable names.
370
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
372
{ (exit 1); exit 1; }; }
373
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378
eval "enable_$ac_feature='$ac_optarg'" ;;
380
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382
| --exec | --exe | --ex)
383
ac_prev=exec_prefix ;;
384
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386
| --exec=* | --exe=* | --ex=*)
387
exec_prefix=$ac_optarg ;;
389
-gas | --gas | --ga | --g)
390
# Obsolete; use --with-gas.
393
-help | --help | --hel | --he | -h)
395
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396
ac_init_help=recursive ;;
397
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398
ac_init_help=short ;;
400
-host | --host | --hos | --ho)
401
ac_prev=host_alias ;;
402
-host=* | --host=* | --hos=* | --ho=*)
403
host_alias=$ac_optarg ;;
405
-includedir | --includedir | --includedi | --included | --include \
406
| --includ | --inclu | --incl | --inc)
407
ac_prev=includedir ;;
408
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409
| --includ=* | --inclu=* | --incl=* | --inc=*)
410
includedir=$ac_optarg ;;
412
-infodir | --infodir | --infodi | --infod | --info | --inf)
414
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415
infodir=$ac_optarg ;;
417
-libdir | --libdir | --libdi | --libd)
419
-libdir=* | --libdir=* | --libdi=* | --libd=*)
422
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423
| --libexe | --libex | --libe)
424
ac_prev=libexecdir ;;
425
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426
| --libexe=* | --libex=* | --libe=*)
427
libexecdir=$ac_optarg ;;
429
-localstatedir | --localstatedir | --localstatedi | --localstated \
430
| --localstate | --localstat | --localsta | --localst \
431
| --locals | --local | --loca | --loc | --lo)
432
ac_prev=localstatedir ;;
433
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
435
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436
localstatedir=$ac_optarg ;;
438
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444
# Obsolete; use --without-fp.
447
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
448
| --no-cr | --no-c | -n)
451
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
452
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457
| --oldin | --oldi | --old | --ol | --o)
458
ac_prev=oldincludedir ;;
459
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462
oldincludedir=$ac_optarg ;;
464
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469
-program-prefix | --program-prefix | --program-prefi | --program-pref \
470
| --program-pre | --program-pr | --program-p)
471
ac_prev=program_prefix ;;
472
-program-prefix=* | --program-prefix=* | --program-prefi=* \
473
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474
program_prefix=$ac_optarg ;;
476
-program-suffix | --program-suffix | --program-suffi | --program-suff \
477
| --program-suf | --program-su | --program-s)
478
ac_prev=program_suffix ;;
479
-program-suffix=* | --program-suffix=* | --program-suffi=* \
480
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481
program_suffix=$ac_optarg ;;
483
-program-transform-name | --program-transform-name \
484
| --program-transform-nam | --program-transform-na \
485
| --program-transform-n | --program-transform- \
486
| --program-transform | --program-transfor \
487
| --program-transfo | --program-transf \
488
| --program-trans | --program-tran \
489
| --progr-tra | --program-tr | --program-t)
490
ac_prev=program_transform_name ;;
491
-program-transform-name=* | --program-transform-name=* \
492
| --program-transform-nam=* | --program-transform-na=* \
493
| --program-transform-n=* | --program-transform-=* \
494
| --program-transform=* | --program-transfor=* \
495
| --program-transfo=* | --program-transf=* \
496
| --program-trans=* | --program-tran=* \
497
| --progr-tra=* | --program-tr=* | --program-t=*)
498
program_transform_name=$ac_optarg ;;
500
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
501
| -silent | --silent | --silen | --sile | --sil)
504
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508
sbindir=$ac_optarg ;;
510
-sharedstatedir | --sharedstatedir | --sharedstatedi \
511
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512
| --sharedst | --shareds | --shared | --share | --shar \
514
ac_prev=sharedstatedir ;;
515
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519
sharedstatedir=$ac_optarg ;;
521
-site | --site | --sit)
523
-site=* | --site=* | --sit=*)
526
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532
| --syscon | --sysco | --sysc | --sys | --sy)
533
ac_prev=sysconfdir ;;
534
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536
sysconfdir=$ac_optarg ;;
538
-target | --target | --targe | --targ | --tar | --ta | --t)
539
ac_prev=target_alias ;;
540
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541
target_alias=$ac_optarg ;;
543
-v | -verbose | --verbose | --verbos | --verbo | --verb)
546
-version | --version | --versio | --versi | --vers | -V)
550
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551
# Reject names that are not valid shell variable names.
552
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553
{ echo "$as_me: error: invalid package name: $ac_package" >&2
554
{ (exit 1); exit 1; }; }
555
ac_package=`echo $ac_package| sed 's/-/_/g'`
557
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560
eval "with_$ac_package='$ac_optarg'" ;;
562
-without-* | --without-*)
563
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564
# Reject names that are not valid shell variable names.
565
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566
{ echo "$as_me: error: invalid package name: $ac_package" >&2
567
{ (exit 1); exit 1; }; }
568
ac_package=`echo $ac_package | sed 's/-/_/g'`
569
eval "with_$ac_package=no" ;;
572
# Obsolete; use --with-x.
575
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576
| --x-incl | --x-inc | --x-in | --x-i)
577
ac_prev=x_includes ;;
578
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580
x_includes=$ac_optarg ;;
582
-x-libraries | --x-libraries | --x-librarie | --x-librari \
583
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584
ac_prev=x_libraries ;;
585
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587
x_libraries=$ac_optarg ;;
589
-*) { echo "$as_me: error: unrecognized option: $ac_option
590
Try \`$0 --help' for more information." >&2
591
{ (exit 1); exit 1; }; }
595
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596
# Reject names that are not valid shell variable names.
597
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599
{ (exit 1); exit 1; }; }
600
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601
eval "$ac_envvar='$ac_optarg'"
605
# FIXME: should be removed in autoconf 3.0.
606
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615
if test -n "$ac_prev"; then
616
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617
{ echo "$as_me: error: missing argument to $ac_option" >&2
618
{ (exit 1); exit 1; }; }
621
# Be sure to have absolute paths.
622
for ac_var in exec_prefix prefix
624
eval ac_val=$`echo $ac_var`
626
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628
{ (exit 1); exit 1; }; };;
632
# Be sure to have absolute paths.
633
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634
localstatedir libdir includedir oldincludedir infodir mandir
636
eval ac_val=$`echo $ac_var`
638
[\\/$]* | ?:[\\/]* ) ;;
639
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640
{ (exit 1); exit 1; }; };;
644
# There might be people who depend on the old broken behavior: `$host'
645
# used to hold the argument of --host etc.
646
# FIXME: To remove some day.
651
# FIXME: To remove some day.
652
if test "x$host_alias" != x; then
653
if test "x$build_alias" = x; then
654
cross_compiling=maybe
655
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656
If a cross compiler is detected then cross compile mode will be used." >&2
657
elif test "x$build_alias" != "x$host_alias"; then
663
test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
test "$silent" = yes && exec 6>/dev/null
668
# Find the source files, if location was not specified.
669
if test -z "$srcdir"; then
670
ac_srcdir_defaulted=yes
671
# Try the directory containing this script, then its parent.
672
ac_confdir=`(dirname "$0") 2>/dev/null ||
673
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674
X"$0" : 'X\(//\)[^/]' \| \
675
X"$0" : 'X\(//\)$' \| \
676
X"$0" : 'X\(/\)' \| \
677
. : '\(.\)' 2>/dev/null ||
679
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
681
/^X\(\/\/\)$/{ s//\1/; q; }
682
/^X\(\/\).*/{ s//\1/; q; }
685
if test ! -r $srcdir/$ac_unique_file; then
689
ac_srcdir_defaulted=no
691
if test ! -r $srcdir/$ac_unique_file; then
692
if test "$ac_srcdir_defaulted" = yes; then
693
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694
{ (exit 1); exit 1; }; }
696
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697
{ (exit 1); exit 1; }; }
700
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
{ (exit 1); exit 1; }; }
703
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704
ac_env_build_alias_set=${build_alias+set}
705
ac_env_build_alias_value=$build_alias
706
ac_cv_env_build_alias_set=${build_alias+set}
707
ac_cv_env_build_alias_value=$build_alias
708
ac_env_host_alias_set=${host_alias+set}
709
ac_env_host_alias_value=$host_alias
710
ac_cv_env_host_alias_set=${host_alias+set}
711
ac_cv_env_host_alias_value=$host_alias
712
ac_env_target_alias_set=${target_alias+set}
713
ac_env_target_alias_value=$target_alias
714
ac_cv_env_target_alias_set=${target_alias+set}
715
ac_cv_env_target_alias_value=$target_alias
716
ac_env_CC_set=${CC+set}
718
ac_cv_env_CC_set=${CC+set}
719
ac_cv_env_CC_value=$CC
720
ac_env_CFLAGS_set=${CFLAGS+set}
721
ac_env_CFLAGS_value=$CFLAGS
722
ac_cv_env_CFLAGS_set=${CFLAGS+set}
723
ac_cv_env_CFLAGS_value=$CFLAGS
724
ac_env_LDFLAGS_set=${LDFLAGS+set}
725
ac_env_LDFLAGS_value=$LDFLAGS
726
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727
ac_cv_env_LDFLAGS_value=$LDFLAGS
728
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729
ac_env_CPPFLAGS_value=$CPPFLAGS
730
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
ac_env_flite_dir_set=${flite_dir+set}
733
ac_env_flite_dir_value=$flite_dir
734
ac_cv_env_flite_dir_set=${flite_dir+set}
735
ac_cv_env_flite_dir_value=$flite_dir
736
ac_env_flite_include_dir_set=${flite_include_dir+set}
737
ac_env_flite_include_dir_value=$flite_include_dir
738
ac_cv_env_flite_include_dir_set=${flite_include_dir+set}
739
ac_cv_env_flite_include_dir_value=$flite_include_dir
742
# Report the --help message.
744
if test "$ac_init_help" = "long"; then
745
# Omit some internal or obsolete options to make the list less imposing.
746
# This message is too long to be a string in the A/UX 3.1 sh.
748
\`configure' configures this package to adapt to many kinds of systems.
750
Usage: $0 [OPTION]... [VAR=VALUE]...
752
To assign environment variables (e.g., CC, CFLAGS...), specify them as
753
VAR=VALUE. See below for descriptions of some of the useful variables.
755
Defaults for the options are specified in brackets.
758
-h, --help display this help and exit
759
--help=short display options specific to this package
760
--help=recursive display the short help of all the included packages
761
-V, --version display version information and exit
762
-q, --quiet, --silent do not print \`checking...' messages
763
--cache-file=FILE cache test results in FILE [disabled]
764
-C, --config-cache alias for \`--cache-file=config.cache'
765
-n, --no-create do not create output files
766
--srcdir=DIR find the sources in DIR [configure dir or \`..']
771
Installation directories:
772
--prefix=PREFIX install architecture-independent files in PREFIX
774
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
777
By default, \`make install' will install all the files in
778
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
779
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
780
for instance \`--prefix=\$HOME'.
782
For better control, use the options below.
784
Fine tuning of the installation directories:
785
--bindir=DIR user executables [EPREFIX/bin]
786
--sbindir=DIR system admin executables [EPREFIX/sbin]
787
--libexecdir=DIR program executables [EPREFIX/libexec]
788
--datadir=DIR read-only architecture-independent data [PREFIX/share]
789
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
790
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
791
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
792
--libdir=DIR object code libraries [EPREFIX/lib]
793
--includedir=DIR C header files [PREFIX/include]
794
--oldincludedir=DIR C header files for non-gcc [/usr/include]
795
--infodir=DIR info documentation [PREFIX/info]
796
--mandir=DIR man documentation [PREFIX/man]
803
if test -n "$ac_init_help"; then
808
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
809
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
810
--with-lang with language
812
--with-lex with lexicon
814
Some influential environment variables:
815
CC C compiler command
816
CFLAGS C compiler flags
817
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
818
nonstandard directory <lib dir>
819
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
820
headers in a nonstandard directory <include dir>
821
flite_dir Prefix for Festival Lite files
823
Directory of Festival Lite include files
825
Use these variables to override the choices made by `configure' or to help
826
it to find libraries and programs with nonstandard names/locations.
831
if test "$ac_init_help" = "recursive"; then
832
# If there are subdirs, report their specific --help.
834
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
835
test -d $ac_dir || continue
838
if test "$ac_dir" != .; then
839
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
840
# A "../" for each directory in $ac_dir_suffix.
841
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
843
ac_dir_suffix= ac_top_builddir=
847
.) # No --srcdir option. We are building in place.
849
if test -z "$ac_top_builddir"; then
852
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
854
[\\/]* | ?:[\\/]* ) # Absolute path.
855
ac_srcdir=$srcdir$ac_dir_suffix;
856
ac_top_srcdir=$srcdir ;;
858
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
859
ac_top_srcdir=$ac_top_builddir$srcdir ;;
862
# Do not use `cd foo && pwd` to compute absolute paths, because
863
# the directories may not exist.
865
.) ac_abs_builddir="$ac_dir";;
868
.) ac_abs_builddir=`pwd`;;
869
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
870
*) ac_abs_builddir=`pwd`/"$ac_dir";;
873
case $ac_abs_builddir in
874
.) ac_abs_top_builddir=${ac_top_builddir}.;;
876
case ${ac_top_builddir}. in
877
.) ac_abs_top_builddir=$ac_abs_builddir;;
878
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
879
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
882
case $ac_abs_builddir in
883
.) ac_abs_srcdir=$ac_srcdir;;
886
.) ac_abs_srcdir=$ac_abs_builddir;;
887
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
888
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
891
case $ac_abs_builddir in
892
.) ac_abs_top_srcdir=$ac_top_srcdir;;
894
case $ac_top_srcdir in
895
.) ac_abs_top_srcdir=$ac_abs_builddir;;
896
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
897
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
902
# Check for guested configure; otherwise get Cygnus style configure.
903
if test -f $ac_srcdir/configure.gnu; then
905
$SHELL $ac_srcdir/configure.gnu --help=recursive
906
elif test -f $ac_srcdir/configure; then
908
$SHELL $ac_srcdir/configure --help=recursive
909
elif test -f $ac_srcdir/configure.ac ||
910
test -f $ac_srcdir/configure.in; then
914
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
920
test -n "$ac_init_help" && exit 0
921
if $ac_init_version; then
924
Copyright (C) 2003 Free Software Foundation, Inc.
925
This configure script is free software; the Free Software Foundation
926
gives unlimited permission to copy, distribute and modify it.
932
This file contains any messages produced by compilers while
933
running configure, to aid debugging if configure makes a mistake.
935
It was created by $as_me, which was
936
generated by GNU Autoconf 2.59. Invocation command line was
947
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
948
uname -m = `(uname -m) 2>/dev/null || echo unknown`
949
uname -r = `(uname -r) 2>/dev/null || echo unknown`
950
uname -s = `(uname -s) 2>/dev/null || echo unknown`
951
uname -v = `(uname -v) 2>/dev/null || echo unknown`
953
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
954
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
956
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
957
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
958
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
959
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
960
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
961
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
962
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
970
test -z "$as_dir" && as_dir=.
986
# Keep a trace of the command line.
987
# Strip out --no-create and --no-recursion so they do not pile up.
988
# Strip out --silent because we don't want to record it for future runs.
989
# Also quote any args containing shell meta-characters.
990
# Make two passes to allow for proper duplicate-argument suppression.
995
ac_must_keep_next=false
1001
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1002
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1003
| -silent | --silent | --silen | --sile | --sil)
1005
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1006
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1009
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1011
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1012
if test $ac_must_keep_next = true; then
1013
ac_must_keep_next=false # Got value, back to normal.
1016
*=* | --config-cache | -C | -disable-* | --disable-* \
1017
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1018
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1019
| -with-* | --with-* | -without-* | --without-* | --x)
1020
case "$ac_configure_args0 " in
1021
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1024
-* ) ac_must_keep_next=true ;;
1027
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1028
# Get rid of the leading space.
1034
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1035
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1037
# When interrupted or exit'd, cleanup temporary files, and complete
1038
# config.log. We remove comments because anyway the quotes in there
1039
# would cause problems or look ugly.
1040
# WARNING: Be sure not to use single quotes in there, as some shells,
1041
# such as our DU 5.0 friend, will then `close' the trap.
1042
trap 'exit_status=$?
1043
# Save into config.log some information that might help in debugging.
1048
## ---------------- ##
1049
## Cache variables. ##
1050
## ---------------- ##
1053
# The following way of writing the cache mishandles newlines in values,
1056
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1059
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1060
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1064
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1071
## ----------------- ##
1072
## Output variables. ##
1073
## ----------------- ##
1076
for ac_var in $ac_subst_vars
1078
eval ac_val=$`echo $ac_var`
1079
echo "$ac_var='"'"'$ac_val'"'"'"
1083
if test -n "$ac_subst_files"; then
1090
for ac_var in $ac_subst_files
1092
eval ac_val=$`echo $ac_var`
1093
echo "$ac_var='"'"'$ac_val'"'"'"
1098
if test -s confdefs.h; then
1105
sed "/^$/d" confdefs.h | sort
1108
test "$ac_signal" != 0 &&
1109
echo "$as_me: caught signal $ac_signal"
1110
echo "$as_me: exit $exit_status"
1112
rm -f core *.core &&
1113
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1116
for ac_signal in 1 2 13 15; do
1117
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1121
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1122
rm -rf conftest* confdefs.h
1123
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1126
# Predefined preprocessor variables.
1128
cat >>confdefs.h <<_ACEOF
1129
#define PACKAGE_NAME "$PACKAGE_NAME"
1133
cat >>confdefs.h <<_ACEOF
1134
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1138
cat >>confdefs.h <<_ACEOF
1139
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1143
cat >>confdefs.h <<_ACEOF
1144
#define PACKAGE_STRING "$PACKAGE_STRING"
1148
cat >>confdefs.h <<_ACEOF
1149
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1153
# Let the site file select an alternate cache file if it wants to.
1154
# Prefer explicitly selected file to automatically selected ones.
1155
if test -z "$CONFIG_SITE"; then
1156
if test "x$prefix" != xNONE; then
1157
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1159
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1162
for ac_site_file in $CONFIG_SITE; do
1163
if test -r "$ac_site_file"; then
1164
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1165
echo "$as_me: loading site script $ac_site_file" >&6;}
1166
sed 's/^/| /' "$ac_site_file" >&5
1171
if test -r "$cache_file"; then
1172
# Some versions of bash will fail to source /dev/null (special
1173
# files actually), so we avoid doing that.
1174
if test -f "$cache_file"; then
1175
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1176
echo "$as_me: loading cache $cache_file" >&6;}
1178
[\\/]* | ?:[\\/]* ) . $cache_file;;
1179
*) . ./$cache_file;;
1183
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1184
echo "$as_me: creating cache $cache_file" >&6;}
1188
# Check that the precious variables saved in the cache have kept the same
1190
ac_cache_corrupted=false
1191
for ac_var in `(set) 2>&1 |
1192
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1193
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1194
eval ac_new_set=\$ac_env_${ac_var}_set
1195
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1196
eval ac_new_val="\$ac_env_${ac_var}_value"
1197
case $ac_old_set,$ac_new_set in
1199
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1200
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1201
ac_cache_corrupted=: ;;
1203
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1204
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1205
ac_cache_corrupted=: ;;
1208
if test "x$ac_old_val" != "x$ac_new_val"; then
1209
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1210
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1211
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1212
echo "$as_me: former value: $ac_old_val" >&2;}
1213
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1214
echo "$as_me: current value: $ac_new_val" >&2;}
1215
ac_cache_corrupted=:
1218
# Pass precious variables to config.status.
1219
if test "$ac_new_set" = set; then
1221
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1223
*) ac_arg=$ac_var=$ac_new_val ;;
1225
case " $ac_configure_args " in
1226
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1227
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1231
if $ac_cache_corrupted; then
1232
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1233
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1234
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1235
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1236
{ (exit 1); exit 1; }; }
1240
ac_cpp='$CPP $CPPFLAGS'
1241
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1242
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1243
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1265
ac_cpp='$CPP $CPPFLAGS'
1266
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1267
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1268
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1269
if test -n "$ac_tool_prefix"; then
1270
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1271
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1272
echo "$as_me:$LINENO: checking for $ac_word" >&5
1273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1274
if test "${ac_cv_prog_CC+set}" = set; then
1275
echo $ECHO_N "(cached) $ECHO_C" >&6
1277
if test -n "$CC"; then
1278
ac_cv_prog_CC="$CC" # Let the user override the test.
1280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1284
test -z "$as_dir" && as_dir=.
1285
for ac_exec_ext in '' $ac_executable_extensions; do
1286
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1287
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1288
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1297
if test -n "$CC"; then
1298
echo "$as_me:$LINENO: result: $CC" >&5
1299
echo "${ECHO_T}$CC" >&6
1301
echo "$as_me:$LINENO: result: no" >&5
1302
echo "${ECHO_T}no" >&6
1306
if test -z "$ac_cv_prog_CC"; then
1308
# Extract the first word of "gcc", so it can be a program name with args.
1309
set dummy gcc; ac_word=$2
1310
echo "$as_me:$LINENO: checking for $ac_word" >&5
1311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1312
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1313
echo $ECHO_N "(cached) $ECHO_C" >&6
1315
if test -n "$ac_ct_CC"; then
1316
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1322
test -z "$as_dir" && as_dir=.
1323
for ac_exec_ext in '' $ac_executable_extensions; do
1324
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1325
ac_cv_prog_ac_ct_CC="gcc"
1326
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1334
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1335
if test -n "$ac_ct_CC"; then
1336
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1337
echo "${ECHO_T}$ac_ct_CC" >&6
1339
echo "$as_me:$LINENO: result: no" >&5
1340
echo "${ECHO_T}no" >&6
1348
if test -z "$CC"; then
1349
if test -n "$ac_tool_prefix"; then
1350
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1351
set dummy ${ac_tool_prefix}cc; ac_word=$2
1352
echo "$as_me:$LINENO: checking for $ac_word" >&5
1353
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1354
if test "${ac_cv_prog_CC+set}" = set; then
1355
echo $ECHO_N "(cached) $ECHO_C" >&6
1357
if test -n "$CC"; then
1358
ac_cv_prog_CC="$CC" # Let the user override the test.
1360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364
test -z "$as_dir" && as_dir=.
1365
for ac_exec_ext in '' $ac_executable_extensions; do
1366
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1367
ac_cv_prog_CC="${ac_tool_prefix}cc"
1368
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1377
if test -n "$CC"; then
1378
echo "$as_me:$LINENO: result: $CC" >&5
1379
echo "${ECHO_T}$CC" >&6
1381
echo "$as_me:$LINENO: result: no" >&5
1382
echo "${ECHO_T}no" >&6
1386
if test -z "$ac_cv_prog_CC"; then
1388
# Extract the first word of "cc", so it can be a program name with args.
1389
set dummy cc; ac_word=$2
1390
echo "$as_me:$LINENO: checking for $ac_word" >&5
1391
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1392
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1393
echo $ECHO_N "(cached) $ECHO_C" >&6
1395
if test -n "$ac_ct_CC"; then
1396
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1402
test -z "$as_dir" && as_dir=.
1403
for ac_exec_ext in '' $ac_executable_extensions; do
1404
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1405
ac_cv_prog_ac_ct_CC="cc"
1406
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1414
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1415
if test -n "$ac_ct_CC"; then
1416
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1417
echo "${ECHO_T}$ac_ct_CC" >&6
1419
echo "$as_me:$LINENO: result: no" >&5
1420
echo "${ECHO_T}no" >&6
1429
if test -z "$CC"; then
1430
# Extract the first word of "cc", so it can be a program name with args.
1431
set dummy cc; ac_word=$2
1432
echo "$as_me:$LINENO: checking for $ac_word" >&5
1433
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1434
if test "${ac_cv_prog_CC+set}" = set; then
1435
echo $ECHO_N "(cached) $ECHO_C" >&6
1437
if test -n "$CC"; then
1438
ac_cv_prog_CC="$CC" # Let the user override the test.
1441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445
test -z "$as_dir" && as_dir=.
1446
for ac_exec_ext in '' $ac_executable_extensions; do
1447
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1448
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1449
ac_prog_rejected=yes
1453
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1459
if test $ac_prog_rejected = yes; then
1460
# We found a bogon in the path, so make sure we never use it.
1461
set dummy $ac_cv_prog_CC
1463
if test $# != 0; then
1464
# We chose a different compiler from the bogus one.
1465
# However, it has the same basename, so the bogon will be chosen
1466
# first if we set CC to just the basename; use the full file name.
1468
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1474
if test -n "$CC"; then
1475
echo "$as_me:$LINENO: result: $CC" >&5
1476
echo "${ECHO_T}$CC" >&6
1478
echo "$as_me:$LINENO: result: no" >&5
1479
echo "${ECHO_T}no" >&6
1483
if test -z "$CC"; then
1484
if test -n "$ac_tool_prefix"; then
1487
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1488
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1489
echo "$as_me:$LINENO: checking for $ac_word" >&5
1490
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1491
if test "${ac_cv_prog_CC+set}" = set; then
1492
echo $ECHO_N "(cached) $ECHO_C" >&6
1494
if test -n "$CC"; then
1495
ac_cv_prog_CC="$CC" # Let the user override the test.
1497
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501
test -z "$as_dir" && as_dir=.
1502
for ac_exec_ext in '' $ac_executable_extensions; do
1503
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1504
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1505
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514
if test -n "$CC"; then
1515
echo "$as_me:$LINENO: result: $CC" >&5
1516
echo "${ECHO_T}$CC" >&6
1518
echo "$as_me:$LINENO: result: no" >&5
1519
echo "${ECHO_T}no" >&6
1522
test -n "$CC" && break
1525
if test -z "$CC"; then
1529
# Extract the first word of "$ac_prog", so it can be a program name with args.
1530
set dummy $ac_prog; ac_word=$2
1531
echo "$as_me:$LINENO: checking for $ac_word" >&5
1532
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1534
echo $ECHO_N "(cached) $ECHO_C" >&6
1536
if test -n "$ac_ct_CC"; then
1537
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1539
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543
test -z "$as_dir" && as_dir=.
1544
for ac_exec_ext in '' $ac_executable_extensions; do
1545
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546
ac_cv_prog_ac_ct_CC="$ac_prog"
1547
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1555
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1556
if test -n "$ac_ct_CC"; then
1557
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1558
echo "${ECHO_T}$ac_ct_CC" >&6
1560
echo "$as_me:$LINENO: result: no" >&5
1561
echo "${ECHO_T}no" >&6
1564
test -n "$ac_ct_CC" && break
1573
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1574
See \`config.log' for more details." >&5
1575
echo "$as_me: error: no acceptable C compiler found in \$PATH
1576
See \`config.log' for more details." >&2;}
1577
{ (exit 1); exit 1; }; }
1579
# Provide some information about the compiler.
1580
echo "$as_me:$LINENO:" \
1581
"checking for C compiler version" >&5
1582
ac_compiler=`set X $ac_compile; echo $2`
1583
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1584
(eval $ac_compiler --version </dev/null >&5) 2>&5
1586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1587
(exit $ac_status); }
1588
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1589
(eval $ac_compiler -v </dev/null >&5) 2>&5
1591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1592
(exit $ac_status); }
1593
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1594
(eval $ac_compiler -V </dev/null >&5) 2>&5
1596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1597
(exit $ac_status); }
1599
cat >conftest.$ac_ext <<_ACEOF
1602
cat confdefs.h >>conftest.$ac_ext
1603
cat >>conftest.$ac_ext <<_ACEOF
1604
/* end confdefs.h. */
1614
ac_clean_files_save=$ac_clean_files
1615
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1616
# Try to create an executable without -o first, disregard a.out.
1617
# It will help us diagnose broken compilers, and finding out an intuition
1619
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1620
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1621
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1622
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1623
(eval $ac_link_default) 2>&5
1625
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1626
(exit $ac_status); }; then
1627
# Find the output, starting from the most likely. This scheme is
1628
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1631
# Be careful to initialize this variable, since it used to be cached.
1632
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1634
# b.out is created by i960 compilers.
1635
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1637
test -f "$ac_file" || continue
1639
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1642
# This is the source file.
1645
# We found the default executable, but exeext='' is most
1649
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1650
# FIXME: I believe we export ac_cv_exeext for Libtool,
1651
# but it would be cool to find out if it's true. Does anybody
1652
# maintain Libtool? --akim.
1660
echo "$as_me: failed program was:" >&5
1661
sed 's/^/| /' conftest.$ac_ext >&5
1663
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1664
See \`config.log' for more details." >&5
1665
echo "$as_me: error: C compiler cannot create executables
1666
See \`config.log' for more details." >&2;}
1667
{ (exit 77); exit 77; }; }
1670
ac_exeext=$ac_cv_exeext
1671
echo "$as_me:$LINENO: result: $ac_file" >&5
1672
echo "${ECHO_T}$ac_file" >&6
1674
# Check the compiler produces executables we can run. If not, either
1675
# the compiler is broken, or we cross compile.
1676
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1677
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1678
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1679
# If not cross compiling, check that we can run a simple program.
1680
if test "$cross_compiling" != yes; then
1681
if { ac_try='./$ac_file'
1682
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1686
(exit $ac_status); }; }; then
1689
if test "$cross_compiling" = maybe; then
1692
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1693
If you meant to cross compile, use \`--host'.
1694
See \`config.log' for more details." >&5
1695
echo "$as_me: error: cannot run C compiled programs.
1696
If you meant to cross compile, use \`--host'.
1697
See \`config.log' for more details." >&2;}
1698
{ (exit 1); exit 1; }; }
1702
echo "$as_me:$LINENO: result: yes" >&5
1703
echo "${ECHO_T}yes" >&6
1705
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1706
ac_clean_files=$ac_clean_files_save
1707
# Check the compiler produces executables we can run. If not, either
1708
# the compiler is broken, or we cross compile.
1709
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1710
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1711
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1712
echo "${ECHO_T}$cross_compiling" >&6
1714
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1715
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1716
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1717
(eval $ac_link) 2>&5
1719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1720
(exit $ac_status); }; then
1721
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1722
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1723
# work properly (i.e., refer to `conftest.exe'), while it won't with
1725
for ac_file in conftest.exe conftest conftest.*; do
1726
test -f "$ac_file" || continue
1728
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1729
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1736
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1737
See \`config.log' for more details." >&5
1738
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1739
See \`config.log' for more details." >&2;}
1740
{ (exit 1); exit 1; }; }
1743
rm -f conftest$ac_cv_exeext
1744
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1745
echo "${ECHO_T}$ac_cv_exeext" >&6
1747
rm -f conftest.$ac_ext
1748
EXEEXT=$ac_cv_exeext
1750
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1751
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1752
if test "${ac_cv_objext+set}" = set; then
1753
echo $ECHO_N "(cached) $ECHO_C" >&6
1755
cat >conftest.$ac_ext <<_ACEOF
1758
cat confdefs.h >>conftest.$ac_ext
1759
cat >>conftest.$ac_ext <<_ACEOF
1760
/* end confdefs.h. */
1770
rm -f conftest.o conftest.obj
1771
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1772
(eval $ac_compile) 2>&5
1774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1775
(exit $ac_status); }; then
1776
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1778
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1779
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1784
echo "$as_me: failed program was:" >&5
1785
sed 's/^/| /' conftest.$ac_ext >&5
1787
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1788
See \`config.log' for more details." >&5
1789
echo "$as_me: error: cannot compute suffix of object files: cannot compile
1790
See \`config.log' for more details." >&2;}
1791
{ (exit 1); exit 1; }; }
1794
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1796
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1797
echo "${ECHO_T}$ac_cv_objext" >&6
1798
OBJEXT=$ac_cv_objext
1800
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1801
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1802
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1803
echo $ECHO_N "(cached) $ECHO_C" >&6
1805
cat >conftest.$ac_ext <<_ACEOF
1808
cat confdefs.h >>conftest.$ac_ext
1809
cat >>conftest.$ac_ext <<_ACEOF
1810
/* end confdefs.h. */
1823
rm -f conftest.$ac_objext
1824
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1825
(eval $ac_compile) 2>conftest.er1
1827
grep -v '^ *+' conftest.er1 >conftest.err
1829
cat conftest.err >&5
1830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831
(exit $ac_status); } &&
1832
{ ac_try='test -z "$ac_c_werror_flag"
1833
|| test ! -s conftest.err'
1834
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838
(exit $ac_status); }; } &&
1839
{ ac_try='test -s conftest.$ac_objext'
1840
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844
(exit $ac_status); }; }; then
1847
echo "$as_me: failed program was:" >&5
1848
sed 's/^/| /' conftest.$ac_ext >&5
1852
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1853
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1856
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1857
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1858
GCC=`test $ac_compiler_gnu = yes && echo yes`
1859
ac_test_CFLAGS=${CFLAGS+set}
1860
ac_save_CFLAGS=$CFLAGS
1862
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1863
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1864
if test "${ac_cv_prog_cc_g+set}" = set; then
1865
echo $ECHO_N "(cached) $ECHO_C" >&6
1867
cat >conftest.$ac_ext <<_ACEOF
1870
cat confdefs.h >>conftest.$ac_ext
1871
cat >>conftest.$ac_ext <<_ACEOF
1872
/* end confdefs.h. */
1882
rm -f conftest.$ac_objext
1883
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1884
(eval $ac_compile) 2>conftest.er1
1886
grep -v '^ *+' conftest.er1 >conftest.err
1888
cat conftest.err >&5
1889
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890
(exit $ac_status); } &&
1891
{ ac_try='test -z "$ac_c_werror_flag"
1892
|| test ! -s conftest.err'
1893
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1897
(exit $ac_status); }; } &&
1898
{ ac_try='test -s conftest.$ac_objext'
1899
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903
(exit $ac_status); }; }; then
1906
echo "$as_me: failed program was:" >&5
1907
sed 's/^/| /' conftest.$ac_ext >&5
1911
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1913
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1914
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1915
if test "$ac_test_CFLAGS" = set; then
1916
CFLAGS=$ac_save_CFLAGS
1917
elif test $ac_cv_prog_cc_g = yes; then
1918
if test "$GCC" = yes; then
1924
if test "$GCC" = yes; then
1930
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1931
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1932
if test "${ac_cv_prog_cc_stdc+set}" = set; then
1933
echo $ECHO_N "(cached) $ECHO_C" >&6
1935
ac_cv_prog_cc_stdc=no
1937
cat >conftest.$ac_ext <<_ACEOF
1940
cat confdefs.h >>conftest.$ac_ext
1941
cat >>conftest.$ac_ext <<_ACEOF
1942
/* end confdefs.h. */
1945
#include <sys/types.h>
1946
#include <sys/stat.h>
1947
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1948
struct buf { int x; };
1949
FILE * (*rcsopen) (struct buf *, struct stat *, int);
1950
static char *e (p, i)
1956
static char *f (char * (*g) (char **, int), char **p, ...)
1961
s = g (p, va_arg (v,int));
1966
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1967
function prototypes and stuff, but not '\xHH' hex character constants.
1968
These don't provoke an error unfortunately, instead are silently treated
1969
as 'x'. The following induces an error, until -std1 is added to get
1970
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1971
array size at least. It's necessary to write '\x00'==0 to get something
1972
that's true only with -std1. */
1973
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1975
int test (int i, double x);
1976
struct s1 {int (*f) (int a);};
1977
struct s2 {int (*f) (double a);};
1978
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1984
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1989
# Don't try gcc -ansi; that turns off useful extensions and
1990
# breaks some systems' header files.
1991
# AIX -qlanglvl=ansi
1992
# Ultrix and OSF/1 -std1
1993
# HP-UX 10.20 and later -Ae
1994
# HP-UX older versions -Aa -D_HPUX_SOURCE
1995
# SVR4 -Xc -D__EXTENSIONS__
1996
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1998
CC="$ac_save_CC $ac_arg"
1999
rm -f conftest.$ac_objext
2000
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2001
(eval $ac_compile) 2>conftest.er1
2003
grep -v '^ *+' conftest.er1 >conftest.err
2005
cat conftest.err >&5
2006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007
(exit $ac_status); } &&
2008
{ ac_try='test -z "$ac_c_werror_flag"
2009
|| test ! -s conftest.err'
2010
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014
(exit $ac_status); }; } &&
2015
{ ac_try='test -s conftest.$ac_objext'
2016
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020
(exit $ac_status); }; }; then
2021
ac_cv_prog_cc_stdc=$ac_arg
2024
echo "$as_me: failed program was:" >&5
2025
sed 's/^/| /' conftest.$ac_ext >&5
2028
rm -f conftest.err conftest.$ac_objext
2030
rm -f conftest.$ac_ext conftest.$ac_objext
2035
case "x$ac_cv_prog_cc_stdc" in
2037
echo "$as_me:$LINENO: result: none needed" >&5
2038
echo "${ECHO_T}none needed" >&6 ;;
2040
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2041
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2042
CC="$CC $ac_cv_prog_cc_stdc" ;;
2045
# Some people use a C++ compiler to compile C. Since we use `exit',
2046
# in C++ we need to declare it. In case someone uses the same compiler
2047
# for both compiling C and C++ we need to have the C++ compiler decide
2048
# the declaration of exit, since it's the most demanding environment.
2049
cat >conftest.$ac_ext <<_ACEOF
2054
rm -f conftest.$ac_objext
2055
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2056
(eval $ac_compile) 2>conftest.er1
2058
grep -v '^ *+' conftest.er1 >conftest.err
2060
cat conftest.err >&5
2061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062
(exit $ac_status); } &&
2063
{ ac_try='test -z "$ac_c_werror_flag"
2064
|| test ! -s conftest.err'
2065
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069
(exit $ac_status); }; } &&
2070
{ ac_try='test -s conftest.$ac_objext'
2071
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075
(exit $ac_status); }; }; then
2076
for ac_declaration in \
2078
'extern "C" void std::exit (int) throw (); using std::exit;' \
2079
'extern "C" void std::exit (int); using std::exit;' \
2080
'extern "C" void exit (int) throw ();' \
2081
'extern "C" void exit (int);' \
2084
cat >conftest.$ac_ext <<_ACEOF
2087
cat confdefs.h >>conftest.$ac_ext
2088
cat >>conftest.$ac_ext <<_ACEOF
2089
/* end confdefs.h. */
2100
rm -f conftest.$ac_objext
2101
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2102
(eval $ac_compile) 2>conftest.er1
2104
grep -v '^ *+' conftest.er1 >conftest.err
2106
cat conftest.err >&5
2107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108
(exit $ac_status); } &&
2109
{ ac_try='test -z "$ac_c_werror_flag"
2110
|| test ! -s conftest.err'
2111
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115
(exit $ac_status); }; } &&
2116
{ ac_try='test -s conftest.$ac_objext'
2117
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121
(exit $ac_status); }; }; then
2124
echo "$as_me: failed program was:" >&5
2125
sed 's/^/| /' conftest.$ac_ext >&5
2129
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2130
cat >conftest.$ac_ext <<_ACEOF
2133
cat confdefs.h >>conftest.$ac_ext
2134
cat >>conftest.$ac_ext <<_ACEOF
2135
/* end confdefs.h. */
2145
rm -f conftest.$ac_objext
2146
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2147
(eval $ac_compile) 2>conftest.er1
2149
grep -v '^ *+' conftest.er1 >conftest.err
2151
cat conftest.err >&5
2152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153
(exit $ac_status); } &&
2154
{ ac_try='test -z "$ac_c_werror_flag"
2155
|| test ! -s conftest.err'
2156
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160
(exit $ac_status); }; } &&
2161
{ ac_try='test -s conftest.$ac_objext'
2162
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166
(exit $ac_status); }; }; then
2169
echo "$as_me: failed program was:" >&5
2170
sed 's/^/| /' conftest.$ac_ext >&5
2173
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2176
if test -n "$ac_declaration"; then
2177
echo '#ifdef __cplusplus' >>confdefs.h
2178
echo $ac_declaration >>confdefs.h
2179
echo '#endif' >>confdefs.h
2183
echo "$as_me: failed program was:" >&5
2184
sed 's/^/| /' conftest.$ac_ext >&5
2187
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2189
ac_cpp='$CPP $CPPFLAGS'
2190
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2191
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2192
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2195
if test "x$GCC" = "xyes"; then
2196
CFLAGS="$CFLAGS -Wall"
2201
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
2202
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
2203
if test "${ac_cv_lib_socket_connect+set}" = set; then
2204
echo $ECHO_N "(cached) $ECHO_C" >&6
2206
ac_check_lib_save_LIBS=$LIBS
2207
LIBS="-lsocket $LIBS"
2208
cat >conftest.$ac_ext <<_ACEOF
2211
cat confdefs.h >>conftest.$ac_ext
2212
cat >>conftest.$ac_ext <<_ACEOF
2213
/* end confdefs.h. */
2215
/* Override any gcc2 internal prototype to avoid an error. */
2219
/* We use char because int might match the return type of a gcc2
2220
builtin and then its argument prototype would still apply. */
2230
rm -f conftest.$ac_objext conftest$ac_exeext
2231
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2232
(eval $ac_link) 2>conftest.er1
2234
grep -v '^ *+' conftest.er1 >conftest.err
2236
cat conftest.err >&5
2237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238
(exit $ac_status); } &&
2239
{ ac_try='test -z "$ac_c_werror_flag"
2240
|| test ! -s conftest.err'
2241
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245
(exit $ac_status); }; } &&
2246
{ ac_try='test -s conftest$ac_exeext'
2247
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251
(exit $ac_status); }; }; then
2252
ac_cv_lib_socket_connect=yes
2254
echo "$as_me: failed program was:" >&5
2255
sed 's/^/| /' conftest.$ac_ext >&5
2257
ac_cv_lib_socket_connect=no
2259
rm -f conftest.err conftest.$ac_objext \
2260
conftest$ac_exeext conftest.$ac_ext
2261
LIBS=$ac_check_lib_save_LIBS
2263
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
2264
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
2265
if test $ac_cv_lib_socket_connect = yes; then
2266
cat >>confdefs.h <<_ACEOF
2267
#define HAVE_LIBSOCKET 1
2270
LIBS="-lsocket $LIBS"
2274
echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
2275
echo $ECHO_N "checking for library containing pthread_create... $ECHO_C" >&6
2276
if test "${ac_cv_search_pthread_create+set}" = set; then
2277
echo $ECHO_N "(cached) $ECHO_C" >&6
2279
ac_func_search_save_LIBS=$LIBS
2280
ac_cv_search_pthread_create=no
2281
cat >conftest.$ac_ext <<_ACEOF
2284
cat confdefs.h >>conftest.$ac_ext
2285
cat >>conftest.$ac_ext <<_ACEOF
2286
/* end confdefs.h. */
2288
/* Override any gcc2 internal prototype to avoid an error. */
2292
/* We use char because int might match the return type of a gcc2
2293
builtin and then its argument prototype would still apply. */
2294
char pthread_create ();
2303
rm -f conftest.$ac_objext conftest$ac_exeext
2304
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2305
(eval $ac_link) 2>conftest.er1
2307
grep -v '^ *+' conftest.er1 >conftest.err
2309
cat conftest.err >&5
2310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311
(exit $ac_status); } &&
2312
{ ac_try='test -z "$ac_c_werror_flag"
2313
|| test ! -s conftest.err'
2314
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318
(exit $ac_status); }; } &&
2319
{ ac_try='test -s conftest$ac_exeext'
2320
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324
(exit $ac_status); }; }; then
2325
ac_cv_search_pthread_create="none required"
2327
echo "$as_me: failed program was:" >&5
2328
sed 's/^/| /' conftest.$ac_ext >&5
2331
rm -f conftest.err conftest.$ac_objext \
2332
conftest$ac_exeext conftest.$ac_ext
2333
if test "$ac_cv_search_pthread_create" = no; then
2334
for ac_lib in pthread c_r; do
2335
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2336
cat >conftest.$ac_ext <<_ACEOF
2339
cat confdefs.h >>conftest.$ac_ext
2340
cat >>conftest.$ac_ext <<_ACEOF
2341
/* end confdefs.h. */
2343
/* Override any gcc2 internal prototype to avoid an error. */
2347
/* We use char because int might match the return type of a gcc2
2348
builtin and then its argument prototype would still apply. */
2349
char pthread_create ();
2358
rm -f conftest.$ac_objext conftest$ac_exeext
2359
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2360
(eval $ac_link) 2>conftest.er1
2362
grep -v '^ *+' conftest.er1 >conftest.err
2364
cat conftest.err >&5
2365
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366
(exit $ac_status); } &&
2367
{ ac_try='test -z "$ac_c_werror_flag"
2368
|| test ! -s conftest.err'
2369
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
(exit $ac_status); }; } &&
2374
{ ac_try='test -s conftest$ac_exeext'
2375
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379
(exit $ac_status); }; }; then
2380
ac_cv_search_pthread_create="-l$ac_lib"
2383
echo "$as_me: failed program was:" >&5
2384
sed 's/^/| /' conftest.$ac_ext >&5
2387
rm -f conftest.err conftest.$ac_objext \
2388
conftest$ac_exeext conftest.$ac_ext
2391
LIBS=$ac_func_search_save_LIBS
2393
echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
2394
echo "${ECHO_T}$ac_cv_search_pthread_create" >&6
2395
if test "$ac_cv_search_pthread_create" != no; then
2396
test "$ac_cv_search_pthread_create" = "none required" || LIBS="$ac_cv_search_pthread_create $LIBS"
2403
if test "x$flite_dir" = x; then
2404
if test -f /usr/local/lib/libflite.a; then
2405
flite_dir=/usr/local
2406
elif test -f /usr/lib/libflite.a; then
2408
elif test -f /opt/flite/lib/libflite.a; then
2410
elif test -f $HOME/flite-1.2-release/lib/libflite.a; then
2411
flite_dir=$HOME/flite-1.2-release
2412
elif test -f $HOME/flite-1.1-release/lib/libflite.a; then
2413
flite_dir=$HOME/flite-1.1-release
2414
elif test -f /usr/src/flite-1.1-release/lib/libflite.a; then
2415
flite_dir=/usr/src/flite-1.1-release;
2416
elif test -f /usr/local/src/flite-1.1-release/lib/libflite.a; then
2417
flite_dir=/usr/local/src/flite-1.1-release;
2419
{ { echo "$as_me:$LINENO: error: Cannot locate libflite.a. Please specify flite_dir explicitly (see INSTALL). If you do not have FLite headers and libraries available" >&5
2420
echo "$as_me: error: Cannot locate libflite.a. Please specify flite_dir explicitly (see INSTALL). If you do not have FLite headers and libraries available" >&2;}
2421
{ (exit then compile FLite and re-run configure.); exit then compile FLite and re-run configure.; }; }
2425
echo Using $flite_dir as FLite prefix.
2429
if test "x$flite_include_dir" = x; then
2430
if test -f $flite_dir/include/flite/cst_voice.h; then
2431
flite_include_dir=$flite_dir/include/flite
2432
elif test -f $flite_dir/include/cst_voice.h; then
2433
flite_include_dir=$flite_dir/include
2435
{ { echo "$as_me:$LINENO: error: Cannot locate cst_voice.h. Please specify flite_include_dir explicitly." >&5
2436
echo "$as_me: error: Cannot locate cst_voice.h. Please specify flite_include_dir explicitly." >&2;}
2437
{ (exit 1); exit 1; }; }
2441
echo Using $flite_include_dir as FLite include directory.
2444
# Check whether --with-lang or --without-lang was given.
2445
if test "${with_lang+set}" = set; then
2446
withval="$with_lang"
2449
if test "x$with_lang" = "x"; then
2455
# Check whether --with-vox or --without-vox was given.
2456
if test "${with_vox+set}" = set; then
2460
if test "x$with_vox" = "x"; then
2466
# Check whether --with-lex or --without-lex was given.
2467
if test "${with_lex+set}" = set; then
2471
if test "x$with_lex" = "x"; then
2477
ac_config_files="$ac_config_files Makefile"
2478
cat >confcache <<\_ACEOF
2479
# This file is a shell script that caches the results of configure
2480
# tests run on this system so they can be shared between configure
2481
# scripts and configure runs, see configure's option --config-cache.
2482
# It is not useful on other systems. If it contains results you don't
2483
# want to keep, you may remove or edit it.
2485
# config.status only pays attention to the cache file if you give it
2486
# the --recheck option to rerun configure.
2488
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2489
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2494
# The following way of writing the cache mishandles newlines in values,
2495
# but we know of no workaround that is simple, portable, and efficient.
2496
# So, don't put newlines in cache variables' values.
2497
# Ultrix sh set writes to stderr and can't be redirected directly,
2498
# and sets the high bit in the cache file unless we assign to the vars.
2501
case `(ac_space=' '; set | grep ac_space) 2>&1` in
2503
# `set' does not quote correctly, so add quotes (double-quote
2504
# substitution turns \\\\ into \\, and sed turns \\ into \).
2507
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2510
# `set' quotes correctly as required by POSIX, so do not add quotes.
2512
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2519
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2521
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2523
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2524
if test -w $cache_file; then
2525
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2526
cat confcache >$cache_file
2528
echo "not updating unwritable cache $cache_file"
2533
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2534
# Let make expand exec_prefix.
2535
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2537
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2538
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2539
# trailing colons and then remove the whole line if VPATH becomes empty
2540
# (actually we leave an empty line to preserve line numbers).
2541
if test "x$srcdir" = x.; then
2542
ac_vpsub='/^[ ]*VPATH[ ]*=/{
2543
s/:*\$(srcdir):*/:/;
2544
s/:*\${srcdir}:*/:/;
2546
s/^\([^=]*=[ ]*\):*/\1/;
2552
# Transform confdefs.h into DEFS.
2553
# Protect against shell expansion while executing Makefile rules.
2554
# Protect against Makefile macro expansion.
2556
# If the first sed substitution is executed (which looks for macros that
2557
# take arguments), then we branch to the quote section. Otherwise,
2558
# look for a macro that doesn't take arguments.
2559
cat >confdef2opt.sed <<\_ACEOF
2562
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2564
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2568
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2574
# We use echo to avoid assuming a particular line-breaking character.
2575
# The extra dot is to prevent the shell from consuming trailing
2576
# line-breaks from the sub-command output. A line-break within
2577
# single-quotes doesn't work because, if this script is created in a
2578
# platform that uses two characters for line-breaks (e.g., DOS), tr
2580
ac_LF_and_DOT=`echo; echo .`
2581
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2582
rm -f confdef2opt.sed
2587
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2588
# 1. Remove the extension, and $U if already installed.
2589
ac_i=`echo "$ac_i" |
2590
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2592
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2593
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2597
LTLIBOBJS=$ac_ltlibobjs
2601
: ${CONFIG_STATUS=./config.status}
2602
ac_clean_files_save=$ac_clean_files
2603
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2604
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2605
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2606
cat >$CONFIG_STATUS <<_ACEOF
2608
# Generated by $as_me.
2609
# Run this file to recreate the current configuration.
2610
# Compiler output produced by configure, useful for debugging
2611
# configure, is in config.log if it exists.
2616
SHELL=\${CONFIG_SHELL-$SHELL}
2619
cat >>$CONFIG_STATUS <<\_ACEOF
2620
## --------------------- ##
2621
## M4sh Initialization. ##
2622
## --------------------- ##
2624
# Be Bourne compatible
2625
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2628
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2629
# is contrary to our usage. Disable this feature.
2630
alias -g '${1+"$@"}'='"$@"'
2631
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2634
DUALCASE=1; export DUALCASE # for MKS sh
2636
# Support unset when possible.
2637
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2644
# Work around bugs in pre-3.0 UWIN ksh.
2645
$as_unset ENV MAIL MAILPATH
2652
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2653
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2654
LC_TELEPHONE LC_TIME
2656
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2657
eval $as_var=C; export $as_var
2663
# Required to use basename.
2664
if expr a : '\(a\)' >/dev/null 2>&1; then
2670
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2671
as_basename=basename
2677
# Name of the executable.
2678
as_me=`$as_basename "$0" ||
2679
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2680
X"$0" : 'X\(//\)$' \| \
2681
X"$0" : 'X\(/\)$' \| \
2682
. : '\(.\)' 2>/dev/null ||
2684
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2685
/^X\/\(\/\/\)$/{ s//\1/; q; }
2686
/^X\/\(\/\).*/{ s//\1/; q; }
2690
# PATH needs CR, and LINENO needs CR and PATH.
2691
# Avoid depending upon Character Ranges.
2692
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2693
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2694
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2695
as_cr_digits='0123456789'
2696
as_cr_alnum=$as_cr_Letters$as_cr_digits
2698
# The user is always right.
2699
if test "${PATH_SEPARATOR+set}" != set; then
2700
echo "#! /bin/sh" >conf$$.sh
2701
echo "exit 0" >>conf$$.sh
2703
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2714
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2715
test "x$as_lineno_1" != "x$as_lineno_2" &&
2716
test "x$as_lineno_3" = "x$as_lineno_2" || {
2717
# Find who we are. Look in the path if we contain no path at all
2720
*[\\/]* ) as_myself=$0 ;;
2721
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725
test -z "$as_dir" && as_dir=.
2726
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2731
# We did not find ourselves, most probably we were run as `sh COMMAND'
2732
# in which case we are not to be found in the path.
2733
if test "x$as_myself" = x; then
2736
if test ! -f "$as_myself"; then
2737
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2738
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2739
{ (exit 1); exit 1; }; }
2741
case $CONFIG_SHELL in
2743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2747
test -z "$as_dir" && as_dir=.
2748
for as_base in sh bash ksh sh5; do
2751
if ("$as_dir/$as_base" -c '
2754
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2755
test "x$as_lineno_1" != "x$as_lineno_2" &&
2756
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2757
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2758
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2759
CONFIG_SHELL=$as_dir/$as_base
2761
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2769
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2770
# uniformly replaced by the line number. The first 'sed' inserts a
2771
# line-number line before each line; the second 'sed' does the real
2772
# work. The second script uses 'N' to pair each line-number line
2773
# with the numbered line, and appends trailing '-' during
2774
# substitution so that $LINENO is not a special case at line end.
2775
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2776
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2777
sed '=' <$as_myself |
2782
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2785
s,^['$as_cr_digits']*\n,,
2787
chmod +x $as_me.lineno ||
2788
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2789
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2790
{ (exit 1); exit 1; }; }
2792
# Don't try to exec as it changes $[0], causing all sort of problems
2793
# (the dirname of $[0] is not the place where we might find the
2794
# original and so on. Autoconf is especially sensible to this).
2796
# Exit status is that of the last command.
2801
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2802
*c*,-n*) ECHO_N= ECHO_C='
2804
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2805
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2808
if expr a : '\(a\)' >/dev/null 2>&1; then
2814
rm -f conf$$ conf$$.exe conf$$.file
2816
if ln -s conf$$.file conf$$ 2>/dev/null; then
2817
# We could just check for DJGPP; but this test a) works b) is more generic
2818
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2819
if test -f conf$$.exe; then
2820
# Don't use ln at all; we don't have any links
2825
elif ln conf$$.file conf$$ 2>/dev/null; then
2830
rm -f conf$$ conf$$.exe conf$$.file
2832
if mkdir -p . 2>/dev/null; then
2835
test -d ./-p && rmdir ./-p
2839
as_executable_p="test -f"
2841
# Sed expression to map a string onto a valid CPP name.
2842
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2844
# Sed expression to map a string onto a valid variable name.
2845
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2849
# We need space, tab and new line, in precisely that order.
2859
# Open the log real soon, to keep \$[0] and so on meaningful, and to
2860
# report actual input values of CONFIG_FILES etc. instead of their
2861
# values after options handling. Logging --version etc. is OK.
2865
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2866
## Running $as_me. ##
2871
This file was extended by $as_me, which was
2872
generated by GNU Autoconf 2.59. Invocation command line was
2874
CONFIG_FILES = $CONFIG_FILES
2875
CONFIG_HEADERS = $CONFIG_HEADERS
2876
CONFIG_LINKS = $CONFIG_LINKS
2877
CONFIG_COMMANDS = $CONFIG_COMMANDS
2881
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2885
# Files that config.status was made for.
2886
if test -n "$ac_config_files"; then
2887
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2890
if test -n "$ac_config_headers"; then
2891
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2894
if test -n "$ac_config_links"; then
2895
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2898
if test -n "$ac_config_commands"; then
2899
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2902
cat >>$CONFIG_STATUS <<\_ACEOF
2905
\`$as_me' instantiates files from templates according to the
2906
current configuration.
2908
Usage: $0 [OPTIONS] [FILE]...
2910
-h, --help print this help, then exit
2911
-V, --version print version number, then exit
2912
-q, --quiet do not print progress messages
2913
-d, --debug don't remove temporary files
2914
--recheck update $as_me by reconfiguring in the same conditions
2915
--file=FILE[:TEMPLATE]
2916
instantiate the configuration file FILE
2918
Configuration files:
2921
Report bugs to <bug-autoconf@gnu.org>."
2924
cat >>$CONFIG_STATUS <<_ACEOF
2927
configured by $0, generated by GNU Autoconf 2.59,
2928
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2930
Copyright (C) 2003 Free Software Foundation, Inc.
2931
This config.status script is free software; the Free Software Foundation
2932
gives unlimited permission to copy, distribute and modify it."
2936
cat >>$CONFIG_STATUS <<\_ACEOF
2937
# If no file are specified by the user, then we need to provide default
2938
# value. By we need to know if files were specified by the user.
2944
ac_option=`expr "x$1" : 'x\([^=]*\)='`
2945
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2953
*) # This is not an option, so the user has probably given explicit
2956
ac_need_defaults=false;;
2960
# Handling of the options.
2962
cat >>$CONFIG_STATUS <<\_ACEOF
2963
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2965
--version | --vers* | -V )
2966
echo "$ac_cs_version"; exit 0 ;;
2968
# Conflict between --help and --header
2969
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
2970
Try \`$0 --help' for more information." >&5
2971
echo "$as_me: error: ambiguous option: $1
2972
Try \`$0 --help' for more information." >&2;}
2973
{ (exit 1); exit 1; }; };;
2974
--help | --hel | -h )
2975
echo "$ac_cs_usage"; exit 0 ;;
2976
--debug | --d* | -d )
2978
--file | --fil | --fi | --f )
2980
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2981
ac_need_defaults=false;;
2982
--header | --heade | --head | --hea )
2984
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2985
ac_need_defaults=false;;
2986
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2987
| -silent | --silent | --silen | --sile | --sil | --si | --s)
2991
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2992
Try \`$0 --help' for more information." >&5
2993
echo "$as_me: error: unrecognized option: $1
2994
Try \`$0 --help' for more information." >&2;}
2995
{ (exit 1); exit 1; }; } ;;
2997
*) ac_config_targets="$ac_config_targets $1" ;;
3003
ac_configure_extra_args=
3005
if $ac_cs_silent; then
3007
ac_configure_extra_args="$ac_configure_extra_args --silent"
3011
cat >>$CONFIG_STATUS <<_ACEOF
3012
if \$ac_cs_recheck; then
3013
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3014
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3023
cat >>$CONFIG_STATUS <<\_ACEOF
3024
for ac_config_target in $ac_config_targets
3026
case "$ac_config_target" in
3027
# Handling of arguments.
3028
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3029
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3030
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3031
{ (exit 1); exit 1; }; };;
3035
# If the user did not use the arguments to specify the items to instantiate,
3036
# then the envvar interface is used. Set only those that are not.
3037
# We use the long form for the default assignment because of an extremely
3038
# bizarre bug on SunOS 4.1.3.
3039
if $ac_need_defaults; then
3040
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3043
# Have a temporary directory for convenience. Make it in the build tree
3044
# simply because there is no reason to put it here, and in addition,
3045
# creating and moving files from /tmp can sometimes cause problems.
3046
# Create a temporary directory, and hook for its removal unless debugging.
3049
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3050
trap '{ (exit 1); exit 1; }' 1 2 13 15
3053
# Create a (secure) tmp directory for tmp files.
3056
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3057
test -n "$tmp" && test -d "$tmp"
3060
tmp=./confstat$$-$RANDOM
3061
(umask 077 && mkdir $tmp)
3064
echo "$me: cannot create a temporary directory in ." >&2
3065
{ (exit 1); exit 1; }
3070
cat >>$CONFIG_STATUS <<_ACEOF
3073
# CONFIG_FILES section.
3076
# No need to generate the scripts if there are no CONFIG_FILES.
3077
# This happens for instance when ./config.status config.h
3078
if test -n "\$CONFIG_FILES"; then
3079
# Protect against being on the right side of a sed subst in config.status.
3080
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3081
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3082
s,@SHELL@,$SHELL,;t t
3083
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3084
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3085
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3086
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3087
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3088
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3089
s,@exec_prefix@,$exec_prefix,;t t
3090
s,@prefix@,$prefix,;t t
3091
s,@program_transform_name@,$program_transform_name,;t t
3092
s,@bindir@,$bindir,;t t
3093
s,@sbindir@,$sbindir,;t t
3094
s,@libexecdir@,$libexecdir,;t t
3095
s,@datadir@,$datadir,;t t
3096
s,@sysconfdir@,$sysconfdir,;t t
3097
s,@sharedstatedir@,$sharedstatedir,;t t
3098
s,@localstatedir@,$localstatedir,;t t
3099
s,@libdir@,$libdir,;t t
3100
s,@includedir@,$includedir,;t t
3101
s,@oldincludedir@,$oldincludedir,;t t
3102
s,@infodir@,$infodir,;t t
3103
s,@mandir@,$mandir,;t t
3104
s,@build_alias@,$build_alias,;t t
3105
s,@host_alias@,$host_alias,;t t
3106
s,@target_alias@,$target_alias,;t t
3108
s,@ECHO_C@,$ECHO_C,;t t
3109
s,@ECHO_N@,$ECHO_N,;t t
3110
s,@ECHO_T@,$ECHO_T,;t t
3113
s,@CFLAGS@,$CFLAGS,;t t
3114
s,@LDFLAGS@,$LDFLAGS,;t t
3115
s,@CPPFLAGS@,$CPPFLAGS,;t t
3116
s,@ac_ct_CC@,$ac_ct_CC,;t t
3117
s,@EXEEXT@,$EXEEXT,;t t
3118
s,@OBJEXT@,$OBJEXT,;t t
3119
s,@flite_dir@,$flite_dir,;t t
3120
s,@flite_include_dir@,$flite_include_dir,;t t
3121
s,@FL_LANG@,$FL_LANG,;t t
3122
s,@FL_VOX@,$FL_VOX,;t t
3123
s,@FL_LEX@,$FL_LEX,;t t
3124
s,@LIBOBJS@,$LIBOBJS,;t t
3125
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3130
cat >>$CONFIG_STATUS <<\_ACEOF
3131
# Split the substitutions into bite-sized pieces for seds with
3132
# small command number limits, like on Digital OSF/1 and HP-UX.
3134
ac_sed_frag=1 # Number of current file.
3135
ac_beg=1 # First line for current file.
3136
ac_end=$ac_max_sed_lines # Line after last line for current file.
3139
while $ac_more_lines; do
3140
if test $ac_beg -gt 1; then
3141
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3143
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3145
if test ! -s $tmp/subs.frag; then
3148
# The purpose of the label and of the branching condition is to
3149
# speed up the sed processing (if there are no `@' at all, there
3150
# is no need to browse any of the substitutions).
3151
# These are the two extra sed commands mentioned above.
3153
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3154
if test -z "$ac_sed_cmds"; then
3155
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3157
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3159
ac_sed_frag=`expr $ac_sed_frag + 1`
3161
ac_end=`expr $ac_end + $ac_max_sed_lines`
3164
if test -z "$ac_sed_cmds"; then
3167
fi # test -n "$CONFIG_FILES"
3170
cat >>$CONFIG_STATUS <<\_ACEOF
3171
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3172
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3174
- | *:- | *:-:* ) # input from stdin
3176
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3177
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3178
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3179
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3180
* ) ac_file_in=$ac_file.in ;;
3183
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3184
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3185
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3186
X"$ac_file" : 'X\(//\)[^/]' \| \
3187
X"$ac_file" : 'X\(//\)$' \| \
3188
X"$ac_file" : 'X\(/\)' \| \
3189
. : '\(.\)' 2>/dev/null ||
3191
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3192
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3193
/^X\(\/\/\)$/{ s//\1/; q; }
3194
/^X\(\/\).*/{ s//\1/; q; }
3196
{ if $as_mkdir_p; then
3201
while test ! -d "$as_dir"; do
3202
as_dirs="$as_dir $as_dirs"
3203
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3204
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3205
X"$as_dir" : 'X\(//\)[^/]' \| \
3206
X"$as_dir" : 'X\(//\)$' \| \
3207
X"$as_dir" : 'X\(/\)' \| \
3208
. : '\(.\)' 2>/dev/null ||
3210
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3211
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3212
/^X\(\/\/\)$/{ s//\1/; q; }
3213
/^X\(\/\).*/{ s//\1/; q; }
3216
test ! -n "$as_dirs" || mkdir $as_dirs
3217
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3218
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3219
{ (exit 1); exit 1; }; }; }
3223
if test "$ac_dir" != .; then
3224
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3225
# A "../" for each directory in $ac_dir_suffix.
3226
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3228
ac_dir_suffix= ac_top_builddir=
3232
.) # No --srcdir option. We are building in place.
3234
if test -z "$ac_top_builddir"; then
3237
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3239
[\\/]* | ?:[\\/]* ) # Absolute path.
3240
ac_srcdir=$srcdir$ac_dir_suffix;
3241
ac_top_srcdir=$srcdir ;;
3243
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3244
ac_top_srcdir=$ac_top_builddir$srcdir ;;
3247
# Do not use `cd foo && pwd` to compute absolute paths, because
3248
# the directories may not exist.
3250
.) ac_abs_builddir="$ac_dir";;
3253
.) ac_abs_builddir=`pwd`;;
3254
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3255
*) ac_abs_builddir=`pwd`/"$ac_dir";;
3258
case $ac_abs_builddir in
3259
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3261
case ${ac_top_builddir}. in
3262
.) ac_abs_top_builddir=$ac_abs_builddir;;
3263
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3264
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3267
case $ac_abs_builddir in
3268
.) ac_abs_srcdir=$ac_srcdir;;
3271
.) ac_abs_srcdir=$ac_abs_builddir;;
3272
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3273
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3276
case $ac_abs_builddir in
3277
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3279
case $ac_top_srcdir in
3280
.) ac_abs_top_srcdir=$ac_abs_builddir;;
3281
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3282
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3288
if test x"$ac_file" != x-; then
3289
{ echo "$as_me:$LINENO: creating $ac_file" >&5
3290
echo "$as_me: creating $ac_file" >&6;}
3293
# Let's still pretend it is `configure' which instantiates (i.e., don't
3294
# use $as_me), people would be surprised to read:
3295
# /* config.h. Generated by config.status. */
3296
if test x"$ac_file" = x-; then
3299
configure_input="$ac_file. "
3301
configure_input=$configure_input"Generated from `echo $ac_file_in |
3302
sed 's,.*/,,'` by configure."
3304
# First look for the input files in the build tree, otherwise in the
3306
ac_file_inputs=`IFS=:
3307
for f in $ac_file_in; do
3309
-) echo $tmp/stdin ;;
3311
# Absolute (can't be DOS-style, as IFS=:)
3312
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3313
echo "$as_me: error: cannot find input file: $f" >&2;}
3314
{ (exit 1); exit 1; }; }
3317
if test -f "$f"; then
3320
elif test -f "$srcdir/$f"; then
3325
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3326
echo "$as_me: error: cannot find input file: $f" >&2;}
3327
{ (exit 1); exit 1; }; }
3330
done` || { (exit 1); exit 1; }
3332
cat >>$CONFIG_STATUS <<_ACEOF
3336
cat >>$CONFIG_STATUS <<\_ACEOF
3338
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3339
s,@configure_input@,$configure_input,;t t
3340
s,@srcdir@,$ac_srcdir,;t t
3341
s,@abs_srcdir@,$ac_abs_srcdir,;t t
3342
s,@top_srcdir@,$ac_top_srcdir,;t t
3343
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3344
s,@builddir@,$ac_builddir,;t t
3345
s,@abs_builddir@,$ac_abs_builddir,;t t
3346
s,@top_builddir@,$ac_top_builddir,;t t
3347
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3348
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3350
if test x"$ac_file" != x-; then
3351
mv $tmp/out $ac_file
3360
cat >>$CONFIG_STATUS <<\_ACEOF
3362
{ (exit 0); exit 0; }
3364
chmod +x $CONFIG_STATUS
3365
ac_clean_files=$ac_clean_files_save
3368
# configure is writing to config.log, and then calls config.status.
3369
# config.status does its own redirection, appending to config.log.
3370
# Unfortunately, on DOS this fails, as config.log is still kept open
3371
# by configure, so config.status won't be able to write to it; its
3372
# output is simply discarded. So we exec the FD to /dev/null,
3373
# effectively closing config.log, so it can be properly (re)opened and
3374
# appended to by config.status. When coming back to configure, we
3375
# need to make the FD available again.
3376
if test "$no_create" != yes; then
3378
ac_config_status_args=
3379
test "$silent" = yes &&
3380
ac_config_status_args="$ac_config_status_args --quiet"
3382
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3384
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
3385
# would make configure fail if this is the last instruction.
3386
$ac_cs_success || { (exit 1); exit 1; }