2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for fnfx 0.3.
5
# Report bugs to <thoenig@nouse.net>.
7
# Copyright (C) 2003 Free Software Foundation, Inc.
8
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
229
# Sed expression to map a string onto a valid CPP name.
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
# Sed expression to map a string onto a valid variable name.
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
# We need space, tab and new line, in precisely that order.
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
# so uname gets run too.
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Maximum number of lines to put in a shell here document.
265
# This variable seems obsolete. It should probably be removed, and
266
# only ac_max_sed_lines should be used.
267
: ${ac_max_here_lines=38}
269
# Identity of this package.
271
PACKAGE_TARNAME='fnfx'
272
PACKAGE_VERSION='0.3'
273
PACKAGE_STRING='fnfx 0.3'
274
PACKAGE_BUGREPORT='thoenig@nouse.net'
276
# Factoring default headers for most tests.
277
ac_includes_default="\
280
# include <sys/types.h>
283
# include <sys/stat.h>
294
# if !STDC_HEADERS && HAVE_MEMORY_H
300
# include <strings.h>
303
# include <inttypes.h>
313
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 am__leading_dot 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 LIBOBJS LTLIBOBJS'
316
# Initialize some variables set by options.
318
ac_init_version=false
319
# The variables have the same names as the options, with
320
# dashes changed to underlines.
328
program_transform_name=s,x,x,
336
# Installation directory options.
337
# These are left unexpanded so users can "make install exec_prefix=/foo"
338
# and all the variables that are supposed to be based on exec_prefix
339
# by default will actually change.
340
# Use braces instead of parens because sh, perl, etc. also accept them.
341
bindir='${exec_prefix}/bin'
342
sbindir='${exec_prefix}/sbin'
343
libexecdir='${exec_prefix}/libexec'
344
datadir='${prefix}/share'
345
sysconfdir='${prefix}/etc'
346
sharedstatedir='${prefix}/com'
347
localstatedir='${prefix}/var'
348
libdir='${exec_prefix}/lib'
349
includedir='${prefix}/include'
350
oldincludedir='/usr/include'
351
infodir='${prefix}/info'
352
mandir='${prefix}/man'
357
# If the previous option needs an argument, assign it.
358
if test -n "$ac_prev"; then
359
eval "$ac_prev=\$ac_option"
364
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
# Accept the important Cygnus configure options, so we can diagnose typos.
370
-bindir | --bindir | --bindi | --bind | --bin | --bi)
372
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375
-build | --build | --buil | --bui | --bu)
376
ac_prev=build_alias ;;
377
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
378
build_alias=$ac_optarg ;;
380
-cache-file | --cache-file | --cache-fil | --cache-fi \
381
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382
ac_prev=cache_file ;;
383
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385
cache_file=$ac_optarg ;;
388
cache_file=config.cache ;;
390
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
datadir=$ac_optarg ;;
396
-disable-* | --disable-*)
397
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398
# Reject names that are not valid shell variable names.
399
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
401
{ (exit 1); exit 1; }; }
402
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403
eval "enable_$ac_feature=no" ;;
405
-enable-* | --enable-*)
406
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407
# Reject names that are not valid shell variable names.
408
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
410
{ (exit 1); exit 1; }; }
411
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416
eval "enable_$ac_feature='$ac_optarg'" ;;
418
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420
| --exec | --exe | --ex)
421
ac_prev=exec_prefix ;;
422
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424
| --exec=* | --exe=* | --ex=*)
425
exec_prefix=$ac_optarg ;;
427
-gas | --gas | --ga | --g)
428
# Obsolete; use --with-gas.
431
-help | --help | --hel | --he | -h)
433
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434
ac_init_help=recursive ;;
435
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436
ac_init_help=short ;;
438
-host | --host | --hos | --ho)
439
ac_prev=host_alias ;;
440
-host=* | --host=* | --hos=* | --ho=*)
441
host_alias=$ac_optarg ;;
443
-includedir | --includedir | --includedi | --included | --include \
444
| --includ | --inclu | --incl | --inc)
445
ac_prev=includedir ;;
446
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447
| --includ=* | --inclu=* | --incl=* | --inc=*)
448
includedir=$ac_optarg ;;
450
-infodir | --infodir | --infodi | --infod | --info | --inf)
452
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453
infodir=$ac_optarg ;;
455
-libdir | --libdir | --libdi | --libd)
457
-libdir=* | --libdir=* | --libdi=* | --libd=*)
460
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461
| --libexe | --libex | --libe)
462
ac_prev=libexecdir ;;
463
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464
| --libexe=* | --libex=* | --libe=*)
465
libexecdir=$ac_optarg ;;
467
-localstatedir | --localstatedir | --localstatedi | --localstated \
468
| --localstate | --localstat | --localsta | --localst \
469
| --locals | --local | --loca | --loc | --lo)
470
ac_prev=localstatedir ;;
471
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
473
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474
localstatedir=$ac_optarg ;;
476
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482
# Obsolete; use --without-fp.
485
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
486
| --no-cr | --no-c | -n)
489
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
490
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495
| --oldin | --oldi | --old | --ol | --o)
496
ac_prev=oldincludedir ;;
497
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500
oldincludedir=$ac_optarg ;;
502
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507
-program-prefix | --program-prefix | --program-prefi | --program-pref \
508
| --program-pre | --program-pr | --program-p)
509
ac_prev=program_prefix ;;
510
-program-prefix=* | --program-prefix=* | --program-prefi=* \
511
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512
program_prefix=$ac_optarg ;;
514
-program-suffix | --program-suffix | --program-suffi | --program-suff \
515
| --program-suf | --program-su | --program-s)
516
ac_prev=program_suffix ;;
517
-program-suffix=* | --program-suffix=* | --program-suffi=* \
518
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519
program_suffix=$ac_optarg ;;
521
-program-transform-name | --program-transform-name \
522
| --program-transform-nam | --program-transform-na \
523
| --program-transform-n | --program-transform- \
524
| --program-transform | --program-transfor \
525
| --program-transfo | --program-transf \
526
| --program-trans | --program-tran \
527
| --progr-tra | --program-tr | --program-t)
528
ac_prev=program_transform_name ;;
529
-program-transform-name=* | --program-transform-name=* \
530
| --program-transform-nam=* | --program-transform-na=* \
531
| --program-transform-n=* | --program-transform-=* \
532
| --program-transform=* | --program-transfor=* \
533
| --program-transfo=* | --program-transf=* \
534
| --program-trans=* | --program-tran=* \
535
| --progr-tra=* | --program-tr=* | --program-t=*)
536
program_transform_name=$ac_optarg ;;
538
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
539
| -silent | --silent | --silen | --sile | --sil)
542
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546
sbindir=$ac_optarg ;;
548
-sharedstatedir | --sharedstatedir | --sharedstatedi \
549
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550
| --sharedst | --shareds | --shared | --share | --shar \
552
ac_prev=sharedstatedir ;;
553
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557
sharedstatedir=$ac_optarg ;;
559
-site | --site | --sit)
561
-site=* | --site=* | --sit=*)
564
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570
| --syscon | --sysco | --sysc | --sys | --sy)
571
ac_prev=sysconfdir ;;
572
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574
sysconfdir=$ac_optarg ;;
576
-target | --target | --targe | --targ | --tar | --ta | --t)
577
ac_prev=target_alias ;;
578
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579
target_alias=$ac_optarg ;;
581
-v | -verbose | --verbose | --verbos | --verbo | --verb)
584
-version | --version | --versio | --versi | --vers | -V)
588
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589
# Reject names that are not valid shell variable names.
590
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591
{ echo "$as_me: error: invalid package name: $ac_package" >&2
592
{ (exit 1); exit 1; }; }
593
ac_package=`echo $ac_package| sed 's/-/_/g'`
595
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598
eval "with_$ac_package='$ac_optarg'" ;;
600
-without-* | --without-*)
601
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602
# Reject names that are not valid shell variable names.
603
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604
{ echo "$as_me: error: invalid package name: $ac_package" >&2
605
{ (exit 1); exit 1; }; }
606
ac_package=`echo $ac_package | sed 's/-/_/g'`
607
eval "with_$ac_package=no" ;;
610
# Obsolete; use --with-x.
613
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614
| --x-incl | --x-inc | --x-in | --x-i)
615
ac_prev=x_includes ;;
616
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618
x_includes=$ac_optarg ;;
620
-x-libraries | --x-libraries | --x-librarie | --x-librari \
621
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622
ac_prev=x_libraries ;;
623
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625
x_libraries=$ac_optarg ;;
627
-*) { echo "$as_me: error: unrecognized option: $ac_option
628
Try \`$0 --help' for more information." >&2
629
{ (exit 1); exit 1; }; }
633
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634
# Reject names that are not valid shell variable names.
635
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637
{ (exit 1); exit 1; }; }
638
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639
eval "$ac_envvar='$ac_optarg'"
643
# FIXME: should be removed in autoconf 3.0.
644
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653
if test -n "$ac_prev"; then
654
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655
{ echo "$as_me: error: missing argument to $ac_option" >&2
656
{ (exit 1); exit 1; }; }
659
# Be sure to have absolute paths.
660
for ac_var in exec_prefix prefix
662
eval ac_val=$`echo $ac_var`
664
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666
{ (exit 1); exit 1; }; };;
670
# Be sure to have absolute paths.
671
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
localstatedir libdir includedir oldincludedir infodir mandir
674
eval ac_val=$`echo $ac_var`
676
[\\/$]* | ?:[\\/]* ) ;;
677
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678
{ (exit 1); exit 1; }; };;
682
# There might be people who depend on the old broken behavior: `$host'
683
# used to hold the argument of --host etc.
684
# FIXME: To remove some day.
689
# FIXME: To remove some day.
690
if test "x$host_alias" != x; then
691
if test "x$build_alias" = x; then
692
cross_compiling=maybe
693
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694
If a cross compiler is detected then cross compile mode will be used." >&2
695
elif test "x$build_alias" != "x$host_alias"; then
701
test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
test "$silent" = yes && exec 6>/dev/null
706
# Find the source files, if location was not specified.
707
if test -z "$srcdir"; then
708
ac_srcdir_defaulted=yes
709
# Try the directory containing this script, then its parent.
710
ac_confdir=`(dirname "$0") 2>/dev/null ||
711
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
X"$0" : 'X\(//\)[^/]' \| \
713
X"$0" : 'X\(//\)$' \| \
714
X"$0" : 'X\(/\)' \| \
715
. : '\(.\)' 2>/dev/null ||
717
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
719
/^X\(\/\/\)$/{ s//\1/; q; }
720
/^X\(\/\).*/{ s//\1/; q; }
723
if test ! -r $srcdir/$ac_unique_file; then
727
ac_srcdir_defaulted=no
729
if test ! -r $srcdir/$ac_unique_file; then
730
if test "$ac_srcdir_defaulted" = yes; then
731
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732
{ (exit 1); exit 1; }; }
734
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735
{ (exit 1); exit 1; }; }
738
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740
{ (exit 1); exit 1; }; }
741
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742
ac_env_build_alias_set=${build_alias+set}
743
ac_env_build_alias_value=$build_alias
744
ac_cv_env_build_alias_set=${build_alias+set}
745
ac_cv_env_build_alias_value=$build_alias
746
ac_env_host_alias_set=${host_alias+set}
747
ac_env_host_alias_value=$host_alias
748
ac_cv_env_host_alias_set=${host_alias+set}
749
ac_cv_env_host_alias_value=$host_alias
750
ac_env_target_alias_set=${target_alias+set}
751
ac_env_target_alias_value=$target_alias
752
ac_cv_env_target_alias_set=${target_alias+set}
753
ac_cv_env_target_alias_value=$target_alias
754
ac_env_CC_set=${CC+set}
756
ac_cv_env_CC_set=${CC+set}
757
ac_cv_env_CC_value=$CC
758
ac_env_CFLAGS_set=${CFLAGS+set}
759
ac_env_CFLAGS_value=$CFLAGS
760
ac_cv_env_CFLAGS_set=${CFLAGS+set}
761
ac_cv_env_CFLAGS_value=$CFLAGS
762
ac_env_LDFLAGS_set=${LDFLAGS+set}
763
ac_env_LDFLAGS_value=$LDFLAGS
764
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765
ac_cv_env_LDFLAGS_value=$LDFLAGS
766
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767
ac_env_CPPFLAGS_value=$CPPFLAGS
768
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770
ac_env_CPP_set=${CPP+set}
771
ac_env_CPP_value=$CPP
772
ac_cv_env_CPP_set=${CPP+set}
773
ac_cv_env_CPP_value=$CPP
776
# Report the --help message.
778
if test "$ac_init_help" = "long"; then
779
# Omit some internal or obsolete options to make the list less imposing.
780
# This message is too long to be a string in the A/UX 3.1 sh.
782
\`configure' configures fnfx 0.3 to adapt to many kinds of systems.
784
Usage: $0 [OPTION]... [VAR=VALUE]...
786
To assign environment variables (e.g., CC, CFLAGS...), specify them as
787
VAR=VALUE. See below for descriptions of some of the useful variables.
789
Defaults for the options are specified in brackets.
792
-h, --help display this help and exit
793
--help=short display options specific to this package
794
--help=recursive display the short help of all the included packages
795
-V, --version display version information and exit
796
-q, --quiet, --silent do not print \`checking...' messages
797
--cache-file=FILE cache test results in FILE [disabled]
798
-C, --config-cache alias for \`--cache-file=config.cache'
799
-n, --no-create do not create output files
800
--srcdir=DIR find the sources in DIR [configure dir or \`..']
805
Installation directories:
806
--prefix=PREFIX install architecture-independent files in PREFIX
808
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811
By default, \`make install' will install all the files in
812
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814
for instance \`--prefix=\$HOME'.
816
For better control, use the options below.
818
Fine tuning of the installation directories:
819
--bindir=DIR user executables [EPREFIX/bin]
820
--sbindir=DIR system admin executables [EPREFIX/sbin]
821
--libexecdir=DIR program executables [EPREFIX/libexec]
822
--datadir=DIR read-only architecture-independent data [PREFIX/share]
823
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
826
--libdir=DIR object code libraries [EPREFIX/lib]
827
--includedir=DIR C header files [PREFIX/include]
828
--oldincludedir=DIR C header files for non-gcc [/usr/include]
829
--infodir=DIR info documentation [PREFIX/info]
830
--mandir=DIR man documentation [PREFIX/man]
836
--program-prefix=PREFIX prepend PREFIX to installed program names
837
--program-suffix=SUFFIX append SUFFIX to installed program names
838
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
842
if test -n "$ac_init_help"; then
843
case $ac_init_help in
844
short | recursive ) echo "Configuration of fnfx 0.3:";;
849
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
850
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
851
--disable-dependency-tracking Speeds up one-time builds
852
--enable-dependency-tracking Do not reject slow dependency extractors
854
Some influential environment variables:
855
CC C compiler command
856
CFLAGS C compiler flags
857
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
858
nonstandard directory <lib dir>
859
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
860
headers in a nonstandard directory <include dir>
863
Use these variables to override the choices made by `configure' or to help
864
it to find libraries and programs with nonstandard names/locations.
866
Report bugs to <thoenig@nouse.net>.
870
if test "$ac_init_help" = "recursive"; then
871
# If there are subdirs, report their specific --help.
873
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
874
test -d $ac_dir || continue
877
if test "$ac_dir" != .; then
878
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
879
# A "../" for each directory in $ac_dir_suffix.
880
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
882
ac_dir_suffix= ac_top_builddir=
886
.) # No --srcdir option. We are building in place.
888
if test -z "$ac_top_builddir"; then
891
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
893
[\\/]* | ?:[\\/]* ) # Absolute path.
894
ac_srcdir=$srcdir$ac_dir_suffix;
895
ac_top_srcdir=$srcdir ;;
897
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
898
ac_top_srcdir=$ac_top_builddir$srcdir ;;
901
# Do not use `cd foo && pwd` to compute absolute paths, because
902
# the directories may not exist.
904
.) ac_abs_builddir="$ac_dir";;
907
.) ac_abs_builddir=`pwd`;;
908
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
909
*) ac_abs_builddir=`pwd`/"$ac_dir";;
912
case $ac_abs_builddir in
913
.) ac_abs_top_builddir=${ac_top_builddir}.;;
915
case ${ac_top_builddir}. in
916
.) ac_abs_top_builddir=$ac_abs_builddir;;
917
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
918
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
921
case $ac_abs_builddir in
922
.) ac_abs_srcdir=$ac_srcdir;;
925
.) ac_abs_srcdir=$ac_abs_builddir;;
926
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
927
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
930
case $ac_abs_builddir in
931
.) ac_abs_top_srcdir=$ac_top_srcdir;;
933
case $ac_top_srcdir in
934
.) ac_abs_top_srcdir=$ac_abs_builddir;;
935
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
936
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
941
# Check for guested configure; otherwise get Cygnus style configure.
942
if test -f $ac_srcdir/configure.gnu; then
944
$SHELL $ac_srcdir/configure.gnu --help=recursive
945
elif test -f $ac_srcdir/configure; then
947
$SHELL $ac_srcdir/configure --help=recursive
948
elif test -f $ac_srcdir/configure.ac ||
949
test -f $ac_srcdir/configure.in; then
953
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
959
test -n "$ac_init_help" && exit 0
960
if $ac_init_version; then
963
generated by GNU Autoconf 2.59
965
Copyright (C) 2003 Free Software Foundation, Inc.
966
This configure script is free software; the Free Software Foundation
967
gives unlimited permission to copy, distribute and modify it.
973
This file contains any messages produced by compilers while
974
running configure, to aid debugging if configure makes a mistake.
976
It was created by fnfx $as_me 0.3, which was
977
generated by GNU Autoconf 2.59. Invocation command line was
988
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
989
uname -m = `(uname -m) 2>/dev/null || echo unknown`
990
uname -r = `(uname -r) 2>/dev/null || echo unknown`
991
uname -s = `(uname -s) 2>/dev/null || echo unknown`
992
uname -v = `(uname -v) 2>/dev/null || echo unknown`
994
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
995
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
997
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
998
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
999
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1000
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1001
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1002
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1003
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1007
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1011
test -z "$as_dir" && as_dir=.
1012
echo "PATH: $as_dir"
1027
# Keep a trace of the command line.
1028
# Strip out --no-create and --no-recursion so they do not pile up.
1029
# Strip out --silent because we don't want to record it for future runs.
1030
# Also quote any args containing shell meta-characters.
1031
# Make two passes to allow for proper duplicate-argument suppression.
1036
ac_must_keep_next=false
1042
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1043
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1044
| -silent | --silent | --silen | --sile | --sil)
1046
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1047
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1050
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1052
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1053
if test $ac_must_keep_next = true; then
1054
ac_must_keep_next=false # Got value, back to normal.
1057
*=* | --config-cache | -C | -disable-* | --disable-* \
1058
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1059
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1060
| -with-* | --with-* | -without-* | --without-* | --x)
1061
case "$ac_configure_args0 " in
1062
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1065
-* ) ac_must_keep_next=true ;;
1068
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1069
# Get rid of the leading space.
1075
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1076
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1078
# When interrupted or exit'd, cleanup temporary files, and complete
1079
# config.log. We remove comments because anyway the quotes in there
1080
# would cause problems or look ugly.
1081
# WARNING: Be sure not to use single quotes in there, as some shells,
1082
# such as our DU 5.0 friend, will then `close' the trap.
1083
trap 'exit_status=$?
1084
# Save into config.log some information that might help in debugging.
1089
## ---------------- ##
1090
## Cache variables. ##
1091
## ---------------- ##
1094
# The following way of writing the cache mishandles newlines in values,
1097
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1100
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1101
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1105
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1112
## ----------------- ##
1113
## Output variables. ##
1114
## ----------------- ##
1117
for ac_var in $ac_subst_vars
1119
eval ac_val=$`echo $ac_var`
1120
echo "$ac_var='"'"'$ac_val'"'"'"
1124
if test -n "$ac_subst_files"; then
1131
for ac_var in $ac_subst_files
1133
eval ac_val=$`echo $ac_var`
1134
echo "$ac_var='"'"'$ac_val'"'"'"
1139
if test -s confdefs.h; then
1146
sed "/^$/d" confdefs.h | sort
1149
test "$ac_signal" != 0 &&
1150
echo "$as_me: caught signal $ac_signal"
1151
echo "$as_me: exit $exit_status"
1153
rm -f core *.core &&
1154
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1157
for ac_signal in 1 2 13 15; do
1158
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1162
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1163
rm -rf conftest* confdefs.h
1164
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1167
# Predefined preprocessor variables.
1169
cat >>confdefs.h <<_ACEOF
1170
#define PACKAGE_NAME "$PACKAGE_NAME"
1174
cat >>confdefs.h <<_ACEOF
1175
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1179
cat >>confdefs.h <<_ACEOF
1180
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1184
cat >>confdefs.h <<_ACEOF
1185
#define PACKAGE_STRING "$PACKAGE_STRING"
1189
cat >>confdefs.h <<_ACEOF
1190
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1194
# Let the site file select an alternate cache file if it wants to.
1195
# Prefer explicitly selected file to automatically selected ones.
1196
if test -z "$CONFIG_SITE"; then
1197
if test "x$prefix" != xNONE; then
1198
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1200
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1203
for ac_site_file in $CONFIG_SITE; do
1204
if test -r "$ac_site_file"; then
1205
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1206
echo "$as_me: loading site script $ac_site_file" >&6;}
1207
sed 's/^/| /' "$ac_site_file" >&5
1212
if test -r "$cache_file"; then
1213
# Some versions of bash will fail to source /dev/null (special
1214
# files actually), so we avoid doing that.
1215
if test -f "$cache_file"; then
1216
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1217
echo "$as_me: loading cache $cache_file" >&6;}
1219
[\\/]* | ?:[\\/]* ) . $cache_file;;
1220
*) . ./$cache_file;;
1224
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1225
echo "$as_me: creating cache $cache_file" >&6;}
1229
# Check that the precious variables saved in the cache have kept the same
1231
ac_cache_corrupted=false
1232
for ac_var in `(set) 2>&1 |
1233
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1234
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1235
eval ac_new_set=\$ac_env_${ac_var}_set
1236
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1237
eval ac_new_val="\$ac_env_${ac_var}_value"
1238
case $ac_old_set,$ac_new_set in
1240
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1241
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1242
ac_cache_corrupted=: ;;
1244
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1245
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1246
ac_cache_corrupted=: ;;
1249
if test "x$ac_old_val" != "x$ac_new_val"; then
1250
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1251
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1252
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1253
echo "$as_me: former value: $ac_old_val" >&2;}
1254
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1255
echo "$as_me: current value: $ac_new_val" >&2;}
1256
ac_cache_corrupted=:
1259
# Pass precious variables to config.status.
1260
if test "$ac_new_set" = set; then
1262
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1264
*) ac_arg=$ac_var=$ac_new_val ;;
1266
case " $ac_configure_args " in
1267
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1268
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1272
if $ac_cache_corrupted; then
1273
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1274
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1275
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1276
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1277
{ (exit 1); exit 1; }; }
1281
ac_cpp='$CPP $CPPFLAGS'
1282
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1283
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1284
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1312
#AC_CONFIG_SRCDIR(fnfx.h)
1313
ac_config_headers="$ac_config_headers config.h"
1315
am__api_version="1.7"
1317
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1318
if test -f $ac_dir/install-sh; then
1320
ac_install_sh="$ac_aux_dir/install-sh -c"
1322
elif test -f $ac_dir/install.sh; then
1324
ac_install_sh="$ac_aux_dir/install.sh -c"
1326
elif test -f $ac_dir/shtool; then
1328
ac_install_sh="$ac_aux_dir/shtool install -c"
1332
if test -z "$ac_aux_dir"; then
1333
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1334
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1335
{ (exit 1); exit 1; }; }
1337
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1338
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1339
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1341
# Find a good install program. We prefer a C program (faster),
1342
# so one script is as good as another. But avoid the broken or
1343
# incompatible versions:
1344
# SysV /etc/install, /usr/sbin/install
1345
# SunOS /usr/etc/install
1346
# IRIX /sbin/install
1348
# AmigaOS /C/install, which installs bootblocks on floppy discs
1349
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1350
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1351
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1352
# OS/2's system install, which has a completely different semantic
1353
# ./install, which can be erroneously created by make from ./install.sh.
1354
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1355
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1356
if test -z "$INSTALL"; then
1357
if test "${ac_cv_path_install+set}" = set; then
1358
echo $ECHO_N "(cached) $ECHO_C" >&6
1360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364
test -z "$as_dir" && as_dir=.
1365
# Account for people who put trailing slashes in PATH elements.
1367
./ | .// | /cC/* | \
1368
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1369
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1372
# OSF1 and SCO ODT 3.0 have their own names for install.
1373
# Don't use installbsd from OSF since it installs stuff as root
1375
for ac_prog in ginstall scoinst install; do
1376
for ac_exec_ext in '' $ac_executable_extensions; do
1377
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1378
if test $ac_prog = install &&
1379
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1380
# AIX install. It has an incompatible calling convention.
1382
elif test $ac_prog = install &&
1383
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1384
# program-specific install script used by HP pwplus--don't use.
1387
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1399
if test "${ac_cv_path_install+set}" = set; then
1400
INSTALL=$ac_cv_path_install
1402
# As a last resort, use the slow shell script. We don't cache a
1403
# path for INSTALL within a source directory, because that will
1404
# break other packages using the cache if that directory is
1405
# removed, or if the path is relative.
1406
INSTALL=$ac_install_sh
1409
echo "$as_me:$LINENO: result: $INSTALL" >&5
1410
echo "${ECHO_T}$INSTALL" >&6
1412
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1413
# It thinks the first close brace ends the variable substitution.
1414
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1416
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1418
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1420
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1421
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1424
echo timestamp > conftest.file
1425
# Do `set' in a subshell so we don't clobber the current shell's
1426
# arguments. Must try -L first in case configure is actually a
1427
# symlink; some systems play weird games with the mod time of symlinks
1428
# (eg FreeBSD returns the mod time of the symlink's containing
1431
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1432
if test "$*" = "X"; then
1434
set X `ls -t $srcdir/configure conftest.file`
1437
if test "$*" != "X $srcdir/configure conftest.file" \
1438
&& test "$*" != "X conftest.file $srcdir/configure"; then
1440
# If neither matched, then we have a broken ls. This can happen
1441
# if, for instance, CONFIG_SHELL is bash and it inherits a
1442
# broken ls alias from the environment. This has actually
1443
# happened. Such a system could not be considered "sane".
1444
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1445
alias in your environment" >&5
1446
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1447
alias in your environment" >&2;}
1448
{ (exit 1); exit 1; }; }
1451
test "$2" = conftest.file
1457
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1458
Check your system clock" >&5
1459
echo "$as_me: error: newly created file is older than distributed files!
1460
Check your system clock" >&2;}
1461
{ (exit 1); exit 1; }; }
1463
echo "$as_me:$LINENO: result: yes" >&5
1464
echo "${ECHO_T}yes" >&6
1465
test "$program_prefix" != NONE &&
1466
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1467
# Use a double $ so make ignores it.
1468
test "$program_suffix" != NONE &&
1469
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1470
# Double any \ or $. echo might interpret backslashes.
1471
# By default was `s,x,x', remove it if useless.
1472
cat <<\_ACEOF >conftest.sed
1473
s/[\\$]/&&/g;s/;s,x,x,$//
1475
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1479
# expand $ac_aux_dir to an absolute path
1480
am_aux_dir=`cd $ac_aux_dir && pwd`
1482
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1483
# Use eval to expand $SHELL
1484
if eval "$MISSING --run true"; then
1485
am_missing_run="$MISSING --run "
1488
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1489
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1492
for ac_prog in gawk mawk nawk awk
1494
# Extract the first word of "$ac_prog", so it can be a program name with args.
1495
set dummy $ac_prog; ac_word=$2
1496
echo "$as_me:$LINENO: checking for $ac_word" >&5
1497
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498
if test "${ac_cv_prog_AWK+set}" = set; then
1499
echo $ECHO_N "(cached) $ECHO_C" >&6
1501
if test -n "$AWK"; then
1502
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1508
test -z "$as_dir" && as_dir=.
1509
for ac_exec_ext in '' $ac_executable_extensions; do
1510
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1511
ac_cv_prog_AWK="$ac_prog"
1512
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1521
if test -n "$AWK"; then
1522
echo "$as_me:$LINENO: result: $AWK" >&5
1523
echo "${ECHO_T}$AWK" >&6
1525
echo "$as_me:$LINENO: result: no" >&5
1526
echo "${ECHO_T}no" >&6
1529
test -n "$AWK" && break
1532
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1533
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1534
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1535
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1536
echo $ECHO_N "(cached) $ECHO_C" >&6
1538
cat >conftest.make <<\_ACEOF
1540
@echo 'ac_maketemp="$(MAKE)"'
1542
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1543
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1544
if test -n "$ac_maketemp"; then
1545
eval ac_cv_prog_make_${ac_make}_set=yes
1547
eval ac_cv_prog_make_${ac_make}_set=no
1551
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1552
echo "$as_me:$LINENO: result: yes" >&5
1553
echo "${ECHO_T}yes" >&6
1556
echo "$as_me:$LINENO: result: no" >&5
1557
echo "${ECHO_T}no" >&6
1558
SET_MAKE="MAKE=${MAKE-make}"
1561
rm -rf .tst 2>/dev/null
1562
mkdir .tst 2>/dev/null
1563
if test -d .tst; then
1568
rmdir .tst 2>/dev/null
1570
# test to see if srcdir already configured
1571
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1572
test -f $srcdir/config.status; then
1573
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1574
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1575
{ (exit 1); exit 1; }; }
1578
# test whether we have cygpath
1579
if test -z "$CYGPATH_W"; then
1580
if (cygpath --version) >/dev/null 2>/dev/null; then
1581
CYGPATH_W='cygpath -w'
1588
# Define the identity of the package.
1593
cat >>confdefs.h <<_ACEOF
1594
#define PACKAGE "$PACKAGE"
1598
cat >>confdefs.h <<_ACEOF
1599
#define VERSION "$VERSION"
1602
# Some tools Automake needs.
1604
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1607
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1610
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1613
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1616
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1619
AMTAR=${AMTAR-"${am_missing_run}tar"}
1621
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1623
# Installed binaries are usually stripped using `strip' when the user
1624
# run `make install-strip'. However `strip' might not be the right
1625
# tool to use in cross-compilation environments, therefore Automake
1626
# will honor the `STRIP' environment variable to overrule this program.
1627
if test "$cross_compiling" != no; then
1628
if test -n "$ac_tool_prefix"; then
1629
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1630
set dummy ${ac_tool_prefix}strip; ac_word=$2
1631
echo "$as_me:$LINENO: checking for $ac_word" >&5
1632
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1633
if test "${ac_cv_prog_STRIP+set}" = set; then
1634
echo $ECHO_N "(cached) $ECHO_C" >&6
1636
if test -n "$STRIP"; then
1637
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1639
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1643
test -z "$as_dir" && as_dir=.
1644
for ac_exec_ext in '' $ac_executable_extensions; do
1645
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1646
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1647
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1655
STRIP=$ac_cv_prog_STRIP
1656
if test -n "$STRIP"; then
1657
echo "$as_me:$LINENO: result: $STRIP" >&5
1658
echo "${ECHO_T}$STRIP" >&6
1660
echo "$as_me:$LINENO: result: no" >&5
1661
echo "${ECHO_T}no" >&6
1665
if test -z "$ac_cv_prog_STRIP"; then
1667
# Extract the first word of "strip", so it can be a program name with args.
1668
set dummy strip; ac_word=$2
1669
echo "$as_me:$LINENO: checking for $ac_word" >&5
1670
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1671
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1672
echo $ECHO_N "(cached) $ECHO_C" >&6
1674
if test -n "$ac_ct_STRIP"; then
1675
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681
test -z "$as_dir" && as_dir=.
1682
for ac_exec_ext in '' $ac_executable_extensions; do
1683
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1684
ac_cv_prog_ac_ct_STRIP="strip"
1685
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1691
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1694
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1695
if test -n "$ac_ct_STRIP"; then
1696
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1697
echo "${ECHO_T}$ac_ct_STRIP" >&6
1699
echo "$as_me:$LINENO: result: no" >&5
1700
echo "${ECHO_T}no" >&6
1705
STRIP="$ac_cv_prog_STRIP"
1709
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1711
# We need awk for the "check" target. The system "awk" is bad on
1717
# Checks for programs.
1719
ac_cpp='$CPP $CPPFLAGS'
1720
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1721
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1722
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1723
if test -n "$ac_tool_prefix"; then
1724
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1725
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1726
echo "$as_me:$LINENO: checking for $ac_word" >&5
1727
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1728
if test "${ac_cv_prog_CC+set}" = set; then
1729
echo $ECHO_N "(cached) $ECHO_C" >&6
1731
if test -n "$CC"; then
1732
ac_cv_prog_CC="$CC" # Let the user override the test.
1734
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738
test -z "$as_dir" && as_dir=.
1739
for ac_exec_ext in '' $ac_executable_extensions; do
1740
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1741
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1742
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751
if test -n "$CC"; then
1752
echo "$as_me:$LINENO: result: $CC" >&5
1753
echo "${ECHO_T}$CC" >&6
1755
echo "$as_me:$LINENO: result: no" >&5
1756
echo "${ECHO_T}no" >&6
1760
if test -z "$ac_cv_prog_CC"; then
1762
# Extract the first word of "gcc", so it can be a program name with args.
1763
set dummy gcc; ac_word=$2
1764
echo "$as_me:$LINENO: checking for $ac_word" >&5
1765
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1767
echo $ECHO_N "(cached) $ECHO_C" >&6
1769
if test -n "$ac_ct_CC"; then
1770
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1772
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776
test -z "$as_dir" && as_dir=.
1777
for ac_exec_ext in '' $ac_executable_extensions; do
1778
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779
ac_cv_prog_ac_ct_CC="gcc"
1780
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1789
if test -n "$ac_ct_CC"; then
1790
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1791
echo "${ECHO_T}$ac_ct_CC" >&6
1793
echo "$as_me:$LINENO: result: no" >&5
1794
echo "${ECHO_T}no" >&6
1802
if test -z "$CC"; then
1803
if test -n "$ac_tool_prefix"; then
1804
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1805
set dummy ${ac_tool_prefix}cc; ac_word=$2
1806
echo "$as_me:$LINENO: checking for $ac_word" >&5
1807
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808
if test "${ac_cv_prog_CC+set}" = set; then
1809
echo $ECHO_N "(cached) $ECHO_C" >&6
1811
if test -n "$CC"; then
1812
ac_cv_prog_CC="$CC" # Let the user override the test.
1814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818
test -z "$as_dir" && as_dir=.
1819
for ac_exec_ext in '' $ac_executable_extensions; do
1820
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821
ac_cv_prog_CC="${ac_tool_prefix}cc"
1822
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831
if test -n "$CC"; then
1832
echo "$as_me:$LINENO: result: $CC" >&5
1833
echo "${ECHO_T}$CC" >&6
1835
echo "$as_me:$LINENO: result: no" >&5
1836
echo "${ECHO_T}no" >&6
1840
if test -z "$ac_cv_prog_CC"; then
1842
# Extract the first word of "cc", so it can be a program name with args.
1843
set dummy cc; ac_word=$2
1844
echo "$as_me:$LINENO: checking for $ac_word" >&5
1845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1847
echo $ECHO_N "(cached) $ECHO_C" >&6
1849
if test -n "$ac_ct_CC"; then
1850
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856
test -z "$as_dir" && as_dir=.
1857
for ac_exec_ext in '' $ac_executable_extensions; do
1858
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859
ac_cv_prog_ac_ct_CC="cc"
1860
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1869
if test -n "$ac_ct_CC"; then
1870
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1871
echo "${ECHO_T}$ac_ct_CC" >&6
1873
echo "$as_me:$LINENO: result: no" >&5
1874
echo "${ECHO_T}no" >&6
1883
if test -z "$CC"; then
1884
# Extract the first word of "cc", so it can be a program name with args.
1885
set dummy cc; ac_word=$2
1886
echo "$as_me:$LINENO: checking for $ac_word" >&5
1887
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888
if test "${ac_cv_prog_CC+set}" = set; then
1889
echo $ECHO_N "(cached) $ECHO_C" >&6
1891
if test -n "$CC"; then
1892
ac_cv_prog_CC="$CC" # Let the user override the test.
1895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899
test -z "$as_dir" && as_dir=.
1900
for ac_exec_ext in '' $ac_executable_extensions; do
1901
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1903
ac_prog_rejected=yes
1907
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913
if test $ac_prog_rejected = yes; then
1914
# We found a bogon in the path, so make sure we never use it.
1915
set dummy $ac_cv_prog_CC
1917
if test $# != 0; then
1918
# We chose a different compiler from the bogus one.
1919
# However, it has the same basename, so the bogon will be chosen
1920
# first if we set CC to just the basename; use the full file name.
1922
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1928
if test -n "$CC"; then
1929
echo "$as_me:$LINENO: result: $CC" >&5
1930
echo "${ECHO_T}$CC" >&6
1932
echo "$as_me:$LINENO: result: no" >&5
1933
echo "${ECHO_T}no" >&6
1937
if test -z "$CC"; then
1938
if test -n "$ac_tool_prefix"; then
1941
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1942
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1943
echo "$as_me:$LINENO: checking for $ac_word" >&5
1944
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945
if test "${ac_cv_prog_CC+set}" = set; then
1946
echo $ECHO_N "(cached) $ECHO_C" >&6
1948
if test -n "$CC"; then
1949
ac_cv_prog_CC="$CC" # Let the user override the test.
1951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955
test -z "$as_dir" && as_dir=.
1956
for ac_exec_ext in '' $ac_executable_extensions; do
1957
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1959
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968
if test -n "$CC"; then
1969
echo "$as_me:$LINENO: result: $CC" >&5
1970
echo "${ECHO_T}$CC" >&6
1972
echo "$as_me:$LINENO: result: no" >&5
1973
echo "${ECHO_T}no" >&6
1976
test -n "$CC" && break
1979
if test -z "$CC"; then
1983
# Extract the first word of "$ac_prog", so it can be a program name with args.
1984
set dummy $ac_prog; ac_word=$2
1985
echo "$as_me:$LINENO: checking for $ac_word" >&5
1986
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1987
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1988
echo $ECHO_N "(cached) $ECHO_C" >&6
1990
if test -n "$ac_ct_CC"; then
1991
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997
test -z "$as_dir" && as_dir=.
1998
for ac_exec_ext in '' $ac_executable_extensions; do
1999
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2000
ac_cv_prog_ac_ct_CC="$ac_prog"
2001
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2009
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2010
if test -n "$ac_ct_CC"; then
2011
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2012
echo "${ECHO_T}$ac_ct_CC" >&6
2014
echo "$as_me:$LINENO: result: no" >&5
2015
echo "${ECHO_T}no" >&6
2018
test -n "$ac_ct_CC" && break
2027
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2028
See \`config.log' for more details." >&5
2029
echo "$as_me: error: no acceptable C compiler found in \$PATH
2030
See \`config.log' for more details." >&2;}
2031
{ (exit 1); exit 1; }; }
2033
# Provide some information about the compiler.
2034
echo "$as_me:$LINENO:" \
2035
"checking for C compiler version" >&5
2036
ac_compiler=`set X $ac_compile; echo $2`
2037
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2038
(eval $ac_compiler --version </dev/null >&5) 2>&5
2040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041
(exit $ac_status); }
2042
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2043
(eval $ac_compiler -v </dev/null >&5) 2>&5
2045
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046
(exit $ac_status); }
2047
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2048
(eval $ac_compiler -V </dev/null >&5) 2>&5
2050
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051
(exit $ac_status); }
2053
cat >conftest.$ac_ext <<_ACEOF
2056
cat confdefs.h >>conftest.$ac_ext
2057
cat >>conftest.$ac_ext <<_ACEOF
2058
/* end confdefs.h. */
2068
ac_clean_files_save=$ac_clean_files
2069
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2070
# Try to create an executable without -o first, disregard a.out.
2071
# It will help us diagnose broken compilers, and finding out an intuition
2073
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2074
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2075
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2076
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2077
(eval $ac_link_default) 2>&5
2079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080
(exit $ac_status); }; then
2081
# Find the output, starting from the most likely. This scheme is
2082
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2085
# Be careful to initialize this variable, since it used to be cached.
2086
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2088
# b.out is created by i960 compilers.
2089
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2091
test -f "$ac_file" || continue
2093
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2096
# This is the source file.
2099
# We found the default executable, but exeext='' is most
2103
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2104
# FIXME: I believe we export ac_cv_exeext for Libtool,
2105
# but it would be cool to find out if it's true. Does anybody
2106
# maintain Libtool? --akim.
2114
echo "$as_me: failed program was:" >&5
2115
sed 's/^/| /' conftest.$ac_ext >&5
2117
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2118
See \`config.log' for more details." >&5
2119
echo "$as_me: error: C compiler cannot create executables
2120
See \`config.log' for more details." >&2;}
2121
{ (exit 77); exit 77; }; }
2124
ac_exeext=$ac_cv_exeext
2125
echo "$as_me:$LINENO: result: $ac_file" >&5
2126
echo "${ECHO_T}$ac_file" >&6
2128
# Check the compiler produces executables we can run. If not, either
2129
# the compiler is broken, or we cross compile.
2130
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2131
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2132
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2133
# If not cross compiling, check that we can run a simple program.
2134
if test "$cross_compiling" != yes; then
2135
if { ac_try='./$ac_file'
2136
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140
(exit $ac_status); }; }; then
2143
if test "$cross_compiling" = maybe; then
2146
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2147
If you meant to cross compile, use \`--host'.
2148
See \`config.log' for more details." >&5
2149
echo "$as_me: error: cannot run C compiled programs.
2150
If you meant to cross compile, use \`--host'.
2151
See \`config.log' for more details." >&2;}
2152
{ (exit 1); exit 1; }; }
2156
echo "$as_me:$LINENO: result: yes" >&5
2157
echo "${ECHO_T}yes" >&6
2159
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2160
ac_clean_files=$ac_clean_files_save
2161
# Check the compiler produces executables we can run. If not, either
2162
# the compiler is broken, or we cross compile.
2163
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2164
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2165
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2166
echo "${ECHO_T}$cross_compiling" >&6
2168
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2169
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2170
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2171
(eval $ac_link) 2>&5
2173
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174
(exit $ac_status); }; then
2175
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2176
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2177
# work properly (i.e., refer to `conftest.exe'), while it won't with
2179
for ac_file in conftest.exe conftest conftest.*; do
2180
test -f "$ac_file" || continue
2182
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2183
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2190
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2191
See \`config.log' for more details." >&5
2192
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2193
See \`config.log' for more details." >&2;}
2194
{ (exit 1); exit 1; }; }
2197
rm -f conftest$ac_cv_exeext
2198
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2199
echo "${ECHO_T}$ac_cv_exeext" >&6
2201
rm -f conftest.$ac_ext
2202
EXEEXT=$ac_cv_exeext
2204
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2205
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2206
if test "${ac_cv_objext+set}" = set; then
2207
echo $ECHO_N "(cached) $ECHO_C" >&6
2209
cat >conftest.$ac_ext <<_ACEOF
2212
cat confdefs.h >>conftest.$ac_ext
2213
cat >>conftest.$ac_ext <<_ACEOF
2214
/* end confdefs.h. */
2224
rm -f conftest.o conftest.obj
2225
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2226
(eval $ac_compile) 2>&5
2228
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229
(exit $ac_status); }; then
2230
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2232
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2233
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2238
echo "$as_me: failed program was:" >&5
2239
sed 's/^/| /' conftest.$ac_ext >&5
2241
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2242
See \`config.log' for more details." >&5
2243
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2244
See \`config.log' for more details." >&2;}
2245
{ (exit 1); exit 1; }; }
2248
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2250
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2251
echo "${ECHO_T}$ac_cv_objext" >&6
2252
OBJEXT=$ac_cv_objext
2254
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2255
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2256
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2257
echo $ECHO_N "(cached) $ECHO_C" >&6
2259
cat >conftest.$ac_ext <<_ACEOF
2262
cat confdefs.h >>conftest.$ac_ext
2263
cat >>conftest.$ac_ext <<_ACEOF
2264
/* end confdefs.h. */
2277
rm -f conftest.$ac_objext
2278
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2279
(eval $ac_compile) 2>conftest.er1
2281
grep -v '^ *+' conftest.er1 >conftest.err
2283
cat conftest.err >&5
2284
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285
(exit $ac_status); } &&
2286
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2287
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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.err conftest.$ac_objext conftest.$ac_ext
2306
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2309
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2310
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2311
GCC=`test $ac_compiler_gnu = yes && echo yes`
2312
ac_test_CFLAGS=${CFLAGS+set}
2313
ac_save_CFLAGS=$CFLAGS
2315
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2316
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2317
if test "${ac_cv_prog_cc_g+set}" = set; then
2318
echo $ECHO_N "(cached) $ECHO_C" >&6
2320
cat >conftest.$ac_ext <<_ACEOF
2323
cat confdefs.h >>conftest.$ac_ext
2324
cat >>conftest.$ac_ext <<_ACEOF
2325
/* end confdefs.h. */
2335
rm -f conftest.$ac_objext
2336
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2337
(eval $ac_compile) 2>conftest.er1
2339
grep -v '^ *+' conftest.er1 >conftest.err
2341
cat conftest.err >&5
2342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343
(exit $ac_status); } &&
2344
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2345
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349
(exit $ac_status); }; } &&
2350
{ ac_try='test -s conftest.$ac_objext'
2351
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355
(exit $ac_status); }; }; then
2358
echo "$as_me: failed program was:" >&5
2359
sed 's/^/| /' conftest.$ac_ext >&5
2363
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2365
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2366
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2367
if test "$ac_test_CFLAGS" = set; then
2368
CFLAGS=$ac_save_CFLAGS
2369
elif test $ac_cv_prog_cc_g = yes; then
2370
if test "$GCC" = yes; then
2376
if test "$GCC" = yes; then
2382
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2383
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2384
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2385
echo $ECHO_N "(cached) $ECHO_C" >&6
2387
ac_cv_prog_cc_stdc=no
2389
cat >conftest.$ac_ext <<_ACEOF
2392
cat confdefs.h >>conftest.$ac_ext
2393
cat >>conftest.$ac_ext <<_ACEOF
2394
/* end confdefs.h. */
2397
#include <sys/types.h>
2398
#include <sys/stat.h>
2399
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2400
struct buf { int x; };
2401
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2402
static char *e (p, i)
2408
static char *f (char * (*g) (char **, int), char **p, ...)
2413
s = g (p, va_arg (v,int));
2418
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2419
function prototypes and stuff, but not '\xHH' hex character constants.
2420
These don't provoke an error unfortunately, instead are silently treated
2421
as 'x'. The following induces an error, until -std1 is added to get
2422
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2423
array size at least. It's necessary to write '\x00'==0 to get something
2424
that's true only with -std1. */
2425
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2427
int test (int i, double x);
2428
struct s1 {int (*f) (int a);};
2429
struct s2 {int (*f) (double a);};
2430
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2436
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2441
# Don't try gcc -ansi; that turns off useful extensions and
2442
# breaks some systems' header files.
2443
# AIX -qlanglvl=ansi
2444
# Ultrix and OSF/1 -std1
2445
# HP-UX 10.20 and later -Ae
2446
# HP-UX older versions -Aa -D_HPUX_SOURCE
2447
# SVR4 -Xc -D__EXTENSIONS__
2448
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2450
CC="$ac_save_CC $ac_arg"
2451
rm -f conftest.$ac_objext
2452
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453
(eval $ac_compile) 2>conftest.er1
2455
grep -v '^ *+' conftest.er1 >conftest.err
2457
cat conftest.err >&5
2458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459
(exit $ac_status); } &&
2460
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2461
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465
(exit $ac_status); }; } &&
2466
{ ac_try='test -s conftest.$ac_objext'
2467
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471
(exit $ac_status); }; }; then
2472
ac_cv_prog_cc_stdc=$ac_arg
2475
echo "$as_me: failed program was:" >&5
2476
sed 's/^/| /' conftest.$ac_ext >&5
2479
rm -f conftest.err conftest.$ac_objext
2481
rm -f conftest.$ac_ext conftest.$ac_objext
2486
case "x$ac_cv_prog_cc_stdc" in
2488
echo "$as_me:$LINENO: result: none needed" >&5
2489
echo "${ECHO_T}none needed" >&6 ;;
2491
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2492
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2493
CC="$CC $ac_cv_prog_cc_stdc" ;;
2496
# Some people use a C++ compiler to compile C. Since we use `exit',
2497
# in C++ we need to declare it. In case someone uses the same compiler
2498
# for both compiling C and C++ we need to have the C++ compiler decide
2499
# the declaration of exit, since it's the most demanding environment.
2500
cat >conftest.$ac_ext <<_ACEOF
2505
rm -f conftest.$ac_objext
2506
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2507
(eval $ac_compile) 2>conftest.er1
2509
grep -v '^ *+' conftest.er1 >conftest.err
2511
cat conftest.err >&5
2512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513
(exit $ac_status); } &&
2514
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2515
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519
(exit $ac_status); }; } &&
2520
{ ac_try='test -s conftest.$ac_objext'
2521
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525
(exit $ac_status); }; }; then
2526
for ac_declaration in \
2528
'extern "C" void std::exit (int) throw (); using std::exit;' \
2529
'extern "C" void std::exit (int); using std::exit;' \
2530
'extern "C" void exit (int) throw ();' \
2531
'extern "C" void exit (int);' \
2534
cat >conftest.$ac_ext <<_ACEOF
2537
cat confdefs.h >>conftest.$ac_ext
2538
cat >>conftest.$ac_ext <<_ACEOF
2539
/* end confdefs.h. */
2550
rm -f conftest.$ac_objext
2551
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2552
(eval $ac_compile) 2>conftest.er1
2554
grep -v '^ *+' conftest.er1 >conftest.err
2556
cat conftest.err >&5
2557
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558
(exit $ac_status); } &&
2559
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2560
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564
(exit $ac_status); }; } &&
2565
{ ac_try='test -s conftest.$ac_objext'
2566
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570
(exit $ac_status); }; }; then
2573
echo "$as_me: failed program was:" >&5
2574
sed 's/^/| /' conftest.$ac_ext >&5
2578
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2579
cat >conftest.$ac_ext <<_ACEOF
2582
cat confdefs.h >>conftest.$ac_ext
2583
cat >>conftest.$ac_ext <<_ACEOF
2584
/* end confdefs.h. */
2594
rm -f conftest.$ac_objext
2595
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596
(eval $ac_compile) 2>conftest.er1
2598
grep -v '^ *+' conftest.er1 >conftest.err
2600
cat conftest.err >&5
2601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602
(exit $ac_status); } &&
2603
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2604
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608
(exit $ac_status); }; } &&
2609
{ ac_try='test -s conftest.$ac_objext'
2610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
(exit $ac_status); }; }; then
2617
echo "$as_me: failed program was:" >&5
2618
sed 's/^/| /' conftest.$ac_ext >&5
2621
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2624
if test -n "$ac_declaration"; then
2625
echo '#ifdef __cplusplus' >>confdefs.h
2626
echo $ac_declaration >>confdefs.h
2627
echo '#endif' >>confdefs.h
2631
echo "$as_me: failed program was:" >&5
2632
sed 's/^/| /' conftest.$ac_ext >&5
2635
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2637
ac_cpp='$CPP $CPPFLAGS'
2638
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2641
DEPDIR="${am__leading_dot}deps"
2643
ac_config_commands="$ac_config_commands depfiles"
2646
am_make=${MAKE-make}
2647
cat > confinc << 'END'
2652
# If we don't find an include directive, just comment out the code.
2653
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2654
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2658
# First try GNU make style include.
2659
echo "include confinc" > confmf
2660
# We grep out `Entering directory' and `Leaving directory'
2661
# messages which can occur if `w' ends up in MAKEFLAGS.
2662
# In particular we don't look at `^make:' because GNU make might
2663
# be invoked under some other name (usually "gmake"), in which
2664
# case it prints its new name instead of `make'.
2665
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2670
# Now try BSD make style include.
2671
if test "$am__include" = "#"; then
2672
echo '.include "confinc"' > confmf
2673
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2674
am__include=.include
2681
echo "$as_me:$LINENO: result: $_am_result" >&5
2682
echo "${ECHO_T}$_am_result" >&6
2683
rm -f confinc confmf
2685
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2686
if test "${enable_dependency_tracking+set}" = set; then
2687
enableval="$enable_dependency_tracking"
2690
if test "x$enable_dependency_tracking" != xno; then
2691
am_depcomp="$ac_aux_dir/depcomp"
2696
if test "x$enable_dependency_tracking" != xno; then
2707
depcc="$CC" am_compiler_list=
2709
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2710
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2711
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2712
echo $ECHO_N "(cached) $ECHO_C" >&6
2714
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2715
# We make a subdir and do the tests there. Otherwise we can end up
2716
# making bogus files that we don't know about and never remove. For
2717
# instance it was reported that on HP-UX the gcc test will end up
2718
# making a dummy file named `D' -- because `-MD' means `put the output
2721
# Copy depcomp to subdir because otherwise we won't find it if we're
2722
# using a relative directory.
2723
cp "$am_depcomp" conftest.dir
2725
# We will build objects and dependencies in a subdirectory because
2726
# it helps to detect inapplicable dependency modes. For instance
2727
# both Tru64's cc and ICC support -MD to output dependencies as a
2728
# side effect of compilation, but ICC will put the dependencies in
2729
# the current directory while Tru64 will put them in the object
2733
am_cv_CC_dependencies_compiler_type=none
2734
if test "$am_compiler_list" = ""; then
2735
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2737
for depmode in $am_compiler_list; do
2738
# Setup a source with many dependencies, because some compilers
2739
# like to wrap large dependency lists on column 80 (with \), and
2740
# we should not choose a depcomp mode which is confused by this.
2742
# We need to recreate these files for each test, as the compiler may
2743
# overwrite some of them when testing with obscure command lines.
2744
# This happens at least with the AIX C compiler.
2746
for i in 1 2 3 4 5 6; do
2747
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2750
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2754
# after this tag, mechanisms are not by side-effect, so they'll
2755
# only be used when explicitly requested
2756
if test "x$enable_dependency_tracking" = xyes; then
2764
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2765
# mode. It turns out that the SunPro C++ compiler does not properly
2766
# handle `-M -o', and we need to detect this.
2767
if depmode=$depmode \
2768
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2769
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2770
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2771
>/dev/null 2>conftest.err &&
2772
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2773
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2774
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2775
# icc doesn't choke on unknown options, it will just issue warnings
2776
# (even with -Werror). So we grep stderr for any message
2777
# that says an option was ignored.
2778
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2779
am_cv_CC_dependencies_compiler_type=$depmode
2788
am_cv_CC_dependencies_compiler_type=none
2792
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2793
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2794
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2799
test "x$enable_dependency_tracking" != xno \
2800
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2802
am__fastdepCC_FALSE='#'
2804
am__fastdepCC_TRUE='#'
2805
am__fastdepCC_FALSE=
2810
# Checks for libraries.
2812
# Checks for header files.
2815
ac_cpp='$CPP $CPPFLAGS'
2816
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2817
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2818
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2819
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2820
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2821
# On Suns, sometimes $CPP names a directory.
2822
if test -n "$CPP" && test -d "$CPP"; then
2825
if test -z "$CPP"; then
2826
if test "${ac_cv_prog_CPP+set}" = set; then
2827
echo $ECHO_N "(cached) $ECHO_C" >&6
2829
# Double quotes because CPP needs to be expanded
2830
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2833
for ac_c_preproc_warn_flag in '' yes
2835
# Use a header file that comes with gcc, so configuring glibc
2836
# with a fresh cross-compiler works.
2837
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2838
# <limits.h> exists even on freestanding compilers.
2839
# On the NeXT, cc -E runs the code through the compiler's parser,
2840
# not just through cpp. "Syntax error" is here to catch this case.
2841
cat >conftest.$ac_ext <<_ACEOF
2844
cat confdefs.h >>conftest.$ac_ext
2845
cat >>conftest.$ac_ext <<_ACEOF
2846
/* end confdefs.h. */
2848
# include <limits.h>
2850
# include <assert.h>
2854
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2855
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2857
grep -v '^ *+' conftest.er1 >conftest.err
2859
cat conftest.err >&5
2860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861
(exit $ac_status); } >/dev/null; then
2862
if test -s conftest.err; then
2863
ac_cpp_err=$ac_c_preproc_warn_flag
2864
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2871
if test -z "$ac_cpp_err"; then
2874
echo "$as_me: failed program was:" >&5
2875
sed 's/^/| /' conftest.$ac_ext >&5
2877
# Broken: fails on valid input.
2880
rm -f conftest.err conftest.$ac_ext
2882
# OK, works on sane cases. Now check whether non-existent headers
2883
# can be detected and how.
2884
cat >conftest.$ac_ext <<_ACEOF
2887
cat confdefs.h >>conftest.$ac_ext
2888
cat >>conftest.$ac_ext <<_ACEOF
2889
/* end confdefs.h. */
2890
#include <ac_nonexistent.h>
2892
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2893
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2895
grep -v '^ *+' conftest.er1 >conftest.err
2897
cat conftest.err >&5
2898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899
(exit $ac_status); } >/dev/null; then
2900
if test -s conftest.err; then
2901
ac_cpp_err=$ac_c_preproc_warn_flag
2902
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2909
if test -z "$ac_cpp_err"; then
2910
# Broken: success on invalid input.
2913
echo "$as_me: failed program was:" >&5
2914
sed 's/^/| /' conftest.$ac_ext >&5
2916
# Passes both tests.
2920
rm -f conftest.err conftest.$ac_ext
2923
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2924
rm -f conftest.err conftest.$ac_ext
2925
if $ac_preproc_ok; then
2937
echo "$as_me:$LINENO: result: $CPP" >&5
2938
echo "${ECHO_T}$CPP" >&6
2940
for ac_c_preproc_warn_flag in '' yes
2942
# Use a header file that comes with gcc, so configuring glibc
2943
# with a fresh cross-compiler works.
2944
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2945
# <limits.h> exists even on freestanding compilers.
2946
# On the NeXT, cc -E runs the code through the compiler's parser,
2947
# not just through cpp. "Syntax error" is here to catch this case.
2948
cat >conftest.$ac_ext <<_ACEOF
2951
cat confdefs.h >>conftest.$ac_ext
2952
cat >>conftest.$ac_ext <<_ACEOF
2953
/* end confdefs.h. */
2955
# include <limits.h>
2957
# include <assert.h>
2961
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2962
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2964
grep -v '^ *+' conftest.er1 >conftest.err
2966
cat conftest.err >&5
2967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
(exit $ac_status); } >/dev/null; then
2969
if test -s conftest.err; then
2970
ac_cpp_err=$ac_c_preproc_warn_flag
2971
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2978
if test -z "$ac_cpp_err"; then
2981
echo "$as_me: failed program was:" >&5
2982
sed 's/^/| /' conftest.$ac_ext >&5
2984
# Broken: fails on valid input.
2987
rm -f conftest.err conftest.$ac_ext
2989
# OK, works on sane cases. Now check whether non-existent headers
2990
# can be detected and how.
2991
cat >conftest.$ac_ext <<_ACEOF
2994
cat confdefs.h >>conftest.$ac_ext
2995
cat >>conftest.$ac_ext <<_ACEOF
2996
/* end confdefs.h. */
2997
#include <ac_nonexistent.h>
2999
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3000
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3002
grep -v '^ *+' conftest.er1 >conftest.err
3004
cat conftest.err >&5
3005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006
(exit $ac_status); } >/dev/null; then
3007
if test -s conftest.err; then
3008
ac_cpp_err=$ac_c_preproc_warn_flag
3009
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3016
if test -z "$ac_cpp_err"; then
3017
# Broken: success on invalid input.
3020
echo "$as_me: failed program was:" >&5
3021
sed 's/^/| /' conftest.$ac_ext >&5
3023
# Passes both tests.
3027
rm -f conftest.err conftest.$ac_ext
3030
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3031
rm -f conftest.err conftest.$ac_ext
3032
if $ac_preproc_ok; then
3035
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3036
See \`config.log' for more details." >&5
3037
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3038
See \`config.log' for more details." >&2;}
3039
{ (exit 1); exit 1; }; }
3043
ac_cpp='$CPP $CPPFLAGS'
3044
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3049
echo "$as_me:$LINENO: checking for egrep" >&5
3050
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3051
if test "${ac_cv_prog_egrep+set}" = set; then
3052
echo $ECHO_N "(cached) $ECHO_C" >&6
3054
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3055
then ac_cv_prog_egrep='grep -E'
3056
else ac_cv_prog_egrep='egrep'
3059
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3060
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3061
EGREP=$ac_cv_prog_egrep
3064
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3065
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3066
if test "${ac_cv_header_stdc+set}" = set; then
3067
echo $ECHO_N "(cached) $ECHO_C" >&6
3069
cat >conftest.$ac_ext <<_ACEOF
3072
cat confdefs.h >>conftest.$ac_ext
3073
cat >>conftest.$ac_ext <<_ACEOF
3074
/* end confdefs.h. */
3088
rm -f conftest.$ac_objext
3089
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090
(eval $ac_compile) 2>conftest.er1
3092
grep -v '^ *+' conftest.er1 >conftest.err
3094
cat conftest.err >&5
3095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096
(exit $ac_status); } &&
3097
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3098
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102
(exit $ac_status); }; } &&
3103
{ ac_try='test -s conftest.$ac_objext'
3104
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108
(exit $ac_status); }; }; then
3109
ac_cv_header_stdc=yes
3111
echo "$as_me: failed program was:" >&5
3112
sed 's/^/| /' conftest.$ac_ext >&5
3114
ac_cv_header_stdc=no
3116
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3118
if test $ac_cv_header_stdc = yes; then
3119
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3120
cat >conftest.$ac_ext <<_ACEOF
3123
cat confdefs.h >>conftest.$ac_ext
3124
cat >>conftest.$ac_ext <<_ACEOF
3125
/* end confdefs.h. */
3129
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3130
$EGREP "memchr" >/dev/null 2>&1; then
3133
ac_cv_header_stdc=no
3139
if test $ac_cv_header_stdc = yes; then
3140
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3141
cat >conftest.$ac_ext <<_ACEOF
3144
cat confdefs.h >>conftest.$ac_ext
3145
cat >>conftest.$ac_ext <<_ACEOF
3146
/* end confdefs.h. */
3150
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3151
$EGREP "free" >/dev/null 2>&1; then
3154
ac_cv_header_stdc=no
3160
if test $ac_cv_header_stdc = yes; then
3161
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3162
if test "$cross_compiling" = yes; then
3165
cat >conftest.$ac_ext <<_ACEOF
3168
cat confdefs.h >>conftest.$ac_ext
3169
cat >>conftest.$ac_ext <<_ACEOF
3170
/* end confdefs.h. */
3172
#if ((' ' & 0x0FF) == 0x020)
3173
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3174
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3176
# define ISLOWER(c) \
3177
(('a' <= (c) && (c) <= 'i') \
3178
|| ('j' <= (c) && (c) <= 'r') \
3179
|| ('s' <= (c) && (c) <= 'z'))
3180
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3183
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3188
for (i = 0; i < 256; i++)
3189
if (XOR (islower (i), ISLOWER (i))
3190
|| toupper (i) != TOUPPER (i))
3195
rm -f conftest$ac_exeext
3196
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3197
(eval $ac_link) 2>&5
3199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3201
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205
(exit $ac_status); }; }; then
3208
echo "$as_me: program exited with status $ac_status" >&5
3209
echo "$as_me: failed program was:" >&5
3210
sed 's/^/| /' conftest.$ac_ext >&5
3213
ac_cv_header_stdc=no
3215
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3219
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3220
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3221
if test $ac_cv_header_stdc = yes; then
3223
cat >>confdefs.h <<\_ACEOF
3224
#define STDC_HEADERS 1
3229
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3239
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3240
inttypes.h stdint.h unistd.h
3242
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3243
echo "$as_me:$LINENO: checking for $ac_header" >&5
3244
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3245
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3246
echo $ECHO_N "(cached) $ECHO_C" >&6
3248
cat >conftest.$ac_ext <<_ACEOF
3251
cat confdefs.h >>conftest.$ac_ext
3252
cat >>conftest.$ac_ext <<_ACEOF
3253
/* end confdefs.h. */
3254
$ac_includes_default
3256
#include <$ac_header>
3258
rm -f conftest.$ac_objext
3259
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3260
(eval $ac_compile) 2>conftest.er1
3262
grep -v '^ *+' conftest.er1 >conftest.err
3264
cat conftest.err >&5
3265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266
(exit $ac_status); } &&
3267
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3268
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272
(exit $ac_status); }; } &&
3273
{ ac_try='test -s conftest.$ac_objext'
3274
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278
(exit $ac_status); }; }; then
3279
eval "$as_ac_Header=yes"
3281
echo "$as_me: failed program was:" >&5
3282
sed 's/^/| /' conftest.$ac_ext >&5
3284
eval "$as_ac_Header=no"
3286
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3288
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3289
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3290
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3291
cat >>confdefs.h <<_ACEOF
3292
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3306
for ac_header in fcntl.h stddef.h stdlib.h string.h sys/ioctl.h unistd.h
3308
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3309
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3310
echo "$as_me:$LINENO: checking for $ac_header" >&5
3311
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3312
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3313
echo $ECHO_N "(cached) $ECHO_C" >&6
3315
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3316
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3318
# Is the header compilable?
3319
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3320
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3321
cat >conftest.$ac_ext <<_ACEOF
3324
cat confdefs.h >>conftest.$ac_ext
3325
cat >>conftest.$ac_ext <<_ACEOF
3326
/* end confdefs.h. */
3327
$ac_includes_default
3328
#include <$ac_header>
3330
rm -f conftest.$ac_objext
3331
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3332
(eval $ac_compile) 2>conftest.er1
3334
grep -v '^ *+' conftest.er1 >conftest.err
3336
cat conftest.err >&5
3337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338
(exit $ac_status); } &&
3339
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3340
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344
(exit $ac_status); }; } &&
3345
{ ac_try='test -s conftest.$ac_objext'
3346
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350
(exit $ac_status); }; }; then
3351
ac_header_compiler=yes
3353
echo "$as_me: failed program was:" >&5
3354
sed 's/^/| /' conftest.$ac_ext >&5
3356
ac_header_compiler=no
3358
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3359
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3360
echo "${ECHO_T}$ac_header_compiler" >&6
3362
# Is the header present?
3363
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3364
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3365
cat >conftest.$ac_ext <<_ACEOF
3368
cat confdefs.h >>conftest.$ac_ext
3369
cat >>conftest.$ac_ext <<_ACEOF
3370
/* end confdefs.h. */
3371
#include <$ac_header>
3373
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3374
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3376
grep -v '^ *+' conftest.er1 >conftest.err
3378
cat conftest.err >&5
3379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380
(exit $ac_status); } >/dev/null; then
3381
if test -s conftest.err; then
3382
ac_cpp_err=$ac_c_preproc_warn_flag
3383
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3390
if test -z "$ac_cpp_err"; then
3391
ac_header_preproc=yes
3393
echo "$as_me: failed program was:" >&5
3394
sed 's/^/| /' conftest.$ac_ext >&5
3396
ac_header_preproc=no
3398
rm -f conftest.err conftest.$ac_ext
3399
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3400
echo "${ECHO_T}$ac_header_preproc" >&6
3402
# So? What about this header?
3403
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3405
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3406
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3407
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3408
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3409
ac_header_preproc=yes
3412
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3413
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3414
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3415
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3416
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3417
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3418
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3419
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3420
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3421
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3422
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3423
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3426
## -------------------------------- ##
3427
## Report this to thoenig@nouse.net ##
3428
## -------------------------------- ##
3431
sed "s/^/$as_me: WARNING: /" >&2
3434
echo "$as_me:$LINENO: checking for $ac_header" >&5
3435
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3436
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3437
echo $ECHO_N "(cached) $ECHO_C" >&6
3439
eval "$as_ac_Header=\$ac_header_preproc"
3441
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3442
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3445
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3446
cat >>confdefs.h <<_ACEOF
3447
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3455
# Checks for typedefs, structures, and compiler characteristics.
3456
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3457
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3458
if test "${ac_cv_c_const+set}" = set; then
3459
echo $ECHO_N "(cached) $ECHO_C" >&6
3461
cat >conftest.$ac_ext <<_ACEOF
3464
cat confdefs.h >>conftest.$ac_ext
3465
cat >>conftest.$ac_ext <<_ACEOF
3466
/* end confdefs.h. */
3471
/* FIXME: Include the comments suggested by Paul. */
3473
/* Ultrix mips cc rejects this. */
3474
typedef int charset[2];
3476
/* SunOS 4.1.1 cc rejects this. */
3477
char const *const *ccp;
3479
/* NEC SVR4.0.2 mips cc rejects this. */
3480
struct point {int x, y;};
3481
static struct point const zero = {0,0};
3482
/* AIX XL C 1.02.0.0 rejects this.
3483
It does not let you subtract one const X* pointer from another in
3484
an arm of an if-expression whose if-part is not a constant
3486
const char *g = "string";
3487
ccp = &g + (g ? g-g : 0);
3488
/* HPUX 7.0 cc rejects these. */
3491
ccp = (char const *const *) p;
3492
{ /* SCO 3.2v4 cc rejects this. */
3494
char const *s = 0 ? (char *) 0 : (char const *) 0;
3498
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3500
const int *foo = &x[0];
3503
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3504
typedef const int *iptr;
3508
{ /* AIX XL C 1.02.0.0 rejects this saying
3509
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3510
struct s { int j; const int *ap[3]; };
3511
struct s *b; b->j = 5;
3513
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3522
rm -f conftest.$ac_objext
3523
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3524
(eval $ac_compile) 2>conftest.er1
3526
grep -v '^ *+' conftest.er1 >conftest.err
3528
cat conftest.err >&5
3529
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530
(exit $ac_status); } &&
3531
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3532
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536
(exit $ac_status); }; } &&
3537
{ ac_try='test -s conftest.$ac_objext'
3538
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542
(exit $ac_status); }; }; then
3545
echo "$as_me: failed program was:" >&5
3546
sed 's/^/| /' conftest.$ac_ext >&5
3550
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3552
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3553
echo "${ECHO_T}$ac_cv_c_const" >&6
3554
if test $ac_cv_c_const = no; then
3556
cat >>confdefs.h <<\_ACEOF
3562
echo "$as_me:$LINENO: checking for pid_t" >&5
3563
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3564
if test "${ac_cv_type_pid_t+set}" = set; then
3565
echo $ECHO_N "(cached) $ECHO_C" >&6
3567
cat >conftest.$ac_ext <<_ACEOF
3570
cat confdefs.h >>conftest.$ac_ext
3571
cat >>conftest.$ac_ext <<_ACEOF
3572
/* end confdefs.h. */
3573
$ac_includes_default
3585
rm -f conftest.$ac_objext
3586
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3587
(eval $ac_compile) 2>conftest.er1
3589
grep -v '^ *+' conftest.er1 >conftest.err
3591
cat conftest.err >&5
3592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593
(exit $ac_status); } &&
3594
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599
(exit $ac_status); }; } &&
3600
{ ac_try='test -s conftest.$ac_objext'
3601
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605
(exit $ac_status); }; }; then
3606
ac_cv_type_pid_t=yes
3608
echo "$as_me: failed program was:" >&5
3609
sed 's/^/| /' conftest.$ac_ext >&5
3613
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3615
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3616
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3617
if test $ac_cv_type_pid_t = yes; then
3621
cat >>confdefs.h <<_ACEOF
3628
# Checks for library functions.
3629
if test $ac_cv_c_compiler_gnu = yes; then
3630
echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3631
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3632
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3633
echo $ECHO_N "(cached) $ECHO_C" >&6
3635
ac_pattern="Autoconf.*'x'"
3636
cat >conftest.$ac_ext <<_ACEOF
3639
cat confdefs.h >>conftest.$ac_ext
3640
cat >>conftest.$ac_ext <<_ACEOF
3641
/* end confdefs.h. */
3645
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3646
$EGREP "$ac_pattern" >/dev/null 2>&1; then
3647
ac_cv_prog_gcc_traditional=yes
3649
ac_cv_prog_gcc_traditional=no
3654
if test $ac_cv_prog_gcc_traditional = no; then
3655
cat >conftest.$ac_ext <<_ACEOF
3658
cat confdefs.h >>conftest.$ac_ext
3659
cat >>conftest.$ac_ext <<_ACEOF
3660
/* end confdefs.h. */
3664
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3665
$EGREP "$ac_pattern" >/dev/null 2>&1; then
3666
ac_cv_prog_gcc_traditional=yes
3672
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3673
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3674
if test $ac_cv_prog_gcc_traditional = yes; then
3675
CC="$CC -traditional"
3679
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3680
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3681
if test "${ac_cv_type_signal+set}" = set; then
3682
echo $ECHO_N "(cached) $ECHO_C" >&6
3684
cat >conftest.$ac_ext <<_ACEOF
3687
cat confdefs.h >>conftest.$ac_ext
3688
cat >>conftest.$ac_ext <<_ACEOF
3689
/* end confdefs.h. */
3690
#include <sys/types.h>
3696
extern "C" void (*signal (int, void (*)(int)))(int);
3698
void (*signal ()) ();
3709
rm -f conftest.$ac_objext
3710
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3711
(eval $ac_compile) 2>conftest.er1
3713
grep -v '^ *+' conftest.er1 >conftest.err
3715
cat conftest.err >&5
3716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717
(exit $ac_status); } &&
3718
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3719
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3722
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723
(exit $ac_status); }; } &&
3724
{ ac_try='test -s conftest.$ac_objext'
3725
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
(exit $ac_status); }; }; then
3730
ac_cv_type_signal=void
3732
echo "$as_me: failed program was:" >&5
3733
sed 's/^/| /' conftest.$ac_ext >&5
3735
ac_cv_type_signal=int
3737
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3739
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3740
echo "${ECHO_T}$ac_cv_type_signal" >&6
3742
cat >>confdefs.h <<_ACEOF
3743
#define RETSIGTYPE $ac_cv_type_signal
3748
ac_config_files="$ac_config_files Makefile etc/Makefile src/Makefile"
3750
cat >confcache <<\_ACEOF
3751
# This file is a shell script that caches the results of configure
3752
# tests run on this system so they can be shared between configure
3753
# scripts and configure runs, see configure's option --config-cache.
3754
# It is not useful on other systems. If it contains results you don't
3755
# want to keep, you may remove or edit it.
3757
# config.status only pays attention to the cache file if you give it
3758
# the --recheck option to rerun configure.
3760
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3761
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3766
# The following way of writing the cache mishandles newlines in values,
3767
# but we know of no workaround that is simple, portable, and efficient.
3768
# So, don't put newlines in cache variables' values.
3769
# Ultrix sh set writes to stderr and can't be redirected directly,
3770
# and sets the high bit in the cache file unless we assign to the vars.
3773
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3775
# `set' does not quote correctly, so add quotes (double-quote
3776
# substitution turns \\\\ into \\, and sed turns \\ into \).
3779
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3782
# `set' quotes correctly as required by POSIX, so do not add quotes.
3784
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3791
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3793
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3795
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3796
if test -w $cache_file; then
3797
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3798
cat confcache >$cache_file
3800
echo "not updating unwritable cache $cache_file"
3805
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3806
# Let make expand exec_prefix.
3807
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3809
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3810
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3811
# trailing colons and then remove the whole line if VPATH becomes empty
3812
# (actually we leave an empty line to preserve line numbers).
3813
if test "x$srcdir" = x.; then
3814
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3815
s/:*\$(srcdir):*/:/;
3816
s/:*\${srcdir}:*/:/;
3818
s/^\([^=]*=[ ]*\):*/\1/;
3824
DEFS=-DHAVE_CONFIG_H
3828
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3829
# 1. Remove the extension, and $U if already installed.
3830
ac_i=`echo "$ac_i" |
3831
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3833
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3834
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3838
LTLIBOBJS=$ac_ltlibobjs
3841
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3842
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3843
Usually this means the macro was only invoked conditionally." >&5
3844
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3845
Usually this means the macro was only invoked conditionally." >&2;}
3846
{ (exit 1); exit 1; }; }
3848
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3849
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3850
Usually this means the macro was only invoked conditionally." >&5
3851
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3852
Usually this means the macro was only invoked conditionally." >&2;}
3853
{ (exit 1); exit 1; }; }
3856
: ${CONFIG_STATUS=./config.status}
3857
ac_clean_files_save=$ac_clean_files
3858
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3859
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3860
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3861
cat >$CONFIG_STATUS <<_ACEOF
3863
# Generated by $as_me.
3864
# Run this file to recreate the current configuration.
3865
# Compiler output produced by configure, useful for debugging
3866
# configure, is in config.log if it exists.
3871
SHELL=\${CONFIG_SHELL-$SHELL}
3874
cat >>$CONFIG_STATUS <<\_ACEOF
3875
## --------------------- ##
3876
## M4sh Initialization. ##
3877
## --------------------- ##
3879
# Be Bourne compatible
3880
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3883
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3884
# is contrary to our usage. Disable this feature.
3885
alias -g '${1+"$@"}'='"$@"'
3886
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3889
DUALCASE=1; export DUALCASE # for MKS sh
3891
# Support unset when possible.
3892
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3899
# Work around bugs in pre-3.0 UWIN ksh.
3900
$as_unset ENV MAIL MAILPATH
3907
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3908
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3909
LC_TELEPHONE LC_TIME
3911
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3912
eval $as_var=C; export $as_var
3918
# Required to use basename.
3919
if expr a : '\(a\)' >/dev/null 2>&1; then
3925
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3926
as_basename=basename
3932
# Name of the executable.
3933
as_me=`$as_basename "$0" ||
3934
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3935
X"$0" : 'X\(//\)$' \| \
3936
X"$0" : 'X\(/\)$' \| \
3937
. : '\(.\)' 2>/dev/null ||
3939
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3940
/^X\/\(\/\/\)$/{ s//\1/; q; }
3941
/^X\/\(\/\).*/{ s//\1/; q; }
3945
# PATH needs CR, and LINENO needs CR and PATH.
3946
# Avoid depending upon Character Ranges.
3947
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3948
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3949
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3950
as_cr_digits='0123456789'
3951
as_cr_alnum=$as_cr_Letters$as_cr_digits
3953
# The user is always right.
3954
if test "${PATH_SEPARATOR+set}" != set; then
3955
echo "#! /bin/sh" >conf$$.sh
3956
echo "exit 0" >>conf$$.sh
3958
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3969
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3970
test "x$as_lineno_1" != "x$as_lineno_2" &&
3971
test "x$as_lineno_3" = "x$as_lineno_2" || {
3972
# Find who we are. Look in the path if we contain no path at all
3975
*[\\/]* ) as_myself=$0 ;;
3976
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3980
test -z "$as_dir" && as_dir=.
3981
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3986
# We did not find ourselves, most probably we were run as `sh COMMAND'
3987
# in which case we are not to be found in the path.
3988
if test "x$as_myself" = x; then
3991
if test ! -f "$as_myself"; then
3992
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3993
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3994
{ (exit 1); exit 1; }; }
3996
case $CONFIG_SHELL in
3998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4002
test -z "$as_dir" && as_dir=.
4003
for as_base in sh bash ksh sh5; do
4006
if ("$as_dir/$as_base" -c '
4009
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4010
test "x$as_lineno_1" != "x$as_lineno_2" &&
4011
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4012
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4013
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4014
CONFIG_SHELL=$as_dir/$as_base
4016
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4024
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4025
# uniformly replaced by the line number. The first 'sed' inserts a
4026
# line-number line before each line; the second 'sed' does the real
4027
# work. The second script uses 'N' to pair each line-number line
4028
# with the numbered line, and appends trailing '-' during
4029
# substitution so that $LINENO is not a special case at line end.
4030
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4031
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4032
sed '=' <$as_myself |
4037
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4040
s,^['$as_cr_digits']*\n,,
4042
chmod +x $as_me.lineno ||
4043
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4044
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4045
{ (exit 1); exit 1; }; }
4047
# Don't try to exec as it changes $[0], causing all sort of problems
4048
# (the dirname of $[0] is not the place where we might find the
4049
# original and so on. Autoconf is especially sensible to this).
4051
# Exit status is that of the last command.
4056
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4057
*c*,-n*) ECHO_N= ECHO_C='
4059
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4060
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4063
if expr a : '\(a\)' >/dev/null 2>&1; then
4069
rm -f conf$$ conf$$.exe conf$$.file
4071
if ln -s conf$$.file conf$$ 2>/dev/null; then
4072
# We could just check for DJGPP; but this test a) works b) is more generic
4073
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4074
if test -f conf$$.exe; then
4075
# Don't use ln at all; we don't have any links
4080
elif ln conf$$.file conf$$ 2>/dev/null; then
4085
rm -f conf$$ conf$$.exe conf$$.file
4087
if mkdir -p . 2>/dev/null; then
4090
test -d ./-p && rmdir ./-p
4094
as_executable_p="test -f"
4096
# Sed expression to map a string onto a valid CPP name.
4097
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4099
# Sed expression to map a string onto a valid variable name.
4100
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4104
# We need space, tab and new line, in precisely that order.
4114
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4115
# report actual input values of CONFIG_FILES etc. instead of their
4116
# values after options handling. Logging --version etc. is OK.
4120
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4121
## Running $as_me. ##
4126
This file was extended by fnfx $as_me 0.3, which was
4127
generated by GNU Autoconf 2.59. Invocation command line was
4129
CONFIG_FILES = $CONFIG_FILES
4130
CONFIG_HEADERS = $CONFIG_HEADERS
4131
CONFIG_LINKS = $CONFIG_LINKS
4132
CONFIG_COMMANDS = $CONFIG_COMMANDS
4136
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4140
# Files that config.status was made for.
4141
if test -n "$ac_config_files"; then
4142
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4145
if test -n "$ac_config_headers"; then
4146
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4149
if test -n "$ac_config_links"; then
4150
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4153
if test -n "$ac_config_commands"; then
4154
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4157
cat >>$CONFIG_STATUS <<\_ACEOF
4160
\`$as_me' instantiates files from templates according to the
4161
current configuration.
4163
Usage: $0 [OPTIONS] [FILE]...
4165
-h, --help print this help, then exit
4166
-V, --version print version number, then exit
4167
-q, --quiet do not print progress messages
4168
-d, --debug don't remove temporary files
4169
--recheck update $as_me by reconfiguring in the same conditions
4170
--file=FILE[:TEMPLATE]
4171
instantiate the configuration file FILE
4172
--header=FILE[:TEMPLATE]
4173
instantiate the configuration header FILE
4175
Configuration files:
4178
Configuration headers:
4181
Configuration commands:
4184
Report bugs to <bug-autoconf@gnu.org>."
4187
cat >>$CONFIG_STATUS <<_ACEOF
4189
fnfx config.status 0.3
4190
configured by $0, generated by GNU Autoconf 2.59,
4191
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4193
Copyright (C) 2003 Free Software Foundation, Inc.
4194
This config.status script is free software; the Free Software Foundation
4195
gives unlimited permission to copy, distribute and modify it."
4200
cat >>$CONFIG_STATUS <<\_ACEOF
4201
# If no file are specified by the user, then we need to provide default
4202
# value. By we need to know if files were specified by the user.
4208
ac_option=`expr "x$1" : 'x\([^=]*\)='`
4209
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4217
*) # This is not an option, so the user has probably given explicit
4220
ac_need_defaults=false;;
4224
# Handling of the options.
4226
cat >>$CONFIG_STATUS <<\_ACEOF
4227
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4229
--version | --vers* | -V )
4230
echo "$ac_cs_version"; exit 0 ;;
4232
# Conflict between --help and --header
4233
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
4234
Try \`$0 --help' for more information." >&5
4235
echo "$as_me: error: ambiguous option: $1
4236
Try \`$0 --help' for more information." >&2;}
4237
{ (exit 1); exit 1; }; };;
4238
--help | --hel | -h )
4239
echo "$ac_cs_usage"; exit 0 ;;
4240
--debug | --d* | -d )
4242
--file | --fil | --fi | --f )
4244
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4245
ac_need_defaults=false;;
4246
--header | --heade | --head | --hea )
4248
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4249
ac_need_defaults=false;;
4250
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4251
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4255
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4256
Try \`$0 --help' for more information." >&5
4257
echo "$as_me: error: unrecognized option: $1
4258
Try \`$0 --help' for more information." >&2;}
4259
{ (exit 1); exit 1; }; } ;;
4261
*) ac_config_targets="$ac_config_targets $1" ;;
4267
ac_configure_extra_args=
4269
if $ac_cs_silent; then
4271
ac_configure_extra_args="$ac_configure_extra_args --silent"
4275
cat >>$CONFIG_STATUS <<_ACEOF
4276
if \$ac_cs_recheck; then
4277
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4278
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4283
cat >>$CONFIG_STATUS <<_ACEOF
4285
# INIT-COMMANDS section.
4288
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4294
cat >>$CONFIG_STATUS <<\_ACEOF
4295
for ac_config_target in $ac_config_targets
4297
case "$ac_config_target" in
4298
# Handling of arguments.
4299
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4300
"etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
4301
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4302
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4303
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4304
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4305
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4306
{ (exit 1); exit 1; }; };;
4310
# If the user did not use the arguments to specify the items to instantiate,
4311
# then the envvar interface is used. Set only those that are not.
4312
# We use the long form for the default assignment because of an extremely
4313
# bizarre bug on SunOS 4.1.3.
4314
if $ac_need_defaults; then
4315
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4316
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4317
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4320
# Have a temporary directory for convenience. Make it in the build tree
4321
# simply because there is no reason to put it here, and in addition,
4322
# creating and moving files from /tmp can sometimes cause problems.
4323
# Create a temporary directory, and hook for its removal unless debugging.
4326
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4327
trap '{ (exit 1); exit 1; }' 1 2 13 15
4330
# Create a (secure) tmp directory for tmp files.
4333
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4334
test -n "$tmp" && test -d "$tmp"
4337
tmp=./confstat$$-$RANDOM
4338
(umask 077 && mkdir $tmp)
4341
echo "$me: cannot create a temporary directory in ." >&2
4342
{ (exit 1); exit 1; }
4347
cat >>$CONFIG_STATUS <<_ACEOF
4350
# CONFIG_FILES section.
4353
# No need to generate the scripts if there are no CONFIG_FILES.
4354
# This happens for instance when ./config.status config.h
4355
if test -n "\$CONFIG_FILES"; then
4356
# Protect against being on the right side of a sed subst in config.status.
4357
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4358
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4359
s,@SHELL@,$SHELL,;t t
4360
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4361
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4362
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4363
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4364
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4365
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4366
s,@exec_prefix@,$exec_prefix,;t t
4367
s,@prefix@,$prefix,;t t
4368
s,@program_transform_name@,$program_transform_name,;t t
4369
s,@bindir@,$bindir,;t t
4370
s,@sbindir@,$sbindir,;t t
4371
s,@libexecdir@,$libexecdir,;t t
4372
s,@datadir@,$datadir,;t t
4373
s,@sysconfdir@,$sysconfdir,;t t
4374
s,@sharedstatedir@,$sharedstatedir,;t t
4375
s,@localstatedir@,$localstatedir,;t t
4376
s,@libdir@,$libdir,;t t
4377
s,@includedir@,$includedir,;t t
4378
s,@oldincludedir@,$oldincludedir,;t t
4379
s,@infodir@,$infodir,;t t
4380
s,@mandir@,$mandir,;t t
4381
s,@build_alias@,$build_alias,;t t
4382
s,@host_alias@,$host_alias,;t t
4383
s,@target_alias@,$target_alias,;t t
4385
s,@ECHO_C@,$ECHO_C,;t t
4386
s,@ECHO_N@,$ECHO_N,;t t
4387
s,@ECHO_T@,$ECHO_T,;t t
4389
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4390
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4391
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4392
s,@CYGPATH_W@,$CYGPATH_W,;t t
4393
s,@PACKAGE@,$PACKAGE,;t t
4394
s,@VERSION@,$VERSION,;t t
4395
s,@ACLOCAL@,$ACLOCAL,;t t
4396
s,@AUTOCONF@,$AUTOCONF,;t t
4397
s,@AUTOMAKE@,$AUTOMAKE,;t t
4398
s,@AUTOHEADER@,$AUTOHEADER,;t t
4399
s,@MAKEINFO@,$MAKEINFO,;t t
4400
s,@AMTAR@,$AMTAR,;t t
4401
s,@install_sh@,$install_sh,;t t
4402
s,@STRIP@,$STRIP,;t t
4403
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4404
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4406
s,@SET_MAKE@,$SET_MAKE,;t t
4407
s,@am__leading_dot@,$am__leading_dot,;t t
4409
s,@CFLAGS@,$CFLAGS,;t t
4410
s,@LDFLAGS@,$LDFLAGS,;t t
4411
s,@CPPFLAGS@,$CPPFLAGS,;t t
4412
s,@ac_ct_CC@,$ac_ct_CC,;t t
4413
s,@EXEEXT@,$EXEEXT,;t t
4414
s,@OBJEXT@,$OBJEXT,;t t
4415
s,@DEPDIR@,$DEPDIR,;t t
4416
s,@am__include@,$am__include,;t t
4417
s,@am__quote@,$am__quote,;t t
4418
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4419
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4420
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4421
s,@CCDEPMODE@,$CCDEPMODE,;t t
4422
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4423
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4425
s,@EGREP@,$EGREP,;t t
4426
s,@LIBOBJS@,$LIBOBJS,;t t
4427
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4432
cat >>$CONFIG_STATUS <<\_ACEOF
4433
# Split the substitutions into bite-sized pieces for seds with
4434
# small command number limits, like on Digital OSF/1 and HP-UX.
4436
ac_sed_frag=1 # Number of current file.
4437
ac_beg=1 # First line for current file.
4438
ac_end=$ac_max_sed_lines # Line after last line for current file.
4441
while $ac_more_lines; do
4442
if test $ac_beg -gt 1; then
4443
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4445
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4447
if test ! -s $tmp/subs.frag; then
4450
# The purpose of the label and of the branching condition is to
4451
# speed up the sed processing (if there are no `@' at all, there
4452
# is no need to browse any of the substitutions).
4453
# These are the two extra sed commands mentioned above.
4455
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4456
if test -z "$ac_sed_cmds"; then
4457
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4459
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4461
ac_sed_frag=`expr $ac_sed_frag + 1`
4463
ac_end=`expr $ac_end + $ac_max_sed_lines`
4466
if test -z "$ac_sed_cmds"; then
4469
fi # test -n "$CONFIG_FILES"
4472
cat >>$CONFIG_STATUS <<\_ACEOF
4473
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4474
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4476
- | *:- | *:-:* ) # input from stdin
4478
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4479
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4480
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4481
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4482
* ) ac_file_in=$ac_file.in ;;
4485
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4486
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4487
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4488
X"$ac_file" : 'X\(//\)[^/]' \| \
4489
X"$ac_file" : 'X\(//\)$' \| \
4490
X"$ac_file" : 'X\(/\)' \| \
4491
. : '\(.\)' 2>/dev/null ||
4493
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4494
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4495
/^X\(\/\/\)$/{ s//\1/; q; }
4496
/^X\(\/\).*/{ s//\1/; q; }
4498
{ if $as_mkdir_p; then
4503
while test ! -d "$as_dir"; do
4504
as_dirs="$as_dir $as_dirs"
4505
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4506
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4507
X"$as_dir" : 'X\(//\)[^/]' \| \
4508
X"$as_dir" : 'X\(//\)$' \| \
4509
X"$as_dir" : 'X\(/\)' \| \
4510
. : '\(.\)' 2>/dev/null ||
4512
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4513
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4514
/^X\(\/\/\)$/{ s//\1/; q; }
4515
/^X\(\/\).*/{ s//\1/; q; }
4518
test ! -n "$as_dirs" || mkdir $as_dirs
4519
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4520
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4521
{ (exit 1); exit 1; }; }; }
4525
if test "$ac_dir" != .; then
4526
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4527
# A "../" for each directory in $ac_dir_suffix.
4528
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4530
ac_dir_suffix= ac_top_builddir=
4534
.) # No --srcdir option. We are building in place.
4536
if test -z "$ac_top_builddir"; then
4539
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4541
[\\/]* | ?:[\\/]* ) # Absolute path.
4542
ac_srcdir=$srcdir$ac_dir_suffix;
4543
ac_top_srcdir=$srcdir ;;
4545
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4546
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4549
# Do not use `cd foo && pwd` to compute absolute paths, because
4550
# the directories may not exist.
4552
.) ac_abs_builddir="$ac_dir";;
4555
.) ac_abs_builddir=`pwd`;;
4556
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4557
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4560
case $ac_abs_builddir in
4561
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4563
case ${ac_top_builddir}. in
4564
.) ac_abs_top_builddir=$ac_abs_builddir;;
4565
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4566
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4569
case $ac_abs_builddir in
4570
.) ac_abs_srcdir=$ac_srcdir;;
4573
.) ac_abs_srcdir=$ac_abs_builddir;;
4574
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4575
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4578
case $ac_abs_builddir in
4579
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4581
case $ac_top_srcdir in
4582
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4583
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4584
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4590
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4591
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4594
# Let's still pretend it is `configure' which instantiates (i.e., don't
4595
# use $as_me), people would be surprised to read:
4596
# /* config.h. Generated by config.status. */
4597
if test x"$ac_file" = x-; then
4600
configure_input="$ac_file. "
4602
configure_input=$configure_input"Generated from `echo $ac_file_in |
4603
sed 's,.*/,,'` by configure."
4605
# First look for the input files in the build tree, otherwise in the
4607
ac_file_inputs=`IFS=:
4608
for f in $ac_file_in; do
4610
-) echo $tmp/stdin ;;
4612
# Absolute (can't be DOS-style, as IFS=:)
4613
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4614
echo "$as_me: error: cannot find input file: $f" >&2;}
4615
{ (exit 1); exit 1; }; }
4618
if test -f "$f"; then
4621
elif test -f "$srcdir/$f"; then
4626
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4627
echo "$as_me: error: cannot find input file: $f" >&2;}
4628
{ (exit 1); exit 1; }; }
4631
done` || { (exit 1); exit 1; }
4633
if test x"$ac_file" != x-; then
4634
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4635
echo "$as_me: creating $ac_file" >&6;}
4639
cat >>$CONFIG_STATUS <<_ACEOF
4643
cat >>$CONFIG_STATUS <<\_ACEOF
4645
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4646
s,@configure_input@,$configure_input,;t t
4647
s,@srcdir@,$ac_srcdir,;t t
4648
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4649
s,@top_srcdir@,$ac_top_srcdir,;t t
4650
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4651
s,@builddir@,$ac_builddir,;t t
4652
s,@abs_builddir@,$ac_abs_builddir,;t t
4653
s,@top_builddir@,$ac_top_builddir,;t t
4654
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4655
s,@INSTALL@,$ac_INSTALL,;t t
4656
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4658
if test x"$ac_file" != x-; then
4659
mv $tmp/out $ac_file
4667
cat >>$CONFIG_STATUS <<\_ACEOF
4670
# CONFIG_HEADER section.
4673
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4674
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4676
# ac_d sets the value in "#define NAME VALUE" lines.
4677
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4678
ac_dB='[ ].*$,\1#\2'
4681
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4682
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4683
ac_uB='$,\1#\2define\3'
4687
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4688
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4690
- | *:- | *:-:* ) # input from stdin
4692
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4693
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4694
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4695
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4696
* ) ac_file_in=$ac_file.in ;;
4699
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4700
echo "$as_me: creating $ac_file" >&6;}
4702
# First look for the input files in the build tree, otherwise in the
4704
ac_file_inputs=`IFS=:
4705
for f in $ac_file_in; do
4707
-) echo $tmp/stdin ;;
4709
# Absolute (can't be DOS-style, as IFS=:)
4710
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4711
echo "$as_me: error: cannot find input file: $f" >&2;}
4712
{ (exit 1); exit 1; }; }
4713
# Do quote $f, to prevent DOS paths from being IFS'd.
4716
if test -f "$f"; then
4719
elif test -f "$srcdir/$f"; then
4724
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4725
echo "$as_me: error: cannot find input file: $f" >&2;}
4726
{ (exit 1); exit 1; }; }
4729
done` || { (exit 1); exit 1; }
4730
# Remove the trailing spaces.
4731
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4735
# Transform confdefs.h into two sed scripts, `conftest.defines' and
4736
# `conftest.undefs', that substitutes the proper values into
4737
# config.h.in to produce config.h. The first handles `#define'
4738
# templates, and the second `#undef' templates.
4739
# And first: Protect against being on the right side of a sed subst in
4740
# config.status. Protect against being in an unquoted here document
4742
rm -f conftest.defines conftest.undefs
4743
# Using a here document instead of a string reduces the quoting nightmare.
4744
# Putting comments in sed scripts is not portable.
4746
# `end' is used to avoid that the second main sed command (meant for
4747
# 0-ary CPP macros) applies to n-ary macro definitions.
4748
# See the Autoconf documentation for `clear'.
4749
cat >confdef2sed.sed <<\_ACEOF
4754
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4756
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4759
# If some macros were called several times there might be several times
4760
# the same #defines, which is useless. Nevertheless, we may not want to
4761
# sort them, since we want the *last* AC-DEFINE to be honored.
4762
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4763
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4764
rm -f confdef2sed.sed
4766
# This sed command replaces #undef with comments. This is necessary, for
4767
# example, in the case of _POSIX_SOURCE, which is predefined and required
4768
# on some systems where configure will not decide to define it.
4769
cat >>conftest.undefs <<\_ACEOF
4770
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4773
# Break up conftest.defines because some shells have a limit on the size
4774
# of here documents, and old seds have small limits too (100 cmds).
4775
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4776
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4777
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4778
echo ' :' >>$CONFIG_STATUS
4780
while grep . conftest.defines >/dev/null
4782
# Write a limited-size here document to $tmp/defines.sed.
4783
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4784
# Speed up: don't consider the non `#define' lines.
4785
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4786
# Work around the forget-to-reset-the-flag bug.
4787
echo 't clr' >>$CONFIG_STATUS
4788
echo ': clr' >>$CONFIG_STATUS
4789
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4791
sed -f $tmp/defines.sed $tmp/in >$tmp/out
4795
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4796
rm -f conftest.defines
4797
mv conftest.tail conftest.defines
4799
rm -f conftest.defines
4800
echo ' fi # grep' >>$CONFIG_STATUS
4801
echo >>$CONFIG_STATUS
4803
# Break up conftest.undefs because some shells have a limit on the size
4804
# of here documents, and old seds have small limits too (100 cmds).
4805
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4807
while grep . conftest.undefs >/dev/null
4809
# Write a limited-size here document to $tmp/undefs.sed.
4810
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4811
# Speed up: don't consider the non `#undef'
4812
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4813
# Work around the forget-to-reset-the-flag bug.
4814
echo 't clr' >>$CONFIG_STATUS
4815
echo ': clr' >>$CONFIG_STATUS
4816
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4818
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4822
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4823
rm -f conftest.undefs
4824
mv conftest.tail conftest.undefs
4826
rm -f conftest.undefs
4828
cat >>$CONFIG_STATUS <<\_ACEOF
4829
# Let's still pretend it is `configure' which instantiates (i.e., don't
4830
# use $as_me), people would be surprised to read:
4831
# /* config.h. Generated by config.status. */
4832
if test x"$ac_file" = x-; then
4833
echo "/* Generated by configure. */" >$tmp/config.h
4835
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4837
cat $tmp/in >>$tmp/config.h
4839
if test x"$ac_file" != x-; then
4840
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4841
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4842
echo "$as_me: $ac_file is unchanged" >&6;}
4844
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4845
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4846
X"$ac_file" : 'X\(//\)[^/]' \| \
4847
X"$ac_file" : 'X\(//\)$' \| \
4848
X"$ac_file" : 'X\(/\)' \| \
4849
. : '\(.\)' 2>/dev/null ||
4851
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4852
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4853
/^X\(\/\/\)$/{ s//\1/; q; }
4854
/^X\(\/\).*/{ s//\1/; q; }
4856
{ if $as_mkdir_p; then
4861
while test ! -d "$as_dir"; do
4862
as_dirs="$as_dir $as_dirs"
4863
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4864
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4865
X"$as_dir" : 'X\(//\)[^/]' \| \
4866
X"$as_dir" : 'X\(//\)$' \| \
4867
X"$as_dir" : 'X\(/\)' \| \
4868
. : '\(.\)' 2>/dev/null ||
4870
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4871
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4872
/^X\(\/\/\)$/{ s//\1/; q; }
4873
/^X\(\/\).*/{ s//\1/; q; }
4876
test ! -n "$as_dirs" || mkdir $as_dirs
4877
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4878
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4879
{ (exit 1); exit 1; }; }; }
4882
mv $tmp/config.h $ac_file
4888
# Compute $ac_file's index in $config_headers.
4890
for _am_header in $config_headers :; do
4892
$ac_file | $ac_file:* )
4895
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
4898
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4899
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4900
X$ac_file : 'X\(//\)[^/]' \| \
4901
X$ac_file : 'X\(//\)$' \| \
4902
X$ac_file : 'X\(/\)' \| \
4903
. : '\(.\)' 2>/dev/null ||
4905
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4906
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4907
/^X\(\/\/\)$/{ s//\1/; q; }
4908
/^X\(\/\).*/{ s//\1/; q; }
4909
s/.*/./; q'`/stamp-h$_am_stamp_count
4912
cat >>$CONFIG_STATUS <<\_ACEOF
4915
# CONFIG_COMMANDS section.
4917
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4918
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4919
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4920
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4921
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4922
X"$ac_dest" : 'X\(//\)[^/]' \| \
4923
X"$ac_dest" : 'X\(//\)$' \| \
4924
X"$ac_dest" : 'X\(/\)' \| \
4925
. : '\(.\)' 2>/dev/null ||
4927
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4928
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4929
/^X\(\/\/\)$/{ s//\1/; q; }
4930
/^X\(\/\).*/{ s//\1/; q; }
4932
{ if $as_mkdir_p; then
4937
while test ! -d "$as_dir"; do
4938
as_dirs="$as_dir $as_dirs"
4939
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4940
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4941
X"$as_dir" : 'X\(//\)[^/]' \| \
4942
X"$as_dir" : 'X\(//\)$' \| \
4943
X"$as_dir" : 'X\(/\)' \| \
4944
. : '\(.\)' 2>/dev/null ||
4946
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4947
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4948
/^X\(\/\/\)$/{ s//\1/; q; }
4949
/^X\(\/\).*/{ s//\1/; q; }
4952
test ! -n "$as_dirs" || mkdir $as_dirs
4953
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4954
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4955
{ (exit 1); exit 1; }; }; }
4959
if test "$ac_dir" != .; then
4960
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4961
# A "../" for each directory in $ac_dir_suffix.
4962
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4964
ac_dir_suffix= ac_top_builddir=
4968
.) # No --srcdir option. We are building in place.
4970
if test -z "$ac_top_builddir"; then
4973
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4975
[\\/]* | ?:[\\/]* ) # Absolute path.
4976
ac_srcdir=$srcdir$ac_dir_suffix;
4977
ac_top_srcdir=$srcdir ;;
4979
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4980
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4983
# Do not use `cd foo && pwd` to compute absolute paths, because
4984
# the directories may not exist.
4986
.) ac_abs_builddir="$ac_dir";;
4989
.) ac_abs_builddir=`pwd`;;
4990
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4991
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4994
case $ac_abs_builddir in
4995
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4997
case ${ac_top_builddir}. in
4998
.) ac_abs_top_builddir=$ac_abs_builddir;;
4999
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5000
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5003
case $ac_abs_builddir in
5004
.) ac_abs_srcdir=$ac_srcdir;;
5007
.) ac_abs_srcdir=$ac_abs_builddir;;
5008
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5009
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5012
case $ac_abs_builddir in
5013
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5015
case $ac_top_srcdir in
5016
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5017
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5018
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5023
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5024
echo "$as_me: executing $ac_dest commands" >&6;}
5026
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5027
# Strip MF so we end up with the name of the file.
5028
mf=`echo "$mf" | sed -e 's/:.*$//'`
5029
# Check whether this is an Automake generated Makefile or not.
5030
# We used to match only the files named `Makefile.in', but
5031
# some people rename them; so instead we look at the file content.
5032
# Grep'ing the first line is not enough: some people post-process
5033
# each Makefile.in and add a new line on top of each file to say so.
5034
# So let's grep whole file.
5035
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5036
dirpart=`(dirname "$mf") 2>/dev/null ||
5037
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5038
X"$mf" : 'X\(//\)[^/]' \| \
5039
X"$mf" : 'X\(//\)$' \| \
5040
X"$mf" : 'X\(/\)' \| \
5041
. : '\(.\)' 2>/dev/null ||
5043
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5044
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5045
/^X\(\/\/\)$/{ s//\1/; q; }
5046
/^X\(\/\).*/{ s//\1/; q; }
5051
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5052
# Extract the definition of DEP_FILES from the Makefile without
5054
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5055
test -z "$DEPDIR" && continue
5056
# When using ansi2knr, U may be empty or an underscore; expand it
5057
U=`sed -n -e '/^U = / s///p' < "$mf"`
5058
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5059
# We invoke sed twice because it is the simplest approach to
5060
# changing $(DEPDIR) to its actual value in the expansion.
5061
for file in `sed -n -e '
5062
/^DEP_FILES = .*\\\\$/ {
5071
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5072
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5073
# Make sure the directory exists.
5074
test -f "$dirpart/$file" && continue
5075
fdir=`(dirname "$file") 2>/dev/null ||
5076
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5077
X"$file" : 'X\(//\)[^/]' \| \
5078
X"$file" : 'X\(//\)$' \| \
5079
X"$file" : 'X\(/\)' \| \
5080
. : '\(.\)' 2>/dev/null ||
5082
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5083
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5084
/^X\(\/\/\)$/{ s//\1/; q; }
5085
/^X\(\/\).*/{ s//\1/; q; }
5087
{ if $as_mkdir_p; then
5088
mkdir -p $dirpart/$fdir
5090
as_dir=$dirpart/$fdir
5092
while test ! -d "$as_dir"; do
5093
as_dirs="$as_dir $as_dirs"
5094
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5095
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5096
X"$as_dir" : 'X\(//\)[^/]' \| \
5097
X"$as_dir" : 'X\(//\)$' \| \
5098
X"$as_dir" : 'X\(/\)' \| \
5099
. : '\(.\)' 2>/dev/null ||
5101
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5102
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5103
/^X\(\/\/\)$/{ s//\1/; q; }
5104
/^X\(\/\).*/{ s//\1/; q; }
5107
test ! -n "$as_dirs" || mkdir $as_dirs
5108
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5109
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5110
{ (exit 1); exit 1; }; }; }
5112
# echo "creating $dirpart/$file"
5113
echo '# dummy' > "$dirpart/$file"
5121
cat >>$CONFIG_STATUS <<\_ACEOF
5123
{ (exit 0); exit 0; }
5125
chmod +x $CONFIG_STATUS
5126
ac_clean_files=$ac_clean_files_save
5129
# configure is writing to config.log, and then calls config.status.
5130
# config.status does its own redirection, appending to config.log.
5131
# Unfortunately, on DOS this fails, as config.log is still kept open
5132
# by configure, so config.status won't be able to write to it; its
5133
# output is simply discarded. So we exec the FD to /dev/null,
5134
# effectively closing config.log, so it can be properly (re)opened and
5135
# appended to by config.status. When coming back to configure, we
5136
# need to make the FD available again.
5137
if test "$no_create" != yes; then
5139
ac_config_status_args=
5140
test "$silent" = yes &&
5141
ac_config_status_args="$ac_config_status_args --quiet"
5143
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5145
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5146
# would make configure fail if this is the last instruction.
5147
$ac_cs_success || { (exit 1); exit 1; }