source: trunk/configure @ 494

Last change on this file since 494 was 494, checked in by dkearney, 13 years ago

updating autoconf's configure script after making changes to configure.in in last checkin

  • Property svn:executable set to *
File size: 154.5 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization.  ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14  emulate sh
15  NULLCMD=:
16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17  # is contrary to our usage.  Disable this feature.
18  alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20  set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26  as_unset=unset
27else
28  as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42  LC_TELEPHONE LC_TIME
43do
44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45    eval $as_var=C; export $as_var
46  else
47    $as_unset $as_var
48  fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53  as_expr=expr
54else
55  as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59  as_basename=basename
60else
61  as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68         X"$0" : 'X\(//\)$' \| \
69         X"$0" : 'X\(/\)$' \| \
70         .     : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73          /^X\/\(\/\/\)$/{ s//\1/; q; }
74          /^X\/\(\/\).*/{ s//\1/; q; }
75          s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88  echo "#! /bin/sh" >conf$$.sh
89  echo  "exit 0"   >>conf$$.sh
90  chmod +x conf$$.sh
91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92    PATH_SEPARATOR=';'
93  else
94    PATH_SEPARATOR=:
95  fi
96  rm -f conf$$.sh
97fi
98
99
100  as_lineno_1=$LINENO
101  as_lineno_2=$LINENO
102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103  test "x$as_lineno_1" != "x$as_lineno_2" &&
104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105  # Find who we are.  Look in the path if we contain no path at all
106  # relative or not.
107  case $0 in
108    *[\\/]* ) as_myself=$0 ;;
109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112  IFS=$as_save_IFS
113  test -z "$as_dir" && as_dir=.
114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117       ;;
118  esac
119  # We did not find ourselves, most probably we were run as `sh COMMAND'
120  # in which case we are not to be found in the path.
121  if test "x$as_myself" = x; then
122    as_myself=$0
123  fi
124  if test ! -f "$as_myself"; then
125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126   { (exit 1); exit 1; }; }
127  fi
128  case $CONFIG_SHELL in
129  '')
130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133  IFS=$as_save_IFS
134  test -z "$as_dir" && as_dir=.
135  for as_base in sh bash ksh sh5; do
136         case $as_dir in
137         /*)
138           if ("$as_dir/$as_base" -c '
139  as_lineno_1=$LINENO
140  as_lineno_2=$LINENO
141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142  test "x$as_lineno_1" != "x$as_lineno_2" &&
143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146             CONFIG_SHELL=$as_dir/$as_base
147             export CONFIG_SHELL
148             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149           fi;;
150         esac
151       done
152done
153;;
154  esac
155
156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157  # uniformly replaced by the line number.  The first 'sed' inserts a
158  # line-number line before each line; the second 'sed' does the real
159  # work.  The second script uses 'N' to pair each line-number line
160  # with the numbered line, and appends trailing '-' during
161  # substitution so that $LINENO is not a special case at line end.
162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164  sed '=' <$as_myself |
165    sed '
166      N
167      s,$,-,
168      : loop
169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170      t loop
171      s,-$,,
172      s,^['$as_cr_digits']*\n,,
173    ' >$as_me.lineno &&
174  chmod +x $as_me.lineno ||
175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176   { (exit 1); exit 1; }; }
177
178  # Don't try to exec as it changes $[0], causing all sort of problems
179  # (the dirname of $[0] is not the place where we might find the
180  # original and so on.  Autoconf is especially sensible to this).
181  . ./$as_me.lineno
182  # Exit status is that of the last command.
183  exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188  *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T='      ' ;;
190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195  as_expr=expr
196else
197  as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203  # We could just check for DJGPP; but this test a) works b) is more generic
204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205  if test -f conf$$.exe; then
206    # Don't use ln at all; we don't have any links
207    as_ln_s='cp -p'
208  else
209    as_ln_s='ln -s'
210  fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212  as_ln_s=ln
213else
214  as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219  as_mkdir_p=:
220else
221  test -d ./-p && rmdir ./-p
222  as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS="   $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete.  It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
274ac_unique_file="src/core/RpLibrary.cc"
275# Factoring default headers for most tests.
276ac_includes_default="\
277#include <stdio.h>
278#if HAVE_SYS_TYPES_H
279# include <sys/types.h>
280#endif
281#if HAVE_SYS_STAT_H
282# include <sys/stat.h>
283#endif
284#if STDC_HEADERS
285# include <stdlib.h>
286# include <stddef.h>
287#else
288# if HAVE_STDLIB_H
289#  include <stdlib.h>
290# endif
291#endif
292#if HAVE_STRING_H
293# if !STDC_HEADERS && HAVE_MEMORY_H
294#  include <memory.h>
295# endif
296# include <string.h>
297#endif
298#if HAVE_STRINGS_H
299# include <strings.h>
300#endif
301#if HAVE_INTTYPES_H
302# include <inttypes.h>
303#else
304# if HAVE_STDINT_H
305#  include <stdint.h>
306# endif
307#endif
308#if HAVE_UNISTD_H
309# include <unistd.h>
310#endif"
311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 VERSION RP_BASE LIBOBJS LTLIBOBJS'
313ac_subst_files=''
314
315# Initialize some variables set by options.
316ac_init_help=
317ac_init_version=false
318# The variables have the same names as the options, with
319# dashes changed to underlines.
320cache_file=/dev/null
321exec_prefix=NONE
322no_create=
323no_recursion=
324prefix=NONE
325program_prefix=NONE
326program_suffix=NONE
327program_transform_name=s,x,x,
328silent=
329site=
330srcdir=
331verbose=
332x_includes=NONE
333x_libraries=NONE
334
335# Installation directory options.
336# These are left unexpanded so users can "make install exec_prefix=/foo"
337# and all the variables that are supposed to be based on exec_prefix
338# by default will actually change.
339# Use braces instead of parens because sh, perl, etc. also accept them.
340bindir='${exec_prefix}/bin'
341sbindir='${exec_prefix}/sbin'
342libexecdir='${exec_prefix}/libexec'
343datadir='${prefix}/share'
344sysconfdir='${prefix}/etc'
345sharedstatedir='${prefix}/com'
346localstatedir='${prefix}/var'
347libdir='${exec_prefix}/lib'
348includedir='${prefix}/include'
349oldincludedir='/usr/include'
350infodir='${prefix}/info'
351mandir='${prefix}/man'
352
353ac_prev=
354for ac_option
355do
356  # If the previous option needs an argument, assign it.
357  if test -n "$ac_prev"; then
358    eval "$ac_prev=\$ac_option"
359    ac_prev=
360    continue
361  fi
362
363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365  # Accept the important Cygnus configure options, so we can diagnose typos.
366
367  case $ac_option in
368
369  -bindir | --bindir | --bindi | --bind | --bin | --bi)
370    ac_prev=bindir ;;
371  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372    bindir=$ac_optarg ;;
373
374  -build | --build | --buil | --bui | --bu)
375    ac_prev=build_alias ;;
376  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377    build_alias=$ac_optarg ;;
378
379  -cache-file | --cache-file | --cache-fil | --cache-fi \
380  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381    ac_prev=cache_file ;;
382  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384    cache_file=$ac_optarg ;;
385
386  --config-cache | -C)
387    cache_file=config.cache ;;
388
389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390    ac_prev=datadir ;;
391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392  | --da=*)
393    datadir=$ac_optarg ;;
394
395  -disable-* | --disable-*)
396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397    # Reject names that are not valid shell variable names.
398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400   { (exit 1); exit 1; }; }
401    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402    eval "enable_$ac_feature=no" ;;
403
404  -enable-* | --enable-*)
405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406    # Reject names that are not valid shell variable names.
407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409   { (exit 1); exit 1; }; }
410    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411    case $ac_option in
412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413      *) ac_optarg=yes ;;
414    esac
415    eval "enable_$ac_feature='$ac_optarg'" ;;
416
417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419  | --exec | --exe | --ex)
420    ac_prev=exec_prefix ;;
421  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423  | --exec=* | --exe=* | --ex=*)
424    exec_prefix=$ac_optarg ;;
425
426  -gas | --gas | --ga | --g)
427    # Obsolete; use --with-gas.
428    with_gas=yes ;;
429
430  -help | --help | --hel | --he | -h)
431    ac_init_help=long ;;
432  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433    ac_init_help=recursive ;;
434  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435    ac_init_help=short ;;
436
437  -host | --host | --hos | --ho)
438    ac_prev=host_alias ;;
439  -host=* | --host=* | --hos=* | --ho=*)
440    host_alias=$ac_optarg ;;
441
442  -includedir | --includedir | --includedi | --included | --include \
443  | --includ | --inclu | --incl | --inc)
444    ac_prev=includedir ;;
445  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446  | --includ=* | --inclu=* | --incl=* | --inc=*)
447    includedir=$ac_optarg ;;
448
449  -infodir | --infodir | --infodi | --infod | --info | --inf)
450    ac_prev=infodir ;;
451  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452    infodir=$ac_optarg ;;
453
454  -libdir | --libdir | --libdi | --libd)
455    ac_prev=libdir ;;
456  -libdir=* | --libdir=* | --libdi=* | --libd=*)
457    libdir=$ac_optarg ;;
458
459  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460  | --libexe | --libex | --libe)
461    ac_prev=libexecdir ;;
462  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463  | --libexe=* | --libex=* | --libe=*)
464    libexecdir=$ac_optarg ;;
465
466  -localstatedir | --localstatedir | --localstatedi | --localstated \
467  | --localstate | --localstat | --localsta | --localst \
468  | --locals | --local | --loca | --loc | --lo)
469    ac_prev=localstatedir ;;
470  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473    localstatedir=$ac_optarg ;;
474
475  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476    ac_prev=mandir ;;
477  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478    mandir=$ac_optarg ;;
479
480  -nfp | --nfp | --nf)
481    # Obsolete; use --without-fp.
482    with_fp=no ;;
483
484  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485  | --no-cr | --no-c | -n)
486    no_create=yes ;;
487
488  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490    no_recursion=yes ;;
491
492  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494  | --oldin | --oldi | --old | --ol | --o)
495    ac_prev=oldincludedir ;;
496  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499    oldincludedir=$ac_optarg ;;
500
501  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502    ac_prev=prefix ;;
503  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504    prefix=$ac_optarg ;;
505
506  -program-prefix | --program-prefix | --program-prefi | --program-pref \
507  | --program-pre | --program-pr | --program-p)
508    ac_prev=program_prefix ;;
509  -program-prefix=* | --program-prefix=* | --program-prefi=* \
510  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511    program_prefix=$ac_optarg ;;
512
513  -program-suffix | --program-suffix | --program-suffi | --program-suff \
514  | --program-suf | --program-su | --program-s)
515    ac_prev=program_suffix ;;
516  -program-suffix=* | --program-suffix=* | --program-suffi=* \
517  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518    program_suffix=$ac_optarg ;;
519
520  -program-transform-name | --program-transform-name \
521  | --program-transform-nam | --program-transform-na \
522  | --program-transform-n | --program-transform- \
523  | --program-transform | --program-transfor \
524  | --program-transfo | --program-transf \
525  | --program-trans | --program-tran \
526  | --progr-tra | --program-tr | --program-t)
527    ac_prev=program_transform_name ;;
528  -program-transform-name=* | --program-transform-name=* \
529  | --program-transform-nam=* | --program-transform-na=* \
530  | --program-transform-n=* | --program-transform-=* \
531  | --program-transform=* | --program-transfor=* \
532  | --program-transfo=* | --program-transf=* \
533  | --program-trans=* | --program-tran=* \
534  | --progr-tra=* | --program-tr=* | --program-t=*)
535    program_transform_name=$ac_optarg ;;
536
537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538  | -silent | --silent | --silen | --sile | --sil)
539    silent=yes ;;
540
541  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542    ac_prev=sbindir ;;
543  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544  | --sbi=* | --sb=*)
545    sbindir=$ac_optarg ;;
546
547  -sharedstatedir | --sharedstatedir | --sharedstatedi \
548  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549  | --sharedst | --shareds | --shared | --share | --shar \
550  | --sha | --sh)
551    ac_prev=sharedstatedir ;;
552  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555  | --sha=* | --sh=*)
556    sharedstatedir=$ac_optarg ;;
557
558  -site | --site | --sit)
559    ac_prev=site ;;
560  -site=* | --site=* | --sit=*)
561    site=$ac_optarg ;;
562
563  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564    ac_prev=srcdir ;;
565  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566    srcdir=$ac_optarg ;;
567
568  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569  | --syscon | --sysco | --sysc | --sys | --sy)
570    ac_prev=sysconfdir ;;
571  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573    sysconfdir=$ac_optarg ;;
574
575  -target | --target | --targe | --targ | --tar | --ta | --t)
576    ac_prev=target_alias ;;
577  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578    target_alias=$ac_optarg ;;
579
580  -v | -verbose | --verbose | --verbos | --verbo | --verb)
581    verbose=yes ;;
582
583  -version | --version | --versio | --versi | --vers | -V)
584    ac_init_version=: ;;
585
586  -with-* | --with-*)
587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588    # Reject names that are not valid shell variable names.
589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590      { echo "$as_me: error: invalid package name: $ac_package" >&2
591   { (exit 1); exit 1; }; }
592    ac_package=`echo $ac_package| sed 's/-/_/g'`
593    case $ac_option in
594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595      *) ac_optarg=yes ;;
596    esac
597    eval "with_$ac_package='$ac_optarg'" ;;
598
599  -without-* | --without-*)
600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601    # Reject names that are not valid shell variable names.
602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603      { echo "$as_me: error: invalid package name: $ac_package" >&2
604   { (exit 1); exit 1; }; }
605    ac_package=`echo $ac_package | sed 's/-/_/g'`
606    eval "with_$ac_package=no" ;;
607
608  --x)
609    # Obsolete; use --with-x.
610    with_x=yes ;;
611
612  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613  | --x-incl | --x-inc | --x-in | --x-i)
614    ac_prev=x_includes ;;
615  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617    x_includes=$ac_optarg ;;
618
619  -x-libraries | --x-libraries | --x-librarie | --x-librari \
620  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621    ac_prev=x_libraries ;;
622  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624    x_libraries=$ac_optarg ;;
625
626  -*) { echo "$as_me: error: unrecognized option: $ac_option
627Try \`$0 --help' for more information." >&2
628   { (exit 1); exit 1; }; }
629    ;;
630
631  *=*)
632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633    # Reject names that are not valid shell variable names.
634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636   { (exit 1); exit 1; }; }
637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638    eval "$ac_envvar='$ac_optarg'"
639    export $ac_envvar ;;
640
641  *)
642    # FIXME: should be removed in autoconf 3.0.
643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647    ;;
648
649  esac
650done
651
652if test -n "$ac_prev"; then
653  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654  { echo "$as_me: error: missing argument to $ac_option" >&2
655   { (exit 1); exit 1; }; }
656fi
657
658# Be sure to have absolute paths.
659for ac_var in exec_prefix prefix
660do
661  eval ac_val=$`echo $ac_var`
662  case $ac_val in
663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665   { (exit 1); exit 1; }; };;
666  esac
667done
668
669# Be sure to have absolute paths.
670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671              localstatedir libdir includedir oldincludedir infodir mandir
672do
673  eval ac_val=$`echo $ac_var`
674  case $ac_val in
675    [\\/$]* | ?:[\\/]* ) ;;
676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677   { (exit 1); exit 1; }; };;
678  esac
679done
680
681# There might be people who depend on the old broken behavior: `$host'
682# used to hold the argument of --host etc.
683# FIXME: To remove some day.
684build=$build_alias
685host=$host_alias
686target=$target_alias
687
688# FIXME: To remove some day.
689if test "x$host_alias" != x; then
690  if test "x$build_alias" = x; then
691    cross_compiling=maybe
692    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693    If a cross compiler is detected then cross compile mode will be used." >&2
694  elif test "x$build_alias" != "x$host_alias"; then
695    cross_compiling=yes
696  fi
697fi
698
699ac_tool_prefix=
700test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702test "$silent" = yes && exec 6>/dev/null
703
704
705# Find the source files, if location was not specified.
706if test -z "$srcdir"; then
707  ac_srcdir_defaulted=yes
708  # Try the directory containing this script, then its parent.
709  ac_confdir=`(dirname "$0") 2>/dev/null ||
710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711         X"$0" : 'X\(//\)[^/]' \| \
712         X"$0" : 'X\(//\)$' \| \
713         X"$0" : 'X\(/\)' \| \
714         .     : '\(.\)' 2>/dev/null ||
715echo X"$0" |
716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718          /^X\(\/\/\)$/{ s//\1/; q; }
719          /^X\(\/\).*/{ s//\1/; q; }
720          s/.*/./; q'`
721  srcdir=$ac_confdir
722  if test ! -r $srcdir/$ac_unique_file; then
723    srcdir=..
724  fi
725else
726  ac_srcdir_defaulted=no
727fi
728if test ! -r $srcdir/$ac_unique_file; then
729  if test "$ac_srcdir_defaulted" = yes; then
730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731   { (exit 1); exit 1; }; }
732  else
733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734   { (exit 1); exit 1; }; }
735  fi
736fi
737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739   { (exit 1); exit 1; }; }
740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741ac_env_build_alias_set=${build_alias+set}
742ac_env_build_alias_value=$build_alias
743ac_cv_env_build_alias_set=${build_alias+set}
744ac_cv_env_build_alias_value=$build_alias
745ac_env_host_alias_set=${host_alias+set}
746ac_env_host_alias_value=$host_alias
747ac_cv_env_host_alias_set=${host_alias+set}
748ac_cv_env_host_alias_value=$host_alias
749ac_env_target_alias_set=${target_alias+set}
750ac_env_target_alias_value=$target_alias
751ac_cv_env_target_alias_set=${target_alias+set}
752ac_cv_env_target_alias_value=$target_alias
753ac_env_CC_set=${CC+set}
754ac_env_CC_value=$CC
755ac_cv_env_CC_set=${CC+set}
756ac_cv_env_CC_value=$CC
757ac_env_CFLAGS_set=${CFLAGS+set}
758ac_env_CFLAGS_value=$CFLAGS
759ac_cv_env_CFLAGS_set=${CFLAGS+set}
760ac_cv_env_CFLAGS_value=$CFLAGS
761ac_env_LDFLAGS_set=${LDFLAGS+set}
762ac_env_LDFLAGS_value=$LDFLAGS
763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764ac_cv_env_LDFLAGS_value=$LDFLAGS
765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766ac_env_CPPFLAGS_value=$CPPFLAGS
767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769ac_env_CPP_set=${CPP+set}
770ac_env_CPP_value=$CPP
771ac_cv_env_CPP_set=${CPP+set}
772ac_cv_env_CPP_value=$CPP
773ac_env_CXX_set=${CXX+set}
774ac_env_CXX_value=$CXX
775ac_cv_env_CXX_set=${CXX+set}
776ac_cv_env_CXX_value=$CXX
777ac_env_CXXFLAGS_set=${CXXFLAGS+set}
778ac_env_CXXFLAGS_value=$CXXFLAGS
779ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
780ac_cv_env_CXXFLAGS_value=$CXXFLAGS
781ac_env_CXXCPP_set=${CXXCPP+set}
782ac_env_CXXCPP_value=$CXXCPP
783ac_cv_env_CXXCPP_set=${CXXCPP+set}
784ac_cv_env_CXXCPP_value=$CXXCPP
785ac_env_F77_set=${F77+set}
786ac_env_F77_value=$F77
787ac_cv_env_F77_set=${F77+set}
788ac_cv_env_F77_value=$F77
789ac_env_FFLAGS_set=${FFLAGS+set}
790ac_env_FFLAGS_value=$FFLAGS
791ac_cv_env_FFLAGS_set=${FFLAGS+set}
792ac_cv_env_FFLAGS_value=$FFLAGS
793
794#
795# Report the --help message.
796#
797if test "$ac_init_help" = "long"; then
798  # Omit some internal or obsolete options to make the list less imposing.
799  # This message is too long to be a string in the A/UX 3.1 sh.
800  cat <<_ACEOF
801\`configure' configures this package to adapt to many kinds of systems.
802
803Usage: $0 [OPTION]... [VAR=VALUE]...
804
805To assign environment variables (e.g., CC, CFLAGS...), specify them as
806VAR=VALUE.  See below for descriptions of some of the useful variables.
807
808Defaults for the options are specified in brackets.
809
810Configuration:
811  -h, --help              display this help and exit
812      --help=short        display options specific to this package
813      --help=recursive    display the short help of all the included packages
814  -V, --version           display version information and exit
815  -q, --quiet, --silent   do not print \`checking...' messages
816      --cache-file=FILE   cache test results in FILE [disabled]
817  -C, --config-cache      alias for \`--cache-file=config.cache'
818  -n, --no-create         do not create output files
819      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
820
821_ACEOF
822
823  cat <<_ACEOF
824Installation directories:
825  --prefix=PREFIX         install architecture-independent files in PREFIX
826                          [$ac_default_prefix]
827  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
828                          [PREFIX]
829
830By default, \`make install' will install all the files in
831\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
832an installation prefix other than \`$ac_default_prefix' using \`--prefix',
833for instance \`--prefix=\$HOME'.
834
835For better control, use the options below.
836
837Fine tuning of the installation directories:
838  --bindir=DIR           user executables [EPREFIX/bin]
839  --sbindir=DIR          system admin executables [EPREFIX/sbin]
840  --libexecdir=DIR       program executables [EPREFIX/libexec]
841  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
842  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
843  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
844  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
845  --libdir=DIR           object code libraries [EPREFIX/lib]
846  --includedir=DIR       C header files [PREFIX/include]
847  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
848  --infodir=DIR          info documentation [PREFIX/info]
849  --mandir=DIR           man documentation [PREFIX/man]
850_ACEOF
851
852  cat <<\_ACEOF
853_ACEOF
854fi
855
856if test -n "$ac_init_help"; then
857
858  cat <<\_ACEOF
859
860Some influential environment variables:
861  CC          C compiler command
862  CFLAGS      C compiler flags
863  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
864              nonstandard directory <lib dir>
865  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
866              headers in a nonstandard directory <include dir>
867  CPP         C preprocessor
868  CXX         C++ compiler command
869  CXXFLAGS    C++ compiler flags
870  CXXCPP      C++ preprocessor
871  F77         Fortran 77 compiler command
872  FFLAGS      Fortran 77 compiler flags
873
874Use these variables to override the choices made by `configure' or to help
875it to find libraries and programs with nonstandard names/locations.
876
877_ACEOF
878fi
879
880if test "$ac_init_help" = "recursive"; then
881  # If there are subdirs, report their specific --help.
882  ac_popdir=`pwd`
883  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884    test -d $ac_dir || continue
885    ac_builddir=.
886
887if test "$ac_dir" != .; then
888  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889  # A "../" for each directory in $ac_dir_suffix.
890  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891else
892  ac_dir_suffix= ac_top_builddir=
893fi
894
895case $srcdir in
896  .)  # No --srcdir option.  We are building in place.
897    ac_srcdir=.
898    if test -z "$ac_top_builddir"; then
899       ac_top_srcdir=.
900    else
901       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
902    fi ;;
903  [\\/]* | ?:[\\/]* )  # Absolute path.
904    ac_srcdir=$srcdir$ac_dir_suffix;
905    ac_top_srcdir=$srcdir ;;
906  *) # Relative path.
907    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908    ac_top_srcdir=$ac_top_builddir$srcdir ;;
909esac
910
911# Do not use `cd foo && pwd` to compute absolute paths, because
912# the directories may not exist.
913case `pwd` in
914.) ac_abs_builddir="$ac_dir";;
915*)
916  case "$ac_dir" in
917  .) ac_abs_builddir=`pwd`;;
918  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
919  *) ac_abs_builddir=`pwd`/"$ac_dir";;
920  esac;;
921esac
922case $ac_abs_builddir in
923.) ac_abs_top_builddir=${ac_top_builddir}.;;
924*)
925  case ${ac_top_builddir}. in
926  .) ac_abs_top_builddir=$ac_abs_builddir;;
927  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
928  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
929  esac;;
930esac
931case $ac_abs_builddir in
932.) ac_abs_srcdir=$ac_srcdir;;
933*)
934  case $ac_srcdir in
935  .) ac_abs_srcdir=$ac_abs_builddir;;
936  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
937  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
938  esac;;
939esac
940case $ac_abs_builddir in
941.) ac_abs_top_srcdir=$ac_top_srcdir;;
942*)
943  case $ac_top_srcdir in
944  .) ac_abs_top_srcdir=$ac_abs_builddir;;
945  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
946  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947  esac;;
948esac
949
950    cd $ac_dir
951    # Check for guested configure; otherwise get Cygnus style configure.
952    if test -f $ac_srcdir/configure.gnu; then
953      echo
954      $SHELL $ac_srcdir/configure.gnu  --help=recursive
955    elif test -f $ac_srcdir/configure; then
956      echo
957      $SHELL $ac_srcdir/configure  --help=recursive
958    elif test -f $ac_srcdir/configure.ac ||
959           test -f $ac_srcdir/configure.in; then
960      echo
961      $ac_configure --help
962    else
963      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964    fi
965    cd "$ac_popdir"
966  done
967fi
968
969test -n "$ac_init_help" && exit 0
970if $ac_init_version; then
971  cat <<\_ACEOF
972
973Copyright (C) 2003 Free Software Foundation, Inc.
974This configure script is free software; the Free Software Foundation
975gives unlimited permission to copy, distribute and modify it.
976_ACEOF
977  exit 0
978fi
979exec 5>config.log
980cat >&5 <<_ACEOF
981This file contains any messages produced by compilers while
982running configure, to aid debugging if configure makes a mistake.
983
984It was created by $as_me, which was
985generated by GNU Autoconf 2.59.  Invocation command line was
986
987  $ $0 $@
988
989_ACEOF
990{
991cat <<_ASUNAME
992## --------- ##
993## Platform. ##
994## --------- ##
995
996hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
997uname -m = `(uname -m) 2>/dev/null || echo unknown`
998uname -r = `(uname -r) 2>/dev/null || echo unknown`
999uname -s = `(uname -s) 2>/dev/null || echo unknown`
1000uname -v = `(uname -v) 2>/dev/null || echo unknown`
1001
1002/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1003/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1004
1005/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1006/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1007/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1008hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1009/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1010/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1011/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1012
1013_ASUNAME
1014
1015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016for as_dir in $PATH
1017do
1018  IFS=$as_save_IFS
1019  test -z "$as_dir" && as_dir=.
1020  echo "PATH: $as_dir"
1021done
1022
1023} >&5
1024
1025cat >&5 <<_ACEOF
1026
1027
1028## ----------- ##
1029## Core tests. ##
1030## ----------- ##
1031
1032_ACEOF
1033
1034
1035# Keep a trace of the command line.
1036# Strip out --no-create and --no-recursion so they do not pile up.
1037# Strip out --silent because we don't want to record it for future runs.
1038# Also quote any args containing shell meta-characters.
1039# Make two passes to allow for proper duplicate-argument suppression.
1040ac_configure_args=
1041ac_configure_args0=
1042ac_configure_args1=
1043ac_sep=
1044ac_must_keep_next=false
1045for ac_pass in 1 2
1046do
1047  for ac_arg
1048  do
1049    case $ac_arg in
1050    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1051    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052    | -silent | --silent | --silen | --sile | --sil)
1053      continue ;;
1054    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1055      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1056    esac
1057    case $ac_pass in
1058    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1059    2)
1060      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1061      if test $ac_must_keep_next = true; then
1062        ac_must_keep_next=false # Got value, back to normal.
1063      else
1064        case $ac_arg in
1065          *=* | --config-cache | -C | -disable-* | --disable-* \
1066          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1067          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1068          | -with-* | --with-* | -without-* | --without-* | --x)
1069            case "$ac_configure_args0 " in
1070              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071            esac
1072            ;;
1073          -* ) ac_must_keep_next=true ;;
1074        esac
1075      fi
1076      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077      # Get rid of the leading space.
1078      ac_sep=" "
1079      ;;
1080    esac
1081  done
1082done
1083$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1084$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1085
1086# When interrupted or exit'd, cleanup temporary files, and complete
1087# config.log.  We remove comments because anyway the quotes in there
1088# would cause problems or look ugly.
1089# WARNING: Be sure not to use single quotes in there, as some shells,
1090# such as our DU 5.0 friend, will then `close' the trap.
1091trap 'exit_status=$?
1092  # Save into config.log some information that might help in debugging.
1093  {
1094    echo
1095
1096    cat <<\_ASBOX
1097## ---------------- ##
1098## Cache variables. ##
1099## ---------------- ##
1100_ASBOX
1101    echo
1102    # The following way of writing the cache mishandles newlines in values,
1103{
1104  (set) 2>&1 |
1105    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106    *ac_space=\ *)
1107      sed -n \
1108        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1109          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110      ;;
1111    *)
1112      sed -n \
1113        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1114      ;;
1115    esac;
1116}
1117    echo
1118
1119    cat <<\_ASBOX
1120## ----------------- ##
1121## Output variables. ##
1122## ----------------- ##
1123_ASBOX
1124    echo
1125    for ac_var in $ac_subst_vars
1126    do
1127      eval ac_val=$`echo $ac_var`
1128      echo "$ac_var='"'"'$ac_val'"'"'"
1129    done | sort
1130    echo
1131
1132    if test -n "$ac_subst_files"; then
1133      cat <<\_ASBOX
1134## ------------- ##
1135## Output files. ##
1136## ------------- ##
1137_ASBOX
1138      echo
1139      for ac_var in $ac_subst_files
1140      do
1141        eval ac_val=$`echo $ac_var`
1142        echo "$ac_var='"'"'$ac_val'"'"'"
1143      done | sort
1144      echo
1145    fi
1146
1147    if test -s confdefs.h; then
1148      cat <<\_ASBOX
1149## ----------- ##
1150## confdefs.h. ##
1151## ----------- ##
1152_ASBOX
1153      echo
1154      sed "/^$/d" confdefs.h | sort
1155      echo
1156    fi
1157    test "$ac_signal" != 0 &&
1158      echo "$as_me: caught signal $ac_signal"
1159    echo "$as_me: exit $exit_status"
1160  } >&5
1161  rm -f core *.core &&
1162  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1163    exit $exit_status
1164     ' 0
1165for ac_signal in 1 2 13 15; do
1166  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167done
1168ac_signal=0
1169
1170# confdefs.h avoids OS command line length limits that DEFS can exceed.
1171rm -rf conftest* confdefs.h
1172# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173echo >confdefs.h
1174
1175# Predefined preprocessor variables.
1176
1177cat >>confdefs.h <<_ACEOF
1178#define PACKAGE_NAME "$PACKAGE_NAME"
1179_ACEOF
1180
1181
1182cat >>confdefs.h <<_ACEOF
1183#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184_ACEOF
1185
1186
1187cat >>confdefs.h <<_ACEOF
1188#define PACKAGE_VERSION "$PACKAGE_VERSION"
1189_ACEOF
1190
1191
1192cat >>confdefs.h <<_ACEOF
1193#define PACKAGE_STRING "$PACKAGE_STRING"
1194_ACEOF
1195
1196
1197cat >>confdefs.h <<_ACEOF
1198#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199_ACEOF
1200
1201
1202# Let the site file select an alternate cache file if it wants to.
1203# Prefer explicitly selected file to automatically selected ones.
1204if test -z "$CONFIG_SITE"; then
1205  if test "x$prefix" != xNONE; then
1206    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1207  else
1208    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209  fi
1210fi
1211for ac_site_file in $CONFIG_SITE; do
1212  if test -r "$ac_site_file"; then
1213    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1214echo "$as_me: loading site script $ac_site_file" >&6;}
1215    sed 's/^/| /' "$ac_site_file" >&5
1216    . "$ac_site_file"
1217  fi
1218done
1219
1220if test -r "$cache_file"; then
1221  # Some versions of bash will fail to source /dev/null (special
1222  # files actually), so we avoid doing that.
1223  if test -f "$cache_file"; then
1224    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1225echo "$as_me: loading cache $cache_file" >&6;}
1226    case $cache_file in
1227      [\\/]* | ?:[\\/]* ) . $cache_file;;
1228      *)                      . ./$cache_file;;
1229    esac
1230  fi
1231else
1232  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1233echo "$as_me: creating cache $cache_file" >&6;}
1234  >$cache_file
1235fi
1236
1237# Check that the precious variables saved in the cache have kept the same
1238# value.
1239ac_cache_corrupted=false
1240for ac_var in `(set) 2>&1 |
1241               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1242  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1243  eval ac_new_set=\$ac_env_${ac_var}_set
1244  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1245  eval ac_new_val="\$ac_env_${ac_var}_value"
1246  case $ac_old_set,$ac_new_set in
1247    set,)
1248      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250      ac_cache_corrupted=: ;;
1251    ,set)
1252      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1253echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1254      ac_cache_corrupted=: ;;
1255    ,);;
1256    *)
1257      if test "x$ac_old_val" != "x$ac_new_val"; then
1258        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1259echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1260        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1261echo "$as_me:   former value:  $ac_old_val" >&2;}
1262        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1263echo "$as_me:   current value: $ac_new_val" >&2;}
1264        ac_cache_corrupted=:
1265      fi;;
1266  esac
1267  # Pass precious variables to config.status.
1268  if test "$ac_new_set" = set; then
1269    case $ac_new_val in
1270    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1272    *) ac_arg=$ac_var=$ac_new_val ;;
1273    esac
1274    case " $ac_configure_args " in
1275      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1276      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277    esac
1278  fi
1279done
1280if $ac_cache_corrupted; then
1281  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1282echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1283  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1284echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285   { (exit 1); exit 1; }; }
1286fi
1287
1288ac_ext=c
1289ac_cpp='$CPP $CPPFLAGS'
1290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292ac_compiler_gnu=$ac_cv_c_compiler_gnu
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313VERSION=0.0.1
1314
1315#------------------------------------------------------------------------
1316# Handle the --prefix=... option
1317#------------------------------------------------------------------------
1318
1319if test "${prefix}" = "NONE"; then
1320    prefix=/usr/local
1321fi
1322if test "${exec_prefix}" = "NONE"; then
1323    exec_prefix=$prefix
1324fi
1325
1326# AC_PROG_INSTALL
1327echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1328echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1329set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1330if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1331  echo $ECHO_N "(cached) $ECHO_C" >&6
1332else
1333  cat >conftest.make <<\_ACEOF
1334all:
1335        @echo 'ac_maketemp="$(MAKE)"'
1336_ACEOF
1337# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1338eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1339if test -n "$ac_maketemp"; then
1340  eval ac_cv_prog_make_${ac_make}_set=yes
1341else
1342  eval ac_cv_prog_make_${ac_make}_set=no
1343fi
1344rm -f conftest.make
1345fi
1346if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1347  echo "$as_me:$LINENO: result: yes" >&5
1348echo "${ECHO_T}yes" >&6
1349  SET_MAKE=
1350else
1351  echo "$as_me:$LINENO: result: no" >&5
1352echo "${ECHO_T}no" >&6
1353  SET_MAKE="MAKE=${MAKE-make}"
1354fi
1355
1356
1357ac_ext=c
1358ac_cpp='$CPP $CPPFLAGS'
1359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1361ac_compiler_gnu=$ac_cv_c_compiler_gnu
1362if test -n "$ac_tool_prefix"; then
1363  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1364set dummy ${ac_tool_prefix}gcc; ac_word=$2
1365echo "$as_me:$LINENO: checking for $ac_word" >&5
1366echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1367if test "${ac_cv_prog_CC+set}" = set; then
1368  echo $ECHO_N "(cached) $ECHO_C" >&6
1369else
1370  if test -n "$CC"; then
1371  ac_cv_prog_CC="$CC" # Let the user override the test.
1372else
1373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374for as_dir in $PATH
1375do
1376  IFS=$as_save_IFS
1377  test -z "$as_dir" && as_dir=.
1378  for ac_exec_ext in '' $ac_executable_extensions; do
1379  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1380    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1381    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1382    break 2
1383  fi
1384done
1385done
1386
1387fi
1388fi
1389CC=$ac_cv_prog_CC
1390if test -n "$CC"; then
1391  echo "$as_me:$LINENO: result: $CC" >&5
1392echo "${ECHO_T}$CC" >&6
1393else
1394  echo "$as_me:$LINENO: result: no" >&5
1395echo "${ECHO_T}no" >&6
1396fi
1397
1398fi
1399if test -z "$ac_cv_prog_CC"; then
1400  ac_ct_CC=$CC
1401  # Extract the first word of "gcc", so it can be a program name with args.
1402set dummy gcc; ac_word=$2
1403echo "$as_me:$LINENO: checking for $ac_word" >&5
1404echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1405if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1406  echo $ECHO_N "(cached) $ECHO_C" >&6
1407else
1408  if test -n "$ac_ct_CC"; then
1409  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1410else
1411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1412for as_dir in $PATH
1413do
1414  IFS=$as_save_IFS
1415  test -z "$as_dir" && as_dir=.
1416  for ac_exec_ext in '' $ac_executable_extensions; do
1417  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1418    ac_cv_prog_ac_ct_CC="gcc"
1419    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1420    break 2
1421  fi
1422done
1423done
1424
1425fi
1426fi
1427ac_ct_CC=$ac_cv_prog_ac_ct_CC
1428if test -n "$ac_ct_CC"; then
1429  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1430echo "${ECHO_T}$ac_ct_CC" >&6
1431else
1432  echo "$as_me:$LINENO: result: no" >&5
1433echo "${ECHO_T}no" >&6
1434fi
1435
1436  CC=$ac_ct_CC
1437else
1438  CC="$ac_cv_prog_CC"
1439fi
1440
1441if test -z "$CC"; then
1442  if test -n "$ac_tool_prefix"; then
1443  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1444set dummy ${ac_tool_prefix}cc; ac_word=$2
1445echo "$as_me:$LINENO: checking for $ac_word" >&5
1446echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1447if test "${ac_cv_prog_CC+set}" = set; then
1448  echo $ECHO_N "(cached) $ECHO_C" >&6
1449else
1450  if test -n "$CC"; then
1451  ac_cv_prog_CC="$CC" # Let the user override the test.
1452else
1453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454for as_dir in $PATH
1455do
1456  IFS=$as_save_IFS
1457  test -z "$as_dir" && as_dir=.
1458  for ac_exec_ext in '' $ac_executable_extensions; do
1459  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1460    ac_cv_prog_CC="${ac_tool_prefix}cc"
1461    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1462    break 2
1463  fi
1464done
1465done
1466
1467fi
1468fi
1469CC=$ac_cv_prog_CC
1470if test -n "$CC"; then
1471  echo "$as_me:$LINENO: result: $CC" >&5
1472echo "${ECHO_T}$CC" >&6
1473else
1474  echo "$as_me:$LINENO: result: no" >&5
1475echo "${ECHO_T}no" >&6
1476fi
1477
1478fi
1479if test -z "$ac_cv_prog_CC"; then
1480  ac_ct_CC=$CC
1481  # Extract the first word of "cc", so it can be a program name with args.
1482set dummy cc; ac_word=$2
1483echo "$as_me:$LINENO: checking for $ac_word" >&5
1484echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1485if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1486  echo $ECHO_N "(cached) $ECHO_C" >&6
1487else
1488  if test -n "$ac_ct_CC"; then
1489  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1490else
1491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492for as_dir in $PATH
1493do
1494  IFS=$as_save_IFS
1495  test -z "$as_dir" && as_dir=.
1496  for ac_exec_ext in '' $ac_executable_extensions; do
1497  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1498    ac_cv_prog_ac_ct_CC="cc"
1499    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500    break 2
1501  fi
1502done
1503done
1504
1505fi
1506fi
1507ac_ct_CC=$ac_cv_prog_ac_ct_CC
1508if test -n "$ac_ct_CC"; then
1509  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1510echo "${ECHO_T}$ac_ct_CC" >&6
1511else
1512  echo "$as_me:$LINENO: result: no" >&5
1513echo "${ECHO_T}no" >&6
1514fi
1515
1516  CC=$ac_ct_CC
1517else
1518  CC="$ac_cv_prog_CC"
1519fi
1520
1521fi
1522if test -z "$CC"; then
1523  # Extract the first word of "cc", so it can be a program name with args.
1524set dummy cc; ac_word=$2
1525echo "$as_me:$LINENO: checking for $ac_word" >&5
1526echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1527if test "${ac_cv_prog_CC+set}" = set; then
1528  echo $ECHO_N "(cached) $ECHO_C" >&6
1529else
1530  if test -n "$CC"; then
1531  ac_cv_prog_CC="$CC" # Let the user override the test.
1532else
1533  ac_prog_rejected=no
1534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535for as_dir in $PATH
1536do
1537  IFS=$as_save_IFS
1538  test -z "$as_dir" && as_dir=.
1539  for ac_exec_ext in '' $ac_executable_extensions; do
1540  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1541    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1542       ac_prog_rejected=yes
1543       continue
1544     fi
1545    ac_cv_prog_CC="cc"
1546    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547    break 2
1548  fi
1549done
1550done
1551
1552if test $ac_prog_rejected = yes; then
1553  # We found a bogon in the path, so make sure we never use it.
1554  set dummy $ac_cv_prog_CC
1555  shift
1556  if test $# != 0; then
1557    # We chose a different compiler from the bogus one.
1558    # However, it has the same basename, so the bogon will be chosen
1559    # first if we set CC to just the basename; use the full file name.
1560    shift
1561    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1562  fi
1563fi
1564fi
1565fi
1566CC=$ac_cv_prog_CC
1567if test -n "$CC"; then
1568  echo "$as_me:$LINENO: result: $CC" >&5
1569echo "${ECHO_T}$CC" >&6
1570else
1571  echo "$as_me:$LINENO: result: no" >&5
1572echo "${ECHO_T}no" >&6
1573fi
1574
1575fi
1576if test -z "$CC"; then
1577  if test -n "$ac_tool_prefix"; then
1578  for ac_prog in cl
1579  do
1580    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1581set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1582echo "$as_me:$LINENO: checking for $ac_word" >&5
1583echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1584if test "${ac_cv_prog_CC+set}" = set; then
1585  echo $ECHO_N "(cached) $ECHO_C" >&6
1586else
1587  if test -n "$CC"; then
1588  ac_cv_prog_CC="$CC" # Let the user override the test.
1589else
1590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1591for as_dir in $PATH
1592do
1593  IFS=$as_save_IFS
1594  test -z "$as_dir" && as_dir=.
1595  for ac_exec_ext in '' $ac_executable_extensions; do
1596  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1597    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1598    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1599    break 2
1600  fi
1601done
1602done
1603
1604fi
1605fi
1606CC=$ac_cv_prog_CC
1607if test -n "$CC"; then
1608  echo "$as_me:$LINENO: result: $CC" >&5
1609echo "${ECHO_T}$CC" >&6
1610else
1611  echo "$as_me:$LINENO: result: no" >&5
1612echo "${ECHO_T}no" >&6
1613fi
1614
1615    test -n "$CC" && break
1616  done
1617fi
1618if test -z "$CC"; then
1619  ac_ct_CC=$CC
1620  for ac_prog in cl
1621do
1622  # Extract the first word of "$ac_prog", so it can be a program name with args.
1623set dummy $ac_prog; ac_word=$2
1624echo "$as_me:$LINENO: checking for $ac_word" >&5
1625echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1626if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1627  echo $ECHO_N "(cached) $ECHO_C" >&6
1628else
1629  if test -n "$ac_ct_CC"; then
1630  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1631else
1632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633for as_dir in $PATH
1634do
1635  IFS=$as_save_IFS
1636  test -z "$as_dir" && as_dir=.
1637  for ac_exec_ext in '' $ac_executable_extensions; do
1638  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639    ac_cv_prog_ac_ct_CC="$ac_prog"
1640    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641    break 2
1642  fi
1643done
1644done
1645
1646fi
1647fi
1648ac_ct_CC=$ac_cv_prog_ac_ct_CC
1649if test -n "$ac_ct_CC"; then
1650  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1651echo "${ECHO_T}$ac_ct_CC" >&6
1652else
1653  echo "$as_me:$LINENO: result: no" >&5
1654echo "${ECHO_T}no" >&6
1655fi
1656
1657  test -n "$ac_ct_CC" && break
1658done
1659
1660  CC=$ac_ct_CC
1661fi
1662
1663fi
1664
1665
1666test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1667See \`config.log' for more details." >&5
1668echo "$as_me: error: no acceptable C compiler found in \$PATH
1669See \`config.log' for more details." >&2;}
1670   { (exit 1); exit 1; }; }
1671
1672# Provide some information about the compiler.
1673echo "$as_me:$LINENO:" \
1674     "checking for C compiler version" >&5
1675ac_compiler=`set X $ac_compile; echo $2`
1676{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1677  (eval $ac_compiler --version </dev/null >&5) 2>&5
1678  ac_status=$?
1679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1680  (exit $ac_status); }
1681{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1682  (eval $ac_compiler -v </dev/null >&5) 2>&5
1683  ac_status=$?
1684  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1685  (exit $ac_status); }
1686{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1687  (eval $ac_compiler -V </dev/null >&5) 2>&5
1688  ac_status=$?
1689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1690  (exit $ac_status); }
1691
1692cat >conftest.$ac_ext <<_ACEOF
1693/* confdefs.h.  */
1694_ACEOF
1695cat confdefs.h >>conftest.$ac_ext
1696cat >>conftest.$ac_ext <<_ACEOF
1697/* end confdefs.h.  */
1698
1699int
1700main ()
1701{
1702
1703  ;
1704  return 0;
1705}
1706_ACEOF
1707ac_clean_files_save=$ac_clean_files
1708ac_clean_files="$ac_clean_files a.out a.exe b.out"
1709# Try to create an executable without -o first, disregard a.out.
1710# It will help us diagnose broken compilers, and finding out an intuition
1711# of exeext.
1712echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1713echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1714ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1715if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1716  (eval $ac_link_default) 2>&5
1717  ac_status=$?
1718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1719  (exit $ac_status); }; then
1720  # Find the output, starting from the most likely.  This scheme is
1721# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1722# resort.
1723
1724# Be careful to initialize this variable, since it used to be cached.
1725# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1726ac_cv_exeext=
1727# b.out is created by i960 compilers.
1728for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1729do
1730  test -f "$ac_file" || continue
1731  case $ac_file in
1732    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1733        ;;
1734    conftest.$ac_ext )
1735        # This is the source file.
1736        ;;
1737    [ab].out )
1738        # We found the default executable, but exeext='' is most
1739        # certainly right.
1740        break;;
1741    *.* )
1742        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1743        # FIXME: I believe we export ac_cv_exeext for Libtool,
1744        # but it would be cool to find out if it's true.  Does anybody
1745        # maintain Libtool? --akim.
1746        export ac_cv_exeext
1747        break;;
1748    * )
1749        break;;
1750  esac
1751done
1752else
1753  echo "$as_me: failed program was:" >&5
1754sed 's/^/| /' conftest.$ac_ext >&5
1755
1756{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1757See \`config.log' for more details." >&5
1758echo "$as_me: error: C compiler cannot create executables
1759See \`config.log' for more details." >&2;}
1760   { (exit 77); exit 77; }; }
1761fi
1762
1763ac_exeext=$ac_cv_exeext
1764echo "$as_me:$LINENO: result: $ac_file" >&5
1765echo "${ECHO_T}$ac_file" >&6
1766
1767# Check the compiler produces executables we can run.  If not, either
1768# the compiler is broken, or we cross compile.
1769echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1770echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1771# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1772# If not cross compiling, check that we can run a simple program.
1773if test "$cross_compiling" != yes; then
1774  if { ac_try='./$ac_file'
1775  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1776  (eval $ac_try) 2>&5
1777  ac_status=$?
1778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1779  (exit $ac_status); }; }; then
1780    cross_compiling=no
1781  else
1782    if test "$cross_compiling" = maybe; then
1783        cross_compiling=yes
1784    else
1785        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1786If you meant to cross compile, use \`--host'.
1787See \`config.log' for more details." >&5
1788echo "$as_me: error: cannot run C compiled programs.
1789If you meant to cross compile, use \`--host'.
1790See \`config.log' for more details." >&2;}
1791   { (exit 1); exit 1; }; }
1792    fi
1793  fi
1794fi
1795echo "$as_me:$LINENO: result: yes" >&5
1796echo "${ECHO_T}yes" >&6
1797
1798rm -f a.out a.exe conftest$ac_cv_exeext b.out
1799ac_clean_files=$ac_clean_files_save
1800# Check the compiler produces executables we can run.  If not, either
1801# the compiler is broken, or we cross compile.
1802echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1803echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1804echo "$as_me:$LINENO: result: $cross_compiling" >&5
1805echo "${ECHO_T}$cross_compiling" >&6
1806
1807echo "$as_me:$LINENO: checking for suffix of executables" >&5
1808echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1809if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1810  (eval $ac_link) 2>&5
1811  ac_status=$?
1812  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1813  (exit $ac_status); }; then
1814  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1815# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1816# work properly (i.e., refer to `conftest.exe'), while it won't with
1817# `rm'.
1818for ac_file in conftest.exe conftest conftest.*; do
1819  test -f "$ac_file" || continue
1820  case $ac_file in
1821    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1822    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1823          export ac_cv_exeext
1824          break;;
1825    * ) break;;
1826  esac
1827done
1828else
1829  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1830See \`config.log' for more details." >&5
1831echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1832See \`config.log' for more details." >&2;}
1833   { (exit 1); exit 1; }; }
1834fi
1835
1836rm -f conftest$ac_cv_exeext
1837echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1838echo "${ECHO_T}$ac_cv_exeext" >&6
1839
1840rm -f conftest.$ac_ext
1841EXEEXT=$ac_cv_exeext
1842ac_exeext=$EXEEXT
1843echo "$as_me:$LINENO: checking for suffix of object files" >&5
1844echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1845if test "${ac_cv_objext+set}" = set; then
1846  echo $ECHO_N "(cached) $ECHO_C" >&6
1847else
1848  cat >conftest.$ac_ext <<_ACEOF
1849/* confdefs.h.  */
1850_ACEOF
1851cat confdefs.h >>conftest.$ac_ext
1852cat >>conftest.$ac_ext <<_ACEOF
1853/* end confdefs.h.  */
1854
1855int
1856main ()
1857{
1858
1859  ;
1860  return 0;
1861}
1862_ACEOF
1863rm -f conftest.o conftest.obj
1864if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1865  (eval $ac_compile) 2>&5
1866  ac_status=$?
1867  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1868  (exit $ac_status); }; then
1869  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1870  case $ac_file in
1871    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1872    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1873       break;;
1874  esac
1875done
1876else
1877  echo "$as_me: failed program was:" >&5
1878sed 's/^/| /' conftest.$ac_ext >&5
1879
1880{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1881See \`config.log' for more details." >&5
1882echo "$as_me: error: cannot compute suffix of object files: cannot compile
1883See \`config.log' for more details." >&2;}
1884   { (exit 1); exit 1; }; }
1885fi
1886
1887rm -f conftest.$ac_cv_objext conftest.$ac_ext
1888fi
1889echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1890echo "${ECHO_T}$ac_cv_objext" >&6
1891OBJEXT=$ac_cv_objext
1892ac_objext=$OBJEXT
1893echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1894echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1895if test "${ac_cv_c_compiler_gnu+set}" = set; then
1896  echo $ECHO_N "(cached) $ECHO_C" >&6
1897else
1898  cat >conftest.$ac_ext <<_ACEOF
1899/* confdefs.h.  */
1900_ACEOF
1901cat confdefs.h >>conftest.$ac_ext
1902cat >>conftest.$ac_ext <<_ACEOF
1903/* end confdefs.h.  */
1904
1905int
1906main ()
1907{
1908#ifndef __GNUC__
1909       choke me
1910#endif
1911
1912  ;
1913  return 0;
1914}
1915_ACEOF
1916rm -f conftest.$ac_objext
1917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1918  (eval $ac_compile) 2>conftest.er1
1919  ac_status=$?
1920  grep -v '^ *+' conftest.er1 >conftest.err
1921  rm -f conftest.er1
1922  cat conftest.err >&5
1923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1924  (exit $ac_status); } &&
1925         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
1926  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1927  (eval $ac_try) 2>&5
1928  ac_status=$?
1929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930  (exit $ac_status); }; } &&
1931         { ac_try='test -s conftest.$ac_objext'
1932  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933  (eval $ac_try) 2>&5
1934  ac_status=$?
1935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936  (exit $ac_status); }; }; then
1937  ac_compiler_gnu=yes
1938else
1939  echo "$as_me: failed program was:" >&5
1940sed 's/^/| /' conftest.$ac_ext >&5
1941
1942ac_compiler_gnu=no
1943fi
1944rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1945ac_cv_c_compiler_gnu=$ac_compiler_gnu
1946
1947fi
1948echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1949echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1950GCC=`test $ac_compiler_gnu = yes && echo yes`
1951ac_test_CFLAGS=${CFLAGS+set}
1952ac_save_CFLAGS=$CFLAGS
1953CFLAGS="-g"
1954echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1955echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1956if test "${ac_cv_prog_cc_g+set}" = set; then
1957  echo $ECHO_N "(cached) $ECHO_C" >&6
1958else
1959  cat >conftest.$ac_ext <<_ACEOF
1960/* confdefs.h.  */
1961_ACEOF
1962cat confdefs.h >>conftest.$ac_ext
1963cat >>conftest.$ac_ext <<_ACEOF
1964/* end confdefs.h.  */
1965
1966int
1967main ()
1968{
1969
1970  ;
1971  return 0;
1972}
1973_ACEOF
1974rm -f conftest.$ac_objext
1975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1976  (eval $ac_compile) 2>conftest.er1
1977  ac_status=$?
1978  grep -v '^ *+' conftest.er1 >conftest.err
1979  rm -f conftest.er1
1980  cat conftest.err >&5
1981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982  (exit $ac_status); } &&
1983         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
1984  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1985  (eval $ac_try) 2>&5
1986  ac_status=$?
1987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988  (exit $ac_status); }; } &&
1989         { ac_try='test -s conftest.$ac_objext'
1990  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1991  (eval $ac_try) 2>&5
1992  ac_status=$?
1993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994  (exit $ac_status); }; }; then
1995  ac_cv_prog_cc_g=yes
1996else
1997  echo "$as_me: failed program was:" >&5
1998sed 's/^/| /' conftest.$ac_ext >&5
1999
2000ac_cv_prog_cc_g=no
2001fi
2002rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2003fi
2004echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2005echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2006if test "$ac_test_CFLAGS" = set; then
2007  CFLAGS=$ac_save_CFLAGS
2008elif test $ac_cv_prog_cc_g = yes; then
2009  if test "$GCC" = yes; then
2010    CFLAGS="-g -O2"
2011  else
2012    CFLAGS="-g"
2013  fi
2014else
2015  if test "$GCC" = yes; then
2016    CFLAGS="-O2"
2017  else
2018    CFLAGS=
2019  fi
2020fi
2021echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2022echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2023if test "${ac_cv_prog_cc_stdc+set}" = set; then
2024  echo $ECHO_N "(cached) $ECHO_C" >&6
2025else
2026  ac_cv_prog_cc_stdc=no
2027ac_save_CC=$CC
2028cat >conftest.$ac_ext <<_ACEOF
2029/* confdefs.h.  */
2030_ACEOF
2031cat confdefs.h >>conftest.$ac_ext
2032cat >>conftest.$ac_ext <<_ACEOF
2033/* end confdefs.h.  */
2034#include <stdarg.h>
2035#include <stdio.h>
2036#include <sys/types.h>
2037#include <sys/stat.h>
2038/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2039struct buf { int x; };
2040FILE * (*rcsopen) (struct buf *, struct stat *, int);
2041static char *e (p, i)
2042     char **p;
2043     int i;
2044{
2045  return p[i];
2046}
2047static char *f (char * (*g) (char **, int), char **p, ...)
2048{
2049  char *s;
2050  va_list v;
2051  va_start (v,p);
2052  s = g (p, va_arg (v,int));
2053  va_end (v);
2054  return s;
2055}
2056
2057/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2058   function prototypes and stuff, but not '\xHH' hex character constants.
2059   These don't provoke an error unfortunately, instead are silently treated
2060   as 'x'.  The following induces an error, until -std1 is added to get
2061   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2062   array size at least.  It's necessary to write '\x00'==0 to get something
2063   that's true only with -std1.  */
2064int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2065
2066int test (int i, double x);
2067struct s1 {int (*f) (int a);};
2068struct s2 {int (*f) (double a);};
2069int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2070int argc;
2071char **argv;
2072int
2073main ()
2074{
2075return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2076  ;
2077  return 0;
2078}
2079_ACEOF
2080# Don't try gcc -ansi; that turns off useful extensions and
2081# breaks some systems' header files.
2082# AIX                   -qlanglvl=ansi
2083# Ultrix and OSF/1      -std1
2084# HP-UX 10.20 and later -Ae
2085# HP-UX older versions  -Aa -D_HPUX_SOURCE
2086# SVR4                  -Xc -D__EXTENSIONS__
2087for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2088do
2089  CC="$ac_save_CC $ac_arg"
2090  rm -f conftest.$ac_objext
2091if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2092  (eval $ac_compile) 2>conftest.er1
2093  ac_status=$?
2094  grep -v '^ *+' conftest.er1 >conftest.err
2095  rm -f conftest.er1
2096  cat conftest.err >&5
2097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098  (exit $ac_status); } &&
2099         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2100  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101  (eval $ac_try) 2>&5
2102  ac_status=$?
2103  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104  (exit $ac_status); }; } &&
2105         { ac_try='test -s conftest.$ac_objext'
2106  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2107  (eval $ac_try) 2>&5
2108  ac_status=$?
2109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110  (exit $ac_status); }; }; then
2111  ac_cv_prog_cc_stdc=$ac_arg
2112break
2113else
2114  echo "$as_me: failed program was:" >&5
2115sed 's/^/| /' conftest.$ac_ext >&5
2116
2117fi
2118rm -f conftest.err conftest.$ac_objext
2119done
2120rm -f conftest.$ac_ext conftest.$ac_objext
2121CC=$ac_save_CC
2122
2123fi
2124
2125case "x$ac_cv_prog_cc_stdc" in
2126  x|xno)
2127    echo "$as_me:$LINENO: result: none needed" >&5
2128echo "${ECHO_T}none needed" >&6 ;;
2129  *)
2130    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2131echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2132    CC="$CC $ac_cv_prog_cc_stdc" ;;
2133esac
2134
2135# Some people use a C++ compiler to compile C.  Since we use `exit',
2136# in C++ we need to declare it.  In case someone uses the same compiler
2137# for both compiling C and C++ we need to have the C++ compiler decide
2138# the declaration of exit, since it's the most demanding environment.
2139cat >conftest.$ac_ext <<_ACEOF
2140#ifndef __cplusplus
2141  choke me
2142#endif
2143_ACEOF
2144rm -f conftest.$ac_objext
2145if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146  (eval $ac_compile) 2>conftest.er1
2147  ac_status=$?
2148  grep -v '^ *+' conftest.er1 >conftest.err
2149  rm -f conftest.er1
2150  cat conftest.err >&5
2151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152  (exit $ac_status); } &&
2153         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155  (eval $ac_try) 2>&5
2156  ac_status=$?
2157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158  (exit $ac_status); }; } &&
2159         { ac_try='test -s conftest.$ac_objext'
2160  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161  (eval $ac_try) 2>&5
2162  ac_status=$?
2163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164  (exit $ac_status); }; }; then
2165  for ac_declaration in \
2166   '' \
2167   'extern "C" void std::exit (int) throw (); using std::exit;' \
2168   'extern "C" void std::exit (int); using std::exit;' \
2169   'extern "C" void exit (int) throw ();' \
2170   'extern "C" void exit (int);' \
2171   'void exit (int);'
2172do
2173  cat >conftest.$ac_ext <<_ACEOF
2174/* confdefs.h.  */
2175_ACEOF
2176cat confdefs.h >>conftest.$ac_ext
2177cat >>conftest.$ac_ext <<_ACEOF
2178/* end confdefs.h.  */
2179$ac_declaration
2180#include <stdlib.h>
2181int
2182main ()
2183{
2184exit (42);
2185  ;
2186  return 0;
2187}
2188_ACEOF
2189rm -f conftest.$ac_objext
2190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2191  (eval $ac_compile) 2>conftest.er1
2192  ac_status=$?
2193  grep -v '^ *+' conftest.er1 >conftest.err
2194  rm -f conftest.er1
2195  cat conftest.err >&5
2196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197  (exit $ac_status); } &&
2198         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2199  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2200  (eval $ac_try) 2>&5
2201  ac_status=$?
2202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203  (exit $ac_status); }; } &&
2204         { ac_try='test -s conftest.$ac_objext'
2205  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2206  (eval $ac_try) 2>&5
2207  ac_status=$?
2208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209  (exit $ac_status); }; }; then
2210  :
2211else
2212  echo "$as_me: failed program was:" >&5
2213sed 's/^/| /' conftest.$ac_ext >&5
2214
2215continue
2216fi
2217rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2218  cat >conftest.$ac_ext <<_ACEOF
2219/* confdefs.h.  */
2220_ACEOF
2221cat confdefs.h >>conftest.$ac_ext
2222cat >>conftest.$ac_ext <<_ACEOF
2223/* end confdefs.h.  */
2224$ac_declaration
2225int
2226main ()
2227{
2228exit (42);
2229  ;
2230  return 0;
2231}
2232_ACEOF
2233rm -f conftest.$ac_objext
2234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2235  (eval $ac_compile) 2>conftest.er1
2236  ac_status=$?
2237  grep -v '^ *+' conftest.er1 >conftest.err
2238  rm -f conftest.er1
2239  cat conftest.err >&5
2240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241  (exit $ac_status); } &&
2242         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2243  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244  (eval $ac_try) 2>&5
2245  ac_status=$?
2246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247  (exit $ac_status); }; } &&
2248         { ac_try='test -s conftest.$ac_objext'
2249  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250  (eval $ac_try) 2>&5
2251  ac_status=$?
2252  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253  (exit $ac_status); }; }; then
2254  break
2255else
2256  echo "$as_me: failed program was:" >&5
2257sed 's/^/| /' conftest.$ac_ext >&5
2258
2259fi
2260rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2261done
2262rm -f conftest*
2263if test -n "$ac_declaration"; then
2264  echo '#ifdef __cplusplus' >>confdefs.h
2265  echo $ac_declaration      >>confdefs.h
2266  echo '#endif'             >>confdefs.h
2267fi
2268
2269else
2270  echo "$as_me: failed program was:" >&5
2271sed 's/^/| /' conftest.$ac_ext >&5
2272
2273fi
2274rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2275ac_ext=c
2276ac_cpp='$CPP $CPPFLAGS'
2277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279ac_compiler_gnu=$ac_cv_c_compiler_gnu
2280
2281ac_ext=c
2282ac_cpp='$CPP $CPPFLAGS'
2283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2285ac_compiler_gnu=$ac_cv_c_compiler_gnu
2286
2287
2288
2289ac_ext=c
2290ac_cpp='$CPP $CPPFLAGS'
2291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2293ac_compiler_gnu=$ac_cv_c_compiler_gnu
2294echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2295echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2296# On Suns, sometimes $CPP names a directory.
2297if test -n "$CPP" && test -d "$CPP"; then
2298  CPP=
2299fi
2300if test -z "$CPP"; then
2301  if test "${ac_cv_prog_CPP+set}" = set; then
2302  echo $ECHO_N "(cached) $ECHO_C" >&6
2303else
2304      # Double quotes because CPP needs to be expanded
2305    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2306    do
2307      ac_preproc_ok=false
2308for ac_c_preproc_warn_flag in '' yes
2309do
2310  # Use a header file that comes with gcc, so configuring glibc
2311  # with a fresh cross-compiler works.
2312  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2313  # <limits.h> exists even on freestanding compilers.
2314  # On the NeXT, cc -E runs the code through the compiler's parser,
2315  # not just through cpp. "Syntax error" is here to catch this case.
2316  cat >conftest.$ac_ext <<_ACEOF
2317/* confdefs.h.  */
2318_ACEOF
2319cat confdefs.h >>conftest.$ac_ext
2320cat >>conftest.$ac_ext <<_ACEOF
2321/* end confdefs.h.  */
2322#ifdef __STDC__
2323# include <limits.h>
2324#else
2325# include <assert.h>
2326#endif
2327                     Syntax error
2328_ACEOF
2329if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2330  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2331  ac_status=$?
2332  grep -v '^ *+' conftest.er1 >conftest.err
2333  rm -f conftest.er1
2334  cat conftest.err >&5
2335  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336  (exit $ac_status); } >/dev/null; then
2337  if test -s conftest.err; then
2338    ac_cpp_err=$ac_c_preproc_warn_flag
2339    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2340  else
2341    ac_cpp_err=
2342  fi
2343else
2344  ac_cpp_err=yes
2345fi
2346if test -z "$ac_cpp_err"; then
2347  :
2348else
2349  echo "$as_me: failed program was:" >&5
2350sed 's/^/| /' conftest.$ac_ext >&5
2351
2352  # Broken: fails on valid input.
2353continue
2354fi
2355rm -f conftest.err conftest.$ac_ext
2356
2357  # OK, works on sane cases.  Now check whether non-existent headers
2358  # can be detected and how.
2359  cat >conftest.$ac_ext <<_ACEOF
2360/* confdefs.h.  */
2361_ACEOF
2362cat confdefs.h >>conftest.$ac_ext
2363cat >>conftest.$ac_ext <<_ACEOF
2364/* end confdefs.h.  */
2365#include <ac_nonexistent.h>
2366_ACEOF
2367if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2368  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2369  ac_status=$?
2370  grep -v '^ *+' conftest.er1 >conftest.err
2371  rm -f conftest.er1
2372  cat conftest.err >&5
2373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374  (exit $ac_status); } >/dev/null; then
2375  if test -s conftest.err; then
2376    ac_cpp_err=$ac_c_preproc_warn_flag
2377    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2378  else
2379    ac_cpp_err=
2380  fi
2381else
2382  ac_cpp_err=yes
2383fi
2384if test -z "$ac_cpp_err"; then
2385  # Broken: success on invalid input.
2386continue
2387else
2388  echo "$as_me: failed program was:" >&5
2389sed 's/^/| /' conftest.$ac_ext >&5
2390
2391  # Passes both tests.
2392ac_preproc_ok=:
2393break
2394fi
2395rm -f conftest.err conftest.$ac_ext
2396
2397done
2398# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2399rm -f conftest.err conftest.$ac_ext
2400if $ac_preproc_ok; then
2401  break
2402fi
2403
2404    done
2405    ac_cv_prog_CPP=$CPP
2406
2407fi
2408  CPP=$ac_cv_prog_CPP
2409else
2410  ac_cv_prog_CPP=$CPP
2411fi
2412echo "$as_me:$LINENO: result: $CPP" >&5
2413echo "${ECHO_T}$CPP" >&6
2414ac_preproc_ok=false
2415for ac_c_preproc_warn_flag in '' yes
2416do
2417  # Use a header file that comes with gcc, so configuring glibc
2418  # with a fresh cross-compiler works.
2419  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2420  # <limits.h> exists even on freestanding compilers.
2421  # On the NeXT, cc -E runs the code through the compiler's parser,
2422  # not just through cpp. "Syntax error" is here to catch this case.
2423  cat >conftest.$ac_ext <<_ACEOF
2424/* confdefs.h.  */
2425_ACEOF
2426cat confdefs.h >>conftest.$ac_ext
2427cat >>conftest.$ac_ext <<_ACEOF
2428/* end confdefs.h.  */
2429#ifdef __STDC__
2430# include <limits.h>
2431#else
2432# include <assert.h>
2433#endif
2434                     Syntax error
2435_ACEOF
2436if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2437  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2438  ac_status=$?
2439  grep -v '^ *+' conftest.er1 >conftest.err
2440  rm -f conftest.er1
2441  cat conftest.err >&5
2442  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443  (exit $ac_status); } >/dev/null; then
2444  if test -s conftest.err; then
2445    ac_cpp_err=$ac_c_preproc_warn_flag
2446    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2447  else
2448    ac_cpp_err=
2449  fi
2450else
2451  ac_cpp_err=yes
2452fi
2453if test -z "$ac_cpp_err"; then
2454  :
2455else
2456  echo "$as_me: failed program was:" >&5
2457sed 's/^/| /' conftest.$ac_ext >&5
2458
2459  # Broken: fails on valid input.
2460continue
2461fi
2462rm -f conftest.err conftest.$ac_ext
2463
2464  # OK, works on sane cases.  Now check whether non-existent headers
2465  # can be detected and how.
2466  cat >conftest.$ac_ext <<_ACEOF
2467/* confdefs.h.  */
2468_ACEOF
2469cat confdefs.h >>conftest.$ac_ext
2470cat >>conftest.$ac_ext <<_ACEOF
2471/* end confdefs.h.  */
2472#include <ac_nonexistent.h>
2473_ACEOF
2474if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2475  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2476  ac_status=$?
2477  grep -v '^ *+' conftest.er1 >conftest.err
2478  rm -f conftest.er1
2479  cat conftest.err >&5
2480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481  (exit $ac_status); } >/dev/null; then
2482  if test -s conftest.err; then
2483    ac_cpp_err=$ac_c_preproc_warn_flag
2484    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2485  else
2486    ac_cpp_err=
2487  fi
2488else
2489  ac_cpp_err=yes
2490fi
2491if test -z "$ac_cpp_err"; then
2492  # Broken: success on invalid input.
2493continue
2494else
2495  echo "$as_me: failed program was:" >&5
2496sed 's/^/| /' conftest.$ac_ext >&5
2497
2498  # Passes both tests.
2499ac_preproc_ok=:
2500break
2501fi
2502rm -f conftest.err conftest.$ac_ext
2503
2504done
2505# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2506rm -f conftest.err conftest.$ac_ext
2507if $ac_preproc_ok; then
2508  :
2509else
2510  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2511See \`config.log' for more details." >&5
2512echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2513See \`config.log' for more details." >&2;}
2514   { (exit 1); exit 1; }; }
2515fi
2516
2517ac_ext=c
2518ac_cpp='$CPP $CPPFLAGS'
2519ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521ac_compiler_gnu=$ac_cv_c_compiler_gnu
2522
2523
2524echo "$as_me:$LINENO: checking for egrep" >&5
2525echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2526if test "${ac_cv_prog_egrep+set}" = set; then
2527  echo $ECHO_N "(cached) $ECHO_C" >&6
2528else
2529  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2530    then ac_cv_prog_egrep='grep -E'
2531    else ac_cv_prog_egrep='egrep'
2532    fi
2533fi
2534echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2535echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2536 EGREP=$ac_cv_prog_egrep
2537
2538
2539echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2540echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2541if test "${ac_cv_header_stdc+set}" = set; then
2542  echo $ECHO_N "(cached) $ECHO_C" >&6
2543else
2544  cat >conftest.$ac_ext <<_ACEOF
2545/* confdefs.h.  */
2546_ACEOF
2547cat confdefs.h >>conftest.$ac_ext
2548cat >>conftest.$ac_ext <<_ACEOF
2549/* end confdefs.h.  */
2550#include <stdlib.h>
2551#include <stdarg.h>
2552#include <string.h>
2553#include <float.h>
2554
2555int
2556main ()
2557{
2558
2559  ;
2560  return 0;
2561}
2562_ACEOF
2563rm -f conftest.$ac_objext
2564if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2565  (eval $ac_compile) 2>conftest.er1
2566  ac_status=$?
2567  grep -v '^ *+' conftest.er1 >conftest.err
2568  rm -f conftest.er1
2569  cat conftest.err >&5
2570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571  (exit $ac_status); } &&
2572         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2573  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574  (eval $ac_try) 2>&5
2575  ac_status=$?
2576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577  (exit $ac_status); }; } &&
2578         { ac_try='test -s conftest.$ac_objext'
2579  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580  (eval $ac_try) 2>&5
2581  ac_status=$?
2582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583  (exit $ac_status); }; }; then
2584  ac_cv_header_stdc=yes
2585else
2586  echo "$as_me: failed program was:" >&5
2587sed 's/^/| /' conftest.$ac_ext >&5
2588
2589ac_cv_header_stdc=no
2590fi
2591rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592
2593if test $ac_cv_header_stdc = yes; then
2594  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2595  cat >conftest.$ac_ext <<_ACEOF
2596/* confdefs.h.  */
2597_ACEOF
2598cat confdefs.h >>conftest.$ac_ext
2599cat >>conftest.$ac_ext <<_ACEOF
2600/* end confdefs.h.  */
2601#include <string.h>
2602
2603_ACEOF
2604if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2605  $EGREP "memchr" >/dev/null 2>&1; then
2606  :
2607else
2608  ac_cv_header_stdc=no
2609fi
2610rm -f conftest*
2611
2612fi
2613
2614if test $ac_cv_header_stdc = yes; then
2615  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2616  cat >conftest.$ac_ext <<_ACEOF
2617/* confdefs.h.  */
2618_ACEOF
2619cat confdefs.h >>conftest.$ac_ext
2620cat >>conftest.$ac_ext <<_ACEOF
2621/* end confdefs.h.  */
2622#include <stdlib.h>
2623
2624_ACEOF
2625if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2626  $EGREP "free" >/dev/null 2>&1; then
2627  :
2628else
2629  ac_cv_header_stdc=no
2630fi
2631rm -f conftest*
2632
2633fi
2634
2635if test $ac_cv_header_stdc = yes; then
2636  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2637  if test "$cross_compiling" = yes; then
2638  :
2639else
2640  cat >conftest.$ac_ext <<_ACEOF
2641/* confdefs.h.  */
2642_ACEOF
2643cat confdefs.h >>conftest.$ac_ext
2644cat >>conftest.$ac_ext <<_ACEOF
2645/* end confdefs.h.  */
2646#include <ctype.h>
2647#if ((' ' & 0x0FF) == 0x020)
2648# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2649# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2650#else
2651# define ISLOWER(c) \
2652                   (('a' <= (c) && (c) <= 'i') \
2653                     || ('j' <= (c) && (c) <= 'r') \
2654                     || ('s' <= (c) && (c) <= 'z'))
2655# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2656#endif
2657
2658#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2659int
2660main ()
2661{
2662  int i;
2663  for (i = 0; i < 256; i++)
2664    if (XOR (islower (i), ISLOWER (i))
2665        || toupper (i) != TOUPPER (i))
2666      exit(2);
2667  exit (0);
2668}
2669_ACEOF
2670rm -f conftest$ac_exeext
2671if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2672  (eval $ac_link) 2>&5
2673  ac_status=$?
2674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2676  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677  (eval $ac_try) 2>&5
2678  ac_status=$?
2679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680  (exit $ac_status); }; }; then
2681  :
2682else
2683  echo "$as_me: program exited with status $ac_status" >&5
2684echo "$as_me: failed program was:" >&5
2685sed 's/^/| /' conftest.$ac_ext >&5
2686
2687( exit $ac_status )
2688ac_cv_header_stdc=no
2689fi
2690rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2691fi
2692fi
2693fi
2694echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2695echo "${ECHO_T}$ac_cv_header_stdc" >&6
2696if test $ac_cv_header_stdc = yes; then
2697
2698cat >>confdefs.h <<\_ACEOF
2699#define STDC_HEADERS 1
2700_ACEOF
2701
2702fi
2703
2704echo "$as_me:$LINENO: checking for atol" >&5
2705echo $ECHO_N "checking for atol... $ECHO_C" >&6
2706if test "${ac_cv_func_atol+set}" = set; then
2707  echo $ECHO_N "(cached) $ECHO_C" >&6
2708else
2709  cat >conftest.$ac_ext <<_ACEOF
2710/* confdefs.h.  */
2711_ACEOF
2712cat confdefs.h >>conftest.$ac_ext
2713cat >>conftest.$ac_ext <<_ACEOF
2714/* end confdefs.h.  */
2715/* Define atol to an innocuous variant, in case <limits.h> declares atol.
2716   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2717#define atol innocuous_atol
2718
2719/* System header to define __stub macros and hopefully few prototypes,
2720    which can conflict with char atol (); below.
2721    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2722    <limits.h> exists even on freestanding compilers.  */
2723
2724#ifdef __STDC__
2725# include <limits.h>
2726#else
2727# include <assert.h>
2728#endif
2729
2730#undef atol
2731
2732/* Override any gcc2 internal prototype to avoid an error.  */
2733#ifdef __cplusplus
2734extern "C"
2735{
2736#endif
2737/* We use char because int might match the return type of a gcc2
2738   builtin and then its argument prototype would still apply.  */
2739char atol ();
2740/* The GNU C library defines this for functions which it implements
2741    to always fail with ENOSYS.  Some functions are actually named
2742    something starting with __ and the normal name is an alias.  */
2743#if defined (__stub_atol) || defined (__stub___atol)
2744choke me
2745#else
2746char (*f) () = atol;
2747#endif
2748#ifdef __cplusplus
2749}
2750#endif
2751
2752int
2753main ()
2754{
2755return f != atol;
2756  ;
2757  return 0;
2758}
2759_ACEOF
2760rm -f conftest.$ac_objext conftest$ac_exeext
2761if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2762  (eval $ac_link) 2>conftest.er1
2763  ac_status=$?
2764  grep -v '^ *+' conftest.er1 >conftest.err
2765  rm -f conftest.er1
2766  cat conftest.err >&5
2767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768  (exit $ac_status); } &&
2769         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2770  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2771  (eval $ac_try) 2>&5
2772  ac_status=$?
2773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774  (exit $ac_status); }; } &&
2775         { ac_try='test -s conftest$ac_exeext'
2776  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777  (eval $ac_try) 2>&5
2778  ac_status=$?
2779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780  (exit $ac_status); }; }; then
2781  ac_cv_func_atol=yes
2782else
2783  echo "$as_me: failed program was:" >&5
2784sed 's/^/| /' conftest.$ac_ext >&5
2785
2786ac_cv_func_atol=no
2787fi
2788rm -f conftest.err conftest.$ac_objext \
2789      conftest$ac_exeext conftest.$ac_ext
2790fi
2791echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
2792echo "${ECHO_T}$ac_cv_func_atol" >&6
2793if test $ac_cv_func_atol = yes; then
2794  :
2795else
2796  { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
2797echo "$as_me: error: oops! no atol ?!?" >&2;}
2798   { (exit 1); exit 1; }; }
2799fi
2800
2801
2802ac_ext=cc
2803ac_cpp='$CXXCPP $CPPFLAGS'
2804ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2807if test -n "$ac_tool_prefix"; then
2808  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2809  do
2810    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2811set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2812echo "$as_me:$LINENO: checking for $ac_word" >&5
2813echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2814if test "${ac_cv_prog_CXX+set}" = set; then
2815  echo $ECHO_N "(cached) $ECHO_C" >&6
2816else
2817  if test -n "$CXX"; then
2818  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2819else
2820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821for as_dir in $PATH
2822do
2823  IFS=$as_save_IFS
2824  test -z "$as_dir" && as_dir=.
2825  for ac_exec_ext in '' $ac_executable_extensions; do
2826  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2827    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2828    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2829    break 2
2830  fi
2831done
2832done
2833
2834fi
2835fi
2836CXX=$ac_cv_prog_CXX
2837if test -n "$CXX"; then
2838  echo "$as_me:$LINENO: result: $CXX" >&5
2839echo "${ECHO_T}$CXX" >&6
2840else
2841  echo "$as_me:$LINENO: result: no" >&5
2842echo "${ECHO_T}no" >&6
2843fi
2844
2845    test -n "$CXX" && break
2846  done
2847fi
2848if test -z "$CXX"; then
2849  ac_ct_CXX=$CXX
2850  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2851do
2852  # Extract the first word of "$ac_prog", so it can be a program name with args.
2853set dummy $ac_prog; ac_word=$2
2854echo "$as_me:$LINENO: checking for $ac_word" >&5
2855echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2856if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2857  echo $ECHO_N "(cached) $ECHO_C" >&6
2858else
2859  if test -n "$ac_ct_CXX"; then
2860  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2861else
2862as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863for as_dir in $PATH
2864do
2865  IFS=$as_save_IFS
2866  test -z "$as_dir" && as_dir=.
2867  for ac_exec_ext in '' $ac_executable_extensions; do
2868  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2869    ac_cv_prog_ac_ct_CXX="$ac_prog"
2870    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871    break 2
2872  fi
2873done
2874done
2875
2876fi
2877fi
2878ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2879if test -n "$ac_ct_CXX"; then
2880  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2881echo "${ECHO_T}$ac_ct_CXX" >&6
2882else
2883  echo "$as_me:$LINENO: result: no" >&5
2884echo "${ECHO_T}no" >&6
2885fi
2886
2887  test -n "$ac_ct_CXX" && break
2888done
2889test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2890
2891  CXX=$ac_ct_CXX
2892fi
2893
2894
2895# Provide some information about the compiler.
2896echo "$as_me:$LINENO:" \
2897     "checking for C++ compiler version" >&5
2898ac_compiler=`set X $ac_compile; echo $2`
2899{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2900  (eval $ac_compiler --version </dev/null >&5) 2>&5
2901  ac_status=$?
2902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903  (exit $ac_status); }
2904{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2905  (eval $ac_compiler -v </dev/null >&5) 2>&5
2906  ac_status=$?
2907  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908  (exit $ac_status); }
2909{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2910  (eval $ac_compiler -V </dev/null >&5) 2>&5
2911  ac_status=$?
2912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913  (exit $ac_status); }
2914
2915echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2916echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2917if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2918  echo $ECHO_N "(cached) $ECHO_C" >&6
2919else
2920  cat >conftest.$ac_ext <<_ACEOF
2921/* confdefs.h.  */
2922_ACEOF
2923cat confdefs.h >>conftest.$ac_ext
2924cat >>conftest.$ac_ext <<_ACEOF
2925/* end confdefs.h.  */
2926
2927int
2928main ()
2929{
2930#ifndef __GNUC__
2931       choke me
2932#endif
2933
2934  ;
2935  return 0;
2936}
2937_ACEOF
2938rm -f conftest.$ac_objext
2939if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2940  (eval $ac_compile) 2>conftest.er1
2941  ac_status=$?
2942  grep -v '^ *+' conftest.er1 >conftest.err
2943  rm -f conftest.er1
2944  cat conftest.err >&5
2945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946  (exit $ac_status); } &&
2947         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2948  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949  (eval $ac_try) 2>&5
2950  ac_status=$?
2951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952  (exit $ac_status); }; } &&
2953         { ac_try='test -s conftest.$ac_objext'
2954  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955  (eval $ac_try) 2>&5
2956  ac_status=$?
2957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958  (exit $ac_status); }; }; then
2959  ac_compiler_gnu=yes
2960else
2961  echo "$as_me: failed program was:" >&5
2962sed 's/^/| /' conftest.$ac_ext >&5
2963
2964ac_compiler_gnu=no
2965fi
2966rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2967ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2968
2969fi
2970echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2971echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2972GXX=`test $ac_compiler_gnu = yes && echo yes`
2973ac_test_CXXFLAGS=${CXXFLAGS+set}
2974ac_save_CXXFLAGS=$CXXFLAGS
2975CXXFLAGS="-g"
2976echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2977echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2978if test "${ac_cv_prog_cxx_g+set}" = set; then
2979  echo $ECHO_N "(cached) $ECHO_C" >&6
2980else
2981  cat >conftest.$ac_ext <<_ACEOF
2982/* confdefs.h.  */
2983_ACEOF
2984cat confdefs.h >>conftest.$ac_ext
2985cat >>conftest.$ac_ext <<_ACEOF
2986/* end confdefs.h.  */
2987
2988int
2989main ()
2990{
2991
2992  ;
2993  return 0;
2994}
2995_ACEOF
2996rm -f conftest.$ac_objext
2997if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2998  (eval $ac_compile) 2>conftest.er1
2999  ac_status=$?
3000  grep -v '^ *+' conftest.er1 >conftest.err
3001  rm -f conftest.er1
3002  cat conftest.err >&5
3003  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004  (exit $ac_status); } &&
3005         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3006  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007  (eval $ac_try) 2>&5
3008  ac_status=$?
3009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010  (exit $ac_status); }; } &&
3011         { ac_try='test -s conftest.$ac_objext'
3012  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3013  (eval $ac_try) 2>&5
3014  ac_status=$?
3015  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016  (exit $ac_status); }; }; then
3017  ac_cv_prog_cxx_g=yes
3018else
3019  echo "$as_me: failed program was:" >&5
3020sed 's/^/| /' conftest.$ac_ext >&5
3021
3022ac_cv_prog_cxx_g=no
3023fi
3024rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3025fi
3026echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3027echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3028if test "$ac_test_CXXFLAGS" = set; then
3029  CXXFLAGS=$ac_save_CXXFLAGS
3030elif test $ac_cv_prog_cxx_g = yes; then
3031  if test "$GXX" = yes; then
3032    CXXFLAGS="-g -O2"
3033  else
3034    CXXFLAGS="-g"
3035  fi
3036else
3037  if test "$GXX" = yes; then
3038    CXXFLAGS="-O2"
3039  else
3040    CXXFLAGS=
3041  fi
3042fi
3043for ac_declaration in \
3044   '' \
3045   'extern "C" void std::exit (int) throw (); using std::exit;' \
3046   'extern "C" void std::exit (int); using std::exit;' \
3047   'extern "C" void exit (int) throw ();' \
3048   'extern "C" void exit (int);' \
3049   'void exit (int);'
3050do
3051  cat >conftest.$ac_ext <<_ACEOF
3052/* confdefs.h.  */
3053_ACEOF
3054cat confdefs.h >>conftest.$ac_ext
3055cat >>conftest.$ac_ext <<_ACEOF
3056/* end confdefs.h.  */
3057$ac_declaration
3058#include <stdlib.h>
3059int
3060main ()
3061{
3062exit (42);
3063  ;
3064  return 0;
3065}
3066_ACEOF
3067rm -f conftest.$ac_objext
3068if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3069  (eval $ac_compile) 2>conftest.er1
3070  ac_status=$?
3071  grep -v '^ *+' conftest.er1 >conftest.err
3072  rm -f conftest.er1
3073  cat conftest.err >&5
3074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075  (exit $ac_status); } &&
3076         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3077  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078  (eval $ac_try) 2>&5
3079  ac_status=$?
3080  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081  (exit $ac_status); }; } &&
3082         { ac_try='test -s conftest.$ac_objext'
3083  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3084  (eval $ac_try) 2>&5
3085  ac_status=$?
3086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087  (exit $ac_status); }; }; then
3088  :
3089else
3090  echo "$as_me: failed program was:" >&5
3091sed 's/^/| /' conftest.$ac_ext >&5
3092
3093continue
3094fi
3095rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3096  cat >conftest.$ac_ext <<_ACEOF
3097/* confdefs.h.  */
3098_ACEOF
3099cat confdefs.h >>conftest.$ac_ext
3100cat >>conftest.$ac_ext <<_ACEOF
3101/* end confdefs.h.  */
3102$ac_declaration
3103int
3104main ()
3105{
3106exit (42);
3107  ;
3108  return 0;
3109}
3110_ACEOF
3111rm -f conftest.$ac_objext
3112if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113  (eval $ac_compile) 2>conftest.er1
3114  ac_status=$?
3115  grep -v '^ *+' conftest.er1 >conftest.err
3116  rm -f conftest.er1
3117  cat conftest.err >&5
3118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119  (exit $ac_status); } &&
3120         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3121  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122  (eval $ac_try) 2>&5
3123  ac_status=$?
3124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125  (exit $ac_status); }; } &&
3126         { ac_try='test -s conftest.$ac_objext'
3127  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128  (eval $ac_try) 2>&5
3129  ac_status=$?
3130  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131  (exit $ac_status); }; }; then
3132  break
3133else
3134  echo "$as_me: failed program was:" >&5
3135sed 's/^/| /' conftest.$ac_ext >&5
3136
3137fi
3138rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3139done
3140rm -f conftest*
3141if test -n "$ac_declaration"; then
3142  echo '#ifdef __cplusplus' >>confdefs.h
3143  echo $ac_declaration      >>confdefs.h
3144  echo '#endif'             >>confdefs.h
3145fi
3146
3147ac_ext=c
3148ac_cpp='$CPP $CPPFLAGS'
3149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151ac_compiler_gnu=$ac_cv_c_compiler_gnu
3152
3153ac_ext=cc
3154ac_cpp='$CXXCPP $CPPFLAGS'
3155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3158
3159
3160
3161
3162echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
3163echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
3164if test "${ac_cv_lib_stdcpp_main+set}" = set; then
3165  echo $ECHO_N "(cached) $ECHO_C" >&6
3166else
3167  ac_check_lib_save_LIBS=$LIBS
3168LIBS="-lstdc++  $LIBS"
3169cat >conftest.$ac_ext <<_ACEOF
3170/* confdefs.h.  */
3171_ACEOF
3172cat confdefs.h >>conftest.$ac_ext
3173cat >>conftest.$ac_ext <<_ACEOF
3174/* end confdefs.h.  */
3175
3176
3177int
3178main ()
3179{
3180main ();
3181  ;
3182  return 0;
3183}
3184_ACEOF
3185rm -f conftest.$ac_objext conftest$ac_exeext
3186if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3187  (eval $ac_link) 2>conftest.er1
3188  ac_status=$?
3189  grep -v '^ *+' conftest.er1 >conftest.err
3190  rm -f conftest.er1
3191  cat conftest.err >&5
3192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193  (exit $ac_status); } &&
3194         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196  (eval $ac_try) 2>&5
3197  ac_status=$?
3198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199  (exit $ac_status); }; } &&
3200         { ac_try='test -s conftest$ac_exeext'
3201  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202  (eval $ac_try) 2>&5
3203  ac_status=$?
3204  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205  (exit $ac_status); }; }; then
3206  ac_cv_lib_stdcpp_main=yes
3207else
3208  echo "$as_me: failed program was:" >&5
3209sed 's/^/| /' conftest.$ac_ext >&5
3210
3211ac_cv_lib_stdcpp_main=no
3212fi
3213rm -f conftest.err conftest.$ac_objext \
3214      conftest$ac_exeext conftest.$ac_ext
3215LIBS=$ac_check_lib_save_LIBS
3216fi
3217echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
3218echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
3219if test $ac_cv_lib_stdcpp_main = yes; then
3220  cat >>confdefs.h <<_ACEOF
3221#define HAVE_LIBSTDC__ 1
3222_ACEOF
3223
3224  LIBS="-lstdc++ $LIBS"
3225
3226else
3227  { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
3228echo "$as_me: error: librappture requires libstdc++" >&2;}
3229   { (exit 1); exit 1; }; }
3230fi
3231
3232# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3243                  inttypes.h stdint.h unistd.h
3244do
3245as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3246echo "$as_me:$LINENO: checking for $ac_header" >&5
3247echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3248if eval "test \"\${$as_ac_Header+set}\" = set"; then
3249  echo $ECHO_N "(cached) $ECHO_C" >&6
3250else
3251  cat >conftest.$ac_ext <<_ACEOF
3252/* confdefs.h.  */
3253_ACEOF
3254cat confdefs.h >>conftest.$ac_ext
3255cat >>conftest.$ac_ext <<_ACEOF
3256/* end confdefs.h.  */
3257$ac_includes_default
3258
3259#include <$ac_header>
3260_ACEOF
3261rm -f conftest.$ac_objext
3262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3263  (eval $ac_compile) 2>conftest.er1
3264  ac_status=$?
3265  grep -v '^ *+' conftest.er1 >conftest.err
3266  rm -f conftest.er1
3267  cat conftest.err >&5
3268  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269  (exit $ac_status); } &&
3270         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3271  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272  (eval $ac_try) 2>&5
3273  ac_status=$?
3274  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275  (exit $ac_status); }; } &&
3276         { ac_try='test -s conftest.$ac_objext'
3277  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3278  (eval $ac_try) 2>&5
3279  ac_status=$?
3280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281  (exit $ac_status); }; }; then
3282  eval "$as_ac_Header=yes"
3283else
3284  echo "$as_me: failed program was:" >&5
3285sed 's/^/| /' conftest.$ac_ext >&5
3286
3287eval "$as_ac_Header=no"
3288fi
3289rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3290fi
3291echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3292echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3293if test `eval echo '${'$as_ac_Header'}'` = yes; then
3294  cat >>confdefs.h <<_ACEOF
3295#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3296_ACEOF
3297
3298fi
3299
3300done
3301
3302
3303ac_ext=cc
3304ac_cpp='$CXXCPP $CPPFLAGS'
3305ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3306ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3307ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3308echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3309echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3310if test -z "$CXXCPP"; then
3311  if test "${ac_cv_prog_CXXCPP+set}" = set; then
3312  echo $ECHO_N "(cached) $ECHO_C" >&6
3313else
3314      # Double quotes because CXXCPP needs to be expanded
3315    for CXXCPP in "$CXX -E" "/lib/cpp"
3316    do
3317      ac_preproc_ok=false
3318for ac_cxx_preproc_warn_flag in '' yes
3319do
3320  # Use a header file that comes with gcc, so configuring glibc
3321  # with a fresh cross-compiler works.
3322  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3323  # <limits.h> exists even on freestanding compilers.
3324  # On the NeXT, cc -E runs the code through the compiler's parser,
3325  # not just through cpp. "Syntax error" is here to catch this case.
3326  cat >conftest.$ac_ext <<_ACEOF
3327/* confdefs.h.  */
3328_ACEOF
3329cat confdefs.h >>conftest.$ac_ext
3330cat >>conftest.$ac_ext <<_ACEOF
3331/* end confdefs.h.  */
3332#ifdef __STDC__
3333# include <limits.h>
3334#else
3335# include <assert.h>
3336#endif
3337                     Syntax error
3338_ACEOF
3339if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3340  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3341  ac_status=$?
3342  grep -v '^ *+' conftest.er1 >conftest.err
3343  rm -f conftest.er1
3344  cat conftest.err >&5
3345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346  (exit $ac_status); } >/dev/null; then
3347  if test -s conftest.err; then
3348    ac_cpp_err=$ac_cxx_preproc_warn_flag
3349    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3350  else
3351    ac_cpp_err=
3352  fi
3353else
3354  ac_cpp_err=yes
3355fi
3356if test -z "$ac_cpp_err"; then
3357  :
3358else
3359  echo "$as_me: failed program was:" >&5
3360sed 's/^/| /' conftest.$ac_ext >&5
3361
3362  # Broken: fails on valid input.
3363continue
3364fi
3365rm -f conftest.err conftest.$ac_ext
3366
3367  # OK, works on sane cases.  Now check whether non-existent headers
3368  # can be detected and how.
3369  cat >conftest.$ac_ext <<_ACEOF
3370/* confdefs.h.  */
3371_ACEOF
3372cat confdefs.h >>conftest.$ac_ext
3373cat >>conftest.$ac_ext <<_ACEOF
3374/* end confdefs.h.  */
3375#include <ac_nonexistent.h>
3376_ACEOF
3377if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3378  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3379  ac_status=$?
3380  grep -v '^ *+' conftest.er1 >conftest.err
3381  rm -f conftest.er1
3382  cat conftest.err >&5
3383  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384  (exit $ac_status); } >/dev/null; then
3385  if test -s conftest.err; then
3386    ac_cpp_err=$ac_cxx_preproc_warn_flag
3387    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3388  else
3389    ac_cpp_err=
3390  fi
3391else
3392  ac_cpp_err=yes
3393fi
3394if test -z "$ac_cpp_err"; then
3395  # Broken: success on invalid input.
3396continue
3397else
3398  echo "$as_me: failed program was:" >&5
3399sed 's/^/| /' conftest.$ac_ext >&5
3400
3401  # Passes both tests.
3402ac_preproc_ok=:
3403break
3404fi
3405rm -f conftest.err conftest.$ac_ext
3406
3407done
3408# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3409rm -f conftest.err conftest.$ac_ext
3410if $ac_preproc_ok; then
3411  break
3412fi
3413
3414    done
3415    ac_cv_prog_CXXCPP=$CXXCPP
3416
3417fi
3418  CXXCPP=$ac_cv_prog_CXXCPP
3419else
3420  ac_cv_prog_CXXCPP=$CXXCPP
3421fi
3422echo "$as_me:$LINENO: result: $CXXCPP" >&5
3423echo "${ECHO_T}$CXXCPP" >&6
3424ac_preproc_ok=false
3425for ac_cxx_preproc_warn_flag in '' yes
3426do
3427  # Use a header file that comes with gcc, so configuring glibc
3428  # with a fresh cross-compiler works.
3429  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3430  # <limits.h> exists even on freestanding compilers.
3431  # On the NeXT, cc -E runs the code through the compiler's parser,
3432  # not just through cpp. "Syntax error" is here to catch this case.
3433  cat >conftest.$ac_ext <<_ACEOF
3434/* confdefs.h.  */
3435_ACEOF
3436cat confdefs.h >>conftest.$ac_ext
3437cat >>conftest.$ac_ext <<_ACEOF
3438/* end confdefs.h.  */
3439#ifdef __STDC__
3440# include <limits.h>
3441#else
3442# include <assert.h>
3443#endif
3444                     Syntax error
3445_ACEOF
3446if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3447  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3448  ac_status=$?
3449  grep -v '^ *+' conftest.er1 >conftest.err
3450  rm -f conftest.er1
3451  cat conftest.err >&5
3452  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453  (exit $ac_status); } >/dev/null; then
3454  if test -s conftest.err; then
3455    ac_cpp_err=$ac_cxx_preproc_warn_flag
3456    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3457  else
3458    ac_cpp_err=
3459  fi
3460else
3461  ac_cpp_err=yes
3462fi
3463if test -z "$ac_cpp_err"; then
3464  :
3465else
3466  echo "$as_me: failed program was:" >&5
3467sed 's/^/| /' conftest.$ac_ext >&5
3468
3469  # Broken: fails on valid input.
3470continue
3471fi
3472rm -f conftest.err conftest.$ac_ext
3473
3474  # OK, works on sane cases.  Now check whether non-existent headers
3475  # can be detected and how.
3476  cat >conftest.$ac_ext <<_ACEOF
3477/* confdefs.h.  */
3478_ACEOF
3479cat confdefs.h >>conftest.$ac_ext
3480cat >>conftest.$ac_ext <<_ACEOF
3481/* end confdefs.h.  */
3482#include <ac_nonexistent.h>
3483_ACEOF
3484if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3485  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3486  ac_status=$?
3487  grep -v '^ *+' conftest.er1 >conftest.err
3488  rm -f conftest.er1
3489  cat conftest.err >&5
3490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491  (exit $ac_status); } >/dev/null; then
3492  if test -s conftest.err; then
3493    ac_cpp_err=$ac_cxx_preproc_warn_flag
3494    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3495  else
3496    ac_cpp_err=
3497  fi
3498else
3499  ac_cpp_err=yes
3500fi
3501if test -z "$ac_cpp_err"; then
3502  # Broken: success on invalid input.
3503continue
3504else
3505  echo "$as_me: failed program was:" >&5
3506sed 's/^/| /' conftest.$ac_ext >&5
3507
3508  # Passes both tests.
3509ac_preproc_ok=:
3510break
3511fi
3512rm -f conftest.err conftest.$ac_ext
3513
3514done
3515# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3516rm -f conftest.err conftest.$ac_ext
3517if $ac_preproc_ok; then
3518  :
3519else
3520  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3521See \`config.log' for more details." >&5
3522echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3523See \`config.log' for more details." >&2;}
3524   { (exit 1); exit 1; }; }
3525fi
3526
3527ac_ext=cc
3528ac_cpp='$CXXCPP $CPPFLAGS'
3529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3532
3533
3534
3535for ac_header in stack
3536do
3537as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3538if eval "test \"\${$as_ac_Header+set}\" = set"; then
3539  echo "$as_me:$LINENO: checking for $ac_header" >&5
3540echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3541if eval "test \"\${$as_ac_Header+set}\" = set"; then
3542  echo $ECHO_N "(cached) $ECHO_C" >&6
3543fi
3544echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3545echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3546else
3547  # Is the header compilable?
3548echo "$as_me:$LINENO: checking $ac_header usability" >&5
3549echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3550cat >conftest.$ac_ext <<_ACEOF
3551/* confdefs.h.  */
3552_ACEOF
3553cat confdefs.h >>conftest.$ac_ext
3554cat >>conftest.$ac_ext <<_ACEOF
3555/* end confdefs.h.  */
3556$ac_includes_default
3557#include <$ac_header>
3558_ACEOF
3559rm -f conftest.$ac_objext
3560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3561  (eval $ac_compile) 2>conftest.er1
3562  ac_status=$?
3563  grep -v '^ *+' conftest.er1 >conftest.err
3564  rm -f conftest.er1
3565  cat conftest.err >&5
3566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567  (exit $ac_status); } &&
3568         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3569  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570  (eval $ac_try) 2>&5
3571  ac_status=$?
3572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573  (exit $ac_status); }; } &&
3574         { ac_try='test -s conftest.$ac_objext'
3575  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576  (eval $ac_try) 2>&5
3577  ac_status=$?
3578  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579  (exit $ac_status); }; }; then
3580  ac_header_compiler=yes
3581else
3582  echo "$as_me: failed program was:" >&5
3583sed 's/^/| /' conftest.$ac_ext >&5
3584
3585ac_header_compiler=no
3586fi
3587rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3588echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3589echo "${ECHO_T}$ac_header_compiler" >&6
3590
3591# Is the header present?
3592echo "$as_me:$LINENO: checking $ac_header presence" >&5
3593echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3594cat >conftest.$ac_ext <<_ACEOF
3595/* confdefs.h.  */
3596_ACEOF
3597cat confdefs.h >>conftest.$ac_ext
3598cat >>conftest.$ac_ext <<_ACEOF
3599/* end confdefs.h.  */
3600#include <$ac_header>
3601_ACEOF
3602if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3603  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3604  ac_status=$?
3605  grep -v '^ *+' conftest.er1 >conftest.err
3606  rm -f conftest.er1
3607  cat conftest.err >&5
3608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609  (exit $ac_status); } >/dev/null; then
3610  if test -s conftest.err; then
3611    ac_cpp_err=$ac_cxx_preproc_warn_flag
3612    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3613  else
3614    ac_cpp_err=
3615  fi
3616else
3617  ac_cpp_err=yes
3618fi
3619if test -z "$ac_cpp_err"; then
3620  ac_header_preproc=yes
3621else
3622  echo "$as_me: failed program was:" >&5
3623sed 's/^/| /' conftest.$ac_ext >&5
3624
3625  ac_header_preproc=no
3626fi
3627rm -f conftest.err conftest.$ac_ext
3628echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3629echo "${ECHO_T}$ac_header_preproc" >&6
3630
3631# So?  What about this header?
3632case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
3633  yes:no: )
3634    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3635echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3636    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3637echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3638    ac_header_preproc=yes
3639    ;;
3640  no:yes:* )
3641    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3642echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3643    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3644echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3645    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3646echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3647    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3648echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3649    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3650echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3651    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3652echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3653    (
3654      cat <<\_ASBOX
3655## ------------------------------------------ ##
3656## Report this to the AC_PACKAGE_NAME lists.  ##
3657## ------------------------------------------ ##
3658_ASBOX
3659    ) |
3660      sed "s/^/$as_me: WARNING:     /" >&2
3661    ;;
3662esac
3663echo "$as_me:$LINENO: checking for $ac_header" >&5
3664echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3665if eval "test \"\${$as_ac_Header+set}\" = set"; then
3666  echo $ECHO_N "(cached) $ECHO_C" >&6
3667else
3668  eval "$as_ac_Header=\$ac_header_preproc"
3669fi
3670echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3671echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3672
3673fi
3674if test `eval echo '${'$as_ac_Header'}'` = yes; then
3675  cat >>confdefs.h <<_ACEOF
3676#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3677_ACEOF
3678
3679else
3680  { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
3681echo "$as_me: WARNING: STL classes missing ?" >&2;}
3682fi
3683
3684done
3685
3686
3687for ac_header in string
3688do
3689as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3690if eval "test \"\${$as_ac_Header+set}\" = set"; then
3691  echo "$as_me:$LINENO: checking for $ac_header" >&5
3692echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3693if eval "test \"\${$as_ac_Header+set}\" = set"; then
3694  echo $ECHO_N "(cached) $ECHO_C" >&6
3695fi
3696echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3697echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3698else
3699  # Is the header compilable?
3700echo "$as_me:$LINENO: checking $ac_header usability" >&5
3701echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3702cat >conftest.$ac_ext <<_ACEOF
3703/* confdefs.h.  */
3704_ACEOF
3705cat confdefs.h >>conftest.$ac_ext
3706cat >>conftest.$ac_ext <<_ACEOF
3707/* end confdefs.h.  */
3708$ac_includes_default
3709#include <$ac_header>
3710_ACEOF
3711rm -f conftest.$ac_objext
3712if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3713  (eval $ac_compile) 2>conftest.er1
3714  ac_status=$?
3715  grep -v '^ *+' conftest.er1 >conftest.err
3716  rm -f conftest.er1
3717  cat conftest.err >&5
3718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719  (exit $ac_status); } &&
3720         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3722  (eval $ac_try) 2>&5
3723  ac_status=$?
3724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725  (exit $ac_status); }; } &&
3726         { ac_try='test -s conftest.$ac_objext'
3727  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728  (eval $ac_try) 2>&5
3729  ac_status=$?
3730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731  (exit $ac_status); }; }; then
3732  ac_header_compiler=yes
3733else
3734  echo "$as_me: failed program was:" >&5
3735sed 's/^/| /' conftest.$ac_ext >&5
3736
3737ac_header_compiler=no
3738fi
3739rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3740echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3741echo "${ECHO_T}$ac_header_compiler" >&6
3742
3743# Is the header present?
3744echo "$as_me:$LINENO: checking $ac_header presence" >&5
3745echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3746cat >conftest.$ac_ext <<_ACEOF
3747/* confdefs.h.  */
3748_ACEOF
3749cat confdefs.h >>conftest.$ac_ext
3750cat >>conftest.$ac_ext <<_ACEOF
3751/* end confdefs.h.  */
3752#include <$ac_header>
3753_ACEOF
3754if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3755  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3756  ac_status=$?
3757  grep -v '^ *+' conftest.er1 >conftest.err
3758  rm -f conftest.er1
3759  cat conftest.err >&5
3760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761  (exit $ac_status); } >/dev/null; then
3762  if test -s conftest.err; then
3763    ac_cpp_err=$ac_cxx_preproc_warn_flag
3764    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3765  else
3766    ac_cpp_err=
3767  fi
3768else
3769  ac_cpp_err=yes
3770fi
3771if test -z "$ac_cpp_err"; then
3772  ac_header_preproc=yes
3773else
3774  echo "$as_me: failed program was:" >&5
3775sed 's/^/| /' conftest.$ac_ext >&5
3776
3777  ac_header_preproc=no
3778fi
3779rm -f conftest.err conftest.$ac_ext
3780echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3781echo "${ECHO_T}$ac_header_preproc" >&6
3782
3783# So?  What about this header?
3784case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
3785  yes:no: )
3786    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3787echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3788    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3789echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3790    ac_header_preproc=yes
3791    ;;
3792  no:yes:* )
3793    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3794echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3795    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3796echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3797    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3798echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3799    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3800echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3801    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3802echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3803    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3804echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3805    (
3806      cat <<\_ASBOX
3807## ------------------------------------------ ##
3808## Report this to the AC_PACKAGE_NAME lists.  ##
3809## ------------------------------------------ ##
3810_ASBOX
3811    ) |
3812      sed "s/^/$as_me: WARNING:     /" >&2
3813    ;;
3814esac
3815echo "$as_me:$LINENO: checking for $ac_header" >&5
3816echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3817if eval "test \"\${$as_ac_Header+set}\" = set"; then
3818  echo $ECHO_N "(cached) $ECHO_C" >&6
3819else
3820  eval "$as_ac_Header=\$ac_header_preproc"
3821fi
3822echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3823echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3824
3825fi
3826if test `eval echo '${'$as_ac_Header'}'` = yes; then
3827  cat >>confdefs.h <<_ACEOF
3828#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3829_ACEOF
3830
3831else
3832  { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
3833echo "$as_me: WARNING: STL classes missing ?" >&2;}
3834fi
3835
3836done
3837
3838
3839for ac_header in list
3840do
3841as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3842if eval "test \"\${$as_ac_Header+set}\" = set"; then
3843  echo "$as_me:$LINENO: checking for $ac_header" >&5
3844echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3845if eval "test \"\${$as_ac_Header+set}\" = set"; then
3846  echo $ECHO_N "(cached) $ECHO_C" >&6
3847fi
3848echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3849echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3850else
3851  # Is the header compilable?
3852echo "$as_me:$LINENO: checking $ac_header usability" >&5
3853echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3854cat >conftest.$ac_ext <<_ACEOF
3855/* confdefs.h.  */
3856_ACEOF
3857cat confdefs.h >>conftest.$ac_ext
3858cat >>conftest.$ac_ext <<_ACEOF
3859/* end confdefs.h.  */
3860$ac_includes_default
3861#include <$ac_header>
3862_ACEOF
3863rm -f conftest.$ac_objext
3864if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3865  (eval $ac_compile) 2>conftest.er1
3866  ac_status=$?
3867  grep -v '^ *+' conftest.er1 >conftest.err
3868  rm -f conftest.er1
3869  cat conftest.err >&5
3870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871  (exit $ac_status); } &&
3872         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3873  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3874  (eval $ac_try) 2>&5
3875  ac_status=$?
3876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877  (exit $ac_status); }; } &&
3878         { ac_try='test -s conftest.$ac_objext'
3879  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3880  (eval $ac_try) 2>&5
3881  ac_status=$?
3882  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883  (exit $ac_status); }; }; then
3884  ac_header_compiler=yes
3885else
3886  echo "$as_me: failed program was:" >&5
3887sed 's/^/| /' conftest.$ac_ext >&5
3888
3889ac_header_compiler=no
3890fi
3891rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3892echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3893echo "${ECHO_T}$ac_header_compiler" >&6
3894
3895# Is the header present?
3896echo "$as_me:$LINENO: checking $ac_header presence" >&5
3897echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3898cat >conftest.$ac_ext <<_ACEOF
3899/* confdefs.h.  */
3900_ACEOF
3901cat confdefs.h >>conftest.$ac_ext
3902cat >>conftest.$ac_ext <<_ACEOF
3903/* end confdefs.h.  */
3904#include <$ac_header>
3905_ACEOF
3906if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3907  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3908  ac_status=$?
3909  grep -v '^ *+' conftest.er1 >conftest.err
3910  rm -f conftest.er1
3911  cat conftest.err >&5
3912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913  (exit $ac_status); } >/dev/null; then
3914  if test -s conftest.err; then
3915    ac_cpp_err=$ac_cxx_preproc_warn_flag
3916    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3917  else
3918    ac_cpp_err=
3919  fi
3920else
3921  ac_cpp_err=yes
3922fi
3923if test -z "$ac_cpp_err"; then
3924  ac_header_preproc=yes
3925else
3926  echo "$as_me: failed program was:" >&5
3927sed 's/^/| /' conftest.$ac_ext >&5
3928
3929  ac_header_preproc=no
3930fi
3931rm -f conftest.err conftest.$ac_ext
3932echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3933echo "${ECHO_T}$ac_header_preproc" >&6
3934
3935# So?  What about this header?
3936case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
3937  yes:no: )
3938    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3939echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3940    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3941echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3942    ac_header_preproc=yes
3943    ;;
3944  no:yes:* )
3945    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3946echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3947    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3948echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3949    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3950echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3951    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3952echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3953    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3954echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3955    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3956echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3957    (
3958      cat <<\_ASBOX
3959## ------------------------------------------ ##
3960## Report this to the AC_PACKAGE_NAME lists.  ##
3961## ------------------------------------------ ##
3962_ASBOX
3963    ) |
3964      sed "s/^/$as_me: WARNING:     /" >&2
3965    ;;
3966esac
3967echo "$as_me:$LINENO: checking for $ac_header" >&5
3968echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3969if eval "test \"\${$as_ac_Header+set}\" = set"; then
3970  echo $ECHO_N "(cached) $ECHO_C" >&6
3971else
3972  eval "$as_ac_Header=\$ac_header_preproc"
3973fi
3974echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3975echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3976
3977fi
3978if test `eval echo '${'$as_ac_Header'}'` = yes; then
3979  cat >>confdefs.h <<_ACEOF
3980#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3981_ACEOF
3982
3983else
3984  { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
3985echo "$as_me: WARNING: STL classes missing ?" >&2;}
3986fi
3987
3988done
3989
3990
3991for ac_header in vector
3992do
3993as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3994if eval "test \"\${$as_ac_Header+set}\" = set"; then
3995  echo "$as_me:$LINENO: checking for $ac_header" >&5
3996echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3997if eval "test \"\${$as_ac_Header+set}\" = set"; then
3998  echo $ECHO_N "(cached) $ECHO_C" >&6
3999fi
4000echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4001echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4002else
4003  # Is the header compilable?
4004echo "$as_me:$LINENO: checking $ac_header usability" >&5
4005echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4006cat >conftest.$ac_ext <<_ACEOF
4007/* confdefs.h.  */
4008_ACEOF
4009cat confdefs.h >>conftest.$ac_ext
4010cat >>conftest.$ac_ext <<_ACEOF
4011/* end confdefs.h.  */
4012$ac_includes_default
4013#include <$ac_header>
4014_ACEOF
4015rm -f conftest.$ac_objext
4016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4017  (eval $ac_compile) 2>conftest.er1
4018  ac_status=$?
4019  grep -v '^ *+' conftest.er1 >conftest.err
4020  rm -f conftest.er1
4021  cat conftest.err >&5
4022  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023  (exit $ac_status); } &&
4024         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4025  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4026  (eval $ac_try) 2>&5
4027  ac_status=$?
4028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029  (exit $ac_status); }; } &&
4030         { ac_try='test -s conftest.$ac_objext'
4031  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032  (eval $ac_try) 2>&5
4033  ac_status=$?
4034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035  (exit $ac_status); }; }; then
4036  ac_header_compiler=yes
4037else
4038  echo "$as_me: failed program was:" >&5
4039sed 's/^/| /' conftest.$ac_ext >&5
4040
4041ac_header_compiler=no
4042fi
4043rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4044echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4045echo "${ECHO_T}$ac_header_compiler" >&6
4046
4047# Is the header present?
4048echo "$as_me:$LINENO: checking $ac_header presence" >&5
4049echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4050cat >conftest.$ac_ext <<_ACEOF
4051/* confdefs.h.  */
4052_ACEOF
4053cat confdefs.h >>conftest.$ac_ext
4054cat >>conftest.$ac_ext <<_ACEOF
4055/* end confdefs.h.  */
4056#include <$ac_header>
4057_ACEOF
4058if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4059  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4060  ac_status=$?
4061  grep -v '^ *+' conftest.er1 >conftest.err
4062  rm -f conftest.er1
4063  cat conftest.err >&5
4064  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065  (exit $ac_status); } >/dev/null; then
4066  if test -s conftest.err; then
4067    ac_cpp_err=$ac_cxx_preproc_warn_flag
4068    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4069  else
4070    ac_cpp_err=
4071  fi
4072else
4073  ac_cpp_err=yes
4074fi
4075if test -z "$ac_cpp_err"; then
4076  ac_header_preproc=yes
4077else
4078  echo "$as_me: failed program was:" >&5
4079sed 's/^/| /' conftest.$ac_ext >&5
4080
4081  ac_header_preproc=no
4082fi
4083rm -f conftest.err conftest.$ac_ext
4084echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4085echo "${ECHO_T}$ac_header_preproc" >&6
4086
4087# So?  What about this header?
4088case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4089  yes:no: )
4090    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4091echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4092    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4093echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4094    ac_header_preproc=yes
4095    ;;
4096  no:yes:* )
4097    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4098echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4099    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4100echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4101    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4102echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4103    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4104echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4105    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4106echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4107    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4108echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4109    (
4110      cat <<\_ASBOX
4111## ------------------------------------------ ##
4112## Report this to the AC_PACKAGE_NAME lists.  ##
4113## ------------------------------------------ ##
4114_ASBOX
4115    ) |
4116      sed "s/^/$as_me: WARNING:     /" >&2
4117    ;;
4118esac
4119echo "$as_me:$LINENO: checking for $ac_header" >&5
4120echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4121if eval "test \"\${$as_ac_Header+set}\" = set"; then
4122  echo $ECHO_N "(cached) $ECHO_C" >&6
4123else
4124  eval "$as_ac_Header=\$ac_header_preproc"
4125fi
4126echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4127echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4128
4129fi
4130if test `eval echo '${'$as_ac_Header'}'` = yes; then
4131  cat >>confdefs.h <<_ACEOF
4132#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4133_ACEOF
4134
4135else
4136  { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
4137echo "$as_me: WARNING: STL classes missing ?" >&2;}
4138fi
4139
4140done
4141
4142
4143ac_ext=f
4144ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4145ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4146ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4147if test -n "$ac_tool_prefix"; then
4148  for ac_prog in f77 fort77 g77 f90 xlf xlf90 fl32
4149  do
4150    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4151set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4152echo "$as_me:$LINENO: checking for $ac_word" >&5
4153echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4154if test "${ac_cv_prog_F77+set}" = set; then
4155  echo $ECHO_N "(cached) $ECHO_C" >&6
4156else
4157  if test -n "$F77"; then
4158  ac_cv_prog_F77="$F77" # Let the user override the test.
4159else
4160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161for as_dir in $PATH
4162do
4163  IFS=$as_save_IFS
4164  test -z "$as_dir" && as_dir=.
4165  for ac_exec_ext in '' $ac_executable_extensions; do
4166  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4168    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4169    break 2
4170  fi
4171done
4172done
4173
4174fi
4175fi
4176F77=$ac_cv_prog_F77
4177if test -n "$F77"; then
4178  echo "$as_me:$LINENO: result: $F77" >&5
4179echo "${ECHO_T}$F77" >&6
4180else
4181  echo "$as_me:$LINENO: result: no" >&5
4182echo "${ECHO_T}no" >&6
4183fi
4184
4185    test -n "$F77" && break
4186  done
4187fi
4188if test -z "$F77"; then
4189  ac_ct_F77=$F77
4190  for ac_prog in f77 fort77 g77 f90 xlf xlf90 fl32
4191do
4192  # Extract the first word of "$ac_prog", so it can be a program name with args.
4193set dummy $ac_prog; ac_word=$2
4194echo "$as_me:$LINENO: checking for $ac_word" >&5
4195echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4196if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4197  echo $ECHO_N "(cached) $ECHO_C" >&6
4198else
4199  if test -n "$ac_ct_F77"; then
4200  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4201else
4202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203for as_dir in $PATH
4204do
4205  IFS=$as_save_IFS
4206  test -z "$as_dir" && as_dir=.
4207  for ac_exec_ext in '' $ac_executable_extensions; do
4208  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209    ac_cv_prog_ac_ct_F77="$ac_prog"
4210    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211    break 2
4212  fi
4213done
4214done
4215
4216fi
4217fi
4218ac_ct_F77=$ac_cv_prog_ac_ct_F77
4219if test -n "$ac_ct_F77"; then
4220  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4221echo "${ECHO_T}$ac_ct_F77" >&6
4222else
4223  echo "$as_me:$LINENO: result: no" >&5
4224echo "${ECHO_T}no" >&6
4225fi
4226
4227  test -n "$ac_ct_F77" && break
4228done
4229
4230  F77=$ac_ct_F77
4231fi
4232
4233
4234# Provide some information about the compiler.
4235echo "$as_me:4235:" \
4236     "checking for Fortran 77 compiler version" >&5
4237ac_compiler=`set X $ac_compile; echo $2`
4238{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4239  (eval $ac_compiler --version </dev/null >&5) 2>&5
4240  ac_status=$?
4241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242  (exit $ac_status); }
4243{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4244  (eval $ac_compiler -v </dev/null >&5) 2>&5
4245  ac_status=$?
4246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247  (exit $ac_status); }
4248{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4249  (eval $ac_compiler -V </dev/null >&5) 2>&5
4250  ac_status=$?
4251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252  (exit $ac_status); }
4253rm -f a.out
4254
4255# If we don't use `.F' as extension, the preprocessor is not run on the
4256# input file.  (Note that this only needs to work for GNU compilers.)
4257ac_save_ext=$ac_ext
4258ac_ext=F
4259echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4260echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4261if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4262  echo $ECHO_N "(cached) $ECHO_C" >&6
4263else
4264  cat >conftest.$ac_ext <<_ACEOF
4265      program main
4266#ifndef __GNUC__
4267       choke me
4268#endif
4269
4270      end
4271_ACEOF
4272rm -f conftest.$ac_objext
4273if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4274  (eval $ac_compile) 2>conftest.er1
4275  ac_status=$?
4276  grep -v '^ *+' conftest.er1 >conftest.err
4277  rm -f conftest.er1
4278  cat conftest.err >&5
4279  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280  (exit $ac_status); } &&
4281         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
4282  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283  (eval $ac_try) 2>&5
4284  ac_status=$?
4285  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286  (exit $ac_status); }; } &&
4287         { ac_try='test -s conftest.$ac_objext'
4288  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289  (eval $ac_try) 2>&5
4290  ac_status=$?
4291  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292  (exit $ac_status); }; }; then
4293  ac_compiler_gnu=yes
4294else
4295  echo "$as_me: failed program was:" >&5
4296sed 's/^/| /' conftest.$ac_ext >&5
4297
4298ac_compiler_gnu=no
4299fi
4300rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4301ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4302
4303fi
4304echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4305echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4306ac_ext=$ac_save_ext
4307ac_test_FFLAGS=${FFLAGS+set}
4308ac_save_FFLAGS=$FFLAGS
4309FFLAGS=
4310echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4311echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4312if test "${ac_cv_prog_f77_g+set}" = set; then
4313  echo $ECHO_N "(cached) $ECHO_C" >&6
4314else
4315  FFLAGS=-g
4316cat >conftest.$ac_ext <<_ACEOF
4317      program main
4318
4319      end
4320_ACEOF
4321rm -f conftest.$ac_objext
4322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323  (eval $ac_compile) 2>conftest.er1
4324  ac_status=$?
4325  grep -v '^ *+' conftest.er1 >conftest.err
4326  rm -f conftest.er1
4327  cat conftest.err >&5
4328  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329  (exit $ac_status); } &&
4330         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
4331  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4332  (eval $ac_try) 2>&5
4333  ac_status=$?
4334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335  (exit $ac_status); }; } &&
4336         { ac_try='test -s conftest.$ac_objext'
4337  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338  (eval $ac_try) 2>&5
4339  ac_status=$?
4340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341  (exit $ac_status); }; }; then
4342  ac_cv_prog_f77_g=yes
4343else
4344  echo "$as_me: failed program was:" >&5
4345sed 's/^/| /' conftest.$ac_ext >&5
4346
4347ac_cv_prog_f77_g=no
4348fi
4349rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4350
4351fi
4352echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
4353echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
4354if test "$ac_test_FFLAGS" = set; then
4355  FFLAGS=$ac_save_FFLAGS
4356elif test $ac_cv_prog_f77_g = yes; then
4357  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4358    FFLAGS="-g -O2"
4359  else
4360    FFLAGS="-g"
4361  fi
4362else
4363  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4364    FFLAGS="-O2"
4365  else
4366    FFLAGS=
4367  fi
4368fi
4369
4370G77=`test $ac_compiler_gnu = yes && echo yes`
4371ac_ext=cc
4372ac_cpp='$CXXCPP $CPPFLAGS'
4373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4376
4377
4378
4379
4380RP_BASE=`pwd`
4381
4382
4383                                                                                          ac_config_files="$ac_config_files Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/c-example/Makefile src/Makefile src/matlab/Makefile src/octave/Makefile test/Makefile gui/apps/rappture"
4384cat >confcache <<\_ACEOF
4385# This file is a shell script that caches the results of configure
4386# tests run on this system so they can be shared between configure
4387# scripts and configure runs, see configure's option --config-cache.
4388# It is not useful on other systems.  If it contains results you don't
4389# want to keep, you may remove or edit it.
4390#
4391# config.status only pays attention to the cache file if you give it
4392# the --recheck option to rerun configure.
4393#
4394# `ac_cv_env_foo' variables (set or unset) will be overridden when
4395# loading this file, other *unset* `ac_cv_foo' will be assigned the
4396# following values.
4397
4398_ACEOF
4399
4400# The following way of writing the cache mishandles newlines in values,
4401# but we know of no workaround that is simple, portable, and efficient.
4402# So, don't put newlines in cache variables' values.
4403# Ultrix sh set writes to stderr and can't be redirected directly,
4404# and sets the high bit in the cache file unless we assign to the vars.
4405{
4406  (set) 2>&1 |
4407    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4408    *ac_space=\ *)
4409      # `set' does not quote correctly, so add quotes (double-quote
4410      # substitution turns \\\\ into \\, and sed turns \\ into \).
4411      sed -n \
4412        "s/'/'\\\\''/g;
4413          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4414      ;;
4415    *)
4416      # `set' quotes correctly as required by POSIX, so do not add quotes.
4417      sed -n \
4418        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4419      ;;
4420    esac;
4421} |
4422  sed '
4423     t clear
4424     : clear
4425     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4426     t end
4427     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4428     : end' >>confcache
4429if diff $cache_file confcache >/dev/null 2>&1; then :; else
4430  if test -w $cache_file; then
4431    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4432    cat confcache >$cache_file
4433  else
4434    echo "not updating unwritable cache $cache_file"
4435  fi
4436fi
4437rm -f confcache
4438
4439test "x$prefix" = xNONE && prefix=$ac_default_prefix
4440# Let make expand exec_prefix.
4441test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4442
4443# VPATH may cause trouble with some makes, so we remove $(srcdir),
4444# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4445# trailing colons and then remove the whole line if VPATH becomes empty
4446# (actually we leave an empty line to preserve line numbers).
4447if test "x$srcdir" = x.; then
4448  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4449s/:*\$(srcdir):*/:/;
4450s/:*\${srcdir}:*/:/;
4451s/:*@srcdir@:*/:/;
4452s/^\([^=]*=[     ]*\):*/\1/;
4453s/:*$//;
4454s/^[^=]*=[       ]*$//;
4455}'
4456fi
4457
4458# Transform confdefs.h into DEFS.
4459# Protect against shell expansion while executing Makefile rules.
4460# Protect against Makefile macro expansion.
4461#
4462# If the first sed substitution is executed (which looks for macros that
4463# take arguments), then we branch to the quote section.  Otherwise,
4464# look for a macro that doesn't take arguments.
4465cat >confdef2opt.sed <<\_ACEOF
4466t clear
4467: clear
4468s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4469t quote
4470s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4471t quote
4472d
4473: quote
4474s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
4475s,\[,\\&,g
4476s,\],\\&,g
4477s,\$,$$,g
4478p
4479_ACEOF
4480# We use echo to avoid assuming a particular line-breaking character.
4481# The extra dot is to prevent the shell from consuming trailing
4482# line-breaks from the sub-command output.  A line-break within
4483# single-quotes doesn't work because, if this script is created in a
4484# platform that uses two characters for line-breaks (e.g., DOS), tr
4485# would break.
4486ac_LF_and_DOT=`echo; echo .`
4487DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4488rm -f confdef2opt.sed
4489
4490
4491ac_libobjs=
4492ac_ltlibobjs=
4493for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4494  # 1. Remove the extension, and $U if already installed.
4495  ac_i=`echo "$ac_i" |
4496         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4497  # 2. Add them.
4498  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4499  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4500done
4501LIBOBJS=$ac_libobjs
4502
4503LTLIBOBJS=$ac_ltlibobjs
4504
4505
4506
4507: ${CONFIG_STATUS=./config.status}
4508ac_clean_files_save=$ac_clean_files
4509ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4510{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4511echo "$as_me: creating $CONFIG_STATUS" >&6;}
4512cat >$CONFIG_STATUS <<_ACEOF
4513#! $SHELL
4514# Generated by $as_me.
4515# Run this file to recreate the current configuration.
4516# Compiler output produced by configure, useful for debugging
4517# configure, is in config.log if it exists.
4518
4519debug=false
4520ac_cs_recheck=false
4521ac_cs_silent=false
4522SHELL=\${CONFIG_SHELL-$SHELL}
4523_ACEOF
4524
4525cat >>$CONFIG_STATUS <<\_ACEOF
4526## --------------------- ##
4527## M4sh Initialization.  ##
4528## --------------------- ##
4529
4530# Be Bourne compatible
4531if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4532  emulate sh
4533  NULLCMD=:
4534  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4535  # is contrary to our usage.  Disable this feature.
4536  alias -g '${1+"$@"}'='"$@"'
4537elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4538  set -o posix
4539fi
4540DUALCASE=1; export DUALCASE # for MKS sh
4541
4542# Support unset when possible.
4543if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4544  as_unset=unset
4545else
4546  as_unset=false
4547fi
4548
4549
4550# Work around bugs in pre-3.0 UWIN ksh.
4551$as_unset ENV MAIL MAILPATH
4552PS1='$ '
4553PS2='> '
4554PS4='+ '
4555
4556# NLS nuisances.
4557for as_var in \
4558  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4559  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4560  LC_TELEPHONE LC_TIME
4561do
4562  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4563    eval $as_var=C; export $as_var
4564  else
4565    $as_unset $as_var
4566  fi
4567done
4568
4569# Required to use basename.
4570if expr a : '\(a\)' >/dev/null 2>&1; then
4571  as_expr=expr
4572else
4573  as_expr=false
4574fi
4575
4576if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4577  as_basename=basename
4578else
4579  as_basename=false
4580fi
4581
4582
4583# Name of the executable.
4584as_me=`$as_basename "$0" ||
4585$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4586         X"$0" : 'X\(//\)$' \| \
4587         X"$0" : 'X\(/\)$' \| \
4588         .     : '\(.\)' 2>/dev/null ||
4589echo X/"$0" |
4590    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4591          /^X\/\(\/\/\)$/{ s//\1/; q; }
4592          /^X\/\(\/\).*/{ s//\1/; q; }
4593          s/.*/./; q'`
4594
4595
4596# PATH needs CR, and LINENO needs CR and PATH.
4597# Avoid depending upon Character Ranges.
4598as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4599as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4600as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4601as_cr_digits='0123456789'
4602as_cr_alnum=$as_cr_Letters$as_cr_digits
4603
4604# The user is always right.
4605if test "${PATH_SEPARATOR+set}" != set; then
4606  echo "#! /bin/sh" >conf$$.sh
4607  echo  "exit 0"   >>conf$$.sh
4608  chmod +x conf$$.sh
4609  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4610    PATH_SEPARATOR=';'
4611  else
4612    PATH_SEPARATOR=:
4613  fi
4614  rm -f conf$$.sh
4615fi
4616
4617
4618  as_lineno_1=$LINENO
4619  as_lineno_2=$LINENO
4620  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4621  test "x$as_lineno_1" != "x$as_lineno_2" &&
4622  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4623  # Find who we are.  Look in the path if we contain no path at all
4624  # relative or not.
4625  case $0 in
4626    *[\\/]* ) as_myself=$0 ;;
4627    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628for as_dir in $PATH
4629do
4630  IFS=$as_save_IFS
4631  test -z "$as_dir" && as_dir=.
4632  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4633done
4634
4635       ;;
4636  esac
4637  # We did not find ourselves, most probably we were run as `sh COMMAND'
4638  # in which case we are not to be found in the path.
4639  if test "x$as_myself" = x; then
4640    as_myself=$0
4641  fi
4642  if test ! -f "$as_myself"; then
4643    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4644echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4645   { (exit 1); exit 1; }; }
4646  fi
4647  case $CONFIG_SHELL in
4648  '')
4649    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4651do
4652  IFS=$as_save_IFS
4653  test -z "$as_dir" && as_dir=.
4654  for as_base in sh bash ksh sh5; do
4655         case $as_dir in
4656         /*)
4657           if ("$as_dir/$as_base" -c '
4658  as_lineno_1=$LINENO
4659  as_lineno_2=$LINENO
4660  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4661  test "x$as_lineno_1" != "x$as_lineno_2" &&
4662  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4663             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4664             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4665             CONFIG_SHELL=$as_dir/$as_base
4666             export CONFIG_SHELL
4667             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4668           fi;;
4669         esac
4670       done
4671done
4672;;
4673  esac
4674
4675  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4676  # uniformly replaced by the line number.  The first 'sed' inserts a
4677  # line-number line before each line; the second 'sed' does the real
4678  # work.  The second script uses 'N' to pair each line-number line
4679  # with the numbered line, and appends trailing '-' during
4680  # substitution so that $LINENO is not a special case at line end.
4681  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4682  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4683  sed '=' <$as_myself |
4684    sed '
4685      N
4686      s,$,-,
4687      : loop
4688      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4689      t loop
4690      s,-$,,
4691      s,^['$as_cr_digits']*\n,,
4692    ' >$as_me.lineno &&
4693  chmod +x $as_me.lineno ||
4694    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4695echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4696   { (exit 1); exit 1; }; }
4697
4698  # Don't try to exec as it changes $[0], causing all sort of problems
4699  # (the dirname of $[0] is not the place where we might find the
4700  # original and so on.  Autoconf is especially sensible to this).
4701  . ./$as_me.lineno
4702  # Exit status is that of the last command.
4703  exit
4704}
4705
4706
4707case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4708  *c*,-n*) ECHO_N= ECHO_C='
4709' ECHO_T='      ' ;;
4710  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4711  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4712esac
4713
4714if expr a : '\(a\)' >/dev/null 2>&1; then
4715  as_expr=expr
4716else
4717  as_expr=false
4718fi
4719
4720rm -f conf$$ conf$$.exe conf$$.file
4721echo >conf$$.file
4722if ln -s conf$$.file conf$$ 2>/dev/null; then
4723  # We could just check for DJGPP; but this test a) works b) is more generic
4724  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4725  if test -f conf$$.exe; then
4726    # Don't use ln at all; we don't have any links
4727    as_ln_s='cp -p'
4728  else
4729    as_ln_s='ln -s'
4730  fi
4731elif ln conf$$.file conf$$ 2>/dev/null; then
4732  as_ln_s=ln
4733else
4734  as_ln_s='cp -p'
4735fi
4736rm -f conf$$ conf$$.exe conf$$.file
4737
4738if mkdir -p . 2>/dev/null; then
4739  as_mkdir_p=:
4740else
4741  test -d ./-p && rmdir ./-p
4742  as_mkdir_p=false
4743fi
4744
4745as_executable_p="test -f"
4746
4747# Sed expression to map a string onto a valid CPP name.
4748as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4749
4750# Sed expression to map a string onto a valid variable name.
4751as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4752
4753
4754# IFS
4755# We need space, tab and new line, in precisely that order.
4756as_nl='
4757'
4758IFS="   $as_nl"
4759
4760# CDPATH.
4761$as_unset CDPATH
4762
4763exec 6>&1
4764
4765# Open the log real soon, to keep \$[0] and so on meaningful, and to
4766# report actual input values of CONFIG_FILES etc. instead of their
4767# values after options handling.  Logging --version etc. is OK.
4768exec 5>>config.log
4769{
4770  echo
4771  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4772## Running $as_me. ##
4773_ASBOX
4774} >&5
4775cat >&5 <<_CSEOF
4776
4777This file was extended by $as_me, which was
4778generated by GNU Autoconf 2.59.  Invocation command line was
4779
4780  CONFIG_FILES    = $CONFIG_FILES
4781  CONFIG_HEADERS  = $CONFIG_HEADERS
4782  CONFIG_LINKS    = $CONFIG_LINKS
4783  CONFIG_COMMANDS = $CONFIG_COMMANDS
4784  $ $0 $@
4785
4786_CSEOF
4787echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4788echo >&5
4789_ACEOF
4790
4791# Files that config.status was made for.
4792if test -n "$ac_config_files"; then
4793  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4794fi
4795
4796if test -n "$ac_config_headers"; then
4797  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4798fi
4799
4800if test -n "$ac_config_links"; then
4801  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4802fi
4803
4804if test -n "$ac_config_commands"; then
4805  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4806fi
4807
4808cat >>$CONFIG_STATUS <<\_ACEOF
4809
4810ac_cs_usage="\
4811\`$as_me' instantiates files from templates according to the
4812current configuration.
4813
4814Usage: $0 [OPTIONS] [FILE]...
4815
4816  -h, --help       print this help, then exit
4817  -V, --version    print version number, then exit
4818  -q, --quiet      do not print progress messages
4819  -d, --debug      don't remove temporary files
4820      --recheck    update $as_me by reconfiguring in the same conditions
4821  --file=FILE[:TEMPLATE]
4822                   instantiate the configuration file FILE
4823
4824Configuration files:
4825$config_files
4826
4827Report bugs to <bug-autoconf@gnu.org>."
4828_ACEOF
4829
4830cat >>$CONFIG_STATUS <<_ACEOF
4831ac_cs_version="\\
4832config.status
4833configured by $0, generated by GNU Autoconf 2.59,
4834  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4835
4836Copyright (C) 2003 Free Software Foundation, Inc.
4837This config.status script is free software; the Free Software Foundation
4838gives unlimited permission to copy, distribute and modify it."
4839srcdir=$srcdir
4840_ACEOF
4841
4842cat >>$CONFIG_STATUS <<\_ACEOF
4843# If no file are specified by the user, then we need to provide default
4844# value.  By we need to know if files were specified by the user.
4845ac_need_defaults=:
4846while test $# != 0
4847do
4848  case $1 in
4849  --*=*)
4850    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4851    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4852    ac_shift=:
4853    ;;
4854  -*)
4855    ac_option=$1
4856    ac_optarg=$2
4857    ac_shift=shift
4858    ;;
4859  *) # This is not an option, so the user has probably given explicit
4860     # arguments.
4861     ac_option=$1
4862     ac_need_defaults=false;;
4863  esac
4864
4865  case $ac_option in
4866  # Handling of the options.
4867_ACEOF
4868cat >>$CONFIG_STATUS <<\_ACEOF
4869  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4870    ac_cs_recheck=: ;;
4871  --version | --vers* | -V )
4872    echo "$ac_cs_version"; exit 0 ;;
4873  --he | --h)
4874    # Conflict between --help and --header
4875    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4876Try \`$0 --help' for more information." >&5
4877echo "$as_me: error: ambiguous option: $1
4878Try \`$0 --help' for more information." >&2;}
4879   { (exit 1); exit 1; }; };;
4880  --help | --hel | -h )
4881    echo "$ac_cs_usage"; exit 0 ;;
4882  --debug | --d* | -d )
4883    debug=: ;;
4884  --file | --fil | --fi | --f )
4885    $ac_shift
4886    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4887    ac_need_defaults=false;;
4888  --header | --heade | --head | --hea )
4889    $ac_shift
4890    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4891    ac_need_defaults=false;;
4892  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4893  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4894    ac_cs_silent=: ;;
4895
4896  # This is an error.
4897  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4898Try \`$0 --help' for more information." >&5
4899echo "$as_me: error: unrecognized option: $1
4900Try \`$0 --help' for more information." >&2;}
4901   { (exit 1); exit 1; }; } ;;
4902
4903  *) ac_config_targets="$ac_config_targets $1" ;;
4904
4905  esac
4906  shift
4907done
4908
4909ac_configure_extra_args=
4910
4911if $ac_cs_silent; then
4912  exec 6>/dev/null
4913  ac_configure_extra_args="$ac_configure_extra_args --silent"
4914fi
4915
4916_ACEOF
4917cat >>$CONFIG_STATUS <<_ACEOF
4918if \$ac_cs_recheck; then
4919  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4920  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4921fi
4922
4923_ACEOF
4924
4925
4926
4927
4928
4929cat >>$CONFIG_STATUS <<\_ACEOF
4930for ac_config_target in $ac_config_targets
4931do
4932  case "$ac_config_target" in
4933  # Handling of arguments.
4934  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4935  "examples/app-fermi/cee/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/app-fermi/cee/Makefile" ;;
4936  "examples/app-fermi/fortran/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/app-fermi/fortran/Makefile" ;;
4937  "examples/c-example/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/c-example/Makefile" ;;
4938  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4939  "src/matlab/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/matlab/Makefile" ;;
4940  "src/octave/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/octave/Makefile" ;;
4941  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
4942  "gui/apps/rappture" ) CONFIG_FILES="$CONFIG_FILES gui/apps/rappture" ;;
4943  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4944echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4945   { (exit 1); exit 1; }; };;
4946  esac
4947done
4948
4949# If the user did not use the arguments to specify the items to instantiate,
4950# then the envvar interface is used.  Set only those that are not.
4951# We use the long form for the default assignment because of an extremely
4952# bizarre bug on SunOS 4.1.3.
4953if $ac_need_defaults; then
4954  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4955fi
4956
4957# Have a temporary directory for convenience.  Make it in the build tree
4958# simply because there is no reason to put it here, and in addition,
4959# creating and moving files from /tmp can sometimes cause problems.
4960# Create a temporary directory, and hook for its removal unless debugging.
4961$debug ||
4962{
4963  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4964  trap '{ (exit 1); exit 1; }' 1 2 13 15
4965}
4966
4967# Create a (secure) tmp directory for tmp files.
4968
4969{
4970  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4971  test -n "$tmp" && test -d "$tmp"
4972}  ||
4973{
4974  tmp=./confstat$$-$RANDOM
4975  (umask 077 && mkdir $tmp)
4976} ||
4977{
4978   echo "$me: cannot create a temporary directory in ." >&2
4979   { (exit 1); exit 1; }
4980}
4981
4982_ACEOF
4983
4984cat >>$CONFIG_STATUS <<_ACEOF
4985
4986#
4987# CONFIG_FILES section.
4988#
4989
4990# No need to generate the scripts if there are no CONFIG_FILES.
4991# This happens for instance when ./config.status config.h
4992if test -n "\$CONFIG_FILES"; then
4993  # Protect against being on the right side of a sed subst in config.status.
4994  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4995   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4996s,@SHELL@,$SHELL,;t t
4997s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4998s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4999s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5000s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5001s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5002s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5003s,@exec_prefix@,$exec_prefix,;t t
5004s,@prefix@,$prefix,;t t
5005s,@program_transform_name@,$program_transform_name,;t t
5006s,@bindir@,$bindir,;t t
5007s,@sbindir@,$sbindir,;t t
5008s,@libexecdir@,$libexecdir,;t t
5009s,@datadir@,$datadir,;t t
5010s,@sysconfdir@,$sysconfdir,;t t
5011s,@sharedstatedir@,$sharedstatedir,;t t
5012s,@localstatedir@,$localstatedir,;t t
5013s,@libdir@,$libdir,;t t
5014s,@includedir@,$includedir,;t t
5015s,@oldincludedir@,$oldincludedir,;t t
5016s,@infodir@,$infodir,;t t
5017s,@mandir@,$mandir,;t t
5018s,@build_alias@,$build_alias,;t t
5019s,@host_alias@,$host_alias,;t t
5020s,@target_alias@,$target_alias,;t t
5021s,@DEFS@,$DEFS,;t t
5022s,@ECHO_C@,$ECHO_C,;t t
5023s,@ECHO_N@,$ECHO_N,;t t
5024s,@ECHO_T@,$ECHO_T,;t t
5025s,@LIBS@,$LIBS,;t t
5026s,@SET_MAKE@,$SET_MAKE,;t t
5027s,@CC@,$CC,;t t
5028s,@CFLAGS@,$CFLAGS,;t t
5029s,@LDFLAGS@,$LDFLAGS,;t t
5030s,@CPPFLAGS@,$CPPFLAGS,;t t
5031s,@ac_ct_CC@,$ac_ct_CC,;t t
5032s,@EXEEXT@,$EXEEXT,;t t
5033s,@OBJEXT@,$OBJEXT,;t t
5034s,@CPP@,$CPP,;t t
5035s,@EGREP@,$EGREP,;t t
5036s,@CXX@,$CXX,;t t
5037s,@CXXFLAGS@,$CXXFLAGS,;t t
5038s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5039s,@CXXCPP@,$CXXCPP,;t t
5040s,@F77@,$F77,;t t
5041s,@FFLAGS@,$FFLAGS,;t t
5042s,@ac_ct_F77@,$ac_ct_F77,;t t
5043s,@VERSION@,$VERSION,;t t
5044s,@RP_BASE@,$RP_BASE,;t t
5045s,@LIBOBJS@,$LIBOBJS,;t t
5046s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5047CEOF
5048
5049_ACEOF
5050
5051  cat >>$CONFIG_STATUS <<\_ACEOF
5052  # Split the substitutions into bite-sized pieces for seds with
5053  # small command number limits, like on Digital OSF/1 and HP-UX.
5054  ac_max_sed_lines=48
5055  ac_sed_frag=1 # Number of current file.
5056  ac_beg=1 # First line for current file.
5057  ac_end=$ac_max_sed_lines # Line after last line for current file.
5058  ac_more_lines=:
5059  ac_sed_cmds=
5060  while $ac_more_lines; do
5061    if test $ac_beg -gt 1; then
5062      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5063    else
5064      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5065    fi
5066    if test ! -s $tmp/subs.frag; then
5067      ac_more_lines=false
5068    else
5069      # The purpose of the label and of the branching condition is to
5070      # speed up the sed processing (if there are no `@' at all, there
5071      # is no need to browse any of the substitutions).
5072      # These are the two extra sed commands mentioned above.
5073      (echo ':t
5074  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5075      if test -z "$ac_sed_cmds"; then
5076        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5077      else
5078        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5079      fi
5080      ac_sed_frag=`expr $ac_sed_frag + 1`
5081      ac_beg=$ac_end
5082      ac_end=`expr $ac_end + $ac_max_sed_lines`
5083    fi
5084  done
5085  if test -z "$ac_sed_cmds"; then
5086    ac_sed_cmds=cat
5087  fi
5088fi # test -n "$CONFIG_FILES"
5089
5090_ACEOF
5091cat >>$CONFIG_STATUS <<\_ACEOF
5092for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5093  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5094  case $ac_file in
5095  - | *:- | *:-:* ) # input from stdin
5096        cat >$tmp/stdin
5097        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5098        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5099  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5100        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5101  * )   ac_file_in=$ac_file.in ;;
5102  esac
5103
5104  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5105  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5106$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5107         X"$ac_file" : 'X\(//\)[^/]' \| \
5108         X"$ac_file" : 'X\(//\)$' \| \
5109         X"$ac_file" : 'X\(/\)' \| \
5110         .     : '\(.\)' 2>/dev/null ||
5111echo X"$ac_file" |
5112    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5113          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5114          /^X\(\/\/\)$/{ s//\1/; q; }
5115          /^X\(\/\).*/{ s//\1/; q; }
5116          s/.*/./; q'`
5117  { if $as_mkdir_p; then
5118    mkdir -p "$ac_dir"
5119  else
5120    as_dir="$ac_dir"
5121    as_dirs=
5122    while test ! -d "$as_dir"; do
5123      as_dirs="$as_dir $as_dirs"
5124      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5125$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5126         X"$as_dir" : 'X\(//\)[^/]' \| \
5127         X"$as_dir" : 'X\(//\)$' \| \
5128         X"$as_dir" : 'X\(/\)' \| \
5129         .     : '\(.\)' 2>/dev/null ||
5130echo X"$as_dir" |
5131    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5132          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5133          /^X\(\/\/\)$/{ s//\1/; q; }
5134          /^X\(\/\).*/{ s//\1/; q; }
5135          s/.*/./; q'`
5136    done
5137    test ! -n "$as_dirs" || mkdir $as_dirs
5138  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5139echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5140   { (exit 1); exit 1; }; }; }
5141
5142  ac_builddir=.
5143
5144if test "$ac_dir" != .; then
5145  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5146  # A "../" for each directory in $ac_dir_suffix.
5147  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5148else
5149  ac_dir_suffix= ac_top_builddir=
5150fi
5151
5152case $srcdir in
5153  .)  # No --srcdir option.  We are building in place.
5154    ac_srcdir=.
5155    if test -z "$ac_top_builddir"; then
5156       ac_top_srcdir=.
5157    else
5158       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5159    fi ;;
5160  [\\/]* | ?:[\\/]* )  # Absolute path.
5161    ac_srcdir=$srcdir$ac_dir_suffix;
5162    ac_top_srcdir=$srcdir ;;
5163  *) # Relative path.
5164    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5165    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5166esac
5167
5168# Do not use `cd foo && pwd` to compute absolute paths, because
5169# the directories may not exist.
5170case `pwd` in
5171.) ac_abs_builddir="$ac_dir";;
5172*)
5173  case "$ac_dir" in
5174  .) ac_abs_builddir=`pwd`;;
5175  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5176  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5177  esac;;
5178esac
5179case $ac_abs_builddir in
5180.) ac_abs_top_builddir=${ac_top_builddir}.;;
5181*)
5182  case ${ac_top_builddir}. in
5183  .) ac_abs_top_builddir=$ac_abs_builddir;;
5184  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5185  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5186  esac;;
5187esac
5188case $ac_abs_builddir in
5189.) ac_abs_srcdir=$ac_srcdir;;
5190*)
5191  case $ac_srcdir in
5192  .) ac_abs_srcdir=$ac_abs_builddir;;
5193  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5194  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5195  esac;;
5196esac
5197case $ac_abs_builddir in
5198.) ac_abs_top_srcdir=$ac_top_srcdir;;
5199*)
5200  case $ac_top_srcdir in
5201  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5202  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5203  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5204  esac;;
5205esac
5206
5207
5208
5209  # Let's still pretend it is `configure' which instantiates (i.e., don't
5210  # use $as_me), people would be surprised to read:
5211  #    /* config.h.  Generated by config.status.  */
5212  if test x"$ac_file" = x-; then
5213    configure_input=
5214  else
5215    configure_input="$ac_file.  "
5216  fi
5217  configure_input=$configure_input"Generated from `echo $ac_file_in |
5218                                     sed 's,.*/,,'` by configure."
5219
5220  # First look for the input files in the build tree, otherwise in the
5221  # src tree.
5222  ac_file_inputs=`IFS=:
5223    for f in $ac_file_in; do
5224      case $f in
5225      -) echo $tmp/stdin ;;
5226      [\\/$]*)
5227         # Absolute (can't be DOS-style, as IFS=:)
5228         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5229echo "$as_me: error: cannot find input file: $f" >&2;}
5230   { (exit 1); exit 1; }; }
5231         echo "$f";;
5232      *) # Relative
5233         if test -f "$f"; then
5234           # Build tree
5235           echo "$f"
5236         elif test -f "$srcdir/$f"; then
5237           # Source tree
5238           echo "$srcdir/$f"
5239         else
5240           # /dev/null tree
5241           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5242echo "$as_me: error: cannot find input file: $f" >&2;}
5243   { (exit 1); exit 1; }; }
5244         fi;;
5245      esac
5246    done` || { (exit 1); exit 1; }
5247
5248  if test x"$ac_file" != x-; then
5249    { echo "$as_me:$LINENO: creating $ac_file" >&5
5250echo "$as_me: creating $ac_file" >&6;}
5251    rm -f "$ac_file"
5252  fi
5253_ACEOF
5254cat >>$CONFIG_STATUS <<_ACEOF
5255  sed "$ac_vpsub
5256$extrasub
5257_ACEOF
5258cat >>$CONFIG_STATUS <<\_ACEOF
5259:t
5260/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5261s,@configure_input@,$configure_input,;t t
5262s,@srcdir@,$ac_srcdir,;t t
5263s,@abs_srcdir@,$ac_abs_srcdir,;t t
5264s,@top_srcdir@,$ac_top_srcdir,;t t
5265s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5266s,@builddir@,$ac_builddir,;t t
5267s,@abs_builddir@,$ac_abs_builddir,;t t
5268s,@top_builddir@,$ac_top_builddir,;t t
5269s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5270" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5271  rm -f $tmp/stdin
5272  if test x"$ac_file" != x-; then
5273    mv $tmp/out $ac_file
5274  else
5275    cat $tmp/out
5276    rm -f $tmp/out
5277  fi
5278
5279done
5280_ACEOF
5281
5282cat >>$CONFIG_STATUS <<\_ACEOF
5283
5284{ (exit 0); exit 0; }
5285_ACEOF
5286chmod +x $CONFIG_STATUS
5287ac_clean_files=$ac_clean_files_save
5288
5289
5290# configure is writing to config.log, and then calls config.status.
5291# config.status does its own redirection, appending to config.log.
5292# Unfortunately, on DOS this fails, as config.log is still kept open
5293# by configure, so config.status won't be able to write to it; its
5294# output is simply discarded.  So we exec the FD to /dev/null,
5295# effectively closing config.log, so it can be properly (re)opened and
5296# appended to by config.status.  When coming back to configure, we
5297# need to make the FD available again.
5298if test "$no_create" != yes; then
5299  ac_cs_success=:
5300  ac_config_status_args=
5301  test "$silent" = yes &&
5302    ac_config_status_args="$ac_config_status_args --quiet"
5303  exec 5>/dev/null
5304  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5305  exec 5>>config.log
5306  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5307  # would make configure fail if this is the last instruction.
5308  $ac_cs_success || { (exit 1); exit 1; }
5309fi
5310
Note: See TracBrowser for help on using the repository browser.