source: configure @ 51b7345

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 51b7345 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100755
File size: 135.0 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.52 for cfa-cc 1.0.
4#
5# Report bugs to <cforall@plg.uwaterloo.ca>.
6#
7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8# Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11
12# Avoid depending upon Character Ranges.
13as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16as_cr_digits='0123456789'
17as_cr_alnum=$as_cr_Letters$as_cr_digits
18
19# Sed expression to map a string onto a valid variable name.
20as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21
22# Sed expression to map a string onto a valid CPP name.
23as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24
25# Be Bourne compatible
26if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27  emulate sh
28  NULLCMD=:
29elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30  set -o posix
31fi
32
33# Name of the executable.
34as_me=`echo "$0" |sed 's,.*[\\/],,'`
35
36if expr a : '\(a\)' >/dev/null 2>&1; then
37  as_expr=expr
38else
39  as_expr=false
40fi
41
42rm -f conf$$ conf$$.exe conf$$.file
43echo >conf$$.file
44if ln -s conf$$.file conf$$ 2>/dev/null; then
45  # We could just check for DJGPP; but this test a) works b) is more generic
46  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47  if test -f conf$$.exe; then
48    # Don't use ln at all; we don't have any links
49    as_ln_s='cp -p'
50  else
51    as_ln_s='ln -s'
52  fi
53elif ln conf$$.file conf$$ 2>/dev/null; then
54  as_ln_s=ln
55else
56  as_ln_s='cp -p'
57fi
58rm -f conf$$ conf$$.exe conf$$.file
59
60as_executable_p="test -f"
61
62# Support unset when possible.
63if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
64  as_unset=unset
65else
66  as_unset=false
67fi
68
69# NLS nuisances.
70$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78
79# IFS
80# We need space, tab and new line, in precisely that order.
81as_nl='
82'
83IFS="   $as_nl"
84
85# CDPATH.
86$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87
88# Name of the host.
89# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90# so uname gets run too.
91ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
92
93exec 6>&1
94
95#
96# Initializations.
97#
98ac_default_prefix=/usr/local
99cross_compiling=no
100subdirs=
101MFLAGS= MAKEFLAGS=
102SHELL=${CONFIG_SHELL-/bin/sh}
103
104# Maximum number of lines to put in a shell here document.
105# This variable seems obsolete.  It should probably be removed, and
106# only ac_max_sed_lines should be used.
107: ${ac_max_here_lines=38}
108
109ac_unique_file="translator/main.cc"
110
111# Initialize some variables set by options.
112ac_init_help=
113ac_init_version=false
114# The variables have the same names as the options, with
115# dashes changed to underlines.
116cache_file=/dev/null
117exec_prefix=NONE
118no_create=
119no_recursion=
120prefix=NONE
121program_prefix=NONE
122program_suffix=NONE
123program_transform_name=s,x,x,
124silent=
125site=
126srcdir=
127verbose=
128x_includes=NONE
129x_libraries=NONE
130
131# Installation directory options.
132# These are left unexpanded so users can "make install exec_prefix=/foo"
133# and all the variables that are supposed to be based on exec_prefix
134# by default will actually change.
135# Use braces instead of parens because sh, perl, etc. also accept them.
136bindir='${exec_prefix}/bin'
137sbindir='${exec_prefix}/sbin'
138libexecdir='${exec_prefix}/libexec'
139datadir='${prefix}/share'
140sysconfdir='${prefix}/etc'
141sharedstatedir='${prefix}/com'
142localstatedir='${prefix}/var'
143libdir='${exec_prefix}/lib'
144includedir='${prefix}/include'
145oldincludedir='/usr/include'
146infodir='${prefix}/info'
147mandir='${prefix}/man'
148
149# Identity of this package.
150PACKAGE_NAME='cfa-cc'
151PACKAGE_TARNAME='cfa-cc'
152PACKAGE_VERSION='1.0'
153PACKAGE_STRING='cfa-cc 1.0'
154PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca'
155
156ac_prev=
157for ac_option
158do
159  # If the previous option needs an argument, assign it.
160  if test -n "$ac_prev"; then
161    eval "$ac_prev=\$ac_option"
162    ac_prev=
163    continue
164  fi
165
166  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
167
168  # Accept the important Cygnus configure options, so we can diagnose typos.
169
170  case $ac_option in
171
172  -bindir | --bindir | --bindi | --bind | --bin | --bi)
173    ac_prev=bindir ;;
174  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
175    bindir=$ac_optarg ;;
176
177  -build | --build | --buil | --bui | --bu)
178    ac_prev=build_alias ;;
179  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
180    build_alias=$ac_optarg ;;
181
182  -cache-file | --cache-file | --cache-fil | --cache-fi \
183  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
184    ac_prev=cache_file ;;
185  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
186  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
187    cache_file=$ac_optarg ;;
188
189  --config-cache | -C)
190    cache_file=config.cache ;;
191
192  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
193    ac_prev=datadir ;;
194  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
195  | --da=*)
196    datadir=$ac_optarg ;;
197
198  -disable-* | --disable-*)
199    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
200    # Reject names that are not valid shell variable names.
201    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
202      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
203   { (exit 1); exit 1; }; }
204    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
205    eval "enable_$ac_feature=no" ;;
206
207  -enable-* | --enable-*)
208    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
209    # Reject names that are not valid shell variable names.
210    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
211      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
212   { (exit 1); exit 1; }; }
213    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
214    case $ac_option in
215      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216      *) ac_optarg=yes ;;
217    esac
218    eval "enable_$ac_feature='$ac_optarg'" ;;
219
220  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
221  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
222  | --exec | --exe | --ex)
223    ac_prev=exec_prefix ;;
224  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
225  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
226  | --exec=* | --exe=* | --ex=*)
227    exec_prefix=$ac_optarg ;;
228
229  -gas | --gas | --ga | --g)
230    # Obsolete; use --with-gas.
231    with_gas=yes ;;
232
233  -help | --help | --hel | --he | -h)
234    ac_init_help=long ;;
235  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
236    ac_init_help=recursive ;;
237  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
238    ac_init_help=short ;;
239
240  -host | --host | --hos | --ho)
241    ac_prev=host_alias ;;
242  -host=* | --host=* | --hos=* | --ho=*)
243    host_alias=$ac_optarg ;;
244
245  -includedir | --includedir | --includedi | --included | --include \
246  | --includ | --inclu | --incl | --inc)
247    ac_prev=includedir ;;
248  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249  | --includ=* | --inclu=* | --incl=* | --inc=*)
250    includedir=$ac_optarg ;;
251
252  -infodir | --infodir | --infodi | --infod | --info | --inf)
253    ac_prev=infodir ;;
254  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255    infodir=$ac_optarg ;;
256
257  -libdir | --libdir | --libdi | --libd)
258    ac_prev=libdir ;;
259  -libdir=* | --libdir=* | --libdi=* | --libd=*)
260    libdir=$ac_optarg ;;
261
262  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263  | --libexe | --libex | --libe)
264    ac_prev=libexecdir ;;
265  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266  | --libexe=* | --libex=* | --libe=*)
267    libexecdir=$ac_optarg ;;
268
269  -localstatedir | --localstatedir | --localstatedi | --localstated \
270  | --localstate | --localstat | --localsta | --localst \
271  | --locals | --local | --loca | --loc | --lo)
272    ac_prev=localstatedir ;;
273  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276    localstatedir=$ac_optarg ;;
277
278  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
279    ac_prev=mandir ;;
280  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281    mandir=$ac_optarg ;;
282
283  -nfp | --nfp | --nf)
284    # Obsolete; use --without-fp.
285    with_fp=no ;;
286
287  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
288  | --no-cr | --no-c)
289    no_create=yes ;;
290
291  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
293    no_recursion=yes ;;
294
295  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297  | --oldin | --oldi | --old | --ol | --o)
298    ac_prev=oldincludedir ;;
299  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302    oldincludedir=$ac_optarg ;;
303
304  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
305    ac_prev=prefix ;;
306  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307    prefix=$ac_optarg ;;
308
309  -program-prefix | --program-prefix | --program-prefi | --program-pref \
310  | --program-pre | --program-pr | --program-p)
311    ac_prev=program_prefix ;;
312  -program-prefix=* | --program-prefix=* | --program-prefi=* \
313  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314    program_prefix=$ac_optarg ;;
315
316  -program-suffix | --program-suffix | --program-suffi | --program-suff \
317  | --program-suf | --program-su | --program-s)
318    ac_prev=program_suffix ;;
319  -program-suffix=* | --program-suffix=* | --program-suffi=* \
320  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321    program_suffix=$ac_optarg ;;
322
323  -program-transform-name | --program-transform-name \
324  | --program-transform-nam | --program-transform-na \
325  | --program-transform-n | --program-transform- \
326  | --program-transform | --program-transfor \
327  | --program-transfo | --program-transf \
328  | --program-trans | --program-tran \
329  | --progr-tra | --program-tr | --program-t)
330    ac_prev=program_transform_name ;;
331  -program-transform-name=* | --program-transform-name=* \
332  | --program-transform-nam=* | --program-transform-na=* \
333  | --program-transform-n=* | --program-transform-=* \
334  | --program-transform=* | --program-transfor=* \
335  | --program-transfo=* | --program-transf=* \
336  | --program-trans=* | --program-tran=* \
337  | --progr-tra=* | --program-tr=* | --program-t=*)
338    program_transform_name=$ac_optarg ;;
339
340  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341  | -silent | --silent | --silen | --sile | --sil)
342    silent=yes ;;
343
344  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
345    ac_prev=sbindir ;;
346  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
347  | --sbi=* | --sb=*)
348    sbindir=$ac_optarg ;;
349
350  -sharedstatedir | --sharedstatedir | --sharedstatedi \
351  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352  | --sharedst | --shareds | --shared | --share | --shar \
353  | --sha | --sh)
354    ac_prev=sharedstatedir ;;
355  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
358  | --sha=* | --sh=*)
359    sharedstatedir=$ac_optarg ;;
360
361  -site | --site | --sit)
362    ac_prev=site ;;
363  -site=* | --site=* | --sit=*)
364    site=$ac_optarg ;;
365
366  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
367    ac_prev=srcdir ;;
368  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369    srcdir=$ac_optarg ;;
370
371  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372  | --syscon | --sysco | --sysc | --sys | --sy)
373    ac_prev=sysconfdir ;;
374  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376    sysconfdir=$ac_optarg ;;
377
378  -target | --target | --targe | --targ | --tar | --ta | --t)
379    ac_prev=target_alias ;;
380  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381    target_alias=$ac_optarg ;;
382
383  -v | -verbose | --verbose | --verbos | --verbo | --verb)
384    verbose=yes ;;
385
386  -version | --version | --versio | --versi | --vers | -V)
387    ac_init_version=: ;;
388
389  -with-* | --with-*)
390    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
391    # Reject names that are not valid shell variable names.
392    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393      { echo "$as_me: error: invalid package name: $ac_package" >&2
394   { (exit 1); exit 1; }; }
395    ac_package=`echo $ac_package| sed 's/-/_/g'`
396    case $ac_option in
397      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398      *) ac_optarg=yes ;;
399    esac
400    eval "with_$ac_package='$ac_optarg'" ;;
401
402  -without-* | --without-*)
403    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
404    # Reject names that are not valid shell variable names.
405    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
406      { echo "$as_me: error: invalid package name: $ac_package" >&2
407   { (exit 1); exit 1; }; }
408    ac_package=`echo $ac_package | sed 's/-/_/g'`
409    eval "with_$ac_package=no" ;;
410
411  --x)
412    # Obsolete; use --with-x.
413    with_x=yes ;;
414
415  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
416  | --x-incl | --x-inc | --x-in | --x-i)
417    ac_prev=x_includes ;;
418  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
419  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
420    x_includes=$ac_optarg ;;
421
422  -x-libraries | --x-libraries | --x-librarie | --x-librari \
423  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
424    ac_prev=x_libraries ;;
425  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
426  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
427    x_libraries=$ac_optarg ;;
428
429  -*) { echo "$as_me: error: unrecognized option: $ac_option
430Try \`$0 --help' for more information." >&2
431   { (exit 1); exit 1; }; }
432    ;;
433
434  *=*)
435    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
436    # Reject names that are not valid shell variable names.
437    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
438      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
439   { (exit 1); exit 1; }; }
440    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
441    eval "$ac_envvar='$ac_optarg'"
442    export $ac_envvar ;;
443
444  *)
445    # FIXME: should be removed in autoconf 3.0.
446    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
447    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
448      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
449    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
450    ;;
451
452  esac
453done
454
455if test -n "$ac_prev"; then
456  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
457  { echo "$as_me: error: missing argument to $ac_option" >&2
458   { (exit 1); exit 1; }; }
459fi
460
461# Be sure to have absolute paths.
462for ac_var in exec_prefix prefix
463do
464  eval ac_val=$`echo $ac_var`
465  case $ac_val in
466    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
467    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
468   { (exit 1); exit 1; }; };;
469  esac
470done
471
472# Be sure to have absolute paths.
473for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
474              localstatedir libdir includedir oldincludedir infodir mandir
475do
476  eval ac_val=$`echo $ac_var`
477  case $ac_val in
478    [\\/$]* | ?:[\\/]* ) ;;
479    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
480   { (exit 1); exit 1; }; };;
481  esac
482done
483
484# There might be people who depend on the old broken behavior: `$host'
485# used to hold the argument of --host etc.
486build=$build_alias
487host=$host_alias
488target=$target_alias
489
490# FIXME: should be removed in autoconf 3.0.
491if test "x$host_alias" != x; then
492  if test "x$build_alias" = x; then
493    cross_compiling=maybe
494    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
495    If a cross compiler is detected then cross compile mode will be used." >&2
496  elif test "x$build_alias" != "x$host_alias"; then
497    cross_compiling=yes
498  fi
499fi
500
501ac_tool_prefix=
502test -n "$host_alias" && ac_tool_prefix=$host_alias-
503
504test "$silent" = yes && exec 6>/dev/null
505
506# Find the source files, if location was not specified.
507if test -z "$srcdir"; then
508  ac_srcdir_defaulted=yes
509  # Try the directory containing this script, then its parent.
510  ac_prog=$0
511  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
512  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
513  srcdir=$ac_confdir
514  if test ! -r $srcdir/$ac_unique_file; then
515    srcdir=..
516  fi
517else
518  ac_srcdir_defaulted=no
519fi
520if test ! -r $srcdir/$ac_unique_file; then
521  if test "$ac_srcdir_defaulted" = yes; then
522    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
523   { (exit 1); exit 1; }; }
524  else
525    { echo "$as_me: error: cannot find sources in $srcdir" >&2
526   { (exit 1); exit 1; }; }
527  fi
528fi
529srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
530ac_env_build_alias_set=${build_alias+set}
531ac_env_build_alias_value=$build_alias
532ac_cv_env_build_alias_set=${build_alias+set}
533ac_cv_env_build_alias_value=$build_alias
534ac_env_host_alias_set=${host_alias+set}
535ac_env_host_alias_value=$host_alias
536ac_cv_env_host_alias_set=${host_alias+set}
537ac_cv_env_host_alias_value=$host_alias
538ac_env_target_alias_set=${target_alias+set}
539ac_env_target_alias_value=$target_alias
540ac_cv_env_target_alias_set=${target_alias+set}
541ac_cv_env_target_alias_value=$target_alias
542ac_env_CXX_set=${CXX+set}
543ac_env_CXX_value=$CXX
544ac_cv_env_CXX_set=${CXX+set}
545ac_cv_env_CXX_value=$CXX
546ac_env_CXXFLAGS_set=${CXXFLAGS+set}
547ac_env_CXXFLAGS_value=$CXXFLAGS
548ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
549ac_cv_env_CXXFLAGS_value=$CXXFLAGS
550ac_env_LDFLAGS_set=${LDFLAGS+set}
551ac_env_LDFLAGS_value=$LDFLAGS
552ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
553ac_cv_env_LDFLAGS_value=$LDFLAGS
554ac_env_CPPFLAGS_set=${CPPFLAGS+set}
555ac_env_CPPFLAGS_value=$CPPFLAGS
556ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
557ac_cv_env_CPPFLAGS_value=$CPPFLAGS
558ac_env_CC_set=${CC+set}
559ac_env_CC_value=$CC
560ac_cv_env_CC_set=${CC+set}
561ac_cv_env_CC_value=$CC
562ac_env_CFLAGS_set=${CFLAGS+set}
563ac_env_CFLAGS_value=$CFLAGS
564ac_cv_env_CFLAGS_set=${CFLAGS+set}
565ac_cv_env_CFLAGS_value=$CFLAGS
566ac_env_CPP_set=${CPP+set}
567ac_env_CPP_value=$CPP
568ac_cv_env_CPP_set=${CPP+set}
569ac_cv_env_CPP_value=$CPP
570
571#
572# Report the --help message.
573#
574if test "$ac_init_help" = "long"; then
575  # Omit some internal or obsolete options to make the list less imposing.
576  # This message is too long to be a string in the A/UX 3.1 sh.
577  cat <<EOF
578\`configure' configures cfa-cc 1.0 to adapt to many kinds of systems.
579
580Usage: $0 [OPTION]... [VAR=VALUE]...
581
582To assign environment variables (e.g., CC, CFLAGS...), specify them as
583VAR=VALUE.  See below for descriptions of some of the useful variables.
584
585Defaults for the options are specified in brackets.
586
587Configuration:
588  -h, --help              display this help and exit
589      --help=short        display options specific to this package
590      --help=recursive    display the short help of all the included packages
591  -V, --version           display version information and exit
592  -q, --quiet, --silent   do not print \`checking...' messages
593      --cache-file=FILE   cache test results in FILE [disabled]
594  -C, --config-cache      alias for \`--cache-file=config.cache'
595  -n, --no-create         do not create output files
596      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
597
598EOF
599
600  cat <<EOF
601Installation directories:
602  --prefix=PREFIX         install architecture-independent files in PREFIX
603                          [$ac_default_prefix]
604  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
605                          [PREFIX]
606
607By default, \`make install' will install all the files in
608\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
609an installation prefix other than \`$ac_default_prefix' using \`--prefix',
610for instance \`--prefix=\$HOME'.
611
612For better control, use the options below.
613
614Fine tuning of the installation directories:
615  --bindir=DIR           user executables [EPREFIX/bin]
616  --sbindir=DIR          system admin executables [EPREFIX/sbin]
617  --libexecdir=DIR       program executables [EPREFIX/libexec]
618  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
619  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
620  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
621  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
622  --libdir=DIR           object code libraries [EPREFIX/lib]
623  --includedir=DIR       C header files [PREFIX/include]
624  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
625  --infodir=DIR          info documentation [PREFIX/info]
626  --mandir=DIR           man documentation [PREFIX/man]
627EOF
628
629  cat <<\EOF
630
631Program names:
632  --program-prefix=PREFIX            prepend PREFIX to installed program names
633  --program-suffix=SUFFIX            append SUFFIX to installed program names
634  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
635EOF
636fi
637
638if test -n "$ac_init_help"; then
639  case $ac_init_help in
640     short | recursive ) echo "Configuration of cfa-cc 1.0:";;
641   esac
642  cat <<\EOF
643
644Optional Features:
645  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
646  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
647  --disable-dependency-tracking Speeds up one-time builds
648  --enable-dependency-tracking  Do not reject slow dependency extractors
649
650Optional Packages:
651  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
652  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
653  --with-preludedir=DIR      DIR that contains prelude.cf and other necessary files
654  --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
655
656Some influential environment variables:
657  CXX         C++ compiler command
658  CXXFLAGS    C++ compiler flags
659  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
660              nonstandard directory <lib dir>
661  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
662              headers in a nonstandard directory <include dir>
663  CC          C compiler command
664  CFLAGS      C compiler flags
665  CPP         C preprocessor
666
667Use these variables to override the choices made by `configure' or to help
668it to find libraries and programs with nonstandard names/locations.
669
670Report bugs to <cforall@plg.uwaterloo.ca>.
671EOF
672fi
673
674if test "$ac_init_help" = "recursive"; then
675  # If there are subdirs, report their specific --help.
676  ac_popdir=`pwd`
677  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
678    cd $ac_subdir
679    # A "../" for each directory in /$ac_subdir.
680    ac_dots=`echo $ac_subdir |
681             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
682
683    case $srcdir in
684    .) # No --srcdir option.  We are building in place.
685      ac_sub_srcdir=$srcdir ;;
686    [\\/]* | ?:[\\/]* ) # Absolute path.
687      ac_sub_srcdir=$srcdir/$ac_subdir ;;
688    *) # Relative path.
689      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
690    esac
691
692    # Check for guested configure; otherwise get Cygnus style configure.
693    if test -f $ac_sub_srcdir/configure.gnu; then
694      echo
695      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
696    elif test -f $ac_sub_srcdir/configure; then
697      echo
698      $SHELL $ac_sub_srcdir/configure  --help=recursive
699    elif test -f $ac_sub_srcdir/configure.ac ||
700           test -f $ac_sub_srcdir/configure.in; then
701      echo
702      $ac_configure --help
703    else
704      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
705    fi
706    cd $ac_popdir
707  done
708fi
709
710test -n "$ac_init_help" && exit 0
711if $ac_init_version; then
712  cat <<\EOF
713cfa-cc configure 1.0
714generated by GNU Autoconf 2.52
715
716Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
717Free Software Foundation, Inc.
718This configure script is free software; the Free Software Foundation
719gives unlimited permission to copy, distribute and modify it.
720EOF
721  exit 0
722fi
723exec 5>config.log
724cat >&5 <<EOF
725This file contains any messages produced by compilers while
726running configure, to aid debugging if configure makes a mistake.
727
728It was created by cfa-cc $as_me 1.0, which was
729generated by GNU Autoconf 2.52.  Invocation command line was
730
731  $ $0 $@
732
733EOF
734{
735cat <<_ASUNAME
736## ---------- ##
737## Platform.  ##
738## ---------- ##
739
740hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
741uname -m = `(uname -m) 2>/dev/null || echo unknown`
742uname -r = `(uname -r) 2>/dev/null || echo unknown`
743uname -s = `(uname -s) 2>/dev/null || echo unknown`
744uname -v = `(uname -v) 2>/dev/null || echo unknown`
745
746/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
747/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
748
749/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
750/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
751/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
752hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
753/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
754/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
755/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
756
757PATH = $PATH
758
759_ASUNAME
760} >&5
761
762cat >&5 <<EOF
763## ------------ ##
764## Core tests.  ##
765## ------------ ##
766
767EOF
768
769# Keep a trace of the command line.
770# Strip out --no-create and --no-recursion so they do not pile up.
771# Also quote any args containing shell meta-characters.
772ac_configure_args=
773ac_sep=
774for ac_arg
775do
776  case $ac_arg in
777  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
778  | --no-cr | --no-c) ;;
779  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
780  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
781  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
782    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
783    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
784    ac_sep=" " ;;
785  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
786     ac_sep=" " ;;
787  esac
788  # Get rid of the leading space.
789done
790
791# When interrupted or exit'd, cleanup temporary files, and complete
792# config.log.  We remove comments because anyway the quotes in there
793# would cause problems or look ugly.
794trap 'exit_status=$?
795  # Save into config.log some information that might help in debugging.
796  echo >&5
797  echo "## ----------------- ##" >&5
798  echo "## Cache variables.  ##" >&5
799  echo "## ----------------- ##" >&5
800  echo >&5
801  # The following way of writing the cache mishandles newlines in values,
802{
803  (set) 2>&1 |
804    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
805    *ac_space=\ *)
806      sed -n \
807        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
808          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
809      ;;
810    *)
811      sed -n \
812        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
813      ;;
814    esac;
815} >&5
816  sed "/^$/d" confdefs.h >conftest.log
817  if test -s conftest.log; then
818    echo >&5
819    echo "## ------------ ##" >&5
820    echo "## confdefs.h.  ##" >&5
821    echo "## ------------ ##" >&5
822    echo >&5
823    cat conftest.log >&5
824  fi
825  (echo; echo) >&5
826  test "$ac_signal" != 0 &&
827    echo "$as_me: caught signal $ac_signal" >&5
828  echo "$as_me: exit $exit_status" >&5
829  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
830    exit $exit_status
831     ' 0
832for ac_signal in 1 2 13 15; do
833  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
834done
835ac_signal=0
836
837# confdefs.h avoids OS command line length limits that DEFS can exceed.
838rm -rf conftest* confdefs.h
839# AIX cpp loses on an empty file, so make sure it contains at least a newline.
840echo >confdefs.h
841
842# Let the site file select an alternate cache file if it wants to.
843# Prefer explicitly selected file to automatically selected ones.
844if test -z "$CONFIG_SITE"; then
845  if test "x$prefix" != xNONE; then
846    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
847  else
848    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
849  fi
850fi
851for ac_site_file in $CONFIG_SITE; do
852  if test -r "$ac_site_file"; then
853    { echo "$as_me:853: loading site script $ac_site_file" >&5
854echo "$as_me: loading site script $ac_site_file" >&6;}
855    cat "$ac_site_file" >&5
856    . "$ac_site_file"
857  fi
858done
859
860if test -r "$cache_file"; then
861  # Some versions of bash will fail to source /dev/null (special
862  # files actually), so we avoid doing that.
863  if test -f "$cache_file"; then
864    { echo "$as_me:864: loading cache $cache_file" >&5
865echo "$as_me: loading cache $cache_file" >&6;}
866    case $cache_file in
867      [\\/]* | ?:[\\/]* ) . $cache_file;;
868      *)                      . ./$cache_file;;
869    esac
870  fi
871else
872  { echo "$as_me:872: creating cache $cache_file" >&5
873echo "$as_me: creating cache $cache_file" >&6;}
874  >$cache_file
875fi
876
877# Check that the precious variables saved in the cache have kept the same
878# value.
879ac_cache_corrupted=false
880for ac_var in `(set) 2>&1 |
881               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
882  eval ac_old_set=\$ac_cv_env_${ac_var}_set
883  eval ac_new_set=\$ac_env_${ac_var}_set
884  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
885  eval ac_new_val="\$ac_env_${ac_var}_value"
886  case $ac_old_set,$ac_new_set in
887    set,)
888      { echo "$as_me:888: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
889echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
890      ac_cache_corrupted=: ;;
891    ,set)
892      { echo "$as_me:892: error: \`$ac_var' was not set in the previous run" >&5
893echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
894      ac_cache_corrupted=: ;;
895    ,);;
896    *)
897      if test "x$ac_old_val" != "x$ac_new_val"; then
898        { echo "$as_me:898: error: \`$ac_var' has changed since the previous run:" >&5
899echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
900        { echo "$as_me:900:   former value:  $ac_old_val" >&5
901echo "$as_me:   former value:  $ac_old_val" >&2;}
902        { echo "$as_me:902:   current value: $ac_new_val" >&5
903echo "$as_me:   current value: $ac_new_val" >&2;}
904        ac_cache_corrupted=:
905      fi;;
906  esac
907  # Pass precious variables to config.status.  It doesn't matter if
908  # we pass some twice (in addition to the command line arguments).
909  if test "$ac_new_set" = set; then
910    case $ac_new_val in
911    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
912      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
913      ac_configure_args="$ac_configure_args '$ac_arg'"
914      ;;
915    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
916       ;;
917    esac
918  fi
919done
920if $ac_cache_corrupted; then
921  { echo "$as_me:921: error: changes in the environment can compromise the build" >&5
922echo "$as_me: error: changes in the environment can compromise the build" >&2;}
923  { { echo "$as_me:923: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
924echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
925   { (exit 1); exit 1; }; }
926fi
927
928ac_ext=c
929ac_cpp='$CPP $CPPFLAGS'
930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
932ac_compiler_gnu=$ac_cv_c_compiler_gnu
933
934case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
935  *c*,-n*) ECHO_N= ECHO_C='
936' ECHO_T='      ' ;;
937  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
938  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
939esac
940echo "#! $SHELL" >conftest.sh
941echo  "exit 0"   >>conftest.sh
942chmod +x conftest.sh
943if { (echo "$as_me:943: PATH=\".;.\"; conftest.sh") >&5
944  (PATH=".;."; conftest.sh) 2>&5
945  ac_status=$?
946  echo "$as_me:946: \$? = $ac_status" >&5
947  (exit $ac_status); }; then
948  ac_path_separator=';'
949else
950  ac_path_separator=:
951fi
952PATH_SEPARATOR="$ac_path_separator"
953rm -f conftest.sh
954
955am__api_version="1.6"
956ac_aux_dir=
957for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
958  if test -f $ac_dir/install-sh; then
959    ac_aux_dir=$ac_dir
960    ac_install_sh="$ac_aux_dir/install-sh -c"
961    break
962  elif test -f $ac_dir/install.sh; then
963    ac_aux_dir=$ac_dir
964    ac_install_sh="$ac_aux_dir/install.sh -c"
965    break
966  elif test -f $ac_dir/shtool; then
967    ac_aux_dir=$ac_dir
968    ac_install_sh="$ac_aux_dir/shtool install -c"
969    break
970  fi
971done
972if test -z "$ac_aux_dir"; then
973  { { echo "$as_me:973: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
974echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
975   { (exit 1); exit 1; }; }
976fi
977ac_config_guess="$SHELL $ac_aux_dir/config.guess"
978ac_config_sub="$SHELL $ac_aux_dir/config.sub"
979ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
980
981# Find a good install program.  We prefer a C program (faster),
982# so one script is as good as another.  But avoid the broken or
983# incompatible versions:
984# SysV /etc/install, /usr/sbin/install
985# SunOS /usr/etc/install
986# IRIX /sbin/install
987# AIX /bin/install
988# AmigaOS /C/install, which installs bootblocks on floppy discs
989# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
990# AFS /usr/afsws/bin/install, which mishandles nonexistent args
991# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
992# ./install, which can be erroneously created by make from ./install.sh.
993echo "$as_me:993: checking for a BSD compatible install" >&5
994echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
995if test -z "$INSTALL"; then
996if test "${ac_cv_path_install+set}" = set; then
997  echo $ECHO_N "(cached) $ECHO_C" >&6
998else
999    ac_save_IFS=$IFS; IFS=$ac_path_separator
1000  for ac_dir in $PATH; do
1001    IFS=$ac_save_IFS
1002    # Account for people who put trailing slashes in PATH elements.
1003    case $ac_dir/ in
1004    / | ./ | .// | /cC/* \
1005    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1006    | /usr/ucb/* ) ;;
1007    *)
1008      # OSF1 and SCO ODT 3.0 have their own names for install.
1009      # Don't use installbsd from OSF since it installs stuff as root
1010      # by default.
1011      for ac_prog in ginstall scoinst install; do
1012        if $as_executable_p "$ac_dir/$ac_prog"; then
1013          if test $ac_prog = install &&
1014            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1015            # AIX install.  It has an incompatible calling convention.
1016            :
1017          elif test $ac_prog = install &&
1018            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1019            # program-specific install script used by HP pwplus--don't use.
1020            :
1021          else
1022            ac_cv_path_install="$ac_dir/$ac_prog -c"
1023            break 2
1024          fi
1025        fi
1026      done
1027      ;;
1028    esac
1029  done
1030
1031fi
1032  if test "${ac_cv_path_install+set}" = set; then
1033    INSTALL=$ac_cv_path_install
1034  else
1035    # As a last resort, use the slow shell script.  We don't cache a
1036    # path for INSTALL within a source directory, because that will
1037    # break other packages using the cache if that directory is
1038    # removed, or if the path is relative.
1039    INSTALL=$ac_install_sh
1040  fi
1041fi
1042echo "$as_me:1042: result: $INSTALL" >&5
1043echo "${ECHO_T}$INSTALL" >&6
1044
1045# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1046# It thinks the first close brace ends the variable substitution.
1047test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1048
1049test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1050
1051test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1052
1053echo "$as_me:1053: checking whether build environment is sane" >&5
1054echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1055# Just in case
1056sleep 1
1057echo timestamp > conftest.file
1058# Do `set' in a subshell so we don't clobber the current shell's
1059# arguments.  Must try -L first in case configure is actually a
1060# symlink; some systems play weird games with the mod time of symlinks
1061# (eg FreeBSD returns the mod time of the symlink's containing
1062# directory).
1063if (
1064   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1065   if test "$*" = "X"; then
1066      # -L didn't work.
1067      set X `ls -t $srcdir/configure conftest.file`
1068   fi
1069   rm -f conftest.file
1070   if test "$*" != "X $srcdir/configure conftest.file" \
1071      && test "$*" != "X conftest.file $srcdir/configure"; then
1072
1073      # If neither matched, then we have a broken ls.  This can happen
1074      # if, for instance, CONFIG_SHELL is bash and it inherits a
1075      # broken ls alias from the environment.  This has actually
1076      # happened.  Such a system could not be considered "sane".
1077      { { echo "$as_me:1077: error: ls -t appears to fail.  Make sure there is not a broken
1078alias in your environment" >&5
1079echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1080alias in your environment" >&2;}
1081   { (exit 1); exit 1; }; }
1082   fi
1083
1084   test "$2" = conftest.file
1085   )
1086then
1087   # Ok.
1088   :
1089else
1090   { { echo "$as_me:1090: error: newly created file is older than distributed files!
1091Check your system clock" >&5
1092echo "$as_me: error: newly created file is older than distributed files!
1093Check your system clock" >&2;}
1094   { (exit 1); exit 1; }; }
1095fi
1096echo "$as_me:1096: result: yes" >&5
1097echo "${ECHO_T}yes" >&6
1098test "$program_prefix" != NONE &&
1099  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1100# Use a double $ so make ignores it.
1101test "$program_suffix" != NONE &&
1102  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1103# Double any \ or $.  echo might interpret backslashes.
1104# By default was `s,x,x', remove it if useless.
1105cat <<\_ACEOF >conftest.sed
1106s/[\\$]/&&/g;s/;s,x,x,$//
1107_ACEOF
1108program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1109rm conftest.sed
1110
1111# expand $ac_aux_dir to an absolute path
1112am_aux_dir=`cd $ac_aux_dir && pwd`
1113
1114test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1115# Use eval to expand $SHELL
1116if eval "$MISSING --run true"; then
1117  am_missing_run="$MISSING --run "
1118else
1119  am_missing_run=
1120  { echo "$as_me:1120: WARNING: \`missing' script is too old or missing" >&5
1121echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1122fi
1123
1124for ac_prog in mawk gawk nawk awk
1125do
1126  # Extract the first word of "$ac_prog", so it can be a program name with args.
1127set dummy $ac_prog; ac_word=$2
1128echo "$as_me:1128: checking for $ac_word" >&5
1129echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1130if test "${ac_cv_prog_AWK+set}" = set; then
1131  echo $ECHO_N "(cached) $ECHO_C" >&6
1132else
1133  if test -n "$AWK"; then
1134  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1135else
1136  ac_save_IFS=$IFS; IFS=$ac_path_separator
1137ac_dummy="$PATH"
1138for ac_dir in $ac_dummy; do
1139  IFS=$ac_save_IFS
1140  test -z "$ac_dir" && ac_dir=.
1141  $as_executable_p "$ac_dir/$ac_word" || continue
1142ac_cv_prog_AWK="$ac_prog"
1143echo "$as_me:1143: found $ac_dir/$ac_word" >&5
1144break
1145done
1146
1147fi
1148fi
1149AWK=$ac_cv_prog_AWK
1150if test -n "$AWK"; then
1151  echo "$as_me:1151: result: $AWK" >&5
1152echo "${ECHO_T}$AWK" >&6
1153else
1154  echo "$as_me:1154: result: no" >&5
1155echo "${ECHO_T}no" >&6
1156fi
1157
1158  test -n "$AWK" && break
1159done
1160
1161echo "$as_me:1161: checking whether ${MAKE-make} sets \${MAKE}" >&5
1162echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1163set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1164if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1165  echo $ECHO_N "(cached) $ECHO_C" >&6
1166else
1167  cat >conftest.make <<\EOF
1168all:
1169        @echo 'ac_maketemp="${MAKE}"'
1170EOF
1171# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1172eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1173if test -n "$ac_maketemp"; then
1174  eval ac_cv_prog_make_${ac_make}_set=yes
1175else
1176  eval ac_cv_prog_make_${ac_make}_set=no
1177fi
1178rm -f conftest.make
1179fi
1180if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1181  echo "$as_me:1181: result: yes" >&5
1182echo "${ECHO_T}yes" >&6
1183  SET_MAKE=
1184else
1185  echo "$as_me:1185: result: no" >&5
1186echo "${ECHO_T}no" >&6
1187  SET_MAKE="MAKE=${MAKE-make}"
1188fi
1189
1190 # test to see if srcdir already configured
1191if test "`cd $srcdir && pwd`" != "`pwd`" &&
1192   test -f $srcdir/config.status; then
1193  { { echo "$as_me:1193: error: source directory already configured; run \"make distclean\" there first" >&5
1194echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1195   { (exit 1); exit 1; }; }
1196fi
1197
1198# Define the identity of the package.
1199 PACKAGE=cfa
1200 VERSION=1.0
1201
1202cat >>confdefs.h <<EOF
1203#define PACKAGE "$PACKAGE"
1204EOF
1205
1206cat >>confdefs.h <<EOF
1207#define VERSION "$VERSION"
1208EOF
1209
1210# Some tools Automake needs.
1211
1212ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1213
1214AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1215
1216AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1217
1218AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1219
1220MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1221
1222AMTAR=${AMTAR-"${am_missing_run}tar"}
1223
1224install_sh=${install_sh-"$am_aux_dir/install-sh"}
1225
1226# Installed binaries are usually stripped using `strip' when the user
1227# run `make install-strip'.  However `strip' might not be the right
1228# tool to use in cross-compilation environments, therefore Automake
1229# will honor the `STRIP' environment variable to overrule this program.
1230if test "$cross_compiling" != no; then
1231  if test -n "$ac_tool_prefix"; then
1232  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1233set dummy ${ac_tool_prefix}strip; ac_word=$2
1234echo "$as_me:1234: checking for $ac_word" >&5
1235echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1236if test "${ac_cv_prog_STRIP+set}" = set; then
1237  echo $ECHO_N "(cached) $ECHO_C" >&6
1238else
1239  if test -n "$STRIP"; then
1240  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1241else
1242  ac_save_IFS=$IFS; IFS=$ac_path_separator
1243ac_dummy="$PATH"
1244for ac_dir in $ac_dummy; do
1245  IFS=$ac_save_IFS
1246  test -z "$ac_dir" && ac_dir=.
1247  $as_executable_p "$ac_dir/$ac_word" || continue
1248ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1249echo "$as_me:1249: found $ac_dir/$ac_word" >&5
1250break
1251done
1252
1253fi
1254fi
1255STRIP=$ac_cv_prog_STRIP
1256if test -n "$STRIP"; then
1257  echo "$as_me:1257: result: $STRIP" >&5
1258echo "${ECHO_T}$STRIP" >&6
1259else
1260  echo "$as_me:1260: result: no" >&5
1261echo "${ECHO_T}no" >&6
1262fi
1263
1264fi
1265if test -z "$ac_cv_prog_STRIP"; then
1266  ac_ct_STRIP=$STRIP
1267  # Extract the first word of "strip", so it can be a program name with args.
1268set dummy strip; ac_word=$2
1269echo "$as_me:1269: checking for $ac_word" >&5
1270echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1271if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1272  echo $ECHO_N "(cached) $ECHO_C" >&6
1273else
1274  if test -n "$ac_ct_STRIP"; then
1275  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1276else
1277  ac_save_IFS=$IFS; IFS=$ac_path_separator
1278ac_dummy="$PATH"
1279for ac_dir in $ac_dummy; do
1280  IFS=$ac_save_IFS
1281  test -z "$ac_dir" && ac_dir=.
1282  $as_executable_p "$ac_dir/$ac_word" || continue
1283ac_cv_prog_ac_ct_STRIP="strip"
1284echo "$as_me:1284: found $ac_dir/$ac_word" >&5
1285break
1286done
1287
1288  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1289fi
1290fi
1291ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1292if test -n "$ac_ct_STRIP"; then
1293  echo "$as_me:1293: result: $ac_ct_STRIP" >&5
1294echo "${ECHO_T}$ac_ct_STRIP" >&6
1295else
1296  echo "$as_me:1296: result: no" >&5
1297echo "${ECHO_T}no" >&6
1298fi
1299
1300  STRIP=$ac_ct_STRIP
1301else
1302  STRIP="$ac_cv_prog_STRIP"
1303fi
1304
1305fi
1306INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1307
1308# We need awk for the "check" target.  The system "awk" is bad on
1309# some platforms.
1310
1311# Add the stamp file to the list of files AC keeps track of,
1312# along with our hook.
1313ac_config_headers="$ac_config_headers config.h"
1314
1315for ac_prog in 'bison -y' byacc
1316do
1317  # Extract the first word of "$ac_prog", so it can be a program name with args.
1318set dummy $ac_prog; ac_word=$2
1319echo "$as_me:1319: checking for $ac_word" >&5
1320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1321if test "${ac_cv_prog_YACC+set}" = set; then
1322  echo $ECHO_N "(cached) $ECHO_C" >&6
1323else
1324  if test -n "$YACC"; then
1325  ac_cv_prog_YACC="$YACC" # Let the user override the test.
1326else
1327  ac_save_IFS=$IFS; IFS=$ac_path_separator
1328ac_dummy="$PATH"
1329for ac_dir in $ac_dummy; do
1330  IFS=$ac_save_IFS
1331  test -z "$ac_dir" && ac_dir=.
1332  $as_executable_p "$ac_dir/$ac_word" || continue
1333ac_cv_prog_YACC="$ac_prog"
1334echo "$as_me:1334: found $ac_dir/$ac_word" >&5
1335break
1336done
1337
1338fi
1339fi
1340YACC=$ac_cv_prog_YACC
1341if test -n "$YACC"; then
1342  echo "$as_me:1342: result: $YACC" >&5
1343echo "${ECHO_T}$YACC" >&6
1344else
1345  echo "$as_me:1345: result: no" >&5
1346echo "${ECHO_T}no" >&6
1347fi
1348
1349  test -n "$YACC" && break
1350done
1351test -n "$YACC" || YACC="yacc"
1352
1353ac_ext=cc
1354ac_cpp='$CXXCPP $CPPFLAGS'
1355ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1356ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1357ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1358if test -n "$ac_tool_prefix"; then
1359  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1360  do
1361    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1362set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1363echo "$as_me:1363: checking for $ac_word" >&5
1364echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1365if test "${ac_cv_prog_CXX+set}" = set; then
1366  echo $ECHO_N "(cached) $ECHO_C" >&6
1367else
1368  if test -n "$CXX"; then
1369  ac_cv_prog_CXX="$CXX" # Let the user override the test.
1370else
1371  ac_save_IFS=$IFS; IFS=$ac_path_separator
1372ac_dummy="$PATH"
1373for ac_dir in $ac_dummy; do
1374  IFS=$ac_save_IFS
1375  test -z "$ac_dir" && ac_dir=.
1376  $as_executable_p "$ac_dir/$ac_word" || continue
1377ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1378echo "$as_me:1378: found $ac_dir/$ac_word" >&5
1379break
1380done
1381
1382fi
1383fi
1384CXX=$ac_cv_prog_CXX
1385if test -n "$CXX"; then
1386  echo "$as_me:1386: result: $CXX" >&5
1387echo "${ECHO_T}$CXX" >&6
1388else
1389  echo "$as_me:1389: result: no" >&5
1390echo "${ECHO_T}no" >&6
1391fi
1392
1393    test -n "$CXX" && break
1394  done
1395fi
1396if test -z "$CXX"; then
1397  ac_ct_CXX=$CXX
1398  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1399do
1400  # Extract the first word of "$ac_prog", so it can be a program name with args.
1401set dummy $ac_prog; ac_word=$2
1402echo "$as_me:1402: checking for $ac_word" >&5
1403echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1405  echo $ECHO_N "(cached) $ECHO_C" >&6
1406else
1407  if test -n "$ac_ct_CXX"; then
1408  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1409else
1410  ac_save_IFS=$IFS; IFS=$ac_path_separator
1411ac_dummy="$PATH"
1412for ac_dir in $ac_dummy; do
1413  IFS=$ac_save_IFS
1414  test -z "$ac_dir" && ac_dir=.
1415  $as_executable_p "$ac_dir/$ac_word" || continue
1416ac_cv_prog_ac_ct_CXX="$ac_prog"
1417echo "$as_me:1417: found $ac_dir/$ac_word" >&5
1418break
1419done
1420
1421fi
1422fi
1423ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1424if test -n "$ac_ct_CXX"; then
1425  echo "$as_me:1425: result: $ac_ct_CXX" >&5
1426echo "${ECHO_T}$ac_ct_CXX" >&6
1427else
1428  echo "$as_me:1428: result: no" >&5
1429echo "${ECHO_T}no" >&6
1430fi
1431
1432  test -n "$ac_ct_CXX" && break
1433done
1434test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1435
1436  CXX=$ac_ct_CXX
1437fi
1438
1439# Provide some information about the compiler.
1440echo "$as_me:1440:" \
1441     "checking for C++ compiler version" >&5
1442ac_compiler=`set X $ac_compile; echo $2`
1443{ (eval echo "$as_me:1443: \"$ac_compiler --version </dev/null >&5\"") >&5
1444  (eval $ac_compiler --version </dev/null >&5) 2>&5
1445  ac_status=$?
1446  echo "$as_me:1446: \$? = $ac_status" >&5
1447  (exit $ac_status); }
1448{ (eval echo "$as_me:1448: \"$ac_compiler -v </dev/null >&5\"") >&5
1449  (eval $ac_compiler -v </dev/null >&5) 2>&5
1450  ac_status=$?
1451  echo "$as_me:1451: \$? = $ac_status" >&5
1452  (exit $ac_status); }
1453{ (eval echo "$as_me:1453: \"$ac_compiler -V </dev/null >&5\"") >&5
1454  (eval $ac_compiler -V </dev/null >&5) 2>&5
1455  ac_status=$?
1456  echo "$as_me:1456: \$? = $ac_status" >&5
1457  (exit $ac_status); }
1458
1459cat >conftest.$ac_ext <<_ACEOF
1460#line 1460 "configure"
1461#include "confdefs.h"
1462
1463int
1464main ()
1465{
1466
1467  ;
1468  return 0;
1469}
1470_ACEOF
1471ac_clean_files_save=$ac_clean_files
1472ac_clean_files="$ac_clean_files a.out a.exe"
1473# Try to create an executable without -o first, disregard a.out.
1474# It will help us diagnose broken compilers, and finding out an intuition
1475# of exeext.
1476echo "$as_me:1476: checking for C++ compiler default output" >&5
1477echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1478ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1479if { (eval echo "$as_me:1479: \"$ac_link_default\"") >&5
1480  (eval $ac_link_default) 2>&5
1481  ac_status=$?
1482  echo "$as_me:1482: \$? = $ac_status" >&5
1483  (exit $ac_status); }; then
1484  # Find the output, starting from the most likely.  This scheme is
1485# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1486# resort.
1487for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1488                ls a.out conftest 2>/dev/null;
1489                ls a.* conftest.* 2>/dev/null`; do
1490  case $ac_file in
1491    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1492    a.out ) # We found the default executable, but exeext='' is most
1493            # certainly right.
1494            break;;
1495    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1496          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1497          export ac_cv_exeext
1498          break;;
1499    * ) break;;
1500  esac
1501done
1502else
1503  echo "$as_me: failed program was:" >&5
1504cat conftest.$ac_ext >&5
1505{ { echo "$as_me:1505: error: C++ compiler cannot create executables" >&5
1506echo "$as_me: error: C++ compiler cannot create executables" >&2;}
1507   { (exit 77); exit 77; }; }
1508fi
1509
1510ac_exeext=$ac_cv_exeext
1511echo "$as_me:1511: result: $ac_file" >&5
1512echo "${ECHO_T}$ac_file" >&6
1513
1514# Check the compiler produces executables we can run.  If not, either
1515# the compiler is broken, or we cross compile.
1516echo "$as_me:1516: checking whether the C++ compiler works" >&5
1517echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1518# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1519# If not cross compiling, check that we can run a simple program.
1520if test "$cross_compiling" != yes; then
1521  if { ac_try='./$ac_file'
1522  { (eval echo "$as_me:1522: \"$ac_try\"") >&5
1523  (eval $ac_try) 2>&5
1524  ac_status=$?
1525  echo "$as_me:1525: \$? = $ac_status" >&5
1526  (exit $ac_status); }; }; then
1527    cross_compiling=no
1528  else
1529    if test "$cross_compiling" = maybe; then
1530        cross_compiling=yes
1531    else
1532        { { echo "$as_me:1532: error: cannot run C++ compiled programs.
1533If you meant to cross compile, use \`--host'." >&5
1534echo "$as_me: error: cannot run C++ compiled programs.
1535If you meant to cross compile, use \`--host'." >&2;}
1536   { (exit 1); exit 1; }; }
1537    fi
1538  fi
1539fi
1540echo "$as_me:1540: result: yes" >&5
1541echo "${ECHO_T}yes" >&6
1542
1543rm -f a.out a.exe conftest$ac_cv_exeext
1544ac_clean_files=$ac_clean_files_save
1545# Check the compiler produces executables we can run.  If not, either
1546# the compiler is broken, or we cross compile.
1547echo "$as_me:1547: checking whether we are cross compiling" >&5
1548echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1549echo "$as_me:1549: result: $cross_compiling" >&5
1550echo "${ECHO_T}$cross_compiling" >&6
1551
1552echo "$as_me:1552: checking for executable suffix" >&5
1553echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1554if { (eval echo "$as_me:1554: \"$ac_link\"") >&5
1555  (eval $ac_link) 2>&5
1556  ac_status=$?
1557  echo "$as_me:1557: \$? = $ac_status" >&5
1558  (exit $ac_status); }; then
1559  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1560# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1561# work properly (i.e., refer to `conftest.exe'), while it won't with
1562# `rm'.
1563for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1564  case $ac_file in
1565    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1566    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1567          export ac_cv_exeext
1568          break;;
1569    * ) break;;
1570  esac
1571done
1572else
1573  { { echo "$as_me:1573: error: cannot compute EXEEXT: cannot compile and link" >&5
1574echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1575   { (exit 1); exit 1; }; }
1576fi
1577
1578rm -f conftest$ac_cv_exeext
1579echo "$as_me:1579: result: $ac_cv_exeext" >&5
1580echo "${ECHO_T}$ac_cv_exeext" >&6
1581
1582rm -f conftest.$ac_ext
1583EXEEXT=$ac_cv_exeext
1584ac_exeext=$EXEEXT
1585echo "$as_me:1585: checking for object suffix" >&5
1586echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1587if test "${ac_cv_objext+set}" = set; then
1588  echo $ECHO_N "(cached) $ECHO_C" >&6
1589else
1590  cat >conftest.$ac_ext <<_ACEOF
1591#line 1591 "configure"
1592#include "confdefs.h"
1593
1594int
1595main ()
1596{
1597
1598  ;
1599  return 0;
1600}
1601_ACEOF
1602rm -f conftest.o conftest.obj
1603if { (eval echo "$as_me:1603: \"$ac_compile\"") >&5
1604  (eval $ac_compile) 2>&5
1605  ac_status=$?
1606  echo "$as_me:1606: \$? = $ac_status" >&5
1607  (exit $ac_status); }; then
1608  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1609  case $ac_file in
1610    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1611    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1612       break;;
1613  esac
1614done
1615else
1616  echo "$as_me: failed program was:" >&5
1617cat conftest.$ac_ext >&5
1618{ { echo "$as_me:1618: error: cannot compute OBJEXT: cannot compile" >&5
1619echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1620   { (exit 1); exit 1; }; }
1621fi
1622
1623rm -f conftest.$ac_cv_objext conftest.$ac_ext
1624fi
1625echo "$as_me:1625: result: $ac_cv_objext" >&5
1626echo "${ECHO_T}$ac_cv_objext" >&6
1627OBJEXT=$ac_cv_objext
1628ac_objext=$OBJEXT
1629echo "$as_me:1629: checking whether we are using the GNU C++ compiler" >&5
1630echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1631if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1632  echo $ECHO_N "(cached) $ECHO_C" >&6
1633else
1634  cat >conftest.$ac_ext <<_ACEOF
1635#line 1635 "configure"
1636#include "confdefs.h"
1637
1638int
1639main ()
1640{
1641#ifndef __GNUC__
1642       choke me
1643#endif
1644
1645  ;
1646  return 0;
1647}
1648_ACEOF
1649rm -f conftest.$ac_objext
1650if { (eval echo "$as_me:1650: \"$ac_compile\"") >&5
1651  (eval $ac_compile) 2>&5
1652  ac_status=$?
1653  echo "$as_me:1653: \$? = $ac_status" >&5
1654  (exit $ac_status); } &&
1655         { ac_try='test -s conftest.$ac_objext'
1656  { (eval echo "$as_me:1656: \"$ac_try\"") >&5
1657  (eval $ac_try) 2>&5
1658  ac_status=$?
1659  echo "$as_me:1659: \$? = $ac_status" >&5
1660  (exit $ac_status); }; }; then
1661  ac_compiler_gnu=yes
1662else
1663  echo "$as_me: failed program was:" >&5
1664cat conftest.$ac_ext >&5
1665ac_compiler_gnu=no
1666fi
1667rm -f conftest.$ac_objext conftest.$ac_ext
1668ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1669
1670fi
1671echo "$as_me:1671: result: $ac_cv_cxx_compiler_gnu" >&5
1672echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1673GXX=`test $ac_compiler_gnu = yes && echo yes`
1674ac_test_CXXFLAGS=${CXXFLAGS+set}
1675ac_save_CXXFLAGS=$CXXFLAGS
1676CXXFLAGS="-g"
1677echo "$as_me:1677: checking whether $CXX accepts -g" >&5
1678echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1679if test "${ac_cv_prog_cxx_g+set}" = set; then
1680  echo $ECHO_N "(cached) $ECHO_C" >&6
1681else
1682  cat >conftest.$ac_ext <<_ACEOF
1683#line 1683 "configure"
1684#include "confdefs.h"
1685
1686int
1687main ()
1688{
1689
1690  ;
1691  return 0;
1692}
1693_ACEOF
1694rm -f conftest.$ac_objext
1695if { (eval echo "$as_me:1695: \"$ac_compile\"") >&5
1696  (eval $ac_compile) 2>&5
1697  ac_status=$?
1698  echo "$as_me:1698: \$? = $ac_status" >&5
1699  (exit $ac_status); } &&
1700         { ac_try='test -s conftest.$ac_objext'
1701  { (eval echo "$as_me:1701: \"$ac_try\"") >&5
1702  (eval $ac_try) 2>&5
1703  ac_status=$?
1704  echo "$as_me:1704: \$? = $ac_status" >&5
1705  (exit $ac_status); }; }; then
1706  ac_cv_prog_cxx_g=yes
1707else
1708  echo "$as_me: failed program was:" >&5
1709cat conftest.$ac_ext >&5
1710ac_cv_prog_cxx_g=no
1711fi
1712rm -f conftest.$ac_objext conftest.$ac_ext
1713fi
1714echo "$as_me:1714: result: $ac_cv_prog_cxx_g" >&5
1715echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1716if test "$ac_test_CXXFLAGS" = set; then
1717  CXXFLAGS=$ac_save_CXXFLAGS
1718elif test $ac_cv_prog_cxx_g = yes; then
1719  if test "$GXX" = yes; then
1720    CXXFLAGS="-g -O2"
1721  else
1722    CXXFLAGS="-g"
1723  fi
1724else
1725  if test "$GXX" = yes; then
1726    CXXFLAGS="-O2"
1727  else
1728    CXXFLAGS=
1729  fi
1730fi
1731for ac_declaration in \
1732   ''\
1733   '#include <stdlib.h>' \
1734   'extern "C" void std::exit (int) throw (); using std::exit;' \
1735   'extern "C" void std::exit (int); using std::exit;' \
1736   'extern "C" void exit (int) throw ();' \
1737   'extern "C" void exit (int);' \
1738   'void exit (int);'
1739do
1740  cat >conftest.$ac_ext <<_ACEOF
1741#line 1741 "configure"
1742#include "confdefs.h"
1743#include <stdlib.h>
1744$ac_declaration
1745int
1746main ()
1747{
1748exit (42);
1749  ;
1750  return 0;
1751}
1752_ACEOF
1753rm -f conftest.$ac_objext
1754if { (eval echo "$as_me:1754: \"$ac_compile\"") >&5
1755  (eval $ac_compile) 2>&5
1756  ac_status=$?
1757  echo "$as_me:1757: \$? = $ac_status" >&5
1758  (exit $ac_status); } &&
1759         { ac_try='test -s conftest.$ac_objext'
1760  { (eval echo "$as_me:1760: \"$ac_try\"") >&5
1761  (eval $ac_try) 2>&5
1762  ac_status=$?
1763  echo "$as_me:1763: \$? = $ac_status" >&5
1764  (exit $ac_status); }; }; then
1765  :
1766else
1767  echo "$as_me: failed program was:" >&5
1768cat conftest.$ac_ext >&5
1769continue
1770fi
1771rm -f conftest.$ac_objext conftest.$ac_ext
1772  cat >conftest.$ac_ext <<_ACEOF
1773#line 1773 "configure"
1774#include "confdefs.h"
1775$ac_declaration
1776int
1777main ()
1778{
1779exit (42);
1780  ;
1781  return 0;
1782}
1783_ACEOF
1784rm -f conftest.$ac_objext
1785if { (eval echo "$as_me:1785: \"$ac_compile\"") >&5
1786  (eval $ac_compile) 2>&5
1787  ac_status=$?
1788  echo "$as_me:1788: \$? = $ac_status" >&5
1789  (exit $ac_status); } &&
1790         { ac_try='test -s conftest.$ac_objext'
1791  { (eval echo "$as_me:1791: \"$ac_try\"") >&5
1792  (eval $ac_try) 2>&5
1793  ac_status=$?
1794  echo "$as_me:1794: \$? = $ac_status" >&5
1795  (exit $ac_status); }; }; then
1796  break
1797else
1798  echo "$as_me: failed program was:" >&5
1799cat conftest.$ac_ext >&5
1800fi
1801rm -f conftest.$ac_objext conftest.$ac_ext
1802done
1803rm -f conftest*
1804if test -n "$ac_declaration"; then
1805  echo '#ifdef __cplusplus' >>confdefs.h
1806  echo $ac_declaration      >>confdefs.h
1807  echo '#endif'             >>confdefs.h
1808fi
1809
1810ac_ext=c
1811ac_cpp='$CPP $CPPFLAGS'
1812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1814ac_compiler_gnu=$ac_cv_c_compiler_gnu
1815rm -f .deps 2>/dev/null
1816mkdir .deps 2>/dev/null
1817if test -d .deps; then
1818  DEPDIR=.deps
1819else
1820  # MS-DOS does not allow filenames that begin with a dot.
1821  DEPDIR=_deps
1822fi
1823rmdir .deps 2>/dev/null
1824
1825ac_config_commands="$ac_config_commands depfiles"
1826
1827am_make=${MAKE-make}
1828cat > confinc << 'END'
1829doit:
1830        @echo done
1831END
1832# If we don't find an include directive, just comment out the code.
1833echo "$as_me:1833: checking for style of include used by $am_make" >&5
1834echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1835am__include="#"
1836am__quote=
1837_am_result=none
1838# First try GNU make style include.
1839echo "include confinc" > confmf
1840# We grep out `Entering directory' and `Leaving directory'
1841# messages which can occur if `w' ends up in MAKEFLAGS.
1842# In particular we don't look at `^make:' because GNU make might
1843# be invoked under some other name (usually "gmake"), in which
1844# case it prints its new name instead of `make'.
1845if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1846   am__include=include
1847   am__quote=
1848   _am_result=GNU
1849fi
1850# Now try BSD make style include.
1851if test "$am__include" = "#"; then
1852   echo '.include "confinc"' > confmf
1853   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1854      am__include=.include
1855      am__quote="\""
1856      _am_result=BSD
1857   fi
1858fi
1859
1860echo "$as_me:1860: result: $_am_result" >&5
1861echo "${ECHO_T}$_am_result" >&6
1862rm -f confinc confmf
1863
1864# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1865if test "${enable_dependency_tracking+set}" = set; then
1866  enableval="$enable_dependency_tracking"
1867
1868fi;
1869if test "x$enable_dependency_tracking" != xno; then
1870  am_depcomp="$ac_aux_dir/depcomp"
1871  AMDEPBACKSLASH='\'
1872fi
1873
1874if test "x$enable_dependency_tracking" != xno; then
1875  AMDEP_TRUE=
1876  AMDEP_FALSE='#'
1877else
1878  AMDEP_TRUE='#'
1879  AMDEP_FALSE=
1880fi
1881
1882depcc="$CXX"  am_compiler_list=
1883
1884echo "$as_me:1884: checking dependency style of $depcc" >&5
1885echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1886if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1887  echo $ECHO_N "(cached) $ECHO_C" >&6
1888else
1889  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1890  # We make a subdir and do the tests there.  Otherwise we can end up
1891  # making bogus files that we don't know about and never remove.  For
1892  # instance it was reported that on HP-UX the gcc test will end up
1893  # making a dummy file named `D' -- because `-MD' means `put the output
1894  # in D'.
1895  mkdir conftest.dir
1896  # Copy depcomp to subdir because otherwise we won't find it if we're
1897  # using a relative directory.
1898  cp "$am_depcomp" conftest.dir
1899  cd conftest.dir
1900
1901  am_cv_CXX_dependencies_compiler_type=none
1902  if test "$am_compiler_list" = ""; then
1903     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1904  fi
1905  for depmode in $am_compiler_list; do
1906    # We need to recreate these files for each test, as the compiler may
1907    # overwrite some of them when testing with obscure command lines.
1908    # This happens at least with the AIX C compiler.
1909    echo '#include "conftest.h"' > conftest.c
1910    echo 'int i;' > conftest.h
1911    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
1912
1913    case $depmode in
1914    nosideeffect)
1915      # after this tag, mechanisms are not by side-effect, so they'll
1916      # only be used when explicitly requested
1917      if test "x$enable_dependency_tracking" = xyes; then
1918        continue
1919      else
1920        break
1921      fi
1922      ;;
1923    none) break ;;
1924    esac
1925    # We check with `-c' and `-o' for the sake of the "dashmstdout"
1926    # mode.  It turns out that the SunPro C++ compiler does not properly
1927    # handle `-M -o', and we need to detect this.
1928    if depmode=$depmode \
1929       source=conftest.c object=conftest.o \
1930       depfile=conftest.Po tmpdepfile=conftest.TPo \
1931       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
1932       grep conftest.h conftest.Po > /dev/null 2>&1 &&
1933       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1934      am_cv_CXX_dependencies_compiler_type=$depmode
1935      break
1936    fi
1937  done
1938
1939  cd ..
1940  rm -rf conftest.dir
1941else
1942  am_cv_CXX_dependencies_compiler_type=none
1943fi
1944
1945fi
1946echo "$as_me:1946: result: $am_cv_CXX_dependencies_compiler_type" >&5
1947echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
1948CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1949
1950ac_ext=c
1951ac_cpp='$CPP $CPPFLAGS'
1952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1954ac_compiler_gnu=$ac_cv_c_compiler_gnu
1955if test -n "$ac_tool_prefix"; then
1956  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1957set dummy ${ac_tool_prefix}gcc; ac_word=$2
1958echo "$as_me:1958: checking for $ac_word" >&5
1959echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960if test "${ac_cv_prog_CC+set}" = set; then
1961  echo $ECHO_N "(cached) $ECHO_C" >&6
1962else
1963  if test -n "$CC"; then
1964  ac_cv_prog_CC="$CC" # Let the user override the test.
1965else
1966  ac_save_IFS=$IFS; IFS=$ac_path_separator
1967ac_dummy="$PATH"
1968for ac_dir in $ac_dummy; do
1969  IFS=$ac_save_IFS
1970  test -z "$ac_dir" && ac_dir=.
1971  $as_executable_p "$ac_dir/$ac_word" || continue
1972ac_cv_prog_CC="${ac_tool_prefix}gcc"
1973echo "$as_me:1973: found $ac_dir/$ac_word" >&5
1974break
1975done
1976
1977fi
1978fi
1979CC=$ac_cv_prog_CC
1980if test -n "$CC"; then
1981  echo "$as_me:1981: result: $CC" >&5
1982echo "${ECHO_T}$CC" >&6
1983else
1984  echo "$as_me:1984: result: no" >&5
1985echo "${ECHO_T}no" >&6
1986fi
1987
1988fi
1989if test -z "$ac_cv_prog_CC"; then
1990  ac_ct_CC=$CC
1991  # Extract the first word of "gcc", so it can be a program name with args.
1992set dummy gcc; ac_word=$2
1993echo "$as_me:1993: checking for $ac_word" >&5
1994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1996  echo $ECHO_N "(cached) $ECHO_C" >&6
1997else
1998  if test -n "$ac_ct_CC"; then
1999  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2000else
2001  ac_save_IFS=$IFS; IFS=$ac_path_separator
2002ac_dummy="$PATH"
2003for ac_dir in $ac_dummy; do
2004  IFS=$ac_save_IFS
2005  test -z "$ac_dir" && ac_dir=.
2006  $as_executable_p "$ac_dir/$ac_word" || continue
2007ac_cv_prog_ac_ct_CC="gcc"
2008echo "$as_me:2008: found $ac_dir/$ac_word" >&5
2009break
2010done
2011
2012fi
2013fi
2014ac_ct_CC=$ac_cv_prog_ac_ct_CC
2015if test -n "$ac_ct_CC"; then
2016  echo "$as_me:2016: result: $ac_ct_CC" >&5
2017echo "${ECHO_T}$ac_ct_CC" >&6
2018else
2019  echo "$as_me:2019: result: no" >&5
2020echo "${ECHO_T}no" >&6
2021fi
2022
2023  CC=$ac_ct_CC
2024else
2025  CC="$ac_cv_prog_CC"
2026fi
2027
2028if test -z "$CC"; then
2029  if test -n "$ac_tool_prefix"; then
2030  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2031set dummy ${ac_tool_prefix}cc; ac_word=$2
2032echo "$as_me:2032: checking for $ac_word" >&5
2033echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2034if test "${ac_cv_prog_CC+set}" = set; then
2035  echo $ECHO_N "(cached) $ECHO_C" >&6
2036else
2037  if test -n "$CC"; then
2038  ac_cv_prog_CC="$CC" # Let the user override the test.
2039else
2040  ac_save_IFS=$IFS; IFS=$ac_path_separator
2041ac_dummy="$PATH"
2042for ac_dir in $ac_dummy; do
2043  IFS=$ac_save_IFS
2044  test -z "$ac_dir" && ac_dir=.
2045  $as_executable_p "$ac_dir/$ac_word" || continue
2046ac_cv_prog_CC="${ac_tool_prefix}cc"
2047echo "$as_me:2047: found $ac_dir/$ac_word" >&5
2048break
2049done
2050
2051fi
2052fi
2053CC=$ac_cv_prog_CC
2054if test -n "$CC"; then
2055  echo "$as_me:2055: result: $CC" >&5
2056echo "${ECHO_T}$CC" >&6
2057else
2058  echo "$as_me:2058: result: no" >&5
2059echo "${ECHO_T}no" >&6
2060fi
2061
2062fi
2063if test -z "$ac_cv_prog_CC"; then
2064  ac_ct_CC=$CC
2065  # Extract the first word of "cc", so it can be a program name with args.
2066set dummy cc; ac_word=$2
2067echo "$as_me:2067: checking for $ac_word" >&5
2068echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2069if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2070  echo $ECHO_N "(cached) $ECHO_C" >&6
2071else
2072  if test -n "$ac_ct_CC"; then
2073  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2074else
2075  ac_save_IFS=$IFS; IFS=$ac_path_separator
2076ac_dummy="$PATH"
2077for ac_dir in $ac_dummy; do
2078  IFS=$ac_save_IFS
2079  test -z "$ac_dir" && ac_dir=.
2080  $as_executable_p "$ac_dir/$ac_word" || continue
2081ac_cv_prog_ac_ct_CC="cc"
2082echo "$as_me:2082: found $ac_dir/$ac_word" >&5
2083break
2084done
2085
2086fi
2087fi
2088ac_ct_CC=$ac_cv_prog_ac_ct_CC
2089if test -n "$ac_ct_CC"; then
2090  echo "$as_me:2090: result: $ac_ct_CC" >&5
2091echo "${ECHO_T}$ac_ct_CC" >&6
2092else
2093  echo "$as_me:2093: result: no" >&5
2094echo "${ECHO_T}no" >&6
2095fi
2096
2097  CC=$ac_ct_CC
2098else
2099  CC="$ac_cv_prog_CC"
2100fi
2101
2102fi
2103if test -z "$CC"; then
2104  # Extract the first word of "cc", so it can be a program name with args.
2105set dummy cc; ac_word=$2
2106echo "$as_me:2106: checking for $ac_word" >&5
2107echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2108if test "${ac_cv_prog_CC+set}" = set; then
2109  echo $ECHO_N "(cached) $ECHO_C" >&6
2110else
2111  if test -n "$CC"; then
2112  ac_cv_prog_CC="$CC" # Let the user override the test.
2113else
2114  ac_prog_rejected=no
2115  ac_save_IFS=$IFS; IFS=$ac_path_separator
2116ac_dummy="$PATH"
2117for ac_dir in $ac_dummy; do
2118  IFS=$ac_save_IFS
2119  test -z "$ac_dir" && ac_dir=.
2120  $as_executable_p "$ac_dir/$ac_word" || continue
2121if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2122  ac_prog_rejected=yes
2123  continue
2124fi
2125ac_cv_prog_CC="cc"
2126echo "$as_me:2126: found $ac_dir/$ac_word" >&5
2127break
2128done
2129
2130if test $ac_prog_rejected = yes; then
2131  # We found a bogon in the path, so make sure we never use it.
2132  set dummy $ac_cv_prog_CC
2133  shift
2134  if test $# != 0; then
2135    # We chose a different compiler from the bogus one.
2136    # However, it has the same basename, so the bogon will be chosen
2137    # first if we set CC to just the basename; use the full file name.
2138    shift
2139    set dummy "$ac_dir/$ac_word" ${1+"$@"}
2140    shift
2141    ac_cv_prog_CC="$@"
2142  fi
2143fi
2144fi
2145fi
2146CC=$ac_cv_prog_CC
2147if test -n "$CC"; then
2148  echo "$as_me:2148: result: $CC" >&5
2149echo "${ECHO_T}$CC" >&6
2150else
2151  echo "$as_me:2151: result: no" >&5
2152echo "${ECHO_T}no" >&6
2153fi
2154
2155fi
2156if test -z "$CC"; then
2157  if test -n "$ac_tool_prefix"; then
2158  for ac_prog in cl
2159  do
2160    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2161set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2162echo "$as_me:2162: checking for $ac_word" >&5
2163echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164if test "${ac_cv_prog_CC+set}" = set; then
2165  echo $ECHO_N "(cached) $ECHO_C" >&6
2166else
2167  if test -n "$CC"; then
2168  ac_cv_prog_CC="$CC" # Let the user override the test.
2169else
2170  ac_save_IFS=$IFS; IFS=$ac_path_separator
2171ac_dummy="$PATH"
2172for ac_dir in $ac_dummy; do
2173  IFS=$ac_save_IFS
2174  test -z "$ac_dir" && ac_dir=.
2175  $as_executable_p "$ac_dir/$ac_word" || continue
2176ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2177echo "$as_me:2177: found $ac_dir/$ac_word" >&5
2178break
2179done
2180
2181fi
2182fi
2183CC=$ac_cv_prog_CC
2184if test -n "$CC"; then
2185  echo "$as_me:2185: result: $CC" >&5
2186echo "${ECHO_T}$CC" >&6
2187else
2188  echo "$as_me:2188: result: no" >&5
2189echo "${ECHO_T}no" >&6
2190fi
2191
2192    test -n "$CC" && break
2193  done
2194fi
2195if test -z "$CC"; then
2196  ac_ct_CC=$CC
2197  for ac_prog in cl
2198do
2199  # Extract the first word of "$ac_prog", so it can be a program name with args.
2200set dummy $ac_prog; ac_word=$2
2201echo "$as_me:2201: checking for $ac_word" >&5
2202echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2204  echo $ECHO_N "(cached) $ECHO_C" >&6
2205else
2206  if test -n "$ac_ct_CC"; then
2207  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2208else
2209  ac_save_IFS=$IFS; IFS=$ac_path_separator
2210ac_dummy="$PATH"
2211for ac_dir in $ac_dummy; do
2212  IFS=$ac_save_IFS
2213  test -z "$ac_dir" && ac_dir=.
2214  $as_executable_p "$ac_dir/$ac_word" || continue
2215ac_cv_prog_ac_ct_CC="$ac_prog"
2216echo "$as_me:2216: found $ac_dir/$ac_word" >&5
2217break
2218done
2219
2220fi
2221fi
2222ac_ct_CC=$ac_cv_prog_ac_ct_CC
2223if test -n "$ac_ct_CC"; then
2224  echo "$as_me:2224: result: $ac_ct_CC" >&5
2225echo "${ECHO_T}$ac_ct_CC" >&6
2226else
2227  echo "$as_me:2227: result: no" >&5
2228echo "${ECHO_T}no" >&6
2229fi
2230
2231  test -n "$ac_ct_CC" && break
2232done
2233
2234  CC=$ac_ct_CC
2235fi
2236
2237fi
2238
2239test -z "$CC" && { { echo "$as_me:2239: error: no acceptable cc found in \$PATH" >&5
2240echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2241   { (exit 1); exit 1; }; }
2242
2243# Provide some information about the compiler.
2244echo "$as_me:2244:" \
2245     "checking for C compiler version" >&5
2246ac_compiler=`set X $ac_compile; echo $2`
2247{ (eval echo "$as_me:2247: \"$ac_compiler --version </dev/null >&5\"") >&5
2248  (eval $ac_compiler --version </dev/null >&5) 2>&5
2249  ac_status=$?
2250  echo "$as_me:2250: \$? = $ac_status" >&5
2251  (exit $ac_status); }
2252{ (eval echo "$as_me:2252: \"$ac_compiler -v </dev/null >&5\"") >&5
2253  (eval $ac_compiler -v </dev/null >&5) 2>&5
2254  ac_status=$?
2255  echo "$as_me:2255: \$? = $ac_status" >&5
2256  (exit $ac_status); }
2257{ (eval echo "$as_me:2257: \"$ac_compiler -V </dev/null >&5\"") >&5
2258  (eval $ac_compiler -V </dev/null >&5) 2>&5
2259  ac_status=$?
2260  echo "$as_me:2260: \$? = $ac_status" >&5
2261  (exit $ac_status); }
2262
2263echo "$as_me:2263: checking whether we are using the GNU C compiler" >&5
2264echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2265if test "${ac_cv_c_compiler_gnu+set}" = set; then
2266  echo $ECHO_N "(cached) $ECHO_C" >&6
2267else
2268  cat >conftest.$ac_ext <<_ACEOF
2269#line 2269 "configure"
2270#include "confdefs.h"
2271
2272int
2273main ()
2274{
2275#ifndef __GNUC__
2276       choke me
2277#endif
2278
2279  ;
2280  return 0;
2281}
2282_ACEOF
2283rm -f conftest.$ac_objext
2284if { (eval echo "$as_me:2284: \"$ac_compile\"") >&5
2285  (eval $ac_compile) 2>&5
2286  ac_status=$?
2287  echo "$as_me:2287: \$? = $ac_status" >&5
2288  (exit $ac_status); } &&
2289         { ac_try='test -s conftest.$ac_objext'
2290  { (eval echo "$as_me:2290: \"$ac_try\"") >&5
2291  (eval $ac_try) 2>&5
2292  ac_status=$?
2293  echo "$as_me:2293: \$? = $ac_status" >&5
2294  (exit $ac_status); }; }; then
2295  ac_compiler_gnu=yes
2296else
2297  echo "$as_me: failed program was:" >&5
2298cat conftest.$ac_ext >&5
2299ac_compiler_gnu=no
2300fi
2301rm -f conftest.$ac_objext conftest.$ac_ext
2302ac_cv_c_compiler_gnu=$ac_compiler_gnu
2303
2304fi
2305echo "$as_me:2305: result: $ac_cv_c_compiler_gnu" >&5
2306echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2307GCC=`test $ac_compiler_gnu = yes && echo yes`
2308ac_test_CFLAGS=${CFLAGS+set}
2309ac_save_CFLAGS=$CFLAGS
2310CFLAGS="-g"
2311echo "$as_me:2311: checking whether $CC accepts -g" >&5
2312echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2313if test "${ac_cv_prog_cc_g+set}" = set; then
2314  echo $ECHO_N "(cached) $ECHO_C" >&6
2315else
2316  cat >conftest.$ac_ext <<_ACEOF
2317#line 2317 "configure"
2318#include "confdefs.h"
2319
2320int
2321main ()
2322{
2323
2324  ;
2325  return 0;
2326}
2327_ACEOF
2328rm -f conftest.$ac_objext
2329if { (eval echo "$as_me:2329: \"$ac_compile\"") >&5
2330  (eval $ac_compile) 2>&5
2331  ac_status=$?
2332  echo "$as_me:2332: \$? = $ac_status" >&5
2333  (exit $ac_status); } &&
2334         { ac_try='test -s conftest.$ac_objext'
2335  { (eval echo "$as_me:2335: \"$ac_try\"") >&5
2336  (eval $ac_try) 2>&5
2337  ac_status=$?
2338  echo "$as_me:2338: \$? = $ac_status" >&5
2339  (exit $ac_status); }; }; then
2340  ac_cv_prog_cc_g=yes
2341else
2342  echo "$as_me: failed program was:" >&5
2343cat conftest.$ac_ext >&5
2344ac_cv_prog_cc_g=no
2345fi
2346rm -f conftest.$ac_objext conftest.$ac_ext
2347fi
2348echo "$as_me:2348: result: $ac_cv_prog_cc_g" >&5
2349echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2350if test "$ac_test_CFLAGS" = set; then
2351  CFLAGS=$ac_save_CFLAGS
2352elif test $ac_cv_prog_cc_g = yes; then
2353  if test "$GCC" = yes; then
2354    CFLAGS="-g -O2"
2355  else
2356    CFLAGS="-g"
2357  fi
2358else
2359  if test "$GCC" = yes; then
2360    CFLAGS="-O2"
2361  else
2362    CFLAGS=
2363  fi
2364fi
2365# Some people use a C++ compiler to compile C.  Since we use `exit',
2366# in C++ we need to declare it.  In case someone uses the same compiler
2367# for both compiling C and C++ we need to have the C++ compiler decide
2368# the declaration of exit, since it's the most demanding environment.
2369cat >conftest.$ac_ext <<_ACEOF
2370#ifndef __cplusplus
2371  choke me
2372#endif
2373_ACEOF
2374rm -f conftest.$ac_objext
2375if { (eval echo "$as_me:2375: \"$ac_compile\"") >&5
2376  (eval $ac_compile) 2>&5
2377  ac_status=$?
2378  echo "$as_me:2378: \$? = $ac_status" >&5
2379  (exit $ac_status); } &&
2380         { ac_try='test -s conftest.$ac_objext'
2381  { (eval echo "$as_me:2381: \"$ac_try\"") >&5
2382  (eval $ac_try) 2>&5
2383  ac_status=$?
2384  echo "$as_me:2384: \$? = $ac_status" >&5
2385  (exit $ac_status); }; }; then
2386  for ac_declaration in \
2387   ''\
2388   '#include <stdlib.h>' \
2389   'extern "C" void std::exit (int) throw (); using std::exit;' \
2390   'extern "C" void std::exit (int); using std::exit;' \
2391   'extern "C" void exit (int) throw ();' \
2392   'extern "C" void exit (int);' \
2393   'void exit (int);'
2394do
2395  cat >conftest.$ac_ext <<_ACEOF
2396#line 2396 "configure"
2397#include "confdefs.h"
2398#include <stdlib.h>
2399$ac_declaration
2400int
2401main ()
2402{
2403exit (42);
2404  ;
2405  return 0;
2406}
2407_ACEOF
2408rm -f conftest.$ac_objext
2409if { (eval echo "$as_me:2409: \"$ac_compile\"") >&5
2410  (eval $ac_compile) 2>&5
2411  ac_status=$?
2412  echo "$as_me:2412: \$? = $ac_status" >&5
2413  (exit $ac_status); } &&
2414         { ac_try='test -s conftest.$ac_objext'
2415  { (eval echo "$as_me:2415: \"$ac_try\"") >&5
2416  (eval $ac_try) 2>&5
2417  ac_status=$?
2418  echo "$as_me:2418: \$? = $ac_status" >&5
2419  (exit $ac_status); }; }; then
2420  :
2421else
2422  echo "$as_me: failed program was:" >&5
2423cat conftest.$ac_ext >&5
2424continue
2425fi
2426rm -f conftest.$ac_objext conftest.$ac_ext
2427  cat >conftest.$ac_ext <<_ACEOF
2428#line 2428 "configure"
2429#include "confdefs.h"
2430$ac_declaration
2431int
2432main ()
2433{
2434exit (42);
2435  ;
2436  return 0;
2437}
2438_ACEOF
2439rm -f conftest.$ac_objext
2440if { (eval echo "$as_me:2440: \"$ac_compile\"") >&5
2441  (eval $ac_compile) 2>&5
2442  ac_status=$?
2443  echo "$as_me:2443: \$? = $ac_status" >&5
2444  (exit $ac_status); } &&
2445         { ac_try='test -s conftest.$ac_objext'
2446  { (eval echo "$as_me:2446: \"$ac_try\"") >&5
2447  (eval $ac_try) 2>&5
2448  ac_status=$?
2449  echo "$as_me:2449: \$? = $ac_status" >&5
2450  (exit $ac_status); }; }; then
2451  break
2452else
2453  echo "$as_me: failed program was:" >&5
2454cat conftest.$ac_ext >&5
2455fi
2456rm -f conftest.$ac_objext conftest.$ac_ext
2457done
2458rm -f conftest*
2459if test -n "$ac_declaration"; then
2460  echo '#ifdef __cplusplus' >>confdefs.h
2461  echo $ac_declaration      >>confdefs.h
2462  echo '#endif'             >>confdefs.h
2463fi
2464
2465else
2466  echo "$as_me: failed program was:" >&5
2467cat conftest.$ac_ext >&5
2468fi
2469rm -f conftest.$ac_objext conftest.$ac_ext
2470ac_ext=c
2471ac_cpp='$CPP $CPPFLAGS'
2472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2474ac_compiler_gnu=$ac_cv_c_compiler_gnu
2475
2476depcc="$CC"   am_compiler_list=
2477
2478echo "$as_me:2478: checking dependency style of $depcc" >&5
2479echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2480if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2481  echo $ECHO_N "(cached) $ECHO_C" >&6
2482else
2483  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2484  # We make a subdir and do the tests there.  Otherwise we can end up
2485  # making bogus files that we don't know about and never remove.  For
2486  # instance it was reported that on HP-UX the gcc test will end up
2487  # making a dummy file named `D' -- because `-MD' means `put the output
2488  # in D'.
2489  mkdir conftest.dir
2490  # Copy depcomp to subdir because otherwise we won't find it if we're
2491  # using a relative directory.
2492  cp "$am_depcomp" conftest.dir
2493  cd conftest.dir
2494
2495  am_cv_CC_dependencies_compiler_type=none
2496  if test "$am_compiler_list" = ""; then
2497     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2498  fi
2499  for depmode in $am_compiler_list; do
2500    # We need to recreate these files for each test, as the compiler may
2501    # overwrite some of them when testing with obscure command lines.
2502    # This happens at least with the AIX C compiler.
2503    echo '#include "conftest.h"' > conftest.c
2504    echo 'int i;' > conftest.h
2505    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2506
2507    case $depmode in
2508    nosideeffect)
2509      # after this tag, mechanisms are not by side-effect, so they'll
2510      # only be used when explicitly requested
2511      if test "x$enable_dependency_tracking" = xyes; then
2512        continue
2513      else
2514        break
2515      fi
2516      ;;
2517    none) break ;;
2518    esac
2519    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2520    # mode.  It turns out that the SunPro C++ compiler does not properly
2521    # handle `-M -o', and we need to detect this.
2522    if depmode=$depmode \
2523       source=conftest.c object=conftest.o \
2524       depfile=conftest.Po tmpdepfile=conftest.TPo \
2525       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2526       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2527       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2528      am_cv_CC_dependencies_compiler_type=$depmode
2529      break
2530    fi
2531  done
2532
2533  cd ..
2534  rm -rf conftest.dir
2535else
2536  am_cv_CC_dependencies_compiler_type=none
2537fi
2538
2539fi
2540echo "$as_me:2540: result: $am_cv_CC_dependencies_compiler_type" >&5
2541echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2542CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2543
2544 # ???
2545
2546for ac_prog in flex lex
2547do
2548  # Extract the first word of "$ac_prog", so it can be a program name with args.
2549set dummy $ac_prog; ac_word=$2
2550echo "$as_me:2550: checking for $ac_word" >&5
2551echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2552if test "${ac_cv_prog_LEX+set}" = set; then
2553  echo $ECHO_N "(cached) $ECHO_C" >&6
2554else
2555  if test -n "$LEX"; then
2556  ac_cv_prog_LEX="$LEX" # Let the user override the test.
2557else
2558  ac_save_IFS=$IFS; IFS=$ac_path_separator
2559ac_dummy="$PATH"
2560for ac_dir in $ac_dummy; do
2561  IFS=$ac_save_IFS
2562  test -z "$ac_dir" && ac_dir=.
2563  $as_executable_p "$ac_dir/$ac_word" || continue
2564ac_cv_prog_LEX="$ac_prog"
2565echo "$as_me:2565: found $ac_dir/$ac_word" >&5
2566break
2567done
2568
2569fi
2570fi
2571LEX=$ac_cv_prog_LEX
2572if test -n "$LEX"; then
2573  echo "$as_me:2573: result: $LEX" >&5
2574echo "${ECHO_T}$LEX" >&6
2575else
2576  echo "$as_me:2576: result: no" >&5
2577echo "${ECHO_T}no" >&6
2578fi
2579
2580  test -n "$LEX" && break
2581done
2582test -n "$LEX" || LEX=":"
2583
2584if test -z "$LEXLIB"
2585then
2586  echo "$as_me:2586: checking for yywrap in -lfl" >&5
2587echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2588if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2589  echo $ECHO_N "(cached) $ECHO_C" >&6
2590else
2591  ac_check_lib_save_LIBS=$LIBS
2592LIBS="-lfl  $LIBS"
2593cat >conftest.$ac_ext <<_ACEOF
2594#line 2594 "configure"
2595#include "confdefs.h"
2596
2597/* Override any gcc2 internal prototype to avoid an error.  */
2598#ifdef __cplusplus
2599extern "C"
2600#endif
2601/* We use char because int might match the return type of a gcc2
2602   builtin and then its argument prototype would still apply.  */
2603char yywrap ();
2604int
2605main ()
2606{
2607yywrap ();
2608  ;
2609  return 0;
2610}
2611_ACEOF
2612rm -f conftest.$ac_objext conftest$ac_exeext
2613if { (eval echo "$as_me:2613: \"$ac_link\"") >&5
2614  (eval $ac_link) 2>&5
2615  ac_status=$?
2616  echo "$as_me:2616: \$? = $ac_status" >&5
2617  (exit $ac_status); } &&
2618         { ac_try='test -s conftest$ac_exeext'
2619  { (eval echo "$as_me:2619: \"$ac_try\"") >&5
2620  (eval $ac_try) 2>&5
2621  ac_status=$?
2622  echo "$as_me:2622: \$? = $ac_status" >&5
2623  (exit $ac_status); }; }; then
2624  ac_cv_lib_fl_yywrap=yes
2625else
2626  echo "$as_me: failed program was:" >&5
2627cat conftest.$ac_ext >&5
2628ac_cv_lib_fl_yywrap=no
2629fi
2630rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2631LIBS=$ac_check_lib_save_LIBS
2632fi
2633echo "$as_me:2633: result: $ac_cv_lib_fl_yywrap" >&5
2634echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2635if test $ac_cv_lib_fl_yywrap = yes; then
2636  LEXLIB="-lfl"
2637else
2638  echo "$as_me:2638: checking for yywrap in -ll" >&5
2639echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2640if test "${ac_cv_lib_l_yywrap+set}" = set; then
2641  echo $ECHO_N "(cached) $ECHO_C" >&6
2642else
2643  ac_check_lib_save_LIBS=$LIBS
2644LIBS="-ll  $LIBS"
2645cat >conftest.$ac_ext <<_ACEOF
2646#line 2646 "configure"
2647#include "confdefs.h"
2648
2649/* Override any gcc2 internal prototype to avoid an error.  */
2650#ifdef __cplusplus
2651extern "C"
2652#endif
2653/* We use char because int might match the return type of a gcc2
2654   builtin and then its argument prototype would still apply.  */
2655char yywrap ();
2656int
2657main ()
2658{
2659yywrap ();
2660  ;
2661  return 0;
2662}
2663_ACEOF
2664rm -f conftest.$ac_objext conftest$ac_exeext
2665if { (eval echo "$as_me:2665: \"$ac_link\"") >&5
2666  (eval $ac_link) 2>&5
2667  ac_status=$?
2668  echo "$as_me:2668: \$? = $ac_status" >&5
2669  (exit $ac_status); } &&
2670         { ac_try='test -s conftest$ac_exeext'
2671  { (eval echo "$as_me:2671: \"$ac_try\"") >&5
2672  (eval $ac_try) 2>&5
2673  ac_status=$?
2674  echo "$as_me:2674: \$? = $ac_status" >&5
2675  (exit $ac_status); }; }; then
2676  ac_cv_lib_l_yywrap=yes
2677else
2678  echo "$as_me: failed program was:" >&5
2679cat conftest.$ac_ext >&5
2680ac_cv_lib_l_yywrap=no
2681fi
2682rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2683LIBS=$ac_check_lib_save_LIBS
2684fi
2685echo "$as_me:2685: result: $ac_cv_lib_l_yywrap" >&5
2686echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2687if test $ac_cv_lib_l_yywrap = yes; then
2688  LEXLIB="-ll"
2689fi
2690
2691fi
2692
2693fi
2694
2695if test "x$LEX" != "x:"; then
2696  echo "$as_me:2696: checking lex output file root" >&5
2697echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2698if test "${ac_cv_prog_lex_root+set}" = set; then
2699  echo $ECHO_N "(cached) $ECHO_C" >&6
2700else
2701  # The minimal lex program is just a single line: %%.  But some broken lexes
2702# (Solaris, I think it was) want two %% lines, so accommodate them.
2703echo '%%
2704%%' | $LEX
2705if test -f lex.yy.c; then
2706  ac_cv_prog_lex_root=lex.yy
2707elif test -f lexyy.c; then
2708  ac_cv_prog_lex_root=lexyy
2709else
2710  { { echo "$as_me:2710: error: cannot find output from $LEX; giving up" >&5
2711echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2712   { (exit 1); exit 1; }; }
2713fi
2714fi
2715echo "$as_me:2715: result: $ac_cv_prog_lex_root" >&5
2716echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2717LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2718
2719echo "$as_me:2719: checking whether yytext is a pointer" >&5
2720echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2721if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2722  echo $ECHO_N "(cached) $ECHO_C" >&6
2723else
2724  # POSIX says lex can declare yytext either as a pointer or an array; the
2725# default is implementation-dependent. Figure out which it is, since
2726# not all implementations provide the %pointer and %array declarations.
2727ac_cv_prog_lex_yytext_pointer=no
2728echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2729ac_save_LIBS=$LIBS
2730LIBS="$LIBS $LEXLIB"
2731cat >conftest.$ac_ext <<_ACEOF
2732`cat $LEX_OUTPUT_ROOT.c`
2733_ACEOF
2734rm -f conftest.$ac_objext conftest$ac_exeext
2735if { (eval echo "$as_me:2735: \"$ac_link\"") >&5
2736  (eval $ac_link) 2>&5
2737  ac_status=$?
2738  echo "$as_me:2738: \$? = $ac_status" >&5
2739  (exit $ac_status); } &&
2740         { ac_try='test -s conftest$ac_exeext'
2741  { (eval echo "$as_me:2741: \"$ac_try\"") >&5
2742  (eval $ac_try) 2>&5
2743  ac_status=$?
2744  echo "$as_me:2744: \$? = $ac_status" >&5
2745  (exit $ac_status); }; }; then
2746  ac_cv_prog_lex_yytext_pointer=yes
2747else
2748  echo "$as_me: failed program was:" >&5
2749cat conftest.$ac_ext >&5
2750fi
2751rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2752LIBS=$ac_save_LIBS
2753rm -f "${LEX_OUTPUT_ROOT}.c"
2754
2755fi
2756echo "$as_me:2756: result: $ac_cv_prog_lex_yytext_pointer" >&5
2757echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2758if test $ac_cv_prog_lex_yytext_pointer = yes; then
2759
2760cat >>confdefs.h <<\EOF
2761#define YYTEXT_POINTER 1
2762EOF
2763
2764fi
2765
2766fi
2767if test "$LEX" = :; then
2768  LEX=${am_missing_run}flex
2769fi
2770echo "$as_me:2770: checking whether ${MAKE-make} sets \${MAKE}" >&5
2771echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2772set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2773if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2774  echo $ECHO_N "(cached) $ECHO_C" >&6
2775else
2776  cat >conftest.make <<\EOF
2777all:
2778        @echo 'ac_maketemp="${MAKE}"'
2779EOF
2780# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2781eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2782if test -n "$ac_maketemp"; then
2783  eval ac_cv_prog_make_${ac_make}_set=yes
2784else
2785  eval ac_cv_prog_make_${ac_make}_set=no
2786fi
2787rm -f conftest.make
2788fi
2789if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2790  echo "$as_me:2790: result: yes" >&5
2791echo "${ECHO_T}yes" >&6
2792  SET_MAKE=
2793else
2794  echo "$as_me:2794: result: no" >&5
2795echo "${ECHO_T}no" >&6
2796  SET_MAKE="MAKE=${MAKE-make}"
2797fi
2798
2799# Find a good install program.  We prefer a C program (faster),
2800# so one script is as good as another.  But avoid the broken or
2801# incompatible versions:
2802# SysV /etc/install, /usr/sbin/install
2803# SunOS /usr/etc/install
2804# IRIX /sbin/install
2805# AIX /bin/install
2806# AmigaOS /C/install, which installs bootblocks on floppy discs
2807# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2808# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2809# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2810# ./install, which can be erroneously created by make from ./install.sh.
2811echo "$as_me:2811: checking for a BSD compatible install" >&5
2812echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2813if test -z "$INSTALL"; then
2814if test "${ac_cv_path_install+set}" = set; then
2815  echo $ECHO_N "(cached) $ECHO_C" >&6
2816else
2817    ac_save_IFS=$IFS; IFS=$ac_path_separator
2818  for ac_dir in $PATH; do
2819    IFS=$ac_save_IFS
2820    # Account for people who put trailing slashes in PATH elements.
2821    case $ac_dir/ in
2822    / | ./ | .// | /cC/* \
2823    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2824    | /usr/ucb/* ) ;;
2825    *)
2826      # OSF1 and SCO ODT 3.0 have their own names for install.
2827      # Don't use installbsd from OSF since it installs stuff as root
2828      # by default.
2829      for ac_prog in ginstall scoinst install; do
2830        if $as_executable_p "$ac_dir/$ac_prog"; then
2831          if test $ac_prog = install &&
2832            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2833            # AIX install.  It has an incompatible calling convention.
2834            :
2835          elif test $ac_prog = install &&
2836            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2837            # program-specific install script used by HP pwplus--don't use.
2838            :
2839          else
2840            ac_cv_path_install="$ac_dir/$ac_prog -c"
2841            break 2
2842          fi
2843        fi
2844      done
2845      ;;
2846    esac
2847  done
2848
2849fi
2850  if test "${ac_cv_path_install+set}" = set; then
2851    INSTALL=$ac_cv_path_install
2852  else
2853    # As a last resort, use the slow shell script.  We don't cache a
2854    # path for INSTALL within a source directory, because that will
2855    # break other packages using the cache if that directory is
2856    # removed, or if the path is relative.
2857    INSTALL=$ac_install_sh
2858  fi
2859fi
2860echo "$as_me:2860: result: $INSTALL" >&5
2861echo "${ECHO_T}$INSTALL" >&6
2862
2863# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2864# It thinks the first close brace ends the variable substitution.
2865test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2866
2867test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2868
2869test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2870
2871ac_ext=c
2872ac_cpp='$CPP $CPPFLAGS'
2873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2875ac_compiler_gnu=$ac_cv_c_compiler_gnu
2876echo "$as_me:2876: checking how to run the C preprocessor" >&5
2877echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2878# On Suns, sometimes $CPP names a directory.
2879if test -n "$CPP" && test -d "$CPP"; then
2880  CPP=
2881fi
2882if test -z "$CPP"; then
2883  if test "${ac_cv_prog_CPP+set}" = set; then
2884  echo $ECHO_N "(cached) $ECHO_C" >&6
2885else
2886      # Double quotes because CPP needs to be expanded
2887    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2888    do
2889      ac_preproc_ok=false
2890for ac_c_preproc_warn_flag in '' yes
2891do
2892  # Use a header file that comes with gcc, so configuring glibc
2893  # with a fresh cross-compiler works.
2894  # On the NeXT, cc -E runs the code through the compiler's parser,
2895  # not just through cpp. "Syntax error" is here to catch this case.
2896  cat >conftest.$ac_ext <<_ACEOF
2897#line 2897 "configure"
2898#include "confdefs.h"
2899#include <assert.h>
2900                     Syntax error
2901_ACEOF
2902if { (eval echo "$as_me:2902: \"$ac_cpp conftest.$ac_ext\"") >&5
2903  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2904  ac_status=$?
2905  egrep -v '^ *\+' conftest.er1 >conftest.err
2906  rm -f conftest.er1
2907  cat conftest.err >&5
2908  echo "$as_me:2908: \$? = $ac_status" >&5
2909  (exit $ac_status); } >/dev/null; then
2910  if test -s conftest.err; then
2911    ac_cpp_err=$ac_c_preproc_warn_flag
2912  else
2913    ac_cpp_err=
2914  fi
2915else
2916  ac_cpp_err=yes
2917fi
2918if test -z "$ac_cpp_err"; then
2919  :
2920else
2921  echo "$as_me: failed program was:" >&5
2922  cat conftest.$ac_ext >&5
2923  # Broken: fails on valid input.
2924continue
2925fi
2926rm -f conftest.err conftest.$ac_ext
2927
2928  # OK, works on sane cases.  Now check whether non-existent headers
2929  # can be detected and how.
2930  cat >conftest.$ac_ext <<_ACEOF
2931#line 2931 "configure"
2932#include "confdefs.h"
2933#include <ac_nonexistent.h>
2934_ACEOF
2935if { (eval echo "$as_me:2935: \"$ac_cpp conftest.$ac_ext\"") >&5
2936  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2937  ac_status=$?
2938  egrep -v '^ *\+' conftest.er1 >conftest.err
2939  rm -f conftest.er1
2940  cat conftest.err >&5
2941  echo "$as_me:2941: \$? = $ac_status" >&5
2942  (exit $ac_status); } >/dev/null; then
2943  if test -s conftest.err; then
2944    ac_cpp_err=$ac_c_preproc_warn_flag
2945  else
2946    ac_cpp_err=
2947  fi
2948else
2949  ac_cpp_err=yes
2950fi
2951if test -z "$ac_cpp_err"; then
2952  # Broken: success on invalid input.
2953continue
2954else
2955  echo "$as_me: failed program was:" >&5
2956  cat conftest.$ac_ext >&5
2957  # Passes both tests.
2958ac_preproc_ok=:
2959break
2960fi
2961rm -f conftest.err conftest.$ac_ext
2962
2963done
2964# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2965rm -f conftest.err conftest.$ac_ext
2966if $ac_preproc_ok; then
2967  break
2968fi
2969
2970    done
2971    ac_cv_prog_CPP=$CPP
2972
2973fi
2974  CPP=$ac_cv_prog_CPP
2975else
2976  ac_cv_prog_CPP=$CPP
2977fi
2978echo "$as_me:2978: result: $CPP" >&5
2979echo "${ECHO_T}$CPP" >&6
2980ac_preproc_ok=false
2981for ac_c_preproc_warn_flag in '' yes
2982do
2983  # Use a header file that comes with gcc, so configuring glibc
2984  # with a fresh cross-compiler works.
2985  # On the NeXT, cc -E runs the code through the compiler's parser,
2986  # not just through cpp. "Syntax error" is here to catch this case.
2987  cat >conftest.$ac_ext <<_ACEOF
2988#line 2988 "configure"
2989#include "confdefs.h"
2990#include <assert.h>
2991                     Syntax error
2992_ACEOF
2993if { (eval echo "$as_me:2993: \"$ac_cpp conftest.$ac_ext\"") >&5
2994  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2995  ac_status=$?
2996  egrep -v '^ *\+' conftest.er1 >conftest.err
2997  rm -f conftest.er1
2998  cat conftest.err >&5
2999  echo "$as_me:2999: \$? = $ac_status" >&5
3000  (exit $ac_status); } >/dev/null; then
3001  if test -s conftest.err; then
3002    ac_cpp_err=$ac_c_preproc_warn_flag
3003  else
3004    ac_cpp_err=
3005  fi
3006else
3007  ac_cpp_err=yes
3008fi
3009if test -z "$ac_cpp_err"; then
3010  :
3011else
3012  echo "$as_me: failed program was:" >&5
3013  cat conftest.$ac_ext >&5
3014  # Broken: fails on valid input.
3015continue
3016fi
3017rm -f conftest.err conftest.$ac_ext
3018
3019  # OK, works on sane cases.  Now check whether non-existent headers
3020  # can be detected and how.
3021  cat >conftest.$ac_ext <<_ACEOF
3022#line 3022 "configure"
3023#include "confdefs.h"
3024#include <ac_nonexistent.h>
3025_ACEOF
3026if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5
3027  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3028  ac_status=$?
3029  egrep -v '^ *\+' conftest.er1 >conftest.err
3030  rm -f conftest.er1
3031  cat conftest.err >&5
3032  echo "$as_me:3032: \$? = $ac_status" >&5
3033  (exit $ac_status); } >/dev/null; then
3034  if test -s conftest.err; then
3035    ac_cpp_err=$ac_c_preproc_warn_flag
3036  else
3037    ac_cpp_err=
3038  fi
3039else
3040  ac_cpp_err=yes
3041fi
3042if test -z "$ac_cpp_err"; then
3043  # Broken: success on invalid input.
3044continue
3045else
3046  echo "$as_me: failed program was:" >&5
3047  cat conftest.$ac_ext >&5
3048  # Passes both tests.
3049ac_preproc_ok=:
3050break
3051fi
3052rm -f conftest.err conftest.$ac_ext
3053
3054done
3055# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3056rm -f conftest.err conftest.$ac_ext
3057if $ac_preproc_ok; then
3058  :
3059else
3060  { { echo "$as_me:3060: error: C preprocessor \"$CPP\" fails sanity check" >&5
3061echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3062   { (exit 1); exit 1; }; }
3063fi
3064
3065ac_ext=c
3066ac_cpp='$CPP $CPPFLAGS'
3067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3069ac_compiler_gnu=$ac_cv_c_compiler_gnu
3070
3071for ac_header in malloc.h unistd.h
3072do
3073as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3074echo "$as_me:3074: checking for $ac_header" >&5
3075echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3076if eval "test \"\${$as_ac_Header+set}\" = set"; then
3077  echo $ECHO_N "(cached) $ECHO_C" >&6
3078else
3079  cat >conftest.$ac_ext <<_ACEOF
3080#line 3080 "configure"
3081#include "confdefs.h"
3082#include <$ac_header>
3083_ACEOF
3084if { (eval echo "$as_me:3084: \"$ac_cpp conftest.$ac_ext\"") >&5
3085  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3086  ac_status=$?
3087  egrep -v '^ *\+' conftest.er1 >conftest.err
3088  rm -f conftest.er1
3089  cat conftest.err >&5
3090  echo "$as_me:3090: \$? = $ac_status" >&5
3091  (exit $ac_status); } >/dev/null; then
3092  if test -s conftest.err; then
3093    ac_cpp_err=$ac_c_preproc_warn_flag
3094  else
3095    ac_cpp_err=
3096  fi
3097else
3098  ac_cpp_err=yes
3099fi
3100if test -z "$ac_cpp_err"; then
3101  eval "$as_ac_Header=yes"
3102else
3103  echo "$as_me: failed program was:" >&5
3104  cat conftest.$ac_ext >&5
3105  eval "$as_ac_Header=no"
3106fi
3107rm -f conftest.err conftest.$ac_ext
3108fi
3109echo "$as_me:3109: result: `eval echo '${'$as_ac_Header'}'`" >&5
3110echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3111if test `eval echo '${'$as_ac_Header'}'` = yes; then
3112  cat >>confdefs.h <<EOF
3113#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3114EOF
3115
3116fi
3117done
3118
3119echo "$as_me:3119: checking for $CC option to accept ANSI C" >&5
3120echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3121if test "${ac_cv_prog_cc_stdc+set}" = set; then
3122  echo $ECHO_N "(cached) $ECHO_C" >&6
3123else
3124  ac_cv_prog_cc_stdc=no
3125ac_save_CC=$CC
3126cat >conftest.$ac_ext <<_ACEOF
3127#line 3127 "configure"
3128#include "confdefs.h"
3129#include <stdarg.h>
3130#include <stdio.h>
3131#include <sys/types.h>
3132#include <sys/stat.h>
3133/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3134struct buf { int x; };
3135FILE * (*rcsopen) (struct buf *, struct stat *, int);
3136static char *e (p, i)
3137     char **p;
3138     int i;
3139{
3140  return p[i];
3141}
3142static char *f (char * (*g) (char **, int), char **p, ...)
3143{
3144  char *s;
3145  va_list v;
3146  va_start (v,p);
3147  s = g (p, va_arg (v,int));
3148  va_end (v);
3149  return s;
3150}
3151int test (int i, double x);
3152struct s1 {int (*f) (int a);};
3153struct s2 {int (*f) (double a);};
3154int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3155int argc;
3156char **argv;
3157int
3158main ()
3159{
3160return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3161  ;
3162  return 0;
3163}
3164_ACEOF
3165# Don't try gcc -ansi; that turns off useful extensions and
3166# breaks some systems' header files.
3167# AIX                   -qlanglvl=ansi
3168# Ultrix and OSF/1      -std1
3169# HP-UX 10.20 and later -Ae
3170# HP-UX older versions  -Aa -D_HPUX_SOURCE
3171# SVR4                  -Xc -D__EXTENSIONS__
3172for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3173do
3174  CC="$ac_save_CC $ac_arg"
3175  rm -f conftest.$ac_objext
3176if { (eval echo "$as_me:3176: \"$ac_compile\"") >&5
3177  (eval $ac_compile) 2>&5
3178  ac_status=$?
3179  echo "$as_me:3179: \$? = $ac_status" >&5
3180  (exit $ac_status); } &&
3181         { ac_try='test -s conftest.$ac_objext'
3182  { (eval echo "$as_me:3182: \"$ac_try\"") >&5
3183  (eval $ac_try) 2>&5
3184  ac_status=$?
3185  echo "$as_me:3185: \$? = $ac_status" >&5
3186  (exit $ac_status); }; }; then
3187  ac_cv_prog_cc_stdc=$ac_arg
3188break
3189else
3190  echo "$as_me: failed program was:" >&5
3191cat conftest.$ac_ext >&5
3192fi
3193rm -f conftest.$ac_objext
3194done
3195rm -f conftest.$ac_ext conftest.$ac_objext
3196CC=$ac_save_CC
3197
3198fi
3199
3200case "x$ac_cv_prog_cc_stdc" in
3201  x|xno)
3202    echo "$as_me:3202: result: none needed" >&5
3203echo "${ECHO_T}none needed" >&6 ;;
3204  *)
3205    echo "$as_me:3205: result: $ac_cv_prog_cc_stdc" >&5
3206echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3207    CC="$CC $ac_cv_prog_cc_stdc" ;;
3208esac
3209
3210echo "$as_me:3210: checking for an ANSI C-conforming const" >&5
3211echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3212if test "${ac_cv_c_const+set}" = set; then
3213  echo $ECHO_N "(cached) $ECHO_C" >&6
3214else
3215  cat >conftest.$ac_ext <<_ACEOF
3216#line 3216 "configure"
3217#include "confdefs.h"
3218
3219int
3220main ()
3221{
3222/* FIXME: Include the comments suggested by Paul. */
3223#ifndef __cplusplus
3224  /* Ultrix mips cc rejects this.  */
3225  typedef int charset[2];
3226  const charset x;
3227  /* SunOS 4.1.1 cc rejects this.  */
3228  char const *const *ccp;
3229  char **p;
3230  /* NEC SVR4.0.2 mips cc rejects this.  */
3231  struct point {int x, y;};
3232  static struct point const zero = {0,0};
3233  /* AIX XL C 1.02.0.0 rejects this.
3234     It does not let you subtract one const X* pointer from another in
3235     an arm of an if-expression whose if-part is not a constant
3236     expression */
3237  const char *g = "string";
3238  ccp = &g + (g ? g-g : 0);
3239  /* HPUX 7.0 cc rejects these. */
3240  ++ccp;
3241  p = (char**) ccp;
3242  ccp = (char const *const *) p;
3243  { /* SCO 3.2v4 cc rejects this.  */
3244    char *t;
3245    char const *s = 0 ? (char *) 0 : (char const *) 0;
3246
3247    *t++ = 0;
3248  }
3249  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3250    int x[] = {25, 17};
3251    const int *foo = &x[0];
3252    ++foo;
3253  }
3254  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3255    typedef const int *iptr;
3256    iptr p = 0;
3257    ++p;
3258  }
3259  { /* AIX XL C 1.02.0.0 rejects this saying
3260       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3261    struct s { int j; const int *ap[3]; };
3262    struct s *b; b->j = 5;
3263  }
3264  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3265    const int foo = 10;
3266  }
3267#endif
3268
3269  ;
3270  return 0;
3271}
3272_ACEOF
3273rm -f conftest.$ac_objext
3274if { (eval echo "$as_me:3274: \"$ac_compile\"") >&5
3275  (eval $ac_compile) 2>&5
3276  ac_status=$?
3277  echo "$as_me:3277: \$? = $ac_status" >&5
3278  (exit $ac_status); } &&
3279         { ac_try='test -s conftest.$ac_objext'
3280  { (eval echo "$as_me:3280: \"$ac_try\"") >&5
3281  (eval $ac_try) 2>&5
3282  ac_status=$?
3283  echo "$as_me:3283: \$? = $ac_status" >&5
3284  (exit $ac_status); }; }; then
3285  ac_cv_c_const=yes
3286else
3287  echo "$as_me: failed program was:" >&5
3288cat conftest.$ac_ext >&5
3289ac_cv_c_const=no
3290fi
3291rm -f conftest.$ac_objext conftest.$ac_ext
3292fi
3293echo "$as_me:3293: result: $ac_cv_c_const" >&5
3294echo "${ECHO_T}$ac_cv_c_const" >&6
3295if test $ac_cv_c_const = no; then
3296
3297cat >>confdefs.h <<\EOF
3298#define const
3299EOF
3300
3301fi
3302
3303echo "$as_me:3303: checking for inline" >&5
3304echo $ECHO_N "checking for inline... $ECHO_C" >&6
3305if test "${ac_cv_c_inline+set}" = set; then
3306  echo $ECHO_N "(cached) $ECHO_C" >&6
3307else
3308  ac_cv_c_inline=no
3309for ac_kw in inline __inline__ __inline; do
3310  cat >conftest.$ac_ext <<_ACEOF
3311#line 3311 "configure"
3312#include "confdefs.h"
3313#ifndef __cplusplus
3314static $ac_kw int static_foo () {return 0; }
3315$ac_kw int foo () {return 0; }
3316#endif
3317
3318_ACEOF
3319rm -f conftest.$ac_objext
3320if { (eval echo "$as_me:3320: \"$ac_compile\"") >&5
3321  (eval $ac_compile) 2>&5
3322  ac_status=$?
3323  echo "$as_me:3323: \$? = $ac_status" >&5
3324  (exit $ac_status); } &&
3325         { ac_try='test -s conftest.$ac_objext'
3326  { (eval echo "$as_me:3326: \"$ac_try\"") >&5
3327  (eval $ac_try) 2>&5
3328  ac_status=$?
3329  echo "$as_me:3329: \$? = $ac_status" >&5
3330  (exit $ac_status); }; }; then
3331  ac_cv_c_inline=$ac_kw; break
3332else
3333  echo "$as_me: failed program was:" >&5
3334cat conftest.$ac_ext >&5
3335fi
3336rm -f conftest.$ac_objext conftest.$ac_ext
3337done
3338
3339fi
3340echo "$as_me:3340: result: $ac_cv_c_inline" >&5
3341echo "${ECHO_T}$ac_cv_c_inline" >&6
3342case $ac_cv_c_inline in
3343  inline | yes) ;;
3344  no)
3345cat >>confdefs.h <<\EOF
3346#define inline
3347EOF
3348 ;;
3349  *)  cat >>confdefs.h <<EOF
3350#define inline $ac_cv_c_inline
3351EOF
3352 ;;
3353esac
3354
3355echo "$as_me:3355: checking whether struct tm is in sys/time.h or time.h" >&5
3356echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3357if test "${ac_cv_struct_tm+set}" = set; then
3358  echo $ECHO_N "(cached) $ECHO_C" >&6
3359else
3360  cat >conftest.$ac_ext <<_ACEOF
3361#line 3361 "configure"
3362#include "confdefs.h"
3363#include <sys/types.h>
3364#include <time.h>
3365
3366int
3367main ()
3368{
3369struct tm *tp; tp->tm_sec;
3370  ;
3371  return 0;
3372}
3373_ACEOF
3374rm -f conftest.$ac_objext
3375if { (eval echo "$as_me:3375: \"$ac_compile\"") >&5
3376  (eval $ac_compile) 2>&5
3377  ac_status=$?
3378  echo "$as_me:3378: \$? = $ac_status" >&5
3379  (exit $ac_status); } &&
3380         { ac_try='test -s conftest.$ac_objext'
3381  { (eval echo "$as_me:3381: \"$ac_try\"") >&5
3382  (eval $ac_try) 2>&5
3383  ac_status=$?
3384  echo "$as_me:3384: \$? = $ac_status" >&5
3385  (exit $ac_status); }; }; then
3386  ac_cv_struct_tm=time.h
3387else
3388  echo "$as_me: failed program was:" >&5
3389cat conftest.$ac_ext >&5
3390ac_cv_struct_tm=sys/time.h
3391fi
3392rm -f conftest.$ac_objext conftest.$ac_ext
3393fi
3394echo "$as_me:3394: result: $ac_cv_struct_tm" >&5
3395echo "${ECHO_T}$ac_cv_struct_tm" >&6
3396if test $ac_cv_struct_tm = sys/time.h; then
3397
3398cat >>confdefs.h <<\EOF
3399#define TM_IN_SYS_TIME 1
3400EOF
3401
3402fi
3403
3404test "${prefix}" != "NONE" || prefix=$ac_default_prefix
3405
3406preludedir=${prefix}/share/cfa
3407
3408# Check whether --with-preludedir or --without-preludedir was given.
3409if test "${with_preludedir+set}" = set; then
3410  withval="$with_preludedir"
3411  preludedir=$withval
3412fi;
3413
3414# Check whether --with-backend-compiler or --without-backend-compiler was given.
3415if test "${with_backend_compiler+set}" = set; then
3416  withval="$with_backend_compiler"
3417  backcompiler=$withval
3418else
3419  backcompiler=""
3420fi;
3421  if test x$backcompiler != x; then
3422     cat >>confdefs.h <<EOF
3423#define GCC_PATH "${backcompiler}"
3424EOF
3425
3426     BACKEND_CC=${backcompiler}
3427  else
3428     # Extract the first word of "gcc", so it can be a program name with args.
3429set dummy gcc; ac_word=$2
3430echo "$as_me:3430: checking for $ac_word" >&5
3431echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3432if test "${ac_cv_path_GCC_PATH+set}" = set; then
3433  echo $ECHO_N "(cached) $ECHO_C" >&6
3434else
3435  case $GCC_PATH in
3436  [\\/]* | ?:[\\/]*)
3437  ac_cv_path_GCC_PATH="$GCC_PATH" # Let the user override the test with a path.
3438  ;;
3439  *)
3440  ac_save_IFS=$IFS; IFS=$ac_path_separator
3441ac_dummy="$PATH"
3442for ac_dir in $ac_dummy; do
3443  IFS=$ac_save_IFS
3444  test -z "$ac_dir" && ac_dir=.
3445  if $as_executable_p "$ac_dir/$ac_word"; then
3446   ac_cv_path_GCC_PATH="$ac_dir/$ac_word"
3447   echo "$as_me:3447: found $ac_dir/$ac_word" >&5
3448   break
3449fi
3450done
3451
3452  test -z "$ac_cv_path_GCC_PATH" && ac_cv_path_GCC_PATH="N/A"
3453  ;;
3454esac
3455fi
3456GCC_PATH=$ac_cv_path_GCC_PATH
3457
3458if test -n "$GCC_PATH"; then
3459  echo "$as_me:3459: result: $GCC_PATH" >&5
3460echo "${ECHO_T}$GCC_PATH" >&6
3461else
3462  echo "$as_me:3462: result: no" >&5
3463echo "${ECHO_T}no" >&6
3464fi
3465
3466     if test "$GCC_PATH" = "N/A"; then
3467        { { echo "$as_me:3467: error: some version of gcc is needed. Get it at ftp://ftp.gnu.org" >&5
3468echo "$as_me: error: some version of gcc is needed. Get it at ftp://ftp.gnu.org" >&2;}
3469   { (exit 1); exit 1; }; }
3470        exit 1
3471     fi
3472     cat >>confdefs.h <<EOF
3473#define GCC_PATH "${GCC_PATH}"
3474EOF
3475
3476     BACKEND_CC=${GCC_PATH}
3477  fi
3478
3479# Extract the first word of "cpp", so it can be a program name with args.
3480set dummy cpp; ac_word=$2
3481echo "$as_me:3481: checking for $ac_word" >&5
3482echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3483if test "${ac_cv_path_CPP_PATH+set}" = set; then
3484  echo $ECHO_N "(cached) $ECHO_C" >&6
3485else
3486  case $CPP_PATH in
3487  [\\/]* | ?:[\\/]*)
3488  ac_cv_path_CPP_PATH="$CPP_PATH" # Let the user override the test with a path.
3489  ;;
3490  *)
3491  ac_save_IFS=$IFS; IFS=$ac_path_separator
3492ac_dummy="$PATH"
3493for ac_dir in $ac_dummy; do
3494  IFS=$ac_save_IFS
3495  test -z "$ac_dir" && ac_dir=.
3496  if $as_executable_p "$ac_dir/$ac_word"; then
3497   ac_cv_path_CPP_PATH="$ac_dir/$ac_word"
3498   echo "$as_me:3498: found $ac_dir/$ac_word" >&5
3499   break
3500fi
3501done
3502
3503  test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="N/A"
3504  ;;
3505esac
3506fi
3507CPP_PATH=$ac_cv_path_CPP_PATH
3508
3509if test -n "$CPP_PATH"; then
3510  echo "$as_me:3510: result: $CPP_PATH" >&5
3511echo "${ECHO_T}$CPP_PATH" >&6
3512else
3513  echo "$as_me:3513: result: no" >&5
3514echo "${ECHO_T}no" >&6
3515fi
3516
3517if test "$CPP_PATH" = "N/A"; then
3518   { { echo "$as_me:3518: error: cpp not found" >&5
3519echo "$as_me: error: cpp not found" >&2;}
3520   { (exit 1); exit 1; }; }
3521   exit 1
3522fi
3523cat >>confdefs.h <<EOF
3524#define CPP_PATH "${CPP_PATH}"
3525EOF
3526
3527# Purify instrumenting
3528
3529CFA_PREFIX=
3530if test "x$prefix" = "xNONE"; then
3531        cfa_prefix=${ac_default_prefix}
3532else
3533        cfa_prefix=${prefix}
3534fi
3535cat >>confdefs.h <<EOF
3536#define CFA_PREFIX "${cfa_prefix}"
3537EOF
3538
3539CFA_PREFIX=${cfa_prefix}
3540
3541CFA_BINDIR=
3542if test "$bindir" = '${exec_prefix}/bin'; then
3543        cfa_bindir="${cfa_prefix}/bin"
3544else
3545        cfa_bindir=${bindir}
3546fi
3547cat >>confdefs.h <<EOF
3548#define CFA_BINDIR "${cfa_bindir}"
3549EOF
3550
3551CFA_BINDIR=${cfa_bindir}
3552
3553CFA_LIBDIR=
3554if test "$libdir" = '${exec_prefix}/lib'; then
3555        cfa_libdir=${cfa_prefix}/lib
3556else
3557        cfa_libdir=${libdir}
3558fi
3559cat >>confdefs.h <<EOF
3560#define CFA_LIBDIR "${cfa_libdir}"
3561EOF
3562
3563CFA_LIBDIR=${cfa_libdir}
3564
3565ac_config_files="$ac_config_files Makefile translator/Makefile driver/Makefile libcfa/Makefile"
3566cat >confcache <<\_ACEOF
3567# This file is a shell script that caches the results of configure
3568# tests run on this system so they can be shared between configure
3569# scripts and configure runs, see configure's option --config-cache.
3570# It is not useful on other systems.  If it contains results you don't
3571# want to keep, you may remove or edit it.
3572#
3573# config.status only pays attention to the cache file if you give it
3574# the --recheck option to rerun configure.
3575#
3576# `ac_cv_env_foo' variables (set or unset) will be overriden when
3577# loading this file, other *unset* `ac_cv_foo' will be assigned the
3578# following values.
3579
3580_ACEOF
3581
3582# The following way of writing the cache mishandles newlines in values,
3583# but we know of no workaround that is simple, portable, and efficient.
3584# So, don't put newlines in cache variables' values.
3585# Ultrix sh set writes to stderr and can't be redirected directly,
3586# and sets the high bit in the cache file unless we assign to the vars.
3587{
3588  (set) 2>&1 |
3589    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3590    *ac_space=\ *)
3591      # `set' does not quote correctly, so add quotes (double-quote
3592      # substitution turns \\\\ into \\, and sed turns \\ into \).
3593      sed -n \
3594        "s/'/'\\\\''/g;
3595          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3596      ;;
3597    *)
3598      # `set' quotes correctly as required by POSIX, so do not add quotes.
3599      sed -n \
3600        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3601      ;;
3602    esac;
3603} |
3604  sed '
3605     t clear
3606     : clear
3607     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3608     t end
3609     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3610     : end' >>confcache
3611if cmp -s $cache_file confcache; then :; else
3612  if test -w $cache_file; then
3613    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3614    cat confcache >$cache_file
3615  else
3616    echo "not updating unwritable cache $cache_file"
3617  fi
3618fi
3619rm -f confcache
3620
3621test "x$prefix" = xNONE && prefix=$ac_default_prefix
3622# Let make expand exec_prefix.
3623test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3624
3625# VPATH may cause trouble with some makes, so we remove $(srcdir),
3626# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3627# trailing colons and then remove the whole line if VPATH becomes empty
3628# (actually we leave an empty line to preserve line numbers).
3629if test "x$srcdir" = x.; then
3630  ac_vpsub='/^[         ]*VPATH[        ]*=/{
3631s/:*\$(srcdir):*/:/;
3632s/:*\${srcdir}:*/:/;
3633s/:*@srcdir@:*/:/;
3634s/^\([^=]*=[    ]*\):*/\1/;
3635s/:*$//;
3636s/^[^=]*=[      ]*$//;
3637}'
3638fi
3639
3640DEFS=-DHAVE_CONFIG_H
3641
3642if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3643  { { echo "$as_me:3643: error: conditional \"AMDEP\" was never defined.
3644Usually this means the macro was only invoked conditionally." >&5
3645echo "$as_me: error: conditional \"AMDEP\" was never defined.
3646Usually this means the macro was only invoked conditionally." >&2;}
3647   { (exit 1); exit 1; }; }
3648fi
3649
3650: ${CONFIG_STATUS=./config.status}
3651ac_clean_files_save=$ac_clean_files
3652ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3653{ echo "$as_me:3653: creating $CONFIG_STATUS" >&5
3654echo "$as_me: creating $CONFIG_STATUS" >&6;}
3655cat >$CONFIG_STATUS <<_ACEOF
3656#! $SHELL
3657# Generated automatically by configure.
3658# Run this file to recreate the current configuration.
3659# Compiler output produced by configure, useful for debugging
3660# configure, is in config.log if it exists.
3661
3662debug=false
3663SHELL=\${CONFIG_SHELL-$SHELL}
3664ac_cs_invocation="\$0 \$@"
3665
3666_ACEOF
3667
3668cat >>$CONFIG_STATUS <<\_ACEOF
3669# Be Bourne compatible
3670if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3671  emulate sh
3672  NULLCMD=:
3673elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3674  set -o posix
3675fi
3676
3677# Name of the executable.
3678as_me=`echo "$0" |sed 's,.*[\\/],,'`
3679
3680if expr a : '\(a\)' >/dev/null 2>&1; then
3681  as_expr=expr
3682else
3683  as_expr=false
3684fi
3685
3686rm -f conf$$ conf$$.exe conf$$.file
3687echo >conf$$.file
3688if ln -s conf$$.file conf$$ 2>/dev/null; then
3689  # We could just check for DJGPP; but this test a) works b) is more generic
3690  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3691  if test -f conf$$.exe; then
3692    # Don't use ln at all; we don't have any links
3693    as_ln_s='cp -p'
3694  else
3695    as_ln_s='ln -s'
3696  fi
3697elif ln conf$$.file conf$$ 2>/dev/null; then
3698  as_ln_s=ln
3699else
3700  as_ln_s='cp -p'
3701fi
3702rm -f conf$$ conf$$.exe conf$$.file
3703
3704as_executable_p="test -f"
3705
3706# Support unset when possible.
3707if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3708  as_unset=unset
3709else
3710  as_unset=false
3711fi
3712
3713# NLS nuisances.
3714$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3715$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3716$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3717$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3718$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3719$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3720$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3721$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3722
3723# IFS
3724# We need space, tab and new line, in precisely that order.
3725as_nl='
3726'
3727IFS="   $as_nl"
3728
3729# CDPATH.
3730$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3731
3732exec 6>&1
3733
3734_ACEOF
3735
3736# Files that config.status was made for.
3737if test -n "$ac_config_files"; then
3738  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3739fi
3740
3741if test -n "$ac_config_headers"; then
3742  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3743fi
3744
3745if test -n "$ac_config_links"; then
3746  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3747fi
3748
3749if test -n "$ac_config_commands"; then
3750  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3751fi
3752
3753cat >>$CONFIG_STATUS <<\EOF
3754
3755ac_cs_usage="\
3756\`$as_me' instantiates files from templates according to the
3757current configuration.
3758
3759Usage: $0 [OPTIONS] [FILE]...
3760
3761  -h, --help       print this help, then exit
3762  -V, --version    print version number, then exit
3763  -d, --debug      don't remove temporary files
3764      --recheck    update $as_me by reconfiguring in the same conditions
3765  --file=FILE[:TEMPLATE]
3766                   instantiate the configuration file FILE
3767  --header=FILE[:TEMPLATE]
3768                   instantiate the configuration header FILE
3769
3770Configuration files:
3771$config_files
3772
3773Configuration headers:
3774$config_headers
3775
3776Configuration commands:
3777$config_commands
3778
3779Report bugs to <bug-autoconf@gnu.org>."
3780EOF
3781
3782cat >>$CONFIG_STATUS <<EOF
3783ac_cs_version="\\
3784cfa-cc config.status 1.0
3785configured by $0, generated by GNU Autoconf 2.52,
3786  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3787
3788Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3789Free Software Foundation, Inc.
3790This config.status script is free software; the Free Software Foundation
3791gives unlimited permission to copy, distribute and modify it."
3792srcdir=$srcdir
3793INSTALL="$INSTALL"
3794EOF
3795
3796cat >>$CONFIG_STATUS <<\EOF
3797# If no file are specified by the user, then we need to provide default
3798# value.  By we need to know if files were specified by the user.
3799ac_need_defaults=:
3800while test $# != 0
3801do
3802  case $1 in
3803  --*=*)
3804    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3805    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3806    shift
3807    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3808    shift
3809    ;;
3810  -*);;
3811  *) # This is not an option, so the user has probably given explicit
3812     # arguments.
3813     ac_need_defaults=false;;
3814  esac
3815
3816  case $1 in
3817  # Handling of the options.
3818EOF
3819cat >>$CONFIG_STATUS <<EOF
3820  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3821    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3822    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3823EOF
3824cat >>$CONFIG_STATUS <<\EOF
3825  --version | --vers* | -V )
3826    echo "$ac_cs_version"; exit 0 ;;
3827  --he | --h)
3828    # Conflict between --help and --header
3829    { { echo "$as_me:3829: error: ambiguous option: $1
3830Try \`$0 --help' for more information." >&5
3831echo "$as_me: error: ambiguous option: $1
3832Try \`$0 --help' for more information." >&2;}
3833   { (exit 1); exit 1; }; };;
3834  --help | --hel | -h )
3835    echo "$ac_cs_usage"; exit 0 ;;
3836  --debug | --d* | -d )
3837    debug=: ;;
3838  --file | --fil | --fi | --f )
3839    shift
3840    CONFIG_FILES="$CONFIG_FILES $1"
3841    ac_need_defaults=false;;
3842  --header | --heade | --head | --hea )
3843    shift
3844    CONFIG_HEADERS="$CONFIG_HEADERS $1"
3845    ac_need_defaults=false;;
3846
3847  # This is an error.
3848  -*) { { echo "$as_me:3848: error: unrecognized option: $1
3849Try \`$0 --help' for more information." >&5
3850echo "$as_me: error: unrecognized option: $1
3851Try \`$0 --help' for more information." >&2;}
3852   { (exit 1); exit 1; }; } ;;
3853
3854  *) ac_config_targets="$ac_config_targets $1" ;;
3855
3856  esac
3857  shift
3858done
3859
3860exec 5>>config.log
3861cat >&5 << _ACEOF
3862
3863## ----------------------- ##
3864## Running config.status.  ##
3865## ----------------------- ##
3866
3867This file was extended by $as_me (cfa-cc 1.0) 2.52, executed with
3868  CONFIG_FILES    = $CONFIG_FILES
3869  CONFIG_HEADERS  = $CONFIG_HEADERS
3870  CONFIG_LINKS    = $CONFIG_LINKS
3871  CONFIG_COMMANDS = $CONFIG_COMMANDS
3872  > $ac_cs_invocation
3873on `(hostname || uname -n) 2>/dev/null | sed 1q`
3874
3875_ACEOF
3876EOF
3877
3878cat >>$CONFIG_STATUS <<EOF
3879#
3880# INIT-COMMANDS section.
3881#
3882
3883AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3884
3885EOF
3886
3887cat >>$CONFIG_STATUS <<\EOF
3888for ac_config_target in $ac_config_targets
3889do
3890  case "$ac_config_target" in
3891  # Handling of arguments.
3892  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3893  "translator/Makefile" ) CONFIG_FILES="$CONFIG_FILES translator/Makefile" ;;
3894  "driver/Makefile" ) CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
3895  "libcfa/Makefile" ) CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;;
3896  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3897  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3898  *) { { echo "$as_me:3898: error: invalid argument: $ac_config_target" >&5
3899echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3900   { (exit 1); exit 1; }; };;
3901  esac
3902done
3903
3904# If the user did not use the arguments to specify the items to instantiate,
3905# then the envvar interface is used.  Set only those that are not.
3906# We use the long form for the default assignment because of an extremely
3907# bizarre bug on SunOS 4.1.3.
3908if $ac_need_defaults; then
3909  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3910  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3911  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3912fi
3913
3914# Create a temporary directory, and hook for its removal unless debugging.
3915$debug ||
3916{
3917  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3918  trap '{ (exit 1); exit 1; }' 1 2 13 15
3919}
3920
3921# Create a (secure) tmp directory for tmp files.
3922: ${TMPDIR=/tmp}
3923{
3924  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3925  test -n "$tmp" && test -d "$tmp"
3926}  ||
3927{
3928  tmp=$TMPDIR/cs$$-$RANDOM
3929  (umask 077 && mkdir $tmp)
3930} ||
3931{
3932   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3933   { (exit 1); exit 1; }
3934}
3935
3936EOF
3937
3938cat >>$CONFIG_STATUS <<EOF
3939
3940#
3941# CONFIG_FILES section.
3942#
3943
3944# No need to generate the scripts if there are no CONFIG_FILES.
3945# This happens for instance when ./config.status config.h
3946if test -n "\$CONFIG_FILES"; then
3947  # Protect against being on the right side of a sed subst in config.status.
3948  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3949   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3950s,@SHELL@,$SHELL,;t t
3951s,@exec_prefix@,$exec_prefix,;t t
3952s,@prefix@,$prefix,;t t
3953s,@program_transform_name@,$program_transform_name,;t t
3954s,@bindir@,$bindir,;t t
3955s,@sbindir@,$sbindir,;t t
3956s,@libexecdir@,$libexecdir,;t t
3957s,@datadir@,$datadir,;t t
3958s,@sysconfdir@,$sysconfdir,;t t
3959s,@sharedstatedir@,$sharedstatedir,;t t
3960s,@localstatedir@,$localstatedir,;t t
3961s,@libdir@,$libdir,;t t
3962s,@includedir@,$includedir,;t t
3963s,@oldincludedir@,$oldincludedir,;t t
3964s,@infodir@,$infodir,;t t
3965s,@mandir@,$mandir,;t t
3966s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3967s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3968s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3969s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3970s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3971s,@build_alias@,$build_alias,;t t
3972s,@host_alias@,$host_alias,;t t
3973s,@target_alias@,$target_alias,;t t
3974s,@ECHO_C@,$ECHO_C,;t t
3975s,@ECHO_N@,$ECHO_N,;t t
3976s,@ECHO_T@,$ECHO_T,;t t
3977s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3978s,@DEFS@,$DEFS,;t t
3979s,@LIBS@,$LIBS,;t t
3980s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3981s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3982s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3983s,@PACKAGE@,$PACKAGE,;t t
3984s,@VERSION@,$VERSION,;t t
3985s,@ACLOCAL@,$ACLOCAL,;t t
3986s,@AUTOCONF@,$AUTOCONF,;t t
3987s,@AUTOMAKE@,$AUTOMAKE,;t t
3988s,@AUTOHEADER@,$AUTOHEADER,;t t
3989s,@MAKEINFO@,$MAKEINFO,;t t
3990s,@AMTAR@,$AMTAR,;t t
3991s,@install_sh@,$install_sh,;t t
3992s,@STRIP@,$STRIP,;t t
3993s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3994s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3995s,@AWK@,$AWK,;t t
3996s,@SET_MAKE@,$SET_MAKE,;t t
3997s,@YACC@,$YACC,;t t
3998s,@CXX@,$CXX,;t t
3999s,@CXXFLAGS@,$CXXFLAGS,;t t
4000s,@LDFLAGS@,$LDFLAGS,;t t
4001s,@CPPFLAGS@,$CPPFLAGS,;t t
4002s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4003s,@EXEEXT@,$EXEEXT,;t t
4004s,@OBJEXT@,$OBJEXT,;t t
4005s,@DEPDIR@,$DEPDIR,;t t
4006s,@am__include@,$am__include,;t t
4007s,@am__quote@,$am__quote,;t t
4008s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4009s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4010s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4011s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4012s,@CC@,$CC,;t t
4013s,@CFLAGS@,$CFLAGS,;t t
4014s,@ac_ct_CC@,$ac_ct_CC,;t t
4015s,@CCDEPMODE@,$CCDEPMODE,;t t
4016s,@LEX@,$LEX,;t t
4017s,@LEXLIB@,$LEXLIB,;t t
4018s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
4019s,@CPP@,$CPP,;t t
4020s,@preludedir@,$preludedir,;t t
4021s,@GCC_PATH@,$GCC_PATH,;t t
4022s,@BACKEND_CC@,$BACKEND_CC,;t t
4023s,@CPP_PATH@,$CPP_PATH,;t t
4024s,@CFA_PREFIX@,$CFA_PREFIX,;t t
4025s,@CFA_BINDIR@,$CFA_BINDIR,;t t
4026s,@CFA_LIBDIR@,$CFA_LIBDIR,;t t
4027CEOF
4028
4029EOF
4030
4031  cat >>$CONFIG_STATUS <<\EOF
4032  # Split the substitutions into bite-sized pieces for seds with
4033  # small command number limits, like on Digital OSF/1 and HP-UX.
4034  ac_max_sed_lines=48
4035  ac_sed_frag=1 # Number of current file.
4036  ac_beg=1 # First line for current file.
4037  ac_end=$ac_max_sed_lines # Line after last line for current file.
4038  ac_more_lines=:
4039  ac_sed_cmds=
4040  while $ac_more_lines; do
4041    if test $ac_beg -gt 1; then
4042      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4043    else
4044      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4045    fi
4046    if test ! -s $tmp/subs.frag; then
4047      ac_more_lines=false
4048    else
4049      # The purpose of the label and of the branching condition is to
4050      # speed up the sed processing (if there are no `@' at all, there
4051      # is no need to browse any of the substitutions).
4052      # These are the two extra sed commands mentioned above.
4053      (echo ':t
4054  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4055      if test -z "$ac_sed_cmds"; then
4056        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4057      else
4058        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4059      fi
4060      ac_sed_frag=`expr $ac_sed_frag + 1`
4061      ac_beg=$ac_end
4062      ac_end=`expr $ac_end + $ac_max_sed_lines`
4063    fi
4064  done
4065  if test -z "$ac_sed_cmds"; then
4066    ac_sed_cmds=cat
4067  fi
4068fi # test -n "$CONFIG_FILES"
4069
4070EOF
4071cat >>$CONFIG_STATUS <<\EOF
4072for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4073  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4074  case $ac_file in
4075  - | *:- | *:-:* ) # input from stdin
4076        cat >$tmp/stdin
4077        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4078        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4079  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4080        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4081  * )   ac_file_in=$ac_file.in ;;
4082  esac
4083
4084  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4085  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4086         X"$ac_file" : 'X\(//\)[^/]' \| \
4087         X"$ac_file" : 'X\(//\)$' \| \
4088         X"$ac_file" : 'X\(/\)' \| \
4089         .     : '\(.\)' 2>/dev/null ||
4090echo X"$ac_file" |
4091    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4092          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4093          /^X\(\/\/\)$/{ s//\1/; q; }
4094          /^X\(\/\).*/{ s//\1/; q; }
4095          s/.*/./; q'`
4096  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4097    { case "$ac_dir" in
4098  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4099  *)                      as_incr_dir=.;;
4100esac
4101as_dummy="$ac_dir"
4102for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4103  case $as_mkdir_dir in
4104    # Skip DOS drivespec
4105    ?:) as_incr_dir=$as_mkdir_dir ;;
4106    *)
4107      as_incr_dir=$as_incr_dir/$as_mkdir_dir
4108      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4109    ;;
4110  esac
4111done; }
4112
4113    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
4114    # A "../" for each directory in $ac_dir_suffix.
4115    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
4116  else
4117    ac_dir_suffix= ac_dots=
4118  fi
4119
4120  case $srcdir in
4121  .)  ac_srcdir=.
4122      if test -z "$ac_dots"; then
4123         ac_top_srcdir=.
4124      else
4125         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
4126      fi ;;
4127  [\\/]* | ?:[\\/]* )
4128      ac_srcdir=$srcdir$ac_dir_suffix;
4129      ac_top_srcdir=$srcdir ;;
4130  *) # Relative path.
4131    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
4132    ac_top_srcdir=$ac_dots$srcdir ;;
4133  esac
4134
4135  case $INSTALL in
4136  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4137  *) ac_INSTALL=$ac_dots$INSTALL ;;
4138  esac
4139
4140  if test x"$ac_file" != x-; then
4141    { echo "$as_me:4141: creating $ac_file" >&5
4142echo "$as_me: creating $ac_file" >&6;}
4143    rm -f "$ac_file"
4144  fi
4145  # Let's still pretend it is `configure' which instantiates (i.e., don't
4146  # use $as_me), people would be surprised to read:
4147  #    /* config.h.  Generated automatically by config.status.  */
4148  configure_input="Generated automatically from `echo $ac_file_in |
4149                                                 sed 's,.*/,,'` by configure."
4150
4151  # First look for the input files in the build tree, otherwise in the
4152  # src tree.
4153  ac_file_inputs=`IFS=:
4154    for f in $ac_file_in; do
4155      case $f in
4156      -) echo $tmp/stdin ;;
4157      [\\/$]*)
4158         # Absolute (can't be DOS-style, as IFS=:)
4159         test -f "$f" || { { echo "$as_me:4159: error: cannot find input file: $f" >&5
4160echo "$as_me: error: cannot find input file: $f" >&2;}
4161   { (exit 1); exit 1; }; }
4162         echo $f;;
4163      *) # Relative
4164         if test -f "$f"; then
4165           # Build tree
4166           echo $f
4167         elif test -f "$srcdir/$f"; then
4168           # Source tree
4169           echo $srcdir/$f
4170         else
4171           # /dev/null tree
4172           { { echo "$as_me:4172: error: cannot find input file: $f" >&5
4173echo "$as_me: error: cannot find input file: $f" >&2;}
4174   { (exit 1); exit 1; }; }
4175         fi;;
4176      esac
4177    done` || { (exit 1); exit 1; }
4178EOF
4179cat >>$CONFIG_STATUS <<EOF
4180  sed "$ac_vpsub
4181$extrasub
4182EOF
4183cat >>$CONFIG_STATUS <<\EOF
4184:t
4185/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4186s,@configure_input@,$configure_input,;t t
4187s,@srcdir@,$ac_srcdir,;t t
4188s,@top_srcdir@,$ac_top_srcdir,;t t
4189s,@INSTALL@,$ac_INSTALL,;t t
4190" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4191  rm -f $tmp/stdin
4192  if test x"$ac_file" != x-; then
4193    mv $tmp/out $ac_file
4194  else
4195    cat $tmp/out
4196    rm -f $tmp/out
4197  fi
4198
4199done
4200EOF
4201cat >>$CONFIG_STATUS <<\EOF
4202
4203#
4204# CONFIG_HEADER section.
4205#
4206
4207# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4208# NAME is the cpp macro being defined and VALUE is the value it is being given.
4209#
4210# ac_d sets the value in "#define NAME VALUE" lines.
4211ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
4212ac_dB='[        ].*$,\1#\2'
4213ac_dC=' '
4214ac_dD=',;t'
4215# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4216ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4217ac_uB='$,\1#\2define\3'
4218ac_uC=' '
4219ac_uD=',;t'
4220
4221for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4222  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4223  case $ac_file in
4224  - | *:- | *:-:* ) # input from stdin
4225        cat >$tmp/stdin
4226        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4227        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4228  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4229        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4230  * )   ac_file_in=$ac_file.in ;;
4231  esac
4232
4233  test x"$ac_file" != x- && { echo "$as_me:4233: creating $ac_file" >&5
4234echo "$as_me: creating $ac_file" >&6;}
4235
4236  # First look for the input files in the build tree, otherwise in the
4237  # src tree.
4238  ac_file_inputs=`IFS=:
4239    for f in $ac_file_in; do
4240      case $f in
4241      -) echo $tmp/stdin ;;
4242      [\\/$]*)
4243         # Absolute (can't be DOS-style, as IFS=:)
4244         test -f "$f" || { { echo "$as_me:4244: error: cannot find input file: $f" >&5
4245echo "$as_me: error: cannot find input file: $f" >&2;}
4246   { (exit 1); exit 1; }; }
4247         echo $f;;
4248      *) # Relative
4249         if test -f "$f"; then
4250           # Build tree
4251           echo $f
4252         elif test -f "$srcdir/$f"; then
4253           # Source tree
4254           echo $srcdir/$f
4255         else
4256           # /dev/null tree
4257           { { echo "$as_me:4257: error: cannot find input file: $f" >&5
4258echo "$as_me: error: cannot find input file: $f" >&2;}
4259   { (exit 1); exit 1; }; }
4260         fi;;
4261      esac
4262    done` || { (exit 1); exit 1; }
4263  # Remove the trailing spaces.
4264  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
4265
4266EOF
4267
4268# Transform confdefs.h into two sed scripts, `conftest.defines' and
4269# `conftest.undefs', that substitutes the proper values into
4270# config.h.in to produce config.h.  The first handles `#define'
4271# templates, and the second `#undef' templates.
4272# And first: Protect against being on the right side of a sed subst in
4273# config.status.  Protect against being in an unquoted here document
4274# in config.status.
4275rm -f conftest.defines conftest.undefs
4276# Using a here document instead of a string reduces the quoting nightmare.
4277# Putting comments in sed scripts is not portable.
4278#
4279# `end' is used to avoid that the second main sed command (meant for
4280# 0-ary CPP macros) applies to n-ary macro definitions.
4281# See the Autoconf documentation for `clear'.
4282cat >confdef2sed.sed <<\EOF
4283s/[\\&,]/\\&/g
4284s,[\\$`],\\&,g
4285t clear
4286: clear
4287s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
4288t end
4289s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4290: end
4291EOF
4292# If some macros were called several times there might be several times
4293# the same #defines, which is useless.  Nevertheless, we may not want to
4294# sort them, since we want the *last* AC-DEFINE to be honored.
4295uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4296sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4297rm -f confdef2sed.sed
4298
4299# This sed command replaces #undef with comments.  This is necessary, for
4300# example, in the case of _POSIX_SOURCE, which is predefined and required
4301# on some systems where configure will not decide to define it.
4302cat >>conftest.undefs <<\EOF
4303s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4304EOF
4305
4306# Break up conftest.defines because some shells have a limit on the size
4307# of here documents, and old seds have small limits too (100 cmds).
4308echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4309echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4310echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4311echo '  :' >>$CONFIG_STATUS
4312rm -f conftest.tail
4313while grep . conftest.defines >/dev/null
4314do
4315  # Write a limited-size here document to $tmp/defines.sed.
4316  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4317  # Speed up: don't consider the non `#define' lines.
4318  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
4319  # Work around the forget-to-reset-the-flag bug.
4320  echo 't clr' >>$CONFIG_STATUS
4321  echo ': clr' >>$CONFIG_STATUS
4322  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4323  echo 'CEOF
4324  sed -f $tmp/defines.sed $tmp/in >$tmp/out
4325  rm -f $tmp/in
4326  mv $tmp/out $tmp/in
4327' >>$CONFIG_STATUS
4328  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4329  rm -f conftest.defines
4330  mv conftest.tail conftest.defines
4331done
4332rm -f conftest.defines
4333echo '  fi # egrep' >>$CONFIG_STATUS
4334echo >>$CONFIG_STATUS
4335
4336# Break up conftest.undefs because some shells have a limit on the size
4337# of here documents, and old seds have small limits too (100 cmds).
4338echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4339rm -f conftest.tail
4340while grep . conftest.undefs >/dev/null
4341do
4342  # Write a limited-size here document to $tmp/undefs.sed.
4343  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4344  # Speed up: don't consider the non `#undef'
4345  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4346  # Work around the forget-to-reset-the-flag bug.
4347  echo 't clr' >>$CONFIG_STATUS
4348  echo ': clr' >>$CONFIG_STATUS
4349  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4350  echo 'CEOF
4351  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4352  rm -f $tmp/in
4353  mv $tmp/out $tmp/in
4354' >>$CONFIG_STATUS
4355  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4356  rm -f conftest.undefs
4357  mv conftest.tail conftest.undefs
4358done
4359rm -f conftest.undefs
4360
4361cat >>$CONFIG_STATUS <<\EOF
4362  # Let's still pretend it is `configure' which instantiates (i.e., don't
4363  # use $as_me), people would be surprised to read:
4364  #    /* config.h.  Generated automatically by config.status.  */
4365  if test x"$ac_file" = x-; then
4366    echo "/* Generated automatically by configure.  */" >$tmp/config.h
4367  else
4368    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
4369  fi
4370  cat $tmp/in >>$tmp/config.h
4371  rm -f $tmp/in
4372  if test x"$ac_file" != x-; then
4373    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4374      { echo "$as_me:4374: $ac_file is unchanged" >&5
4375echo "$as_me: $ac_file is unchanged" >&6;}
4376    else
4377      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4378         X"$ac_file" : 'X\(//\)[^/]' \| \
4379         X"$ac_file" : 'X\(//\)$' \| \
4380         X"$ac_file" : 'X\(/\)' \| \
4381         .     : '\(.\)' 2>/dev/null ||
4382echo X"$ac_file" |
4383    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4384          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4385          /^X\(\/\/\)$/{ s//\1/; q; }
4386          /^X\(\/\).*/{ s//\1/; q; }
4387          s/.*/./; q'`
4388      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4389        { case "$ac_dir" in
4390  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4391  *)                      as_incr_dir=.;;
4392esac
4393as_dummy="$ac_dir"
4394for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4395  case $as_mkdir_dir in
4396    # Skip DOS drivespec
4397    ?:) as_incr_dir=$as_mkdir_dir ;;
4398    *)
4399      as_incr_dir=$as_incr_dir/$as_mkdir_dir
4400      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4401    ;;
4402  esac
4403done; }
4404
4405      fi
4406      rm -f $ac_file
4407      mv $tmp/config.h $ac_file
4408    fi
4409  else
4410    cat $tmp/config.h
4411    rm -f $tmp/config.h
4412  fi
4413  # Run the commands associated with the file.
4414  case $ac_file in
4415    config.h ) # update the timestamp
4416echo 'timestamp for config.h' >"./stamp-h1"
4417 ;;
4418  esac
4419done
4420EOF
4421cat >>$CONFIG_STATUS <<\EOF
4422
4423#
4424# CONFIG_COMMANDS section.
4425#
4426for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4427  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4428  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4429
4430  case $ac_dest in
4431    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4432  # Strip MF so we end up with the name of the file.
4433  mf=`echo "$mf" | sed -e 's/:.*$//'`
4434  # Check whether this is an Automake generated Makefile or not.
4435  # We used to match only the files named `Makefile.in', but
4436  # some people rename them; so instead we look at the file content.
4437  # Grep'ing the first line is not enough: some people post-process
4438  # each Makefile.in and add a new line on top of each file to say so.
4439  # So let's grep whole file.
4440  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4441    dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4442         X"$mf" : 'X\(//\)[^/]' \| \
4443         X"$mf" : 'X\(//\)$' \| \
4444         X"$mf" : 'X\(/\)' \| \
4445         .     : '\(.\)' 2>/dev/null ||
4446echo X"$mf" |
4447    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4448          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4449          /^X\(\/\/\)$/{ s//\1/; q; }
4450          /^X\(\/\).*/{ s//\1/; q; }
4451          s/.*/./; q'`
4452  else
4453    continue
4454  fi
4455  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4456  # Extract the definition of DEP_FILES from the Makefile without
4457  # running `make'.
4458  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4459  test -z "$DEPDIR" && continue
4460  # When using ansi2knr, U may be empty or an underscore; expand it
4461  U=`sed -n -e '/^U = / s///p' < "$mf"`
4462  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4463  # We invoke sed twice because it is the simplest approach to
4464  # changing $(DEPDIR) to its actual value in the expansion.
4465  for file in `sed -n -e '
4466    /^DEP_FILES = .*\\\\$/ {
4467      s/^DEP_FILES = //
4468      :loop
4469        s/\\\\$//
4470        p
4471        n
4472        /\\\\$/ b loop
4473      p
4474    }
4475    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4476       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4477    # Make sure the directory exists.
4478    test -f "$dirpart/$file" && continue
4479    fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4480         X"$file" : 'X\(//\)[^/]' \| \
4481         X"$file" : 'X\(//\)$' \| \
4482         X"$file" : 'X\(/\)' \| \
4483         .     : '\(.\)' 2>/dev/null ||
4484echo X"$file" |
4485    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4486          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4487          /^X\(\/\/\)$/{ s//\1/; q; }
4488          /^X\(\/\).*/{ s//\1/; q; }
4489          s/.*/./; q'`
4490    { case $dirpart/$fdir in
4491  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4492  *)                      as_incr_dir=.;;
4493esac
4494as_dummy=$dirpart/$fdir
4495for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4496  case $as_mkdir_dir in
4497    # Skip DOS drivespec
4498    ?:) as_incr_dir=$as_mkdir_dir ;;
4499    *)
4500      as_incr_dir=$as_incr_dir/$as_mkdir_dir
4501      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4502    ;;
4503  esac
4504done; }
4505
4506    # echo "creating $dirpart/$file"
4507    echo '# dummy' > "$dirpart/$file"
4508  done
4509done
4510 ;;
4511  esac
4512done
4513EOF
4514
4515cat >>$CONFIG_STATUS <<\EOF
4516
4517{ (exit 0); exit 0; }
4518EOF
4519chmod +x $CONFIG_STATUS
4520ac_clean_files=$ac_clean_files_save
4521
4522# configure is writing to config.log, and then calls config.status.
4523# config.status does its own redirection, appending to config.log.
4524# Unfortunately, on DOS this fails, as config.log is still kept open
4525# by configure, so config.status won't be able to write to it; its
4526# output is simply discarded.  So we exec the FD to /dev/null,
4527# effectively closing config.log, so it can be properly (re)opened and
4528# appended to by config.status.  When coming back to configure, we
4529# need to make the FD available again.
4530if test "$no_create" != yes; then
4531  ac_cs_success=:
4532  exec 5>/dev/null
4533  $SHELL $CONFIG_STATUS || ac_cs_success=false
4534  exec 5>>config.log
4535  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4536  # would make configure fail if this is the last instruction.
4537  $ac_cs_success || { (exit 1); exit 1; }
4538fi
4539
4540echo "$as_me:4540: result: The CForAll translator is now configured for your system" >&5
4541echo "${ECHO_T}The CForAll translator is now configured for your system" >&6
4542echo "$as_me:4542: result: " >&5
4543echo "${ECHO_T}" >&6
4544echo "$as_me:4544: result: Perhaps you'd like to inspect the created Makefiles" >&5
4545echo "${ECHO_T}Perhaps you'd like to inspect the created Makefiles" >&6
Note: See TracBrowser for help on using the repository browser.