source: trunk/configure @ 942

Last change on this file since 942 was 942, checked in by gah, 12 years ago

Makefile fixups

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