source: trunk/configure @ 577

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

adding src2/core as a target to configure, adjusting makefile to build shared and static librappture2 libraries

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