root/Multipole/trunk/configure

Revision 1, 197.9 KB (checked in by cristy, 3 months ago)


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