source: trunk/packages/vizservers/geovis/configure @ 4057

Last change on this file since 4057 was 4057, checked in by ldelgass, 11 years ago

Remove references to Rappture, as it isn't a dependency of geovis

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