source: trunk/configure @ 905

Last change on this file since 905 was 905, checked in by dkearney, 12 years ago

added --without-tclsh and --disable-gui configure flags so we can build rappture libraries without the gui for installation on grid machines.

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