source: trunk/vizservers/configure @ 940

Last change on this file since 940 was 940, checked in by gah, 15 years ago

More Makefile cleanup

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