source: trunk/configure @ 558

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

adjusted rappture.in to properly name the python extensions folder based on the python's version number, added examples/app-fermi/wrapper/cee to the list of executables that need to be compiled within the main rappture makefile, and added the same folder to the list of applications that need a dynamic makefile to be created in the main configure scripts.

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