root/Multipole/trunk/configure

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