source: trunk/packages/vizservers/vtkvis/configure @ 4157

Last change on this file since 4157 was 4157, checked in by ldelgass, 10 years ago

update vtkvis to use VTK 6.1

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