2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.57 for yagiuda 1.19.
5
# Report bugs to <david.kirkby@onetel.net>.
7
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8
# Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be Bourne compatible
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
# is contrary to our usage. Disable this feature.
21
alias -g '${1+"$@"}'='"$@"'
22
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
# Support unset when possible.
27
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
226
as_executable_p="test -f"
228
# Sed expression to map a string onto a valid CPP name.
229
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
# Sed expression to map a string onto a valid variable name.
232
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236
# We need space, tab and new line, in precisely that order.
246
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247
# so uname gets run too.
248
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255
ac_default_prefix=/usr/local
256
ac_config_libobj_dir=.
261
SHELL=${CONFIG_SHELL-/bin/sh}
263
# Maximum number of lines to put in a shell here document.
264
# This variable seems obsolete. It should probably be removed, and
265
# only ac_max_sed_lines should be used.
266
: ${ac_max_here_lines=38}
268
# Identity of this package.
269
PACKAGE_NAME='yagiuda'
270
PACKAGE_TARNAME='yagiuda'
271
PACKAGE_VERSION='1.19'
272
PACKAGE_STRING='yagiuda 1.19'
273
PACKAGE_BUGREPORT='david.kirkby@onetel.net'
275
# Factoring default headers for most tests.
276
ac_includes_default="\
279
# include <sys/types.h>
282
# include <sys/stat.h>
293
# if !STDC_HEADERS && HAVE_MEMORY_H
299
# include <strings.h>
302
# include <inttypes.h>
312
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP ALLOCA LIBOBJS LTLIBOBJS'
315
# Initialize some variables set by options.
317
ac_init_version=false
318
# The variables have the same names as the options, with
319
# dashes changed to underlines.
327
program_transform_name=s,x,x,
335
# Installation directory options.
336
# These are left unexpanded so users can "make install exec_prefix=/foo"
337
# and all the variables that are supposed to be based on exec_prefix
338
# by default will actually change.
339
# Use braces instead of parens because sh, perl, etc. also accept them.
340
bindir='${exec_prefix}/bin'
341
sbindir='${exec_prefix}/sbin'
342
libexecdir='${exec_prefix}/libexec'
343
datadir='${prefix}/share'
344
sysconfdir='${prefix}/etc'
345
sharedstatedir='${prefix}/com'
346
localstatedir='${prefix}/var'
347
libdir='${exec_prefix}/lib'
348
includedir='${prefix}/include'
349
oldincludedir='/usr/include'
350
infodir='${prefix}/info'
351
mandir='${prefix}/man'
356
# If the previous option needs an argument, assign it.
357
if test -n "$ac_prev"; then
358
eval "$ac_prev=\$ac_option"
363
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
# Accept the important Cygnus configure options, so we can diagnose typos.
369
-bindir | --bindir | --bindi | --bind | --bin | --bi)
371
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374
-build | --build | --buil | --bui | --bu)
375
ac_prev=build_alias ;;
376
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
377
build_alias=$ac_optarg ;;
379
-cache-file | --cache-file | --cache-fil | --cache-fi \
380
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381
ac_prev=cache_file ;;
382
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384
cache_file=$ac_optarg ;;
387
cache_file=config.cache ;;
389
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393
datadir=$ac_optarg ;;
395
-disable-* | --disable-*)
396
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397
# Reject names that are not valid shell variable names.
398
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
400
{ (exit 1); exit 1; }; }
401
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402
eval "enable_$ac_feature=no" ;;
404
-enable-* | --enable-*)
405
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406
# Reject names that are not valid shell variable names.
407
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
409
{ (exit 1); exit 1; }; }
410
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415
eval "enable_$ac_feature='$ac_optarg'" ;;
417
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419
| --exec | --exe | --ex)
420
ac_prev=exec_prefix ;;
421
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423
| --exec=* | --exe=* | --ex=*)
424
exec_prefix=$ac_optarg ;;
426
-gas | --gas | --ga | --g)
427
# Obsolete; use --with-gas.
430
-help | --help | --hel | --he | -h)
432
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433
ac_init_help=recursive ;;
434
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435
ac_init_help=short ;;
437
-host | --host | --hos | --ho)
438
ac_prev=host_alias ;;
439
-host=* | --host=* | --hos=* | --ho=*)
440
host_alias=$ac_optarg ;;
442
-includedir | --includedir | --includedi | --included | --include \
443
| --includ | --inclu | --incl | --inc)
444
ac_prev=includedir ;;
445
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446
| --includ=* | --inclu=* | --incl=* | --inc=*)
447
includedir=$ac_optarg ;;
449
-infodir | --infodir | --infodi | --infod | --info | --inf)
451
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452
infodir=$ac_optarg ;;
454
-libdir | --libdir | --libdi | --libd)
456
-libdir=* | --libdir=* | --libdi=* | --libd=*)
459
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460
| --libexe | --libex | --libe)
461
ac_prev=libexecdir ;;
462
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463
| --libexe=* | --libex=* | --libe=*)
464
libexecdir=$ac_optarg ;;
466
-localstatedir | --localstatedir | --localstatedi | --localstated \
467
| --localstate | --localstat | --localsta | --localst \
468
| --locals | --local | --loca | --loc | --lo)
469
ac_prev=localstatedir ;;
470
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
472
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473
localstatedir=$ac_optarg ;;
475
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481
# Obsolete; use --without-fp.
484
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
485
| --no-cr | --no-c | -n)
488
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
489
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494
| --oldin | --oldi | --old | --ol | --o)
495
ac_prev=oldincludedir ;;
496
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499
oldincludedir=$ac_optarg ;;
501
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506
-program-prefix | --program-prefix | --program-prefi | --program-pref \
507
| --program-pre | --program-pr | --program-p)
508
ac_prev=program_prefix ;;
509
-program-prefix=* | --program-prefix=* | --program-prefi=* \
510
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511
program_prefix=$ac_optarg ;;
513
-program-suffix | --program-suffix | --program-suffi | --program-suff \
514
| --program-suf | --program-su | --program-s)
515
ac_prev=program_suffix ;;
516
-program-suffix=* | --program-suffix=* | --program-suffi=* \
517
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518
program_suffix=$ac_optarg ;;
520
-program-transform-name | --program-transform-name \
521
| --program-transform-nam | --program-transform-na \
522
| --program-transform-n | --program-transform- \
523
| --program-transform | --program-transfor \
524
| --program-transfo | --program-transf \
525
| --program-trans | --program-tran \
526
| --progr-tra | --program-tr | --program-t)
527
ac_prev=program_transform_name ;;
528
-program-transform-name=* | --program-transform-name=* \
529
| --program-transform-nam=* | --program-transform-na=* \
530
| --program-transform-n=* | --program-transform-=* \
531
| --program-transform=* | --program-transfor=* \
532
| --program-transfo=* | --program-transf=* \
533
| --program-trans=* | --program-tran=* \
534
| --progr-tra=* | --program-tr=* | --program-t=*)
535
program_transform_name=$ac_optarg ;;
537
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
538
| -silent | --silent | --silen | --sile | --sil)
541
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545
sbindir=$ac_optarg ;;
547
-sharedstatedir | --sharedstatedir | --sharedstatedi \
548
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549
| --sharedst | --shareds | --shared | --share | --shar \
551
ac_prev=sharedstatedir ;;
552
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556
sharedstatedir=$ac_optarg ;;
558
-site | --site | --sit)
560
-site=* | --site=* | --sit=*)
563
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569
| --syscon | --sysco | --sysc | --sys | --sy)
570
ac_prev=sysconfdir ;;
571
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573
sysconfdir=$ac_optarg ;;
575
-target | --target | --targe | --targ | --tar | --ta | --t)
576
ac_prev=target_alias ;;
577
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578
target_alias=$ac_optarg ;;
580
-v | -verbose | --verbose | --verbos | --verbo | --verb)
583
-version | --version | --versio | --versi | --vers | -V)
587
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588
# Reject names that are not valid shell variable names.
589
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590
{ echo "$as_me: error: invalid package name: $ac_package" >&2
591
{ (exit 1); exit 1; }; }
592
ac_package=`echo $ac_package| sed 's/-/_/g'`
594
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597
eval "with_$ac_package='$ac_optarg'" ;;
599
-without-* | --without-*)
600
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601
# Reject names that are not valid shell variable names.
602
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603
{ echo "$as_me: error: invalid package name: $ac_package" >&2
604
{ (exit 1); exit 1; }; }
605
ac_package=`echo $ac_package | sed 's/-/_/g'`
606
eval "with_$ac_package=no" ;;
609
# Obsolete; use --with-x.
612
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613
| --x-incl | --x-inc | --x-in | --x-i)
614
ac_prev=x_includes ;;
615
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617
x_includes=$ac_optarg ;;
619
-x-libraries | --x-libraries | --x-librarie | --x-librari \
620
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621
ac_prev=x_libraries ;;
622
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624
x_libraries=$ac_optarg ;;
626
-*) { echo "$as_me: error: unrecognized option: $ac_option
627
Try \`$0 --help' for more information." >&2
628
{ (exit 1); exit 1; }; }
632
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633
# Reject names that are not valid shell variable names.
634
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636
{ (exit 1); exit 1; }; }
637
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638
eval "$ac_envvar='$ac_optarg'"
642
# FIXME: should be removed in autoconf 3.0.
643
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652
if test -n "$ac_prev"; then
653
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654
{ echo "$as_me: error: missing argument to $ac_option" >&2
655
{ (exit 1); exit 1; }; }
658
# Be sure to have absolute paths.
659
for ac_var in exec_prefix prefix
661
eval ac_val=$`echo $ac_var`
663
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665
{ (exit 1); exit 1; }; };;
669
# Be sure to have absolute paths.
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
localstatedir libdir includedir oldincludedir infodir mandir
673
eval ac_val=$`echo $ac_var`
675
[\\/$]* | ?:[\\/]* ) ;;
676
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677
{ (exit 1); exit 1; }; };;
681
# There might be people who depend on the old broken behavior: `$host'
682
# used to hold the argument of --host etc.
683
# FIXME: To remove some day.
688
# FIXME: To remove some day.
689
if test "x$host_alias" != x; then
690
if test "x$build_alias" = x; then
691
cross_compiling=maybe
692
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693
If a cross compiler is detected then cross compile mode will be used." >&2
694
elif test "x$build_alias" != "x$host_alias"; then
700
test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
test "$silent" = yes && exec 6>/dev/null
705
# Find the source files, if location was not specified.
706
if test -z "$srcdir"; then
707
ac_srcdir_defaulted=yes
708
# Try the directory containing this script, then its parent.
709
ac_confdir=`(dirname "$0") 2>/dev/null ||
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
X"$0" : 'X\(//\)[^/]' \| \
712
X"$0" : 'X\(//\)$' \| \
713
X"$0" : 'X\(/\)' \| \
714
. : '\(.\)' 2>/dev/null ||
716
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
718
/^X\(\/\/\)$/{ s//\1/; q; }
719
/^X\(\/\).*/{ s//\1/; q; }
722
if test ! -r $srcdir/$ac_unique_file; then
726
ac_srcdir_defaulted=no
728
if test ! -r $srcdir/$ac_unique_file; then
729
if test "$ac_srcdir_defaulted" = yes; then
730
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731
{ (exit 1); exit 1; }; }
733
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
{ (exit 1); exit 1; }; }
737
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739
{ (exit 1); exit 1; }; }
740
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
ac_env_build_alias_set=${build_alias+set}
742
ac_env_build_alias_value=$build_alias
743
ac_cv_env_build_alias_set=${build_alias+set}
744
ac_cv_env_build_alias_value=$build_alias
745
ac_env_host_alias_set=${host_alias+set}
746
ac_env_host_alias_value=$host_alias
747
ac_cv_env_host_alias_set=${host_alias+set}
748
ac_cv_env_host_alias_value=$host_alias
749
ac_env_target_alias_set=${target_alias+set}
750
ac_env_target_alias_value=$target_alias
751
ac_cv_env_target_alias_set=${target_alias+set}
752
ac_cv_env_target_alias_value=$target_alias
753
ac_env_CC_set=${CC+set}
755
ac_cv_env_CC_set=${CC+set}
756
ac_cv_env_CC_value=$CC
757
ac_env_CFLAGS_set=${CFLAGS+set}
758
ac_env_CFLAGS_value=$CFLAGS
759
ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
ac_cv_env_CFLAGS_value=$CFLAGS
761
ac_env_LDFLAGS_set=${LDFLAGS+set}
762
ac_env_LDFLAGS_value=$LDFLAGS
763
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
ac_cv_env_LDFLAGS_value=$LDFLAGS
765
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
ac_env_CPPFLAGS_value=$CPPFLAGS
767
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
ac_env_CPP_set=${CPP+set}
770
ac_env_CPP_value=$CPP
771
ac_cv_env_CPP_set=${CPP+set}
772
ac_cv_env_CPP_value=$CPP
775
# Report the --help message.
777
if test "$ac_init_help" = "long"; then
778
# Omit some internal or obsolete options to make the list less imposing.
779
# This message is too long to be a string in the A/UX 3.1 sh.
781
\`configure' configures yagiuda 1.19 to adapt to many kinds of systems.
783
Usage: $0 [OPTION]... [VAR=VALUE]...
785
To assign environment variables (e.g., CC, CFLAGS...), specify them as
786
VAR=VALUE. See below for descriptions of some of the useful variables.
788
Defaults for the options are specified in brackets.
791
-h, --help display this help and exit
792
--help=short display options specific to this package
793
--help=recursive display the short help of all the included packages
794
-V, --version display version information and exit
795
-q, --quiet, --silent do not print \`checking...' messages
796
--cache-file=FILE cache test results in FILE [disabled]
797
-C, --config-cache alias for \`--cache-file=config.cache'
798
-n, --no-create do not create output files
799
--srcdir=DIR find the sources in DIR [configure dir or \`..']
804
Installation directories:
805
--prefix=PREFIX install architecture-independent files in PREFIX
807
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810
By default, \`make install' will install all the files in
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813
for instance \`--prefix=\$HOME'.
815
For better control, use the options below.
817
Fine tuning of the installation directories:
818
--bindir=DIR user executables [EPREFIX/bin]
819
--sbindir=DIR system admin executables [EPREFIX/sbin]
820
--libexecdir=DIR program executables [EPREFIX/libexec]
821
--datadir=DIR read-only architecture-independent data [PREFIX/share]
822
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
825
--libdir=DIR object code libraries [EPREFIX/lib]
826
--includedir=DIR C header files [PREFIX/include]
827
--oldincludedir=DIR C header files for non-gcc [/usr/include]
828
--infodir=DIR info documentation [PREFIX/info]
829
--mandir=DIR man documentation [PREFIX/man]
835
--program-prefix=PREFIX prepend PREFIX to installed program names
836
--program-suffix=SUFFIX append SUFFIX to installed program names
837
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
841
if test -n "$ac_init_help"; then
842
case $ac_init_help in
843
short | recursive ) echo "Configuration of yagiuda 1.19:";;
848
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
849
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
850
--disable-dependency-tracking Speeds up one-time builds
851
--enable-dependency-tracking Do not reject slow dependency extractors
853
Some influential environment variables:
854
CC C compiler command
855
CFLAGS C compiler flags
856
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
857
nonstandard directory <lib dir>
858
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
859
headers in a nonstandard directory <include dir>
862
Use these variables to override the choices made by `configure' or to help
863
it to find libraries and programs with nonstandard names/locations.
865
Report bugs to <david.kirkby@onetel.net>.
869
if test "$ac_init_help" = "recursive"; then
870
# If there are subdirs, report their specific --help.
872
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
873
test -d $ac_dir || continue
876
if test "$ac_dir" != .; then
877
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
878
# A "../" for each directory in $ac_dir_suffix.
879
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
881
ac_dir_suffix= ac_top_builddir=
885
.) # No --srcdir option. We are building in place.
887
if test -z "$ac_top_builddir"; then
890
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
892
[\\/]* | ?:[\\/]* ) # Absolute path.
893
ac_srcdir=$srcdir$ac_dir_suffix;
894
ac_top_srcdir=$srcdir ;;
896
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
897
ac_top_srcdir=$ac_top_builddir$srcdir ;;
899
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
901
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
902
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
903
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
904
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
907
# Check for guested configure; otherwise get Cygnus style configure.
908
if test -f $ac_srcdir/configure.gnu; then
910
$SHELL $ac_srcdir/configure.gnu --help=recursive
911
elif test -f $ac_srcdir/configure; then
913
$SHELL $ac_srcdir/configure --help=recursive
914
elif test -f $ac_srcdir/configure.ac ||
915
test -f $ac_srcdir/configure.in; then
919
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
925
test -n "$ac_init_help" && exit 0
926
if $ac_init_version; then
928
yagiuda configure 1.19
929
generated by GNU Autoconf 2.57
931
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
932
Free Software Foundation, Inc.
933
This configure script is free software; the Free Software Foundation
934
gives unlimited permission to copy, distribute and modify it.
940
This file contains any messages produced by compilers while
941
running configure, to aid debugging if configure makes a mistake.
943
It was created by yagiuda $as_me 1.19, which was
944
generated by GNU Autoconf 2.57. Invocation command line was
955
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
956
uname -m = `(uname -m) 2>/dev/null || echo unknown`
957
uname -r = `(uname -r) 2>/dev/null || echo unknown`
958
uname -s = `(uname -s) 2>/dev/null || echo unknown`
959
uname -v = `(uname -v) 2>/dev/null || echo unknown`
961
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
962
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
964
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
965
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
966
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
967
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
968
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
969
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
970
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
978
test -z "$as_dir" && as_dir=.
994
# Keep a trace of the command line.
995
# Strip out --no-create and --no-recursion so they do not pile up.
996
# Strip out --silent because we don't want to record it for future runs.
997
# Also quote any args containing shell meta-characters.
998
# Make two passes to allow for proper duplicate-argument suppression.
1003
ac_must_keep_next=false
1009
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1010
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1011
| -silent | --silent | --silen | --sile | --sil)
1013
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1014
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1017
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1019
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1020
if test $ac_must_keep_next = true; then
1021
ac_must_keep_next=false # Got value, back to normal.
1024
*=* | --config-cache | -C | -disable-* | --disable-* \
1025
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1026
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1027
| -with-* | --with-* | -without-* | --without-* | --x)
1028
case "$ac_configure_args0 " in
1029
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1032
-* ) ac_must_keep_next=true ;;
1035
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1036
# Get rid of the leading space.
1042
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1043
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1045
# When interrupted or exit'd, cleanup temporary files, and complete
1046
# config.log. We remove comments because anyway the quotes in there
1047
# would cause problems or look ugly.
1048
# WARNING: Be sure not to use single quotes in there, as some shells,
1049
# such as our DU 5.0 friend, will then `close' the trap.
1050
trap 'exit_status=$?
1051
# Save into config.log some information that might help in debugging.
1056
## ---------------- ##
1057
## Cache variables. ##
1058
## ---------------- ##
1061
# The following way of writing the cache mishandles newlines in values,
1064
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1067
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1068
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1072
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1079
## ----------------- ##
1080
## Output variables. ##
1081
## ----------------- ##
1084
for ac_var in $ac_subst_vars
1086
eval ac_val=$`echo $ac_var`
1087
echo "$ac_var='"'"'$ac_val'"'"'"
1091
if test -n "$ac_subst_files"; then
1098
for ac_var in $ac_subst_files
1100
eval ac_val=$`echo $ac_var`
1101
echo "$ac_var='"'"'$ac_val'"'"'"
1106
if test -s confdefs.h; then
1113
sed "/^$/d" confdefs.h | sort
1116
test "$ac_signal" != 0 &&
1117
echo "$as_me: caught signal $ac_signal"
1118
echo "$as_me: exit $exit_status"
1120
rm -f core core.* *.core &&
1121
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1124
for ac_signal in 1 2 13 15; do
1125
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1129
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1130
rm -rf conftest* confdefs.h
1131
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1134
# Predefined preprocessor variables.
1136
cat >>confdefs.h <<_ACEOF
1137
#define PACKAGE_NAME "$PACKAGE_NAME"
1141
cat >>confdefs.h <<_ACEOF
1142
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1146
cat >>confdefs.h <<_ACEOF
1147
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1151
cat >>confdefs.h <<_ACEOF
1152
#define PACKAGE_STRING "$PACKAGE_STRING"
1156
cat >>confdefs.h <<_ACEOF
1157
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1161
# Let the site file select an alternate cache file if it wants to.
1162
# Prefer explicitly selected file to automatically selected ones.
1163
if test -z "$CONFIG_SITE"; then
1164
if test "x$prefix" != xNONE; then
1165
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1167
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1170
for ac_site_file in $CONFIG_SITE; do
1171
if test -r "$ac_site_file"; then
1172
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1173
echo "$as_me: loading site script $ac_site_file" >&6;}
1174
sed 's/^/| /' "$ac_site_file" >&5
1179
if test -r "$cache_file"; then
1180
# Some versions of bash will fail to source /dev/null (special
1181
# files actually), so we avoid doing that.
1182
if test -f "$cache_file"; then
1183
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1184
echo "$as_me: loading cache $cache_file" >&6;}
1186
[\\/]* | ?:[\\/]* ) . $cache_file;;
1187
*) . ./$cache_file;;
1191
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1192
echo "$as_me: creating cache $cache_file" >&6;}
1196
# Check that the precious variables saved in the cache have kept the same
1198
ac_cache_corrupted=false
1199
for ac_var in `(set) 2>&1 |
1200
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1201
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1202
eval ac_new_set=\$ac_env_${ac_var}_set
1203
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1204
eval ac_new_val="\$ac_env_${ac_var}_value"
1205
case $ac_old_set,$ac_new_set in
1207
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1208
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1209
ac_cache_corrupted=: ;;
1211
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1212
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1213
ac_cache_corrupted=: ;;
1216
if test "x$ac_old_val" != "x$ac_new_val"; then
1217
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1218
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1219
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1220
echo "$as_me: former value: $ac_old_val" >&2;}
1221
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1222
echo "$as_me: current value: $ac_new_val" >&2;}
1223
ac_cache_corrupted=:
1226
# Pass precious variables to config.status.
1227
if test "$ac_new_set" = set; then
1229
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1231
*) ac_arg=$ac_var=$ac_new_val ;;
1233
case " $ac_configure_args " in
1234
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1235
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1239
if $ac_cache_corrupted; then
1240
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1241
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1242
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1243
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1244
{ (exit 1); exit 1; }; }
1248
ac_cpp='$CPP $CPPFLAGS'
1249
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1250
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1251
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1279
am__api_version="1.7"
1281
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1282
if test -f $ac_dir/install-sh; then
1284
ac_install_sh="$ac_aux_dir/install-sh -c"
1286
elif test -f $ac_dir/install.sh; then
1288
ac_install_sh="$ac_aux_dir/install.sh -c"
1290
elif test -f $ac_dir/shtool; then
1292
ac_install_sh="$ac_aux_dir/shtool install -c"
1296
if test -z "$ac_aux_dir"; then
1297
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1298
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1299
{ (exit 1); exit 1; }; }
1301
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1302
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1303
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1305
# Find a good install program. We prefer a C program (faster),
1306
# so one script is as good as another. But avoid the broken or
1307
# incompatible versions:
1308
# SysV /etc/install, /usr/sbin/install
1309
# SunOS /usr/etc/install
1310
# IRIX /sbin/install
1312
# AmigaOS /C/install, which installs bootblocks on floppy discs
1313
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1314
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1315
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1316
# ./install, which can be erroneously created by make from ./install.sh.
1317
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1318
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1319
if test -z "$INSTALL"; then
1320
if test "${ac_cv_path_install+set}" = set; then
1321
echo $ECHO_N "(cached) $ECHO_C" >&6
1323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1327
test -z "$as_dir" && as_dir=.
1328
# Account for people who put trailing slashes in PATH elements.
1330
./ | .// | /cC/* | \
1331
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1334
# OSF1 and SCO ODT 3.0 have their own names for install.
1335
# Don't use installbsd from OSF since it installs stuff as root
1337
for ac_prog in ginstall scoinst install; do
1338
for ac_exec_ext in '' $ac_executable_extensions; do
1339
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1340
if test $ac_prog = install &&
1341
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1342
# AIX install. It has an incompatible calling convention.
1344
elif test $ac_prog = install &&
1345
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1346
# program-specific install script used by HP pwplus--don't use.
1349
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1361
if test "${ac_cv_path_install+set}" = set; then
1362
INSTALL=$ac_cv_path_install
1364
# As a last resort, use the slow shell script. We don't cache a
1365
# path for INSTALL within a source directory, because that will
1366
# break other packages using the cache if that directory is
1367
# removed, or if the path is relative.
1368
INSTALL=$ac_install_sh
1371
echo "$as_me:$LINENO: result: $INSTALL" >&5
1372
echo "${ECHO_T}$INSTALL" >&6
1374
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1375
# It thinks the first close brace ends the variable substitution.
1376
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1378
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1380
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1382
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1383
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1386
echo timestamp > conftest.file
1387
# Do `set' in a subshell so we don't clobber the current shell's
1388
# arguments. Must try -L first in case configure is actually a
1389
# symlink; some systems play weird games with the mod time of symlinks
1390
# (eg FreeBSD returns the mod time of the symlink's containing
1393
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1394
if test "$*" = "X"; then
1396
set X `ls -t $srcdir/configure conftest.file`
1399
if test "$*" != "X $srcdir/configure conftest.file" \
1400
&& test "$*" != "X conftest.file $srcdir/configure"; then
1402
# If neither matched, then we have a broken ls. This can happen
1403
# if, for instance, CONFIG_SHELL is bash and it inherits a
1404
# broken ls alias from the environment. This has actually
1405
# happened. Such a system could not be considered "sane".
1406
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1407
alias in your environment" >&5
1408
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1409
alias in your environment" >&2;}
1410
{ (exit 1); exit 1; }; }
1413
test "$2" = conftest.file
1419
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1420
Check your system clock" >&5
1421
echo "$as_me: error: newly created file is older than distributed files!
1422
Check your system clock" >&2;}
1423
{ (exit 1); exit 1; }; }
1425
echo "$as_me:$LINENO: result: yes" >&5
1426
echo "${ECHO_T}yes" >&6
1427
test "$program_prefix" != NONE &&
1428
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1429
# Use a double $ so make ignores it.
1430
test "$program_suffix" != NONE &&
1431
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1432
# Double any \ or $. echo might interpret backslashes.
1433
# By default was `s,x,x', remove it if useless.
1434
cat <<\_ACEOF >conftest.sed
1435
s/[\\$]/&&/g;s/;s,x,x,$//
1437
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1441
# expand $ac_aux_dir to an absolute path
1442
am_aux_dir=`cd $ac_aux_dir && pwd`
1444
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1445
# Use eval to expand $SHELL
1446
if eval "$MISSING --run true"; then
1447
am_missing_run="$MISSING --run "
1450
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1451
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1454
for ac_prog in gawk mawk nawk awk
1456
# Extract the first word of "$ac_prog", so it can be a program name with args.
1457
set dummy $ac_prog; ac_word=$2
1458
echo "$as_me:$LINENO: checking for $ac_word" >&5
1459
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1460
if test "${ac_cv_prog_AWK+set}" = set; then
1461
echo $ECHO_N "(cached) $ECHO_C" >&6
1463
if test -n "$AWK"; then
1464
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1470
test -z "$as_dir" && as_dir=.
1471
for ac_exec_ext in '' $ac_executable_extensions; do
1472
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1473
ac_cv_prog_AWK="$ac_prog"
1474
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1483
if test -n "$AWK"; then
1484
echo "$as_me:$LINENO: result: $AWK" >&5
1485
echo "${ECHO_T}$AWK" >&6
1487
echo "$as_me:$LINENO: result: no" >&5
1488
echo "${ECHO_T}no" >&6
1491
test -n "$AWK" && break
1494
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1495
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1496
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1497
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1498
echo $ECHO_N "(cached) $ECHO_C" >&6
1500
cat >conftest.make <<\_ACEOF
1502
@echo 'ac_maketemp="$(MAKE)"'
1504
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1505
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1506
if test -n "$ac_maketemp"; then
1507
eval ac_cv_prog_make_${ac_make}_set=yes
1509
eval ac_cv_prog_make_${ac_make}_set=no
1513
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1514
echo "$as_me:$LINENO: result: yes" >&5
1515
echo "${ECHO_T}yes" >&6
1518
echo "$as_me:$LINENO: result: no" >&5
1519
echo "${ECHO_T}no" >&6
1520
SET_MAKE="MAKE=${MAKE-make}"
1523
# test to see if srcdir already configured
1524
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1525
test -f $srcdir/config.status; then
1526
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1527
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1528
{ (exit 1); exit 1; }; }
1531
# test whether we have cygpath
1532
if test -z "$CYGPATH_W"; then
1533
if (cygpath --version) >/dev/null 2>/dev/null; then
1534
CYGPATH_W='cygpath -w'
1541
# Define the identity of the package.
1546
cat >>confdefs.h <<_ACEOF
1547
#define PACKAGE "$PACKAGE"
1551
cat >>confdefs.h <<_ACEOF
1552
#define VERSION "$VERSION"
1555
# Some tools Automake needs.
1557
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1560
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1563
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1566
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1569
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1572
AMTAR=${AMTAR-"${am_missing_run}tar"}
1574
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1576
# Installed binaries are usually stripped using `strip' when the user
1577
# run `make install-strip'. However `strip' might not be the right
1578
# tool to use in cross-compilation environments, therefore Automake
1579
# will honor the `STRIP' environment variable to overrule this program.
1580
if test "$cross_compiling" != no; then
1581
if test -n "$ac_tool_prefix"; then
1582
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1583
set dummy ${ac_tool_prefix}strip; ac_word=$2
1584
echo "$as_me:$LINENO: checking for $ac_word" >&5
1585
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586
if test "${ac_cv_prog_STRIP+set}" = set; then
1587
echo $ECHO_N "(cached) $ECHO_C" >&6
1589
if test -n "$STRIP"; then
1590
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1596
test -z "$as_dir" && as_dir=.
1597
for ac_exec_ext in '' $ac_executable_extensions; do
1598
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1600
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608
STRIP=$ac_cv_prog_STRIP
1609
if test -n "$STRIP"; then
1610
echo "$as_me:$LINENO: result: $STRIP" >&5
1611
echo "${ECHO_T}$STRIP" >&6
1613
echo "$as_me:$LINENO: result: no" >&5
1614
echo "${ECHO_T}no" >&6
1618
if test -z "$ac_cv_prog_STRIP"; then
1620
# Extract the first word of "strip", so it can be a program name with args.
1621
set dummy strip; ac_word=$2
1622
echo "$as_me:$LINENO: checking for $ac_word" >&5
1623
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1625
echo $ECHO_N "(cached) $ECHO_C" >&6
1627
if test -n "$ac_ct_STRIP"; then
1628
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1630
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1634
test -z "$as_dir" && as_dir=.
1635
for ac_exec_ext in '' $ac_executable_extensions; do
1636
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637
ac_cv_prog_ac_ct_STRIP="strip"
1638
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1644
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1647
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1648
if test -n "$ac_ct_STRIP"; then
1649
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1650
echo "${ECHO_T}$ac_ct_STRIP" >&6
1652
echo "$as_me:$LINENO: result: no" >&5
1653
echo "${ECHO_T}no" >&6
1658
STRIP="$ac_cv_prog_STRIP"
1662
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1664
# We need awk for the "check" target. The system "awk" is bad on
1672
ALL_LINGUAS="de fr es ko nl no pl pt sl sv"
1675
ac_cpp='$CPP $CPPFLAGS'
1676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679
if test -n "$ac_tool_prefix"; then
1680
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1681
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1682
echo "$as_me:$LINENO: checking for $ac_word" >&5
1683
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684
if test "${ac_cv_prog_CC+set}" = set; then
1685
echo $ECHO_N "(cached) $ECHO_C" >&6
1687
if test -n "$CC"; then
1688
ac_cv_prog_CC="$CC" # Let the user override the test.
1690
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1694
test -z "$as_dir" && as_dir=.
1695
for ac_exec_ext in '' $ac_executable_extensions; do
1696
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1698
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1707
if test -n "$CC"; then
1708
echo "$as_me:$LINENO: result: $CC" >&5
1709
echo "${ECHO_T}$CC" >&6
1711
echo "$as_me:$LINENO: result: no" >&5
1712
echo "${ECHO_T}no" >&6
1716
if test -z "$ac_cv_prog_CC"; then
1718
# Extract the first word of "gcc", so it can be a program name with args.
1719
set dummy gcc; ac_word=$2
1720
echo "$as_me:$LINENO: checking for $ac_word" >&5
1721
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1722
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1723
echo $ECHO_N "(cached) $ECHO_C" >&6
1725
if test -n "$ac_ct_CC"; then
1726
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732
test -z "$as_dir" && as_dir=.
1733
for ac_exec_ext in '' $ac_executable_extensions; do
1734
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1735
ac_cv_prog_ac_ct_CC="gcc"
1736
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1745
if test -n "$ac_ct_CC"; then
1746
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1747
echo "${ECHO_T}$ac_ct_CC" >&6
1749
echo "$as_me:$LINENO: result: no" >&5
1750
echo "${ECHO_T}no" >&6
1758
if test -z "$CC"; then
1759
if test -n "$ac_tool_prefix"; then
1760
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1761
set dummy ${ac_tool_prefix}cc; ac_word=$2
1762
echo "$as_me:$LINENO: checking for $ac_word" >&5
1763
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1764
if test "${ac_cv_prog_CC+set}" = set; then
1765
echo $ECHO_N "(cached) $ECHO_C" >&6
1767
if test -n "$CC"; then
1768
ac_cv_prog_CC="$CC" # Let the user override the test.
1770
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1774
test -z "$as_dir" && as_dir=.
1775
for ac_exec_ext in '' $ac_executable_extensions; do
1776
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1777
ac_cv_prog_CC="${ac_tool_prefix}cc"
1778
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787
if test -n "$CC"; then
1788
echo "$as_me:$LINENO: result: $CC" >&5
1789
echo "${ECHO_T}$CC" >&6
1791
echo "$as_me:$LINENO: result: no" >&5
1792
echo "${ECHO_T}no" >&6
1796
if test -z "$ac_cv_prog_CC"; then
1798
# Extract the first word of "cc", so it can be a program name with args.
1799
set dummy cc; ac_word=$2
1800
echo "$as_me:$LINENO: checking for $ac_word" >&5
1801
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803
echo $ECHO_N "(cached) $ECHO_C" >&6
1805
if test -n "$ac_ct_CC"; then
1806
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812
test -z "$as_dir" && as_dir=.
1813
for ac_exec_ext in '' $ac_executable_extensions; do
1814
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815
ac_cv_prog_ac_ct_CC="cc"
1816
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1825
if test -n "$ac_ct_CC"; then
1826
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827
echo "${ECHO_T}$ac_ct_CC" >&6
1829
echo "$as_me:$LINENO: result: no" >&5
1830
echo "${ECHO_T}no" >&6
1839
if test -z "$CC"; then
1840
# Extract the first word of "cc", so it can be a program name with args.
1841
set dummy cc; ac_word=$2
1842
echo "$as_me:$LINENO: checking for $ac_word" >&5
1843
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1844
if test "${ac_cv_prog_CC+set}" = set; then
1845
echo $ECHO_N "(cached) $ECHO_C" >&6
1847
if test -n "$CC"; then
1848
ac_cv_prog_CC="$CC" # Let the user override the test.
1851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855
test -z "$as_dir" && as_dir=.
1856
for ac_exec_ext in '' $ac_executable_extensions; do
1857
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1858
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1859
ac_prog_rejected=yes
1863
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869
if test $ac_prog_rejected = yes; then
1870
# We found a bogon in the path, so make sure we never use it.
1871
set dummy $ac_cv_prog_CC
1873
if test $# != 0; then
1874
# We chose a different compiler from the bogus one.
1875
# However, it has the same basename, so the bogon will be chosen
1876
# first if we set CC to just the basename; use the full file name.
1878
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1884
if test -n "$CC"; then
1885
echo "$as_me:$LINENO: result: $CC" >&5
1886
echo "${ECHO_T}$CC" >&6
1888
echo "$as_me:$LINENO: result: no" >&5
1889
echo "${ECHO_T}no" >&6
1893
if test -z "$CC"; then
1894
if test -n "$ac_tool_prefix"; then
1897
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1898
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1899
echo "$as_me:$LINENO: checking for $ac_word" >&5
1900
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1901
if test "${ac_cv_prog_CC+set}" = set; then
1902
echo $ECHO_N "(cached) $ECHO_C" >&6
1904
if test -n "$CC"; then
1905
ac_cv_prog_CC="$CC" # Let the user override the test.
1907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911
test -z "$as_dir" && as_dir=.
1912
for ac_exec_ext in '' $ac_executable_extensions; do
1913
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1915
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924
if test -n "$CC"; then
1925
echo "$as_me:$LINENO: result: $CC" >&5
1926
echo "${ECHO_T}$CC" >&6
1928
echo "$as_me:$LINENO: result: no" >&5
1929
echo "${ECHO_T}no" >&6
1932
test -n "$CC" && break
1935
if test -z "$CC"; then
1939
# Extract the first word of "$ac_prog", so it can be a program name with args.
1940
set dummy $ac_prog; ac_word=$2
1941
echo "$as_me:$LINENO: checking for $ac_word" >&5
1942
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1943
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1944
echo $ECHO_N "(cached) $ECHO_C" >&6
1946
if test -n "$ac_ct_CC"; then
1947
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953
test -z "$as_dir" && as_dir=.
1954
for ac_exec_ext in '' $ac_executable_extensions; do
1955
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1956
ac_cv_prog_ac_ct_CC="$ac_prog"
1957
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1965
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1966
if test -n "$ac_ct_CC"; then
1967
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1968
echo "${ECHO_T}$ac_ct_CC" >&6
1970
echo "$as_me:$LINENO: result: no" >&5
1971
echo "${ECHO_T}no" >&6
1974
test -n "$ac_ct_CC" && break
1983
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1984
See \`config.log' for more details." >&5
1985
echo "$as_me: error: no acceptable C compiler found in \$PATH
1986
See \`config.log' for more details." >&2;}
1987
{ (exit 1); exit 1; }; }
1989
# Provide some information about the compiler.
1990
echo "$as_me:$LINENO:" \
1991
"checking for C compiler version" >&5
1992
ac_compiler=`set X $ac_compile; echo $2`
1993
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1994
(eval $ac_compiler --version </dev/null >&5) 2>&5
1996
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997
(exit $ac_status); }
1998
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1999
(eval $ac_compiler -v </dev/null >&5) 2>&5
2001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002
(exit $ac_status); }
2003
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2004
(eval $ac_compiler -V </dev/null >&5) 2>&5
2006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007
(exit $ac_status); }
2009
cat >conftest.$ac_ext <<_ACEOF
2010
#line $LINENO "configure"
2013
cat confdefs.h >>conftest.$ac_ext
2014
cat >>conftest.$ac_ext <<_ACEOF
2015
/* end confdefs.h. */
2025
ac_clean_files_save=$ac_clean_files
2026
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2027
# Try to create an executable without -o first, disregard a.out.
2028
# It will help us diagnose broken compilers, and finding out an intuition
2030
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2031
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2032
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2033
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2034
(eval $ac_link_default) 2>&5
2036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037
(exit $ac_status); }; then
2038
# Find the output, starting from the most likely. This scheme is
2039
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2042
# Be careful to initialize this variable, since it used to be cached.
2043
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2045
# b.out is created by i960 compilers.
2046
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2048
test -f "$ac_file" || continue
2050
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2053
# This is the source file.
2056
# We found the default executable, but exeext='' is most
2060
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2061
# FIXME: I believe we export ac_cv_exeext for Libtool,
2062
# but it would be cool to find out if it's true. Does anybody
2063
# maintain Libtool? --akim.
2071
echo "$as_me: failed program was:" >&5
2072
sed 's/^/| /' conftest.$ac_ext >&5
2074
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2075
See \`config.log' for more details." >&5
2076
echo "$as_me: error: C compiler cannot create executables
2077
See \`config.log' for more details." >&2;}
2078
{ (exit 77); exit 77; }; }
2081
ac_exeext=$ac_cv_exeext
2082
echo "$as_me:$LINENO: result: $ac_file" >&5
2083
echo "${ECHO_T}$ac_file" >&6
2085
# Check the compiler produces executables we can run. If not, either
2086
# the compiler is broken, or we cross compile.
2087
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2088
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2089
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2090
# If not cross compiling, check that we can run a simple program.
2091
if test "$cross_compiling" != yes; then
2092
if { ac_try='./$ac_file'
2093
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097
(exit $ac_status); }; }; then
2100
if test "$cross_compiling" = maybe; then
2103
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2104
If you meant to cross compile, use \`--host'.
2105
See \`config.log' for more details." >&5
2106
echo "$as_me: error: cannot run C compiled programs.
2107
If you meant to cross compile, use \`--host'.
2108
See \`config.log' for more details." >&2;}
2109
{ (exit 1); exit 1; }; }
2113
echo "$as_me:$LINENO: result: yes" >&5
2114
echo "${ECHO_T}yes" >&6
2116
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2117
ac_clean_files=$ac_clean_files_save
2118
# Check the compiler produces executables we can run. If not, either
2119
# the compiler is broken, or we cross compile.
2120
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2121
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2122
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2123
echo "${ECHO_T}$cross_compiling" >&6
2125
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2126
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2127
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2128
(eval $ac_link) 2>&5
2130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131
(exit $ac_status); }; then
2132
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2133
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2134
# work properly (i.e., refer to `conftest.exe'), while it won't with
2136
for ac_file in conftest.exe conftest conftest.*; do
2137
test -f "$ac_file" || continue
2139
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2140
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2147
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2148
See \`config.log' for more details." >&5
2149
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2150
See \`config.log' for more details." >&2;}
2151
{ (exit 1); exit 1; }; }
2154
rm -f conftest$ac_cv_exeext
2155
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2156
echo "${ECHO_T}$ac_cv_exeext" >&6
2158
rm -f conftest.$ac_ext
2159
EXEEXT=$ac_cv_exeext
2161
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2162
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2163
if test "${ac_cv_objext+set}" = set; then
2164
echo $ECHO_N "(cached) $ECHO_C" >&6
2166
cat >conftest.$ac_ext <<_ACEOF
2167
#line $LINENO "configure"
2170
cat confdefs.h >>conftest.$ac_ext
2171
cat >>conftest.$ac_ext <<_ACEOF
2172
/* end confdefs.h. */
2182
rm -f conftest.o conftest.obj
2183
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2184
(eval $ac_compile) 2>&5
2186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187
(exit $ac_status); }; then
2188
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2190
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2191
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2196
echo "$as_me: failed program was:" >&5
2197
sed 's/^/| /' conftest.$ac_ext >&5
2199
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2200
See \`config.log' for more details." >&5
2201
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2202
See \`config.log' for more details." >&2;}
2203
{ (exit 1); exit 1; }; }
2206
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2208
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2209
echo "${ECHO_T}$ac_cv_objext" >&6
2210
OBJEXT=$ac_cv_objext
2212
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2213
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2214
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2215
echo $ECHO_N "(cached) $ECHO_C" >&6
2217
cat >conftest.$ac_ext <<_ACEOF
2218
#line $LINENO "configure"
2221
cat confdefs.h >>conftest.$ac_ext
2222
cat >>conftest.$ac_ext <<_ACEOF
2223
/* end confdefs.h. */
2236
rm -f conftest.$ac_objext
2237
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238
(eval $ac_compile) 2>&5
2240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241
(exit $ac_status); } &&
2242
{ ac_try='test -s conftest.$ac_objext'
2243
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247
(exit $ac_status); }; }; then
2250
echo "$as_me: failed program was:" >&5
2251
sed 's/^/| /' conftest.$ac_ext >&5
2255
rm -f conftest.$ac_objext conftest.$ac_ext
2256
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2259
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2260
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2261
GCC=`test $ac_compiler_gnu = yes && echo yes`
2262
ac_test_CFLAGS=${CFLAGS+set}
2263
ac_save_CFLAGS=$CFLAGS
2265
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2266
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2267
if test "${ac_cv_prog_cc_g+set}" = set; then
2268
echo $ECHO_N "(cached) $ECHO_C" >&6
2270
cat >conftest.$ac_ext <<_ACEOF
2271
#line $LINENO "configure"
2274
cat confdefs.h >>conftest.$ac_ext
2275
cat >>conftest.$ac_ext <<_ACEOF
2276
/* end confdefs.h. */
2286
rm -f conftest.$ac_objext
2287
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2288
(eval $ac_compile) 2>&5
2290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291
(exit $ac_status); } &&
2292
{ ac_try='test -s conftest.$ac_objext'
2293
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297
(exit $ac_status); }; }; then
2300
echo "$as_me: failed program was:" >&5
2301
sed 's/^/| /' conftest.$ac_ext >&5
2305
rm -f conftest.$ac_objext conftest.$ac_ext
2307
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2308
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2309
if test "$ac_test_CFLAGS" = set; then
2310
CFLAGS=$ac_save_CFLAGS
2311
elif test $ac_cv_prog_cc_g = yes; then
2312
if test "$GCC" = yes; then
2318
if test "$GCC" = yes; then
2324
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2325
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2326
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2327
echo $ECHO_N "(cached) $ECHO_C" >&6
2329
ac_cv_prog_cc_stdc=no
2331
cat >conftest.$ac_ext <<_ACEOF
2332
#line $LINENO "configure"
2335
cat confdefs.h >>conftest.$ac_ext
2336
cat >>conftest.$ac_ext <<_ACEOF
2337
/* end confdefs.h. */
2340
#include <sys/types.h>
2341
#include <sys/stat.h>
2342
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2343
struct buf { int x; };
2344
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2345
static char *e (p, i)
2351
static char *f (char * (*g) (char **, int), char **p, ...)
2356
s = g (p, va_arg (v,int));
2360
int test (int i, double x);
2361
struct s1 {int (*f) (int a);};
2362
struct s2 {int (*f) (double a);};
2363
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2369
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2374
# Don't try gcc -ansi; that turns off useful extensions and
2375
# breaks some systems' header files.
2376
# AIX -qlanglvl=ansi
2377
# Ultrix and OSF/1 -std1
2378
# HP-UX 10.20 and later -Ae
2379
# HP-UX older versions -Aa -D_HPUX_SOURCE
2380
# SVR4 -Xc -D__EXTENSIONS__
2381
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2383
CC="$ac_save_CC $ac_arg"
2384
rm -f conftest.$ac_objext
2385
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2386
(eval $ac_compile) 2>&5
2388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389
(exit $ac_status); } &&
2390
{ ac_try='test -s conftest.$ac_objext'
2391
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395
(exit $ac_status); }; }; then
2396
ac_cv_prog_cc_stdc=$ac_arg
2399
echo "$as_me: failed program was:" >&5
2400
sed 's/^/| /' conftest.$ac_ext >&5
2403
rm -f conftest.$ac_objext
2405
rm -f conftest.$ac_ext conftest.$ac_objext
2410
case "x$ac_cv_prog_cc_stdc" in
2412
echo "$as_me:$LINENO: result: none needed" >&5
2413
echo "${ECHO_T}none needed" >&6 ;;
2415
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2416
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2417
CC="$CC $ac_cv_prog_cc_stdc" ;;
2420
# Some people use a C++ compiler to compile C. Since we use `exit',
2421
# in C++ we need to declare it. In case someone uses the same compiler
2422
# for both compiling C and C++ we need to have the C++ compiler decide
2423
# the declaration of exit, since it's the most demanding environment.
2424
cat >conftest.$ac_ext <<_ACEOF
2429
rm -f conftest.$ac_objext
2430
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431
(eval $ac_compile) 2>&5
2433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434
(exit $ac_status); } &&
2435
{ ac_try='test -s conftest.$ac_objext'
2436
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440
(exit $ac_status); }; }; then
2441
for ac_declaration in \
2443
'#include <stdlib.h>' \
2444
'extern "C" void std::exit (int) throw (); using std::exit;' \
2445
'extern "C" void std::exit (int); using std::exit;' \
2446
'extern "C" void exit (int) throw ();' \
2447
'extern "C" void exit (int);' \
2450
cat >conftest.$ac_ext <<_ACEOF
2451
#line $LINENO "configure"
2454
cat confdefs.h >>conftest.$ac_ext
2455
cat >>conftest.$ac_ext <<_ACEOF
2456
/* end confdefs.h. */
2467
rm -f conftest.$ac_objext
2468
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2469
(eval $ac_compile) 2>&5
2471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
(exit $ac_status); } &&
2473
{ ac_try='test -s conftest.$ac_objext'
2474
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478
(exit $ac_status); }; }; then
2481
echo "$as_me: failed program was:" >&5
2482
sed 's/^/| /' conftest.$ac_ext >&5
2486
rm -f conftest.$ac_objext conftest.$ac_ext
2487
cat >conftest.$ac_ext <<_ACEOF
2488
#line $LINENO "configure"
2491
cat confdefs.h >>conftest.$ac_ext
2492
cat >>conftest.$ac_ext <<_ACEOF
2493
/* end confdefs.h. */
2503
rm -f conftest.$ac_objext
2504
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505
(eval $ac_compile) 2>&5
2507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508
(exit $ac_status); } &&
2509
{ ac_try='test -s conftest.$ac_objext'
2510
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514
(exit $ac_status); }; }; then
2517
echo "$as_me: failed program was:" >&5
2518
sed 's/^/| /' conftest.$ac_ext >&5
2521
rm -f conftest.$ac_objext conftest.$ac_ext
2524
if test -n "$ac_declaration"; then
2525
echo '#ifdef __cplusplus' >>confdefs.h
2526
echo $ac_declaration >>confdefs.h
2527
echo '#endif' >>confdefs.h
2531
echo "$as_me: failed program was:" >&5
2532
sed 's/^/| /' conftest.$ac_ext >&5
2535
rm -f conftest.$ac_objext conftest.$ac_ext
2537
ac_cpp='$CPP $CPPFLAGS'
2538
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2541
rm -f .deps 2>/dev/null
2542
mkdir .deps 2>/dev/null
2543
if test -d .deps; then
2546
# MS-DOS does not allow filenames that begin with a dot.
2549
rmdir .deps 2>/dev/null
2552
ac_config_commands="$ac_config_commands depfiles"
2555
am_make=${MAKE-make}
2556
cat > confinc << 'END'
2560
# If we don't find an include directive, just comment out the code.
2561
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2562
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2566
# First try GNU make style include.
2567
echo "include confinc" > confmf
2568
# We grep out `Entering directory' and `Leaving directory'
2569
# messages which can occur if `w' ends up in MAKEFLAGS.
2570
# In particular we don't look at `^make:' because GNU make might
2571
# be invoked under some other name (usually "gmake"), in which
2572
# case it prints its new name instead of `make'.
2573
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2578
# Now try BSD make style include.
2579
if test "$am__include" = "#"; then
2580
echo '.include "confinc"' > confmf
2581
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2582
am__include=.include
2589
echo "$as_me:$LINENO: result: $_am_result" >&5
2590
echo "${ECHO_T}$_am_result" >&6
2591
rm -f confinc confmf
2593
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2594
if test "${enable_dependency_tracking+set}" = set; then
2595
enableval="$enable_dependency_tracking"
2598
if test "x$enable_dependency_tracking" != xno; then
2599
am_depcomp="$ac_aux_dir/depcomp"
2604
if test "x$enable_dependency_tracking" != xno; then
2615
depcc="$CC" am_compiler_list=
2617
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2618
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2619
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2620
echo $ECHO_N "(cached) $ECHO_C" >&6
2622
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2623
# We make a subdir and do the tests there. Otherwise we can end up
2624
# making bogus files that we don't know about and never remove. For
2625
# instance it was reported that on HP-UX the gcc test will end up
2626
# making a dummy file named `D' -- because `-MD' means `put the output
2629
# Copy depcomp to subdir because otherwise we won't find it if we're
2630
# using a relative directory.
2631
cp "$am_depcomp" conftest.dir
2634
am_cv_CC_dependencies_compiler_type=none
2635
if test "$am_compiler_list" = ""; then
2636
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2638
for depmode in $am_compiler_list; do
2639
# We need to recreate these files for each test, as the compiler may
2640
# overwrite some of them when testing with obscure command lines.
2641
# This happens at least with the AIX C compiler.
2642
echo '#include "conftest.h"' > conftest.c
2643
echo 'int i;' > conftest.h
2644
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2648
# after this tag, mechanisms are not by side-effect, so they'll
2649
# only be used when explicitly requested
2650
if test "x$enable_dependency_tracking" = xyes; then
2658
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2659
# mode. It turns out that the SunPro C++ compiler does not properly
2660
# handle `-M -o', and we need to detect this.
2661
if depmode=$depmode \
2662
source=conftest.c object=conftest.o \
2663
depfile=conftest.Po tmpdepfile=conftest.TPo \
2664
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2665
grep conftest.h conftest.Po > /dev/null 2>&1 &&
2666
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2667
am_cv_CC_dependencies_compiler_type=$depmode
2675
am_cv_CC_dependencies_compiler_type=none
2679
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2680
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2681
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2686
test "x$enable_dependency_tracking" != xno \
2687
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2689
am__fastdepCC_FALSE='#'
2691
am__fastdepCC_TRUE='#'
2692
am__fastdepCC_FALSE=
2697
echo "$as_me:$LINENO: checking for library containing strerror" >&5
2698
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2699
if test "${ac_cv_search_strerror+set}" = set; then
2700
echo $ECHO_N "(cached) $ECHO_C" >&6
2702
ac_func_search_save_LIBS=$LIBS
2703
ac_cv_search_strerror=no
2704
cat >conftest.$ac_ext <<_ACEOF
2705
#line $LINENO "configure"
2708
cat confdefs.h >>conftest.$ac_ext
2709
cat >>conftest.$ac_ext <<_ACEOF
2710
/* end confdefs.h. */
2712
/* Override any gcc2 internal prototype to avoid an error. */
2716
/* We use char because int might match the return type of a gcc2
2717
builtin and then its argument prototype would still apply. */
2727
rm -f conftest.$ac_objext conftest$ac_exeext
2728
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2729
(eval $ac_link) 2>&5
2731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732
(exit $ac_status); } &&
2733
{ ac_try='test -s conftest$ac_exeext'
2734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738
(exit $ac_status); }; }; then
2739
ac_cv_search_strerror="none required"
2741
echo "$as_me: failed program was:" >&5
2742
sed 's/^/| /' conftest.$ac_ext >&5
2745
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2746
if test "$ac_cv_search_strerror" = no; then
2747
for ac_lib in cposix; do
2748
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2749
cat >conftest.$ac_ext <<_ACEOF
2750
#line $LINENO "configure"
2753
cat confdefs.h >>conftest.$ac_ext
2754
cat >>conftest.$ac_ext <<_ACEOF
2755
/* end confdefs.h. */
2757
/* Override any gcc2 internal prototype to avoid an error. */
2761
/* We use char because int might match the return type of a gcc2
2762
builtin and then its argument prototype would still apply. */
2772
rm -f conftest.$ac_objext conftest$ac_exeext
2773
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2774
(eval $ac_link) 2>&5
2776
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777
(exit $ac_status); } &&
2778
{ ac_try='test -s conftest$ac_exeext'
2779
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783
(exit $ac_status); }; }; then
2784
ac_cv_search_strerror="-l$ac_lib"
2787
echo "$as_me: failed program was:" >&5
2788
sed 's/^/| /' conftest.$ac_ext >&5
2791
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2794
LIBS=$ac_func_search_save_LIBS
2796
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2797
echo "${ECHO_T}$ac_cv_search_strerror" >&6
2798
if test "$ac_cv_search_strerror" != no; then
2799
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2805
echo "$as_me:$LINENO: checking for cos in -lm" >&5
2806
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
2807
if test "${ac_cv_lib_m_cos+set}" = set; then
2808
echo $ECHO_N "(cached) $ECHO_C" >&6
2810
ac_check_lib_save_LIBS=$LIBS
2812
cat >conftest.$ac_ext <<_ACEOF
2813
#line $LINENO "configure"
2816
cat confdefs.h >>conftest.$ac_ext
2817
cat >>conftest.$ac_ext <<_ACEOF
2818
/* end confdefs.h. */
2820
/* Override any gcc2 internal prototype to avoid an error. */
2824
/* We use char because int might match the return type of a gcc2
2825
builtin and then its argument prototype would still apply. */
2835
rm -f conftest.$ac_objext conftest$ac_exeext
2836
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2837
(eval $ac_link) 2>&5
2839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
(exit $ac_status); } &&
2841
{ ac_try='test -s conftest$ac_exeext'
2842
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846
(exit $ac_status); }; }; then
2849
echo "$as_me: failed program was:" >&5
2850
sed 's/^/| /' conftest.$ac_ext >&5
2854
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2855
LIBS=$ac_check_lib_save_LIBS
2857
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
2858
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
2859
if test $ac_cv_lib_m_cos = yes; then
2860
cat >>confdefs.h <<_ACEOF
2870
ac_cpp='$CPP $CPPFLAGS'
2871
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2872
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2873
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2874
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2875
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2876
# On Suns, sometimes $CPP names a directory.
2877
if test -n "$CPP" && test -d "$CPP"; then
2880
if test -z "$CPP"; then
2881
if test "${ac_cv_prog_CPP+set}" = set; then
2882
echo $ECHO_N "(cached) $ECHO_C" >&6
2884
# Double quotes because CPP needs to be expanded
2885
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2888
for ac_c_preproc_warn_flag in '' yes
2890
# Use a header file that comes with gcc, so configuring glibc
2891
# with a fresh cross-compiler works.
2892
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2893
# <limits.h> exists even on freestanding compilers.
2894
# On the NeXT, cc -E runs the code through the compiler's parser,
2895
# not just through cpp. "Syntax error" is here to catch this case.
2896
cat >conftest.$ac_ext <<_ACEOF
2897
#line $LINENO "configure"
2900
cat confdefs.h >>conftest.$ac_ext
2901
cat >>conftest.$ac_ext <<_ACEOF
2902
/* end confdefs.h. */
2904
# include <limits.h>
2906
# include <assert.h>
2910
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2911
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2913
grep -v '^ *+' conftest.er1 >conftest.err
2915
cat conftest.err >&5
2916
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917
(exit $ac_status); } >/dev/null; then
2918
if test -s conftest.err; then
2919
ac_cpp_err=$ac_c_preproc_warn_flag
2926
if test -z "$ac_cpp_err"; then
2929
echo "$as_me: failed program was:" >&5
2930
sed 's/^/| /' conftest.$ac_ext >&5
2932
# Broken: fails on valid input.
2935
rm -f conftest.err conftest.$ac_ext
2937
# OK, works on sane cases. Now check whether non-existent headers
2938
# can be detected and how.
2939
cat >conftest.$ac_ext <<_ACEOF
2940
#line $LINENO "configure"
2943
cat confdefs.h >>conftest.$ac_ext
2944
cat >>conftest.$ac_ext <<_ACEOF
2945
/* end confdefs.h. */
2946
#include <ac_nonexistent.h>
2948
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2949
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2951
grep -v '^ *+' conftest.er1 >conftest.err
2953
cat conftest.err >&5
2954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955
(exit $ac_status); } >/dev/null; then
2956
if test -s conftest.err; then
2957
ac_cpp_err=$ac_c_preproc_warn_flag
2964
if test -z "$ac_cpp_err"; then
2965
# Broken: success on invalid input.
2968
echo "$as_me: failed program was:" >&5
2969
sed 's/^/| /' conftest.$ac_ext >&5
2971
# Passes both tests.
2975
rm -f conftest.err conftest.$ac_ext
2978
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2979
rm -f conftest.err conftest.$ac_ext
2980
if $ac_preproc_ok; then
2992
echo "$as_me:$LINENO: result: $CPP" >&5
2993
echo "${ECHO_T}$CPP" >&6
2995
for ac_c_preproc_warn_flag in '' yes
2997
# Use a header file that comes with gcc, so configuring glibc
2998
# with a fresh cross-compiler works.
2999
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3000
# <limits.h> exists even on freestanding compilers.
3001
# On the NeXT, cc -E runs the code through the compiler's parser,
3002
# not just through cpp. "Syntax error" is here to catch this case.
3003
cat >conftest.$ac_ext <<_ACEOF
3004
#line $LINENO "configure"
3007
cat confdefs.h >>conftest.$ac_ext
3008
cat >>conftest.$ac_ext <<_ACEOF
3009
/* end confdefs.h. */
3011
# include <limits.h>
3013
# include <assert.h>
3017
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3018
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3020
grep -v '^ *+' conftest.er1 >conftest.err
3022
cat conftest.err >&5
3023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
(exit $ac_status); } >/dev/null; then
3025
if test -s conftest.err; then
3026
ac_cpp_err=$ac_c_preproc_warn_flag
3033
if test -z "$ac_cpp_err"; then
3036
echo "$as_me: failed program was:" >&5
3037
sed 's/^/| /' conftest.$ac_ext >&5
3039
# Broken: fails on valid input.
3042
rm -f conftest.err conftest.$ac_ext
3044
# OK, works on sane cases. Now check whether non-existent headers
3045
# can be detected and how.
3046
cat >conftest.$ac_ext <<_ACEOF
3047
#line $LINENO "configure"
3050
cat confdefs.h >>conftest.$ac_ext
3051
cat >>conftest.$ac_ext <<_ACEOF
3052
/* end confdefs.h. */
3053
#include <ac_nonexistent.h>
3055
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3056
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3058
grep -v '^ *+' conftest.er1 >conftest.err
3060
cat conftest.err >&5
3061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062
(exit $ac_status); } >/dev/null; then
3063
if test -s conftest.err; then
3064
ac_cpp_err=$ac_c_preproc_warn_flag
3071
if test -z "$ac_cpp_err"; then
3072
# Broken: success on invalid input.
3075
echo "$as_me: failed program was:" >&5
3076
sed 's/^/| /' conftest.$ac_ext >&5
3078
# Passes both tests.
3082
rm -f conftest.err conftest.$ac_ext
3085
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3086
rm -f conftest.err conftest.$ac_ext
3087
if $ac_preproc_ok; then
3090
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3091
See \`config.log' for more details." >&5
3092
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3093
See \`config.log' for more details." >&2;}
3094
{ (exit 1); exit 1; }; }
3098
ac_cpp='$CPP $CPPFLAGS'
3099
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3104
echo "$as_me:$LINENO: checking for egrep" >&5
3105
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3106
if test "${ac_cv_prog_egrep+set}" = set; then
3107
echo $ECHO_N "(cached) $ECHO_C" >&6
3109
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3110
then ac_cv_prog_egrep='grep -E'
3111
else ac_cv_prog_egrep='egrep'
3114
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3115
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3116
EGREP=$ac_cv_prog_egrep
3119
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3120
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3121
if test "${ac_cv_header_stdc+set}" = set; then
3122
echo $ECHO_N "(cached) $ECHO_C" >&6
3124
cat >conftest.$ac_ext <<_ACEOF
3125
#line $LINENO "configure"
3128
cat confdefs.h >>conftest.$ac_ext
3129
cat >>conftest.$ac_ext <<_ACEOF
3130
/* end confdefs.h. */
3144
rm -f conftest.$ac_objext
3145
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3146
(eval $ac_compile) 2>&5
3148
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149
(exit $ac_status); } &&
3150
{ ac_try='test -s conftest.$ac_objext'
3151
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155
(exit $ac_status); }; }; then
3156
ac_cv_header_stdc=yes
3158
echo "$as_me: failed program was:" >&5
3159
sed 's/^/| /' conftest.$ac_ext >&5
3161
ac_cv_header_stdc=no
3163
rm -f conftest.$ac_objext conftest.$ac_ext
3165
if test $ac_cv_header_stdc = yes; then
3166
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3167
cat >conftest.$ac_ext <<_ACEOF
3168
#line $LINENO "configure"
3171
cat confdefs.h >>conftest.$ac_ext
3172
cat >>conftest.$ac_ext <<_ACEOF
3173
/* end confdefs.h. */
3177
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3178
$EGREP "memchr" >/dev/null 2>&1; then
3181
ac_cv_header_stdc=no
3187
if test $ac_cv_header_stdc = yes; then
3188
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3189
cat >conftest.$ac_ext <<_ACEOF
3190
#line $LINENO "configure"
3193
cat confdefs.h >>conftest.$ac_ext
3194
cat >>conftest.$ac_ext <<_ACEOF
3195
/* end confdefs.h. */
3199
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3200
$EGREP "free" >/dev/null 2>&1; then
3203
ac_cv_header_stdc=no
3209
if test $ac_cv_header_stdc = yes; then
3210
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3211
if test "$cross_compiling" = yes; then
3214
cat >conftest.$ac_ext <<_ACEOF
3215
#line $LINENO "configure"
3218
cat confdefs.h >>conftest.$ac_ext
3219
cat >>conftest.$ac_ext <<_ACEOF
3220
/* end confdefs.h. */
3222
#if ((' ' & 0x0FF) == 0x020)
3223
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3224
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3226
# define ISLOWER(c) \
3227
(('a' <= (c) && (c) <= 'i') \
3228
|| ('j' <= (c) && (c) <= 'r') \
3229
|| ('s' <= (c) && (c) <= 'z'))
3230
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3233
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3238
for (i = 0; i < 256; i++)
3239
if (XOR (islower (i), ISLOWER (i))
3240
|| toupper (i) != TOUPPER (i))
3245
rm -f conftest$ac_exeext
3246
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3247
(eval $ac_link) 2>&5
3249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3251
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255
(exit $ac_status); }; }; then
3258
echo "$as_me: program exited with status $ac_status" >&5
3259
echo "$as_me: failed program was:" >&5
3260
sed 's/^/| /' conftest.$ac_ext >&5
3263
ac_cv_header_stdc=no
3265
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3269
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3270
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3271
if test $ac_cv_header_stdc = yes; then
3273
cat >>confdefs.h <<\_ACEOF
3274
#define STDC_HEADERS 1
3279
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3289
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3290
inttypes.h stdint.h unistd.h
3292
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3293
echo "$as_me:$LINENO: checking for $ac_header" >&5
3294
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3295
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3296
echo $ECHO_N "(cached) $ECHO_C" >&6
3298
cat >conftest.$ac_ext <<_ACEOF
3299
#line $LINENO "configure"
3302
cat confdefs.h >>conftest.$ac_ext
3303
cat >>conftest.$ac_ext <<_ACEOF
3304
/* end confdefs.h. */
3305
$ac_includes_default
3307
#include <$ac_header>
3309
rm -f conftest.$ac_objext
3310
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3311
(eval $ac_compile) 2>&5
3313
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314
(exit $ac_status); } &&
3315
{ ac_try='test -s conftest.$ac_objext'
3316
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320
(exit $ac_status); }; }; then
3321
eval "$as_ac_Header=yes"
3323
echo "$as_me: failed program was:" >&5
3324
sed 's/^/| /' conftest.$ac_ext >&5
3326
eval "$as_ac_Header=no"
3328
rm -f conftest.$ac_objext conftest.$ac_ext
3330
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3331
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3332
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3333
cat >>confdefs.h <<_ACEOF
3334
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3347
for ac_header in stdio.h math.h errno.h stdlib.h nan.h
3349
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3350
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3351
echo "$as_me:$LINENO: checking for $ac_header" >&5
3352
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3353
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3354
echo $ECHO_N "(cached) $ECHO_C" >&6
3356
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3357
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3359
# Is the header compilable?
3360
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3361
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3362
cat >conftest.$ac_ext <<_ACEOF
3363
#line $LINENO "configure"
3366
cat confdefs.h >>conftest.$ac_ext
3367
cat >>conftest.$ac_ext <<_ACEOF
3368
/* end confdefs.h. */
3369
$ac_includes_default
3370
#include <$ac_header>
3372
rm -f conftest.$ac_objext
3373
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3374
(eval $ac_compile) 2>&5
3376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377
(exit $ac_status); } &&
3378
{ ac_try='test -s conftest.$ac_objext'
3379
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383
(exit $ac_status); }; }; then
3384
ac_header_compiler=yes
3386
echo "$as_me: failed program was:" >&5
3387
sed 's/^/| /' conftest.$ac_ext >&5
3389
ac_header_compiler=no
3391
rm -f conftest.$ac_objext conftest.$ac_ext
3392
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3393
echo "${ECHO_T}$ac_header_compiler" >&6
3395
# Is the header present?
3396
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3397
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3398
cat >conftest.$ac_ext <<_ACEOF
3399
#line $LINENO "configure"
3402
cat confdefs.h >>conftest.$ac_ext
3403
cat >>conftest.$ac_ext <<_ACEOF
3404
/* end confdefs.h. */
3405
#include <$ac_header>
3407
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3408
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3410
grep -v '^ *+' conftest.er1 >conftest.err
3412
cat conftest.err >&5
3413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414
(exit $ac_status); } >/dev/null; then
3415
if test -s conftest.err; then
3416
ac_cpp_err=$ac_c_preproc_warn_flag
3423
if test -z "$ac_cpp_err"; then
3424
ac_header_preproc=yes
3426
echo "$as_me: failed program was:" >&5
3427
sed 's/^/| /' conftest.$ac_ext >&5
3429
ac_header_preproc=no
3431
rm -f conftest.err conftest.$ac_ext
3432
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3433
echo "${ECHO_T}$ac_header_preproc" >&6
3435
# So? What about this header?
3436
case $ac_header_compiler:$ac_header_preproc in
3438
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3439
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3440
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3441
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3444
## ------------------------------------ ##
3445
## Report this to bug-autoconf@gnu.org. ##
3446
## ------------------------------------ ##
3449
sed "s/^/$as_me: WARNING: /" >&2
3452
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3453
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3454
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3455
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3456
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3457
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3460
## ------------------------------------ ##
3461
## Report this to bug-autoconf@gnu.org. ##
3462
## ------------------------------------ ##
3465
sed "s/^/$as_me: WARNING: /" >&2
3468
echo "$as_me:$LINENO: checking for $ac_header" >&5
3469
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3470
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3471
echo $ECHO_N "(cached) $ECHO_C" >&6
3473
eval "$as_ac_Header=$ac_header_preproc"
3475
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3476
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3479
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3480
cat >>confdefs.h <<_ACEOF
3481
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3492
for ac_header in ieeefp.h time.h sys/time.h random.h
3494
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3495
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3496
echo "$as_me:$LINENO: checking for $ac_header" >&5
3497
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3498
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3499
echo $ECHO_N "(cached) $ECHO_C" >&6
3501
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3502
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3504
# Is the header compilable?
3505
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3506
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3507
cat >conftest.$ac_ext <<_ACEOF
3508
#line $LINENO "configure"
3511
cat confdefs.h >>conftest.$ac_ext
3512
cat >>conftest.$ac_ext <<_ACEOF
3513
/* end confdefs.h. */
3514
$ac_includes_default
3515
#include <$ac_header>
3517
rm -f conftest.$ac_objext
3518
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3519
(eval $ac_compile) 2>&5
3521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522
(exit $ac_status); } &&
3523
{ ac_try='test -s conftest.$ac_objext'
3524
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528
(exit $ac_status); }; }; then
3529
ac_header_compiler=yes
3531
echo "$as_me: failed program was:" >&5
3532
sed 's/^/| /' conftest.$ac_ext >&5
3534
ac_header_compiler=no
3536
rm -f conftest.$ac_objext conftest.$ac_ext
3537
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3538
echo "${ECHO_T}$ac_header_compiler" >&6
3540
# Is the header present?
3541
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3542
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3543
cat >conftest.$ac_ext <<_ACEOF
3544
#line $LINENO "configure"
3547
cat confdefs.h >>conftest.$ac_ext
3548
cat >>conftest.$ac_ext <<_ACEOF
3549
/* end confdefs.h. */
3550
#include <$ac_header>
3552
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3553
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3555
grep -v '^ *+' conftest.er1 >conftest.err
3557
cat conftest.err >&5
3558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559
(exit $ac_status); } >/dev/null; then
3560
if test -s conftest.err; then
3561
ac_cpp_err=$ac_c_preproc_warn_flag
3568
if test -z "$ac_cpp_err"; then
3569
ac_header_preproc=yes
3571
echo "$as_me: failed program was:" >&5
3572
sed 's/^/| /' conftest.$ac_ext >&5
3574
ac_header_preproc=no
3576
rm -f conftest.err conftest.$ac_ext
3577
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3578
echo "${ECHO_T}$ac_header_preproc" >&6
3580
# So? What about this header?
3581
case $ac_header_compiler:$ac_header_preproc in
3583
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3584
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3585
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3586
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3589
## ------------------------------------ ##
3590
## Report this to bug-autoconf@gnu.org. ##
3591
## ------------------------------------ ##
3594
sed "s/^/$as_me: WARNING: /" >&2
3597
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3598
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3599
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3600
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3601
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3602
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3605
## ------------------------------------ ##
3606
## Report this to bug-autoconf@gnu.org. ##
3607
## ------------------------------------ ##
3610
sed "s/^/$as_me: WARNING: /" >&2
3613
echo "$as_me:$LINENO: checking for $ac_header" >&5
3614
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3615
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3616
echo $ECHO_N "(cached) $ECHO_C" >&6
3618
eval "$as_ac_Header=$ac_header_preproc"
3620
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3621
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3624
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3625
cat >>confdefs.h <<_ACEOF
3626
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3638
for ac_header in string.h ctype.h sys/types.h unistd.h values.h
3640
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3641
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3642
echo "$as_me:$LINENO: checking for $ac_header" >&5
3643
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3644
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3645
echo $ECHO_N "(cached) $ECHO_C" >&6
3647
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3648
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3650
# Is the header compilable?
3651
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3652
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3653
cat >conftest.$ac_ext <<_ACEOF
3654
#line $LINENO "configure"
3657
cat confdefs.h >>conftest.$ac_ext
3658
cat >>conftest.$ac_ext <<_ACEOF
3659
/* end confdefs.h. */
3660
$ac_includes_default
3661
#include <$ac_header>
3663
rm -f conftest.$ac_objext
3664
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3665
(eval $ac_compile) 2>&5
3667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668
(exit $ac_status); } &&
3669
{ ac_try='test -s conftest.$ac_objext'
3670
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674
(exit $ac_status); }; }; then
3675
ac_header_compiler=yes
3677
echo "$as_me: failed program was:" >&5
3678
sed 's/^/| /' conftest.$ac_ext >&5
3680
ac_header_compiler=no
3682
rm -f conftest.$ac_objext conftest.$ac_ext
3683
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3684
echo "${ECHO_T}$ac_header_compiler" >&6
3686
# Is the header present?
3687
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3688
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3689
cat >conftest.$ac_ext <<_ACEOF
3690
#line $LINENO "configure"
3693
cat confdefs.h >>conftest.$ac_ext
3694
cat >>conftest.$ac_ext <<_ACEOF
3695
/* end confdefs.h. */
3696
#include <$ac_header>
3698
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3699
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3701
grep -v '^ *+' conftest.er1 >conftest.err
3703
cat conftest.err >&5
3704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705
(exit $ac_status); } >/dev/null; then
3706
if test -s conftest.err; then
3707
ac_cpp_err=$ac_c_preproc_warn_flag
3714
if test -z "$ac_cpp_err"; then
3715
ac_header_preproc=yes
3717
echo "$as_me: failed program was:" >&5
3718
sed 's/^/| /' conftest.$ac_ext >&5
3720
ac_header_preproc=no
3722
rm -f conftest.err conftest.$ac_ext
3723
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3724
echo "${ECHO_T}$ac_header_preproc" >&6
3726
# So? What about this header?
3727
case $ac_header_compiler:$ac_header_preproc in
3729
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3730
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3731
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3732
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3735
## ------------------------------------ ##
3736
## Report this to bug-autoconf@gnu.org. ##
3737
## ------------------------------------ ##
3740
sed "s/^/$as_me: WARNING: /" >&2
3743
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3744
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3745
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3746
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3747
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3748
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3751
## ------------------------------------ ##
3752
## Report this to bug-autoconf@gnu.org. ##
3753
## ------------------------------------ ##
3756
sed "s/^/$as_me: WARNING: /" >&2
3759
echo "$as_me:$LINENO: checking for $ac_header" >&5
3760
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3761
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3762
echo $ECHO_N "(cached) $ECHO_C" >&6
3764
eval "$as_ac_Header=$ac_header_preproc"
3766
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3767
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3770
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3771
cat >>confdefs.h <<_ACEOF
3772
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3780
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3781
# for constant arguments. Useless!
3782
echo "$as_me:$LINENO: checking for working alloca.h" >&5
3783
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3784
if test "${ac_cv_working_alloca_h+set}" = set; then
3785
echo $ECHO_N "(cached) $ECHO_C" >&6
3787
cat >conftest.$ac_ext <<_ACEOF
3788
#line $LINENO "configure"
3791
cat confdefs.h >>conftest.$ac_ext
3792
cat >>conftest.$ac_ext <<_ACEOF
3793
/* end confdefs.h. */
3798
char *p = (char *) alloca (2 * sizeof (int));
3803
rm -f conftest.$ac_objext conftest$ac_exeext
3804
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3805
(eval $ac_link) 2>&5
3807
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808
(exit $ac_status); } &&
3809
{ ac_try='test -s conftest$ac_exeext'
3810
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814
(exit $ac_status); }; }; then
3815
ac_cv_working_alloca_h=yes
3817
echo "$as_me: failed program was:" >&5
3818
sed 's/^/| /' conftest.$ac_ext >&5
3820
ac_cv_working_alloca_h=no
3822
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3824
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3825
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3826
if test $ac_cv_working_alloca_h = yes; then
3828
cat >>confdefs.h <<\_ACEOF
3829
#define HAVE_ALLOCA_H 1
3834
echo "$as_me:$LINENO: checking for alloca" >&5
3835
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3836
if test "${ac_cv_func_alloca_works+set}" = set; then
3837
echo $ECHO_N "(cached) $ECHO_C" >&6
3839
cat >conftest.$ac_ext <<_ACEOF
3840
#line $LINENO "configure"
3843
cat confdefs.h >>conftest.$ac_ext
3844
cat >>conftest.$ac_ext <<_ACEOF
3845
/* end confdefs.h. */
3847
# define alloca __builtin_alloca
3850
# include <malloc.h>
3851
# define alloca _alloca
3854
# include <alloca.h>
3859
# ifndef alloca /* predefined by HP cc +Olibcalls */
3870
char *p = (char *) alloca (1);
3875
rm -f conftest.$ac_objext conftest$ac_exeext
3876
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3877
(eval $ac_link) 2>&5
3879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880
(exit $ac_status); } &&
3881
{ ac_try='test -s conftest$ac_exeext'
3882
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886
(exit $ac_status); }; }; then
3887
ac_cv_func_alloca_works=yes
3889
echo "$as_me: failed program was:" >&5
3890
sed 's/^/| /' conftest.$ac_ext >&5
3892
ac_cv_func_alloca_works=no
3894
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3896
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3897
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3899
if test $ac_cv_func_alloca_works = yes; then
3901
cat >>confdefs.h <<\_ACEOF
3902
#define HAVE_ALLOCA 1
3906
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
3907
# that cause trouble. Some versions do not even contain alloca or
3908
# contain a buggy version. If you still want to use their alloca,
3909
# use ar to extract alloca.o from them instead of compiling alloca.c.
3911
ALLOCA=alloca.$ac_objext
3913
cat >>confdefs.h <<\_ACEOF
3918
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3919
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3920
if test "${ac_cv_os_cray+set}" = set; then
3921
echo $ECHO_N "(cached) $ECHO_C" >&6
3923
cat >conftest.$ac_ext <<_ACEOF
3924
#line $LINENO "configure"
3927
cat confdefs.h >>conftest.$ac_ext
3928
cat >>conftest.$ac_ext <<_ACEOF
3929
/* end confdefs.h. */
3930
#if defined(CRAY) && ! defined(CRAY2)
3937
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3938
$EGREP "webecray" >/dev/null 2>&1; then
3946
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3947
echo "${ECHO_T}$ac_cv_os_cray" >&6
3948
if test $ac_cv_os_cray = yes; then
3949
for ac_func in _getb67 GETB67 getb67; do
3950
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3951
echo "$as_me:$LINENO: checking for $ac_func" >&5
3952
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3953
if eval "test \"\${$as_ac_var+set}\" = set"; then
3954
echo $ECHO_N "(cached) $ECHO_C" >&6
3956
cat >conftest.$ac_ext <<_ACEOF
3957
#line $LINENO "configure"
3960
cat confdefs.h >>conftest.$ac_ext
3961
cat >>conftest.$ac_ext <<_ACEOF
3962
/* end confdefs.h. */
3963
/* System header to define __stub macros and hopefully few prototypes,
3964
which can conflict with char $ac_func (); below.
3965
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3966
<limits.h> exists even on freestanding compilers. */
3968
# include <limits.h>
3970
# include <assert.h>
3972
/* Override any gcc2 internal prototype to avoid an error. */
3977
/* We use char because int might match the return type of a gcc2
3978
builtin and then its argument prototype would still apply. */
3980
/* The GNU C library defines this for functions which it implements
3981
to always fail with ENOSYS. Some functions are actually named
3982
something starting with __ and the normal name is an alias. */
3983
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3986
char (*f) () = $ac_func;
3995
return f != $ac_func;
4000
rm -f conftest.$ac_objext conftest$ac_exeext
4001
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4002
(eval $ac_link) 2>&5
4004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005
(exit $ac_status); } &&
4006
{ ac_try='test -s conftest$ac_exeext'
4007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011
(exit $ac_status); }; }; then
4012
eval "$as_ac_var=yes"
4014
echo "$as_me: failed program was:" >&5
4015
sed 's/^/| /' conftest.$ac_ext >&5
4017
eval "$as_ac_var=no"
4019
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4021
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4022
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4023
if test `eval echo '${'$as_ac_var'}'` = yes; then
4025
cat >>confdefs.h <<_ACEOF
4026
#define CRAY_STACKSEG_END $ac_func
4035
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4036
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4037
if test "${ac_cv_c_stack_direction+set}" = set; then
4038
echo $ECHO_N "(cached) $ECHO_C" >&6
4040
if test "$cross_compiling" = yes; then
4041
ac_cv_c_stack_direction=0
4043
cat >conftest.$ac_ext <<_ACEOF
4044
#line $LINENO "configure"
4047
cat confdefs.h >>conftest.$ac_ext
4048
cat >>conftest.$ac_ext <<_ACEOF
4049
/* end confdefs.h. */
4051
find_stack_direction ()
4053
static char *addr = 0;
4058
return find_stack_direction ();
4061
return (&dummy > addr) ? 1 : -1;
4067
exit (find_stack_direction () < 0);
4070
rm -f conftest$ac_exeext
4071
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4072
(eval $ac_link) 2>&5
4074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4076
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080
(exit $ac_status); }; }; then
4081
ac_cv_c_stack_direction=1
4083
echo "$as_me: program exited with status $ac_status" >&5
4084
echo "$as_me: failed program was:" >&5
4085
sed 's/^/| /' conftest.$ac_ext >&5
4088
ac_cv_c_stack_direction=-1
4090
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4093
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4094
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4096
cat >>confdefs.h <<_ACEOF
4097
#define STACK_DIRECTION $ac_cv_c_stack_direction
4105
echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
4106
echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
4107
if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
4108
echo $ECHO_N "(cached) $ECHO_C" >&6
4110
cat >conftest.$ac_ext <<_ACEOF
4111
#line $LINENO "configure"
4114
cat confdefs.h >>conftest.$ac_ext
4115
cat >>conftest.$ac_ext <<_ACEOF
4116
/* end confdefs.h. */
4117
$ac_includes_default
4121
static struct stat ac_aggr;
4122
if (ac_aggr.st_blksize)
4128
rm -f conftest.$ac_objext
4129
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4130
(eval $ac_compile) 2>&5
4132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133
(exit $ac_status); } &&
4134
{ ac_try='test -s conftest.$ac_objext'
4135
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139
(exit $ac_status); }; }; then
4140
ac_cv_member_struct_stat_st_blksize=yes
4142
echo "$as_me: failed program was:" >&5
4143
sed 's/^/| /' conftest.$ac_ext >&5
4145
cat >conftest.$ac_ext <<_ACEOF
4146
#line $LINENO "configure"
4149
cat confdefs.h >>conftest.$ac_ext
4150
cat >>conftest.$ac_ext <<_ACEOF
4151
/* end confdefs.h. */
4152
$ac_includes_default
4156
static struct stat ac_aggr;
4157
if (sizeof ac_aggr.st_blksize)
4163
rm -f conftest.$ac_objext
4164
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4165
(eval $ac_compile) 2>&5
4167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168
(exit $ac_status); } &&
4169
{ ac_try='test -s conftest.$ac_objext'
4170
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4173
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174
(exit $ac_status); }; }; then
4175
ac_cv_member_struct_stat_st_blksize=yes
4177
echo "$as_me: failed program was:" >&5
4178
sed 's/^/| /' conftest.$ac_ext >&5
4180
ac_cv_member_struct_stat_st_blksize=no
4182
rm -f conftest.$ac_objext conftest.$ac_ext
4184
rm -f conftest.$ac_objext conftest.$ac_ext
4186
echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
4187
echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
4188
if test $ac_cv_member_struct_stat_st_blksize = yes; then
4190
cat >>confdefs.h <<_ACEOF
4191
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
4195
cat >>confdefs.h <<\_ACEOF
4196
#define HAVE_ST_BLKSIZE 1
4204
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile man/Makefile man/man1/Makefile man/man5/Makefile"
4205
cat >confcache <<\_ACEOF
4206
# This file is a shell script that caches the results of configure
4207
# tests run on this system so they can be shared between configure
4208
# scripts and configure runs, see configure's option --config-cache.
4209
# It is not useful on other systems. If it contains results you don't
4210
# want to keep, you may remove or edit it.
4212
# config.status only pays attention to the cache file if you give it
4213
# the --recheck option to rerun configure.
4215
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4216
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4221
# The following way of writing the cache mishandles newlines in values,
4222
# but we know of no workaround that is simple, portable, and efficient.
4223
# So, don't put newlines in cache variables' values.
4224
# Ultrix sh set writes to stderr and can't be redirected directly,
4225
# and sets the high bit in the cache file unless we assign to the vars.
4228
case `(ac_space=' '; set | grep ac_space) 2>&1` in
4230
# `set' does not quote correctly, so add quotes (double-quote
4231
# substitution turns \\\\ into \\, and sed turns \\ into \).
4234
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4237
# `set' quotes correctly as required by POSIX, so do not add quotes.
4239
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4246
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4248
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4250
if diff $cache_file confcache >/dev/null 2>&1; then :; else
4251
if test -w $cache_file; then
4252
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4253
cat confcache >$cache_file
4255
echo "not updating unwritable cache $cache_file"
4260
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4261
# Let make expand exec_prefix.
4262
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4264
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4265
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4266
# trailing colons and then remove the whole line if VPATH becomes empty
4267
# (actually we leave an empty line to preserve line numbers).
4268
if test "x$srcdir" = x.; then
4269
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4270
s/:*\$(srcdir):*/:/;
4271
s/:*\${srcdir}:*/:/;
4273
s/^\([^=]*=[ ]*\):*/\1/;
4279
# Transform confdefs.h into DEFS.
4280
# Protect against shell expansion while executing Makefile rules.
4281
# Protect against Makefile macro expansion.
4283
# If the first sed substitution is executed (which looks for macros that
4284
# take arguments), then we branch to the quote section. Otherwise,
4285
# look for a macro that doesn't take arguments.
4286
cat >confdef2opt.sed <<\_ACEOF
4289
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4291
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4295
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4301
# We use echo to avoid assuming a particular line-breaking character.
4302
# The extra dot is to prevent the shell from consuming trailing
4303
# line-breaks from the sub-command output. A line-break within
4304
# single-quotes doesn't work because, if this script is created in a
4305
# platform that uses two characters for line-breaks (e.g., DOS), tr
4307
ac_LF_and_DOT=`echo; echo .`
4308
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4309
rm -f confdef2opt.sed
4314
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4315
# 1. Remove the extension, and $U if already installed.
4316
ac_i=`echo "$ac_i" |
4317
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4319
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4320
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4324
LTLIBOBJS=$ac_ltlibobjs
4327
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4328
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4329
Usually this means the macro was only invoked conditionally." >&5
4330
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4331
Usually this means the macro was only invoked conditionally." >&2;}
4332
{ (exit 1); exit 1; }; }
4334
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4335
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4336
Usually this means the macro was only invoked conditionally." >&5
4337
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4338
Usually this means the macro was only invoked conditionally." >&2;}
4339
{ (exit 1); exit 1; }; }
4342
: ${CONFIG_STATUS=./config.status}
4343
ac_clean_files_save=$ac_clean_files
4344
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4345
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4346
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4347
cat >$CONFIG_STATUS <<_ACEOF
4349
# Generated by $as_me.
4350
# Run this file to recreate the current configuration.
4351
# Compiler output produced by configure, useful for debugging
4352
# configure, is in config.log if it exists.
4357
SHELL=\${CONFIG_SHELL-$SHELL}
4360
cat >>$CONFIG_STATUS <<\_ACEOF
4361
## --------------------- ##
4362
## M4sh Initialization. ##
4363
## --------------------- ##
4365
# Be Bourne compatible
4366
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4369
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4370
# is contrary to our usage. Disable this feature.
4371
alias -g '${1+"$@"}'='"$@"'
4372
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4376
# Support unset when possible.
4377
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4384
# Work around bugs in pre-3.0 UWIN ksh.
4385
$as_unset ENV MAIL MAILPATH
4392
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4393
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4394
LC_TELEPHONE LC_TIME
4396
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4397
eval $as_var=C; export $as_var
4403
# Required to use basename.
4404
if expr a : '\(a\)' >/dev/null 2>&1; then
4410
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4411
as_basename=basename
4417
# Name of the executable.
4418
as_me=`$as_basename "$0" ||
4419
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4420
X"$0" : 'X\(//\)$' \| \
4421
X"$0" : 'X\(/\)$' \| \
4422
. : '\(.\)' 2>/dev/null ||
4424
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4425
/^X\/\(\/\/\)$/{ s//\1/; q; }
4426
/^X\/\(\/\).*/{ s//\1/; q; }
4430
# PATH needs CR, and LINENO needs CR and PATH.
4431
# Avoid depending upon Character Ranges.
4432
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4433
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4434
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4435
as_cr_digits='0123456789'
4436
as_cr_alnum=$as_cr_Letters$as_cr_digits
4438
# The user is always right.
4439
if test "${PATH_SEPARATOR+set}" != set; then
4440
echo "#! /bin/sh" >conf$$.sh
4441
echo "exit 0" >>conf$$.sh
4443
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4454
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4455
test "x$as_lineno_1" != "x$as_lineno_2" &&
4456
test "x$as_lineno_3" = "x$as_lineno_2" || {
4457
# Find who we are. Look in the path if we contain no path at all
4460
*[\\/]* ) as_myself=$0 ;;
4461
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465
test -z "$as_dir" && as_dir=.
4466
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4471
# We did not find ourselves, most probably we were run as `sh COMMAND'
4472
# in which case we are not to be found in the path.
4473
if test "x$as_myself" = x; then
4476
if test ! -f "$as_myself"; then
4477
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4478
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4479
{ (exit 1); exit 1; }; }
4481
case $CONFIG_SHELL in
4483
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4487
test -z "$as_dir" && as_dir=.
4488
for as_base in sh bash ksh sh5; do
4491
if ("$as_dir/$as_base" -c '
4494
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4495
test "x$as_lineno_1" != "x$as_lineno_2" &&
4496
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4497
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4498
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4499
CONFIG_SHELL=$as_dir/$as_base
4501
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4509
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4510
# uniformly replaced by the line number. The first 'sed' inserts a
4511
# line-number line before each line; the second 'sed' does the real
4512
# work. The second script uses 'N' to pair each line-number line
4513
# with the numbered line, and appends trailing '-' during
4514
# substitution so that $LINENO is not a special case at line end.
4515
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4516
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4517
sed '=' <$as_myself |
4522
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4525
s,^['$as_cr_digits']*\n,,
4527
chmod +x $as_me.lineno ||
4528
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4529
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4530
{ (exit 1); exit 1; }; }
4532
# Don't try to exec as it changes $[0], causing all sort of problems
4533
# (the dirname of $[0] is not the place where we might find the
4534
# original and so on. Autoconf is especially sensible to this).
4536
# Exit status is that of the last command.
4541
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4542
*c*,-n*) ECHO_N= ECHO_C='
4544
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4545
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4548
if expr a : '\(a\)' >/dev/null 2>&1; then
4554
rm -f conf$$ conf$$.exe conf$$.file
4556
if ln -s conf$$.file conf$$ 2>/dev/null; then
4557
# We could just check for DJGPP; but this test a) works b) is more generic
4558
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4559
if test -f conf$$.exe; then
4560
# Don't use ln at all; we don't have any links
4565
elif ln conf$$.file conf$$ 2>/dev/null; then
4570
rm -f conf$$ conf$$.exe conf$$.file
4572
if mkdir -p . 2>/dev/null; then
4578
as_executable_p="test -f"
4580
# Sed expression to map a string onto a valid CPP name.
4581
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4583
# Sed expression to map a string onto a valid variable name.
4584
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4588
# We need space, tab and new line, in precisely that order.
4598
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4599
# report actual input values of CONFIG_FILES etc. instead of their
4600
# values after options handling. Logging --version etc. is OK.
4604
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4605
## Running $as_me. ##
4610
This file was extended by yagiuda $as_me 1.19, which was
4611
generated by GNU Autoconf 2.57. Invocation command line was
4613
CONFIG_FILES = $CONFIG_FILES
4614
CONFIG_HEADERS = $CONFIG_HEADERS
4615
CONFIG_LINKS = $CONFIG_LINKS
4616
CONFIG_COMMANDS = $CONFIG_COMMANDS
4620
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4624
# Files that config.status was made for.
4625
if test -n "$ac_config_files"; then
4626
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4629
if test -n "$ac_config_headers"; then
4630
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4633
if test -n "$ac_config_links"; then
4634
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4637
if test -n "$ac_config_commands"; then
4638
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4641
cat >>$CONFIG_STATUS <<\_ACEOF
4644
\`$as_me' instantiates files from templates according to the
4645
current configuration.
4647
Usage: $0 [OPTIONS] [FILE]...
4649
-h, --help print this help, then exit
4650
-V, --version print version number, then exit
4651
-q, --quiet do not print progress messages
4652
-d, --debug don't remove temporary files
4653
--recheck update $as_me by reconfiguring in the same conditions
4654
--file=FILE[:TEMPLATE]
4655
instantiate the configuration file FILE
4657
Configuration files:
4660
Configuration commands:
4663
Report bugs to <bug-autoconf@gnu.org>."
4666
cat >>$CONFIG_STATUS <<_ACEOF
4668
yagiuda config.status 1.19
4669
configured by $0, generated by GNU Autoconf 2.57,
4670
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4672
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4673
Free Software Foundation, Inc.
4674
This config.status script is free software; the Free Software Foundation
4675
gives unlimited permission to copy, distribute and modify it."
4680
cat >>$CONFIG_STATUS <<\_ACEOF
4681
# If no file are specified by the user, then we need to provide default
4682
# value. By we need to know if files were specified by the user.
4688
ac_option=`expr "x$1" : 'x\([^=]*\)='`
4689
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4697
*) # This is not an option, so the user has probably given explicit
4700
ac_need_defaults=false;;
4704
# Handling of the options.
4706
cat >>$CONFIG_STATUS <<\_ACEOF
4707
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4709
--version | --vers* | -V )
4710
echo "$ac_cs_version"; exit 0 ;;
4712
# Conflict between --help and --header
4713
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
4714
Try \`$0 --help' for more information." >&5
4715
echo "$as_me: error: ambiguous option: $1
4716
Try \`$0 --help' for more information." >&2;}
4717
{ (exit 1); exit 1; }; };;
4718
--help | --hel | -h )
4719
echo "$ac_cs_usage"; exit 0 ;;
4720
--debug | --d* | -d )
4722
--file | --fil | --fi | --f )
4724
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4725
ac_need_defaults=false;;
4726
--header | --heade | --head | --hea )
4728
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4729
ac_need_defaults=false;;
4730
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4731
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4735
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4736
Try \`$0 --help' for more information." >&5
4737
echo "$as_me: error: unrecognized option: $1
4738
Try \`$0 --help' for more information." >&2;}
4739
{ (exit 1); exit 1; }; } ;;
4741
*) ac_config_targets="$ac_config_targets $1" ;;
4747
ac_configure_extra_args=
4749
if $ac_cs_silent; then
4751
ac_configure_extra_args="$ac_configure_extra_args --silent"
4755
cat >>$CONFIG_STATUS <<_ACEOF
4756
if \$ac_cs_recheck; then
4757
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4758
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4763
cat >>$CONFIG_STATUS <<_ACEOF
4765
# INIT-COMMANDS section.
4768
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4774
cat >>$CONFIG_STATUS <<\_ACEOF
4775
for ac_config_target in $ac_config_targets
4777
case "$ac_config_target" in
4778
# Handling of arguments.
4779
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4780
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4781
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4782
"man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
4783
"man/man1/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/man1/Makefile" ;;
4784
"man/man5/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/man5/Makefile" ;;
4785
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4786
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4787
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4788
{ (exit 1); exit 1; }; };;
4792
# If the user did not use the arguments to specify the items to instantiate,
4793
# then the envvar interface is used. Set only those that are not.
4794
# We use the long form for the default assignment because of an extremely
4795
# bizarre bug on SunOS 4.1.3.
4796
if $ac_need_defaults; then
4797
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4798
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4801
# Have a temporary directory for convenience. Make it in the build tree
4802
# simply because there is no reason to put it here, and in addition,
4803
# creating and moving files from /tmp can sometimes cause problems.
4804
# Create a temporary directory, and hook for its removal unless debugging.
4807
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4808
trap '{ (exit 1); exit 1; }' 1 2 13 15
4811
# Create a (secure) tmp directory for tmp files.
4814
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4815
test -n "$tmp" && test -d "$tmp"
4818
tmp=./confstat$$-$RANDOM
4819
(umask 077 && mkdir $tmp)
4822
echo "$me: cannot create a temporary directory in ." >&2
4823
{ (exit 1); exit 1; }
4828
cat >>$CONFIG_STATUS <<_ACEOF
4831
# CONFIG_FILES section.
4834
# No need to generate the scripts if there are no CONFIG_FILES.
4835
# This happens for instance when ./config.status config.h
4836
if test -n "\$CONFIG_FILES"; then
4837
# Protect against being on the right side of a sed subst in config.status.
4838
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4839
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4840
s,@SHELL@,$SHELL,;t t
4841
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4842
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4843
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4844
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4845
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4846
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4847
s,@exec_prefix@,$exec_prefix,;t t
4848
s,@prefix@,$prefix,;t t
4849
s,@program_transform_name@,$program_transform_name,;t t
4850
s,@bindir@,$bindir,;t t
4851
s,@sbindir@,$sbindir,;t t
4852
s,@libexecdir@,$libexecdir,;t t
4853
s,@datadir@,$datadir,;t t
4854
s,@sysconfdir@,$sysconfdir,;t t
4855
s,@sharedstatedir@,$sharedstatedir,;t t
4856
s,@localstatedir@,$localstatedir,;t t
4857
s,@libdir@,$libdir,;t t
4858
s,@includedir@,$includedir,;t t
4859
s,@oldincludedir@,$oldincludedir,;t t
4860
s,@infodir@,$infodir,;t t
4861
s,@mandir@,$mandir,;t t
4862
s,@build_alias@,$build_alias,;t t
4863
s,@host_alias@,$host_alias,;t t
4864
s,@target_alias@,$target_alias,;t t
4866
s,@ECHO_C@,$ECHO_C,;t t
4867
s,@ECHO_N@,$ECHO_N,;t t
4868
s,@ECHO_T@,$ECHO_T,;t t
4870
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4871
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4872
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4873
s,@CYGPATH_W@,$CYGPATH_W,;t t
4874
s,@PACKAGE@,$PACKAGE,;t t
4875
s,@VERSION@,$VERSION,;t t
4876
s,@ACLOCAL@,$ACLOCAL,;t t
4877
s,@AUTOCONF@,$AUTOCONF,;t t
4878
s,@AUTOMAKE@,$AUTOMAKE,;t t
4879
s,@AUTOHEADER@,$AUTOHEADER,;t t
4880
s,@MAKEINFO@,$MAKEINFO,;t t
4881
s,@AMTAR@,$AMTAR,;t t
4882
s,@install_sh@,$install_sh,;t t
4883
s,@STRIP@,$STRIP,;t t
4884
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4885
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4887
s,@SET_MAKE@,$SET_MAKE,;t t
4889
s,@CFLAGS@,$CFLAGS,;t t
4890
s,@LDFLAGS@,$LDFLAGS,;t t
4891
s,@CPPFLAGS@,$CPPFLAGS,;t t
4892
s,@ac_ct_CC@,$ac_ct_CC,;t t
4893
s,@EXEEXT@,$EXEEXT,;t t
4894
s,@OBJEXT@,$OBJEXT,;t t
4895
s,@DEPDIR@,$DEPDIR,;t t
4896
s,@am__include@,$am__include,;t t
4897
s,@am__quote@,$am__quote,;t t
4898
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4899
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4900
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4901
s,@CCDEPMODE@,$CCDEPMODE,;t t
4902
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4903
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4905
s,@EGREP@,$EGREP,;t t
4906
s,@ALLOCA@,$ALLOCA,;t t
4907
s,@LIBOBJS@,$LIBOBJS,;t t
4908
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4913
cat >>$CONFIG_STATUS <<\_ACEOF
4914
# Split the substitutions into bite-sized pieces for seds with
4915
# small command number limits, like on Digital OSF/1 and HP-UX.
4917
ac_sed_frag=1 # Number of current file.
4918
ac_beg=1 # First line for current file.
4919
ac_end=$ac_max_sed_lines # Line after last line for current file.
4922
while $ac_more_lines; do
4923
if test $ac_beg -gt 1; then
4924
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4926
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4928
if test ! -s $tmp/subs.frag; then
4931
# The purpose of the label and of the branching condition is to
4932
# speed up the sed processing (if there are no `@' at all, there
4933
# is no need to browse any of the substitutions).
4934
# These are the two extra sed commands mentioned above.
4936
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4937
if test -z "$ac_sed_cmds"; then
4938
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4940
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4942
ac_sed_frag=`expr $ac_sed_frag + 1`
4944
ac_end=`expr $ac_end + $ac_max_sed_lines`
4947
if test -z "$ac_sed_cmds"; then
4950
fi # test -n "$CONFIG_FILES"
4953
cat >>$CONFIG_STATUS <<\_ACEOF
4954
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4955
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4957
- | *:- | *:-:* ) # input from stdin
4959
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4960
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4961
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4962
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4963
* ) ac_file_in=$ac_file.in ;;
4966
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4967
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4968
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4969
X"$ac_file" : 'X\(//\)[^/]' \| \
4970
X"$ac_file" : 'X\(//\)$' \| \
4971
X"$ac_file" : 'X\(/\)' \| \
4972
. : '\(.\)' 2>/dev/null ||
4974
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4975
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4976
/^X\(\/\/\)$/{ s//\1/; q; }
4977
/^X\(\/\).*/{ s//\1/; q; }
4979
{ if $as_mkdir_p; then
4984
while test ! -d "$as_dir"; do
4985
as_dirs="$as_dir $as_dirs"
4986
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4987
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4988
X"$as_dir" : 'X\(//\)[^/]' \| \
4989
X"$as_dir" : 'X\(//\)$' \| \
4990
X"$as_dir" : 'X\(/\)' \| \
4991
. : '\(.\)' 2>/dev/null ||
4993
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4994
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4995
/^X\(\/\/\)$/{ s//\1/; q; }
4996
/^X\(\/\).*/{ s//\1/; q; }
4999
test ! -n "$as_dirs" || mkdir $as_dirs
5000
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5001
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5002
{ (exit 1); exit 1; }; }; }
5006
if test "$ac_dir" != .; then
5007
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5008
# A "../" for each directory in $ac_dir_suffix.
5009
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5011
ac_dir_suffix= ac_top_builddir=
5015
.) # No --srcdir option. We are building in place.
5017
if test -z "$ac_top_builddir"; then
5020
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5022
[\\/]* | ?:[\\/]* ) # Absolute path.
5023
ac_srcdir=$srcdir$ac_dir_suffix;
5024
ac_top_srcdir=$srcdir ;;
5026
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5027
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5029
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5031
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5032
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5033
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5034
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5038
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5039
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5042
if test x"$ac_file" != x-; then
5043
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5044
echo "$as_me: creating $ac_file" >&6;}
5047
# Let's still pretend it is `configure' which instantiates (i.e., don't
5048
# use $as_me), people would be surprised to read:
5049
# /* config.h. Generated by config.status. */
5050
if test x"$ac_file" = x-; then
5053
configure_input="$ac_file. "
5055
configure_input=$configure_input"Generated from `echo $ac_file_in |
5056
sed 's,.*/,,'` by configure."
5058
# First look for the input files in the build tree, otherwise in the
5060
ac_file_inputs=`IFS=:
5061
for f in $ac_file_in; do
5063
-) echo $tmp/stdin ;;
5065
# Absolute (can't be DOS-style, as IFS=:)
5066
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5067
echo "$as_me: error: cannot find input file: $f" >&2;}
5068
{ (exit 1); exit 1; }; }
5071
if test -f "$f"; then
5074
elif test -f "$srcdir/$f"; then
5079
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5080
echo "$as_me: error: cannot find input file: $f" >&2;}
5081
{ (exit 1); exit 1; }; }
5084
done` || { (exit 1); exit 1; }
5086
cat >>$CONFIG_STATUS <<_ACEOF
5090
cat >>$CONFIG_STATUS <<\_ACEOF
5092
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5093
s,@configure_input@,$configure_input,;t t
5094
s,@srcdir@,$ac_srcdir,;t t
5095
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5096
s,@top_srcdir@,$ac_top_srcdir,;t t
5097
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5098
s,@builddir@,$ac_builddir,;t t
5099
s,@abs_builddir@,$ac_abs_builddir,;t t
5100
s,@top_builddir@,$ac_top_builddir,;t t
5101
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5102
s,@INSTALL@,$ac_INSTALL,;t t
5103
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5105
if test x"$ac_file" != x-; then
5106
mv $tmp/out $ac_file
5114
cat >>$CONFIG_STATUS <<\_ACEOF
5117
# CONFIG_COMMANDS section.
5119
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5120
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5121
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5122
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5123
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5124
X"$ac_dest" : 'X\(//\)[^/]' \| \
5125
X"$ac_dest" : 'X\(//\)$' \| \
5126
X"$ac_dest" : 'X\(/\)' \| \
5127
. : '\(.\)' 2>/dev/null ||
5129
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5130
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5131
/^X\(\/\/\)$/{ s//\1/; q; }
5132
/^X\(\/\).*/{ s//\1/; q; }
5136
if test "$ac_dir" != .; then
5137
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5138
# A "../" for each directory in $ac_dir_suffix.
5139
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5141
ac_dir_suffix= ac_top_builddir=
5145
.) # No --srcdir option. We are building in place.
5147
if test -z "$ac_top_builddir"; then
5150
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5152
[\\/]* | ?:[\\/]* ) # Absolute path.
5153
ac_srcdir=$srcdir$ac_dir_suffix;
5154
ac_top_srcdir=$srcdir ;;
5156
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5157
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5159
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5161
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5162
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5163
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5164
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5167
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5168
echo "$as_me: executing $ac_dest commands" >&6;}
5170
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5171
# Strip MF so we end up with the name of the file.
5172
mf=`echo "$mf" | sed -e 's/:.*$//'`
5173
# Check whether this is an Automake generated Makefile or not.
5174
# We used to match only the files named `Makefile.in', but
5175
# some people rename them; so instead we look at the file content.
5176
# Grep'ing the first line is not enough: some people post-process
5177
# each Makefile.in and add a new line on top of each file to say so.
5178
# So let's grep whole file.
5179
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5180
dirpart=`(dirname "$mf") 2>/dev/null ||
5181
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5182
X"$mf" : 'X\(//\)[^/]' \| \
5183
X"$mf" : 'X\(//\)$' \| \
5184
X"$mf" : 'X\(/\)' \| \
5185
. : '\(.\)' 2>/dev/null ||
5187
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5188
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5189
/^X\(\/\/\)$/{ s//\1/; q; }
5190
/^X\(\/\).*/{ s//\1/; q; }
5195
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5196
# Extract the definition of DEP_FILES from the Makefile without
5198
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5199
test -z "$DEPDIR" && continue
5200
# When using ansi2knr, U may be empty or an underscore; expand it
5201
U=`sed -n -e '/^U = / s///p' < "$mf"`
5202
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5203
# We invoke sed twice because it is the simplest approach to
5204
# changing $(DEPDIR) to its actual value in the expansion.
5205
for file in `sed -n -e '
5206
/^DEP_FILES = .*\\\\$/ {
5215
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5216
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5217
# Make sure the directory exists.
5218
test -f "$dirpart/$file" && continue
5219
fdir=`(dirname "$file") 2>/dev/null ||
5220
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5221
X"$file" : 'X\(//\)[^/]' \| \
5222
X"$file" : 'X\(//\)$' \| \
5223
X"$file" : 'X\(/\)' \| \
5224
. : '\(.\)' 2>/dev/null ||
5226
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5227
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5228
/^X\(\/\/\)$/{ s//\1/; q; }
5229
/^X\(\/\).*/{ s//\1/; q; }
5231
{ if $as_mkdir_p; then
5232
mkdir -p $dirpart/$fdir
5234
as_dir=$dirpart/$fdir
5236
while test ! -d "$as_dir"; do
5237
as_dirs="$as_dir $as_dirs"
5238
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5239
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5240
X"$as_dir" : 'X\(//\)[^/]' \| \
5241
X"$as_dir" : 'X\(//\)$' \| \
5242
X"$as_dir" : 'X\(/\)' \| \
5243
. : '\(.\)' 2>/dev/null ||
5245
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5246
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5247
/^X\(\/\/\)$/{ s//\1/; q; }
5248
/^X\(\/\).*/{ s//\1/; q; }
5251
test ! -n "$as_dirs" || mkdir $as_dirs
5252
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5253
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5254
{ (exit 1); exit 1; }; }; }
5256
# echo "creating $dirpart/$file"
5257
echo '# dummy' > "$dirpart/$file"
5265
cat >>$CONFIG_STATUS <<\_ACEOF
5267
{ (exit 0); exit 0; }
5269
chmod +x $CONFIG_STATUS
5270
ac_clean_files=$ac_clean_files_save
5273
# configure is writing to config.log, and then calls config.status.
5274
# config.status does its own redirection, appending to config.log.
5275
# Unfortunately, on DOS this fails, as config.log is still kept open
5276
# by configure, so config.status won't be able to write to it; its
5277
# output is simply discarded. So we exec the FD to /dev/null,
5278
# effectively closing config.log, so it can be properly (re)opened and
5279
# appended to by config.status. When coming back to configure, we
5280
# need to make the FD available again.
5281
if test "$no_create" != yes; then
5283
ac_config_status_args=
5284
test "$silent" = yes &&
5285
ac_config_status_args="$ac_config_status_args --quiet"
5287
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5289
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5290
# would make configure fail if this is the last instruction.
5291
$ac_cs_success || { (exit 1); exit 1; }