source: trunk/vizservers/configure @ 952

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