source: geovis/branches/rex/configure

Last change on this file was 6248, checked in by ldelgass, 9 years ago

Add configure var for resources dir

  • Property svn:executable set to *
File size: 158.4 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for geovis 0.4.
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='geovis'
582PACKAGE_TARNAME='geovis'
583PACKAGE_VERSION='0.4'
584PACKAGE_STRING='geovis 0.4'
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
626OSG_LIB_SPEC
627OSG_LIB_DIR
628OSG_INC_SPEC
629TCL_VERSION
630TCL_LIB_SPEC
631TCL_INC_SPEC
632STATSDIR
633RESOURCES_DIR
634EGREP
635GREP
636CXXCPP
637ac_ct_CXX
638CXXFLAGS
639CXX
640CPP
641OBJEXT
642EXEEXT
643ac_ct_CC
644CPPFLAGS
645LDFLAGS
646CFLAGS
647CC
648MKDIR_P
649LN_S
650RANLIB
651INSTALL_DATA
652INSTALL_SCRIPT
653INSTALL_PROGRAM
654target_alias
655host_alias
656build_alias
657LIBS
658ECHO_T
659ECHO_N
660ECHO_C
661DEFS
662mandir
663localedir
664libdir
665psdir
666pdfdir
667dvidir
668htmldir
669infodir
670docdir
671oldincludedir
672includedir
673localstatedir
674sharedstatedir
675sysconfdir
676datadir
677datarootdir
678libexecdir
679sbindir
680bindir
681program_transform_name
682prefix
683exec_prefix
684PACKAGE_URL
685PACKAGE_BUGREPORT
686PACKAGE_STRING
687PACKAGE_VERSION
688PACKAGE_TARNAME
689PACKAGE_NAME
690PATH_SEPARATOR
691SHELL'
692ac_subst_files=''
693ac_user_opts='
694enable_option_checking
695with_tcllib
696with_osg_includes
697with_osg_libs
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 geovis 0.4 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/geovis]
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 geovis 0.4:";;
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-osg-includes=DIR OSG include files are in DIR
1324  --with-osg-libs=DIR     OSG libraries are in DIR
1325  --with-statsdir=DIR     Write statistics in DIR
1326
1327Some influential environment variables:
1328  CC          C compiler command
1329  CFLAGS      C compiler flags
1330  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1331              nonstandard directory <lib dir>
1332  LIBS        libraries to pass to the linker, e.g. -l<library>
1333  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1334              you have headers in a nonstandard directory <include dir>
1335  CPP         C preprocessor
1336  CXX         C++ compiler command
1337  CXXFLAGS    C++ compiler flags
1338  CXXCPP      C++ preprocessor
1339
1340Use these variables to override the choices made by `configure' or to help
1341it to find libraries and programs with nonstandard names/locations.
1342
1343Report bugs to <rappture@nanohub.org>.
1344_ACEOF
1345ac_status=$?
1346fi
1347
1348if test "$ac_init_help" = "recursive"; then
1349  # If there are subdirs, report their specific --help.
1350  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351    test -d "$ac_dir" ||
1352      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1353      continue
1354    ac_builddir=.
1355
1356case "$ac_dir" in
1357.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358*)
1359  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1360  # A ".." for each directory in $ac_dir_suffix.
1361  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362  case $ac_top_builddir_sub in
1363  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365  esac ;;
1366esac
1367ac_abs_top_builddir=$ac_pwd
1368ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369# for backward compatibility:
1370ac_top_builddir=$ac_top_build_prefix
1371
1372case $srcdir in
1373  .)  # We are building in place.
1374    ac_srcdir=.
1375    ac_top_srcdir=$ac_top_builddir_sub
1376    ac_abs_top_srcdir=$ac_pwd ;;
1377  [\\/]* | ?:[\\/]* )  # Absolute name.
1378    ac_srcdir=$srcdir$ac_dir_suffix;
1379    ac_top_srcdir=$srcdir
1380    ac_abs_top_srcdir=$srcdir ;;
1381  *) # Relative name.
1382    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383    ac_top_srcdir=$ac_top_build_prefix$srcdir
1384    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1385esac
1386ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1387
1388    cd "$ac_dir" || { ac_status=$?; continue; }
1389    # Check for guested configure.
1390    if test -f "$ac_srcdir/configure.gnu"; then
1391      echo &&
1392      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393    elif test -f "$ac_srcdir/configure"; then
1394      echo &&
1395      $SHELL "$ac_srcdir/configure" --help=recursive
1396    else
1397      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1398    fi || ac_status=$?
1399    cd "$ac_pwd" || { ac_status=$?; break; }
1400  done
1401fi
1402
1403test -n "$ac_init_help" && exit $ac_status
1404if $ac_init_version; then
1405  cat <<\_ACEOF
1406geovis configure 0.4
1407generated by GNU Autoconf 2.69
1408
1409Copyright (C) 2012 Free Software Foundation, Inc.
1410This configure script is free software; the Free Software Foundation
1411gives unlimited permission to copy, distribute and modify it.
1412_ACEOF
1413  exit
1414fi
1415
1416## ------------------------ ##
1417## Autoconf initialization. ##
1418## ------------------------ ##
1419
1420# ac_fn_c_try_compile LINENO
1421# --------------------------
1422# Try to compile conftest.$ac_ext, and return whether this succeeded.
1423ac_fn_c_try_compile ()
1424{
1425  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1426  rm -f conftest.$ac_objext
1427  if { { ac_try="$ac_compile"
1428case "(($ac_try" in
1429  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1430  *) ac_try_echo=$ac_try;;
1431esac
1432eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1433$as_echo "$ac_try_echo"; } >&5
1434  (eval "$ac_compile") 2>conftest.err
1435  ac_status=$?
1436  if test -s conftest.err; then
1437    grep -v '^ *+' conftest.err >conftest.er1
1438    cat conftest.er1 >&5
1439    mv -f conftest.er1 conftest.err
1440  fi
1441  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442  test $ac_status = 0; } && {
1443         test -z "$ac_c_werror_flag" ||
1444         test ! -s conftest.err
1445       } && test -s conftest.$ac_objext; then :
1446  ac_retval=0
1447else
1448  $as_echo "$as_me: failed program was:" >&5
1449sed 's/^/| /' conftest.$ac_ext >&5
1450
1451        ac_retval=1
1452fi
1453  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1454  as_fn_set_status $ac_retval
1455
1456} # ac_fn_c_try_compile
1457
1458# ac_fn_c_try_cpp LINENO
1459# ----------------------
1460# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1461ac_fn_c_try_cpp ()
1462{
1463  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464  if { { ac_try="$ac_cpp conftest.$ac_ext"
1465case "(($ac_try" in
1466  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1467  *) ac_try_echo=$ac_try;;
1468esac
1469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470$as_echo "$ac_try_echo"; } >&5
1471  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1472  ac_status=$?
1473  if test -s conftest.err; then
1474    grep -v '^ *+' conftest.err >conftest.er1
1475    cat conftest.er1 >&5
1476    mv -f conftest.er1 conftest.err
1477  fi
1478  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1479  test $ac_status = 0; } > conftest.i && {
1480         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1481         test ! -s conftest.err
1482       }; then :
1483  ac_retval=0
1484else
1485  $as_echo "$as_me: failed program was:" >&5
1486sed 's/^/| /' conftest.$ac_ext >&5
1487
1488    ac_retval=1
1489fi
1490  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1491  as_fn_set_status $ac_retval
1492
1493} # ac_fn_c_try_cpp
1494
1495# ac_fn_cxx_try_compile LINENO
1496# ----------------------------
1497# Try to compile conftest.$ac_ext, and return whether this succeeded.
1498ac_fn_cxx_try_compile ()
1499{
1500  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501  rm -f conftest.$ac_objext
1502  if { { ac_try="$ac_compile"
1503case "(($ac_try" in
1504  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505  *) ac_try_echo=$ac_try;;
1506esac
1507eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508$as_echo "$ac_try_echo"; } >&5
1509  (eval "$ac_compile") 2>conftest.err
1510  ac_status=$?
1511  if test -s conftest.err; then
1512    grep -v '^ *+' conftest.err >conftest.er1
1513    cat conftest.er1 >&5
1514    mv -f conftest.er1 conftest.err
1515  fi
1516  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517  test $ac_status = 0; } && {
1518         test -z "$ac_cxx_werror_flag" ||
1519         test ! -s conftest.err
1520       } && test -s conftest.$ac_objext; then :
1521  ac_retval=0
1522else
1523  $as_echo "$as_me: failed program was:" >&5
1524sed 's/^/| /' conftest.$ac_ext >&5
1525
1526        ac_retval=1
1527fi
1528  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529  as_fn_set_status $ac_retval
1530
1531} # ac_fn_cxx_try_compile
1532
1533# ac_fn_cxx_try_cpp LINENO
1534# ------------------------
1535# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1536ac_fn_cxx_try_cpp ()
1537{
1538  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1539  if { { ac_try="$ac_cpp conftest.$ac_ext"
1540case "(($ac_try" in
1541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542  *) ac_try_echo=$ac_try;;
1543esac
1544eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545$as_echo "$ac_try_echo"; } >&5
1546  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1547  ac_status=$?
1548  if test -s conftest.err; then
1549    grep -v '^ *+' conftest.err >conftest.er1
1550    cat conftest.er1 >&5
1551    mv -f conftest.er1 conftest.err
1552  fi
1553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554  test $ac_status = 0; } > conftest.i && {
1555         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1556         test ! -s conftest.err
1557       }; then :
1558  ac_retval=0
1559else
1560  $as_echo "$as_me: failed program was:" >&5
1561sed 's/^/| /' conftest.$ac_ext >&5
1562
1563    ac_retval=1
1564fi
1565  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566  as_fn_set_status $ac_retval
1567
1568} # ac_fn_cxx_try_cpp
1569
1570# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1571# ---------------------------------------------------------
1572# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1573# the include files in INCLUDES and setting the cache variable VAR
1574# accordingly.
1575ac_fn_cxx_check_header_mongrel ()
1576{
1577  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578  if eval \${$3+:} false; then :
1579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1580$as_echo_n "checking for $2... " >&6; }
1581if eval \${$3+:} false; then :
1582  $as_echo_n "(cached) " >&6
1583fi
1584eval ac_res=\$$3
1585               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1586$as_echo "$ac_res" >&6; }
1587else
1588  # Is the header compilable?
1589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1590$as_echo_n "checking $2 usability... " >&6; }
1591cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592/* end confdefs.h.  */
1593$4
1594#include <$2>
1595_ACEOF
1596if ac_fn_cxx_try_compile "$LINENO"; then :
1597  ac_header_compiler=yes
1598else
1599  ac_header_compiler=no
1600fi
1601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1603$as_echo "$ac_header_compiler" >&6; }
1604
1605# Is the header present?
1606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1607$as_echo_n "checking $2 presence... " >&6; }
1608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609/* end confdefs.h.  */
1610#include <$2>
1611_ACEOF
1612if ac_fn_cxx_try_cpp "$LINENO"; then :
1613  ac_header_preproc=yes
1614else
1615  ac_header_preproc=no
1616fi
1617rm -f conftest.err conftest.i conftest.$ac_ext
1618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1619$as_echo "$ac_header_preproc" >&6; }
1620
1621# So?  What about this header?
1622case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1623  yes:no: )
1624    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1625$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1626    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1628    ;;
1629  no:yes:* )
1630    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1631$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1632    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1633$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1634    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1635$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1636    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1637$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1638    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1639$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1640( $as_echo "## ----------------------------------- ##
1641## Report this to rappture@nanohub.org ##
1642## ----------------------------------- ##"
1643     ) | sed "s/^/$as_me: WARNING:     /" >&2
1644    ;;
1645esac
1646  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647$as_echo_n "checking for $2... " >&6; }
1648if eval \${$3+:} false; then :
1649  $as_echo_n "(cached) " >&6
1650else
1651  eval "$3=\$ac_header_compiler"
1652fi
1653eval ac_res=\$$3
1654               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655$as_echo "$ac_res" >&6; }
1656fi
1657  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658
1659} # ac_fn_cxx_check_header_mongrel
1660
1661# ac_fn_cxx_try_run LINENO
1662# ------------------------
1663# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1664# that executables *can* be run.
1665ac_fn_cxx_try_run ()
1666{
1667  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668  if { { ac_try="$ac_link"
1669case "(($ac_try" in
1670  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671  *) ac_try_echo=$ac_try;;
1672esac
1673eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674$as_echo "$ac_try_echo"; } >&5
1675  (eval "$ac_link") 2>&5
1676  ac_status=$?
1677  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1679  { { case "(($ac_try" in
1680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681  *) ac_try_echo=$ac_try;;
1682esac
1683eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684$as_echo "$ac_try_echo"; } >&5
1685  (eval "$ac_try") 2>&5
1686  ac_status=$?
1687  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688  test $ac_status = 0; }; }; then :
1689  ac_retval=0
1690else
1691  $as_echo "$as_me: program exited with status $ac_status" >&5
1692       $as_echo "$as_me: failed program was:" >&5
1693sed 's/^/| /' conftest.$ac_ext >&5
1694
1695       ac_retval=$ac_status
1696fi
1697  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699  as_fn_set_status $ac_retval
1700
1701} # ac_fn_cxx_try_run
1702
1703# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1704# ---------------------------------------------------------
1705# Tests whether HEADER exists and can be compiled using the include files in
1706# INCLUDES, setting the cache variable VAR accordingly.
1707ac_fn_cxx_check_header_compile ()
1708{
1709  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711$as_echo_n "checking for $2... " >&6; }
1712if eval \${$3+:} false; then :
1713  $as_echo_n "(cached) " >&6
1714else
1715  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716/* end confdefs.h.  */
1717$4
1718#include <$2>
1719_ACEOF
1720if ac_fn_cxx_try_compile "$LINENO"; then :
1721  eval "$3=yes"
1722else
1723  eval "$3=no"
1724fi
1725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1726fi
1727eval ac_res=\$$3
1728               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729$as_echo "$ac_res" >&6; }
1730  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731
1732} # ac_fn_cxx_check_header_compile
1733
1734# ac_fn_cxx_try_link LINENO
1735# -------------------------
1736# Try to link conftest.$ac_ext, and return whether this succeeded.
1737ac_fn_cxx_try_link ()
1738{
1739  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740  rm -f conftest.$ac_objext conftest$ac_exeext
1741  if { { ac_try="$ac_link"
1742case "(($ac_try" in
1743  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744  *) ac_try_echo=$ac_try;;
1745esac
1746eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747$as_echo "$ac_try_echo"; } >&5
1748  (eval "$ac_link") 2>conftest.err
1749  ac_status=$?
1750  if test -s conftest.err; then
1751    grep -v '^ *+' conftest.err >conftest.er1
1752    cat conftest.er1 >&5
1753    mv -f conftest.er1 conftest.err
1754  fi
1755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756  test $ac_status = 0; } && {
1757         test -z "$ac_cxx_werror_flag" ||
1758         test ! -s conftest.err
1759       } && test -s conftest$ac_exeext && {
1760         test "$cross_compiling" = yes ||
1761         test -x conftest$ac_exeext
1762       }; then :
1763  ac_retval=0
1764else
1765  $as_echo "$as_me: failed program was:" >&5
1766sed 's/^/| /' conftest.$ac_ext >&5
1767
1768        ac_retval=1
1769fi
1770  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1771  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1772  # interfere with the next link command; also delete a directory that is
1773  # left behind by Apple's compiler.  We do this before executing the actions.
1774  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1775  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776  as_fn_set_status $ac_retval
1777
1778} # ac_fn_cxx_try_link
1779
1780# ac_fn_cxx_check_func LINENO FUNC VAR
1781# ------------------------------------
1782# Tests whether FUNC exists, setting the cache variable VAR accordingly
1783ac_fn_cxx_check_func ()
1784{
1785  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787$as_echo_n "checking for $2... " >&6; }
1788if eval \${$3+:} false; then :
1789  $as_echo_n "(cached) " >&6
1790else
1791  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792/* end confdefs.h.  */
1793/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1794   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1795#define $2 innocuous_$2
1796
1797/* System header to define __stub macros and hopefully few prototypes,
1798    which can conflict with char $2 (); below.
1799    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1800    <limits.h> exists even on freestanding compilers.  */
1801
1802#ifdef __STDC__
1803# include <limits.h>
1804#else
1805# include <assert.h>
1806#endif
1807
1808#undef $2
1809
1810/* Override any GCC internal prototype to avoid an error.
1811   Use char because int might match the return type of a GCC
1812   builtin and then its argument prototype would still apply.  */
1813#ifdef __cplusplus
1814extern "C"
1815#endif
1816char $2 ();
1817/* The GNU C library defines this for functions which it implements
1818    to always fail with ENOSYS.  Some functions are actually named
1819    something starting with __ and the normal name is an alias.  */
1820#if defined __stub_$2 || defined __stub___$2
1821choke me
1822#endif
1823
1824int
1825main ()
1826{
1827return $2 ();
1828  ;
1829  return 0;
1830}
1831_ACEOF
1832if ac_fn_cxx_try_link "$LINENO"; then :
1833  eval "$3=yes"
1834else
1835  eval "$3=no"
1836fi
1837rm -f core conftest.err conftest.$ac_objext \
1838    conftest$ac_exeext conftest.$ac_ext
1839fi
1840eval ac_res=\$$3
1841               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842$as_echo "$ac_res" >&6; }
1843  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844
1845} # ac_fn_cxx_check_func
1846cat >config.log <<_ACEOF
1847This file contains any messages produced by compilers while
1848running configure, to aid debugging if configure makes a mistake.
1849
1850It was created by geovis $as_me 0.4, which was
1851generated by GNU Autoconf 2.69.  Invocation command line was
1852
1853  $ $0 $@
1854
1855_ACEOF
1856exec 5>>config.log
1857{
1858cat <<_ASUNAME
1859## --------- ##
1860## Platform. ##
1861## --------- ##
1862
1863hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1864uname -m = `(uname -m) 2>/dev/null || echo unknown`
1865uname -r = `(uname -r) 2>/dev/null || echo unknown`
1866uname -s = `(uname -s) 2>/dev/null || echo unknown`
1867uname -v = `(uname -v) 2>/dev/null || echo unknown`
1868
1869/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1870/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1871
1872/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1873/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1874/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1875/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1876/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1877/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1878/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1879
1880_ASUNAME
1881
1882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883for as_dir in $PATH
1884do
1885  IFS=$as_save_IFS
1886  test -z "$as_dir" && as_dir=.
1887    $as_echo "PATH: $as_dir"
1888  done
1889IFS=$as_save_IFS
1890
1891} >&5
1892
1893cat >&5 <<_ACEOF
1894
1895
1896## ----------- ##
1897## Core tests. ##
1898## ----------- ##
1899
1900_ACEOF
1901
1902
1903# Keep a trace of the command line.
1904# Strip out --no-create and --no-recursion so they do not pile up.
1905# Strip out --silent because we don't want to record it for future runs.
1906# Also quote any args containing shell meta-characters.
1907# Make two passes to allow for proper duplicate-argument suppression.
1908ac_configure_args=
1909ac_configure_args0=
1910ac_configure_args1=
1911ac_must_keep_next=false
1912for ac_pass in 1 2
1913do
1914  for ac_arg
1915  do
1916    case $ac_arg in
1917    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1918    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1919    | -silent | --silent | --silen | --sile | --sil)
1920      continue ;;
1921    *\'*)
1922      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1923    esac
1924    case $ac_pass in
1925    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1926    2)
1927      as_fn_append ac_configure_args1 " '$ac_arg'"
1928      if test $ac_must_keep_next = true; then
1929        ac_must_keep_next=false # Got value, back to normal.
1930      else
1931        case $ac_arg in
1932          *=* | --config-cache | -C | -disable-* | --disable-* \
1933          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1934          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1935          | -with-* | --with-* | -without-* | --without-* | --x)
1936            case "$ac_configure_args0 " in
1937              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1938            esac
1939            ;;
1940          -* ) ac_must_keep_next=true ;;
1941        esac
1942      fi
1943      as_fn_append ac_configure_args " '$ac_arg'"
1944      ;;
1945    esac
1946  done
1947done
1948{ ac_configure_args0=; unset ac_configure_args0;}
1949{ ac_configure_args1=; unset ac_configure_args1;}
1950
1951# When interrupted or exit'd, cleanup temporary files, and complete
1952# config.log.  We remove comments because anyway the quotes in there
1953# would cause problems or look ugly.
1954# WARNING: Use '\'' to represent an apostrophe within the trap.
1955# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1956trap 'exit_status=$?
1957  # Save into config.log some information that might help in debugging.
1958  {
1959    echo
1960
1961    $as_echo "## ---------------- ##
1962## Cache variables. ##
1963## ---------------- ##"
1964    echo
1965    # The following way of writing the cache mishandles newlines in values,
1966(
1967  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1968    eval ac_val=\$$ac_var
1969    case $ac_val in #(
1970    *${as_nl}*)
1971      case $ac_var in #(
1972      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1973$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1974      esac
1975      case $ac_var in #(
1976      _ | IFS | as_nl) ;; #(
1977      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1978      *) { eval $ac_var=; unset $ac_var;} ;;
1979      esac ;;
1980    esac
1981  done
1982  (set) 2>&1 |
1983    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1984    *${as_nl}ac_space=\ *)
1985      sed -n \
1986        "s/'\''/'\''\\\\'\'''\''/g;
1987          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1988      ;; #(
1989    *)
1990      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1991      ;;
1992    esac |
1993    sort
1994)
1995    echo
1996
1997    $as_echo "## ----------------- ##
1998## Output variables. ##
1999## ----------------- ##"
2000    echo
2001    for ac_var in $ac_subst_vars
2002    do
2003      eval ac_val=\$$ac_var
2004      case $ac_val in
2005      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2006      esac
2007      $as_echo "$ac_var='\''$ac_val'\''"
2008    done | sort
2009    echo
2010
2011    if test -n "$ac_subst_files"; then
2012      $as_echo "## ------------------- ##
2013## File substitutions. ##
2014## ------------------- ##"
2015      echo
2016      for ac_var in $ac_subst_files
2017      do
2018        eval ac_val=\$$ac_var
2019        case $ac_val in
2020        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2021        esac
2022        $as_echo "$ac_var='\''$ac_val'\''"
2023      done | sort
2024      echo
2025    fi
2026
2027    if test -s confdefs.h; then
2028      $as_echo "## ----------- ##
2029## confdefs.h. ##
2030## ----------- ##"
2031      echo
2032      cat confdefs.h
2033      echo
2034    fi
2035    test "$ac_signal" != 0 &&
2036      $as_echo "$as_me: caught signal $ac_signal"
2037    $as_echo "$as_me: exit $exit_status"
2038  } >&5
2039  rm -f core *.core core.conftest.* &&
2040    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2041    exit $exit_status
2042' 0
2043for ac_signal in 1 2 13 15; do
2044  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2045done
2046ac_signal=0
2047
2048# confdefs.h avoids OS command line length limits that DEFS can exceed.
2049rm -f -r conftest* confdefs.h
2050
2051$as_echo "/* confdefs.h */" > confdefs.h
2052
2053# Predefined preprocessor variables.
2054
2055cat >>confdefs.h <<_ACEOF
2056#define PACKAGE_NAME "$PACKAGE_NAME"
2057_ACEOF
2058
2059cat >>confdefs.h <<_ACEOF
2060#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2061_ACEOF
2062
2063cat >>confdefs.h <<_ACEOF
2064#define PACKAGE_VERSION "$PACKAGE_VERSION"
2065_ACEOF
2066
2067cat >>confdefs.h <<_ACEOF
2068#define PACKAGE_STRING "$PACKAGE_STRING"
2069_ACEOF
2070
2071cat >>confdefs.h <<_ACEOF
2072#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2073_ACEOF
2074
2075cat >>confdefs.h <<_ACEOF
2076#define PACKAGE_URL "$PACKAGE_URL"
2077_ACEOF
2078
2079
2080# Let the site file select an alternate cache file if it wants to.
2081# Prefer an explicitly selected file to automatically selected ones.
2082ac_site_file1=NONE
2083ac_site_file2=NONE
2084if test -n "$CONFIG_SITE"; then
2085  # We do not want a PATH search for config.site.
2086  case $CONFIG_SITE in #((
2087    -*)  ac_site_file1=./$CONFIG_SITE;;
2088    */*) ac_site_file1=$CONFIG_SITE;;
2089    *)   ac_site_file1=./$CONFIG_SITE;;
2090  esac
2091elif test "x$prefix" != xNONE; then
2092  ac_site_file1=$prefix/share/config.site
2093  ac_site_file2=$prefix/etc/config.site
2094else
2095  ac_site_file1=$ac_default_prefix/share/config.site
2096  ac_site_file2=$ac_default_prefix/etc/config.site
2097fi
2098for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2099do
2100  test "x$ac_site_file" = xNONE && continue
2101  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2102    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2103$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2104    sed 's/^/| /' "$ac_site_file" >&5
2105    . "$ac_site_file" \
2106      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2107$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2108as_fn_error $? "failed to load site script $ac_site_file
2109See \`config.log' for more details" "$LINENO" 5; }
2110  fi
2111done
2112
2113if test -r "$cache_file"; then
2114  # Some versions of bash will fail to source /dev/null (special files
2115  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2116  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2117    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2118$as_echo "$as_me: loading cache $cache_file" >&6;}
2119    case $cache_file in
2120      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2121      *)                      . "./$cache_file";;
2122    esac
2123  fi
2124else
2125  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2126$as_echo "$as_me: creating cache $cache_file" >&6;}
2127  >$cache_file
2128fi
2129
2130# Check that the precious variables saved in the cache have kept the same
2131# value.
2132ac_cache_corrupted=false
2133for ac_var in $ac_precious_vars; do
2134  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2135  eval ac_new_set=\$ac_env_${ac_var}_set
2136  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2137  eval ac_new_val=\$ac_env_${ac_var}_value
2138  case $ac_old_set,$ac_new_set in
2139    set,)
2140      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2141$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2142      ac_cache_corrupted=: ;;
2143    ,set)
2144      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2145$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2146      ac_cache_corrupted=: ;;
2147    ,);;
2148    *)
2149      if test "x$ac_old_val" != "x$ac_new_val"; then
2150        # differences in whitespace do not lead to failure.
2151        ac_old_val_w=`echo x $ac_old_val`
2152        ac_new_val_w=`echo x $ac_new_val`
2153        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2154          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2155$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2156          ac_cache_corrupted=:
2157        else
2158          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2159$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2160          eval $ac_var=\$ac_old_val
2161        fi
2162        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2163$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2164        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2165$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2166      fi;;
2167  esac
2168  # Pass precious variables to config.status.
2169  if test "$ac_new_set" = set; then
2170    case $ac_new_val in
2171    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2172    *) ac_arg=$ac_var=$ac_new_val ;;
2173    esac
2174    case " $ac_configure_args " in
2175      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2176      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2177    esac
2178  fi
2179done
2180if $ac_cache_corrupted; then
2181  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2184$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2185  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2186fi
2187## -------------------- ##
2188## Main body of script. ##
2189## -------------------- ##
2190
2191ac_ext=c
2192ac_cpp='$CPP $CPPFLAGS'
2193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195ac_compiler_gnu=$ac_cv_c_compiler_gnu
2196
2197
2198ac_aux_dir=
2199for ac_dir in cf "$srcdir"/cf; do
2200  if test -f "$ac_dir/install-sh"; then
2201    ac_aux_dir=$ac_dir
2202    ac_install_sh="$ac_aux_dir/install-sh -c"
2203    break
2204  elif test -f "$ac_dir/install.sh"; then
2205    ac_aux_dir=$ac_dir
2206    ac_install_sh="$ac_aux_dir/install.sh -c"
2207    break
2208  elif test -f "$ac_dir/shtool"; then
2209    ac_aux_dir=$ac_dir
2210    ac_install_sh="$ac_aux_dir/shtool install -c"
2211    break
2212  fi
2213done
2214if test -z "$ac_aux_dir"; then
2215  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
2216fi
2217
2218# These three variables are undocumented and unsupported,
2219# and are intended to be withdrawn in a future Autoconf release.
2220# They can cause serious problems if a builder's source tree is in a directory
2221# whose full name contains unusual characters.
2222ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2223ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2224ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2225
2226
2227
2228
2229# Check whether --with-tcllib was given.
2230if test "${with_tcllib+set}" = set; then :
2231  withval=$with_tcllib; with_tcllib=$withval
2232else
2233  with_tcllib=""
2234fi
2235
2236
2237
2238# Check whether --with-osg-includes was given.
2239if test "${with_osg_includes+set}" = set; then :
2240  withval=$with_osg_includes; with_osg_includes=$withval
2241else
2242  with_osg_includes=""
2243fi
2244
2245
2246
2247# Check whether --with-osg-libs was given.
2248if test "${with_osg_libs+set}" = set; then :
2249  withval=$with_osg_libs; with_osg_libs=$withval
2250else
2251  with_osg_libs=""
2252fi
2253
2254
2255
2256# Check whether --with-statsdir was given.
2257if test "${with_statsdir+set}" = set; then :
2258  withval=$with_statsdir; STATSDIR=$withval
2259else
2260  STATSDIR="/var/tmp/visservers"
2261fi
2262
2263
2264#------------------------------------------------------------------------
2265# Handle the --prefix=... option
2266#------------------------------------------------------------------------
2267
2268if test "${prefix}" = "NONE"; then
2269    prefix=/usr/local
2270fi
2271if test "${exec_prefix}" = "NONE"; then
2272    exec_prefix=$prefix
2273fi
2274
2275if test "x${incdir}" == "x"; then
2276  incdir=${exec_prefix}/include
2277fi
2278libdir=${exec_prefix}/lib
2279
2280if test "${libdir}" != "${prefix}/lib"; then
2281    LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"
2282else
2283    LIB_SEARCH_DIRS="-L ${libdir}"
2284fi
2285
2286# Find a good install program.  We prefer a C program (faster),
2287# so one script is as good as another.  But avoid the broken or
2288# incompatible versions:
2289# SysV /etc/install, /usr/sbin/install
2290# SunOS /usr/etc/install
2291# IRIX /sbin/install
2292# AIX /bin/install
2293# AmigaOS /C/install, which installs bootblocks on floppy discs
2294# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2295# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2296# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2297# OS/2's system install, which has a completely different semantic
2298# ./install, which can be erroneously created by make from ./install.sh.
2299# Reject install programs that cannot install multiple files.
2300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2301$as_echo_n "checking for a BSD-compatible install... " >&6; }
2302if test -z "$INSTALL"; then
2303if ${ac_cv_path_install+:} false; then :
2304  $as_echo_n "(cached) " >&6
2305else
2306  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307for as_dir in $PATH
2308do
2309  IFS=$as_save_IFS
2310  test -z "$as_dir" && as_dir=.
2311    # Account for people who put trailing slashes in PATH elements.
2312case $as_dir/ in #((
2313  ./ | .// | /[cC]/* | \
2314  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2315  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2316  /usr/ucb/* ) ;;
2317  *)
2318    # OSF1 and SCO ODT 3.0 have their own names for install.
2319    # Don't use installbsd from OSF since it installs stuff as root
2320    # by default.
2321    for ac_prog in ginstall scoinst install; do
2322      for ac_exec_ext in '' $ac_executable_extensions; do
2323        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2324          if test $ac_prog = install &&
2325            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2326            # AIX install.  It has an incompatible calling convention.
2327            :
2328          elif test $ac_prog = install &&
2329            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2330            # program-specific install script used by HP pwplus--don't use.
2331            :
2332          else
2333            rm -rf conftest.one conftest.two conftest.dir
2334            echo one > conftest.one
2335            echo two > conftest.two
2336            mkdir conftest.dir
2337            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2338              test -s conftest.one && test -s conftest.two &&
2339              test -s conftest.dir/conftest.one &&
2340              test -s conftest.dir/conftest.two
2341            then
2342              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2343              break 3
2344            fi
2345          fi
2346        fi
2347      done
2348    done
2349    ;;
2350esac
2351
2352  done
2353IFS=$as_save_IFS
2354
2355rm -rf conftest.one conftest.two conftest.dir
2356
2357fi
2358  if test "${ac_cv_path_install+set}" = set; then
2359    INSTALL=$ac_cv_path_install
2360  else
2361    # As a last resort, use the slow shell script.  Don't cache a
2362    # value for INSTALL within a source directory, because that will
2363    # break other packages using the cache if that directory is
2364    # removed, or if the value is a relative name.
2365    INSTALL=$ac_install_sh
2366  fi
2367fi
2368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2369$as_echo "$INSTALL" >&6; }
2370
2371# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2372# It thinks the first close brace ends the variable substitution.
2373test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2374
2375test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2376
2377test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2378
2379if test -n "$ac_tool_prefix"; then
2380  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2381set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383$as_echo_n "checking for $ac_word... " >&6; }
2384if ${ac_cv_prog_RANLIB+:} false; then :
2385  $as_echo_n "(cached) " >&6
2386else
2387  if test -n "$RANLIB"; then
2388  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2389else
2390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391for as_dir in $PATH
2392do
2393  IFS=$as_save_IFS
2394  test -z "$as_dir" && as_dir=.
2395    for ac_exec_ext in '' $ac_executable_extensions; do
2396  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2397    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2398    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399    break 2
2400  fi
2401done
2402  done
2403IFS=$as_save_IFS
2404
2405fi
2406fi
2407RANLIB=$ac_cv_prog_RANLIB
2408if test -n "$RANLIB"; then
2409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2410$as_echo "$RANLIB" >&6; }
2411else
2412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413$as_echo "no" >&6; }
2414fi
2415
2416
2417fi
2418if test -z "$ac_cv_prog_RANLIB"; then
2419  ac_ct_RANLIB=$RANLIB
2420  # Extract the first word of "ranlib", so it can be a program name with args.
2421set dummy ranlib; ac_word=$2
2422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2423$as_echo_n "checking for $ac_word... " >&6; }
2424if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2425  $as_echo_n "(cached) " >&6
2426else
2427  if test -n "$ac_ct_RANLIB"; then
2428  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2429else
2430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431for as_dir in $PATH
2432do
2433  IFS=$as_save_IFS
2434  test -z "$as_dir" && as_dir=.
2435    for ac_exec_ext in '' $ac_executable_extensions; do
2436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2437    ac_cv_prog_ac_ct_RANLIB="ranlib"
2438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2439    break 2
2440  fi
2441done
2442  done
2443IFS=$as_save_IFS
2444
2445fi
2446fi
2447ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2448if test -n "$ac_ct_RANLIB"; then
2449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2450$as_echo "$ac_ct_RANLIB" >&6; }
2451else
2452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453$as_echo "no" >&6; }
2454fi
2455
2456  if test "x$ac_ct_RANLIB" = x; then
2457    RANLIB=":"
2458  else
2459    case $cross_compiling:$ac_tool_warned in
2460yes:)
2461{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2462$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2463ac_tool_warned=yes ;;
2464esac
2465    RANLIB=$ac_ct_RANLIB
2466  fi
2467else
2468  RANLIB="$ac_cv_prog_RANLIB"
2469fi
2470
2471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2472$as_echo_n "checking whether ln -s works... " >&6; }
2473LN_S=$as_ln_s
2474if test "$LN_S" = "ln -s"; then
2475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2476$as_echo "yes" >&6; }
2477else
2478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2479$as_echo "no, using $LN_S" >&6; }
2480fi
2481
2482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2483$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2484if test -z "$MKDIR_P"; then
2485  if ${ac_cv_path_mkdir+:} false; then :
2486  $as_echo_n "(cached) " >&6
2487else
2488  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2490do
2491  IFS=$as_save_IFS
2492  test -z "$as_dir" && as_dir=.
2493    for ac_prog in mkdir gmkdir; do
2494         for ac_exec_ext in '' $ac_executable_extensions; do
2495           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2496           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2497             'mkdir (GNU coreutils) '* | \
2498             'mkdir (coreutils) '* | \
2499             'mkdir (fileutils) '4.1*)
2500               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2501               break 3;;
2502           esac
2503         done
2504       done
2505  done
2506IFS=$as_save_IFS
2507
2508fi
2509
2510  test -d ./--version && rmdir ./--version
2511  if test "${ac_cv_path_mkdir+set}" = set; then
2512    MKDIR_P="$ac_cv_path_mkdir -p"
2513  else
2514    # As a last resort, use the slow shell script.  Don't cache a
2515    # value for MKDIR_P within a source directory, because that will
2516    # break other packages using the cache if that directory is
2517    # removed, or if the value is a relative name.
2518    MKDIR_P="$ac_install_sh -d"
2519  fi
2520fi
2521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2522$as_echo "$MKDIR_P" >&6; }
2523
2524
2525ac_ext=c
2526ac_cpp='$CPP $CPPFLAGS'
2527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529ac_compiler_gnu=$ac_cv_c_compiler_gnu
2530if test -n "$ac_tool_prefix"; then
2531  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2532set dummy ${ac_tool_prefix}gcc; ac_word=$2
2533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534$as_echo_n "checking for $ac_word... " >&6; }
2535if ${ac_cv_prog_CC+:} false; then :
2536  $as_echo_n "(cached) " >&6
2537else
2538  if test -n "$CC"; then
2539  ac_cv_prog_CC="$CC" # Let the user override the test.
2540else
2541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542for as_dir in $PATH
2543do
2544  IFS=$as_save_IFS
2545  test -z "$as_dir" && as_dir=.
2546    for ac_exec_ext in '' $ac_executable_extensions; do
2547  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2549    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550    break 2
2551  fi
2552done
2553  done
2554IFS=$as_save_IFS
2555
2556fi
2557fi
2558CC=$ac_cv_prog_CC
2559if test -n "$CC"; then
2560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2561$as_echo "$CC" >&6; }
2562else
2563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564$as_echo "no" >&6; }
2565fi
2566
2567
2568fi
2569if test -z "$ac_cv_prog_CC"; then
2570  ac_ct_CC=$CC
2571  # Extract the first word of "gcc", so it can be a program name with args.
2572set dummy gcc; ac_word=$2
2573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574$as_echo_n "checking for $ac_word... " >&6; }
2575if ${ac_cv_prog_ac_ct_CC+:} false; then :
2576  $as_echo_n "(cached) " >&6
2577else
2578  if test -n "$ac_ct_CC"; then
2579  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2580else
2581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582for as_dir in $PATH
2583do
2584  IFS=$as_save_IFS
2585  test -z "$as_dir" && as_dir=.
2586    for ac_exec_ext in '' $ac_executable_extensions; do
2587  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588    ac_cv_prog_ac_ct_CC="gcc"
2589    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590    break 2
2591  fi
2592done
2593  done
2594IFS=$as_save_IFS
2595
2596fi
2597fi
2598ac_ct_CC=$ac_cv_prog_ac_ct_CC
2599if test -n "$ac_ct_CC"; then
2600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2601$as_echo "$ac_ct_CC" >&6; }
2602else
2603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604$as_echo "no" >&6; }
2605fi
2606
2607  if test "x$ac_ct_CC" = x; then
2608    CC=""
2609  else
2610    case $cross_compiling:$ac_tool_warned in
2611yes:)
2612{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2613$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2614ac_tool_warned=yes ;;
2615esac
2616    CC=$ac_ct_CC
2617  fi
2618else
2619  CC="$ac_cv_prog_CC"
2620fi
2621
2622if test -z "$CC"; then
2623          if test -n "$ac_tool_prefix"; then
2624    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2625set dummy ${ac_tool_prefix}cc; ac_word=$2
2626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2627$as_echo_n "checking for $ac_word... " >&6; }
2628if ${ac_cv_prog_CC+:} false; then :
2629  $as_echo_n "(cached) " >&6
2630else
2631  if test -n "$CC"; then
2632  ac_cv_prog_CC="$CC" # Let the user override the test.
2633else
2634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635for as_dir in $PATH
2636do
2637  IFS=$as_save_IFS
2638  test -z "$as_dir" && as_dir=.
2639    for ac_exec_ext in '' $ac_executable_extensions; do
2640  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2641    ac_cv_prog_CC="${ac_tool_prefix}cc"
2642    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643    break 2
2644  fi
2645done
2646  done
2647IFS=$as_save_IFS
2648
2649fi
2650fi
2651CC=$ac_cv_prog_CC
2652if test -n "$CC"; then
2653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2654$as_echo "$CC" >&6; }
2655else
2656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2657$as_echo "no" >&6; }
2658fi
2659
2660
2661  fi
2662fi
2663if test -z "$CC"; then
2664  # Extract the first word of "cc", so it can be a program name with args.
2665set dummy cc; ac_word=$2
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667$as_echo_n "checking for $ac_word... " >&6; }
2668if ${ac_cv_prog_CC+:} false; then :
2669  $as_echo_n "(cached) " >&6
2670else
2671  if test -n "$CC"; then
2672  ac_cv_prog_CC="$CC" # Let the user override the test.
2673else
2674  ac_prog_rejected=no
2675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676for as_dir in $PATH
2677do
2678  IFS=$as_save_IFS
2679  test -z "$as_dir" && as_dir=.
2680    for ac_exec_ext in '' $ac_executable_extensions; do
2681  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2682    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2683       ac_prog_rejected=yes
2684       continue
2685     fi
2686    ac_cv_prog_CC="cc"
2687    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688    break 2
2689  fi
2690done
2691  done
2692IFS=$as_save_IFS
2693
2694if test $ac_prog_rejected = yes; then
2695  # We found a bogon in the path, so make sure we never use it.
2696  set dummy $ac_cv_prog_CC
2697  shift
2698  if test $# != 0; then
2699    # We chose a different compiler from the bogus one.
2700    # However, it has the same basename, so the bogon will be chosen
2701    # first if we set CC to just the basename; use the full file name.
2702    shift
2703    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2704  fi
2705fi
2706fi
2707fi
2708CC=$ac_cv_prog_CC
2709if test -n "$CC"; then
2710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711$as_echo "$CC" >&6; }
2712else
2713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714$as_echo "no" >&6; }
2715fi
2716
2717
2718fi
2719if test -z "$CC"; then
2720  if test -n "$ac_tool_prefix"; then
2721  for ac_prog in cl.exe
2722  do
2723    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2724set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726$as_echo_n "checking for $ac_word... " >&6; }
2727if ${ac_cv_prog_CC+:} false; then :
2728  $as_echo_n "(cached) " >&6
2729else
2730  if test -n "$CC"; then
2731  ac_cv_prog_CC="$CC" # Let the user override the test.
2732else
2733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734for as_dir in $PATH
2735do
2736  IFS=$as_save_IFS
2737  test -z "$as_dir" && as_dir=.
2738    for ac_exec_ext in '' $ac_executable_extensions; do
2739  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2741    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742    break 2
2743  fi
2744done
2745  done
2746IFS=$as_save_IFS
2747
2748fi
2749fi
2750CC=$ac_cv_prog_CC
2751if test -n "$CC"; then
2752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2753$as_echo "$CC" >&6; }
2754else
2755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756$as_echo "no" >&6; }
2757fi
2758
2759
2760    test -n "$CC" && break
2761  done
2762fi
2763if test -z "$CC"; then
2764  ac_ct_CC=$CC
2765  for ac_prog in cl.exe
2766do
2767  # Extract the first word of "$ac_prog", so it can be a program name with args.
2768set dummy $ac_prog; ac_word=$2
2769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770$as_echo_n "checking for $ac_word... " >&6; }
2771if ${ac_cv_prog_ac_ct_CC+:} false; then :
2772  $as_echo_n "(cached) " >&6
2773else
2774  if test -n "$ac_ct_CC"; then
2775  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2776else
2777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778for as_dir in $PATH
2779do
2780  IFS=$as_save_IFS
2781  test -z "$as_dir" && as_dir=.
2782    for ac_exec_ext in '' $ac_executable_extensions; do
2783  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2784    ac_cv_prog_ac_ct_CC="$ac_prog"
2785    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786    break 2
2787  fi
2788done
2789  done
2790IFS=$as_save_IFS
2791
2792fi
2793fi
2794ac_ct_CC=$ac_cv_prog_ac_ct_CC
2795if test -n "$ac_ct_CC"; then
2796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2797$as_echo "$ac_ct_CC" >&6; }
2798else
2799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800$as_echo "no" >&6; }
2801fi
2802
2803
2804  test -n "$ac_ct_CC" && break
2805done
2806
2807  if test "x$ac_ct_CC" = x; then
2808    CC=""
2809  else
2810    case $cross_compiling:$ac_tool_warned in
2811yes:)
2812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2814ac_tool_warned=yes ;;
2815esac
2816    CC=$ac_ct_CC
2817  fi
2818fi
2819
2820fi
2821
2822
2823test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2824$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2825as_fn_error $? "no acceptable C compiler found in \$PATH
2826See \`config.log' for more details" "$LINENO" 5; }
2827
2828# Provide some information about the compiler.
2829$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2830set X $ac_compile
2831ac_compiler=$2
2832for ac_option in --version -v -V -qversion; do
2833  { { ac_try="$ac_compiler $ac_option >&5"
2834case "(($ac_try" in
2835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836  *) ac_try_echo=$ac_try;;
2837esac
2838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839$as_echo "$ac_try_echo"; } >&5
2840  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2841  ac_status=$?
2842  if test -s conftest.err; then
2843    sed '10a\
2844... rest of stderr output deleted ...
2845         10q' conftest.err >conftest.er1
2846    cat conftest.er1 >&5
2847  fi
2848  rm -f conftest.er1 conftest.err
2849  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850  test $ac_status = 0; }
2851done
2852
2853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854/* end confdefs.h.  */
2855
2856int
2857main ()
2858{
2859
2860  ;
2861  return 0;
2862}
2863_ACEOF
2864ac_clean_files_save=$ac_clean_files
2865ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2866# Try to create an executable without -o first, disregard a.out.
2867# It will help us diagnose broken compilers, and finding out an intuition
2868# of exeext.
2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2870$as_echo_n "checking whether the C compiler works... " >&6; }
2871ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2872
2873# The possible output files:
2874ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2875
2876ac_rmfiles=
2877for ac_file in $ac_files
2878do
2879  case $ac_file in
2880    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2881    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2882  esac
2883done
2884rm -f $ac_rmfiles
2885
2886if { { ac_try="$ac_link_default"
2887case "(($ac_try" in
2888  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889  *) ac_try_echo=$ac_try;;
2890esac
2891eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2892$as_echo "$ac_try_echo"; } >&5
2893  (eval "$ac_link_default") 2>&5
2894  ac_status=$?
2895  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896  test $ac_status = 0; }; then :
2897  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2898# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2899# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2900# so that the user can short-circuit this test for compilers unknown to
2901# Autoconf.
2902for ac_file in $ac_files ''
2903do
2904  test -f "$ac_file" || continue
2905  case $ac_file in
2906    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2907        ;;
2908    [ab].out )
2909        # We found the default executable, but exeext='' is most
2910        # certainly right.
2911        break;;
2912    *.* )
2913        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2914        then :; else
2915           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2916        fi
2917        # We set ac_cv_exeext here because the later test for it is not
2918        # safe: cross compilers may not add the suffix if given an `-o'
2919        # argument, so we may need to know it at that point already.
2920        # Even if this section looks crufty: it has the advantage of
2921        # actually working.
2922        break;;
2923    * )
2924        break;;
2925  esac
2926done
2927test "$ac_cv_exeext" = no && ac_cv_exeext=
2928
2929else
2930  ac_file=''
2931fi
2932if test -z "$ac_file"; then :
2933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934$as_echo "no" >&6; }
2935$as_echo "$as_me: failed program was:" >&5
2936sed 's/^/| /' conftest.$ac_ext >&5
2937
2938{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2940as_fn_error 77 "C compiler cannot create executables
2941See \`config.log' for more details" "$LINENO" 5; }
2942else
2943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2944$as_echo "yes" >&6; }
2945fi
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2947$as_echo_n "checking for C compiler default output file name... " >&6; }
2948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2949$as_echo "$ac_file" >&6; }
2950ac_exeext=$ac_cv_exeext
2951
2952rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2953ac_clean_files=$ac_clean_files_save
2954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2955$as_echo_n "checking for suffix of executables... " >&6; }
2956if { { ac_try="$ac_link"
2957case "(($ac_try" in
2958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959  *) ac_try_echo=$ac_try;;
2960esac
2961eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2962$as_echo "$ac_try_echo"; } >&5
2963  (eval "$ac_link") 2>&5
2964  ac_status=$?
2965  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2966  test $ac_status = 0; }; then :
2967  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2968# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2969# work properly (i.e., refer to `conftest.exe'), while it won't with
2970# `rm'.
2971for ac_file in conftest.exe conftest conftest.*; do
2972  test -f "$ac_file" || continue
2973  case $ac_file in
2974    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2975    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2976          break;;
2977    * ) break;;
2978  esac
2979done
2980else
2981  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2984See \`config.log' for more details" "$LINENO" 5; }
2985fi
2986rm -f conftest conftest$ac_cv_exeext
2987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2988$as_echo "$ac_cv_exeext" >&6; }
2989
2990rm -f conftest.$ac_ext
2991EXEEXT=$ac_cv_exeext
2992ac_exeext=$EXEEXT
2993cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994/* end confdefs.h.  */
2995#include <stdio.h>
2996int
2997main ()
2998{
2999FILE *f = fopen ("conftest.out", "w");
3000 return ferror (f) || fclose (f) != 0;
3001
3002  ;
3003  return 0;
3004}
3005_ACEOF
3006ac_clean_files="$ac_clean_files conftest.out"
3007# Check that the compiler produces executables we can run.  If not, either
3008# the compiler is broken, or we cross compile.
3009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3010$as_echo_n "checking whether we are cross compiling... " >&6; }
3011if test "$cross_compiling" != yes; then
3012  { { ac_try="$ac_link"
3013case "(($ac_try" in
3014  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015  *) ac_try_echo=$ac_try;;
3016esac
3017eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3018$as_echo "$ac_try_echo"; } >&5
3019  (eval "$ac_link") 2>&5
3020  ac_status=$?
3021  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3022  test $ac_status = 0; }
3023  if { ac_try='./conftest$ac_cv_exeext'
3024  { { case "(($ac_try" in
3025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026  *) ac_try_echo=$ac_try;;
3027esac
3028eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029$as_echo "$ac_try_echo"; } >&5
3030  (eval "$ac_try") 2>&5
3031  ac_status=$?
3032  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3033  test $ac_status = 0; }; }; then
3034    cross_compiling=no
3035  else
3036    if test "$cross_compiling" = maybe; then
3037        cross_compiling=yes
3038    else
3039        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041as_fn_error $? "cannot run C compiled programs.
3042If you meant to cross compile, use \`--host'.
3043See \`config.log' for more details" "$LINENO" 5; }
3044    fi
3045  fi
3046fi
3047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3048$as_echo "$cross_compiling" >&6; }
3049
3050rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3051ac_clean_files=$ac_clean_files_save
3052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3053$as_echo_n "checking for suffix of object files... " >&6; }
3054if ${ac_cv_objext+:} false; then :
3055  $as_echo_n "(cached) " >&6
3056else
3057  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058/* end confdefs.h.  */
3059
3060int
3061main ()
3062{
3063
3064  ;
3065  return 0;
3066}
3067_ACEOF
3068rm -f conftest.o conftest.obj
3069if { { ac_try="$ac_compile"
3070case "(($ac_try" in
3071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072  *) ac_try_echo=$ac_try;;
3073esac
3074eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075$as_echo "$ac_try_echo"; } >&5
3076  (eval "$ac_compile") 2>&5
3077  ac_status=$?
3078  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079  test $ac_status = 0; }; then :
3080  for ac_file in conftest.o conftest.obj conftest.*; do
3081  test -f "$ac_file" || continue;
3082  case $ac_file in
3083    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3084    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3085       break;;
3086  esac
3087done
3088else
3089  $as_echo "$as_me: failed program was:" >&5
3090sed 's/^/| /' conftest.$ac_ext >&5
3091
3092{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094as_fn_error $? "cannot compute suffix of object files: cannot compile
3095See \`config.log' for more details" "$LINENO" 5; }
3096fi
3097rm -f conftest.$ac_cv_objext conftest.$ac_ext
3098fi
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3100$as_echo "$ac_cv_objext" >&6; }
3101OBJEXT=$ac_cv_objext
3102ac_objext=$OBJEXT
3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3104$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3105if ${ac_cv_c_compiler_gnu+:} false; then :
3106  $as_echo_n "(cached) " >&6
3107else
3108  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109/* end confdefs.h.  */
3110
3111int
3112main ()
3113{
3114#ifndef __GNUC__
3115       choke me
3116#endif
3117
3118  ;
3119  return 0;
3120}
3121_ACEOF
3122if ac_fn_c_try_compile "$LINENO"; then :
3123  ac_compiler_gnu=yes
3124else
3125  ac_compiler_gnu=no
3126fi
3127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128ac_cv_c_compiler_gnu=$ac_compiler_gnu
3129
3130fi
3131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3132$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3133if test $ac_compiler_gnu = yes; then
3134  GCC=yes
3135else
3136  GCC=
3137fi
3138ac_test_CFLAGS=${CFLAGS+set}
3139ac_save_CFLAGS=$CFLAGS
3140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3141$as_echo_n "checking whether $CC accepts -g... " >&6; }
3142if ${ac_cv_prog_cc_g+:} false; then :
3143  $as_echo_n "(cached) " >&6
3144else
3145  ac_save_c_werror_flag=$ac_c_werror_flag
3146   ac_c_werror_flag=yes
3147   ac_cv_prog_cc_g=no
3148   CFLAGS="-g"
3149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150/* end confdefs.h.  */
3151
3152int
3153main ()
3154{
3155
3156  ;
3157  return 0;
3158}
3159_ACEOF
3160if ac_fn_c_try_compile "$LINENO"; then :
3161  ac_cv_prog_cc_g=yes
3162else
3163  CFLAGS=""
3164      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165/* end confdefs.h.  */
3166
3167int
3168main ()
3169{
3170
3171  ;
3172  return 0;
3173}
3174_ACEOF
3175if ac_fn_c_try_compile "$LINENO"; then :
3176
3177else
3178  ac_c_werror_flag=$ac_save_c_werror_flag
3179         CFLAGS="-g"
3180         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181/* end confdefs.h.  */
3182
3183int
3184main ()
3185{
3186
3187  ;
3188  return 0;
3189}
3190_ACEOF
3191if ac_fn_c_try_compile "$LINENO"; then :
3192  ac_cv_prog_cc_g=yes
3193fi
3194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195fi
3196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3197fi
3198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199   ac_c_werror_flag=$ac_save_c_werror_flag
3200fi
3201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3202$as_echo "$ac_cv_prog_cc_g" >&6; }
3203if test "$ac_test_CFLAGS" = set; then
3204  CFLAGS=$ac_save_CFLAGS
3205elif test $ac_cv_prog_cc_g = yes; then
3206  if test "$GCC" = yes; then
3207    CFLAGS="-g -O2"
3208  else
3209    CFLAGS="-g"
3210  fi
3211else
3212  if test "$GCC" = yes; then
3213    CFLAGS="-O2"
3214  else
3215    CFLAGS=
3216  fi
3217fi
3218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3219$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3220if ${ac_cv_prog_cc_c89+:} false; then :
3221  $as_echo_n "(cached) " >&6
3222else
3223  ac_cv_prog_cc_c89=no
3224ac_save_CC=$CC
3225cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226/* end confdefs.h.  */
3227#include <stdarg.h>
3228#include <stdio.h>
3229struct stat;
3230/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3231struct buf { int x; };
3232FILE * (*rcsopen) (struct buf *, struct stat *, int);
3233static char *e (p, i)
3234     char **p;
3235     int i;
3236{
3237  return p[i];
3238}
3239static char *f (char * (*g) (char **, int), char **p, ...)
3240{
3241  char *s;
3242  va_list v;
3243  va_start (v,p);
3244  s = g (p, va_arg (v,int));
3245  va_end (v);
3246  return s;
3247}
3248
3249/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3250   function prototypes and stuff, but not '\xHH' hex character constants.
3251   These don't provoke an error unfortunately, instead are silently treated
3252   as 'x'.  The following induces an error, until -std is added to get
3253   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3254   array size at least.  It's necessary to write '\x00'==0 to get something
3255   that's true only with -std.  */
3256int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3257
3258/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3259   inside strings and character constants.  */
3260#define FOO(x) 'x'
3261int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3262
3263int test (int i, double x);
3264struct s1 {int (*f) (int a);};
3265struct s2 {int (*f) (double a);};
3266int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3267int argc;
3268char **argv;
3269int
3270main ()
3271{
3272return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3273  ;
3274  return 0;
3275}
3276_ACEOF
3277for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3278        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3279do
3280  CC="$ac_save_CC $ac_arg"
3281  if ac_fn_c_try_compile "$LINENO"; then :
3282  ac_cv_prog_cc_c89=$ac_arg
3283fi
3284rm -f core conftest.err conftest.$ac_objext
3285  test "x$ac_cv_prog_cc_c89" != "xno" && break
3286done
3287rm -f conftest.$ac_ext
3288CC=$ac_save_CC
3289
3290fi
3291# AC_CACHE_VAL
3292case "x$ac_cv_prog_cc_c89" in
3293  x)
3294    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3295$as_echo "none needed" >&6; } ;;
3296  xno)
3297    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3298$as_echo "unsupported" >&6; } ;;
3299  *)
3300    CC="$CC $ac_cv_prog_cc_c89"
3301    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3302$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3303esac
3304if test "x$ac_cv_prog_cc_c89" != xno; then :
3305
3306fi
3307
3308ac_ext=c
3309ac_cpp='$CPP $CPPFLAGS'
3310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312ac_compiler_gnu=$ac_cv_c_compiler_gnu
3313
3314ac_ext=c
3315ac_cpp='$CPP $CPPFLAGS'
3316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318ac_compiler_gnu=$ac_cv_c_compiler_gnu
3319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3320$as_echo_n "checking how to run the C preprocessor... " >&6; }
3321# On Suns, sometimes $CPP names a directory.
3322if test -n "$CPP" && test -d "$CPP"; then
3323  CPP=
3324fi
3325if test -z "$CPP"; then
3326  if ${ac_cv_prog_CPP+:} false; then :
3327  $as_echo_n "(cached) " >&6
3328else
3329      # Double quotes because CPP needs to be expanded
3330    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3331    do
3332      ac_preproc_ok=false
3333for ac_c_preproc_warn_flag in '' yes
3334do
3335  # Use a header file that comes with gcc, so configuring glibc
3336  # with a fresh cross-compiler works.
3337  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3338  # <limits.h> exists even on freestanding compilers.
3339  # On the NeXT, cc -E runs the code through the compiler's parser,
3340  # not just through cpp. "Syntax error" is here to catch this case.
3341  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342/* end confdefs.h.  */
3343#ifdef __STDC__
3344# include <limits.h>
3345#else
3346# include <assert.h>
3347#endif
3348                     Syntax error
3349_ACEOF
3350if ac_fn_c_try_cpp "$LINENO"; then :
3351
3352else
3353  # Broken: fails on valid input.
3354continue
3355fi
3356rm -f conftest.err conftest.i conftest.$ac_ext
3357
3358  # OK, works on sane cases.  Now check whether nonexistent headers
3359  # can be detected and how.
3360  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361/* end confdefs.h.  */
3362#include <ac_nonexistent.h>
3363_ACEOF
3364if ac_fn_c_try_cpp "$LINENO"; then :
3365  # Broken: success on invalid input.
3366continue
3367else
3368  # Passes both tests.
3369ac_preproc_ok=:
3370break
3371fi
3372rm -f conftest.err conftest.i conftest.$ac_ext
3373
3374done
3375# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3376rm -f conftest.i conftest.err conftest.$ac_ext
3377if $ac_preproc_ok; then :
3378  break
3379fi
3380
3381    done
3382    ac_cv_prog_CPP=$CPP
3383
3384fi
3385  CPP=$ac_cv_prog_CPP
3386else
3387  ac_cv_prog_CPP=$CPP
3388fi
3389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3390$as_echo "$CPP" >&6; }
3391ac_preproc_ok=false
3392for ac_c_preproc_warn_flag in '' yes
3393do
3394  # Use a header file that comes with gcc, so configuring glibc
3395  # with a fresh cross-compiler works.
3396  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3397  # <limits.h> exists even on freestanding compilers.
3398  # On the NeXT, cc -E runs the code through the compiler's parser,
3399  # not just through cpp. "Syntax error" is here to catch this case.
3400  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401/* end confdefs.h.  */
3402#ifdef __STDC__
3403# include <limits.h>
3404#else
3405# include <assert.h>
3406#endif
3407                     Syntax error
3408_ACEOF
3409if ac_fn_c_try_cpp "$LINENO"; then :
3410
3411else
3412  # Broken: fails on valid input.
3413continue
3414fi
3415rm -f conftest.err conftest.i conftest.$ac_ext
3416
3417  # OK, works on sane cases.  Now check whether nonexistent headers
3418  # can be detected and how.
3419  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420/* end confdefs.h.  */
3421#include <ac_nonexistent.h>
3422_ACEOF
3423if ac_fn_c_try_cpp "$LINENO"; then :
3424  # Broken: success on invalid input.
3425continue
3426else
3427  # Passes both tests.
3428ac_preproc_ok=:
3429break
3430fi
3431rm -f conftest.err conftest.i conftest.$ac_ext
3432
3433done
3434# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3435rm -f conftest.i conftest.err conftest.$ac_ext
3436if $ac_preproc_ok; then :
3437
3438else
3439  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3442See \`config.log' for more details" "$LINENO" 5; }
3443fi
3444
3445ac_ext=c
3446ac_cpp='$CPP $CPPFLAGS'
3447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450
3451ac_ext=cpp
3452ac_cpp='$CXXCPP $CPPFLAGS'
3453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3456if test -z "$CXX"; then
3457  if test -n "$CCC"; then
3458    CXX=$CCC
3459  else
3460    if test -n "$ac_tool_prefix"; then
3461  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3462  do
3463    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3464set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466$as_echo_n "checking for $ac_word... " >&6; }
3467if ${ac_cv_prog_CXX+:} false; then :
3468  $as_echo_n "(cached) " >&6
3469else
3470  if test -n "$CXX"; then
3471  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3472else
3473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474for as_dir in $PATH
3475do
3476  IFS=$as_save_IFS
3477  test -z "$as_dir" && as_dir=.
3478    for ac_exec_ext in '' $ac_executable_extensions; do
3479  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3480    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3481    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482    break 2
3483  fi
3484done
3485  done
3486IFS=$as_save_IFS
3487
3488fi
3489fi
3490CXX=$ac_cv_prog_CXX
3491if test -n "$CXX"; then
3492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3493$as_echo "$CXX" >&6; }
3494else
3495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496$as_echo "no" >&6; }
3497fi
3498
3499
3500    test -n "$CXX" && break
3501  done
3502fi
3503if test -z "$CXX"; then
3504  ac_ct_CXX=$CXX
3505  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3506do
3507  # Extract the first word of "$ac_prog", so it can be a program name with args.
3508set dummy $ac_prog; ac_word=$2
3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510$as_echo_n "checking for $ac_word... " >&6; }
3511if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3512  $as_echo_n "(cached) " >&6
3513else
3514  if test -n "$ac_ct_CXX"; then
3515  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3516else
3517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518for as_dir in $PATH
3519do
3520  IFS=$as_save_IFS
3521  test -z "$as_dir" && as_dir=.
3522    for ac_exec_ext in '' $ac_executable_extensions; do
3523  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3524    ac_cv_prog_ac_ct_CXX="$ac_prog"
3525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3526    break 2
3527  fi
3528done
3529  done
3530IFS=$as_save_IFS
3531
3532fi
3533fi
3534ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3535if test -n "$ac_ct_CXX"; then
3536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3537$as_echo "$ac_ct_CXX" >&6; }
3538else
3539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540$as_echo "no" >&6; }
3541fi
3542
3543
3544  test -n "$ac_ct_CXX" && break
3545done
3546
3547  if test "x$ac_ct_CXX" = x; then
3548    CXX="g++"
3549  else
3550    case $cross_compiling:$ac_tool_warned in
3551yes:)
3552{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3553$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3554ac_tool_warned=yes ;;
3555esac
3556    CXX=$ac_ct_CXX
3557  fi
3558fi
3559
3560  fi
3561fi
3562# Provide some information about the compiler.
3563$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3564set X $ac_compile
3565ac_compiler=$2
3566for ac_option in --version -v -V -qversion; do
3567  { { ac_try="$ac_compiler $ac_option >&5"
3568case "(($ac_try" in
3569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570  *) ac_try_echo=$ac_try;;
3571esac
3572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3573$as_echo "$ac_try_echo"; } >&5
3574  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3575  ac_status=$?
3576  if test -s conftest.err; then
3577    sed '10a\
3578... rest of stderr output deleted ...
3579         10q' conftest.err >conftest.er1
3580    cat conftest.er1 >&5
3581  fi
3582  rm -f conftest.er1 conftest.err
3583  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3584  test $ac_status = 0; }
3585done
3586
3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3588$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3589if ${ac_cv_cxx_compiler_gnu+:} false; then :
3590  $as_echo_n "(cached) " >&6
3591else
3592  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593/* end confdefs.h.  */
3594
3595int
3596main ()
3597{
3598#ifndef __GNUC__
3599       choke me
3600#endif
3601
3602  ;
3603  return 0;
3604}
3605_ACEOF
3606if ac_fn_cxx_try_compile "$LINENO"; then :
3607  ac_compiler_gnu=yes
3608else
3609  ac_compiler_gnu=no
3610fi
3611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3613
3614fi
3615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3616$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3617if test $ac_compiler_gnu = yes; then
3618  GXX=yes
3619else
3620  GXX=
3621fi
3622ac_test_CXXFLAGS=${CXXFLAGS+set}
3623ac_save_CXXFLAGS=$CXXFLAGS
3624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3625$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3626if ${ac_cv_prog_cxx_g+:} false; then :
3627  $as_echo_n "(cached) " >&6
3628else
3629  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3630   ac_cxx_werror_flag=yes
3631   ac_cv_prog_cxx_g=no
3632   CXXFLAGS="-g"
3633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634/* end confdefs.h.  */
3635
3636int
3637main ()
3638{
3639
3640  ;
3641  return 0;
3642}
3643_ACEOF
3644if ac_fn_cxx_try_compile "$LINENO"; then :
3645  ac_cv_prog_cxx_g=yes
3646else
3647  CXXFLAGS=""
3648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649/* end confdefs.h.  */
3650
3651int
3652main ()
3653{
3654
3655  ;
3656  return 0;
3657}
3658_ACEOF
3659if ac_fn_cxx_try_compile "$LINENO"; then :
3660
3661else
3662  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3663         CXXFLAGS="-g"
3664         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665/* end confdefs.h.  */
3666
3667int
3668main ()
3669{
3670
3671  ;
3672  return 0;
3673}
3674_ACEOF
3675if ac_fn_cxx_try_compile "$LINENO"; then :
3676  ac_cv_prog_cxx_g=yes
3677fi
3678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679fi
3680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3681fi
3682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3684fi
3685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3686$as_echo "$ac_cv_prog_cxx_g" >&6; }
3687if test "$ac_test_CXXFLAGS" = set; then
3688  CXXFLAGS=$ac_save_CXXFLAGS
3689elif test $ac_cv_prog_cxx_g = yes; then
3690  if test "$GXX" = yes; then
3691    CXXFLAGS="-g -O2"
3692  else
3693    CXXFLAGS="-g"
3694  fi
3695else
3696  if test "$GXX" = yes; then
3697    CXXFLAGS="-O2"
3698  else
3699    CXXFLAGS=
3700  fi
3701fi
3702ac_ext=c
3703ac_cpp='$CPP $CPPFLAGS'
3704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3706ac_compiler_gnu=$ac_cv_c_compiler_gnu
3707
3708ac_ext=cpp
3709ac_cpp='$CXXCPP $CPPFLAGS'
3710ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3714$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3715if test -z "$CXXCPP"; then
3716  if ${ac_cv_prog_CXXCPP+:} false; then :
3717  $as_echo_n "(cached) " >&6
3718else
3719      # Double quotes because CXXCPP needs to be expanded
3720    for CXXCPP in "$CXX -E" "/lib/cpp"
3721    do
3722      ac_preproc_ok=false
3723for ac_cxx_preproc_warn_flag in '' yes
3724do
3725  # Use a header file that comes with gcc, so configuring glibc
3726  # with a fresh cross-compiler works.
3727  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3728  # <limits.h> exists even on freestanding compilers.
3729  # On the NeXT, cc -E runs the code through the compiler's parser,
3730  # not just through cpp. "Syntax error" is here to catch this case.
3731  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732/* end confdefs.h.  */
3733#ifdef __STDC__
3734# include <limits.h>
3735#else
3736# include <assert.h>
3737#endif
3738                     Syntax error
3739_ACEOF
3740if ac_fn_cxx_try_cpp "$LINENO"; then :
3741
3742else
3743  # Broken: fails on valid input.
3744continue
3745fi
3746rm -f conftest.err conftest.i conftest.$ac_ext
3747
3748  # OK, works on sane cases.  Now check whether nonexistent headers
3749  # can be detected and how.
3750  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751/* end confdefs.h.  */
3752#include <ac_nonexistent.h>
3753_ACEOF
3754if ac_fn_cxx_try_cpp "$LINENO"; then :
3755  # Broken: success on invalid input.
3756continue
3757else
3758  # Passes both tests.
3759ac_preproc_ok=:
3760break
3761fi
3762rm -f conftest.err conftest.i conftest.$ac_ext
3763
3764done
3765# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3766rm -f conftest.i conftest.err conftest.$ac_ext
3767if $ac_preproc_ok; then :
3768  break
3769fi
3770
3771    done
3772    ac_cv_prog_CXXCPP=$CXXCPP
3773
3774fi
3775  CXXCPP=$ac_cv_prog_CXXCPP
3776else
3777  ac_cv_prog_CXXCPP=$CXXCPP
3778fi
3779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3780$as_echo "$CXXCPP" >&6; }
3781ac_preproc_ok=false
3782for ac_cxx_preproc_warn_flag in '' yes
3783do
3784  # Use a header file that comes with gcc, so configuring glibc
3785  # with a fresh cross-compiler works.
3786  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787  # <limits.h> exists even on freestanding compilers.
3788  # On the NeXT, cc -E runs the code through the compiler's parser,
3789  # not just through cpp. "Syntax error" is here to catch this case.
3790  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791/* end confdefs.h.  */
3792#ifdef __STDC__
3793# include <limits.h>
3794#else
3795# include <assert.h>
3796#endif
3797                     Syntax error
3798_ACEOF
3799if ac_fn_cxx_try_cpp "$LINENO"; then :
3800
3801else
3802  # Broken: fails on valid input.
3803continue
3804fi
3805rm -f conftest.err conftest.i conftest.$ac_ext
3806
3807  # OK, works on sane cases.  Now check whether nonexistent headers
3808  # can be detected and how.
3809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810/* end confdefs.h.  */
3811#include <ac_nonexistent.h>
3812_ACEOF
3813if ac_fn_cxx_try_cpp "$LINENO"; then :
3814  # Broken: success on invalid input.
3815continue
3816else
3817  # Passes both tests.
3818ac_preproc_ok=:
3819break
3820fi
3821rm -f conftest.err conftest.i conftest.$ac_ext
3822
3823done
3824# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3825rm -f conftest.i conftest.err conftest.$ac_ext
3826if $ac_preproc_ok; then :
3827
3828else
3829  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3832See \`config.log' for more details" "$LINENO" 5; }
3833fi
3834
3835ac_ext=c
3836ac_cpp='$CPP $CPPFLAGS'
3837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840
3841ac_ext=cpp
3842ac_cpp='$CXXCPP $CPPFLAGS'
3843ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3844ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3845ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3846if test -z "$CXX"; then
3847  if test -n "$CCC"; then
3848    CXX=$CCC
3849  else
3850    if test -n "$ac_tool_prefix"; then
3851  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3852  do
3853    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3854set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856$as_echo_n "checking for $ac_word... " >&6; }
3857if ${ac_cv_prog_CXX+:} false; then :
3858  $as_echo_n "(cached) " >&6
3859else
3860  if test -n "$CXX"; then
3861  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3862else
3863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864for as_dir in $PATH
3865do
3866  IFS=$as_save_IFS
3867  test -z "$as_dir" && as_dir=.
3868    for ac_exec_ext in '' $ac_executable_extensions; do
3869  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872    break 2
3873  fi
3874done
3875  done
3876IFS=$as_save_IFS
3877
3878fi
3879fi
3880CXX=$ac_cv_prog_CXX
3881if test -n "$CXX"; then
3882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3883$as_echo "$CXX" >&6; }
3884else
3885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886$as_echo "no" >&6; }
3887fi
3888
3889
3890    test -n "$CXX" && break
3891  done
3892fi
3893if test -z "$CXX"; then
3894  ac_ct_CXX=$CXX
3895  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3896do
3897  # Extract the first word of "$ac_prog", so it can be a program name with args.
3898set dummy $ac_prog; ac_word=$2
3899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900$as_echo_n "checking for $ac_word... " >&6; }
3901if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3902  $as_echo_n "(cached) " >&6
3903else
3904  if test -n "$ac_ct_CXX"; then
3905  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3906else
3907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908for as_dir in $PATH
3909do
3910  IFS=$as_save_IFS
3911  test -z "$as_dir" && as_dir=.
3912    for ac_exec_ext in '' $ac_executable_extensions; do
3913  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3914    ac_cv_prog_ac_ct_CXX="$ac_prog"
3915    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916    break 2
3917  fi
3918done
3919  done
3920IFS=$as_save_IFS
3921
3922fi
3923fi
3924ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3925if test -n "$ac_ct_CXX"; then
3926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3927$as_echo "$ac_ct_CXX" >&6; }
3928else
3929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930$as_echo "no" >&6; }
3931fi
3932
3933
3934  test -n "$ac_ct_CXX" && break
3935done
3936
3937  if test "x$ac_ct_CXX" = x; then
3938    CXX="g++"
3939  else
3940    case $cross_compiling:$ac_tool_warned in
3941yes:)
3942{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3943$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3944ac_tool_warned=yes ;;
3945esac
3946    CXX=$ac_ct_CXX
3947  fi
3948fi
3949
3950  fi
3951fi
3952# Provide some information about the compiler.
3953$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3954set X $ac_compile
3955ac_compiler=$2
3956for ac_option in --version -v -V -qversion; do
3957  { { ac_try="$ac_compiler $ac_option >&5"
3958case "(($ac_try" in
3959  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960  *) ac_try_echo=$ac_try;;
3961esac
3962eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963$as_echo "$ac_try_echo"; } >&5
3964  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3965  ac_status=$?
3966  if test -s conftest.err; then
3967    sed '10a\
3968... rest of stderr output deleted ...
3969         10q' conftest.err >conftest.er1
3970    cat conftest.er1 >&5
3971  fi
3972  rm -f conftest.er1 conftest.err
3973  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3974  test $ac_status = 0; }
3975done
3976
3977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3978$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3979if ${ac_cv_cxx_compiler_gnu+:} false; then :
3980  $as_echo_n "(cached) " >&6
3981else
3982  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983/* end confdefs.h.  */
3984
3985int
3986main ()
3987{
3988#ifndef __GNUC__
3989       choke me
3990#endif
3991
3992  ;
3993  return 0;
3994}
3995_ACEOF
3996if ac_fn_cxx_try_compile "$LINENO"; then :
3997  ac_compiler_gnu=yes
3998else
3999  ac_compiler_gnu=no
4000fi
4001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4002ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4003
4004fi
4005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4006$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4007if test $ac_compiler_gnu = yes; then
4008  GXX=yes
4009else
4010  GXX=
4011fi
4012ac_test_CXXFLAGS=${CXXFLAGS+set}
4013ac_save_CXXFLAGS=$CXXFLAGS
4014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4015$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4016if ${ac_cv_prog_cxx_g+:} false; then :
4017  $as_echo_n "(cached) " >&6
4018else
4019  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4020   ac_cxx_werror_flag=yes
4021   ac_cv_prog_cxx_g=no
4022   CXXFLAGS="-g"
4023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024/* end confdefs.h.  */
4025
4026int
4027main ()
4028{
4029
4030  ;
4031  return 0;
4032}
4033_ACEOF
4034if ac_fn_cxx_try_compile "$LINENO"; then :
4035  ac_cv_prog_cxx_g=yes
4036else
4037  CXXFLAGS=""
4038      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039/* end confdefs.h.  */
4040
4041int
4042main ()
4043{
4044
4045  ;
4046  return 0;
4047}
4048_ACEOF
4049if ac_fn_cxx_try_compile "$LINENO"; then :
4050
4051else
4052  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4053         CXXFLAGS="-g"
4054         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055/* end confdefs.h.  */
4056
4057int
4058main ()
4059{
4060
4061  ;
4062  return 0;
4063}
4064_ACEOF
4065if ac_fn_cxx_try_compile "$LINENO"; then :
4066  ac_cv_prog_cxx_g=yes
4067fi
4068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069fi
4070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4071fi
4072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4074fi
4075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4076$as_echo "$ac_cv_prog_cxx_g" >&6; }
4077if test "$ac_test_CXXFLAGS" = set; then
4078  CXXFLAGS=$ac_save_CXXFLAGS
4079elif test $ac_cv_prog_cxx_g = yes; then
4080  if test "$GXX" = yes; then
4081    CXXFLAGS="-g -O2"
4082  else
4083    CXXFLAGS="-g"
4084  fi
4085else
4086  if test "$GXX" = yes; then
4087    CXXFLAGS="-O2"
4088  else
4089    CXXFLAGS=
4090  fi
4091fi
4092ac_ext=c
4093ac_cpp='$CPP $CPPFLAGS'
4094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096ac_compiler_gnu=$ac_cv_c_compiler_gnu
4097
4098ac_ext=cpp
4099ac_cpp='$CXXCPP $CPPFLAGS'
4100ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4101ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4102ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4103
4104
4105#
4106# Need to check for the following dependencies:
4107#       Tcl headers and library
4108#       GL headers and library
4109#       pthread library
4110#       OpenSceneGraph libraries
4111#       osgEarth libraries
4112#
4113
4114TCL_VERSION="8.4"
4115for dir in \
4116 ${exec_prefix} \
4117 ${exec_prefix}/lib ; do
4118  tclconfig="${dir}/tclConfig.sh"
4119  if test -f "$tclconfig" ; then
4120    . $tclconfig
4121    break
4122  fi
4123done
4124TCL_INC_SPEC="$TCL_INCLUDE_SPEC"
4125
4126if test "x$with_tcllib" != "x" ; then
4127   tclconfig="${with_tcllib}/tclConfig.sh"
4128   if test -f "$tclconfig" ; then
4129    . $tclconfig
4130   fi
4131   TCL_LIB_SPEC="-L${with_tcllib} -ltcl${TCL_VERSION}"
4132fi
4133if test "x$with_tclinclude" != "x" ; then
4134   TCL_INC_SPEC="-I${with_tclinclude}"
4135fi
4136
4137OSG_INC_SPEC=-I${incdir}
4138OSG_LIB_DIR=${libdir}
4139OSG_LIB_SPEC="-L${libdir}"
4140
4141if test "x$with_osg_includes" != "x"; then
4142   OSG_INC_SPEC=-I$with_osg_includes
4143fi
4144
4145if test "x$with_osg_libs" != "x"; then
4146   OSG_LIB_DIR=$with_osg_libs
4147   OSG_LIB_SPEC="-L$with_osg_libs"
4148fi
4149
4150RESOURCES_DIR=${libdir}/resources
4151
4152
4153
4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4155$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4156if ${ac_cv_path_GREP+:} false; then :
4157  $as_echo_n "(cached) " >&6
4158else
4159  if test -z "$GREP"; then
4160  ac_path_GREP_found=false
4161  # Loop through the user's path and test for each of PROGNAME-LIST
4162  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4164do
4165  IFS=$as_save_IFS
4166  test -z "$as_dir" && as_dir=.
4167    for ac_prog in grep ggrep; do
4168    for ac_exec_ext in '' $ac_executable_extensions; do
4169      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4170      as_fn_executable_p "$ac_path_GREP" || continue
4171# Check for GNU ac_path_GREP and select it if it is found.
4172  # Check for GNU $ac_path_GREP
4173case `"$ac_path_GREP" --version 2>&1` in
4174*GNU*)
4175  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4176*)
4177  ac_count=0
4178  $as_echo_n 0123456789 >"conftest.in"
4179  while :
4180  do
4181    cat "conftest.in" "conftest.in" >"conftest.tmp"
4182    mv "conftest.tmp" "conftest.in"
4183    cp "conftest.in" "conftest.nl"
4184    $as_echo 'GREP' >> "conftest.nl"
4185    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4186    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4187    as_fn_arith $ac_count + 1 && ac_count=$as_val
4188    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4189      # Best one so far, save it but keep looking for a better one
4190      ac_cv_path_GREP="$ac_path_GREP"
4191      ac_path_GREP_max=$ac_count
4192    fi
4193    # 10*(2^10) chars as input seems more than enough
4194    test $ac_count -gt 10 && break
4195  done
4196  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4197esac
4198
4199      $ac_path_GREP_found && break 3
4200    done
4201  done
4202  done
4203IFS=$as_save_IFS
4204  if test -z "$ac_cv_path_GREP"; then
4205    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4206  fi
4207else
4208  ac_cv_path_GREP=$GREP
4209fi
4210
4211fi
4212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4213$as_echo "$ac_cv_path_GREP" >&6; }
4214 GREP="$ac_cv_path_GREP"
4215
4216
4217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4218$as_echo_n "checking for egrep... " >&6; }
4219if ${ac_cv_path_EGREP+:} false; then :
4220  $as_echo_n "(cached) " >&6
4221else
4222  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4223   then ac_cv_path_EGREP="$GREP -E"
4224   else
4225     if test -z "$EGREP"; then
4226  ac_path_EGREP_found=false
4227  # Loop through the user's path and test for each of PROGNAME-LIST
4228  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4230do
4231  IFS=$as_save_IFS
4232  test -z "$as_dir" && as_dir=.
4233    for ac_prog in egrep; do
4234    for ac_exec_ext in '' $ac_executable_extensions; do
4235      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4236      as_fn_executable_p "$ac_path_EGREP" || continue
4237# Check for GNU ac_path_EGREP and select it if it is found.
4238  # Check for GNU $ac_path_EGREP
4239case `"$ac_path_EGREP" --version 2>&1` in
4240*GNU*)
4241  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4242*)
4243  ac_count=0
4244  $as_echo_n 0123456789 >"conftest.in"
4245  while :
4246  do
4247    cat "conftest.in" "conftest.in" >"conftest.tmp"
4248    mv "conftest.tmp" "conftest.in"
4249    cp "conftest.in" "conftest.nl"
4250    $as_echo 'EGREP' >> "conftest.nl"
4251    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4252    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4253    as_fn_arith $ac_count + 1 && ac_count=$as_val
4254    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4255      # Best one so far, save it but keep looking for a better one
4256      ac_cv_path_EGREP="$ac_path_EGREP"
4257      ac_path_EGREP_max=$ac_count
4258    fi
4259    # 10*(2^10) chars as input seems more than enough
4260    test $ac_count -gt 10 && break
4261  done
4262  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4263esac
4264
4265      $ac_path_EGREP_found && break 3
4266    done
4267  done
4268  done
4269IFS=$as_save_IFS
4270  if test -z "$ac_cv_path_EGREP"; then
4271    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4272  fi
4273else
4274  ac_cv_path_EGREP=$EGREP
4275fi
4276
4277   fi
4278fi
4279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4280$as_echo "$ac_cv_path_EGREP" >&6; }
4281 EGREP="$ac_cv_path_EGREP"
4282
4283
4284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4285$as_echo_n "checking for ANSI C header files... " >&6; }
4286if ${ac_cv_header_stdc+:} false; then :
4287  $as_echo_n "(cached) " >&6
4288else
4289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290/* end confdefs.h.  */
4291#include <stdlib.h>
4292#include <stdarg.h>
4293#include <string.h>
4294#include <float.h>
4295
4296int
4297main ()
4298{
4299
4300  ;
4301  return 0;
4302}
4303_ACEOF
4304if ac_fn_cxx_try_compile "$LINENO"; then :
4305  ac_cv_header_stdc=yes
4306else
4307  ac_cv_header_stdc=no
4308fi
4309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310
4311if test $ac_cv_header_stdc = yes; then
4312  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314/* end confdefs.h.  */
4315#include <string.h>
4316
4317_ACEOF
4318if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4319  $EGREP "memchr" >/dev/null 2>&1; then :
4320
4321else
4322  ac_cv_header_stdc=no
4323fi
4324rm -f conftest*
4325
4326fi
4327
4328if test $ac_cv_header_stdc = yes; then
4329  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4330  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331/* end confdefs.h.  */
4332#include <stdlib.h>
4333
4334_ACEOF
4335if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4336  $EGREP "free" >/dev/null 2>&1; then :
4337
4338else
4339  ac_cv_header_stdc=no
4340fi
4341rm -f conftest*
4342
4343fi
4344
4345if test $ac_cv_header_stdc = yes; then
4346  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4347  if test "$cross_compiling" = yes; then :
4348  :
4349else
4350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351/* end confdefs.h.  */
4352#include <ctype.h>
4353#include <stdlib.h>
4354#if ((' ' & 0x0FF) == 0x020)
4355# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4356# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4357#else
4358# define ISLOWER(c) \
4359                   (('a' <= (c) && (c) <= 'i') \
4360                     || ('j' <= (c) && (c) <= 'r') \
4361                     || ('s' <= (c) && (c) <= 'z'))
4362# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4363#endif
4364
4365#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4366int
4367main ()
4368{
4369  int i;
4370  for (i = 0; i < 256; i++)
4371    if (XOR (islower (i), ISLOWER (i))
4372        || toupper (i) != TOUPPER (i))
4373      return 2;
4374  return 0;
4375}
4376_ACEOF
4377if ac_fn_cxx_try_run "$LINENO"; then :
4378
4379else
4380  ac_cv_header_stdc=no
4381fi
4382rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4383  conftest.$ac_objext conftest.beam conftest.$ac_ext
4384fi
4385
4386fi
4387fi
4388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4389$as_echo "$ac_cv_header_stdc" >&6; }
4390if test $ac_cv_header_stdc = yes; then
4391
4392$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4393
4394fi
4395
4396# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4397for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4398                  inttypes.h stdint.h unistd.h
4399do :
4400  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4401ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4402"
4403if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4404  cat >>confdefs.h <<_ACEOF
4405#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4406_ACEOF
4407
4408fi
4409
4410done
4411
4412
4413for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
4414do :
4415  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4416ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4417if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4418  cat >>confdefs.h <<_ACEOF
4419#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4420_ACEOF
4421
4422fi
4423
4424done
4425
4426for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
4427do :
4428  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4429ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4430if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4431  cat >>confdefs.h <<_ACEOF
4432#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4433_ACEOF
4434
4435fi
4436
4437done
4438
4439
4440for ac_func in accept4
4441do :
4442  ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4"
4443if test "x$ac_cv_func_accept4" = xyes; then :
4444  cat >>confdefs.h <<_ACEOF
4445#define HAVE_ACCEPT4 1
4446_ACEOF
4447
4448fi
4449done
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460ac_config_files="$ac_config_files Makefile"
4461
4462cat >confcache <<\_ACEOF
4463# This file is a shell script that caches the results of configure
4464# tests run on this system so they can be shared between configure
4465# scripts and configure runs, see configure's option --config-cache.
4466# It is not useful on other systems.  If it contains results you don't
4467# want to keep, you may remove or edit it.
4468#
4469# config.status only pays attention to the cache file if you give it
4470# the --recheck option to rerun configure.
4471#
4472# `ac_cv_env_foo' variables (set or unset) will be overridden when
4473# loading this file, other *unset* `ac_cv_foo' will be assigned the
4474# following values.
4475
4476_ACEOF
4477
4478# The following way of writing the cache mishandles newlines in values,
4479# but we know of no workaround that is simple, portable, and efficient.
4480# So, we kill variables containing newlines.
4481# Ultrix sh set writes to stderr and can't be redirected directly,
4482# and sets the high bit in the cache file unless we assign to the vars.
4483(
4484  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4485    eval ac_val=\$$ac_var
4486    case $ac_val in #(
4487    *${as_nl}*)
4488      case $ac_var in #(
4489      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4490$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4491      esac
4492      case $ac_var in #(
4493      _ | IFS | as_nl) ;; #(
4494      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4495      *) { eval $ac_var=; unset $ac_var;} ;;
4496      esac ;;
4497    esac
4498  done
4499
4500  (set) 2>&1 |
4501    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4502    *${as_nl}ac_space=\ *)
4503      # `set' does not quote correctly, so add quotes: double-quote
4504      # substitution turns \\\\ into \\, and sed turns \\ into \.
4505      sed -n \
4506        "s/'/'\\\\''/g;
4507          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4508      ;; #(
4509    *)
4510      # `set' quotes correctly as required by POSIX, so do not add quotes.
4511      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4512      ;;
4513    esac |
4514    sort
4515) |
4516  sed '
4517     /^ac_cv_env_/b end
4518     t clear
4519     :clear
4520     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4521     t end
4522     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4523     :end' >>confcache
4524if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4525  if test -w "$cache_file"; then
4526    if test "x$cache_file" != "x/dev/null"; then
4527      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4528$as_echo "$as_me: updating cache $cache_file" >&6;}
4529      if test ! -f "$cache_file" || test -h "$cache_file"; then
4530        cat confcache >"$cache_file"
4531      else
4532        case $cache_file in #(
4533        */* | ?:*)
4534          mv -f confcache "$cache_file"$$ &&
4535          mv -f "$cache_file"$$ "$cache_file" ;; #(
4536        *)
4537          mv -f confcache "$cache_file" ;;
4538        esac
4539      fi
4540    fi
4541  else
4542    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4543$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4544  fi
4545fi
4546rm -f confcache
4547
4548test "x$prefix" = xNONE && prefix=$ac_default_prefix
4549# Let make expand exec_prefix.
4550test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4551
4552# Transform confdefs.h into DEFS.
4553# Protect against shell expansion while executing Makefile rules.
4554# Protect against Makefile macro expansion.
4555#
4556# If the first sed substitution is executed (which looks for macros that
4557# take arguments), then branch to the quote section.  Otherwise,
4558# look for a macro that doesn't take arguments.
4559ac_script='
4560:mline
4561/\\$/{
4562 N
4563 s,\\\n,,
4564 b mline
4565}
4566t clear
4567:clear
4568s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4569t quote
4570s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4571t quote
4572b any
4573:quote
4574s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4575s/\[/\\&/g
4576s/\]/\\&/g
4577s/\$/$$/g
4578H
4579:any
4580${
4581        g
4582        s/^\n//
4583        s/\n/ /g
4584        p
4585}
4586'
4587DEFS=`sed -n "$ac_script" confdefs.h`
4588
4589
4590ac_libobjs=
4591ac_ltlibobjs=
4592U=
4593for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4594  # 1. Remove the extension, and $U if already installed.
4595  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4596  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4597  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4598  #    will be set to the directory where LIBOBJS objects are built.
4599  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4600  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4601done
4602LIBOBJS=$ac_libobjs
4603
4604LTLIBOBJS=$ac_ltlibobjs
4605
4606
4607
4608: "${CONFIG_STATUS=./config.status}"
4609ac_write_fail=0
4610ac_clean_files_save=$ac_clean_files
4611ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4612{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4613$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4614as_write_fail=0
4615cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4616#! $SHELL
4617# Generated by $as_me.
4618# Run this file to recreate the current configuration.
4619# Compiler output produced by configure, useful for debugging
4620# configure, is in config.log if it exists.
4621
4622debug=false
4623ac_cs_recheck=false
4624ac_cs_silent=false
4625
4626SHELL=\${CONFIG_SHELL-$SHELL}
4627export SHELL
4628_ASEOF
4629cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4630## -------------------- ##
4631## M4sh Initialization. ##
4632## -------------------- ##
4633
4634# Be more Bourne compatible
4635DUALCASE=1; export DUALCASE # for MKS sh
4636if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4637  emulate sh
4638  NULLCMD=:
4639  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4640  # is contrary to our usage.  Disable this feature.
4641  alias -g '${1+"$@"}'='"$@"'
4642  setopt NO_GLOB_SUBST
4643else
4644  case `(set -o) 2>/dev/null` in #(
4645  *posix*) :
4646    set -o posix ;; #(
4647  *) :
4648     ;;
4649esac
4650fi
4651
4652
4653as_nl='
4654'
4655export as_nl
4656# Printing a long string crashes Solaris 7 /usr/bin/printf.
4657as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4658as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4659as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4660# Prefer a ksh shell builtin over an external printf program on Solaris,
4661# but without wasting forks for bash or zsh.
4662if test -z "$BASH_VERSION$ZSH_VERSION" \
4663    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4664  as_echo='print -r --'
4665  as_echo_n='print -rn --'
4666elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4667  as_echo='printf %s\n'
4668  as_echo_n='printf %s'
4669else
4670  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4671    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4672    as_echo_n='/usr/ucb/echo -n'
4673  else
4674    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4675    as_echo_n_body='eval
4676      arg=$1;
4677      case $arg in #(
4678      *"$as_nl"*)
4679        expr "X$arg" : "X\\(.*\\)$as_nl";
4680        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4681      esac;
4682      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4683    '
4684    export as_echo_n_body
4685    as_echo_n='sh -c $as_echo_n_body as_echo'
4686  fi
4687  export as_echo_body
4688  as_echo='sh -c $as_echo_body as_echo'
4689fi
4690
4691# The user is always right.
4692if test "${PATH_SEPARATOR+set}" != set; then
4693  PATH_SEPARATOR=:
4694  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4695    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4696      PATH_SEPARATOR=';'
4697  }
4698fi
4699
4700
4701# IFS
4702# We need space, tab and new line, in precisely that order.  Quoting is
4703# there to prevent editors from complaining about space-tab.
4704# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4705# splitting by setting IFS to empty value.)
4706IFS=" ""        $as_nl"
4707
4708# Find who we are.  Look in the path if we contain no directory separator.
4709as_myself=
4710case $0 in #((
4711  *[\\/]* ) as_myself=$0 ;;
4712  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713for as_dir in $PATH
4714do
4715  IFS=$as_save_IFS
4716  test -z "$as_dir" && as_dir=.
4717    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4718  done
4719IFS=$as_save_IFS
4720
4721     ;;
4722esac
4723# We did not find ourselves, most probably we were run as `sh COMMAND'
4724# in which case we are not to be found in the path.
4725if test "x$as_myself" = x; then
4726  as_myself=$0
4727fi
4728if test ! -f "$as_myself"; then
4729  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4730  exit 1
4731fi
4732
4733# Unset variables that we do not need and which cause bugs (e.g. in
4734# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4735# suppresses any "Segmentation fault" message there.  '((' could
4736# trigger a bug in pdksh 5.2.14.
4737for as_var in BASH_ENV ENV MAIL MAILPATH
4738do eval test x\${$as_var+set} = xset \
4739  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4740done
4741PS1='$ '
4742PS2='> '
4743PS4='+ '
4744
4745# NLS nuisances.
4746LC_ALL=C
4747export LC_ALL
4748LANGUAGE=C
4749export LANGUAGE
4750
4751# CDPATH.
4752(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4753
4754
4755# as_fn_error STATUS ERROR [LINENO LOG_FD]
4756# ----------------------------------------
4757# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4758# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4759# script with STATUS, using 1 if that was 0.
4760as_fn_error ()
4761{
4762  as_status=$1; test $as_status -eq 0 && as_status=1
4763  if test "$4"; then
4764    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4765    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4766  fi
4767  $as_echo "$as_me: error: $2" >&2
4768  as_fn_exit $as_status
4769} # as_fn_error
4770
4771
4772# as_fn_set_status STATUS
4773# -----------------------
4774# Set $? to STATUS, without forking.
4775as_fn_set_status ()
4776{
4777  return $1
4778} # as_fn_set_status
4779
4780# as_fn_exit STATUS
4781# -----------------
4782# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4783as_fn_exit ()
4784{
4785  set +e
4786  as_fn_set_status $1
4787  exit $1
4788} # as_fn_exit
4789
4790# as_fn_unset VAR
4791# ---------------
4792# Portably unset VAR.
4793as_fn_unset ()
4794{
4795  { eval $1=; unset $1;}
4796}
4797as_unset=as_fn_unset
4798# as_fn_append VAR VALUE
4799# ----------------------
4800# Append the text in VALUE to the end of the definition contained in VAR. Take
4801# advantage of any shell optimizations that allow amortized linear growth over
4802# repeated appends, instead of the typical quadratic growth present in naive
4803# implementations.
4804if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4805  eval 'as_fn_append ()
4806  {
4807    eval $1+=\$2
4808  }'
4809else
4810  as_fn_append ()
4811  {
4812    eval $1=\$$1\$2
4813  }
4814fi # as_fn_append
4815
4816# as_fn_arith ARG...
4817# ------------------
4818# Perform arithmetic evaluation on the ARGs, and store the result in the
4819# global $as_val. Take advantage of shells that can avoid forks. The arguments
4820# must be portable across $(()) and expr.
4821if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4822  eval 'as_fn_arith ()
4823  {
4824    as_val=$(( $* ))
4825  }'
4826else
4827  as_fn_arith ()
4828  {
4829    as_val=`expr "$@" || test $? -eq 1`
4830  }
4831fi # as_fn_arith
4832
4833
4834if expr a : '\(a\)' >/dev/null 2>&1 &&
4835   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4836  as_expr=expr
4837else
4838  as_expr=false
4839fi
4840
4841if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4842  as_basename=basename
4843else
4844  as_basename=false
4845fi
4846
4847if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4848  as_dirname=dirname
4849else
4850  as_dirname=false
4851fi
4852
4853as_me=`$as_basename -- "$0" ||
4854$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4855         X"$0" : 'X\(//\)$' \| \
4856         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4857$as_echo X/"$0" |
4858    sed '/^.*\/\([^/][^/]*\)\/*$/{
4859            s//\1/
4860            q
4861          }
4862          /^X\/\(\/\/\)$/{
4863            s//\1/
4864            q
4865          }
4866          /^X\/\(\/\).*/{
4867            s//\1/
4868            q
4869          }
4870          s/.*/./; q'`
4871
4872# Avoid depending upon Character Ranges.
4873as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4874as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4875as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4876as_cr_digits='0123456789'
4877as_cr_alnum=$as_cr_Letters$as_cr_digits
4878
4879ECHO_C= ECHO_N= ECHO_T=
4880case `echo -n x` in #(((((
4881-n*)
4882  case `echo 'xy\c'` in
4883  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4884  xy)  ECHO_C='\c';;
4885  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4886       ECHO_T=' ';;
4887  esac;;
4888*)
4889  ECHO_N='-n';;
4890esac
4891
4892rm -f conf$$ conf$$.exe conf$$.file
4893if test -d conf$$.dir; then
4894  rm -f conf$$.dir/conf$$.file
4895else
4896  rm -f conf$$.dir
4897  mkdir conf$$.dir 2>/dev/null
4898fi
4899if (echo >conf$$.file) 2>/dev/null; then
4900  if ln -s conf$$.file conf$$ 2>/dev/null; then
4901    as_ln_s='ln -s'
4902    # ... but there are two gotchas:
4903    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4904    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4905    # In both cases, we have to default to `cp -pR'.
4906    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4907      as_ln_s='cp -pR'
4908  elif ln conf$$.file conf$$ 2>/dev/null; then
4909    as_ln_s=ln
4910  else
4911    as_ln_s='cp -pR'
4912  fi
4913else
4914  as_ln_s='cp -pR'
4915fi
4916rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4917rmdir conf$$.dir 2>/dev/null
4918
4919
4920# as_fn_mkdir_p
4921# -------------
4922# Create "$as_dir" as a directory, including parents if necessary.
4923as_fn_mkdir_p ()
4924{
4925
4926  case $as_dir in #(
4927  -*) as_dir=./$as_dir;;
4928  esac
4929  test -d "$as_dir" || eval $as_mkdir_p || {
4930    as_dirs=
4931    while :; do
4932      case $as_dir in #(
4933      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4934      *) as_qdir=$as_dir;;
4935      esac
4936      as_dirs="'$as_qdir' $as_dirs"
4937      as_dir=`$as_dirname -- "$as_dir" ||
4938$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4939         X"$as_dir" : 'X\(//\)[^/]' \| \
4940         X"$as_dir" : 'X\(//\)$' \| \
4941         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4942$as_echo X"$as_dir" |
4943    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4944            s//\1/
4945            q
4946          }
4947          /^X\(\/\/\)[^/].*/{
4948            s//\1/
4949            q
4950          }
4951          /^X\(\/\/\)$/{
4952            s//\1/
4953            q
4954          }
4955          /^X\(\/\).*/{
4956            s//\1/
4957            q
4958          }
4959          s/.*/./; q'`
4960      test -d "$as_dir" && break
4961    done
4962    test -z "$as_dirs" || eval "mkdir $as_dirs"
4963  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4964
4965
4966} # as_fn_mkdir_p
4967if mkdir -p . 2>/dev/null; then
4968  as_mkdir_p='mkdir -p "$as_dir"'
4969else
4970  test -d ./-p && rmdir ./-p
4971  as_mkdir_p=false
4972fi
4973
4974
4975# as_fn_executable_p FILE
4976# -----------------------
4977# Test if FILE is an executable regular file.
4978as_fn_executable_p ()
4979{
4980  test -f "$1" && test -x "$1"
4981} # as_fn_executable_p
4982as_test_x='test -x'
4983as_executable_p=as_fn_executable_p
4984
4985# Sed expression to map a string onto a valid CPP name.
4986as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4987
4988# Sed expression to map a string onto a valid variable name.
4989as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4990
4991
4992exec 6>&1
4993## ----------------------------------- ##
4994## Main body of $CONFIG_STATUS script. ##
4995## ----------------------------------- ##
4996_ASEOF
4997test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4998
4999cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5000# Save the log message, to keep $0 and so on meaningful, and to
5001# report actual input values of CONFIG_FILES etc. instead of their
5002# values after options handling.
5003ac_log="
5004This file was extended by geovis $as_me 0.4, which was
5005generated by GNU Autoconf 2.69.  Invocation command line was
5006
5007  CONFIG_FILES    = $CONFIG_FILES
5008  CONFIG_HEADERS  = $CONFIG_HEADERS
5009  CONFIG_LINKS    = $CONFIG_LINKS
5010  CONFIG_COMMANDS = $CONFIG_COMMANDS
5011  $ $0 $@
5012
5013on `(hostname || uname -n) 2>/dev/null | sed 1q`
5014"
5015
5016_ACEOF
5017
5018case $ac_config_files in *"
5019"*) set x $ac_config_files; shift; ac_config_files=$*;;
5020esac
5021
5022
5023
5024cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5025# Files that config.status was made for.
5026config_files="$ac_config_files"
5027
5028_ACEOF
5029
5030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5031ac_cs_usage="\
5032\`$as_me' instantiates files and other configuration actions
5033from templates according to the current configuration.  Unless the files
5034and actions are specified as TAGs, all are instantiated by default.
5035
5036Usage: $0 [OPTION]... [TAG]...
5037
5038  -h, --help       print this help, then exit
5039  -V, --version    print version number and configuration settings, then exit
5040      --config     print configuration, then exit
5041  -q, --quiet, --silent
5042                   do not print progress messages
5043  -d, --debug      don't remove temporary files
5044      --recheck    update $as_me by reconfiguring in the same conditions
5045      --file=FILE[:TEMPLATE]
5046                   instantiate the configuration file FILE
5047
5048Configuration files:
5049$config_files
5050
5051Report bugs to <rappture@nanohub.org>."
5052
5053_ACEOF
5054cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5055ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5056ac_cs_version="\\
5057geovis config.status 0.4
5058configured by $0, generated by GNU Autoconf 2.69,
5059  with options \\"\$ac_cs_config\\"
5060
5061Copyright (C) 2012 Free Software Foundation, Inc.
5062This config.status script is free software; the Free Software Foundation
5063gives unlimited permission to copy, distribute and modify it."
5064
5065ac_pwd='$ac_pwd'
5066srcdir='$srcdir'
5067INSTALL='$INSTALL'
5068MKDIR_P='$MKDIR_P'
5069test -n "\$AWK" || AWK=awk
5070_ACEOF
5071
5072cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5073# The default lists apply if the user does not specify any file.
5074ac_need_defaults=:
5075while test $# != 0
5076do
5077  case $1 in
5078  --*=?*)
5079    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5080    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5081    ac_shift=:
5082    ;;
5083  --*=)
5084    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5085    ac_optarg=
5086    ac_shift=:
5087    ;;
5088  *)
5089    ac_option=$1
5090    ac_optarg=$2
5091    ac_shift=shift
5092    ;;
5093  esac
5094
5095  case $ac_option in
5096  # Handling of the options.
5097  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5098    ac_cs_recheck=: ;;
5099  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5100    $as_echo "$ac_cs_version"; exit ;;
5101  --config | --confi | --conf | --con | --co | --c )
5102    $as_echo "$ac_cs_config"; exit ;;
5103  --debug | --debu | --deb | --de | --d | -d )
5104    debug=: ;;
5105  --file | --fil | --fi | --f )
5106    $ac_shift
5107    case $ac_optarg in
5108    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5109    '') as_fn_error $? "missing file argument" ;;
5110    esac
5111    as_fn_append CONFIG_FILES " '$ac_optarg'"
5112    ac_need_defaults=false;;
5113  --he | --h |  --help | --hel | -h )
5114    $as_echo "$ac_cs_usage"; exit ;;
5115  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5116  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5117    ac_cs_silent=: ;;
5118
5119  # This is an error.
5120  -*) as_fn_error $? "unrecognized option: \`$1'
5121Try \`$0 --help' for more information." ;;
5122
5123  *) as_fn_append ac_config_targets " $1"
5124     ac_need_defaults=false ;;
5125
5126  esac
5127  shift
5128done
5129
5130ac_configure_extra_args=
5131
5132if $ac_cs_silent; then
5133  exec 6>/dev/null
5134  ac_configure_extra_args="$ac_configure_extra_args --silent"
5135fi
5136
5137_ACEOF
5138cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5139if \$ac_cs_recheck; then
5140  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5141  shift
5142  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5143  CONFIG_SHELL='$SHELL'
5144  export CONFIG_SHELL
5145  exec "\$@"
5146fi
5147
5148_ACEOF
5149cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5150exec 5>>config.log
5151{
5152  echo
5153  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5154## Running $as_me. ##
5155_ASBOX
5156  $as_echo "$ac_log"
5157} >&5
5158
5159_ACEOF
5160cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5161_ACEOF
5162
5163cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5164
5165# Handling of arguments.
5166for ac_config_target in $ac_config_targets
5167do
5168  case $ac_config_target in
5169    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5170
5171  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5172  esac
5173done
5174
5175
5176# If the user did not use the arguments to specify the items to instantiate,
5177# then the envvar interface is used.  Set only those that are not.
5178# We use the long form for the default assignment because of an extremely
5179# bizarre bug on SunOS 4.1.3.
5180if $ac_need_defaults; then
5181  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5182fi
5183
5184# Have a temporary directory for convenience.  Make it in the build tree
5185# simply because there is no reason against having it here, and in addition,
5186# creating and moving files from /tmp can sometimes cause problems.
5187# Hook for its removal unless debugging.
5188# Note that there is a small window in which the directory will not be cleaned:
5189# after its creation but before its name has been assigned to `$tmp'.
5190$debug ||
5191{
5192  tmp= ac_tmp=
5193  trap 'exit_status=$?
5194  : "${ac_tmp:=$tmp}"
5195  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5196' 0
5197  trap 'as_fn_exit 1' 1 2 13 15
5198}
5199# Create a (secure) tmp directory for tmp files.
5200
5201{
5202  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5203  test -d "$tmp"
5204}  ||
5205{
5206  tmp=./conf$$-$RANDOM
5207  (umask 077 && mkdir "$tmp")
5208} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5209ac_tmp=$tmp
5210
5211# Set up the scripts for CONFIG_FILES section.
5212# No need to generate them if there are no CONFIG_FILES.
5213# This happens for instance with `./config.status config.h'.
5214if test -n "$CONFIG_FILES"; then
5215
5216
5217ac_cr=`echo X | tr X '\015'`
5218# On cygwin, bash can eat \r inside `` if the user requested igncr.
5219# But we know of no other shell where ac_cr would be empty at this
5220# point, so we can use a bashism as a fallback.
5221if test "x$ac_cr" = x; then
5222  eval ac_cr=\$\'\\r\'
5223fi
5224ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5225if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5226  ac_cs_awk_cr='\\r'
5227else
5228  ac_cs_awk_cr=$ac_cr
5229fi
5230
5231echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5232_ACEOF
5233
5234
5235{
5236  echo "cat >conf$$subs.awk <<_ACEOF" &&
5237  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5238  echo "_ACEOF"
5239} >conf$$subs.sh ||
5240  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5241ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5242ac_delim='%!_!# '
5243for ac_last_try in false false false false false :; do
5244  . ./conf$$subs.sh ||
5245    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5246
5247  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5248  if test $ac_delim_n = $ac_delim_num; then
5249    break
5250  elif $ac_last_try; then
5251    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5252  else
5253    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5254  fi
5255done
5256rm -f conf$$subs.sh
5257
5258cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5259cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5260_ACEOF
5261sed -n '
5262h
5263s/^/S["/; s/!.*/"]=/
5264p
5265g
5266s/^[^!]*!//
5267:repl
5268t repl
5269s/'"$ac_delim"'$//
5270t delim
5271:nl
5272h
5273s/\(.\{148\}\)..*/\1/
5274t more1
5275s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5276p
5277n
5278b repl
5279:more1
5280s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5281p
5282g
5283s/.\{148\}//
5284t nl
5285:delim
5286h
5287s/\(.\{148\}\)..*/\1/
5288t more2
5289s/["\\]/\\&/g; s/^/"/; s/$/"/
5290p
5291b
5292:more2
5293s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5294p
5295g
5296s/.\{148\}//
5297t delim
5298' <conf$$subs.awk | sed '
5299/^[^""]/{
5300  N
5301  s/\n//
5302}
5303' >>$CONFIG_STATUS || ac_write_fail=1
5304rm -f conf$$subs.awk
5305cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5306_ACAWK
5307cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5308  for (key in S) S_is_set[key] = 1
5309  FS = ""
5310
5311}
5312{
5313  line = $ 0
5314  nfields = split(line, field, "@")
5315  substed = 0
5316  len = length(field[1])
5317  for (i = 2; i < nfields; i++) {
5318    key = field[i]
5319    keylen = length(key)
5320    if (S_is_set[key]) {
5321      value = S[key]
5322      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5323      len += length(value) + length(field[++i])
5324      substed = 1
5325    } else
5326      len += 1 + keylen
5327  }
5328
5329  print line
5330}
5331
5332_ACAWK
5333_ACEOF
5334cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5335if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5336  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5337else
5338  cat
5339fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5340  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5341_ACEOF
5342
5343# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5344# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5345# trailing colons and then remove the whole line if VPATH becomes empty
5346# (actually we leave an empty line to preserve line numbers).
5347if test "x$srcdir" = x.; then
5348  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5349h
5350s///
5351s/^/:/
5352s/[      ]*$/:/
5353s/:\$(srcdir):/:/g
5354s/:\${srcdir}:/:/g
5355s/:@srcdir@:/:/g
5356s/^:*//
5357s/:*$//
5358x
5359s/\(=[   ]*\).*/\1/
5360G
5361s/\n//
5362s/^[^=]*=[       ]*$//
5363}'
5364fi
5365
5366cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5367fi # test -n "$CONFIG_FILES"
5368
5369
5370eval set X "  :F $CONFIG_FILES      "
5371shift
5372for ac_tag
5373do
5374  case $ac_tag in
5375  :[FHLC]) ac_mode=$ac_tag; continue;;
5376  esac
5377  case $ac_mode$ac_tag in
5378  :[FHL]*:*);;
5379  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5380  :[FH]-) ac_tag=-:-;;
5381  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5382  esac
5383  ac_save_IFS=$IFS
5384  IFS=:
5385  set x $ac_tag
5386  IFS=$ac_save_IFS
5387  shift
5388  ac_file=$1
5389  shift
5390
5391  case $ac_mode in
5392  :L) ac_source=$1;;
5393  :[FH])
5394    ac_file_inputs=
5395    for ac_f
5396    do
5397      case $ac_f in
5398      -) ac_f="$ac_tmp/stdin";;
5399      *) # Look for the file first in the build tree, then in the source tree
5400         # (if the path is not absolute).  The absolute path cannot be DOS-style,
5401         # because $ac_f cannot contain `:'.
5402         test -f "$ac_f" ||
5403           case $ac_f in
5404           [\\/$]*) false;;
5405           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5406           esac ||
5407           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5408      esac
5409      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5410      as_fn_append ac_file_inputs " '$ac_f'"
5411    done
5412
5413    # Let's still pretend it is `configure' which instantiates (i.e., don't
5414    # use $as_me), people would be surprised to read:
5415    #    /* config.h.  Generated by config.status.  */
5416    configure_input='Generated from '`
5417          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5418        `' by configure.'
5419    if test x"$ac_file" != x-; then
5420      configure_input="$ac_file.  $configure_input"
5421      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5422$as_echo "$as_me: creating $ac_file" >&6;}
5423    fi
5424    # Neutralize special characters interpreted by sed in replacement strings.
5425    case $configure_input in #(
5426    *\&* | *\|* | *\\* )
5427       ac_sed_conf_input=`$as_echo "$configure_input" |
5428       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5429    *) ac_sed_conf_input=$configure_input;;
5430    esac
5431
5432    case $ac_tag in
5433    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5434      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5435    esac
5436    ;;
5437  esac
5438
5439  ac_dir=`$as_dirname -- "$ac_file" ||
5440$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5441         X"$ac_file" : 'X\(//\)[^/]' \| \
5442         X"$ac_file" : 'X\(//\)$' \| \
5443         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5444$as_echo X"$ac_file" |
5445    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5446            s//\1/
5447            q
5448          }
5449          /^X\(\/\/\)[^/].*/{
5450            s//\1/
5451            q
5452          }
5453          /^X\(\/\/\)$/{
5454            s//\1/
5455            q
5456          }
5457          /^X\(\/\).*/{
5458            s//\1/
5459            q
5460          }
5461          s/.*/./; q'`
5462  as_dir="$ac_dir"; as_fn_mkdir_p
5463  ac_builddir=.
5464
5465case "$ac_dir" in
5466.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5467*)
5468  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5469  # A ".." for each directory in $ac_dir_suffix.
5470  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5471  case $ac_top_builddir_sub in
5472  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5473  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5474  esac ;;
5475esac
5476ac_abs_top_builddir=$ac_pwd
5477ac_abs_builddir=$ac_pwd$ac_dir_suffix
5478# for backward compatibility:
5479ac_top_builddir=$ac_top_build_prefix
5480
5481case $srcdir in
5482  .)  # We are building in place.
5483    ac_srcdir=.
5484    ac_top_srcdir=$ac_top_builddir_sub
5485    ac_abs_top_srcdir=$ac_pwd ;;
5486  [\\/]* | ?:[\\/]* )  # Absolute name.
5487    ac_srcdir=$srcdir$ac_dir_suffix;
5488    ac_top_srcdir=$srcdir
5489    ac_abs_top_srcdir=$srcdir ;;
5490  *) # Relative name.
5491    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5492    ac_top_srcdir=$ac_top_build_prefix$srcdir
5493    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5494esac
5495ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5496
5497
5498  case $ac_mode in
5499  :F)
5500  #
5501  # CONFIG_FILE
5502  #
5503
5504  case $INSTALL in
5505  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5506  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5507  esac
5508  ac_MKDIR_P=$MKDIR_P
5509  case $MKDIR_P in
5510  [\\/$]* | ?:[\\/]* ) ;;
5511  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5512  esac
5513_ACEOF
5514
5515cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5516# If the template does not know about datarootdir, expand it.
5517# FIXME: This hack should be removed a few years after 2.60.
5518ac_datarootdir_hack=; ac_datarootdir_seen=
5519ac_sed_dataroot='
5520/datarootdir/ {
5521  p
5522  q
5523}
5524/@datadir@/p
5525/@docdir@/p
5526/@infodir@/p
5527/@localedir@/p
5528/@mandir@/p'
5529case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5530*datarootdir*) ac_datarootdir_seen=yes;;
5531*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5532  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5533$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5534_ACEOF
5535cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5536  ac_datarootdir_hack='
5537  s&@datadir@&$datadir&g
5538  s&@docdir@&$docdir&g
5539  s&@infodir@&$infodir&g
5540  s&@localedir@&$localedir&g
5541  s&@mandir@&$mandir&g
5542  s&\\\${datarootdir}&$datarootdir&g' ;;
5543esac
5544_ACEOF
5545
5546# Neutralize VPATH when `$srcdir' = `.'.
5547# Shell code in configure.ac might set extrasub.
5548# FIXME: do we really want to maintain this feature?
5549cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5550ac_sed_extra="$ac_vpsub
5551$extrasub
5552_ACEOF
5553cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5554:t
5555/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5556s|@configure_input@|$ac_sed_conf_input|;t t
5557s&@top_builddir@&$ac_top_builddir_sub&;t t
5558s&@top_build_prefix@&$ac_top_build_prefix&;t t
5559s&@srcdir@&$ac_srcdir&;t t
5560s&@abs_srcdir@&$ac_abs_srcdir&;t t
5561s&@top_srcdir@&$ac_top_srcdir&;t t
5562s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5563s&@builddir@&$ac_builddir&;t t
5564s&@abs_builddir@&$ac_abs_builddir&;t t
5565s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5566s&@INSTALL@&$ac_INSTALL&;t t
5567s&@MKDIR_P@&$ac_MKDIR_P&;t t
5568$ac_datarootdir_hack
5569"
5570eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5571  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5572
5573test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5574  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5575  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5576      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5577  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5578which seems to be undefined.  Please make sure it is defined" >&5
5579$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5580which seems to be undefined.  Please make sure it is defined" >&2;}
5581
5582  rm -f "$ac_tmp/stdin"
5583  case $ac_file in
5584  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5585  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5586  esac \
5587  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5588 ;;
5589
5590
5591
5592  esac
5593
5594done # for ac_tag
5595
5596
5597as_fn_exit 0
5598_ACEOF
5599ac_clean_files=$ac_clean_files_save
5600
5601test $ac_write_fail = 0 ||
5602  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5603
5604
5605# configure is writing to config.log, and then calls config.status.
5606# config.status does its own redirection, appending to config.log.
5607# Unfortunately, on DOS this fails, as config.log is still kept open
5608# by configure, so config.status won't be able to write to it; its
5609# output is simply discarded.  So we exec the FD to /dev/null,
5610# effectively closing config.log, so it can be properly (re)opened and
5611# appended to by config.status.  When coming back to configure, we
5612# need to make the FD available again.
5613if test "$no_create" != yes; then
5614  ac_cs_success=:
5615  ac_config_status_args=
5616  test "$silent" = yes &&
5617    ac_config_status_args="$ac_config_status_args --quiet"
5618  exec 5>/dev/null
5619  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5620  exec 5>>config.log
5621  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5622  # would make configure fail if this is the last instruction.
5623  $ac_cs_success || as_fn_exit 1
5624fi
5625if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5626  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5627$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5628fi
5629
Note: See TracBrowser for help on using the repository browser.