source: trunk/configure @ 529

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

adjustments to configure and makefiles to include the new tcl units bindings.
few more adjustments to rappture queues for condor

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