source: trunk/configure @ 708

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

updateing build system for rappture and language bindings.
librappture now includes a static version of libscew.
this means librappture needs to be linked directly against libexpat.
removed references to libscew from language bindings' makefiles.
corrected matlab and octave makefiles to only compile when dependencies are updated.
added --libdir flag so you can install platform dependent files into lib64 on 64-bit systems.
adjusted the rappture.env file to add lib64 directories to search paths incase they exist.

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