xref: /netbsd-src/tools/host-mkdep/configure (revision 22a0ae42984a5b5c1dd4d53d64f131a91a45d681)
154579742Stv#! /bin/sh
254579742Stv# Guess values for system-dependent variables and create Makefiles.
354579742Stv# Generated by Autoconf 2.52 for mkdep noversion.
454579742Stv#
5*22a0ae42Ssalo# Report bugs to <tech-toolchain@NetBSD.org>.
654579742Stv#
754579742Stv# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
854579742Stv# Free Software Foundation, Inc.
954579742Stv# This configure script is free software; the Free Software Foundation
1054579742Stv# gives unlimited permission to copy, distribute and modify it.
1154579742Stv
1254579742Stv# Avoid depending upon Character Ranges.
1354579742Stvas_cr_letters='abcdefghijklmnopqrstuvwxyz'
1454579742Stvas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1554579742Stvas_cr_Letters=$as_cr_letters$as_cr_LETTERS
1654579742Stvas_cr_digits='0123456789'
1754579742Stvas_cr_alnum=$as_cr_Letters$as_cr_digits
1854579742Stv
1954579742Stv# Sed expression to map a string onto a valid variable name.
2054579742Stvas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2154579742Stv
2254579742Stv# Sed expression to map a string onto a valid CPP name.
2354579742Stvas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2454579742Stv
2554579742Stv# Be Bourne compatible
2654579742Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2754579742Stv  emulate sh
2854579742Stv  NULLCMD=:
2954579742Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3054579742Stv  set -o posix
3154579742Stvfi
3254579742Stv
3354579742Stv# Name of the executable.
3454579742Stvas_me=`echo "$0" |sed 's,.*[\\/],,'`
3554579742Stv
3654579742Stvif expr a : '\(a\)' >/dev/null 2>&1; then
3754579742Stv  as_expr=expr
3854579742Stvelse
3954579742Stv  as_expr=false
4054579742Stvfi
4154579742Stv
4254579742Stvrm -f conf$$ conf$$.exe conf$$.file
4354579742Stvecho >conf$$.file
4454579742Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
4554579742Stv  # We could just check for DJGPP; but this test a) works b) is more generic
4654579742Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4754579742Stv  if test -f conf$$.exe; then
4854579742Stv    # Don't use ln at all; we don't have any links
4954579742Stv    as_ln_s='cp -p'
5054579742Stv  else
5154579742Stv    as_ln_s='ln -s'
5254579742Stv  fi
5354579742Stvelif ln conf$$.file conf$$ 2>/dev/null; then
5454579742Stv  as_ln_s=ln
5554579742Stvelse
5654579742Stv  as_ln_s='cp -p'
5754579742Stvfi
5854579742Stvrm -f conf$$ conf$$.exe conf$$.file
5954579742Stv
6054579742Stvas_executable_p="test -f"
6154579742Stv
6254579742Stv# Support unset when possible.
6354579742Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6454579742Stv  as_unset=unset
6554579742Stvelse
6654579742Stv  as_unset=false
6754579742Stvfi
6854579742Stv
6954579742Stv# NLS nuisances.
7054579742Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
7154579742Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
7254579742Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
7354579742Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
7454579742Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
7554579742Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
7654579742Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
7754579742Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
7854579742Stv
7954579742Stv# IFS
8054579742Stv# We need space, tab and new line, in precisely that order.
8154579742Stvas_nl='
8254579742Stv'
8354579742StvIFS=" 	$as_nl"
8454579742Stv
8554579742Stv# CDPATH.
8654579742Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
8754579742Stv
8854579742Stv# Name of the host.
8954579742Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
9054579742Stv# so uname gets run too.
9154579742Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
9254579742Stv
9354579742Stvexec 6>&1
9454579742Stv
9554579742Stv#
9654579742Stv# Initializations.
9754579742Stv#
9854579742Stvac_default_prefix=/usr/local
9954579742Stvcross_compiling=no
10054579742Stvsubdirs=
10154579742StvMFLAGS= MAKEFLAGS=
10254579742StvSHELL=${CONFIG_SHELL-/bin/sh}
10354579742Stv
10454579742Stv# Maximum number of lines to put in a shell here document.
10554579742Stv# This variable seems obsolete.  It should probably be removed, and
10654579742Stv# only ac_max_sed_lines should be used.
10754579742Stv: ${ac_max_here_lines=38}
10854579742Stv
10954579742Stv# Initialize some variables set by options.
11054579742Stvac_init_help=
11154579742Stvac_init_version=false
11254579742Stv# The variables have the same names as the options, with
11354579742Stv# dashes changed to underlines.
11454579742Stvcache_file=/dev/null
11554579742Stvexec_prefix=NONE
11654579742Stvno_create=
11754579742Stvno_recursion=
11854579742Stvprefix=NONE
11954579742Stvprogram_prefix=NONE
12054579742Stvprogram_suffix=NONE
12154579742Stvprogram_transform_name=s,x,x,
12254579742Stvsilent=
12354579742Stvsite=
12454579742Stvsrcdir=
12554579742Stvverbose=
12654579742Stvx_includes=NONE
12754579742Stvx_libraries=NONE
12854579742Stv
12954579742Stv# Installation directory options.
13054579742Stv# These are left unexpanded so users can "make install exec_prefix=/foo"
13154579742Stv# and all the variables that are supposed to be based on exec_prefix
13254579742Stv# by default will actually change.
13354579742Stv# Use braces instead of parens because sh, perl, etc. also accept them.
13454579742Stvbindir='${exec_prefix}/bin'
13554579742Stvsbindir='${exec_prefix}/sbin'
13654579742Stvlibexecdir='${exec_prefix}/libexec'
13754579742Stvdatadir='${prefix}/share'
13854579742Stvsysconfdir='${prefix}/etc'
13954579742Stvsharedstatedir='${prefix}/com'
14054579742Stvlocalstatedir='${prefix}/var'
14154579742Stvlibdir='${exec_prefix}/lib'
14254579742Stvincludedir='${prefix}/include'
14354579742Stvoldincludedir='/usr/include'
14454579742Stvinfodir='${prefix}/info'
14554579742Stvmandir='${prefix}/man'
14654579742Stv
14754579742Stv# Identity of this package.
14854579742StvPACKAGE_NAME='mkdep'
14954579742StvPACKAGE_TARNAME='mkdep'
15054579742StvPACKAGE_VERSION='noversion'
15154579742StvPACKAGE_STRING='mkdep noversion'
152*22a0ae42SsaloPACKAGE_BUGREPORT='tech-toolchain@NetBSD.org'
15354579742Stv
15454579742Stvac_prev=
15554579742Stvfor ac_option
15654579742Stvdo
15754579742Stv  # If the previous option needs an argument, assign it.
15854579742Stv  if test -n "$ac_prev"; then
15954579742Stv    eval "$ac_prev=\$ac_option"
16054579742Stv    ac_prev=
16154579742Stv    continue
16254579742Stv  fi
16354579742Stv
16454579742Stv  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
16554579742Stv
16654579742Stv  # Accept the important Cygnus configure options, so we can diagnose typos.
16754579742Stv
16854579742Stv  case $ac_option in
16954579742Stv
17054579742Stv  -bindir | --bindir | --bindi | --bind | --bin | --bi)
17154579742Stv    ac_prev=bindir ;;
17254579742Stv  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
17354579742Stv    bindir=$ac_optarg ;;
17454579742Stv
17554579742Stv  -build | --build | --buil | --bui | --bu)
17654579742Stv    ac_prev=build_alias ;;
17754579742Stv  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
17854579742Stv    build_alias=$ac_optarg ;;
17954579742Stv
18054579742Stv  -cache-file | --cache-file | --cache-fil | --cache-fi \
18154579742Stv  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18254579742Stv    ac_prev=cache_file ;;
18354579742Stv  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18454579742Stv  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18554579742Stv    cache_file=$ac_optarg ;;
18654579742Stv
18754579742Stv  --config-cache | -C)
18854579742Stv    cache_file=config.cache ;;
18954579742Stv
19054579742Stv  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
19154579742Stv    ac_prev=datadir ;;
19254579742Stv  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
19354579742Stv  | --da=*)
19454579742Stv    datadir=$ac_optarg ;;
19554579742Stv
19654579742Stv  -disable-* | --disable-*)
19754579742Stv    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
19854579742Stv    # Reject names that are not valid shell variable names.
19954579742Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
20054579742Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
20154579742Stv   { (exit 1); exit 1; }; }
20254579742Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
20354579742Stv    eval "enable_$ac_feature=no" ;;
20454579742Stv
20554579742Stv  -enable-* | --enable-*)
20654579742Stv    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
20754579742Stv    # Reject names that are not valid shell variable names.
20854579742Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
20954579742Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
21054579742Stv   { (exit 1); exit 1; }; }
21154579742Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
21254579742Stv    case $ac_option in
21354579742Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
21454579742Stv      *) ac_optarg=yes ;;
21554579742Stv    esac
21654579742Stv    eval "enable_$ac_feature='$ac_optarg'" ;;
21754579742Stv
21854579742Stv  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
21954579742Stv  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
22054579742Stv  | --exec | --exe | --ex)
22154579742Stv    ac_prev=exec_prefix ;;
22254579742Stv  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
22354579742Stv  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
22454579742Stv  | --exec=* | --exe=* | --ex=*)
22554579742Stv    exec_prefix=$ac_optarg ;;
22654579742Stv
22754579742Stv  -gas | --gas | --ga | --g)
22854579742Stv    # Obsolete; use --with-gas.
22954579742Stv    with_gas=yes ;;
23054579742Stv
23154579742Stv  -help | --help | --hel | --he | -h)
23254579742Stv    ac_init_help=long ;;
23354579742Stv  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
23454579742Stv    ac_init_help=recursive ;;
23554579742Stv  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
23654579742Stv    ac_init_help=short ;;
23754579742Stv
23854579742Stv  -host | --host | --hos | --ho)
23954579742Stv    ac_prev=host_alias ;;
24054579742Stv  -host=* | --host=* | --hos=* | --ho=*)
24154579742Stv    host_alias=$ac_optarg ;;
24254579742Stv
24354579742Stv  -includedir | --includedir | --includedi | --included | --include \
24454579742Stv  | --includ | --inclu | --incl | --inc)
24554579742Stv    ac_prev=includedir ;;
24654579742Stv  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
24754579742Stv  | --includ=* | --inclu=* | --incl=* | --inc=*)
24854579742Stv    includedir=$ac_optarg ;;
24954579742Stv
25054579742Stv  -infodir | --infodir | --infodi | --infod | --info | --inf)
25154579742Stv    ac_prev=infodir ;;
25254579742Stv  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
25354579742Stv    infodir=$ac_optarg ;;
25454579742Stv
25554579742Stv  -libdir | --libdir | --libdi | --libd)
25654579742Stv    ac_prev=libdir ;;
25754579742Stv  -libdir=* | --libdir=* | --libdi=* | --libd=*)
25854579742Stv    libdir=$ac_optarg ;;
25954579742Stv
26054579742Stv  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
26154579742Stv  | --libexe | --libex | --libe)
26254579742Stv    ac_prev=libexecdir ;;
26354579742Stv  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
26454579742Stv  | --libexe=* | --libex=* | --libe=*)
26554579742Stv    libexecdir=$ac_optarg ;;
26654579742Stv
26754579742Stv  -localstatedir | --localstatedir | --localstatedi | --localstated \
26854579742Stv  | --localstate | --localstat | --localsta | --localst \
26954579742Stv  | --locals | --local | --loca | --loc | --lo)
27054579742Stv    ac_prev=localstatedir ;;
27154579742Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
27254579742Stv  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
27354579742Stv  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
27454579742Stv    localstatedir=$ac_optarg ;;
27554579742Stv
27654579742Stv  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
27754579742Stv    ac_prev=mandir ;;
27854579742Stv  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
27954579742Stv    mandir=$ac_optarg ;;
28054579742Stv
28154579742Stv  -nfp | --nfp | --nf)
28254579742Stv    # Obsolete; use --without-fp.
28354579742Stv    with_fp=no ;;
28454579742Stv
28554579742Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
28654579742Stv  | --no-cr | --no-c)
28754579742Stv    no_create=yes ;;
28854579742Stv
28954579742Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
29054579742Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
29154579742Stv    no_recursion=yes ;;
29254579742Stv
29354579742Stv  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
29454579742Stv  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
29554579742Stv  | --oldin | --oldi | --old | --ol | --o)
29654579742Stv    ac_prev=oldincludedir ;;
29754579742Stv  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
29854579742Stv  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
29954579742Stv  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
30054579742Stv    oldincludedir=$ac_optarg ;;
30154579742Stv
30254579742Stv  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
30354579742Stv    ac_prev=prefix ;;
30454579742Stv  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
30554579742Stv    prefix=$ac_optarg ;;
30654579742Stv
30754579742Stv  -program-prefix | --program-prefix | --program-prefi | --program-pref \
30854579742Stv  | --program-pre | --program-pr | --program-p)
30954579742Stv    ac_prev=program_prefix ;;
31054579742Stv  -program-prefix=* | --program-prefix=* | --program-prefi=* \
31154579742Stv  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
31254579742Stv    program_prefix=$ac_optarg ;;
31354579742Stv
31454579742Stv  -program-suffix | --program-suffix | --program-suffi | --program-suff \
31554579742Stv  | --program-suf | --program-su | --program-s)
31654579742Stv    ac_prev=program_suffix ;;
31754579742Stv  -program-suffix=* | --program-suffix=* | --program-suffi=* \
31854579742Stv  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
31954579742Stv    program_suffix=$ac_optarg ;;
32054579742Stv
32154579742Stv  -program-transform-name | --program-transform-name \
32254579742Stv  | --program-transform-nam | --program-transform-na \
32354579742Stv  | --program-transform-n | --program-transform- \
32454579742Stv  | --program-transform | --program-transfor \
32554579742Stv  | --program-transfo | --program-transf \
32654579742Stv  | --program-trans | --program-tran \
32754579742Stv  | --progr-tra | --program-tr | --program-t)
32854579742Stv    ac_prev=program_transform_name ;;
32954579742Stv  -program-transform-name=* | --program-transform-name=* \
33054579742Stv  | --program-transform-nam=* | --program-transform-na=* \
33154579742Stv  | --program-transform-n=* | --program-transform-=* \
33254579742Stv  | --program-transform=* | --program-transfor=* \
33354579742Stv  | --program-transfo=* | --program-transf=* \
33454579742Stv  | --program-trans=* | --program-tran=* \
33554579742Stv  | --progr-tra=* | --program-tr=* | --program-t=*)
33654579742Stv    program_transform_name=$ac_optarg ;;
33754579742Stv
33854579742Stv  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33954579742Stv  | -silent | --silent | --silen | --sile | --sil)
34054579742Stv    silent=yes ;;
34154579742Stv
34254579742Stv  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
34354579742Stv    ac_prev=sbindir ;;
34454579742Stv  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
34554579742Stv  | --sbi=* | --sb=*)
34654579742Stv    sbindir=$ac_optarg ;;
34754579742Stv
34854579742Stv  -sharedstatedir | --sharedstatedir | --sharedstatedi \
34954579742Stv  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
35054579742Stv  | --sharedst | --shareds | --shared | --share | --shar \
35154579742Stv  | --sha | --sh)
35254579742Stv    ac_prev=sharedstatedir ;;
35354579742Stv  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
35454579742Stv  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
35554579742Stv  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
35654579742Stv  | --sha=* | --sh=*)
35754579742Stv    sharedstatedir=$ac_optarg ;;
35854579742Stv
35954579742Stv  -site | --site | --sit)
36054579742Stv    ac_prev=site ;;
36154579742Stv  -site=* | --site=* | --sit=*)
36254579742Stv    site=$ac_optarg ;;
36354579742Stv
36454579742Stv  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36554579742Stv    ac_prev=srcdir ;;
36654579742Stv  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36754579742Stv    srcdir=$ac_optarg ;;
36854579742Stv
36954579742Stv  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
37054579742Stv  | --syscon | --sysco | --sysc | --sys | --sy)
37154579742Stv    ac_prev=sysconfdir ;;
37254579742Stv  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
37354579742Stv  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
37454579742Stv    sysconfdir=$ac_optarg ;;
37554579742Stv
37654579742Stv  -target | --target | --targe | --targ | --tar | --ta | --t)
37754579742Stv    ac_prev=target_alias ;;
37854579742Stv  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
37954579742Stv    target_alias=$ac_optarg ;;
38054579742Stv
38154579742Stv  -v | -verbose | --verbose | --verbos | --verbo | --verb)
38254579742Stv    verbose=yes ;;
38354579742Stv
38454579742Stv  -version | --version | --versio | --versi | --vers | -V)
38554579742Stv    ac_init_version=: ;;
38654579742Stv
38754579742Stv  -with-* | --with-*)
38854579742Stv    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
38954579742Stv    # Reject names that are not valid shell variable names.
39054579742Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
39154579742Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
39254579742Stv   { (exit 1); exit 1; }; }
39354579742Stv    ac_package=`echo $ac_package| sed 's/-/_/g'`
39454579742Stv    case $ac_option in
39554579742Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
39654579742Stv      *) ac_optarg=yes ;;
39754579742Stv    esac
39854579742Stv    eval "with_$ac_package='$ac_optarg'" ;;
39954579742Stv
40054579742Stv  -without-* | --without-*)
40154579742Stv    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
40254579742Stv    # Reject names that are not valid shell variable names.
40354579742Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
40454579742Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
40554579742Stv   { (exit 1); exit 1; }; }
40654579742Stv    ac_package=`echo $ac_package | sed 's/-/_/g'`
40754579742Stv    eval "with_$ac_package=no" ;;
40854579742Stv
40954579742Stv  --x)
41054579742Stv    # Obsolete; use --with-x.
41154579742Stv    with_x=yes ;;
41254579742Stv
41354579742Stv  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
41454579742Stv  | --x-incl | --x-inc | --x-in | --x-i)
41554579742Stv    ac_prev=x_includes ;;
41654579742Stv  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
41754579742Stv  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
41854579742Stv    x_includes=$ac_optarg ;;
41954579742Stv
42054579742Stv  -x-libraries | --x-libraries | --x-librarie | --x-librari \
42154579742Stv  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
42254579742Stv    ac_prev=x_libraries ;;
42354579742Stv  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
42454579742Stv  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
42554579742Stv    x_libraries=$ac_optarg ;;
42654579742Stv
42754579742Stv  -*) { echo "$as_me: error: unrecognized option: $ac_option
42854579742StvTry \`$0 --help' for more information." >&2
42954579742Stv   { (exit 1); exit 1; }; }
43054579742Stv    ;;
43154579742Stv
43254579742Stv  *=*)
43354579742Stv    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
43454579742Stv    # Reject names that are not valid shell variable names.
43554579742Stv    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
43654579742Stv      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
43754579742Stv   { (exit 1); exit 1; }; }
43854579742Stv    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
43954579742Stv    eval "$ac_envvar='$ac_optarg'"
44054579742Stv    export $ac_envvar ;;
44154579742Stv
44254579742Stv  *)
44354579742Stv    # FIXME: should be removed in autoconf 3.0.
44454579742Stv    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
44554579742Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
44654579742Stv      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
44754579742Stv    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
44854579742Stv    ;;
44954579742Stv
45054579742Stv  esac
45154579742Stvdone
45254579742Stv
45354579742Stvif test -n "$ac_prev"; then
45454579742Stv  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
45554579742Stv  { echo "$as_me: error: missing argument to $ac_option" >&2
45654579742Stv   { (exit 1); exit 1; }; }
45754579742Stvfi
45854579742Stv
45954579742Stv# Be sure to have absolute paths.
46054579742Stvfor ac_var in exec_prefix prefix
46154579742Stvdo
46254579742Stv  eval ac_val=$`echo $ac_var`
46354579742Stv  case $ac_val in
46454579742Stv    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
46554579742Stv    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
46654579742Stv   { (exit 1); exit 1; }; };;
46754579742Stv  esac
46854579742Stvdone
46954579742Stv
47054579742Stv# Be sure to have absolute paths.
47154579742Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
47254579742Stv              localstatedir libdir includedir oldincludedir infodir mandir
47354579742Stvdo
47454579742Stv  eval ac_val=$`echo $ac_var`
47554579742Stv  case $ac_val in
47654579742Stv    [\\/$]* | ?:[\\/]* ) ;;
47754579742Stv    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
47854579742Stv   { (exit 1); exit 1; }; };;
47954579742Stv  esac
48054579742Stvdone
48154579742Stv
48254579742Stv# There might be people who depend on the old broken behavior: `$host'
48354579742Stv# used to hold the argument of --host etc.
48454579742Stvbuild=$build_alias
48554579742Stvhost=$host_alias
48654579742Stvtarget=$target_alias
48754579742Stv
48854579742Stv# FIXME: should be removed in autoconf 3.0.
48954579742Stvif test "x$host_alias" != x; then
49054579742Stv  if test "x$build_alias" = x; then
49154579742Stv    cross_compiling=maybe
49254579742Stv    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
49354579742Stv    If a cross compiler is detected then cross compile mode will be used." >&2
49454579742Stv  elif test "x$build_alias" != "x$host_alias"; then
49554579742Stv    cross_compiling=yes
49654579742Stv  fi
49754579742Stvfi
49854579742Stv
49954579742Stvac_tool_prefix=
50054579742Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias-
50154579742Stv
50254579742Stvtest "$silent" = yes && exec 6>/dev/null
50354579742Stv
50454579742Stv# Find the source files, if location was not specified.
50554579742Stvif test -z "$srcdir"; then
50654579742Stv  ac_srcdir_defaulted=yes
50754579742Stv  # Try the directory containing this script, then its parent.
50854579742Stv  ac_prog=$0
50954579742Stv  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
51054579742Stv  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
51154579742Stv  srcdir=$ac_confdir
51254579742Stv  if test ! -r $srcdir/$ac_unique_file; then
51354579742Stv    srcdir=..
51454579742Stv  fi
51554579742Stvelse
51654579742Stv  ac_srcdir_defaulted=no
51754579742Stvfi
51854579742Stvif test ! -r $srcdir/$ac_unique_file; then
51954579742Stv  if test "$ac_srcdir_defaulted" = yes; then
52054579742Stv    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
52154579742Stv   { (exit 1); exit 1; }; }
52254579742Stv  else
52354579742Stv    { echo "$as_me: error: cannot find sources in $srcdir" >&2
52454579742Stv   { (exit 1); exit 1; }; }
52554579742Stv  fi
52654579742Stvfi
52754579742Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
52854579742Stvac_env_build_alias_set=${build_alias+set}
52954579742Stvac_env_build_alias_value=$build_alias
53054579742Stvac_cv_env_build_alias_set=${build_alias+set}
53154579742Stvac_cv_env_build_alias_value=$build_alias
53254579742Stvac_env_host_alias_set=${host_alias+set}
53354579742Stvac_env_host_alias_value=$host_alias
53454579742Stvac_cv_env_host_alias_set=${host_alias+set}
53554579742Stvac_cv_env_host_alias_value=$host_alias
53654579742Stvac_env_target_alias_set=${target_alias+set}
53754579742Stvac_env_target_alias_value=$target_alias
53854579742Stvac_cv_env_target_alias_set=${target_alias+set}
53954579742Stvac_cv_env_target_alias_value=$target_alias
54054579742Stvac_env_CC_set=${CC+set}
54154579742Stvac_env_CC_value=$CC
54254579742Stvac_cv_env_CC_set=${CC+set}
54354579742Stvac_cv_env_CC_value=$CC
54454579742Stvac_env_CFLAGS_set=${CFLAGS+set}
54554579742Stvac_env_CFLAGS_value=$CFLAGS
54654579742Stvac_cv_env_CFLAGS_set=${CFLAGS+set}
54754579742Stvac_cv_env_CFLAGS_value=$CFLAGS
54854579742Stvac_env_LDFLAGS_set=${LDFLAGS+set}
54954579742Stvac_env_LDFLAGS_value=$LDFLAGS
55054579742Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set}
55154579742Stvac_cv_env_LDFLAGS_value=$LDFLAGS
55254579742Stvac_env_CPPFLAGS_set=${CPPFLAGS+set}
55354579742Stvac_env_CPPFLAGS_value=$CPPFLAGS
55454579742Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
55554579742Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS
55654579742Stvac_env_CPP_set=${CPP+set}
55754579742Stvac_env_CPP_value=$CPP
55854579742Stvac_cv_env_CPP_set=${CPP+set}
55954579742Stvac_cv_env_CPP_value=$CPP
56054579742Stv
56154579742Stv#
56254579742Stv# Report the --help message.
56354579742Stv#
56454579742Stvif test "$ac_init_help" = "long"; then
56554579742Stv  # Omit some internal or obsolete options to make the list less imposing.
56654579742Stv  # This message is too long to be a string in the A/UX 3.1 sh.
56754579742Stv  cat <<EOF
56854579742Stv\`configure' configures mkdep noversion to adapt to many kinds of systems.
56954579742Stv
57054579742StvUsage: $0 [OPTION]... [VAR=VALUE]...
57154579742Stv
57254579742StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as
57354579742StvVAR=VALUE.  See below for descriptions of some of the useful variables.
57454579742Stv
57554579742StvDefaults for the options are specified in brackets.
57654579742Stv
57754579742StvConfiguration:
57854579742Stv  -h, --help              display this help and exit
57954579742Stv      --help=short        display options specific to this package
58054579742Stv      --help=recursive    display the short help of all the included packages
58154579742Stv  -V, --version           display version information and exit
58254579742Stv  -q, --quiet, --silent   do not print \`checking...' messages
58354579742Stv      --cache-file=FILE   cache test results in FILE [disabled]
58454579742Stv  -C, --config-cache      alias for \`--cache-file=config.cache'
58554579742Stv  -n, --no-create         do not create output files
58654579742Stv      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
58754579742Stv
58854579742StvEOF
58954579742Stv
59054579742Stv  cat <<EOF
59154579742StvInstallation directories:
59254579742Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
59354579742Stv                          [$ac_default_prefix]
59454579742Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
59554579742Stv                          [PREFIX]
59654579742Stv
59754579742StvBy default, \`make install' will install all the files in
59854579742Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
59954579742Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
60054579742Stvfor instance \`--prefix=\$HOME'.
60154579742Stv
60254579742StvFor better control, use the options below.
60354579742Stv
60454579742StvFine tuning of the installation directories:
60554579742Stv  --bindir=DIR           user executables [EPREFIX/bin]
60654579742Stv  --sbindir=DIR          system admin executables [EPREFIX/sbin]
60754579742Stv  --libexecdir=DIR       program executables [EPREFIX/libexec]
60854579742Stv  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
60954579742Stv  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
61054579742Stv  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
61154579742Stv  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
61254579742Stv  --libdir=DIR           object code libraries [EPREFIX/lib]
61354579742Stv  --includedir=DIR       C header files [PREFIX/include]
61454579742Stv  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
61554579742Stv  --infodir=DIR          info documentation [PREFIX/info]
61654579742Stv  --mandir=DIR           man documentation [PREFIX/man]
61754579742StvEOF
61854579742Stv
61954579742Stv  cat <<\EOF
62054579742StvEOF
62154579742Stvfi
62254579742Stv
62354579742Stvif test -n "$ac_init_help"; then
62454579742Stv  case $ac_init_help in
62554579742Stv     short | recursive ) echo "Configuration of mkdep noversion:";;
62654579742Stv   esac
62754579742Stv  cat <<\EOF
62854579742Stv
62954579742StvSome influential environment variables:
63054579742Stv  CC          C compiler command
63154579742Stv  CFLAGS      C compiler flags
63254579742Stv  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
63354579742Stv              nonstandard directory <lib dir>
63454579742Stv  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
63554579742Stv              headers in a nonstandard directory <include dir>
63654579742Stv  CPP         C preprocessor
63754579742Stv
63854579742StvUse these variables to override the choices made by `configure' or to help
63954579742Stvit to find libraries and programs with nonstandard names/locations.
64054579742Stv
641*22a0ae42SsaloReport bugs to <tech-toolchain@NetBSD.org>.
64254579742StvEOF
64354579742Stvfi
64454579742Stv
64554579742Stvif test "$ac_init_help" = "recursive"; then
64654579742Stv  # If there are subdirs, report their specific --help.
64754579742Stv  ac_popdir=`pwd`
64854579742Stv  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
64954579742Stv    cd $ac_subdir
65054579742Stv    # A "../" for each directory in /$ac_subdir.
65154579742Stv    ac_dots=`echo $ac_subdir |
65254579742Stv             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
65354579742Stv
65454579742Stv    case $srcdir in
65554579742Stv    .) # No --srcdir option.  We are building in place.
65654579742Stv      ac_sub_srcdir=$srcdir ;;
65754579742Stv    [\\/]* | ?:[\\/]* ) # Absolute path.
65854579742Stv      ac_sub_srcdir=$srcdir/$ac_subdir ;;
65954579742Stv    *) # Relative path.
66054579742Stv      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
66154579742Stv    esac
66254579742Stv
66354579742Stv    # Check for guested configure; otherwise get Cygnus style configure.
66454579742Stv    if test -f $ac_sub_srcdir/configure.gnu; then
66554579742Stv      echo
66654579742Stv      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
66754579742Stv    elif test -f $ac_sub_srcdir/configure; then
66854579742Stv      echo
66954579742Stv      $SHELL $ac_sub_srcdir/configure  --help=recursive
67054579742Stv    elif test -f $ac_sub_srcdir/configure.ac ||
67154579742Stv           test -f $ac_sub_srcdir/configure.in; then
67254579742Stv      echo
67354579742Stv      $ac_configure --help
67454579742Stv    else
67554579742Stv      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
67654579742Stv    fi
67754579742Stv    cd $ac_popdir
67854579742Stv  done
67954579742Stvfi
68054579742Stv
68154579742Stvtest -n "$ac_init_help" && exit 0
68254579742Stvif $ac_init_version; then
68354579742Stv  cat <<\EOF
68454579742Stvmkdep configure noversion
68554579742Stvgenerated by GNU Autoconf 2.52
68654579742Stv
68754579742StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
68854579742StvFree Software Foundation, Inc.
68954579742StvThis configure script is free software; the Free Software Foundation
69054579742Stvgives unlimited permission to copy, distribute and modify it.
69154579742StvEOF
69254579742Stv  exit 0
69354579742Stvfi
69454579742Stvexec 5>config.log
69554579742Stvcat >&5 <<EOF
69654579742StvThis file contains any messages produced by compilers while
69754579742Stvrunning configure, to aid debugging if configure makes a mistake.
69854579742Stv
69954579742StvIt was created by mkdep $as_me noversion, which was
70054579742Stvgenerated by GNU Autoconf 2.52.  Invocation command line was
70154579742Stv
70254579742Stv  $ $0 $@
70354579742Stv
70454579742StvEOF
70554579742Stv{
70654579742Stvcat <<_ASUNAME
70754579742Stv## ---------- ##
70854579742Stv## Platform.  ##
70954579742Stv## ---------- ##
71054579742Stv
71154579742Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
71254579742Stvuname -m = `(uname -m) 2>/dev/null || echo unknown`
71354579742Stvuname -r = `(uname -r) 2>/dev/null || echo unknown`
71454579742Stvuname -s = `(uname -s) 2>/dev/null || echo unknown`
71554579742Stvuname -v = `(uname -v) 2>/dev/null || echo unknown`
71654579742Stv
71754579742Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
71854579742Stv/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
71954579742Stv
72054579742Stv/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
72154579742Stv/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
72254579742Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
72354579742Stvhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
72454579742Stv/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
72554579742Stv/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
72654579742Stv/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
72754579742Stv
72854579742StvPATH = $PATH
72954579742Stv
73054579742Stv_ASUNAME
73154579742Stv} >&5
73254579742Stv
73354579742Stvcat >&5 <<EOF
73454579742Stv## ------------ ##
73554579742Stv## Core tests.  ##
73654579742Stv## ------------ ##
73754579742Stv
73854579742StvEOF
73954579742Stv
74054579742Stv# Keep a trace of the command line.
74154579742Stv# Strip out --no-create and --no-recursion so they do not pile up.
74254579742Stv# Also quote any args containing shell meta-characters.
74354579742Stvac_configure_args=
74454579742Stvac_sep=
74554579742Stvfor ac_arg
74654579742Stvdo
74754579742Stv  case $ac_arg in
74854579742Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
74954579742Stv  | --no-cr | --no-c) ;;
75054579742Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
75154579742Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
75254579742Stv  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
75354579742Stv    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
75454579742Stv    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
75554579742Stv    ac_sep=" " ;;
75654579742Stv  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
75754579742Stv     ac_sep=" " ;;
75854579742Stv  esac
75954579742Stv  # Get rid of the leading space.
76054579742Stvdone
76154579742Stv
76254579742Stv# When interrupted or exit'd, cleanup temporary files, and complete
76354579742Stv# config.log.  We remove comments because anyway the quotes in there
76454579742Stv# would cause problems or look ugly.
76554579742Stvtrap 'exit_status=$?
76654579742Stv  # Save into config.log some information that might help in debugging.
76754579742Stv  echo >&5
76854579742Stv  echo "## ----------------- ##" >&5
76954579742Stv  echo "## Cache variables.  ##" >&5
77054579742Stv  echo "## ----------------- ##" >&5
77154579742Stv  echo >&5
77254579742Stv  # The following way of writing the cache mishandles newlines in values,
77354579742Stv{
77454579742Stv  (set) 2>&1 |
77554579742Stv    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
77654579742Stv    *ac_space=\ *)
77754579742Stv      sed -n \
77854579742Stv        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
77954579742Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
78054579742Stv      ;;
78154579742Stv    *)
78254579742Stv      sed -n \
78354579742Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
78454579742Stv      ;;
78554579742Stv    esac;
78654579742Stv} >&5
78754579742Stv  sed "/^$/d" confdefs.h >conftest.log
78854579742Stv  if test -s conftest.log; then
78954579742Stv    echo >&5
79054579742Stv    echo "## ------------ ##" >&5
79154579742Stv    echo "## confdefs.h.  ##" >&5
79254579742Stv    echo "## ------------ ##" >&5
79354579742Stv    echo >&5
79454579742Stv    cat conftest.log >&5
79554579742Stv  fi
79654579742Stv  (echo; echo) >&5
79754579742Stv  test "$ac_signal" != 0 &&
79854579742Stv    echo "$as_me: caught signal $ac_signal" >&5
79954579742Stv  echo "$as_me: exit $exit_status" >&5
80054579742Stv  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
80154579742Stv    exit $exit_status
80254579742Stv     ' 0
80354579742Stvfor ac_signal in 1 2 13 15; do
80454579742Stv  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
80554579742Stvdone
80654579742Stvac_signal=0
80754579742Stv
80854579742Stv# confdefs.h avoids OS command line length limits that DEFS can exceed.
80954579742Stvrm -rf conftest* confdefs.h
81054579742Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline.
81154579742Stvecho >confdefs.h
81254579742Stv
81354579742Stv# Let the site file select an alternate cache file if it wants to.
81454579742Stv# Prefer explicitly selected file to automatically selected ones.
81554579742Stvif test -z "$CONFIG_SITE"; then
81654579742Stv  if test "x$prefix" != xNONE; then
81754579742Stv    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
81854579742Stv  else
81954579742Stv    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
82054579742Stv  fi
82154579742Stvfi
82254579742Stvfor ac_site_file in $CONFIG_SITE; do
82354579742Stv  if test -r "$ac_site_file"; then
82454579742Stv    { echo "$as_me:824: loading site script $ac_site_file" >&5
82554579742Stvecho "$as_me: loading site script $ac_site_file" >&6;}
82654579742Stv    cat "$ac_site_file" >&5
82754579742Stv    . "$ac_site_file"
82854579742Stv  fi
82954579742Stvdone
83054579742Stv
83154579742Stvif test -r "$cache_file"; then
83254579742Stv  # Some versions of bash will fail to source /dev/null (special
83354579742Stv  # files actually), so we avoid doing that.
83454579742Stv  if test -f "$cache_file"; then
83554579742Stv    { echo "$as_me:835: loading cache $cache_file" >&5
83654579742Stvecho "$as_me: loading cache $cache_file" >&6;}
83754579742Stv    case $cache_file in
83854579742Stv      [\\/]* | ?:[\\/]* ) . $cache_file;;
83954579742Stv      *)                      . ./$cache_file;;
84054579742Stv    esac
84154579742Stv  fi
84254579742Stvelse
84354579742Stv  { echo "$as_me:843: creating cache $cache_file" >&5
84454579742Stvecho "$as_me: creating cache $cache_file" >&6;}
84554579742Stv  >$cache_file
84654579742Stvfi
84754579742Stv
84854579742Stv# Check that the precious variables saved in the cache have kept the same
84954579742Stv# value.
85054579742Stvac_cache_corrupted=false
85154579742Stvfor ac_var in `(set) 2>&1 |
85254579742Stv               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
85354579742Stv  eval ac_old_set=\$ac_cv_env_${ac_var}_set
85454579742Stv  eval ac_new_set=\$ac_env_${ac_var}_set
85554579742Stv  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
85654579742Stv  eval ac_new_val="\$ac_env_${ac_var}_value"
85754579742Stv  case $ac_old_set,$ac_new_set in
85854579742Stv    set,)
85954579742Stv      { echo "$as_me:859: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
86054579742Stvecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
86154579742Stv      ac_cache_corrupted=: ;;
86254579742Stv    ,set)
86354579742Stv      { echo "$as_me:863: error: \`$ac_var' was not set in the previous run" >&5
86454579742Stvecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
86554579742Stv      ac_cache_corrupted=: ;;
86654579742Stv    ,);;
86754579742Stv    *)
86854579742Stv      if test "x$ac_old_val" != "x$ac_new_val"; then
86954579742Stv        { echo "$as_me:869: error: \`$ac_var' has changed since the previous run:" >&5
87054579742Stvecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
87154579742Stv        { echo "$as_me:871:   former value:  $ac_old_val" >&5
87254579742Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
87354579742Stv        { echo "$as_me:873:   current value: $ac_new_val" >&5
87454579742Stvecho "$as_me:   current value: $ac_new_val" >&2;}
87554579742Stv        ac_cache_corrupted=:
87654579742Stv      fi;;
87754579742Stv  esac
87854579742Stv  # Pass precious variables to config.status.  It doesn't matter if
87954579742Stv  # we pass some twice (in addition to the command line arguments).
88054579742Stv  if test "$ac_new_set" = set; then
88154579742Stv    case $ac_new_val in
88254579742Stv    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
88354579742Stv      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
88454579742Stv      ac_configure_args="$ac_configure_args '$ac_arg'"
88554579742Stv      ;;
88654579742Stv    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
88754579742Stv       ;;
88854579742Stv    esac
88954579742Stv  fi
89054579742Stvdone
89154579742Stvif $ac_cache_corrupted; then
89254579742Stv  { echo "$as_me:892: error: changes in the environment can compromise the build" >&5
89354579742Stvecho "$as_me: error: changes in the environment can compromise the build" >&2;}
89454579742Stv  { { echo "$as_me:894: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
89554579742Stvecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
89654579742Stv   { (exit 1); exit 1; }; }
89754579742Stvfi
89854579742Stv
89954579742Stvac_ext=c
90054579742Stvac_cpp='$CPP $CPPFLAGS'
90154579742Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90254579742Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90354579742Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
90454579742Stv
90554579742Stvcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
90654579742Stv  *c*,-n*) ECHO_N= ECHO_C='
90754579742Stv' ECHO_T='	' ;;
90854579742Stv  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
90954579742Stv  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
91054579742Stvesac
91154579742Stvecho "#! $SHELL" >conftest.sh
91254579742Stvecho  "exit 0"   >>conftest.sh
91354579742Stvchmod +x conftest.sh
91454579742Stvif { (echo "$as_me:914: PATH=\".;.\"; conftest.sh") >&5
91554579742Stv  (PATH=".;."; conftest.sh) 2>&5
91654579742Stv  ac_status=$?
91754579742Stv  echo "$as_me:917: \$? = $ac_status" >&5
91854579742Stv  (exit $ac_status); }; then
91954579742Stv  ac_path_separator=';'
92054579742Stvelse
92154579742Stv  ac_path_separator=:
92254579742Stvfi
92354579742StvPATH_SEPARATOR="$ac_path_separator"
92454579742Stvrm -f conftest.sh
92554579742Stv
926a25cf0dfSthorpej# Extract the first word of "sh", so it can be a program name with args.
927a25cf0dfSthorpejset dummy sh; ac_word=$2
928a25cf0dfSthorpejecho "$as_me:928: checking for $ac_word" >&5
929a25cf0dfSthorpejecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
930a25cf0dfSthorpejif test "${ac_cv_path_BSHELL+set}" = set; then
931a25cf0dfSthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
932a25cf0dfSthorpejelse
933a25cf0dfSthorpej  case $BSHELL in
934a25cf0dfSthorpej  [\\/]* | ?:[\\/]*)
935a25cf0dfSthorpej  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
936a25cf0dfSthorpej  ;;
937a25cf0dfSthorpej  *)
938a25cf0dfSthorpej  ac_save_IFS=$IFS; IFS=$ac_path_separator
939a25cf0dfSthorpejac_dummy="$PATH"
940a25cf0dfSthorpejfor ac_dir in $ac_dummy; do
941a25cf0dfSthorpej  IFS=$ac_save_IFS
942a25cf0dfSthorpej  test -z "$ac_dir" && ac_dir=.
943a25cf0dfSthorpej  if $as_executable_p "$ac_dir/$ac_word"; then
944a25cf0dfSthorpej   ac_cv_path_BSHELL="$ac_dir/$ac_word"
945a25cf0dfSthorpej   echo "$as_me:945: found $ac_dir/$ac_word" >&5
946a25cf0dfSthorpej   break
947a25cf0dfSthorpejfi
948a25cf0dfSthorpejdone
949a25cf0dfSthorpej
950a25cf0dfSthorpej  ;;
951a25cf0dfSthorpejesac
952a25cf0dfSthorpejfi
953a25cf0dfSthorpejBSHELL=$ac_cv_path_BSHELL
954a25cf0dfSthorpej
955a25cf0dfSthorpejif test -n "$BSHELL"; then
956a25cf0dfSthorpej  echo "$as_me:956: result: $BSHELL" >&5
957a25cf0dfSthorpejecho "${ECHO_T}$BSHELL" >&6
958a25cf0dfSthorpejelse
959a25cf0dfSthorpej  echo "$as_me:959: result: no" >&5
960a25cf0dfSthorpejecho "${ECHO_T}no" >&6
961a25cf0dfSthorpejfi
962a25cf0dfSthorpej
963a25cf0dfSthorpejif test x"$BSHELL" = x; then
964a25cf0dfSthorpej	{ { echo "$as_me:964: error: sh must be somewhere on \$PATH" >&5
965a25cf0dfSthorpejecho "$as_me: error: sh must be somewhere on \$PATH" >&2;}
966a25cf0dfSthorpej   { (exit 1); exit 1; }; }
967a25cf0dfSthorpejfi
968a25cf0dfSthorpej
96954579742Stvac_config_files="$ac_config_files host-mkdep"
97054579742Stv
97154579742Stvfor ac_prog in mawk gawk nawk awk
97254579742Stvdo
97354579742Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
97454579742Stvset dummy $ac_prog; ac_word=$2
975a25cf0dfSthorpejecho "$as_me:975: checking for $ac_word" >&5
97654579742Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
97754579742Stvif test "${ac_cv_prog_AWK+set}" = set; then
97854579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
97954579742Stvelse
98054579742Stv  if test -n "$AWK"; then
98154579742Stv  ac_cv_prog_AWK="$AWK" # Let the user override the test.
98254579742Stvelse
98354579742Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
98454579742Stvac_dummy="$PATH"
98554579742Stvfor ac_dir in $ac_dummy; do
98654579742Stv  IFS=$ac_save_IFS
98754579742Stv  test -z "$ac_dir" && ac_dir=.
98854579742Stv  $as_executable_p "$ac_dir/$ac_word" || continue
98954579742Stvac_cv_prog_AWK="$ac_prog"
990a25cf0dfSthorpejecho "$as_me:990: found $ac_dir/$ac_word" >&5
99154579742Stvbreak
99254579742Stvdone
99354579742Stv
99454579742Stvfi
99554579742Stvfi
99654579742StvAWK=$ac_cv_prog_AWK
99754579742Stvif test -n "$AWK"; then
998a25cf0dfSthorpej  echo "$as_me:998: result: $AWK" >&5
99954579742Stvecho "${ECHO_T}$AWK" >&6
100054579742Stvelse
1001a25cf0dfSthorpej  echo "$as_me:1001: result: no" >&5
100254579742Stvecho "${ECHO_T}no" >&6
100354579742Stvfi
100454579742Stv
100554579742Stv  test -n "$AWK" && break
100654579742Stvdone
100754579742Stv
100854579742Stvac_ext=c
100954579742Stvac_cpp='$CPP $CPPFLAGS'
101054579742Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101154579742Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101254579742Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
101354579742Stvif test -n "$ac_tool_prefix"; then
101454579742Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
101554579742Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
1016a25cf0dfSthorpejecho "$as_me:1016: checking for $ac_word" >&5
101754579742Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
101854579742Stvif test "${ac_cv_prog_CC+set}" = set; then
101954579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
102054579742Stvelse
102154579742Stv  if test -n "$CC"; then
102254579742Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
102354579742Stvelse
102454579742Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
102554579742Stvac_dummy="$PATH"
102654579742Stvfor ac_dir in $ac_dummy; do
102754579742Stv  IFS=$ac_save_IFS
102854579742Stv  test -z "$ac_dir" && ac_dir=.
102954579742Stv  $as_executable_p "$ac_dir/$ac_word" || continue
103054579742Stvac_cv_prog_CC="${ac_tool_prefix}gcc"
1031a25cf0dfSthorpejecho "$as_me:1031: found $ac_dir/$ac_word" >&5
103254579742Stvbreak
103354579742Stvdone
103454579742Stv
103554579742Stvfi
103654579742Stvfi
103754579742StvCC=$ac_cv_prog_CC
103854579742Stvif test -n "$CC"; then
1039a25cf0dfSthorpej  echo "$as_me:1039: result: $CC" >&5
104054579742Stvecho "${ECHO_T}$CC" >&6
104154579742Stvelse
1042a25cf0dfSthorpej  echo "$as_me:1042: result: no" >&5
104354579742Stvecho "${ECHO_T}no" >&6
104454579742Stvfi
104554579742Stv
104654579742Stvfi
104754579742Stvif test -z "$ac_cv_prog_CC"; then
104854579742Stv  ac_ct_CC=$CC
104954579742Stv  # Extract the first word of "gcc", so it can be a program name with args.
105054579742Stvset dummy gcc; ac_word=$2
1051a25cf0dfSthorpejecho "$as_me:1051: checking for $ac_word" >&5
105254579742Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
105354579742Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
105454579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
105554579742Stvelse
105654579742Stv  if test -n "$ac_ct_CC"; then
105754579742Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
105854579742Stvelse
105954579742Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
106054579742Stvac_dummy="$PATH"
106154579742Stvfor ac_dir in $ac_dummy; do
106254579742Stv  IFS=$ac_save_IFS
106354579742Stv  test -z "$ac_dir" && ac_dir=.
106454579742Stv  $as_executable_p "$ac_dir/$ac_word" || continue
106554579742Stvac_cv_prog_ac_ct_CC="gcc"
1066a25cf0dfSthorpejecho "$as_me:1066: found $ac_dir/$ac_word" >&5
106754579742Stvbreak
106854579742Stvdone
106954579742Stv
107054579742Stvfi
107154579742Stvfi
107254579742Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
107354579742Stvif test -n "$ac_ct_CC"; then
1074a25cf0dfSthorpej  echo "$as_me:1074: result: $ac_ct_CC" >&5
107554579742Stvecho "${ECHO_T}$ac_ct_CC" >&6
107654579742Stvelse
1077a25cf0dfSthorpej  echo "$as_me:1077: result: no" >&5
107854579742Stvecho "${ECHO_T}no" >&6
107954579742Stvfi
108054579742Stv
108154579742Stv  CC=$ac_ct_CC
108254579742Stvelse
108354579742Stv  CC="$ac_cv_prog_CC"
108454579742Stvfi
108554579742Stv
108654579742Stvif test -z "$CC"; then
108754579742Stv  if test -n "$ac_tool_prefix"; then
108854579742Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
108954579742Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
1090a25cf0dfSthorpejecho "$as_me:1090: checking for $ac_word" >&5
109154579742Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
109254579742Stvif test "${ac_cv_prog_CC+set}" = set; then
109354579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
109454579742Stvelse
109554579742Stv  if test -n "$CC"; then
109654579742Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
109754579742Stvelse
109854579742Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
109954579742Stvac_dummy="$PATH"
110054579742Stvfor ac_dir in $ac_dummy; do
110154579742Stv  IFS=$ac_save_IFS
110254579742Stv  test -z "$ac_dir" && ac_dir=.
110354579742Stv  $as_executable_p "$ac_dir/$ac_word" || continue
110454579742Stvac_cv_prog_CC="${ac_tool_prefix}cc"
1105a25cf0dfSthorpejecho "$as_me:1105: found $ac_dir/$ac_word" >&5
110654579742Stvbreak
110754579742Stvdone
110854579742Stv
110954579742Stvfi
111054579742Stvfi
111154579742StvCC=$ac_cv_prog_CC
111254579742Stvif test -n "$CC"; then
1113a25cf0dfSthorpej  echo "$as_me:1113: result: $CC" >&5
111454579742Stvecho "${ECHO_T}$CC" >&6
111554579742Stvelse
1116a25cf0dfSthorpej  echo "$as_me:1116: result: no" >&5
111754579742Stvecho "${ECHO_T}no" >&6
111854579742Stvfi
111954579742Stv
112054579742Stvfi
112154579742Stvif test -z "$ac_cv_prog_CC"; then
112254579742Stv  ac_ct_CC=$CC
112354579742Stv  # Extract the first word of "cc", so it can be a program name with args.
112454579742Stvset dummy cc; ac_word=$2
1125a25cf0dfSthorpejecho "$as_me:1125: checking for $ac_word" >&5
112654579742Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
112754579742Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
112854579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
112954579742Stvelse
113054579742Stv  if test -n "$ac_ct_CC"; then
113154579742Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
113254579742Stvelse
113354579742Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
113454579742Stvac_dummy="$PATH"
113554579742Stvfor ac_dir in $ac_dummy; do
113654579742Stv  IFS=$ac_save_IFS
113754579742Stv  test -z "$ac_dir" && ac_dir=.
113854579742Stv  $as_executable_p "$ac_dir/$ac_word" || continue
113954579742Stvac_cv_prog_ac_ct_CC="cc"
1140a25cf0dfSthorpejecho "$as_me:1140: found $ac_dir/$ac_word" >&5
114154579742Stvbreak
114254579742Stvdone
114354579742Stv
114454579742Stvfi
114554579742Stvfi
114654579742Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
114754579742Stvif test -n "$ac_ct_CC"; then
1148a25cf0dfSthorpej  echo "$as_me:1148: result: $ac_ct_CC" >&5
114954579742Stvecho "${ECHO_T}$ac_ct_CC" >&6
115054579742Stvelse
1151a25cf0dfSthorpej  echo "$as_me:1151: result: no" >&5
115254579742Stvecho "${ECHO_T}no" >&6
115354579742Stvfi
115454579742Stv
115554579742Stv  CC=$ac_ct_CC
115654579742Stvelse
115754579742Stv  CC="$ac_cv_prog_CC"
115854579742Stvfi
115954579742Stv
116054579742Stvfi
116154579742Stvif test -z "$CC"; then
116254579742Stv  # Extract the first word of "cc", so it can be a program name with args.
116354579742Stvset dummy cc; ac_word=$2
1164a25cf0dfSthorpejecho "$as_me:1164: checking for $ac_word" >&5
116554579742Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
116654579742Stvif test "${ac_cv_prog_CC+set}" = set; then
116754579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
116854579742Stvelse
116954579742Stv  if test -n "$CC"; then
117054579742Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
117154579742Stvelse
117254579742Stv  ac_prog_rejected=no
117354579742Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
117454579742Stvac_dummy="$PATH"
117554579742Stvfor ac_dir in $ac_dummy; do
117654579742Stv  IFS=$ac_save_IFS
117754579742Stv  test -z "$ac_dir" && ac_dir=.
117854579742Stv  $as_executable_p "$ac_dir/$ac_word" || continue
117954579742Stvif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
118054579742Stv  ac_prog_rejected=yes
118154579742Stv  continue
118254579742Stvfi
118354579742Stvac_cv_prog_CC="cc"
1184a25cf0dfSthorpejecho "$as_me:1184: found $ac_dir/$ac_word" >&5
118554579742Stvbreak
118654579742Stvdone
118754579742Stv
118854579742Stvif test $ac_prog_rejected = yes; then
118954579742Stv  # We found a bogon in the path, so make sure we never use it.
119054579742Stv  set dummy $ac_cv_prog_CC
119154579742Stv  shift
119254579742Stv  if test $# != 0; then
119354579742Stv    # We chose a different compiler from the bogus one.
119454579742Stv    # However, it has the same basename, so the bogon will be chosen
119554579742Stv    # first if we set CC to just the basename; use the full file name.
119654579742Stv    shift
119754579742Stv    set dummy "$ac_dir/$ac_word" ${1+"$@"}
119854579742Stv    shift
119954579742Stv    ac_cv_prog_CC="$@"
120054579742Stv  fi
120154579742Stvfi
120254579742Stvfi
120354579742Stvfi
120454579742StvCC=$ac_cv_prog_CC
120554579742Stvif test -n "$CC"; then
1206a25cf0dfSthorpej  echo "$as_me:1206: result: $CC" >&5
120754579742Stvecho "${ECHO_T}$CC" >&6
120854579742Stvelse
1209a25cf0dfSthorpej  echo "$as_me:1209: result: no" >&5
121054579742Stvecho "${ECHO_T}no" >&6
121154579742Stvfi
121254579742Stv
121354579742Stvfi
121454579742Stvif test -z "$CC"; then
121554579742Stv  if test -n "$ac_tool_prefix"; then
121654579742Stv  for ac_prog in cl
121754579742Stv  do
121854579742Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
121954579742Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
1220a25cf0dfSthorpejecho "$as_me:1220: checking for $ac_word" >&5
122154579742Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
122254579742Stvif test "${ac_cv_prog_CC+set}" = set; then
122354579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
122454579742Stvelse
122554579742Stv  if test -n "$CC"; then
122654579742Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
122754579742Stvelse
122854579742Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
122954579742Stvac_dummy="$PATH"
123054579742Stvfor ac_dir in $ac_dummy; do
123154579742Stv  IFS=$ac_save_IFS
123254579742Stv  test -z "$ac_dir" && ac_dir=.
123354579742Stv  $as_executable_p "$ac_dir/$ac_word" || continue
123454579742Stvac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1235a25cf0dfSthorpejecho "$as_me:1235: found $ac_dir/$ac_word" >&5
123654579742Stvbreak
123754579742Stvdone
123854579742Stv
123954579742Stvfi
124054579742Stvfi
124154579742StvCC=$ac_cv_prog_CC
124254579742Stvif test -n "$CC"; then
1243a25cf0dfSthorpej  echo "$as_me:1243: result: $CC" >&5
124454579742Stvecho "${ECHO_T}$CC" >&6
124554579742Stvelse
1246a25cf0dfSthorpej  echo "$as_me:1246: result: no" >&5
124754579742Stvecho "${ECHO_T}no" >&6
124854579742Stvfi
124954579742Stv
125054579742Stv    test -n "$CC" && break
125154579742Stv  done
125254579742Stvfi
125354579742Stvif test -z "$CC"; then
125454579742Stv  ac_ct_CC=$CC
125554579742Stv  for ac_prog in cl
125654579742Stvdo
125754579742Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
125854579742Stvset dummy $ac_prog; ac_word=$2
1259a25cf0dfSthorpejecho "$as_me:1259: checking for $ac_word" >&5
126054579742Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
126154579742Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
126254579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
126354579742Stvelse
126454579742Stv  if test -n "$ac_ct_CC"; then
126554579742Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
126654579742Stvelse
126754579742Stv  ac_save_IFS=$IFS; IFS=$ac_path_separator
126854579742Stvac_dummy="$PATH"
126954579742Stvfor ac_dir in $ac_dummy; do
127054579742Stv  IFS=$ac_save_IFS
127154579742Stv  test -z "$ac_dir" && ac_dir=.
127254579742Stv  $as_executable_p "$ac_dir/$ac_word" || continue
127354579742Stvac_cv_prog_ac_ct_CC="$ac_prog"
1274a25cf0dfSthorpejecho "$as_me:1274: found $ac_dir/$ac_word" >&5
127554579742Stvbreak
127654579742Stvdone
127754579742Stv
127854579742Stvfi
127954579742Stvfi
128054579742Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
128154579742Stvif test -n "$ac_ct_CC"; then
1282a25cf0dfSthorpej  echo "$as_me:1282: result: $ac_ct_CC" >&5
128354579742Stvecho "${ECHO_T}$ac_ct_CC" >&6
128454579742Stvelse
1285a25cf0dfSthorpej  echo "$as_me:1285: result: no" >&5
128654579742Stvecho "${ECHO_T}no" >&6
128754579742Stvfi
128854579742Stv
128954579742Stv  test -n "$ac_ct_CC" && break
129054579742Stvdone
129154579742Stv
129254579742Stv  CC=$ac_ct_CC
129354579742Stvfi
129454579742Stv
129554579742Stvfi
129654579742Stv
1297a25cf0dfSthorpejtest -z "$CC" && { { echo "$as_me:1297: error: no acceptable cc found in \$PATH" >&5
129854579742Stvecho "$as_me: error: no acceptable cc found in \$PATH" >&2;}
129954579742Stv   { (exit 1); exit 1; }; }
130054579742Stv
130154579742Stv# Provide some information about the compiler.
1302a25cf0dfSthorpejecho "$as_me:1302:" \
130354579742Stv     "checking for C compiler version" >&5
130454579742Stvac_compiler=`set X $ac_compile; echo $2`
1305a25cf0dfSthorpej{ (eval echo "$as_me:1305: \"$ac_compiler --version </dev/null >&5\"") >&5
130654579742Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
130754579742Stv  ac_status=$?
1308a25cf0dfSthorpej  echo "$as_me:1308: \$? = $ac_status" >&5
130954579742Stv  (exit $ac_status); }
1310a25cf0dfSthorpej{ (eval echo "$as_me:1310: \"$ac_compiler -v </dev/null >&5\"") >&5
131154579742Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
131254579742Stv  ac_status=$?
1313a25cf0dfSthorpej  echo "$as_me:1313: \$? = $ac_status" >&5
131454579742Stv  (exit $ac_status); }
1315a25cf0dfSthorpej{ (eval echo "$as_me:1315: \"$ac_compiler -V </dev/null >&5\"") >&5
131654579742Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
131754579742Stv  ac_status=$?
1318a25cf0dfSthorpej  echo "$as_me:1318: \$? = $ac_status" >&5
131954579742Stv  (exit $ac_status); }
132054579742Stv
132154579742Stvcat >conftest.$ac_ext <<_ACEOF
1322a25cf0dfSthorpej#line 1322 "configure"
132354579742Stv#include "confdefs.h"
132454579742Stv
132554579742Stvint
132654579742Stvmain ()
132754579742Stv{
132854579742Stv
132954579742Stv  ;
133054579742Stv  return 0;
133154579742Stv}
133254579742Stv_ACEOF
133354579742Stvac_clean_files_save=$ac_clean_files
133454579742Stvac_clean_files="$ac_clean_files a.out a.exe"
133554579742Stv# Try to create an executable without -o first, disregard a.out.
133654579742Stv# It will help us diagnose broken compilers, and finding out an intuition
133754579742Stv# of exeext.
1338a25cf0dfSthorpejecho "$as_me:1338: checking for C compiler default output" >&5
133954579742Stvecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
134054579742Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1341a25cf0dfSthorpejif { (eval echo "$as_me:1341: \"$ac_link_default\"") >&5
134254579742Stv  (eval $ac_link_default) 2>&5
134354579742Stv  ac_status=$?
1344a25cf0dfSthorpej  echo "$as_me:1344: \$? = $ac_status" >&5
134554579742Stv  (exit $ac_status); }; then
134654579742Stv  # Find the output, starting from the most likely.  This scheme is
134754579742Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
134854579742Stv# resort.
134954579742Stvfor ac_file in `ls a.exe conftest.exe 2>/dev/null;
135054579742Stv                ls a.out conftest 2>/dev/null;
135154579742Stv                ls a.* conftest.* 2>/dev/null`; do
135254579742Stv  case $ac_file in
135354579742Stv    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
135454579742Stv    a.out ) # We found the default executable, but exeext='' is most
135554579742Stv            # certainly right.
135654579742Stv            break;;
135754579742Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
135854579742Stv          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
135954579742Stv          export ac_cv_exeext
136054579742Stv          break;;
136154579742Stv    * ) break;;
136254579742Stv  esac
136354579742Stvdone
136454579742Stvelse
136554579742Stv  echo "$as_me: failed program was:" >&5
136654579742Stvcat conftest.$ac_ext >&5
1367a25cf0dfSthorpej{ { echo "$as_me:1367: error: C compiler cannot create executables" >&5
136854579742Stvecho "$as_me: error: C compiler cannot create executables" >&2;}
136954579742Stv   { (exit 77); exit 77; }; }
137054579742Stvfi
137154579742Stv
137254579742Stvac_exeext=$ac_cv_exeext
1373a25cf0dfSthorpejecho "$as_me:1373: result: $ac_file" >&5
137454579742Stvecho "${ECHO_T}$ac_file" >&6
137554579742Stv
137654579742Stv# Check the compiler produces executables we can run.  If not, either
137754579742Stv# the compiler is broken, or we cross compile.
1378a25cf0dfSthorpejecho "$as_me:1378: checking whether the C compiler works" >&5
137954579742Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
138054579742Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
138154579742Stv# If not cross compiling, check that we can run a simple program.
138254579742Stvif test "$cross_compiling" != yes; then
138354579742Stv  if { ac_try='./$ac_file'
1384a25cf0dfSthorpej  { (eval echo "$as_me:1384: \"$ac_try\"") >&5
138554579742Stv  (eval $ac_try) 2>&5
138654579742Stv  ac_status=$?
1387a25cf0dfSthorpej  echo "$as_me:1387: \$? = $ac_status" >&5
138854579742Stv  (exit $ac_status); }; }; then
138954579742Stv    cross_compiling=no
139054579742Stv  else
139154579742Stv    if test "$cross_compiling" = maybe; then
139254579742Stv	cross_compiling=yes
139354579742Stv    else
1394a25cf0dfSthorpej	{ { echo "$as_me:1394: error: cannot run C compiled programs.
139554579742StvIf you meant to cross compile, use \`--host'." >&5
139654579742Stvecho "$as_me: error: cannot run C compiled programs.
139754579742StvIf you meant to cross compile, use \`--host'." >&2;}
139854579742Stv   { (exit 1); exit 1; }; }
139954579742Stv    fi
140054579742Stv  fi
140154579742Stvfi
1402a25cf0dfSthorpejecho "$as_me:1402: result: yes" >&5
140354579742Stvecho "${ECHO_T}yes" >&6
140454579742Stv
140554579742Stvrm -f a.out a.exe conftest$ac_cv_exeext
140654579742Stvac_clean_files=$ac_clean_files_save
140754579742Stv# Check the compiler produces executables we can run.  If not, either
140854579742Stv# the compiler is broken, or we cross compile.
1409a25cf0dfSthorpejecho "$as_me:1409: checking whether we are cross compiling" >&5
141054579742Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1411a25cf0dfSthorpejecho "$as_me:1411: result: $cross_compiling" >&5
141254579742Stvecho "${ECHO_T}$cross_compiling" >&6
141354579742Stv
1414a25cf0dfSthorpejecho "$as_me:1414: checking for executable suffix" >&5
141554579742Stvecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1416a25cf0dfSthorpejif { (eval echo "$as_me:1416: \"$ac_link\"") >&5
141754579742Stv  (eval $ac_link) 2>&5
141854579742Stv  ac_status=$?
1419a25cf0dfSthorpej  echo "$as_me:1419: \$? = $ac_status" >&5
142054579742Stv  (exit $ac_status); }; then
142154579742Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
142254579742Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
142354579742Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
142454579742Stv# `rm'.
142554579742Stvfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
142654579742Stv  case $ac_file in
142754579742Stv    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
142854579742Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
142954579742Stv          export ac_cv_exeext
143054579742Stv          break;;
143154579742Stv    * ) break;;
143254579742Stv  esac
143354579742Stvdone
143454579742Stvelse
1435a25cf0dfSthorpej  { { echo "$as_me:1435: error: cannot compute EXEEXT: cannot compile and link" >&5
143654579742Stvecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
143754579742Stv   { (exit 1); exit 1; }; }
143854579742Stvfi
143954579742Stv
144054579742Stvrm -f conftest$ac_cv_exeext
1441a25cf0dfSthorpejecho "$as_me:1441: result: $ac_cv_exeext" >&5
144254579742Stvecho "${ECHO_T}$ac_cv_exeext" >&6
144354579742Stv
144454579742Stvrm -f conftest.$ac_ext
144554579742StvEXEEXT=$ac_cv_exeext
144654579742Stvac_exeext=$EXEEXT
1447a25cf0dfSthorpejecho "$as_me:1447: checking for object suffix" >&5
144854579742Stvecho $ECHO_N "checking for object suffix... $ECHO_C" >&6
144954579742Stvif test "${ac_cv_objext+set}" = set; then
145054579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
145154579742Stvelse
145254579742Stv  cat >conftest.$ac_ext <<_ACEOF
1453a25cf0dfSthorpej#line 1453 "configure"
145454579742Stv#include "confdefs.h"
145554579742Stv
145654579742Stvint
145754579742Stvmain ()
145854579742Stv{
145954579742Stv
146054579742Stv  ;
146154579742Stv  return 0;
146254579742Stv}
146354579742Stv_ACEOF
146454579742Stvrm -f conftest.o conftest.obj
1465a25cf0dfSthorpejif { (eval echo "$as_me:1465: \"$ac_compile\"") >&5
146654579742Stv  (eval $ac_compile) 2>&5
146754579742Stv  ac_status=$?
1468a25cf0dfSthorpej  echo "$as_me:1468: \$? = $ac_status" >&5
146954579742Stv  (exit $ac_status); }; then
147054579742Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
147154579742Stv  case $ac_file in
147254579742Stv    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
147354579742Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
147454579742Stv       break;;
147554579742Stv  esac
147654579742Stvdone
147754579742Stvelse
147854579742Stv  echo "$as_me: failed program was:" >&5
147954579742Stvcat conftest.$ac_ext >&5
1480a25cf0dfSthorpej{ { echo "$as_me:1480: error: cannot compute OBJEXT: cannot compile" >&5
148154579742Stvecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
148254579742Stv   { (exit 1); exit 1; }; }
148354579742Stvfi
148454579742Stv
148554579742Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
148654579742Stvfi
1487a25cf0dfSthorpejecho "$as_me:1487: result: $ac_cv_objext" >&5
148854579742Stvecho "${ECHO_T}$ac_cv_objext" >&6
148954579742StvOBJEXT=$ac_cv_objext
149054579742Stvac_objext=$OBJEXT
1491a25cf0dfSthorpejecho "$as_me:1491: checking whether we are using the GNU C compiler" >&5
149254579742Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
149354579742Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
149454579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
149554579742Stvelse
149654579742Stv  cat >conftest.$ac_ext <<_ACEOF
1497a25cf0dfSthorpej#line 1497 "configure"
149854579742Stv#include "confdefs.h"
149954579742Stv
150054579742Stvint
150154579742Stvmain ()
150254579742Stv{
150354579742Stv#ifndef __GNUC__
150454579742Stv       choke me
150554579742Stv#endif
150654579742Stv
150754579742Stv  ;
150854579742Stv  return 0;
150954579742Stv}
151054579742Stv_ACEOF
151154579742Stvrm -f conftest.$ac_objext
1512a25cf0dfSthorpejif { (eval echo "$as_me:1512: \"$ac_compile\"") >&5
151354579742Stv  (eval $ac_compile) 2>&5
151454579742Stv  ac_status=$?
1515a25cf0dfSthorpej  echo "$as_me:1515: \$? = $ac_status" >&5
151654579742Stv  (exit $ac_status); } &&
151754579742Stv         { ac_try='test -s conftest.$ac_objext'
1518a25cf0dfSthorpej  { (eval echo "$as_me:1518: \"$ac_try\"") >&5
151954579742Stv  (eval $ac_try) 2>&5
152054579742Stv  ac_status=$?
1521a25cf0dfSthorpej  echo "$as_me:1521: \$? = $ac_status" >&5
152254579742Stv  (exit $ac_status); }; }; then
152354579742Stv  ac_compiler_gnu=yes
152454579742Stvelse
152554579742Stv  echo "$as_me: failed program was:" >&5
152654579742Stvcat conftest.$ac_ext >&5
152754579742Stvac_compiler_gnu=no
152854579742Stvfi
152954579742Stvrm -f conftest.$ac_objext conftest.$ac_ext
153054579742Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
153154579742Stv
153254579742Stvfi
1533a25cf0dfSthorpejecho "$as_me:1533: result: $ac_cv_c_compiler_gnu" >&5
153454579742Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
153554579742StvGCC=`test $ac_compiler_gnu = yes && echo yes`
153654579742Stvac_test_CFLAGS=${CFLAGS+set}
153754579742Stvac_save_CFLAGS=$CFLAGS
153854579742StvCFLAGS="-g"
1539a25cf0dfSthorpejecho "$as_me:1539: checking whether $CC accepts -g" >&5
154054579742Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
154154579742Stvif test "${ac_cv_prog_cc_g+set}" = set; then
154254579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
154354579742Stvelse
154454579742Stv  cat >conftest.$ac_ext <<_ACEOF
1545a25cf0dfSthorpej#line 1545 "configure"
154654579742Stv#include "confdefs.h"
154754579742Stv
154854579742Stvint
154954579742Stvmain ()
155054579742Stv{
155154579742Stv
155254579742Stv  ;
155354579742Stv  return 0;
155454579742Stv}
155554579742Stv_ACEOF
155654579742Stvrm -f conftest.$ac_objext
1557a25cf0dfSthorpejif { (eval echo "$as_me:1557: \"$ac_compile\"") >&5
155854579742Stv  (eval $ac_compile) 2>&5
155954579742Stv  ac_status=$?
1560a25cf0dfSthorpej  echo "$as_me:1560: \$? = $ac_status" >&5
156154579742Stv  (exit $ac_status); } &&
156254579742Stv         { ac_try='test -s conftest.$ac_objext'
1563a25cf0dfSthorpej  { (eval echo "$as_me:1563: \"$ac_try\"") >&5
156454579742Stv  (eval $ac_try) 2>&5
156554579742Stv  ac_status=$?
1566a25cf0dfSthorpej  echo "$as_me:1566: \$? = $ac_status" >&5
156754579742Stv  (exit $ac_status); }; }; then
156854579742Stv  ac_cv_prog_cc_g=yes
156954579742Stvelse
157054579742Stv  echo "$as_me: failed program was:" >&5
157154579742Stvcat conftest.$ac_ext >&5
157254579742Stvac_cv_prog_cc_g=no
157354579742Stvfi
157454579742Stvrm -f conftest.$ac_objext conftest.$ac_ext
157554579742Stvfi
1576a25cf0dfSthorpejecho "$as_me:1576: result: $ac_cv_prog_cc_g" >&5
157754579742Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
157854579742Stvif test "$ac_test_CFLAGS" = set; then
157954579742Stv  CFLAGS=$ac_save_CFLAGS
158054579742Stvelif test $ac_cv_prog_cc_g = yes; then
158154579742Stv  if test "$GCC" = yes; then
158254579742Stv    CFLAGS="-g -O2"
158354579742Stv  else
158454579742Stv    CFLAGS="-g"
158554579742Stv  fi
158654579742Stvelse
158754579742Stv  if test "$GCC" = yes; then
158854579742Stv    CFLAGS="-O2"
158954579742Stv  else
159054579742Stv    CFLAGS=
159154579742Stv  fi
159254579742Stvfi
159354579742Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
159454579742Stv# in C++ we need to declare it.  In case someone uses the same compiler
159554579742Stv# for both compiling C and C++ we need to have the C++ compiler decide
159654579742Stv# the declaration of exit, since it's the most demanding environment.
159754579742Stvcat >conftest.$ac_ext <<_ACEOF
159854579742Stv#ifndef __cplusplus
159954579742Stv  choke me
160054579742Stv#endif
160154579742Stv_ACEOF
160254579742Stvrm -f conftest.$ac_objext
1603a25cf0dfSthorpejif { (eval echo "$as_me:1603: \"$ac_compile\"") >&5
160454579742Stv  (eval $ac_compile) 2>&5
160554579742Stv  ac_status=$?
1606a25cf0dfSthorpej  echo "$as_me:1606: \$? = $ac_status" >&5
160754579742Stv  (exit $ac_status); } &&
160854579742Stv         { ac_try='test -s conftest.$ac_objext'
1609a25cf0dfSthorpej  { (eval echo "$as_me:1609: \"$ac_try\"") >&5
161054579742Stv  (eval $ac_try) 2>&5
161154579742Stv  ac_status=$?
1612a25cf0dfSthorpej  echo "$as_me:1612: \$? = $ac_status" >&5
161354579742Stv  (exit $ac_status); }; }; then
161454579742Stv  for ac_declaration in \
161554579742Stv   ''\
161654579742Stv   '#include <stdlib.h>' \
161754579742Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
161854579742Stv   'extern "C" void std::exit (int); using std::exit;' \
161954579742Stv   'extern "C" void exit (int) throw ();' \
162054579742Stv   'extern "C" void exit (int);' \
162154579742Stv   'void exit (int);'
162254579742Stvdo
162354579742Stv  cat >conftest.$ac_ext <<_ACEOF
1624a25cf0dfSthorpej#line 1624 "configure"
162554579742Stv#include "confdefs.h"
162654579742Stv#include <stdlib.h>
162754579742Stv$ac_declaration
162854579742Stvint
162954579742Stvmain ()
163054579742Stv{
163154579742Stvexit (42);
163254579742Stv  ;
163354579742Stv  return 0;
163454579742Stv}
163554579742Stv_ACEOF
163654579742Stvrm -f conftest.$ac_objext
1637a25cf0dfSthorpejif { (eval echo "$as_me:1637: \"$ac_compile\"") >&5
163854579742Stv  (eval $ac_compile) 2>&5
163954579742Stv  ac_status=$?
1640a25cf0dfSthorpej  echo "$as_me:1640: \$? = $ac_status" >&5
164154579742Stv  (exit $ac_status); } &&
164254579742Stv         { ac_try='test -s conftest.$ac_objext'
1643a25cf0dfSthorpej  { (eval echo "$as_me:1643: \"$ac_try\"") >&5
164454579742Stv  (eval $ac_try) 2>&5
164554579742Stv  ac_status=$?
1646a25cf0dfSthorpej  echo "$as_me:1646: \$? = $ac_status" >&5
164754579742Stv  (exit $ac_status); }; }; then
164854579742Stv  :
164954579742Stvelse
165054579742Stv  echo "$as_me: failed program was:" >&5
165154579742Stvcat conftest.$ac_ext >&5
165254579742Stvcontinue
165354579742Stvfi
165454579742Stvrm -f conftest.$ac_objext conftest.$ac_ext
165554579742Stv  cat >conftest.$ac_ext <<_ACEOF
1656a25cf0dfSthorpej#line 1656 "configure"
165754579742Stv#include "confdefs.h"
165854579742Stv$ac_declaration
165954579742Stvint
166054579742Stvmain ()
166154579742Stv{
166254579742Stvexit (42);
166354579742Stv  ;
166454579742Stv  return 0;
166554579742Stv}
166654579742Stv_ACEOF
166754579742Stvrm -f conftest.$ac_objext
1668a25cf0dfSthorpejif { (eval echo "$as_me:1668: \"$ac_compile\"") >&5
166954579742Stv  (eval $ac_compile) 2>&5
167054579742Stv  ac_status=$?
1671a25cf0dfSthorpej  echo "$as_me:1671: \$? = $ac_status" >&5
167254579742Stv  (exit $ac_status); } &&
167354579742Stv         { ac_try='test -s conftest.$ac_objext'
1674a25cf0dfSthorpej  { (eval echo "$as_me:1674: \"$ac_try\"") >&5
167554579742Stv  (eval $ac_try) 2>&5
167654579742Stv  ac_status=$?
1677a25cf0dfSthorpej  echo "$as_me:1677: \$? = $ac_status" >&5
167854579742Stv  (exit $ac_status); }; }; then
167954579742Stv  break
168054579742Stvelse
168154579742Stv  echo "$as_me: failed program was:" >&5
168254579742Stvcat conftest.$ac_ext >&5
168354579742Stvfi
168454579742Stvrm -f conftest.$ac_objext conftest.$ac_ext
168554579742Stvdone
168654579742Stvrm -f conftest*
168754579742Stvif test -n "$ac_declaration"; then
168854579742Stv  echo '#ifdef __cplusplus' >>confdefs.h
168954579742Stv  echo $ac_declaration      >>confdefs.h
169054579742Stv  echo '#endif'             >>confdefs.h
169154579742Stvfi
169254579742Stv
169354579742Stvelse
169454579742Stv  echo "$as_me: failed program was:" >&5
169554579742Stvcat conftest.$ac_ext >&5
169654579742Stvfi
169754579742Stvrm -f conftest.$ac_objext conftest.$ac_ext
169854579742Stvac_ext=c
169954579742Stvac_cpp='$CPP $CPPFLAGS'
170054579742Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
170154579742Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
170254579742Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
170354579742Stv
170454579742Stvac_ext=c
170554579742Stvac_cpp='$CPP $CPPFLAGS'
170654579742Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
170754579742Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
170854579742Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
1709a25cf0dfSthorpejecho "$as_me:1709: checking how to run the C preprocessor" >&5
171054579742Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
171154579742Stv# On Suns, sometimes $CPP names a directory.
171254579742Stvif test -n "$CPP" && test -d "$CPP"; then
171354579742Stv  CPP=
171454579742Stvfi
171554579742Stvif test -z "$CPP"; then
171654579742Stv  if test "${ac_cv_prog_CPP+set}" = set; then
171754579742Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
171854579742Stvelse
171954579742Stv      # Double quotes because CPP needs to be expanded
172054579742Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
172154579742Stv    do
172254579742Stv      ac_preproc_ok=false
172354579742Stvfor ac_c_preproc_warn_flag in '' yes
172454579742Stvdo
172554579742Stv  # Use a header file that comes with gcc, so configuring glibc
172654579742Stv  # with a fresh cross-compiler works.
172754579742Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
172854579742Stv  # not just through cpp. "Syntax error" is here to catch this case.
172954579742Stv  cat >conftest.$ac_ext <<_ACEOF
1730a25cf0dfSthorpej#line 1730 "configure"
173154579742Stv#include "confdefs.h"
173254579742Stv#include <assert.h>
173354579742Stv                     Syntax error
173454579742Stv_ACEOF
1735a25cf0dfSthorpejif { (eval echo "$as_me:1735: \"$ac_cpp conftest.$ac_ext\"") >&5
173654579742Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
173754579742Stv  ac_status=$?
173854579742Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
173954579742Stv  rm -f conftest.er1
174054579742Stv  cat conftest.err >&5
1741a25cf0dfSthorpej  echo "$as_me:1741: \$? = $ac_status" >&5
174254579742Stv  (exit $ac_status); } >/dev/null; then
174354579742Stv  if test -s conftest.err; then
174454579742Stv    ac_cpp_err=$ac_c_preproc_warn_flag
174554579742Stv  else
174654579742Stv    ac_cpp_err=
174754579742Stv  fi
174854579742Stvelse
174954579742Stv  ac_cpp_err=yes
175054579742Stvfi
175154579742Stvif test -z "$ac_cpp_err"; then
175254579742Stv  :
175354579742Stvelse
175454579742Stv  echo "$as_me: failed program was:" >&5
175554579742Stv  cat conftest.$ac_ext >&5
175654579742Stv  # Broken: fails on valid input.
175754579742Stvcontinue
175854579742Stvfi
175954579742Stvrm -f conftest.err conftest.$ac_ext
176054579742Stv
176154579742Stv  # OK, works on sane cases.  Now check whether non-existent headers
176254579742Stv  # can be detected and how.
176354579742Stv  cat >conftest.$ac_ext <<_ACEOF
1764a25cf0dfSthorpej#line 1764 "configure"
176554579742Stv#include "confdefs.h"
176654579742Stv#include <ac_nonexistent.h>
176754579742Stv_ACEOF
1768a25cf0dfSthorpejif { (eval echo "$as_me:1768: \"$ac_cpp conftest.$ac_ext\"") >&5
176954579742Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
177054579742Stv  ac_status=$?
177154579742Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
177254579742Stv  rm -f conftest.er1
177354579742Stv  cat conftest.err >&5
1774a25cf0dfSthorpej  echo "$as_me:1774: \$? = $ac_status" >&5
177554579742Stv  (exit $ac_status); } >/dev/null; then
177654579742Stv  if test -s conftest.err; then
177754579742Stv    ac_cpp_err=$ac_c_preproc_warn_flag
177854579742Stv  else
177954579742Stv    ac_cpp_err=
178054579742Stv  fi
178154579742Stvelse
178254579742Stv  ac_cpp_err=yes
178354579742Stvfi
178454579742Stvif test -z "$ac_cpp_err"; then
178554579742Stv  # Broken: success on invalid input.
178654579742Stvcontinue
178754579742Stvelse
178854579742Stv  echo "$as_me: failed program was:" >&5
178954579742Stv  cat conftest.$ac_ext >&5
179054579742Stv  # Passes both tests.
179154579742Stvac_preproc_ok=:
179254579742Stvbreak
179354579742Stvfi
179454579742Stvrm -f conftest.err conftest.$ac_ext
179554579742Stv
179654579742Stvdone
179754579742Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
179854579742Stvrm -f conftest.err conftest.$ac_ext
179954579742Stvif $ac_preproc_ok; then
180054579742Stv  break
180154579742Stvfi
180254579742Stv
180354579742Stv    done
180454579742Stv    ac_cv_prog_CPP=$CPP
180554579742Stv
180654579742Stvfi
180754579742Stv  CPP=$ac_cv_prog_CPP
180854579742Stvelse
180954579742Stv  ac_cv_prog_CPP=$CPP
181054579742Stvfi
1811a25cf0dfSthorpejecho "$as_me:1811: result: $CPP" >&5
181254579742Stvecho "${ECHO_T}$CPP" >&6
181354579742Stvac_preproc_ok=false
181454579742Stvfor ac_c_preproc_warn_flag in '' yes
181554579742Stvdo
181654579742Stv  # Use a header file that comes with gcc, so configuring glibc
181754579742Stv  # with a fresh cross-compiler works.
181854579742Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
181954579742Stv  # not just through cpp. "Syntax error" is here to catch this case.
182054579742Stv  cat >conftest.$ac_ext <<_ACEOF
1821a25cf0dfSthorpej#line 1821 "configure"
182254579742Stv#include "confdefs.h"
182354579742Stv#include <assert.h>
182454579742Stv                     Syntax error
182554579742Stv_ACEOF
1826a25cf0dfSthorpejif { (eval echo "$as_me:1826: \"$ac_cpp conftest.$ac_ext\"") >&5
182754579742Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
182854579742Stv  ac_status=$?
182954579742Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
183054579742Stv  rm -f conftest.er1
183154579742Stv  cat conftest.err >&5
1832a25cf0dfSthorpej  echo "$as_me:1832: \$? = $ac_status" >&5
183354579742Stv  (exit $ac_status); } >/dev/null; then
183454579742Stv  if test -s conftest.err; then
183554579742Stv    ac_cpp_err=$ac_c_preproc_warn_flag
183654579742Stv  else
183754579742Stv    ac_cpp_err=
183854579742Stv  fi
183954579742Stvelse
184054579742Stv  ac_cpp_err=yes
184154579742Stvfi
184254579742Stvif test -z "$ac_cpp_err"; then
184354579742Stv  :
184454579742Stvelse
184554579742Stv  echo "$as_me: failed program was:" >&5
184654579742Stv  cat conftest.$ac_ext >&5
184754579742Stv  # Broken: fails on valid input.
184854579742Stvcontinue
184954579742Stvfi
185054579742Stvrm -f conftest.err conftest.$ac_ext
185154579742Stv
185254579742Stv  # OK, works on sane cases.  Now check whether non-existent headers
185354579742Stv  # can be detected and how.
185454579742Stv  cat >conftest.$ac_ext <<_ACEOF
1855a25cf0dfSthorpej#line 1855 "configure"
185654579742Stv#include "confdefs.h"
185754579742Stv#include <ac_nonexistent.h>
185854579742Stv_ACEOF
1859a25cf0dfSthorpejif { (eval echo "$as_me:1859: \"$ac_cpp conftest.$ac_ext\"") >&5
186054579742Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
186154579742Stv  ac_status=$?
186254579742Stv  egrep -v '^ *\+' conftest.er1 >conftest.err
186354579742Stv  rm -f conftest.er1
186454579742Stv  cat conftest.err >&5
1865a25cf0dfSthorpej  echo "$as_me:1865: \$? = $ac_status" >&5
186654579742Stv  (exit $ac_status); } >/dev/null; then
186754579742Stv  if test -s conftest.err; then
186854579742Stv    ac_cpp_err=$ac_c_preproc_warn_flag
186954579742Stv  else
187054579742Stv    ac_cpp_err=
187154579742Stv  fi
187254579742Stvelse
187354579742Stv  ac_cpp_err=yes
187454579742Stvfi
187554579742Stvif test -z "$ac_cpp_err"; then
187654579742Stv  # Broken: success on invalid input.
187754579742Stvcontinue
187854579742Stvelse
187954579742Stv  echo "$as_me: failed program was:" >&5
188054579742Stv  cat conftest.$ac_ext >&5
188154579742Stv  # Passes both tests.
188254579742Stvac_preproc_ok=:
188354579742Stvbreak
188454579742Stvfi
188554579742Stvrm -f conftest.err conftest.$ac_ext
188654579742Stv
188754579742Stvdone
188854579742Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
188954579742Stvrm -f conftest.err conftest.$ac_ext
189054579742Stvif $ac_preproc_ok; then
189154579742Stv  :
189254579742Stvelse
1893a25cf0dfSthorpej  { { echo "$as_me:1893: error: C preprocessor \"$CPP\" fails sanity check" >&5
189454579742Stvecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
189554579742Stv   { (exit 1); exit 1; }; }
189654579742Stvfi
189754579742Stv
189854579742Stvac_ext=c
189954579742Stvac_cpp='$CPP $CPPFLAGS'
190054579742Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
190154579742Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
190254579742Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
190354579742Stv
190454579742Stvcat >confcache <<\_ACEOF
190554579742Stv# This file is a shell script that caches the results of configure
190654579742Stv# tests run on this system so they can be shared between configure
190754579742Stv# scripts and configure runs, see configure's option --config-cache.
190854579742Stv# It is not useful on other systems.  If it contains results you don't
190954579742Stv# want to keep, you may remove or edit it.
191054579742Stv#
191154579742Stv# config.status only pays attention to the cache file if you give it
191254579742Stv# the --recheck option to rerun configure.
191354579742Stv#
191454579742Stv# `ac_cv_env_foo' variables (set or unset) will be overriden when
191554579742Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
191654579742Stv# following values.
191754579742Stv
191854579742Stv_ACEOF
191954579742Stv
192054579742Stv# The following way of writing the cache mishandles newlines in values,
192154579742Stv# but we know of no workaround that is simple, portable, and efficient.
192254579742Stv# So, don't put newlines in cache variables' values.
192354579742Stv# Ultrix sh set writes to stderr and can't be redirected directly,
192454579742Stv# and sets the high bit in the cache file unless we assign to the vars.
192554579742Stv{
192654579742Stv  (set) 2>&1 |
192754579742Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
192854579742Stv    *ac_space=\ *)
192954579742Stv      # `set' does not quote correctly, so add quotes (double-quote
193054579742Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
193154579742Stv      sed -n \
193254579742Stv        "s/'/'\\\\''/g;
193354579742Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
193454579742Stv      ;;
193554579742Stv    *)
193654579742Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
193754579742Stv      sed -n \
193854579742Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
193954579742Stv      ;;
194054579742Stv    esac;
194154579742Stv} |
194254579742Stv  sed '
194354579742Stv     t clear
194454579742Stv     : clear
194554579742Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
194654579742Stv     t end
194754579742Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
194854579742Stv     : end' >>confcache
194954579742Stvif cmp -s $cache_file confcache; then :; else
195054579742Stv  if test -w $cache_file; then
195154579742Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
195254579742Stv    cat confcache >$cache_file
195354579742Stv  else
195454579742Stv    echo "not updating unwritable cache $cache_file"
195554579742Stv  fi
195654579742Stvfi
195754579742Stvrm -f confcache
195854579742Stv
195954579742Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
196054579742Stv# Let make expand exec_prefix.
196154579742Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
196254579742Stv
196354579742Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
196454579742Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
196554579742Stv# trailing colons and then remove the whole line if VPATH becomes empty
196654579742Stv# (actually we leave an empty line to preserve line numbers).
196754579742Stvif test "x$srcdir" = x.; then
196854579742Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
196954579742Stvs/:*\$(srcdir):*/:/;
197054579742Stvs/:*\${srcdir}:*/:/;
197154579742Stvs/:*@srcdir@:*/:/;
197254579742Stvs/^\([^=]*=[ 	]*\):*/\1/;
197354579742Stvs/:*$//;
197454579742Stvs/^[^=]*=[ 	]*$//;
197554579742Stv}'
197654579742Stvfi
197754579742Stv
197854579742Stv# Transform confdefs.h into DEFS.
197954579742Stv# Protect against shell expansion while executing Makefile rules.
198054579742Stv# Protect against Makefile macro expansion.
198154579742Stv#
198254579742Stv# If the first sed substitution is executed (which looks for macros that
198354579742Stv# take arguments), then we branch to the quote section.  Otherwise,
198454579742Stv# look for a macro that doesn't take arguments.
198554579742Stvcat >confdef2opt.sed <<\EOF
198654579742Stvt clear
198754579742Stv: clear
198854579742Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
198954579742Stvt quote
199054579742Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
199154579742Stvt quote
199254579742Stvd
199354579742Stv: quote
199454579742Stvs,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
199554579742Stvs,\[,\\&,g
199654579742Stvs,\],\\&,g
199754579742Stvs,\$,$$,g
199854579742Stvp
199954579742StvEOF
200054579742Stv# We use echo to avoid assuming a particular line-breaking character.
200154579742Stv# The extra dot is to prevent the shell from consuming trailing
200254579742Stv# line-breaks from the sub-command output.  A line-break within
200354579742Stv# single-quotes doesn't work because, if this script is created in a
200454579742Stv# platform that uses two characters for line-breaks (e.g., DOS), tr
200554579742Stv# would break.
200654579742Stvac_LF_and_DOT=`echo; echo .`
200754579742StvDEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
200854579742Stvrm -f confdef2opt.sed
200954579742Stv
201054579742Stv: ${CONFIG_STATUS=./config.status}
201154579742Stvac_clean_files_save=$ac_clean_files
201254579742Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
2013a25cf0dfSthorpej{ echo "$as_me:2013: creating $CONFIG_STATUS" >&5
201454579742Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
201554579742Stvcat >$CONFIG_STATUS <<_ACEOF
201654579742Stv#! $SHELL
201754579742Stv# Generated automatically by configure.
201854579742Stv# Run this file to recreate the current configuration.
201954579742Stv# Compiler output produced by configure, useful for debugging
202054579742Stv# configure, is in config.log if it exists.
202154579742Stv
202254579742Stvdebug=false
202354579742StvSHELL=\${CONFIG_SHELL-$SHELL}
202454579742Stvac_cs_invocation="\$0 \$@"
202554579742Stv
202654579742Stv_ACEOF
202754579742Stv
202854579742Stvcat >>$CONFIG_STATUS <<\_ACEOF
202954579742Stv# Be Bourne compatible
203054579742Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
203154579742Stv  emulate sh
203254579742Stv  NULLCMD=:
203354579742Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
203454579742Stv  set -o posix
203554579742Stvfi
203654579742Stv
203754579742Stv# Name of the executable.
203854579742Stvas_me=`echo "$0" |sed 's,.*[\\/],,'`
203954579742Stv
204054579742Stvif expr a : '\(a\)' >/dev/null 2>&1; then
204154579742Stv  as_expr=expr
204254579742Stvelse
204354579742Stv  as_expr=false
204454579742Stvfi
204554579742Stv
204654579742Stvrm -f conf$$ conf$$.exe conf$$.file
204754579742Stvecho >conf$$.file
204854579742Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
204954579742Stv  # We could just check for DJGPP; but this test a) works b) is more generic
205054579742Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205154579742Stv  if test -f conf$$.exe; then
205254579742Stv    # Don't use ln at all; we don't have any links
205354579742Stv    as_ln_s='cp -p'
205454579742Stv  else
205554579742Stv    as_ln_s='ln -s'
205654579742Stv  fi
205754579742Stvelif ln conf$$.file conf$$ 2>/dev/null; then
205854579742Stv  as_ln_s=ln
205954579742Stvelse
206054579742Stv  as_ln_s='cp -p'
206154579742Stvfi
206254579742Stvrm -f conf$$ conf$$.exe conf$$.file
206354579742Stv
206454579742Stvas_executable_p="test -f"
206554579742Stv
206654579742Stv# Support unset when possible.
206754579742Stvif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
206854579742Stv  as_unset=unset
206954579742Stvelse
207054579742Stv  as_unset=false
207154579742Stvfi
207254579742Stv
207354579742Stv# NLS nuisances.
207454579742Stv$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
207554579742Stv$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
207654579742Stv$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
207754579742Stv$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
207854579742Stv$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
207954579742Stv$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
208054579742Stv$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
208154579742Stv$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
208254579742Stv
208354579742Stv# IFS
208454579742Stv# We need space, tab and new line, in precisely that order.
208554579742Stvas_nl='
208654579742Stv'
208754579742StvIFS=" 	$as_nl"
208854579742Stv
208954579742Stv# CDPATH.
209054579742Stv$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
209154579742Stv
209254579742Stvexec 6>&1
209354579742Stv
209454579742Stv_ACEOF
209554579742Stv
209654579742Stv# Files that config.status was made for.
209754579742Stvif test -n "$ac_config_files"; then
209854579742Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
209954579742Stvfi
210054579742Stv
210154579742Stvif test -n "$ac_config_headers"; then
210254579742Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
210354579742Stvfi
210454579742Stv
210554579742Stvif test -n "$ac_config_links"; then
210654579742Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
210754579742Stvfi
210854579742Stv
210954579742Stvif test -n "$ac_config_commands"; then
211054579742Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
211154579742Stvfi
211254579742Stv
211354579742Stvcat >>$CONFIG_STATUS <<\EOF
211454579742Stv
211554579742Stvac_cs_usage="\
211654579742Stv\`$as_me' instantiates files from templates according to the
211754579742Stvcurrent configuration.
211854579742Stv
211954579742StvUsage: $0 [OPTIONS] [FILE]...
212054579742Stv
212154579742Stv  -h, --help       print this help, then exit
212254579742Stv  -V, --version    print version number, then exit
212354579742Stv  -d, --debug      don't remove temporary files
212454579742Stv      --recheck    update $as_me by reconfiguring in the same conditions
212554579742Stv  --file=FILE[:TEMPLATE]
212654579742Stv                   instantiate the configuration file FILE
212754579742Stv
212854579742StvConfiguration files:
212954579742Stv$config_files
213054579742Stv
213154579742StvReport bugs to <bug-autoconf@gnu.org>."
213254579742StvEOF
213354579742Stv
213454579742Stvcat >>$CONFIG_STATUS <<EOF
213554579742Stvac_cs_version="\\
213654579742Stvmkdep config.status noversion
213754579742Stvconfigured by $0, generated by GNU Autoconf 2.52,
213854579742Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
213954579742Stv
214054579742StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
214154579742StvFree Software Foundation, Inc.
214254579742StvThis config.status script is free software; the Free Software Foundation
214354579742Stvgives unlimited permission to copy, distribute and modify it."
214454579742Stvsrcdir=$srcdir
214554579742StvEOF
214654579742Stv
214754579742Stvcat >>$CONFIG_STATUS <<\EOF
214854579742Stv# If no file are specified by the user, then we need to provide default
214954579742Stv# value.  By we need to know if files were specified by the user.
215054579742Stvac_need_defaults=:
215154579742Stvwhile test $# != 0
215254579742Stvdo
215354579742Stv  case $1 in
215454579742Stv  --*=*)
215554579742Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
215654579742Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
215754579742Stv    shift
215854579742Stv    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
215954579742Stv    shift
216054579742Stv    ;;
216154579742Stv  -*);;
216254579742Stv  *) # This is not an option, so the user has probably given explicit
216354579742Stv     # arguments.
216454579742Stv     ac_need_defaults=false;;
216554579742Stv  esac
216654579742Stv
216754579742Stv  case $1 in
216854579742Stv  # Handling of the options.
216954579742StvEOF
217054579742Stvcat >>$CONFIG_STATUS <<EOF
217154579742Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
217254579742Stv    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
217354579742Stv    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
217454579742StvEOF
217554579742Stvcat >>$CONFIG_STATUS <<\EOF
217654579742Stv  --version | --vers* | -V )
217754579742Stv    echo "$ac_cs_version"; exit 0 ;;
217854579742Stv  --he | --h)
217954579742Stv    # Conflict between --help and --header
2180a25cf0dfSthorpej    { { echo "$as_me:2180: error: ambiguous option: $1
218154579742StvTry \`$0 --help' for more information." >&5
218254579742Stvecho "$as_me: error: ambiguous option: $1
218354579742StvTry \`$0 --help' for more information." >&2;}
218454579742Stv   { (exit 1); exit 1; }; };;
218554579742Stv  --help | --hel | -h )
218654579742Stv    echo "$ac_cs_usage"; exit 0 ;;
218754579742Stv  --debug | --d* | -d )
218854579742Stv    debug=: ;;
218954579742Stv  --file | --fil | --fi | --f )
219054579742Stv    shift
219154579742Stv    CONFIG_FILES="$CONFIG_FILES $1"
219254579742Stv    ac_need_defaults=false;;
219354579742Stv  --header | --heade | --head | --hea )
219454579742Stv    shift
219554579742Stv    CONFIG_HEADERS="$CONFIG_HEADERS $1"
219654579742Stv    ac_need_defaults=false;;
219754579742Stv
219854579742Stv  # This is an error.
2199a25cf0dfSthorpej  -*) { { echo "$as_me:2199: error: unrecognized option: $1
220054579742StvTry \`$0 --help' for more information." >&5
220154579742Stvecho "$as_me: error: unrecognized option: $1
220254579742StvTry \`$0 --help' for more information." >&2;}
220354579742Stv   { (exit 1); exit 1; }; } ;;
220454579742Stv
220554579742Stv  *) ac_config_targets="$ac_config_targets $1" ;;
220654579742Stv
220754579742Stv  esac
220854579742Stv  shift
220954579742Stvdone
221054579742Stv
221154579742Stvexec 5>>config.log
221254579742Stvcat >&5 << _ACEOF
221354579742Stv
221454579742Stv## ----------------------- ##
221554579742Stv## Running config.status.  ##
221654579742Stv## ----------------------- ##
221754579742Stv
221854579742StvThis file was extended by $as_me (mkdep noversion) 2.52, executed with
221954579742Stv  CONFIG_FILES    = $CONFIG_FILES
222054579742Stv  CONFIG_HEADERS  = $CONFIG_HEADERS
222154579742Stv  CONFIG_LINKS    = $CONFIG_LINKS
222254579742Stv  CONFIG_COMMANDS = $CONFIG_COMMANDS
222354579742Stv  > $ac_cs_invocation
222454579742Stvon `(hostname || uname -n) 2>/dev/null | sed 1q`
222554579742Stv
222654579742Stv_ACEOF
222754579742StvEOF
222854579742Stv
222954579742Stvcat >>$CONFIG_STATUS <<\EOF
223054579742Stvfor ac_config_target in $ac_config_targets
223154579742Stvdo
223254579742Stv  case "$ac_config_target" in
223354579742Stv  # Handling of arguments.
223454579742Stv  "host-mkdep" ) CONFIG_FILES="$CONFIG_FILES host-mkdep" ;;
2235a25cf0dfSthorpej  *) { { echo "$as_me:2235: error: invalid argument: $ac_config_target" >&5
223654579742Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
223754579742Stv   { (exit 1); exit 1; }; };;
223854579742Stv  esac
223954579742Stvdone
224054579742Stv
224154579742Stv# If the user did not use the arguments to specify the items to instantiate,
224254579742Stv# then the envvar interface is used.  Set only those that are not.
224354579742Stv# We use the long form for the default assignment because of an extremely
224454579742Stv# bizarre bug on SunOS 4.1.3.
224554579742Stvif $ac_need_defaults; then
224654579742Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
224754579742Stvfi
224854579742Stv
224954579742Stv# Create a temporary directory, and hook for its removal unless debugging.
225054579742Stv$debug ||
225154579742Stv{
225254579742Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
225354579742Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
225454579742Stv}
225554579742Stv
225654579742Stv# Create a (secure) tmp directory for tmp files.
225754579742Stv: ${TMPDIR=/tmp}
225854579742Stv{
225954579742Stv  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
226054579742Stv  test -n "$tmp" && test -d "$tmp"
226154579742Stv}  ||
226254579742Stv{
226354579742Stv  tmp=$TMPDIR/cs$$-$RANDOM
226454579742Stv  (umask 077 && mkdir $tmp)
226554579742Stv} ||
226654579742Stv{
226754579742Stv   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
226854579742Stv   { (exit 1); exit 1; }
226954579742Stv}
227054579742Stv
227154579742StvEOF
227254579742Stv
227354579742Stvcat >>$CONFIG_STATUS <<EOF
227454579742Stv
227554579742Stv#
227654579742Stv# CONFIG_FILES section.
227754579742Stv#
227854579742Stv
227954579742Stv# No need to generate the scripts if there are no CONFIG_FILES.
228054579742Stv# This happens for instance when ./config.status config.h
228154579742Stvif test -n "\$CONFIG_FILES"; then
228254579742Stv  # Protect against being on the right side of a sed subst in config.status.
228354579742Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
228454579742Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
228554579742Stvs,@SHELL@,$SHELL,;t t
228654579742Stvs,@exec_prefix@,$exec_prefix,;t t
228754579742Stvs,@prefix@,$prefix,;t t
228854579742Stvs,@program_transform_name@,$program_transform_name,;t t
228954579742Stvs,@bindir@,$bindir,;t t
229054579742Stvs,@sbindir@,$sbindir,;t t
229154579742Stvs,@libexecdir@,$libexecdir,;t t
229254579742Stvs,@datadir@,$datadir,;t t
229354579742Stvs,@sysconfdir@,$sysconfdir,;t t
229454579742Stvs,@sharedstatedir@,$sharedstatedir,;t t
229554579742Stvs,@localstatedir@,$localstatedir,;t t
229654579742Stvs,@libdir@,$libdir,;t t
229754579742Stvs,@includedir@,$includedir,;t t
229854579742Stvs,@oldincludedir@,$oldincludedir,;t t
229954579742Stvs,@infodir@,$infodir,;t t
230054579742Stvs,@mandir@,$mandir,;t t
230154579742Stvs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
230254579742Stvs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
230354579742Stvs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
230454579742Stvs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
230554579742Stvs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
230654579742Stvs,@build_alias@,$build_alias,;t t
230754579742Stvs,@host_alias@,$host_alias,;t t
230854579742Stvs,@target_alias@,$target_alias,;t t
230954579742Stvs,@ECHO_C@,$ECHO_C,;t t
231054579742Stvs,@ECHO_N@,$ECHO_N,;t t
231154579742Stvs,@ECHO_T@,$ECHO_T,;t t
231254579742Stvs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
231354579742Stvs,@DEFS@,$DEFS,;t t
231454579742Stvs,@LIBS@,$LIBS,;t t
2315a25cf0dfSthorpejs,@BSHELL@,$BSHELL,;t t
231654579742Stvs,@AWK@,$AWK,;t t
231754579742Stvs,@CC@,$CC,;t t
231854579742Stvs,@CFLAGS@,$CFLAGS,;t t
231954579742Stvs,@LDFLAGS@,$LDFLAGS,;t t
232054579742Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
232154579742Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
232254579742Stvs,@EXEEXT@,$EXEEXT,;t t
232354579742Stvs,@OBJEXT@,$OBJEXT,;t t
232454579742Stvs,@CPP@,$CPP,;t t
232554579742StvCEOF
232654579742Stv
232754579742StvEOF
232854579742Stv
232954579742Stv  cat >>$CONFIG_STATUS <<\EOF
233054579742Stv  # Split the substitutions into bite-sized pieces for seds with
233154579742Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
233254579742Stv  ac_max_sed_lines=48
233354579742Stv  ac_sed_frag=1 # Number of current file.
233454579742Stv  ac_beg=1 # First line for current file.
233554579742Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
233654579742Stv  ac_more_lines=:
233754579742Stv  ac_sed_cmds=
233854579742Stv  while $ac_more_lines; do
233954579742Stv    if test $ac_beg -gt 1; then
234054579742Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
234154579742Stv    else
234254579742Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
234354579742Stv    fi
234454579742Stv    if test ! -s $tmp/subs.frag; then
234554579742Stv      ac_more_lines=false
234654579742Stv    else
234754579742Stv      # The purpose of the label and of the branching condition is to
234854579742Stv      # speed up the sed processing (if there are no `@' at all, there
234954579742Stv      # is no need to browse any of the substitutions).
235054579742Stv      # These are the two extra sed commands mentioned above.
235154579742Stv      (echo ':t
235254579742Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
235354579742Stv      if test -z "$ac_sed_cmds"; then
235454579742Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
235554579742Stv      else
235654579742Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
235754579742Stv      fi
235854579742Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
235954579742Stv      ac_beg=$ac_end
236054579742Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
236154579742Stv    fi
236254579742Stv  done
236354579742Stv  if test -z "$ac_sed_cmds"; then
236454579742Stv    ac_sed_cmds=cat
236554579742Stv  fi
236654579742Stvfi # test -n "$CONFIG_FILES"
236754579742Stv
236854579742StvEOF
236954579742Stvcat >>$CONFIG_STATUS <<\EOF
237054579742Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
237154579742Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
237254579742Stv  case $ac_file in
237354579742Stv  - | *:- | *:-:* ) # input from stdin
237454579742Stv        cat >$tmp/stdin
237554579742Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
237654579742Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
237754579742Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
237854579742Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
237954579742Stv  * )   ac_file_in=$ac_file.in ;;
238054579742Stv  esac
238154579742Stv
238254579742Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
238354579742Stv  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
238454579742Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
238554579742Stv         X"$ac_file" : 'X\(//\)$' \| \
238654579742Stv         X"$ac_file" : 'X\(/\)' \| \
238754579742Stv         .     : '\(.\)' 2>/dev/null ||
238854579742Stvecho X"$ac_file" |
238954579742Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
239054579742Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
239154579742Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
239254579742Stv  	  /^X\(\/\).*/{ s//\1/; q; }
239354579742Stv  	  s/.*/./; q'`
239454579742Stv  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
239554579742Stv    { case "$ac_dir" in
239654579742Stv  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
239754579742Stv  *)                      as_incr_dir=.;;
239854579742Stvesac
239954579742Stvas_dummy="$ac_dir"
240054579742Stvfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
240154579742Stv  case $as_mkdir_dir in
240254579742Stv    # Skip DOS drivespec
240354579742Stv    ?:) as_incr_dir=$as_mkdir_dir ;;
240454579742Stv    *)
240554579742Stv      as_incr_dir=$as_incr_dir/$as_mkdir_dir
240654579742Stv      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
240754579742Stv    ;;
240854579742Stv  esac
240954579742Stvdone; }
241054579742Stv
241154579742Stv    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
241254579742Stv    # A "../" for each directory in $ac_dir_suffix.
241354579742Stv    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
241454579742Stv  else
241554579742Stv    ac_dir_suffix= ac_dots=
241654579742Stv  fi
241754579742Stv
241854579742Stv  case $srcdir in
241954579742Stv  .)  ac_srcdir=.
242054579742Stv      if test -z "$ac_dots"; then
242154579742Stv         ac_top_srcdir=.
242254579742Stv      else
242354579742Stv         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
242454579742Stv      fi ;;
242554579742Stv  [\\/]* | ?:[\\/]* )
242654579742Stv      ac_srcdir=$srcdir$ac_dir_suffix;
242754579742Stv      ac_top_srcdir=$srcdir ;;
242854579742Stv  *) # Relative path.
242954579742Stv    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
243054579742Stv    ac_top_srcdir=$ac_dots$srcdir ;;
243154579742Stv  esac
243254579742Stv
243354579742Stv  if test x"$ac_file" != x-; then
2434a25cf0dfSthorpej    { echo "$as_me:2434: creating $ac_file" >&5
243554579742Stvecho "$as_me: creating $ac_file" >&6;}
243654579742Stv    rm -f "$ac_file"
243754579742Stv  fi
243854579742Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
243954579742Stv  # use $as_me), people would be surprised to read:
244054579742Stv  #    /* config.h.  Generated automatically by config.status.  */
244154579742Stv  configure_input="Generated automatically from `echo $ac_file_in |
244254579742Stv                                                 sed 's,.*/,,'` by configure."
244354579742Stv
244454579742Stv  # First look for the input files in the build tree, otherwise in the
244554579742Stv  # src tree.
244654579742Stv  ac_file_inputs=`IFS=:
244754579742Stv    for f in $ac_file_in; do
244854579742Stv      case $f in
244954579742Stv      -) echo $tmp/stdin ;;
245054579742Stv      [\\/$]*)
245154579742Stv         # Absolute (can't be DOS-style, as IFS=:)
2452a25cf0dfSthorpej         test -f "$f" || { { echo "$as_me:2452: error: cannot find input file: $f" >&5
245354579742Stvecho "$as_me: error: cannot find input file: $f" >&2;}
245454579742Stv   { (exit 1); exit 1; }; }
245554579742Stv         echo $f;;
245654579742Stv      *) # Relative
245754579742Stv         if test -f "$f"; then
245854579742Stv           # Build tree
245954579742Stv           echo $f
246054579742Stv         elif test -f "$srcdir/$f"; then
246154579742Stv           # Source tree
246254579742Stv           echo $srcdir/$f
246354579742Stv         else
246454579742Stv           # /dev/null tree
2465a25cf0dfSthorpej           { { echo "$as_me:2465: error: cannot find input file: $f" >&5
246654579742Stvecho "$as_me: error: cannot find input file: $f" >&2;}
246754579742Stv   { (exit 1); exit 1; }; }
246854579742Stv         fi;;
246954579742Stv      esac
247054579742Stv    done` || { (exit 1); exit 1; }
247154579742StvEOF
247254579742Stvcat >>$CONFIG_STATUS <<EOF
247354579742Stv  sed "$ac_vpsub
247454579742Stv$extrasub
247554579742StvEOF
247654579742Stvcat >>$CONFIG_STATUS <<\EOF
247754579742Stv:t
247854579742Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
247954579742Stvs,@configure_input@,$configure_input,;t t
248054579742Stvs,@srcdir@,$ac_srcdir,;t t
248154579742Stvs,@top_srcdir@,$ac_top_srcdir,;t t
248254579742Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
248354579742Stv  rm -f $tmp/stdin
248454579742Stv  if test x"$ac_file" != x-; then
248554579742Stv    mv $tmp/out $ac_file
248654579742Stv  else
248754579742Stv    cat $tmp/out
248854579742Stv    rm -f $tmp/out
248954579742Stv  fi
249054579742Stv
249154579742Stvdone
249254579742StvEOF
249354579742Stv
249454579742Stvcat >>$CONFIG_STATUS <<\EOF
249554579742Stv
249654579742Stv{ (exit 0); exit 0; }
249754579742StvEOF
249854579742Stvchmod +x $CONFIG_STATUS
249954579742Stvac_clean_files=$ac_clean_files_save
250054579742Stv
250154579742Stv# configure is writing to config.log, and then calls config.status.
250254579742Stv# config.status does its own redirection, appending to config.log.
250354579742Stv# Unfortunately, on DOS this fails, as config.log is still kept open
250454579742Stv# by configure, so config.status won't be able to write to it; its
250554579742Stv# output is simply discarded.  So we exec the FD to /dev/null,
250654579742Stv# effectively closing config.log, so it can be properly (re)opened and
250754579742Stv# appended to by config.status.  When coming back to configure, we
250854579742Stv# need to make the FD available again.
250954579742Stvif test "$no_create" != yes; then
251054579742Stv  ac_cs_success=:
251154579742Stv  exec 5>/dev/null
251254579742Stv  $SHELL $CONFIG_STATUS || ac_cs_success=false
251354579742Stv  exec 5>>config.log
251454579742Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
251554579742Stv  # would make configure fail if this is the last instruction.
251654579742Stv  $ac_cs_success || { (exit 1); exit 1; }
251754579742Stvfi
251854579742Stv
2519