ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/configure
(Generate patch)

Comparing trunk/OOPSE/configure (file contents):
Revision 790 by mmeineke, Mon Sep 29 21:16:11 2003 UTC vs.
Revision 822 by gezelter, Mon Oct 27 16:20:59 2003 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by Autoconf 2.50 for OOPSE 1.0.
3 > # Generated by GNU Autoconf 2.57 for OOPSE 1.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7 > # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8   # Free Software Foundation, Inc.
9   # This configure script is free software; the Free Software Foundation
10   # gives unlimited permission to copy, distribute and modify it.
11 + ## --------------------- ##
12 + ## M4sh Initialization.  ##
13 + ## --------------------- ##
14  
15   # Be Bourne compatible
16   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17    emulate sh
18    NULLCMD=:
19 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 +  # is contrary to our usage.  Disable this feature.
21 +  alias -g '${1+"$@"}'='"$@"'
22   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23    set -o posix
24   fi
25  
26 + # Support unset when possible.
27 + if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28 +  as_unset=unset
29 + else
30 +  as_unset=false
31 + fi
32 +
33 +
34 + # Work around bugs in pre-3.0 UWIN ksh.
35 + $as_unset ENV MAIL MAILPATH
36 + PS1='$ '
37 + PS2='> '
38 + PS4='+ '
39 +
40 + # NLS nuisances.
41 + for as_var in \
42 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 +  LC_TELEPHONE LC_TIME
45 + do
46 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 +    eval $as_var=C; export $as_var
48 +  else
49 +    $as_unset $as_var
50 +  fi
51 + done
52 +
53 + # Required to use basename.
54 + if expr a : '\(a\)' >/dev/null 2>&1; then
55 +  as_expr=expr
56 + else
57 +  as_expr=false
58 + fi
59 +
60 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 +  as_basename=basename
62 + else
63 +  as_basename=false
64 + fi
65 +
66 +
67   # Name of the executable.
68 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
68 > as_me=`$as_basename "$0" ||
69 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 >         X"$0" : 'X\(//\)$' \| \
71 >         X"$0" : 'X\(/\)$' \| \
72 >         .     : '\(.\)' 2>/dev/null ||
73 > echo X/"$0" |
74 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
76 >          /^X\/\(\/\).*/{ s//\1/; q; }
77 >          s/.*/./; q'`
78  
79 +
80 + # PATH needs CR, and LINENO needs CR and PATH.
81 + # Avoid depending upon Character Ranges.
82 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 + as_cr_digits='0123456789'
86 + as_cr_alnum=$as_cr_Letters$as_cr_digits
87 +
88 + # The user is always right.
89 + if test "${PATH_SEPARATOR+set}" != set; then
90 +  echo "#! /bin/sh" >conf$$.sh
91 +  echo  "exit 0"   >>conf$$.sh
92 +  chmod +x conf$$.sh
93 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 +    PATH_SEPARATOR=';'
95 +  else
96 +    PATH_SEPARATOR=:
97 +  fi
98 +  rm -f conf$$.sh
99 + fi
100 +
101 +
102 +  as_lineno_1=$LINENO
103 +  as_lineno_2=$LINENO
104 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
106 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107 +  # Find who we are.  Look in the path if we contain no path at all
108 +  # relative or not.
109 +  case $0 in
110 +    *[\\/]* ) as_myself=$0 ;;
111 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 + for as_dir in $PATH
113 + do
114 +  IFS=$as_save_IFS
115 +  test -z "$as_dir" && as_dir=.
116 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 + done
118 +
119 +       ;;
120 +  esac
121 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
122 +  # in which case we are not to be found in the path.
123 +  if test "x$as_myself" = x; then
124 +    as_myself=$0
125 +  fi
126 +  if test ! -f "$as_myself"; then
127 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 +   { (exit 1); exit 1; }; }
129 +  fi
130 +  case $CONFIG_SHELL in
131 +  '')
132 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 + do
135 +  IFS=$as_save_IFS
136 +  test -z "$as_dir" && as_dir=.
137 +  for as_base in sh bash ksh sh5; do
138 +         case $as_dir in
139 +         /*)
140 +           if ("$as_dir/$as_base" -c '
141 +  as_lineno_1=$LINENO
142 +  as_lineno_2=$LINENO
143 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
145 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 +             CONFIG_SHELL=$as_dir/$as_base
149 +             export CONFIG_SHELL
150 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 +           fi;;
152 +         esac
153 +       done
154 + done
155 + ;;
156 +  esac
157 +
158 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 +  # uniformly replaced by the line number.  The first 'sed' inserts a
160 +  # line-number line before each line; the second 'sed' does the real
161 +  # work.  The second script uses 'N' to pair each line-number line
162 +  # with the numbered line, and appends trailing '-' during
163 +  # substitution so that $LINENO is not a special case at line end.
164 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166 +  sed '=' <$as_myself |
167 +    sed '
168 +      N
169 +      s,$,-,
170 +      : loop
171 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 +      t loop
173 +      s,-$,,
174 +      s,^['$as_cr_digits']*\n,,
175 +    ' >$as_me.lineno &&
176 +  chmod +x $as_me.lineno ||
177 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 +   { (exit 1); exit 1; }; }
179 +
180 +  # Don't try to exec as it changes $[0], causing all sort of problems
181 +  # (the dirname of $[0] is not the place where we might find the
182 +  # original and so on.  Autoconf is especially sensible to this).
183 +  . ./$as_me.lineno
184 +  # Exit status is that of the last command.
185 +  exit
186 + }
187 +
188 +
189 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 +  *c*,-n*) ECHO_N= ECHO_C='
191 + ' ECHO_T='      ' ;;
192 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 + esac
195 +
196   if expr a : '\(a\)' >/dev/null 2>&1; then
197    as_expr=expr
198   else
# Line 44 | Line 217 | as_executable_p="test -f"
217   fi
218   rm -f conf$$ conf$$.exe conf$$.file
219  
220 < as_executable_p="test -f"
221 <
49 < # Support unset when possible.
50 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 <  as_unset=unset
220 > if mkdir -p . 2>/dev/null; then
221 >  as_mkdir_p=:
222   else
223 <  as_unset=false
223 >  as_mkdir_p=false
224   fi
225  
226 < # NLS nuisances.
57 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
58 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
59 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
60 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
61 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
62 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
63 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
64 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
226 > as_executable_p="test -f"
227  
228 + # Sed expression to map a string onto a valid CPP name.
229 + as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230 +
231 + # Sed expression to map a string onto a valid variable name.
232 + as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233 +
234 +
235   # IFS
236   # We need space, tab and new line, in precisely that order.
237   as_nl='
# Line 70 | Line 239 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
239   IFS="   $as_nl"
240  
241   # CDPATH.
242 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
242 > $as_unset CDPATH
243  
244 +
245   # Name of the host.
246   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247   # so uname gets run too.
# Line 83 | Line 253 | cross_compiling=no
253   # Initializations.
254   #
255   ac_default_prefix=/usr/local
256 + ac_config_libobj_dir=.
257   cross_compiling=no
258   subdirs=
259 < MFLAGS= MAKEFLAGS=
259 > MFLAGS=
260 > MAKEFLAGS=
261   SHELL=${CONFIG_SHELL-/bin/sh}
262  
263   # Maximum number of lines to put in a shell here document.
# Line 93 | Line 265 | SHELL=${CONFIG_SHELL-/bin/sh}
265   # only ac_max_sed_lines should be used.
266   : ${ac_max_here_lines=38}
267  
268 < # Avoid depending upon Character Ranges.
269 < ac_cr_az='abcdefghijklmnopqrstuvwxyz'
270 < ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
271 < ac_cr_09='0123456789'
272 < ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
268 > # Identity of this package.
269 > PACKAGE_NAME='OOPSE'
270 > PACKAGE_TARNAME='oopse'
271 > PACKAGE_VERSION='1.0'
272 > PACKAGE_STRING='OOPSE 1.0'
273 > PACKAGE_BUGREPORT='gezelter@nd.edu'
274  
102 # Sed expression to map a string onto a valid sh and CPP variable names.
103 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
104 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
105
275   ac_unique_file="src/oopse.cpp"
276   ac_default_prefix="/usr/local"
277 + # Factoring default headers for most tests.
278 + ac_includes_default="\
279 + #include <stdio.h>
280 + #if HAVE_SYS_TYPES_H
281 + # include <sys/types.h>
282 + #endif
283 + #if HAVE_SYS_STAT_H
284 + # include <sys/stat.h>
285 + #endif
286 + #if STDC_HEADERS
287 + # include <stdlib.h>
288 + # include <stddef.h>
289 + #else
290 + # if HAVE_STDLIB_H
291 + #  include <stdlib.h>
292 + # endif
293 + #endif
294 + #if HAVE_STRING_H
295 + # if !STDC_HEADERS && HAVE_MEMORY_H
296 + #  include <memory.h>
297 + # endif
298 + # include <string.h>
299 + #endif
300 + #if HAVE_STRINGS_H
301 + # include <strings.h>
302 + #endif
303 + #if HAVE_INTTYPES_H
304 + # include <inttypes.h>
305 + #else
306 + # if HAVE_STDINT_H
307 + #  include <stdint.h>
308 + # endif
309 + #endif
310 + #if HAVE_UNISTD_H
311 + # include <unistd.h>
312 + #endif"
313  
314 + ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR F90LIBS F90_FUNC F90_FUNC_ mpi_dir MPI_LIBDIR MPI_INC MPI_LIB MPIF77 MPIF90 MPILIBS CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL MPI_F90_MODS MPIMODLIBNAME BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS'
315 + ac_subst_files=''
316 +
317   # Initialize some variables set by options.
318   ac_init_help=
319   ac_init_version=false
# Line 144 | Line 352 | mandir='${prefix}/man'
352   infodir='${prefix}/info'
353   mandir='${prefix}/man'
354  
147 # Identity of this package.
148 PACKAGE_NAME='OOPSE'
149 PACKAGE_TARNAME='oopse'
150 PACKAGE_VERSION='1.0'
151 PACKAGE_STRING='OOPSE 1.0'
152 PACKAGE_BUGREPORT='gezelter@nd.edu'
153
355   ac_prev=
356   for ac_option
357   do
# Line 196 | Line 397 | do
397    -disable-* | --disable-*)
398      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399      # Reject names that are not valid shell variable names.
400 <    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
400 >    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402     { (exit 1); exit 1; }; }
403      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 205 | Line 406 | do
406    -enable-* | --enable-*)
407      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408      # Reject names that are not valid shell variable names.
409 <    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
409 >    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411     { (exit 1); exit 1; }; }
412      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 283 | Line 484 | do
484      with_fp=no ;;
485  
486    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 <  | --no-cr | --no-c)
487 >  | --no-cr | --no-c | -n)
488      no_create=yes ;;
489  
490    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 387 | Line 588 | do
588    -with-* | --with-*)
589      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590      # Reject names that are not valid shell variable names.
591 <    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
591 >    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592        { echo "$as_me: error: invalid package name: $ac_package" >&2
593     { (exit 1); exit 1; }; }
594      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 400 | Line 601 | do
601    -without-* | --without-*)
602      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603      # Reject names that are not valid shell variable names.
604 <    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
604 >    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605        { echo "$as_me: error: invalid package name: $ac_package" >&2
606     { (exit 1); exit 1; }; }
607      ac_package=`echo $ac_package | sed 's/-/_/g'`
# Line 432 | Line 633 | Try \`$0 --help' for more information." >&2
633    *=*)
634      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635      # Reject names that are not valid shell variable names.
636 <    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
636 >    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638     { (exit 1); exit 1; }; }
639      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
# Line 442 | Line 643 | Try \`$0 --help' for more information." >&2
643    *)
644      # FIXME: should be removed in autoconf 3.0.
645      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 <    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
646 >    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649      ;;
# Line 457 | Line 658 | for ac_var in bindir sbindir libexecdir datadir syscon
658   fi
659  
660   # Be sure to have absolute paths.
661 + for ac_var in exec_prefix prefix
662 + do
663 +  eval ac_val=$`echo $ac_var`
664 +  case $ac_val in
665 +    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 +   { (exit 1); exit 1; }; };;
668 +  esac
669 + done
670 +
671 + # Be sure to have absolute paths.
672   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 <              localstatedir libdir includedir oldincludedir infodir mandir \
462 <              exec_prefix prefix
673 >              localstatedir libdir includedir oldincludedir infodir mandir
674   do
675    eval ac_val=$`echo $ac_var`
676    case $ac_val in
677      [\\/$]* | ?:[\\/]* ) ;;
678 <    NONE ) ;;
468 <    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
678 >    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679     { (exit 1); exit 1; }; };;
680    esac
681   done
682  
683   # There might be people who depend on the old broken behavior: `$host'
684   # used to hold the argument of --host etc.
685 + # FIXME: To remove some day.
686   build=$build_alias
687   host=$host_alias
688   target=$target_alias
689  
690 < # FIXME: should be removed in autoconf 3.0.
690 > # FIXME: To remove some day.
691   if test "x$host_alias" != x; then
692    if test "x$build_alias" = x; then
693      cross_compiling=maybe
# Line 492 | Line 703 | test "$silent" = yes && exec 6>/dev/null
703  
704   test "$silent" = yes && exec 6>/dev/null
705  
706 +
707   # Find the source files, if location was not specified.
708   if test -z "$srcdir"; then
709    ac_srcdir_defaulted=yes
710    # Try the directory containing this script, then its parent.
711 <  ac_prog=$0
712 <  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
713 <  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
711 >  ac_confdir=`(dirname "$0") 2>/dev/null ||
712 > $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 >         X"$0" : 'X\(//\)[^/]' \| \
714 >         X"$0" : 'X\(//\)$' \| \
715 >         X"$0" : 'X\(/\)' \| \
716 >         .     : '\(.\)' 2>/dev/null ||
717 > echo X"$0" |
718 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 >          /^X\(\/\/\)$/{ s//\1/; q; }
721 >          /^X\(\/\).*/{ s//\1/; q; }
722 >          s/.*/./; q'`
723    srcdir=$ac_confdir
724    if test ! -r $srcdir/$ac_unique_file; then
725      srcdir=..
# Line 508 | Line 729 | if test ! -r $srcdir/$ac_unique_file; then
729   fi
730   if test ! -r $srcdir/$ac_unique_file; then
731    if test "$ac_srcdir_defaulted" = yes; then
732 <    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
732 >    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733     { (exit 1); exit 1; }; }
734    else
735 <    { echo "$as_me: error: cannot find sources in $srcdir" >&2
735 >    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736     { (exit 1); exit 1; }; }
737    fi
738   fi
739 + (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 +  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 +   { (exit 1); exit 1; }; }
742   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743   ac_env_build_alias_set=${build_alias+set}
744   ac_env_build_alias_value=$build_alias
# Line 575 | Line 799 | if test "$ac_init_help" = "long"; then
799   if test "$ac_init_help" = "long"; then
800    # Omit some internal or obsolete options to make the list less imposing.
801    # This message is too long to be a string in the A/UX 3.1 sh.
802 <  cat <<EOF
802 >  cat <<_ACEOF
803   \`configure' configures OOPSE 1.0 to adapt to many kinds of systems.
804  
805   Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 596 | Line 820 | EOF
820    -n, --no-create         do not create output files
821        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
822  
823 < EOF
823 > _ACEOF
824  
825 <  cat <<EOF
825 >  cat <<_ACEOF
826   Installation directories:
827    --prefix=PREFIX         install architecture-independent files in PREFIX
828                            [$ac_default_prefix]
# Line 625 | Line 849 | EOF
849    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
850    --infodir=DIR          info documentation [PREFIX/info]
851    --mandir=DIR           man documentation [PREFIX/man]
852 < EOF
852 > _ACEOF
853  
854 <  cat <<\EOF
854 >  cat <<\_ACEOF
855  
856   System types:
857    --build=BUILD     configure for building on BUILD [guessed]
858 <  --host=HOST       build programs to run on HOST [BUILD]
859 < EOF
858 >  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
859 > _ACEOF
860   fi
861  
862   if test -n "$ac_init_help"; then
863    case $ac_init_help in
864       short | recursive ) echo "Configuration of OOPSE 1.0:";;
865     esac
866 <  cat <<\EOF
866 >  cat <<\_ACEOF
867  
868   Optional Features:
869    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
# Line 655 | Line 879 | Optional Packages:
879    --with-mpi_inc=dir  give the path for MPI-include-files MPI_DIR/include
880    --with-sprng_prefix=PREFIX
881                            Prefix where SPRNG is installed
882 <  --with-sprng_lib_prefix=PREFIX  SPRNG library directory
883 <  --with-sprng_include_prefix=PREFIX
882 >  --with-sprng-libdir=PREFIX  SPRNG library directory
883 >  --with-sprng-include=PREFIX
884                            SPRNG include directory
885    --with-mkl              Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60
886 +  --with-mpi_f90_mods=<dir>
887 +                          Location where MPI f90 modules are installed
888  
889   Some influential environment variables:
890    CC          C compiler command
# Line 678 | Line 904 | EOF
904   it to find libraries and programs with nonstandard names/locations.
905  
906   Report bugs to <gezelter@nd.edu>.
907 < EOF
907 > _ACEOF
908   fi
909  
910   if test "$ac_init_help" = "recursive"; then
911    # If there are subdirs, report their specific --help.
912    ac_popdir=`pwd`
913 <  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
914 <    cd $ac_subdir
915 <    # A "../" for each directory in /$ac_subdir.
690 <    ac_dots=`echo $ac_subdir |
691 <             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
913 >  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
914 >    test -d $ac_dir || continue
915 >    ac_builddir=.
916  
917 <    case $srcdir in
918 <    .) # No --srcdir option.  We are building in place.
919 <      ac_sub_srcdir=$srcdir ;;
920 <    [\\/]* | ?:[\\/]* ) # Absolute path.
921 <      ac_sub_srcdir=$srcdir/$ac_subdir ;;
922 <    *) # Relative path.
923 <      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
700 <    esac
917 > if test "$ac_dir" != .; then
918 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
919 >  # A "../" for each directory in $ac_dir_suffix.
920 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
921 > else
922 >  ac_dir_suffix= ac_top_builddir=
923 > fi
924  
925 + case $srcdir in
926 +  .)  # No --srcdir option.  We are building in place.
927 +    ac_srcdir=.
928 +    if test -z "$ac_top_builddir"; then
929 +       ac_top_srcdir=.
930 +    else
931 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
932 +    fi ;;
933 +  [\\/]* | ?:[\\/]* )  # Absolute path.
934 +    ac_srcdir=$srcdir$ac_dir_suffix;
935 +    ac_top_srcdir=$srcdir ;;
936 +  *) # Relative path.
937 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
938 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
939 + esac
940 + # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
941 + # absolute.
942 + ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
943 + ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
944 + ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
945 + ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
946 +
947 +    cd $ac_dir
948      # Check for guested configure; otherwise get Cygnus style configure.
949 <    if test -f $ac_sub_srcdir/configure.gnu; then
949 >    if test -f $ac_srcdir/configure.gnu; then
950        echo
951 <      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
952 <    elif test -f $ac_sub_srcdir/configure; then
951 >      $SHELL $ac_srcdir/configure.gnu  --help=recursive
952 >    elif test -f $ac_srcdir/configure; then
953        echo
954 <      $SHELL $ac_sub_srcdir/configure  --help=recursive
955 <    elif test -f $ac_sub_srcdir/configure.ac ||
956 <           test -f $ac_sub_srcdir/configure.in; then
954 >      $SHELL $ac_srcdir/configure  --help=recursive
955 >    elif test -f $ac_srcdir/configure.ac ||
956 >           test -f $ac_srcdir/configure.in; then
957        echo
958        $ac_configure --help
959      else
960 <      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
960 >      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
961      fi
962      cd $ac_popdir
963    done
# Line 719 | Line 965 | if $ac_init_version; then
965  
966   test -n "$ac_init_help" && exit 0
967   if $ac_init_version; then
968 <  cat <<\EOF
968 >  cat <<\_ACEOF
969   OOPSE configure 1.0
970 < generated by GNU Autoconf 2.50
970 > generated by GNU Autoconf 2.57
971  
972 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
972 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
973   Free Software Foundation, Inc.
974   This configure script is free software; the Free Software Foundation
975   gives unlimited permission to copy, distribute and modify it.
976 < EOF
976 > _ACEOF
977    exit 0
978   fi
979   exec 5>config.log
980 < cat >&5 <<EOF
980 > cat >&5 <<_ACEOF
981   This file contains any messages produced by compilers while
982   running configure, to aid debugging if configure makes a mistake.
983  
984   It was created by OOPSE $as_me 1.0, which was
985 < generated by GNU Autoconf 2.50.  Invocation command line was
985 > generated by GNU Autoconf 2.57.  Invocation command line was
986  
987    $ $0 $@
988  
989 < EOF
989 > _ACEOF
990   {
991   cat <<_ASUNAME
992 < ## ---------- ##
993 < ## Platform.  ##
994 < ## ---------- ##
992 > ## --------- ##
993 > ## Platform. ##
994 > ## --------- ##
995  
996   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
997   uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 764 | Line 1010 | PATH = $PATH
1010   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1011   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1012  
767 PATH = $PATH
768
1013   _ASUNAME
1014 +
1015 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 + for as_dir in $PATH
1017 + do
1018 +  IFS=$as_save_IFS
1019 +  test -z "$as_dir" && as_dir=.
1020 +  echo "PATH: $as_dir"
1021 + done
1022 +
1023   } >&5
1024  
1025 < cat >&5 <<EOF
773 < ## ------------ ##
774 < ## Core tests.  ##
775 < ## ------------ ##
1025 > cat >&5 <<_ACEOF
1026  
777 EOF
1027  
1028 + ## ----------- ##
1029 + ## Core tests. ##
1030 + ## ----------- ##
1031 +
1032 + _ACEOF
1033 +
1034 +
1035   # Keep a trace of the command line.
1036   # Strip out --no-create and --no-recursion so they do not pile up.
1037 + # Strip out --silent because we don't want to record it for future runs.
1038   # Also quote any args containing shell meta-characters.
1039 + # Make two passes to allow for proper duplicate-argument suppression.
1040   ac_configure_args=
1041 + ac_configure_args0=
1042 + ac_configure_args1=
1043   ac_sep=
1044 < for ac_arg
1044 > ac_must_keep_next=false
1045 > for ac_pass in 1 2
1046   do
1047 <  case $ac_arg in
1048 <  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1049 <  | --no-cr | --no-c) ;;
1050 <  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1051 <  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1052 <  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1053 <    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1054 <    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1055 <    ac_sep=" " ;;
1056 <  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1057 <     ac_sep=" " ;;
1058 <  esac
1059 <  # Get rid of the leading space.
1047 >  for ac_arg
1048 >  do
1049 >    case $ac_arg in
1050 >    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1051 >    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 >    | -silent | --silent | --silen | --sile | --sil)
1053 >      continue ;;
1054 >    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1055 >      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1056 >    esac
1057 >    case $ac_pass in
1058 >    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1059 >    2)
1060 >      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1061 >      if test $ac_must_keep_next = true; then
1062 >        ac_must_keep_next=false # Got value, back to normal.
1063 >      else
1064 >        case $ac_arg in
1065 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1066 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1067 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1068 >          | -with-* | --with-* | -without-* | --without-* | --x)
1069 >            case "$ac_configure_args0 " in
1070 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 >            esac
1072 >            ;;
1073 >          -* ) ac_must_keep_next=true ;;
1074 >        esac
1075 >      fi
1076 >      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077 >      # Get rid of the leading space.
1078 >      ac_sep=" "
1079 >      ;;
1080 >    esac
1081 >  done
1082   done
1083 + $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1084 + $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1085  
1086   # When interrupted or exit'd, cleanup temporary files, and complete
1087   # config.log.  We remove comments because anyway the quotes in there
1088   # would cause problems or look ugly.
1089 + # WARNING: Be sure not to use single quotes in there, as some shells,
1090 + # such as our DU 5.0 friend, will then `close' the trap.
1091   trap 'exit_status=$?
1092    # Save into config.log some information that might help in debugging.
1093 <  echo >&5
1094 <  echo "## ----------------- ##" >&5
1095 <  echo "## Cache variables.  ##" >&5
1096 <  echo "## ----------------- ##" >&5
1097 <  echo >&5
1098 <  # The following way of writing the cache mishandles newlines in values,
1093 >  {
1094 >    echo
1095 >
1096 >    cat <<\_ASBOX
1097 > ## ---------------- ##
1098 > ## Cache variables. ##
1099 > ## ---------------- ##
1100 > _ASBOX
1101 >    echo
1102 >    # The following way of writing the cache mishandles newlines in values,
1103   {
1104    (set) 2>&1 |
1105      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106      *ac_space=\ *)
1107        sed -n \
1108          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1109 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110        ;;
1111      *)
1112        sed -n \
1113 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1113 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1114        ;;
1115      esac;
1116 < } >&5
1117 <  sed "/^$/d" confdefs.h >conftest.log
1118 <  if test -s conftest.log; then
1119 <    echo >&5
1120 <    echo "## ------------ ##" >&5
1121 <    echo "## confdefs.h.  ##" >&5
1122 <    echo "## ------------ ##" >&5
1123 <    echo >&5
1124 <    cat conftest.log >&5
1125 <  fi
1126 <  (echo; echo) >&5
1127 <  test "$ac_signal" != 0 &&
1128 <    echo "$as_me: caught signal $ac_signal" >&5
1129 <  echo "$as_me: exit $exit_status" >&5
1130 <  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1116 > }
1117 >    echo
1118 >
1119 >    cat <<\_ASBOX
1120 > ## ----------------- ##
1121 > ## Output variables. ##
1122 > ## ----------------- ##
1123 > _ASBOX
1124 >    echo
1125 >    for ac_var in $ac_subst_vars
1126 >    do
1127 >      eval ac_val=$`echo $ac_var`
1128 >      echo "$ac_var='"'"'$ac_val'"'"'"
1129 >    done | sort
1130 >    echo
1131 >
1132 >    if test -n "$ac_subst_files"; then
1133 >      cat <<\_ASBOX
1134 > ## ------------- ##
1135 > ## Output files. ##
1136 > ## ------------- ##
1137 > _ASBOX
1138 >      echo
1139 >      for ac_var in $ac_subst_files
1140 >      do
1141 >        eval ac_val=$`echo $ac_var`
1142 >        echo "$ac_var='"'"'$ac_val'"'"'"
1143 >      done | sort
1144 >      echo
1145 >    fi
1146 >
1147 >    if test -s confdefs.h; then
1148 >      cat <<\_ASBOX
1149 > ## ----------- ##
1150 > ## confdefs.h. ##
1151 > ## ----------- ##
1152 > _ASBOX
1153 >      echo
1154 >      sed "/^$/d" confdefs.h | sort
1155 >      echo
1156 >    fi
1157 >    test "$ac_signal" != 0 &&
1158 >      echo "$as_me: caught signal $ac_signal"
1159 >    echo "$as_me: exit $exit_status"
1160 >  } >&5
1161 >  rm -f core core.* *.core &&
1162 >  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1163      exit $exit_status
1164       ' 0
1165   for ac_signal in 1 2 13 15; do
1166 <  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
1166 >  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167   done
1168   ac_signal=0
1169  
# Line 849 | Line 1172 | echo >confdefs.h
1172   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173   echo >confdefs.h
1174  
1175 + # Predefined preprocessor variables.
1176 +
1177 + cat >>confdefs.h <<_ACEOF
1178 + #define PACKAGE_NAME "$PACKAGE_NAME"
1179 + _ACEOF
1180 +
1181 +
1182 + cat >>confdefs.h <<_ACEOF
1183 + #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 + _ACEOF
1185 +
1186 +
1187 + cat >>confdefs.h <<_ACEOF
1188 + #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 + _ACEOF
1190 +
1191 +
1192 + cat >>confdefs.h <<_ACEOF
1193 + #define PACKAGE_STRING "$PACKAGE_STRING"
1194 + _ACEOF
1195 +
1196 +
1197 + cat >>confdefs.h <<_ACEOF
1198 + #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 + _ACEOF
1200 +
1201 +
1202   # Let the site file select an alternate cache file if it wants to.
1203   # Prefer explicitly selected file to automatically selected ones.
1204   if test -z "$CONFIG_SITE"; then
# Line 860 | Line 1210 | for ac_site_file in $CONFIG_SITE; do
1210   fi
1211   for ac_site_file in $CONFIG_SITE; do
1212    if test -r "$ac_site_file"; then
1213 <    { echo "$as_me:863: loading site script $ac_site_file" >&5
1213 >    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1214   echo "$as_me: loading site script $ac_site_file" >&6;}
1215 <    cat "$ac_site_file" >&5
1215 >    sed 's/^/| /' "$ac_site_file" >&5
1216      . "$ac_site_file"
1217    fi
1218   done
# Line 871 | Line 1221 | if test -r "$cache_file"; then
1221    # Some versions of bash will fail to source /dev/null (special
1222    # files actually), so we avoid doing that.
1223    if test -f "$cache_file"; then
1224 <    { echo "$as_me:874: loading cache $cache_file" >&5
1224 >    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1225   echo "$as_me: loading cache $cache_file" >&6;}
1226      case $cache_file in
1227        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 879 | Line 1229 | else
1229      esac
1230    fi
1231   else
1232 <  { echo "$as_me:882: creating cache $cache_file" >&5
1232 >  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1233   echo "$as_me: creating cache $cache_file" >&6;}
1234    >$cache_file
1235   fi
1236  
1237   # Check that the precious variables saved in the cache have kept the same
1238   # value.
1239 < ac_suggest_removing_cache=false
1239 > ac_cache_corrupted=false
1240   for ac_var in `(set) 2>&1 |
1241                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1242    eval ac_old_set=\$ac_cv_env_${ac_var}_set
# Line 895 | Line 1245 | for ac_var in `(set) 2>&1 |
1245    eval ac_new_val="\$ac_env_${ac_var}_value"
1246    case $ac_old_set,$ac_new_set in
1247      set,)
1248 <      { echo "$as_me:898: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249 < echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250 <      ac_suggest_removing_cache=: ;;
1248 >      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249 > echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250 >      ac_cache_corrupted=: ;;
1251      ,set)
1252 <      { echo "$as_me:902: WARNING: \`$ac_var' was not set in the previous run" >&5
1253 < echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
1254 <      ac_suggest_removing_cache=: ;;
1252 >      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1253 > echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1254 >      ac_cache_corrupted=: ;;
1255      ,);;
1256      *)
1257        if test "x$ac_old_val" != "x$ac_new_val"; then
1258 <        { echo "$as_me:908: WARNING: \`$ac_var' has changed since the previous run:" >&5
1259 < echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
1260 <        { echo "$as_me:910: WARNING:   former value:  $ac_old_val" >&5
1261 < echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
1262 <        { echo "$as_me:912: WARNING:   current value: $ac_new_val" >&5
1263 < echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
1264 <        ac_suggest_removing_cache=:
1258 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1259 > echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1260 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1261 > echo "$as_me:   former value:  $ac_old_val" >&2;}
1262 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1263 > echo "$as_me:   current value: $ac_new_val" >&2;}
1264 >        ac_cache_corrupted=:
1265        fi;;
1266    esac
1267 +  # Pass precious variables to config.status.
1268 +  if test "$ac_new_set" = set; then
1269 +    case $ac_new_val in
1270 +    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 +    *) ac_arg=$ac_var=$ac_new_val ;;
1273 +    esac
1274 +    case " $ac_configure_args " in
1275 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1276 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 +    esac
1278 +  fi
1279   done
1280 < if $ac_suggest_removing_cache; then
1281 <  { echo "$as_me:919: WARNING: changes in the environment can compromise the build" >&5
1282 < echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
1283 <  { echo "$as_me:921: WARNING: consider removing $cache_file and starting over" >&5
1284 < echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
1280 > if $ac_cache_corrupted; then
1281 >  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1282 > echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1283 >  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1284 > echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285 >   { (exit 1); exit 1; }; }
1286   fi
1287  
1288   ac_ext=c
# Line 928 | Line 1291 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing;
1291   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292   ac_compiler_gnu=$ac_cv_c_compiler_gnu
1293  
931 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
932  *c*,-n*) ECHO_N= ECHO_C='
933 ' ECHO_T='      ' ;;
934  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
935  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
936 esac
937 echo "#! $SHELL" >conftest.sh
938 echo  "exit 0"   >>conftest.sh
939 chmod +x conftest.sh
940 if { (echo "$as_me:940: PATH=\".;.\"; conftest.sh") >&5
941  (PATH=".;."; conftest.sh) 2>&5
942  ac_status=$?
943  echo "$as_me:943: \$? = $ac_status" >&5
944  (exit $ac_status); }; then
945  ac_path_separator=';'
946 else
947  ac_path_separator=:
948 fi
949 PATH_SEPARATOR="$ac_path_separator"
950 rm -f conftest.sh
1294  
1295 +
1296 +
1297 +
1298 +
1299 +
1300 +
1301 +
1302 +
1303 +
1304 +
1305 +
1306 +
1307 +
1308 +
1309 +
1310 +
1311 +
1312 +
1313 +
1314 +
1315 +
1316 +
1317 +
1318 +
1319 +
1320   ac_aux_dir=
1321   for ac_dir in ac-tools $srcdir/ac-tools; do
1322    if test -f $ac_dir/install-sh; then
# Line 966 | Line 1334 | if test -z "$ac_aux_dir"; then
1334    fi
1335   done
1336   if test -z "$ac_aux_dir"; then
1337 <  { { echo "$as_me:969: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1337 >  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1338   echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
1339     { (exit 1); exit 1; }; }
1340   fi
# Line 974 | Line 1342 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1342   ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1343   ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344  
1345 +
1346   # This file is part of Autoconf.                       -*- Autoconf -*-
1347   # Programming languages support.
1348   # Copyright 2000, 2001
# Line 1024 | Line 1393 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1393   # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably
1394   # many others).
1395  
1396 +
1397   # Table of Contents:
1398   #
1399   # 1. Language selection
# Line 1059 | Line 1429 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1429   # ACTION-IF-NOT-FOUND.
1430   # _AC_LIST_MEMBER_IF
1431  
1432 +
1433 +
1434   # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE)
1435   # -------------------------------------------------
1436   #
# Line 1089 | Line 1461 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1461   # FIXME: Get rid of this macro.
1462   # _AC_LINKER_OPTION
1463  
1464 +
1465 +
1466   ## ----------------------- ##
1467   ## 1. Language selection.  ##
1468   ## ----------------------- ##
# Line 1100 | Line 1474 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1474   # AC_LANG(Fortran 90)
1475   # -------------------
1476  
1477 +
1478 +
1479   # _AC_LANG_ABBREV(Fortran 90)
1480   # ---------------------------
1481  
1482 +
1483 +
1484   # ----------------------------- #
1485   # 1c. The Fortran 95 language.  #
1486   # ----------------------------- #
# Line 1110 | Line 1488 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1488   # AC_LANG(Fortran 95)
1489   # -------------------
1490  
1491 +
1492 +
1493   # _AC_LANG_ABBREV(Fortran 95)
1494   # ---------------------------
1495  
1496 +
1497 +
1498   ## ---------------------- ##
1499   ## 2.Producing programs.  ##
1500   ## ---------------------- ##
# Line 1123 | Line 1505 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1505  
1506   # AC_LANG_SOURCE(Fortran 90)(BODY)
1507   # --------------------------------
1508 +
1509 +
1510  
1511   # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY])
1512   # -----------------------------------------------
1513  
1514 +
1515   # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION)
1516   # --------------------------------------------
1517  
1518 +
1519 +
1520   # ------------------------ #
1521   # 2c. Fortran 95 sources.  #
1522   # ------------------------ #
# Line 1137 | Line 1524 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1524   # AC_LANG_SOURCE(Fortran 95)(BODY)
1525   # --------------------------------
1526  
1527 +
1528   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1529   # -----------------------------------------------
1530  
1531 +
1532   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1533   # --------------------------------------------
1534  
1535 +
1536 +
1537   ## -------------------------------------------- ##
1538   ## 3. Looking for Compilers and Preprocessors.  ##
1539   ## -------------------------------------------- ##
# Line 1151 | Line 1542 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1542   # 3b. The Fortran 90 compiler.  #
1543   # ----------------------------- #
1544  
1545 +
1546   # AC_LANG_PREPROC(Fortran 90)
1547   # ---------------------------
1548   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1549  
1550 +
1551 +
1552   # AC_LANG_COMPILER(Fortran 90)
1553   # ----------------------------
1554   # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be
1555   # AC_REQUIRE'able.
1556  
1557 +
1558 +
1559   # AC_PROG_F90([COMPILERS...])
1560   # ---------------------------
1561   # COMPILERS is a space separated list of Fortran 90 compilers to search
# Line 1176 | Line 1572 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1572   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1573   # AC_PROG_F90
1574  
1575 +
1576   # ----------------------------- #
1577   # 3c. The Fortran 95 compiler.  #
1578   # ----------------------------- #
1579  
1580 +
1581   # AC_LANG_PREPROC(Fortran 95)
1582   # ---------------------------
1583   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1584  
1585 +
1586 +
1587   # AC_LANG_COMPILER(Fortran 95)
1588   # ----------------------------
1589   # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be
1590   # AC_REQUIRE'able.
1591  
1592 +
1593 +
1594   # AC_PROG_F95([COMPILERS...])
1595   # ---------------------------
1596   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1202 | Line 1604 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1604   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1605   # AC_PROG_F95
1606  
1607 +
1608   ## ------------------------------- ##
1609   ## 4. Compilers' characteristics.  ##
1610   ## ------------------------------- ##
1611  
1612 +
1613   # ---------------------------------------- #
1614   # 4b. Fortan 90 compiler characteristics.  #
1615   # ---------------------------------------- #
1616  
1617 +
1618   # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v])
1619   # -------------------------------------------------
1620   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1220 | Line 1625 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1625   # space-separated items.
1626   # _AC_PROG_F90_V_OUTPUT
1627  
1628 +
1629   # _AC_PROG_F90_V
1630   # --------------
1631   #
# Line 1229 | Line 1635 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1635   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1636   # _AC_PROG_F90_V
1637  
1638 +
1639   # AC_F90_LIBRARY_LDFLAGS
1640   # ----------------------
1641   #
# Line 1256 | Line 1663 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1663   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1664   # AC_F90_LIBRARY_LDFLAGS
1665  
1666 +
1667   # _AC_F90_NAME_MANGLING
1668   # ---------------------
1669   # Test for the name mangling scheme used by the Fortran 90 compiler.
# Line 1275 | Line 1683 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1683  
1684   # The replacement is empty.
1685  
1686 +
1687 +
1688   # AC_F90_WRAPPERS
1689   # ---------------
1690   # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to
# Line 1283 | Line 1693 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1693   # scheme used by the Fortran 90 compiler.
1694   # AC_F90_WRAPPERS
1695  
1696 +
1697   # AC_F90_FUNC(NAME, [SHELLVAR = NAME])
1698   # ------------------------------------
1699   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1290 | Line 1701 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1701   # argument is not supplied, it defaults to NAME.
1702   # AC_F90_FUNC
1703  
1704 +
1705   # ---------------------------------------- #
1706   # 4c. Fortan 95 compiler characteristics.  #
1707   # ---------------------------------------- #
1708  
1709 +
1710   # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v])
1711   # -------------------------------------------------
1712   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1304 | Line 1717 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1717   # space-separated items.
1718   # _AC_PROG_F95_V_OUTPUT
1719  
1720 +
1721   # _AC_PROG_F95_V
1722   # --------------
1723   #
# Line 1313 | Line 1727 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1727   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1728   # _AC_PROG_F95_V
1729  
1730 +
1731   # AC_F95_LIBRARY_LDFLAGS
1732   # ----------------------
1733   #
# Line 1340 | Line 1755 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1755   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1756   # AC_F95_LIBRARY_LDFLAGS
1757  
1758 +
1759   # _AC_F95_NAME_MANGLING
1760   # ---------------------
1761   # Test for the name mangling scheme used by the Fortran 95 compiler.
# Line 1359 | Line 1775 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1775  
1776   # The replacement is empty.
1777  
1778 +
1779 +
1780   # AC_F95_WRAPPERS
1781   # ---------------
1782   # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to
# Line 1367 | Line 1785 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1785   # scheme used by the Fortran 95 compiler.
1786   # AC_F95_WRAPPERS
1787  
1788 +
1789   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1790   # ------------------------------------
1791   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1374 | Line 1793 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1793   # argument is not supplied, it defaults to NAME.
1794   # AC_F95_FUNC
1795  
1377 # what should I build?
1796  
1379 # Check whether --enable-debug or --disable-debug was given.
1380 if test "${enable_debug+set}" = set; then
1381  enableval="$enable_debug"
1382  DEBUG=1
1383 fi;
1797  
1798 +
1799 +
1800 +
1801 +
1802 +
1803 +
1804 +
1805 +
1806 +
1807 +
1808 +
1809 +
1810 +
1811 +
1812 +
1813 +
1814 +
1815 +
1816 +
1817 +
1818 +
1819 +
1820 +
1821 +
1822 +
1823 +
1824 +
1825 +
1826 +
1827 +
1828 +
1829 +
1830 +
1831   # set program name
1832   PROGNAME="oopse"
1833  
1834 +
1835 + # there are two ways to do debugging.  One with the --enable-debug flag
1836 + # and one using the DEBUG environment variable
1837 +
1838 + debug=0
1839 + # Check whether --enable-debug or --disable-debug was given.
1840 + if test "${enable_debug+set}" = set; then
1841 +  enableval="$enable_debug"
1842 +  debug=1
1843 + fi;
1844   if test "${DEBUG}"; then
1845  
1846 < cat >>confdefs.h <<\EOF
1847 < #define DEBUG 1
1848 < EOF
1846 > cat >>confdefs.h <<\_ACEOF
1847 > #define debug 1
1848 > _ACEOF
1849  
1850    msg="$msg, debug mode"
1851   fi
1852  
1853 +
1854   # who am i
1855   # Make sure we can run config.sub.
1856   $ac_config_sub sun4 >/dev/null 2>&1 ||
1857 <  { { echo "$as_me:1400: error: cannot run $ac_config_sub" >&5
1857 >  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1858   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1859     { (exit 1); exit 1; }; }
1860  
1861 < echo "$as_me:1404: checking build system type" >&5
1861 > echo "$as_me:$LINENO: checking build system type" >&5
1862   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1863   if test "${ac_cv_build+set}" = set; then
1864    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1410 | Line 1867 | test -z "$ac_cv_build_alias" &&
1867   test -z "$ac_cv_build_alias" &&
1868    ac_cv_build_alias=`$ac_config_guess`
1869   test -z "$ac_cv_build_alias" &&
1870 <  { { echo "$as_me:1413: error: cannot guess build type; you must specify one" >&5
1870 >  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1871   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1872     { (exit 1); exit 1; }; }
1873   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1874 <  { { echo "$as_me:1417: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1875 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1874 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1875 > echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1876     { (exit 1); exit 1; }; }
1877  
1878   fi
1879 < echo "$as_me:1422: result: $ac_cv_build" >&5
1879 > echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1880   echo "${ECHO_T}$ac_cv_build" >&6
1881   build=$ac_cv_build
1882   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1883   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1884   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1885  
1886 < echo "$as_me:1429: checking host system type" >&5
1886 >
1887 > echo "$as_me:$LINENO: checking host system type" >&5
1888   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1889   if test "${ac_cv_host+set}" = set; then
1890    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1435 | Line 1893 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1893   test -z "$ac_cv_host_alias" &&
1894    ac_cv_host_alias=$ac_cv_build_alias
1895   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1896 <  { { echo "$as_me:1438: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1896 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1897   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1898     { (exit 1); exit 1; }; }
1899  
1900   fi
1901 < echo "$as_me:1443: result: $ac_cv_host" >&5
1901 > echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1902   echo "${ECHO_T}$ac_cv_host" >&6
1903   host=$ac_cv_host
1904   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1905   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1906   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1907  
1908 +
1909 +
1910   ac_ext=c
1911   ac_cpp='$CPP $CPPFLAGS'
1912   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1457 | Line 1917 | echo "$as_me:1460: checking for $ac_word" >&5
1917    do
1918      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1919   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1920 < echo "$as_me:1460: checking for $ac_word" >&5
1920 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1921   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1922   if test "${ac_cv_prog_CC+set}" = set; then
1923    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1465 | Line 1925 | else
1925    if test -n "$CC"; then
1926    ac_cv_prog_CC="$CC" # Let the user override the test.
1927   else
1928 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1929 < ac_dummy="$PATH"
1930 < for ac_dir in $ac_dummy; do
1931 <  IFS=$ac_save_IFS
1932 <  test -z "$ac_dir" && ac_dir=.
1933 <  $as_executable_p "$ac_dir/$ac_word" || continue
1934 < ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1935 < echo "$as_me:1475: found $ac_dir/$ac_word" >&5
1936 < break
1928 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1929 > for as_dir in $PATH
1930 > do
1931 >  IFS=$as_save_IFS
1932 >  test -z "$as_dir" && as_dir=.
1933 >  for ac_exec_ext in '' $ac_executable_extensions; do
1934 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1935 >    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1936 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 >    break 2
1938 >  fi
1939   done
1940 + done
1941  
1942   fi
1943   fi
1944   CC=$ac_cv_prog_CC
1945   if test -n "$CC"; then
1946 <  echo "$as_me:1483: result: $CC" >&5
1946 >  echo "$as_me:$LINENO: result: $CC" >&5
1947   echo "${ECHO_T}$CC" >&6
1948   else
1949 <  echo "$as_me:1486: result: no" >&5
1949 >  echo "$as_me:$LINENO: result: no" >&5
1950   echo "${ECHO_T}no" >&6
1951   fi
1952  
# Line 1496 | Line 1959 | echo "$as_me:1499: checking for $ac_word" >&5
1959   do
1960    # Extract the first word of "$ac_prog", so it can be a program name with args.
1961   set dummy $ac_prog; ac_word=$2
1962 < echo "$as_me:1499: checking for $ac_word" >&5
1962 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1963   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1964   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1965    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1504 | Line 1967 | else
1967    if test -n "$ac_ct_CC"; then
1968    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1969   else
1970 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1971 < ac_dummy="$PATH"
1972 < for ac_dir in $ac_dummy; do
1973 <  IFS=$ac_save_IFS
1974 <  test -z "$ac_dir" && ac_dir=.
1975 <  $as_executable_p "$ac_dir/$ac_word" || continue
1976 < ac_cv_prog_ac_ct_CC="$ac_prog"
1977 < echo "$as_me:1514: found $ac_dir/$ac_word" >&5
1978 < break
1970 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 > for as_dir in $PATH
1972 > do
1973 >  IFS=$as_save_IFS
1974 >  test -z "$as_dir" && as_dir=.
1975 >  for ac_exec_ext in '' $ac_executable_extensions; do
1976 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 >    ac_cv_prog_ac_ct_CC="$ac_prog"
1978 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1979 >    break 2
1980 >  fi
1981   done
1982 + done
1983  
1984   fi
1985   fi
1986   ac_ct_CC=$ac_cv_prog_ac_ct_CC
1987   if test -n "$ac_ct_CC"; then
1988 <  echo "$as_me:1522: result: $ac_ct_CC" >&5
1988 >  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1989   echo "${ECHO_T}$ac_ct_CC" >&6
1990   else
1991 <  echo "$as_me:1525: result: no" >&5
1991 >  echo "$as_me:$LINENO: result: no" >&5
1992   echo "${ECHO_T}no" >&6
1993   fi
1994  
# Line 1532 | Line 1998 | test -z "$CC" && { { echo "$as_me:1535: error: no acce
1998    CC=$ac_ct_CC
1999   fi
2000  
2001 < test -z "$CC" && { { echo "$as_me:1535: error: no acceptable cc found in \$PATH" >&5
2002 < echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2001 >
2002 > test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2003 > See \`config.log' for more details." >&5
2004 > echo "$as_me: error: no acceptable C compiler found in \$PATH
2005 > See \`config.log' for more details." >&2;}
2006     { (exit 1); exit 1; }; }
2007  
2008 + # Provide some information about the compiler.
2009 + echo "$as_me:$LINENO:" \
2010 +     "checking for C compiler version" >&5
2011 + ac_compiler=`set X $ac_compile; echo $2`
2012 + { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2013 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
2014 +  ac_status=$?
2015 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 +  (exit $ac_status); }
2017 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2018 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
2019 +  ac_status=$?
2020 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 +  (exit $ac_status); }
2022 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2023 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
2024 +  ac_status=$?
2025 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 +  (exit $ac_status); }
2027 +
2028   cat >conftest.$ac_ext <<_ACEOF
2029 < #line 1540 "configure"
2030 < #include "confdefs.h"
2029 > #line $LINENO "configure"
2030 > /* confdefs.h.  */
2031 > _ACEOF
2032 > cat confdefs.h >>conftest.$ac_ext
2033 > cat >>conftest.$ac_ext <<_ACEOF
2034 > /* end confdefs.h.  */
2035  
2036   int
2037   main ()
# Line 1549 | Line 2042 | ac_clean_files="$ac_clean_files a.out a.exe"
2042   }
2043   _ACEOF
2044   ac_clean_files_save=$ac_clean_files
2045 < ac_clean_files="$ac_clean_files a.out a.exe"
2045 > ac_clean_files="$ac_clean_files a.out a.exe b.out"
2046   # Try to create an executable without -o first, disregard a.out.
2047 < # It will help us diagnose broken compiler, and finding out an intuition
2047 > # It will help us diagnose broken compilers, and finding out an intuition
2048   # of exeext.
2049 < echo "$as_me:1556: checking for C compiler default output" >&5
2049 > echo "$as_me:$LINENO: checking for C compiler default output" >&5
2050   echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2051   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2052 < if { (eval echo "$as_me:1559: \"$ac_link_default\"") >&5
2052 > if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2053    (eval $ac_link_default) 2>&5
2054    ac_status=$?
2055 <  echo "$as_me:1562: \$? = $ac_status" >&5
2055 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056    (exit $ac_status); }; then
2057 <  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
2057 >  # Find the output, starting from the most likely.  This scheme is
2058 > # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2059 > # resort.
2060 >
2061 > # Be careful to initialize this variable, since it used to be cached.
2062 > # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2063 > ac_cv_exeext=
2064 > # b.out is created by i960 compilers.
2065 > for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2066 > do
2067 >  test -f "$ac_file" || continue
2068    case $ac_file in
2069 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2070 <    a.out ) # We found the default executable, but exeext='' is most
2071 <            # certainly right.
2072 <            break;;
2073 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2074 <          export ac_cv_exeext
2075 <          break;;
2076 <    * ) break;;
2069 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2070 >        ;;
2071 >    conftest.$ac_ext )
2072 >        # This is the source file.
2073 >        ;;
2074 >    [ab].out )
2075 >        # We found the default executable, but exeext='' is most
2076 >        # certainly right.
2077 >        break;;
2078 >    *.* )
2079 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2080 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2081 >        # but it would be cool to find out if it's true.  Does anybody
2082 >        # maintain Libtool? --akim.
2083 >        export ac_cv_exeext
2084 >        break;;
2085 >    * )
2086 >        break;;
2087    esac
2088   done
2089   else
2090    echo "$as_me: failed program was:" >&5
2091 < cat conftest.$ac_ext >&5
2092 < { { echo "$as_me:1579: error: C compiler cannot create executables" >&5
2093 < echo "$as_me: error: C compiler cannot create executables" >&2;}
2091 > sed 's/^/| /' conftest.$ac_ext >&5
2092 >
2093 > { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2094 > See \`config.log' for more details." >&5
2095 > echo "$as_me: error: C compiler cannot create executables
2096 > See \`config.log' for more details." >&2;}
2097     { (exit 77); exit 77; }; }
2098   fi
2099  
2100   ac_exeext=$ac_cv_exeext
2101 < echo "$as_me:1585: result: $ac_file" >&5
2101 > echo "$as_me:$LINENO: result: $ac_file" >&5
2102   echo "${ECHO_T}$ac_file" >&6
2103  
2104   # Check the compiler produces executables we can run.  If not, either
2105   # the compiler is broken, or we cross compile.
2106 < echo "$as_me:1590: checking whether the C compiler works" >&5
2106 > echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2107   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2108   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2109   # If not cross compiling, check that we can run a simple program.
2110   if test "$cross_compiling" != yes; then
2111    if { ac_try='./$ac_file'
2112 <  { (eval echo "$as_me:1596: \"$ac_try\"") >&5
2112 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2113    (eval $ac_try) 2>&5
2114    ac_status=$?
2115 <  echo "$as_me:1599: \$? = $ac_status" >&5
2115 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116    (exit $ac_status); }; }; then
2117      cross_compiling=no
2118    else
2119      if test "$cross_compiling" = maybe; then
2120          cross_compiling=yes
2121      else
2122 <        { { echo "$as_me:1606: error: cannot run C compiled programs.
2123 < If you meant to cross compile, use \`--host'." >&5
2122 >        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2123 > If you meant to cross compile, use \`--host'.
2124 > See \`config.log' for more details." >&5
2125   echo "$as_me: error: cannot run C compiled programs.
2126 < If you meant to cross compile, use \`--host'." >&2;}
2126 > If you meant to cross compile, use \`--host'.
2127 > See \`config.log' for more details." >&2;}
2128     { (exit 1); exit 1; }; }
2129      fi
2130    fi
2131   fi
2132 < echo "$as_me:1614: result: yes" >&5
2132 > echo "$as_me:$LINENO: result: yes" >&5
2133   echo "${ECHO_T}yes" >&6
2134  
2135 < rm -f a.out a.exe conftest$ac_cv_exeext
2135 > rm -f a.out a.exe conftest$ac_cv_exeext b.out
2136   ac_clean_files=$ac_clean_files_save
2137   # Check the compiler produces executables we can run.  If not, either
2138   # the compiler is broken, or we cross compile.
2139 < echo "$as_me:1621: checking whether we are cross compiling" >&5
2139 > echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2140   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2141 < echo "$as_me:1623: result: $cross_compiling" >&5
2141 > echo "$as_me:$LINENO: result: $cross_compiling" >&5
2142   echo "${ECHO_T}$cross_compiling" >&6
2143  
2144 < echo "$as_me:1626: checking for executable suffix" >&5
2145 < echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2146 < if { (eval echo "$as_me:1628: \"$ac_link\"") >&5
2144 > echo "$as_me:$LINENO: checking for suffix of executables" >&5
2145 > echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2146 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2147    (eval $ac_link) 2>&5
2148    ac_status=$?
2149 <  echo "$as_me:1631: \$? = $ac_status" >&5
2149 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150    (exit $ac_status); }; then
2151    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2152   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2153   # work properly (i.e., refer to `conftest.exe'), while it won't with
2154   # `rm'.
2155 < for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2155 > for ac_file in conftest.exe conftest conftest.*; do
2156 >  test -f "$ac_file" || continue
2157    case $ac_file in
2158 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2158 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2159      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2160            export ac_cv_exeext
2161            break;;
# Line 1644 | Line 2163 | else
2163    esac
2164   done
2165   else
2166 <  { { echo "$as_me:1647: error: cannot compute EXEEXT: cannot compile and link" >&5
2167 < echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2166 >  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2167 > See \`config.log' for more details." >&5
2168 > echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2169 > See \`config.log' for more details." >&2;}
2170     { (exit 1); exit 1; }; }
2171   fi
2172  
2173   rm -f conftest$ac_cv_exeext
2174 < echo "$as_me:1653: result: $ac_cv_exeext" >&5
2174 > echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2175   echo "${ECHO_T}$ac_cv_exeext" >&6
2176  
2177   rm -f conftest.$ac_ext
2178   EXEEXT=$ac_cv_exeext
2179   ac_exeext=$EXEEXT
2180 < echo "$as_me:1659: checking for object suffix" >&5
2181 < echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2180 > echo "$as_me:$LINENO: checking for suffix of object files" >&5
2181 > echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2182   if test "${ac_cv_objext+set}" = set; then
2183    echo $ECHO_N "(cached) $ECHO_C" >&6
2184   else
2185    cat >conftest.$ac_ext <<_ACEOF
2186 < #line 1665 "configure"
2187 < #include "confdefs.h"
2186 > #line $LINENO "configure"
2187 > /* confdefs.h.  */
2188 > _ACEOF
2189 > cat confdefs.h >>conftest.$ac_ext
2190 > cat >>conftest.$ac_ext <<_ACEOF
2191 > /* end confdefs.h.  */
2192  
2193   int
2194   main ()
# Line 1674 | Line 2199 | if { (eval echo "$as_me:1677: \"$ac_compile\"") >&5
2199   }
2200   _ACEOF
2201   rm -f conftest.o conftest.obj
2202 < if { (eval echo "$as_me:1677: \"$ac_compile\"") >&5
2202 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2203    (eval $ac_compile) 2>&5
2204    ac_status=$?
2205 <  echo "$as_me:1680: \$? = $ac_status" >&5
2205 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206    (exit $ac_status); }; then
2207    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2208    case $ac_file in
2209 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2209 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2210      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2211         break;;
2212    esac
2213   done
2214   else
2215    echo "$as_me: failed program was:" >&5
2216 < cat conftest.$ac_ext >&5
2217 < { { echo "$as_me:1692: error: cannot compute OBJEXT: cannot compile" >&5
2218 < echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2216 > sed 's/^/| /' conftest.$ac_ext >&5
2217 >
2218 > { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2219 > See \`config.log' for more details." >&5
2220 > echo "$as_me: error: cannot compute suffix of object files: cannot compile
2221 > See \`config.log' for more details." >&2;}
2222     { (exit 1); exit 1; }; }
2223   fi
2224  
2225   rm -f conftest.$ac_cv_objext conftest.$ac_ext
2226   fi
2227 < echo "$as_me:1699: result: $ac_cv_objext" >&5
2227 > echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2228   echo "${ECHO_T}$ac_cv_objext" >&6
2229   OBJEXT=$ac_cv_objext
2230   ac_objext=$OBJEXT
2231 < echo "$as_me:1703: checking whether we are using the GNU C compiler" >&5
2231 > echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2232   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2233   if test "${ac_cv_c_compiler_gnu+set}" = set; then
2234    echo $ECHO_N "(cached) $ECHO_C" >&6
2235   else
2236    cat >conftest.$ac_ext <<_ACEOF
2237 < #line 1709 "configure"
2238 < #include "confdefs.h"
2237 > #line $LINENO "configure"
2238 > /* confdefs.h.  */
2239 > _ACEOF
2240 > cat confdefs.h >>conftest.$ac_ext
2241 > cat >>conftest.$ac_ext <<_ACEOF
2242 > /* end confdefs.h.  */
2243  
2244   int
2245   main ()
# Line 1721 | Line 2253 | if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5
2253   }
2254   _ACEOF
2255   rm -f conftest.$ac_objext
2256 < if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5
2256 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2257    (eval $ac_compile) 2>&5
2258    ac_status=$?
2259 <  echo "$as_me:1727: \$? = $ac_status" >&5
2259 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260    (exit $ac_status); } &&
2261           { ac_try='test -s conftest.$ac_objext'
2262 <  { (eval echo "$as_me:1730: \"$ac_try\"") >&5
2262 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2263    (eval $ac_try) 2>&5
2264    ac_status=$?
2265 <  echo "$as_me:1733: \$? = $ac_status" >&5
2265 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266    (exit $ac_status); }; }; then
2267    ac_compiler_gnu=yes
2268   else
2269    echo "$as_me: failed program was:" >&5
2270 < cat conftest.$ac_ext >&5
2270 > sed 's/^/| /' conftest.$ac_ext >&5
2271 >
2272   ac_compiler_gnu=no
2273   fi
2274   rm -f conftest.$ac_objext conftest.$ac_ext
2275   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2276  
2277   fi
2278 < echo "$as_me:1745: result: $ac_cv_c_compiler_gnu" >&5
2278 > echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2279   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2280   GCC=`test $ac_compiler_gnu = yes && echo yes`
2281   ac_test_CFLAGS=${CFLAGS+set}
2282   ac_save_CFLAGS=$CFLAGS
2283   CFLAGS="-g"
2284 < echo "$as_me:1751: checking whether $CC accepts -g" >&5
2284 > echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2285   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2286   if test "${ac_cv_prog_cc_g+set}" = set; then
2287    echo $ECHO_N "(cached) $ECHO_C" >&6
2288   else
2289    cat >conftest.$ac_ext <<_ACEOF
2290 < #line 1757 "configure"
2291 < #include "confdefs.h"
2290 > #line $LINENO "configure"
2291 > /* confdefs.h.  */
2292 > _ACEOF
2293 > cat confdefs.h >>conftest.$ac_ext
2294 > cat >>conftest.$ac_ext <<_ACEOF
2295 > /* end confdefs.h.  */
2296  
2297   int
2298   main ()
# Line 1766 | Line 2303 | if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
2303   }
2304   _ACEOF
2305   rm -f conftest.$ac_objext
2306 < if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
2306 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2307    (eval $ac_compile) 2>&5
2308    ac_status=$?
2309 <  echo "$as_me:1772: \$? = $ac_status" >&5
2309 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310    (exit $ac_status); } &&
2311           { ac_try='test -s conftest.$ac_objext'
2312 <  { (eval echo "$as_me:1775: \"$ac_try\"") >&5
2312 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2313    (eval $ac_try) 2>&5
2314    ac_status=$?
2315 <  echo "$as_me:1778: \$? = $ac_status" >&5
2315 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316    (exit $ac_status); }; }; then
2317    ac_cv_prog_cc_g=yes
2318   else
2319    echo "$as_me: failed program was:" >&5
2320 < cat conftest.$ac_ext >&5
2320 > sed 's/^/| /' conftest.$ac_ext >&5
2321 >
2322   ac_cv_prog_cc_g=no
2323   fi
2324   rm -f conftest.$ac_objext conftest.$ac_ext
2325   fi
2326 < echo "$as_me:1788: result: $ac_cv_prog_cc_g" >&5
2326 > echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2327   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2328   if test "$ac_test_CFLAGS" = set; then
2329    CFLAGS=$ac_save_CFLAGS
# Line 1801 | Line 2339 | fi
2339    else
2340      CFLAGS=
2341    fi
2342 + fi
2343 + echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2344 + echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2345 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
2346 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2347 + else
2348 +  ac_cv_prog_cc_stdc=no
2349 + ac_save_CC=$CC
2350 + cat >conftest.$ac_ext <<_ACEOF
2351 + #line $LINENO "configure"
2352 + /* confdefs.h.  */
2353 + _ACEOF
2354 + cat confdefs.h >>conftest.$ac_ext
2355 + cat >>conftest.$ac_ext <<_ACEOF
2356 + /* end confdefs.h.  */
2357 + #include <stdarg.h>
2358 + #include <stdio.h>
2359 + #include <sys/types.h>
2360 + #include <sys/stat.h>
2361 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2362 + struct buf { int x; };
2363 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
2364 + static char *e (p, i)
2365 +     char **p;
2366 +     int i;
2367 + {
2368 +  return p[i];
2369 + }
2370 + static char *f (char * (*g) (char **, int), char **p, ...)
2371 + {
2372 +  char *s;
2373 +  va_list v;
2374 +  va_start (v,p);
2375 +  s = g (p, va_arg (v,int));
2376 +  va_end (v);
2377 +  return s;
2378 + }
2379 + int test (int i, double x);
2380 + struct s1 {int (*f) (int a);};
2381 + struct s2 {int (*f) (double a);};
2382 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2383 + int argc;
2384 + char **argv;
2385 + int
2386 + main ()
2387 + {
2388 + return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2389 +  ;
2390 +  return 0;
2391 + }
2392 + _ACEOF
2393 + # Don't try gcc -ansi; that turns off useful extensions and
2394 + # breaks some systems' header files.
2395 + # AIX                   -qlanglvl=ansi
2396 + # Ultrix and OSF/1      -std1
2397 + # HP-UX 10.20 and later -Ae
2398 + # HP-UX older versions  -Aa -D_HPUX_SOURCE
2399 + # SVR4                  -Xc -D__EXTENSIONS__
2400 + for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2401 + do
2402 +  CC="$ac_save_CC $ac_arg"
2403 +  rm -f conftest.$ac_objext
2404 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2405 +  (eval $ac_compile) 2>&5
2406 +  ac_status=$?
2407 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 +  (exit $ac_status); } &&
2409 +         { ac_try='test -s conftest.$ac_objext'
2410 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 +  (eval $ac_try) 2>&5
2412 +  ac_status=$?
2413 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 +  (exit $ac_status); }; }; then
2415 +  ac_cv_prog_cc_stdc=$ac_arg
2416 + break
2417 + else
2418 +  echo "$as_me: failed program was:" >&5
2419 + sed 's/^/| /' conftest.$ac_ext >&5
2420 +
2421   fi
2422 + rm -f conftest.$ac_objext
2423 + done
2424 + rm -f conftest.$ac_ext conftest.$ac_objext
2425 + CC=$ac_save_CC
2426 +
2427 + fi
2428 +
2429 + case "x$ac_cv_prog_cc_stdc" in
2430 +  x|xno)
2431 +    echo "$as_me:$LINENO: result: none needed" >&5
2432 + echo "${ECHO_T}none needed" >&6 ;;
2433 +  *)
2434 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2435 + echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2436 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
2437 + esac
2438 +
2439   # Some people use a C++ compiler to compile C.  Since we use `exit',
2440   # in C++ we need to declare it.  In case someone uses the same compiler
2441   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1812 | Line 2446 | if { (eval echo "$as_me:1815: \"$ac_compile\"") >&5
2446   #endif
2447   _ACEOF
2448   rm -f conftest.$ac_objext
2449 < if { (eval echo "$as_me:1815: \"$ac_compile\"") >&5
2449 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450    (eval $ac_compile) 2>&5
2451    ac_status=$?
2452 <  echo "$as_me:1818: \$? = $ac_status" >&5
2452 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453    (exit $ac_status); } &&
2454           { ac_try='test -s conftest.$ac_objext'
2455 <  { (eval echo "$as_me:1821: \"$ac_try\"") >&5
2455 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456    (eval $ac_try) 2>&5
2457    ac_status=$?
2458 <  echo "$as_me:1824: \$? = $ac_status" >&5
2458 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459    (exit $ac_status); }; }; then
2460    for ac_declaration in \
2461     ''\
# Line 1833 | Line 2467 | do
2467     'void exit (int);'
2468   do
2469    cat >conftest.$ac_ext <<_ACEOF
2470 < #line 1836 "configure"
2471 < #include "confdefs.h"
2470 > #line $LINENO "configure"
2471 > /* confdefs.h.  */
2472 > _ACEOF
2473 > cat confdefs.h >>conftest.$ac_ext
2474 > cat >>conftest.$ac_ext <<_ACEOF
2475 > /* end confdefs.h.  */
2476   #include <stdlib.h>
2477   $ac_declaration
2478   int
# Line 1846 | Line 2484 | if { (eval echo "$as_me:1849: \"$ac_compile\"") >&5
2484   }
2485   _ACEOF
2486   rm -f conftest.$ac_objext
2487 < if { (eval echo "$as_me:1849: \"$ac_compile\"") >&5
2487 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2488    (eval $ac_compile) 2>&5
2489    ac_status=$?
2490 <  echo "$as_me:1852: \$? = $ac_status" >&5
2490 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491    (exit $ac_status); } &&
2492           { ac_try='test -s conftest.$ac_objext'
2493 <  { (eval echo "$as_me:1855: \"$ac_try\"") >&5
2493 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494    (eval $ac_try) 2>&5
2495    ac_status=$?
2496 <  echo "$as_me:1858: \$? = $ac_status" >&5
2496 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497    (exit $ac_status); }; }; then
2498    :
2499   else
2500    echo "$as_me: failed program was:" >&5
2501 < cat conftest.$ac_ext >&5
2501 > sed 's/^/| /' conftest.$ac_ext >&5
2502 >
2503   continue
2504   fi
2505   rm -f conftest.$ac_objext conftest.$ac_ext
2506    cat >conftest.$ac_ext <<_ACEOF
2507 < #line 1868 "configure"
2508 < #include "confdefs.h"
2507 > #line $LINENO "configure"
2508 > /* confdefs.h.  */
2509 > _ACEOF
2510 > cat confdefs.h >>conftest.$ac_ext
2511 > cat >>conftest.$ac_ext <<_ACEOF
2512 > /* end confdefs.h.  */
2513   $ac_declaration
2514   int
2515   main ()
# Line 1877 | Line 2520 | if { (eval echo "$as_me:1880: \"$ac_compile\"") >&5
2520   }
2521   _ACEOF
2522   rm -f conftest.$ac_objext
2523 < if { (eval echo "$as_me:1880: \"$ac_compile\"") >&5
2523 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2524    (eval $ac_compile) 2>&5
2525    ac_status=$?
2526 <  echo "$as_me:1883: \$? = $ac_status" >&5
2526 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527    (exit $ac_status); } &&
2528           { ac_try='test -s conftest.$ac_objext'
2529 <  { (eval echo "$as_me:1886: \"$ac_try\"") >&5
2529 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530    (eval $ac_try) 2>&5
2531    ac_status=$?
2532 <  echo "$as_me:1889: \$? = $ac_status" >&5
2532 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533    (exit $ac_status); }; }; then
2534    break
2535   else
2536    echo "$as_me: failed program was:" >&5
2537 < cat conftest.$ac_ext >&5
2537 > sed 's/^/| /' conftest.$ac_ext >&5
2538 >
2539   fi
2540   rm -f conftest.$ac_objext conftest.$ac_ext
2541   done
2542 < echo '#ifdef __cplusplus' >>confdefs.h
2543 < echo $ac_declaration      >>confdefs.h
2544 < echo '#endif'             >>confdefs.h
2542 > rm -f conftest*
2543 > if test -n "$ac_declaration"; then
2544 >  echo '#ifdef __cplusplus' >>confdefs.h
2545 >  echo $ac_declaration      >>confdefs.h
2546 >  echo '#endif'             >>confdefs.h
2547 > fi
2548  
2549   else
2550    echo "$as_me: failed program was:" >&5
2551 < cat conftest.$ac_ext >&5
2551 > sed 's/^/| /' conftest.$ac_ext >&5
2552 >
2553   fi
2554   rm -f conftest.$ac_objext conftest.$ac_ext
2555   ac_ext=c
# Line 1910 | Line 2558 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
2558   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2559   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2560  
2561 + ac_ext=cc
2562 + ac_cpp='$CXXCPP $CPPFLAGS'
2563 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2564 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2565 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2566 + if test -n "$ac_tool_prefix"; then
2567 +  for ac_prog in $CCC icpc icc xlC CC g++ c++
2568 +  do
2569 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2570 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2571 + echo "$as_me:$LINENO: checking for $ac_word" >&5
2572 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2573 + if test "${ac_cv_prog_CXX+set}" = set; then
2574 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2575 + else
2576 +  if test -n "$CXX"; then
2577 +  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2578 + else
2579 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 + for as_dir in $PATH
2581 + do
2582 +  IFS=$as_save_IFS
2583 +  test -z "$as_dir" && as_dir=.
2584 +  for ac_exec_ext in '' $ac_executable_extensions; do
2585 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 +    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2587 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 +    break 2
2589 +  fi
2590 + done
2591 + done
2592 +
2593 + fi
2594 + fi
2595 + CXX=$ac_cv_prog_CXX
2596 + if test -n "$CXX"; then
2597 +  echo "$as_me:$LINENO: result: $CXX" >&5
2598 + echo "${ECHO_T}$CXX" >&6
2599 + else
2600 +  echo "$as_me:$LINENO: result: no" >&5
2601 + echo "${ECHO_T}no" >&6
2602 + fi
2603 +
2604 +    test -n "$CXX" && break
2605 +  done
2606 + fi
2607 + if test -z "$CXX"; then
2608 +  ac_ct_CXX=$CXX
2609 +  for ac_prog in $CCC icpc icc xlC CC g++ c++
2610 + do
2611 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
2612 + set dummy $ac_prog; ac_word=$2
2613 + echo "$as_me:$LINENO: checking for $ac_word" >&5
2614 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2615 + if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2616 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2617 + else
2618 +  if test -n "$ac_ct_CXX"; then
2619 +  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2620 + else
2621 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 + for as_dir in $PATH
2623 + do
2624 +  IFS=$as_save_IFS
2625 +  test -z "$as_dir" && as_dir=.
2626 +  for ac_exec_ext in '' $ac_executable_extensions; do
2627 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628 +    ac_cv_prog_ac_ct_CXX="$ac_prog"
2629 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2630 +    break 2
2631 +  fi
2632 + done
2633 + done
2634 +
2635 + fi
2636 + fi
2637 + ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2638 + if test -n "$ac_ct_CXX"; then
2639 +  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2640 + echo "${ECHO_T}$ac_ct_CXX" >&6
2641 + else
2642 +  echo "$as_me:$LINENO: result: no" >&5
2643 + echo "${ECHO_T}no" >&6
2644 + fi
2645 +
2646 +  test -n "$ac_ct_CXX" && break
2647 + done
2648 + test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2649 +
2650 +  CXX=$ac_ct_CXX
2651 + fi
2652 +
2653 +
2654 + # Provide some information about the compiler.
2655 + echo "$as_me:$LINENO:" \
2656 +     "checking for C++ compiler version" >&5
2657 + ac_compiler=`set X $ac_compile; echo $2`
2658 + { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2659 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
2660 +  ac_status=$?
2661 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 +  (exit $ac_status); }
2663 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2664 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
2665 +  ac_status=$?
2666 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 +  (exit $ac_status); }
2668 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2669 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
2670 +  ac_status=$?
2671 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 +  (exit $ac_status); }
2673 +
2674 + echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2675 + echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2676 + if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2677 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2678 + else
2679 +  cat >conftest.$ac_ext <<_ACEOF
2680 + #line $LINENO "configure"
2681 + /* confdefs.h.  */
2682 + _ACEOF
2683 + cat confdefs.h >>conftest.$ac_ext
2684 + cat >>conftest.$ac_ext <<_ACEOF
2685 + /* end confdefs.h.  */
2686 +
2687 + int
2688 + main ()
2689 + {
2690 + #ifndef __GNUC__
2691 +       choke me
2692 + #endif
2693 +
2694 +  ;
2695 +  return 0;
2696 + }
2697 + _ACEOF
2698 + rm -f conftest.$ac_objext
2699 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2700 +  (eval $ac_compile) 2>&5
2701 +  ac_status=$?
2702 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 +  (exit $ac_status); } &&
2704 +         { ac_try='test -s conftest.$ac_objext'
2705 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706 +  (eval $ac_try) 2>&5
2707 +  ac_status=$?
2708 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 +  (exit $ac_status); }; }; then
2710 +  ac_compiler_gnu=yes
2711 + else
2712 +  echo "$as_me: failed program was:" >&5
2713 + sed 's/^/| /' conftest.$ac_ext >&5
2714 +
2715 + ac_compiler_gnu=no
2716 + fi
2717 + rm -f conftest.$ac_objext conftest.$ac_ext
2718 + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2719 +
2720 + fi
2721 + echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2722 + echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2723 + GXX=`test $ac_compiler_gnu = yes && echo yes`
2724 + ac_test_CXXFLAGS=${CXXFLAGS+set}
2725 + ac_save_CXXFLAGS=$CXXFLAGS
2726 + CXXFLAGS="-g"
2727 + echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2728 + echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2729 + if test "${ac_cv_prog_cxx_g+set}" = set; then
2730 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2731 + else
2732 +  cat >conftest.$ac_ext <<_ACEOF
2733 + #line $LINENO "configure"
2734 + /* confdefs.h.  */
2735 + _ACEOF
2736 + cat confdefs.h >>conftest.$ac_ext
2737 + cat >>conftest.$ac_ext <<_ACEOF
2738 + /* end confdefs.h.  */
2739 +
2740 + int
2741 + main ()
2742 + {
2743 +
2744 +  ;
2745 +  return 0;
2746 + }
2747 + _ACEOF
2748 + rm -f conftest.$ac_objext
2749 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2750 +  (eval $ac_compile) 2>&5
2751 +  ac_status=$?
2752 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 +  (exit $ac_status); } &&
2754 +         { ac_try='test -s conftest.$ac_objext'
2755 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 +  (eval $ac_try) 2>&5
2757 +  ac_status=$?
2758 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 +  (exit $ac_status); }; }; then
2760 +  ac_cv_prog_cxx_g=yes
2761 + else
2762 +  echo "$as_me: failed program was:" >&5
2763 + sed 's/^/| /' conftest.$ac_ext >&5
2764 +
2765 + ac_cv_prog_cxx_g=no
2766 + fi
2767 + rm -f conftest.$ac_objext conftest.$ac_ext
2768 + fi
2769 + echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2770 + echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2771 + if test "$ac_test_CXXFLAGS" = set; then
2772 +  CXXFLAGS=$ac_save_CXXFLAGS
2773 + elif test $ac_cv_prog_cxx_g = yes; then
2774 +  if test "$GXX" = yes; then
2775 +    CXXFLAGS="-g -O2"
2776 +  else
2777 +    CXXFLAGS="-g"
2778 +  fi
2779 + else
2780 +  if test "$GXX" = yes; then
2781 +    CXXFLAGS="-O2"
2782 +  else
2783 +    CXXFLAGS=
2784 +  fi
2785 + fi
2786 + for ac_declaration in \
2787 +   ''\
2788 +   '#include <stdlib.h>' \
2789 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
2790 +   'extern "C" void std::exit (int); using std::exit;' \
2791 +   'extern "C" void exit (int) throw ();' \
2792 +   'extern "C" void exit (int);' \
2793 +   'void exit (int);'
2794 + do
2795 +  cat >conftest.$ac_ext <<_ACEOF
2796 + #line $LINENO "configure"
2797 + /* confdefs.h.  */
2798 + _ACEOF
2799 + cat confdefs.h >>conftest.$ac_ext
2800 + cat >>conftest.$ac_ext <<_ACEOF
2801 + /* end confdefs.h.  */
2802 + #include <stdlib.h>
2803 + $ac_declaration
2804 + int
2805 + main ()
2806 + {
2807 + exit (42);
2808 +  ;
2809 +  return 0;
2810 + }
2811 + _ACEOF
2812 + rm -f conftest.$ac_objext
2813 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2814 +  (eval $ac_compile) 2>&5
2815 +  ac_status=$?
2816 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 +  (exit $ac_status); } &&
2818 +         { ac_try='test -s conftest.$ac_objext'
2819 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820 +  (eval $ac_try) 2>&5
2821 +  ac_status=$?
2822 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 +  (exit $ac_status); }; }; then
2824 +  :
2825 + else
2826 +  echo "$as_me: failed program was:" >&5
2827 + sed 's/^/| /' conftest.$ac_ext >&5
2828 +
2829 + continue
2830 + fi
2831 + rm -f conftest.$ac_objext conftest.$ac_ext
2832 +  cat >conftest.$ac_ext <<_ACEOF
2833 + #line $LINENO "configure"
2834 + /* confdefs.h.  */
2835 + _ACEOF
2836 + cat confdefs.h >>conftest.$ac_ext
2837 + cat >>conftest.$ac_ext <<_ACEOF
2838 + /* end confdefs.h.  */
2839 + $ac_declaration
2840 + int
2841 + main ()
2842 + {
2843 + exit (42);
2844 +  ;
2845 +  return 0;
2846 + }
2847 + _ACEOF
2848 + rm -f conftest.$ac_objext
2849 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2850 +  (eval $ac_compile) 2>&5
2851 +  ac_status=$?
2852 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 +  (exit $ac_status); } &&
2854 +         { ac_try='test -s conftest.$ac_objext'
2855 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 +  (eval $ac_try) 2>&5
2857 +  ac_status=$?
2858 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 +  (exit $ac_status); }; }; then
2860 +  break
2861 + else
2862 +  echo "$as_me: failed program was:" >&5
2863 + sed 's/^/| /' conftest.$ac_ext >&5
2864 +
2865 + fi
2866 + rm -f conftest.$ac_objext conftest.$ac_ext
2867 + done
2868 + rm -f conftest*
2869 + if test -n "$ac_declaration"; then
2870 +  echo '#ifdef __cplusplus' >>confdefs.h
2871 +  echo $ac_declaration      >>confdefs.h
2872 +  echo '#endif'             >>confdefs.h
2873 + fi
2874 +
2875 + ac_ext=c
2876 + ac_cpp='$CPP $CPPFLAGS'
2877 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2878 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2879 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
2880 +
2881 + ac_ext=f90
2882 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2883 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2884 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2885 + if test -n "$ac_tool_prefix"; then
2886 +  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
2887 +  do
2888 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2889 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2890 + echo "$as_me:$LINENO: checking for $ac_word" >&5
2891 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2892 + if test "${ac_cv_prog_F90+set}" = set; then
2893 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2894 + else
2895 +  if test -n "$F90"; then
2896 +  ac_cv_prog_F90="$F90" # Let the user override the test.
2897 + else
2898 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899 + for as_dir in $PATH
2900 + do
2901 +  IFS=$as_save_IFS
2902 +  test -z "$as_dir" && as_dir=.
2903 +  for ac_exec_ext in '' $ac_executable_extensions; do
2904 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905 +    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
2906 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 +    break 2
2908 +  fi
2909 + done
2910 + done
2911 +
2912 + fi
2913 + fi
2914 + F90=$ac_cv_prog_F90
2915 + if test -n "$F90"; then
2916 +  echo "$as_me:$LINENO: result: $F90" >&5
2917 + echo "${ECHO_T}$F90" >&6
2918 + else
2919 +  echo "$as_me:$LINENO: result: no" >&5
2920 + echo "${ECHO_T}no" >&6
2921 + fi
2922 +
2923 +    test -n "$F90" && break
2924 +  done
2925 + fi
2926 + if test -z "$F90"; then
2927 +  ac_ct_F90=$F90
2928 +  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
2929 + do
2930 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
2931 + set dummy $ac_prog; ac_word=$2
2932 + echo "$as_me:$LINENO: checking for $ac_word" >&5
2933 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2934 + if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
2935 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2936 + else
2937 +  if test -n "$ac_ct_F90"; then
2938 +  ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
2939 + else
2940 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941 + for as_dir in $PATH
2942 + do
2943 +  IFS=$as_save_IFS
2944 +  test -z "$as_dir" && as_dir=.
2945 +  for ac_exec_ext in '' $ac_executable_extensions; do
2946 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 +    ac_cv_prog_ac_ct_F90="$ac_prog"
2948 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 +    break 2
2950 +  fi
2951 + done
2952 + done
2953 +
2954 + fi
2955 + fi
2956 + ac_ct_F90=$ac_cv_prog_ac_ct_F90
2957 + if test -n "$ac_ct_F90"; then
2958 +  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
2959 + echo "${ECHO_T}$ac_ct_F90" >&6
2960 + else
2961 +  echo "$as_me:$LINENO: result: no" >&5
2962 + echo "${ECHO_T}no" >&6
2963 + fi
2964 +
2965 +  test -n "$ac_ct_F90" && break
2966 + done
2967 +
2968 +  F90=$ac_ct_F90
2969 + fi
2970 +
2971 +
2972 + # If we don't use `.F90' as extension, the preprocessor is not run on the
2973 + # input file.
2974 + ac_save_ext=$ac_ext
2975 + ac_ext=F90
2976 + echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
2977 + echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
2978 + if test "${ac_cv_f90_compiler_gnu+set}" = set; then
2979 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2980 + else
2981 +  cat >conftest.$ac_ext <<_ACEOF
2982 +
2983 + program main
2984 +
2985 + #ifndef __GNUC__
2986 +       choke me
2987 + #endif
2988 +
2989 + end program main
2990 +
2991 + _ACEOF
2992 + rm -f conftest.$ac_objext
2993 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2994 +  (eval $ac_compile) 2>&5
2995 +  ac_status=$?
2996 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 +  (exit $ac_status); } &&
2998 +         { ac_try='test -s conftest.$ac_objext'
2999 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3000 +  (eval $ac_try) 2>&5
3001 +  ac_status=$?
3002 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 +  (exit $ac_status); }; }; then
3004 +  ac_compiler_gnu=yes
3005 + else
3006 +  echo "$as_me: failed program was:" >&5
3007 + sed 's/^/| /' conftest.$ac_ext >&5
3008 +
3009 + ac_compiler_gnu=no
3010 + fi
3011 + rm -f conftest.$ac_objext conftest.$ac_ext
3012 + ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3013 +
3014 + fi
3015 + echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3016 + echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3017 + ac_ext=$ac_save_ext
3018 + G95=`test $ac_compiler_gnu = yes && echo yes`
3019 + ac_ext=c
3020 + ac_cpp='$CPP $CPPFLAGS'
3021 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3024 +
3025 +
3026 +
3027 +
3028 +
3029 + # Try to determine native compiler flags that allow us to use F90 suffix
3030 + # for preprocessed f90 source.
3031 +
3032 + if test "$ac_test_PREPFLAG" != "set"; then
3033 +  PREPFLAG=""
3034 +  case "${host_cpu}-${host_os}" in
3035 +
3036 +  *linux*) if test "$F90" = ifc; then
3037 +                    PREPFLAG="-fpp1 "
3038 +                fi;;
3039 +  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
3040 +                    PREPFLAG="-qsuffix=cpp=F90 "
3041 +                fi;;
3042 +  *darwin*)
3043 +        if test "$F90" = f90 -o "$F90" = xlf90; then
3044 +                PREPFLAG="-qsuffix=cpp=F90 "
3045 +        fi;;
3046 +  esac
3047 +
3048 +  if test -z "$PREPFLAG"; then
3049 +        echo ""
3050 +        echo "**********************************************************"
3051 +        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
3052 +        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
3053 +        echo "* (otherwise, an empty PREPFLAG will be used)            *"
3054 +        echo "**********************************************************"
3055 +        echo ""
3056 +        PREPFLAG=""
3057 +  fi
3058 +
3059 +  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
3060 + echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3061 +
3062 +
3063 +  ac_ext=f90
3064 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3065 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3066 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3067 +
3068 +  ac_save_ext=$ac_ext
3069 +  ac_ext=F90
3070 +  ac_save_F90FLAGS=$F90FLAGS
3071 +
3072 +  if test "$PREPFLAG"; then
3073 +  F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST"
3074 + fi
3075 +
3076 +    cat >conftest.$ac_ext <<_ACEOF
3077 +
3078 +
3079 + program main
3080 +
3081 +  integer :: i
3082 +  i = 1
3083 +
3084 +
3085 + end program main
3086 +
3087 + _ACEOF
3088 + rm -f conftest.$ac_objext
3089 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090 +  (eval $ac_compile) 2>&5
3091 +  ac_status=$?
3092 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 +  (exit $ac_status); } &&
3094 +         { ac_try='test -s conftest.$ac_objext'
3095 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3096 +  (eval $ac_try) 2>&5
3097 +  ac_status=$?
3098 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 +  (exit $ac_status); }; }; then
3100 +  prepflagworks=1
3101 + else
3102 +  echo "$as_me: failed program was:" >&5
3103 + sed 's/^/| /' conftest.$ac_ext >&5
3104 +
3105 + prepflagworks=0
3106 + fi
3107 + rm -f conftest.$ac_objext conftest.$ac_ext
3108 +
3109 +  F90FLAGS=$ac_save_F90FLAGS
3110 +  ac_ext=$ac_save_ext
3111 +  ac_ext=c
3112 + ac_cpp='$CPP $CPPFLAGS'
3113 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3116 +
3117 +
3118 +
3119 +  if test "$prepflagworks" = 1; then
3120 +    echo "$as_me:$LINENO: result: yes" >&5
3121 + echo "${ECHO_T}yes" >&6
3122 +
3123 +  else
3124 +    echo "$as_me:$LINENO: result: no" >&5
3125 + echo "${ECHO_T}no" >&6
3126 +    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
3127 + echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3128 +   { (exit 1); exit 1; }; }
3129 +  fi
3130 + fi
3131 +
3132 +
3133 +
3134 +
3135 +
3136 + # Try to determine native compiler flags that allow us to use F90 suffix
3137 + # for preprocessed f90 source with -D type defines
3138 +
3139 + if test "$ac_test_PREPDEFFLAG" != "set"; then
3140 +  PREPDEFFLAG=""
3141 +  case "${host_cpu}-${host_os}" in
3142 +
3143 +  *linux*) if test "$F90" = ifc; then
3144 +                    PREPDEFFLAG=" "
3145 +                fi;;
3146 +  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
3147 +                    PREPDEFFLAG="-WF,"
3148 +                fi;;
3149 +  *darwin*)
3150 +        if test "$F90" = f90 -o "$F90" = xlf90; then
3151 +                PREPDEFFLAG="-WF,"
3152 +        fi;;
3153 +  esac
3154 +
3155 +  if test -z "$PREPDEFFLAG"; then
3156 +        echo ""
3157 +        echo "*************************************************************"
3158 +        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
3159 +        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
3160 +        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
3161 +        echo "*************************************************************"
3162 +        echo ""
3163 +        PREPDEFFLAG=" "
3164 +  fi
3165 +
3166 +  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
3167 + echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3168 +
3169 +
3170 +  ac_ext=f90
3171 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3172 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3174 +
3175 +  ac_save_ext=$ac_ext
3176 +  ac_ext=F90
3177 +  ac_save_F90FLAGS=$F90FLAGS
3178 +
3179 +  if test "$PREPDEFFLAG"; then
3180 +  F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST"
3181 + fi
3182 +
3183 +    cat >conftest.$ac_ext <<_ACEOF
3184 +
3185 +
3186 + program main
3187 +
3188 +  integer :: i
3189 + #ifdef TEST
3190 +  i = 1
3191 + #else
3192 +  choke me
3193 + #endif
3194 +
3195 +
3196 + end program main
3197 +
3198 + _ACEOF
3199 + rm -f conftest.$ac_objext
3200 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201 +  (eval $ac_compile) 2>&5
3202 +  ac_status=$?
3203 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 +  (exit $ac_status); } &&
3205 +         { ac_try='test -s conftest.$ac_objext'
3206 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207 +  (eval $ac_try) 2>&5
3208 +  ac_status=$?
3209 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 +  (exit $ac_status); }; }; then
3211 +  prepdefflagworks=1
3212 + else
3213 +  echo "$as_me: failed program was:" >&5
3214 + sed 's/^/| /' conftest.$ac_ext >&5
3215 +
3216 + prepdefflagworks=0
3217 + fi
3218 + rm -f conftest.$ac_objext conftest.$ac_ext
3219 +
3220 +  F90FLAGS=$ac_save_F90FLAGS
3221 +  ac_ext=$ac_save_ext
3222 +  ac_ext=c
3223 + ac_cpp='$CPP $CPPFLAGS'
3224 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3227 +
3228 +
3229 +
3230 +  if test "$prepdefflagworks" = 1; then
3231 +    echo "$as_me:$LINENO: result: yes" >&5
3232 + echo "${ECHO_T}yes" >&6
3233 +
3234 +  else
3235 +    echo "$as_me:$LINENO: result: no" >&5
3236 + echo "${ECHO_T}no" >&6
3237 +    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3238 + echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3239 +   { (exit 1); exit 1; }; }
3240 +  fi
3241 + fi
3242 +
3243 +
3244 + case $debug in
3245 +  1)
3246 +     ;;
3247 +  *)
3248 +
3249 +
3250 +
3251 +
3252   # Try to determine "good" native compiler flags if none specified on command
3253   # line
3254   if test "$ac_test_CFLAGS" != "set"; then
# Line 1971 | Line 3310 | echo "$as_me:1974: checking whether ${CC-cc} accepts -
3310    if test $ac_cv_c_compiler_gnu = yes; then
3311      # -malign-double for x86 systems
3312  
3313 < echo "$as_me:1974: checking whether ${CC-cc} accepts -malign-double" >&5
3313 >
3314 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
3315   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
3316   if test "${ac_align_double+set}" = set; then
3317    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1985 | Line 3325 | echo "$as_me:1988: result: $ac_align_double" >&5
3325   rm -f conftest*
3326  
3327   fi
3328 < echo "$as_me:1988: result: $ac_align_double" >&5
3328 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
3329   echo "${ECHO_T}$ac_align_double" >&6
3330   if test "$ac_align_double" = yes; then
3331          :
# Line 1997 | Line 3337 | echo "$as_me:2000: checking whether ${CC-cc} accepts -
3337  
3338      # -fstrict-aliasing for gcc-2.95+
3339  
3340 < echo "$as_me:2000: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
3340 >
3341 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
3342   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
3343   if test "${ac_fstrict_aliasing+set}" = set; then
3344    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2011 | Line 3352 | echo "$as_me:2014: result: $ac_fstrict_aliasing" >&5
3352   rm -f conftest*
3353  
3354   fi
3355 < echo "$as_me:2014: result: $ac_fstrict_aliasing" >&5
3355 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
3356   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
3357   if test "$ac_fstrict_aliasing" = yes; then
3358          :
# Line 2028 | Line 3369 | echo "$as_me:2031: checking whether ${CC-cc} accepts -
3369                    case "${host_cpu}" in
3370            i586*)
3371  
3372 < echo "$as_me:2031: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3372 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3373   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
3374   if test "${ac_cpu_pentium+set}" = set; then
3375    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2042 | Line 3383 | echo "$as_me:2045: result: $ac_cpu_pentium" >&5
3383   rm -f conftest*
3384  
3385   fi
3386 < echo "$as_me:2045: result: $ac_cpu_pentium" >&5
3386 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
3387   echo "${ECHO_T}$ac_cpu_pentium" >&6
3388   if test "$ac_cpu_pentium" = yes; then
3389          :
# Line 2050 | Line 3391 | echo "$as_me:2053: checking whether ${CC-cc} accepts -
3391   else
3392          :
3393  
3394 < echo "$as_me:2053: checking whether ${CC-cc} accepts -mpentium" >&5
3394 >
3395 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
3396   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
3397   if test "${ac_pentium+set}" = set; then
3398    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2064 | Line 3406 | echo "$as_me:2067: result: $ac_pentium" >&5
3406   rm -f conftest*
3407  
3408   fi
3409 < echo "$as_me:2067: result: $ac_pentium" >&5
3409 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
3410   echo "${ECHO_T}$ac_pentium" >&6
3411   if test "$ac_pentium" = yes; then
3412          :
# Line 2079 | Line 3421 | echo "$as_me:2082: checking whether ${CC-cc} accepts -
3421                    ;;
3422            i686*)
3423  
3424 < echo "$as_me:2082: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
3424 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
3425   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
3426   if test "${ac_cpu_pentiumpro+set}" = set; then
3427    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2093 | Line 3435 | echo "$as_me:2096: result: $ac_cpu_pentiumpro" >&5
3435   rm -f conftest*
3436  
3437   fi
3438 < echo "$as_me:2096: result: $ac_cpu_pentiumpro" >&5
3438 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
3439   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
3440   if test "$ac_cpu_pentiumpro" = yes; then
3441          :
# Line 2101 | Line 3443 | echo "$as_me:2104: checking whether ${CC-cc} accepts -
3443   else
3444          :
3445  
3446 < echo "$as_me:2104: checking whether ${CC-cc} accepts -mpentiumpro" >&5
3446 >
3447 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
3448   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
3449   if test "${ac_pentiumpro+set}" = set; then
3450    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2115 | Line 3458 | echo "$as_me:2118: result: $ac_pentiumpro" >&5
3458   rm -f conftest*
3459  
3460   fi
3461 < echo "$as_me:2118: result: $ac_pentiumpro" >&5
3461 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
3462   echo "${ECHO_T}$ac_pentiumpro" >&6
3463   if test "$ac_pentiumpro" = yes; then
3464          :
# Line 2133 | Line 3476 | echo "$as_me:2136: checking whether ${CC-cc} accepts -
3476                  is60x=`echo $cputype | egrep "^600-9e?$"`
3477                  if test -n "$is60x"; then
3478  
3479 < echo "$as_me:2136: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
3479 >
3480 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
3481   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
3482   if test "${ac_m_cpu_60x+set}" = set; then
3483    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2147 | Line 3491 | echo "$as_me:2150: result: $ac_m_cpu_60x" >&5
3491   rm -f conftest*
3492  
3493   fi
3494 < echo "$as_me:2150: result: $ac_m_cpu_60x" >&5
3494 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
3495   echo "${ECHO_T}$ac_m_cpu_60x" >&6
3496   if test "$ac_m_cpu_60x" = yes; then
3497          :
# Line 2159 | Line 3503 | echo "$as_me:2162: checking whether we are using gcc 2
3503  
3504                  elif test "$cputype" = 750; then
3505  
3506 < echo "$as_me:2162: checking whether we are using gcc 2.95 or later" >&5
3506 >
3507 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
3508   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
3509   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
3510    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2173 | Line 3518 | if { ac_try='${CC-cc} -E conftest.c'
3518   #endif
3519   EOF
3520   if { ac_try='${CC-cc} -E conftest.c'
3521 <  { (eval echo "$as_me:2176: \"$ac_try\"") >&5
3521 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522    (eval $ac_try) 2>&5
3523    ac_status=$?
3524 <  echo "$as_me:2179: \$? = $ac_status" >&5
3524 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3526    ac_cv_prog_gcc_2_95=yes
3527   else
# Line 2184 | Line 3529 | echo "$as_me:2187: result: $ac_cv_prog_gcc_2_95" >&5
3529   fi
3530  
3531   fi
3532 < echo "$as_me:2187: result: $ac_cv_prog_gcc_2_95" >&5
3532 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
3533   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
3534   if test "$ac_cv_prog_gcc_2_95" = yes; then
3535          :
3536  
3537 < echo "$as_me:2192: checking whether ${CC-cc} accepts -mcpu=750" >&5
3537 >
3538 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
3539   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
3540   if test "${ac_m_cpu_750+set}" = set; then
3541    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2203 | Line 3549 | echo "$as_me:2206: result: $ac_m_cpu_750" >&5
3549   rm -f conftest*
3550  
3551   fi
3552 < echo "$as_me:2206: result: $ac_m_cpu_750" >&5
3552 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
3553   echo "${ECHO_T}$ac_m_cpu_750" >&6
3554   if test "$ac_m_cpu_750" = yes; then
3555          :
# Line 2221 | Line 3567 | echo "$as_me:2224: checking whether ${CC-cc} accepts -
3567                  fi
3568                  if test -z "$CPU_FLAGS"; then
3569  
3570 < echo "$as_me:2224: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
3570 >
3571 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
3572   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
3573   if test "${ac_m_cpu_powerpc+set}" = set; then
3574    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2235 | Line 3582 | echo "$as_me:2238: result: $ac_m_cpu_powerpc" >&5
3582   rm -f conftest*
3583  
3584   fi
3585 < echo "$as_me:2238: result: $ac_m_cpu_powerpc" >&5
3585 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
3586   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
3587   if test "$ac_m_cpu_powerpc" = yes; then
3588          :
# Line 2248 | Line 3595 | echo "$as_me:2251: checking whether ${CC-cc} accepts -
3595                  fi
3596                  if test -z "$CPU_FLAGS"; then
3597  
3598 < echo "$as_me:2251: checking whether ${CC-cc} accepts -mpowerpc" >&5
3598 >
3599 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
3600   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
3601   if test "${ac_m_powerpc+set}" = set; then
3602    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2262 | Line 3610 | echo "$as_me:2265: result: $ac_m_powerpc" >&5
3610   rm -f conftest*
3611  
3612   fi
3613 < echo "$as_me:2265: result: $ac_m_powerpc" >&5
3613 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
3614   echo "${ECHO_T}$ac_m_powerpc" >&6
3615   if test "$ac_m_powerpc" = yes; then
3616          :
# Line 2291 | Line 3639 | echo "$as_me:2294: checking whether ${CC-cc} accepts $
3639          CFLAGS="-O3"
3640    fi
3641  
3642 < echo "$as_me:2294: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
3642 >
3643 >
3644 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
3645   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
3646   if test "${ac_guessed_cflags+set}" = set; then
3647    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2305 | Line 3655 | echo "$as_me:2308: result: $ac_guessed_cflags" >&5
3655   rm -f conftest*
3656  
3657   fi
3658 < echo "$as_me:2308: result: $ac_guessed_cflags" >&5
3658 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
3659   echo "${ECHO_T}$ac_guessed_cflags" >&6
3660   if test "$ac_guessed_cflags" = yes; then
3661          :
# Line 2321 | Line 3671 | else
3671          echo "********************************************************"
3672          echo ""
3673          CFLAGS=""
2324
2325 fi
2326
2327 fi
2328
2329 ac_ext=cc
2330 ac_cpp='$CXXCPP $CPPFLAGS'
2331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2334 if test -n "$ac_tool_prefix"; then
2335  for ac_prog in $CCC icpc icc xlC g++ c++
2336  do
2337    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2338 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2339 echo "$as_me:2339: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341 if test "${ac_cv_prog_CXX+set}" = set; then
2342  echo $ECHO_N "(cached) $ECHO_C" >&6
2343 else
2344  if test -n "$CXX"; then
2345  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2346 else
2347  ac_save_IFS=$IFS; IFS=$ac_path_separator
2348 ac_dummy="$PATH"
2349 for ac_dir in $ac_dummy; do
2350  IFS=$ac_save_IFS
2351  test -z "$ac_dir" && ac_dir=.
2352  $as_executable_p "$ac_dir/$ac_word" || continue
2353 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2354 echo "$as_me:2354: found $ac_dir/$ac_word" >&5
2355 break
2356 done
2357
2358 fi
2359 fi
2360 CXX=$ac_cv_prog_CXX
2361 if test -n "$CXX"; then
2362  echo "$as_me:2362: result: $CXX" >&5
2363 echo "${ECHO_T}$CXX" >&6
2364 else
2365  echo "$as_me:2365: result: no" >&5
2366 echo "${ECHO_T}no" >&6
2367 fi
2368
2369    test -n "$CXX" && break
2370  done
2371 fi
2372 if test -z "$CXX"; then
2373  ac_ct_CXX=$CXX
2374  for ac_prog in $CCC icpc icc xlC g++ c++
2375 do
2376  # Extract the first word of "$ac_prog", so it can be a program name with args.
2377 set dummy $ac_prog; ac_word=$2
2378 echo "$as_me:2378: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2380 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2381  echo $ECHO_N "(cached) $ECHO_C" >&6
2382 else
2383  if test -n "$ac_ct_CXX"; then
2384  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2385 else
2386  ac_save_IFS=$IFS; IFS=$ac_path_separator
2387 ac_dummy="$PATH"
2388 for ac_dir in $ac_dummy; do
2389  IFS=$ac_save_IFS
2390  test -z "$ac_dir" && ac_dir=.
2391  $as_executable_p "$ac_dir/$ac_word" || continue
2392 ac_cv_prog_ac_ct_CXX="$ac_prog"
2393 echo "$as_me:2393: found $ac_dir/$ac_word" >&5
2394 break
2395 done
3674  
3675   fi
2398 fi
2399 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2400 if test -n "$ac_ct_CXX"; then
2401  echo "$as_me:2401: result: $ac_ct_CXX" >&5
2402 echo "${ECHO_T}$ac_ct_CXX" >&6
2403 else
2404  echo "$as_me:2404: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2406 fi
3676  
2408  test -n "$ac_ct_CXX" && break
2409 done
2410 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3677  
2412  CXX=$ac_ct_CXX
3678   fi
3679  
2415 echo "$as_me:2415: checking whether we are using the GNU C++ compiler" >&5
2416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2418  echo $ECHO_N "(cached) $ECHO_C" >&6
2419 else
2420  cat >conftest.$ac_ext <<_ACEOF
2421 #line 2421 "configure"
2422 #include "confdefs.h"
3680  
2424 int
2425 main ()
2426 {
2427 #ifndef __GNUC__
2428       choke me
2429 #endif
3681  
2431  ;
2432  return 0;
2433 }
2434 _ACEOF
2435 rm -f conftest.$ac_objext
2436 if { (eval echo "$as_me:2436: \"$ac_compile\"") >&5
2437  (eval $ac_compile) 2>&5
2438  ac_status=$?
2439  echo "$as_me:2439: \$? = $ac_status" >&5
2440  (exit $ac_status); } &&
2441         { ac_try='test -s conftest.$ac_objext'
2442  { (eval echo "$as_me:2442: \"$ac_try\"") >&5
2443  (eval $ac_try) 2>&5
2444  ac_status=$?
2445  echo "$as_me:2445: \$? = $ac_status" >&5
2446  (exit $ac_status); }; }; then
2447  ac_compiler_gnu=yes
2448 else
2449  echo "$as_me: failed program was:" >&5
2450 cat conftest.$ac_ext >&5
2451 ac_compiler_gnu=no
2452 fi
2453 rm -f conftest.$ac_objext conftest.$ac_ext
2454 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2455
2456 fi
2457 echo "$as_me:2457: result: $ac_cv_cxx_compiler_gnu" >&5
2458 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2459 GXX=`test $ac_compiler_gnu = yes && echo yes`
2460 ac_test_CXXFLAGS=${CXXFLAGS+set}
2461 ac_save_CXXFLAGS=$CXXFLAGS
2462 CXXFLAGS="-g"
2463 echo "$as_me:2463: checking whether $CXX accepts -g" >&5
2464 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2465 if test "${ac_cv_prog_cxx_g+set}" = set; then
2466  echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468  cat >conftest.$ac_ext <<_ACEOF
2469 #line 2469 "configure"
2470 #include "confdefs.h"
2471
2472 int
2473 main ()
2474 {
2475
2476  ;
2477  return 0;
2478 }
2479 _ACEOF
2480 rm -f conftest.$ac_objext
2481 if { (eval echo "$as_me:2481: \"$ac_compile\"") >&5
2482  (eval $ac_compile) 2>&5
2483  ac_status=$?
2484  echo "$as_me:2484: \$? = $ac_status" >&5
2485  (exit $ac_status); } &&
2486         { ac_try='test -s conftest.$ac_objext'
2487  { (eval echo "$as_me:2487: \"$ac_try\"") >&5
2488  (eval $ac_try) 2>&5
2489  ac_status=$?
2490  echo "$as_me:2490: \$? = $ac_status" >&5
2491  (exit $ac_status); }; }; then
2492  ac_cv_prog_cxx_g=yes
2493 else
2494  echo "$as_me: failed program was:" >&5
2495 cat conftest.$ac_ext >&5
2496 ac_cv_prog_cxx_g=no
2497 fi
2498 rm -f conftest.$ac_objext conftest.$ac_ext
2499 fi
2500 echo "$as_me:2500: result: $ac_cv_prog_cxx_g" >&5
2501 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2502 if test "$ac_test_CXXFLAGS" = set; then
2503  CXXFLAGS=$ac_save_CXXFLAGS
2504 elif test $ac_cv_prog_cxx_g = yes; then
2505  if test "$GXX" = yes; then
2506    CXXFLAGS="-g -O2"
2507  else
2508    CXXFLAGS="-g"
2509  fi
2510 else
2511  if test "$GXX" = yes; then
2512    CXXFLAGS="-O2"
2513  else
2514    CXXFLAGS=
2515  fi
2516 fi
2517 for ac_declaration in \
2518   ''\
2519   '#include <stdlib.h>' \
2520   'extern "C" void std::exit (int) throw (); using std::exit;' \
2521   'extern "C" void std::exit (int); using std::exit;' \
2522   'extern "C" void exit (int) throw ();' \
2523   'extern "C" void exit (int);' \
2524   'void exit (int);'
2525 do
2526  cat >conftest.$ac_ext <<_ACEOF
2527 #line 2527 "configure"
2528 #include "confdefs.h"
2529 #include <stdlib.h>
2530 $ac_declaration
2531 int
2532 main ()
2533 {
2534 exit (42);
2535  ;
2536  return 0;
2537 }
2538 _ACEOF
2539 rm -f conftest.$ac_objext
2540 if { (eval echo "$as_me:2540: \"$ac_compile\"") >&5
2541  (eval $ac_compile) 2>&5
2542  ac_status=$?
2543  echo "$as_me:2543: \$? = $ac_status" >&5
2544  (exit $ac_status); } &&
2545         { ac_try='test -s conftest.$ac_objext'
2546  { (eval echo "$as_me:2546: \"$ac_try\"") >&5
2547  (eval $ac_try) 2>&5
2548  ac_status=$?
2549  echo "$as_me:2549: \$? = $ac_status" >&5
2550  (exit $ac_status); }; }; then
2551  :
2552 else
2553  echo "$as_me: failed program was:" >&5
2554 cat conftest.$ac_ext >&5
2555 continue
2556 fi
2557 rm -f conftest.$ac_objext conftest.$ac_ext
2558  cat >conftest.$ac_ext <<_ACEOF
2559 #line 2559 "configure"
2560 #include "confdefs.h"
2561 $ac_declaration
2562 int
2563 main ()
2564 {
2565 exit (42);
2566  ;
2567  return 0;
2568 }
2569 _ACEOF
2570 rm -f conftest.$ac_objext
2571 if { (eval echo "$as_me:2571: \"$ac_compile\"") >&5
2572  (eval $ac_compile) 2>&5
2573  ac_status=$?
2574  echo "$as_me:2574: \$? = $ac_status" >&5
2575  (exit $ac_status); } &&
2576         { ac_try='test -s conftest.$ac_objext'
2577  { (eval echo "$as_me:2577: \"$ac_try\"") >&5
2578  (eval $ac_try) 2>&5
2579  ac_status=$?
2580  echo "$as_me:2580: \$? = $ac_status" >&5
2581  (exit $ac_status); }; }; then
2582  break
2583 else
2584  echo "$as_me: failed program was:" >&5
2585 cat conftest.$ac_ext >&5
2586 fi
2587 rm -f conftest.$ac_objext conftest.$ac_ext
2588 done
2589 echo '#ifdef __cplusplus' >>confdefs.h
2590 echo $ac_declaration      >>confdefs.h
2591 echo '#endif'             >>confdefs.h
3682  
2593 ac_ext=c
2594 ac_cpp='$CPP $CPPFLAGS'
2595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683  
3684   # Try to determine "good" native compiler flags if none specified on command
3685   # line
# Line 2648 | Line 3733 | echo "$as_me:2651: checking whether ${CXX-c++} accepts
3733    if test $ac_cv_c_compiler_gnu = yes; then
3734      # -malign-double for x86 systems
3735  
3736 < echo "$as_me:2651: checking whether ${CXX-c++} accepts -malign-double" >&5
3736 >
3737 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
3738   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
3739   if test "${ac_align_double+set}" = set; then
3740    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2662 | Line 3748 | echo "$as_me:2665: result: $ac_align_double" >&5
3748   rm -f conftest*
3749  
3750   fi
3751 < echo "$as_me:2665: result: $ac_align_double" >&5
3751 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
3752   echo "${ECHO_T}$ac_align_double" >&6
3753   if test "$ac_align_double" = yes; then
3754          :
# Line 2674 | Line 3760 | echo "$as_me:2677: checking whether ${CXX-c++} accepts
3760  
3761      # -fstrict-aliasing for gcc-2.95+
3762  
3763 < echo "$as_me:2677: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3763 >
3764 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3765   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
3766   if test "${ac_fstrict_aliasing+set}" = set; then
3767    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2688 | Line 3775 | echo "$as_me:2691: result: $ac_fstrict_aliasing" >&5
3775   rm -f conftest*
3776  
3777   fi
3778 < echo "$as_me:2691: result: $ac_fstrict_aliasing" >&5
3778 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
3779   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
3780   if test "$ac_fstrict_aliasing" = yes; then
3781          :
# Line 2705 | Line 3792 | echo "$as_me:2708: checking whether ${CC-cc} accepts -
3792                    case "${host_cpu}" in
3793            i586*)
3794  
3795 < echo "$as_me:2708: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3795 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3796   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
3797   if test "${ac_cpu_pentium+set}" = set; then
3798    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2719 | Line 3806 | echo "$as_me:2722: result: $ac_cpu_pentium" >&5
3806   rm -f conftest*
3807  
3808   fi
3809 < echo "$as_me:2722: result: $ac_cpu_pentium" >&5
3809 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
3810   echo "${ECHO_T}$ac_cpu_pentium" >&6
3811   if test "$ac_cpu_pentium" = yes; then
3812          :
# Line 2727 | Line 3814 | echo "$as_me:2730: checking whether ${CXX-c++} accepts
3814   else
3815          :
3816  
3817 < echo "$as_me:2730: checking whether ${CXX-c++} accepts -mpentium" >&5
3817 >
3818 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
3819   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
3820   if test "${ac_pentium+set}" = set; then
3821    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2741 | Line 3829 | echo "$as_me:2744: result: $ac_pentium" >&5
3829   rm -f conftest*
3830  
3831   fi
3832 < echo "$as_me:2744: result: $ac_pentium" >&5
3832 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
3833   echo "${ECHO_T}$ac_pentium" >&6
3834   if test "$ac_pentium" = yes; then
3835          :
# Line 2756 | Line 3844 | echo "$as_me:2759: checking whether ${CXX-c++} accepts
3844                    ;;
3845            i686*)
3846  
3847 < echo "$as_me:2759: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3847 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3848   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
3849   if test "${ac_cpu_pentiumpro+set}" = set; then
3850    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2770 | Line 3858 | echo "$as_me:2773: result: $ac_cpu_pentiumpro" >&5
3858   rm -f conftest*
3859  
3860   fi
3861 < echo "$as_me:2773: result: $ac_cpu_pentiumpro" >&5
3861 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
3862   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
3863   if test "$ac_cpu_pentiumpro" = yes; then
3864          :
# Line 2778 | Line 3866 | echo "$as_me:2781: checking whether ${CXX-c++} accepts
3866   else
3867          :
3868  
3869 < echo "$as_me:2781: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3869 >
3870 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3871   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
3872   if test "${ac_pentiumpro+set}" = set; then
3873    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2792 | Line 3881 | echo "$as_me:2795: result: $ac_pentiumpro" >&5
3881   rm -f conftest*
3882  
3883   fi
3884 < echo "$as_me:2795: result: $ac_pentiumpro" >&5
3884 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
3885   echo "${ECHO_T}$ac_pentiumpro" >&6
3886   if test "$ac_pentiumpro" = yes; then
3887          :
# Line 2810 | Line 3899 | echo "$as_me:2813: checking whether ${CXX-c++} accepts
3899                  is60x=`echo $cputype | egrep "^600-9e?$"`
3900                  if test -n "$is60x"; then
3901  
3902 < echo "$as_me:2813: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3902 >
3903 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3904   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
3905   if test "${ac_m_cpu_60x+set}" = set; then
3906    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2824 | Line 3914 | echo "$as_me:2827: result: $ac_m_cpu_60x" >&5
3914   rm -f conftest*
3915  
3916   fi
3917 < echo "$as_me:2827: result: $ac_m_cpu_60x" >&5
3917 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
3918   echo "${ECHO_T}$ac_m_cpu_60x" >&6
3919   if test "$ac_m_cpu_60x" = yes; then
3920          :
# Line 2836 | Line 3926 | echo "$as_me:2839: checking whether we are using gcc 2
3926  
3927                  elif test "$cputype" = 750; then
3928  
3929 < echo "$as_me:2839: checking whether we are using gcc 2.95 or later" >&5
3929 >
3930 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
3931   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
3932   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
3933    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2850 | Line 3941 | if { ac_try='${CC-cc} -E conftest.c'
3941   #endif
3942   EOF
3943   if { ac_try='${CC-cc} -E conftest.c'
3944 <  { (eval echo "$as_me:2853: \"$ac_try\"") >&5
3944 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945    (eval $ac_try) 2>&5
3946    ac_status=$?
3947 <  echo "$as_me:2856: \$? = $ac_status" >&5
3947 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3949    ac_cv_prog_gcc_2_95=yes
3950   else
# Line 2861 | Line 3952 | echo "$as_me:2864: result: $ac_cv_prog_gcc_2_95" >&5
3952   fi
3953  
3954   fi
3955 < echo "$as_me:2864: result: $ac_cv_prog_gcc_2_95" >&5
3955 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
3956   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
3957   if test "$ac_cv_prog_gcc_2_95" = yes; then
3958          :
3959  
3960 < echo "$as_me:2869: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3960 >
3961 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3962   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
3963   if test "${ac_m_cpu_750+set}" = set; then
3964    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2880 | Line 3972 | echo "$as_me:2883: result: $ac_m_cpu_750" >&5
3972   rm -f conftest*
3973  
3974   fi
3975 < echo "$as_me:2883: result: $ac_m_cpu_750" >&5
3975 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
3976   echo "${ECHO_T}$ac_m_cpu_750" >&6
3977   if test "$ac_m_cpu_750" = yes; then
3978          :
# Line 2898 | Line 3990 | echo "$as_me:2901: checking whether ${CXX-c++} accepts
3990                  fi
3991                  if test -z "$CPU_FLAGS"; then
3992  
3993 < echo "$as_me:2901: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
3993 >
3994 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
3995   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
3996   if test "${ac_m_cpu_powerpc+set}" = set; then
3997    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2912 | Line 4005 | echo "$as_me:2915: result: $ac_m_cpu_powerpc" >&5
4005   rm -f conftest*
4006  
4007   fi
4008 < echo "$as_me:2915: result: $ac_m_cpu_powerpc" >&5
4008 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
4009   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
4010   if test "$ac_m_cpu_powerpc" = yes; then
4011          :
# Line 2925 | Line 4018 | echo "$as_me:2928: checking whether ${CXX-c++} accepts
4018                  fi
4019                  if test -z "$CPU_FLAGS"; then
4020  
4021 < echo "$as_me:2928: checking whether ${CXX-c++} accepts -mpowerpc" >&5
4021 >
4022 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
4023   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
4024   if test "${ac_m_powerpc+set}" = set; then
4025    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2939 | Line 4033 | echo "$as_me:2942: result: $ac_m_powerpc" >&5
4033   rm -f conftest*
4034  
4035   fi
4036 < echo "$as_me:2942: result: $ac_m_powerpc" >&5
4036 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
4037   echo "${ECHO_T}$ac_m_powerpc" >&6
4038   if test "$ac_m_powerpc" = yes; then
4039          :
# Line 2968 | Line 4062 | echo "$as_me:2971: checking whether ${CXX-c++} accepts
4062          CXXFLAGS="-O3"
4063    fi
4064  
4065 < echo "$as_me:2971: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
4065 >
4066 >
4067 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
4068   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
4069   if test "${ac_guessed_cxxflags+set}" = set; then
4070    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2982 | Line 4078 | echo "$as_me:2985: result: $ac_guessed_cxxflags" >&5
4078   rm -f conftest*
4079  
4080   fi
4081 < echo "$as_me:2985: result: $ac_guessed_cxxflags" >&5
4081 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
4082   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
4083   if test "$ac_guessed_cxxflags" = yes; then
4084          :
# Line 3001 | Line 4097 | fi
4097  
4098   fi
4099  
3004 fi
4100  
3006 ac_ext=f90
3007 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3008 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3010 if test -n "$ac_tool_prefix"; then
3011  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3012  do
3013    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3014 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3015 echo "$as_me:3015: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3017 if test "${ac_cv_prog_F90+set}" = set; then
3018  echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020  if test -n "$F90"; then
3021  ac_cv_prog_F90="$F90" # Let the user override the test.
3022 else
3023  ac_save_IFS=$IFS; IFS=$ac_path_separator
3024 ac_dummy="$PATH"
3025 for ac_dir in $ac_dummy; do
3026  IFS=$ac_save_IFS
3027  test -z "$ac_dir" && ac_dir=.
3028  $as_executable_p "$ac_dir/$ac_word" || continue
3029 ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3030 echo "$as_me:3030: found $ac_dir/$ac_word" >&5
3031 break
3032 done
3033
4101   fi
3035 fi
3036 F90=$ac_cv_prog_F90
3037 if test -n "$F90"; then
3038  echo "$as_me:3038: result: $F90" >&5
3039 echo "${ECHO_T}$F90" >&6
3040 else
3041  echo "$as_me:3041: result: no" >&5
3042 echo "${ECHO_T}no" >&6
3043 fi
4102  
3045    test -n "$F90" && break
3046  done
3047 fi
3048 if test -z "$F90"; then
3049  ac_ct_F90=$F90
3050  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3051 do
3052  # Extract the first word of "$ac_prog", so it can be a program name with args.
3053 set dummy $ac_prog; ac_word=$2
3054 echo "$as_me:3054: checking for $ac_word" >&5
3055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3056 if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3057  echo $ECHO_N "(cached) $ECHO_C" >&6
3058 else
3059  if test -n "$ac_ct_F90"; then
3060  ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3061 else
3062  ac_save_IFS=$IFS; IFS=$ac_path_separator
3063 ac_dummy="$PATH"
3064 for ac_dir in $ac_dummy; do
3065  IFS=$ac_save_IFS
3066  test -z "$ac_dir" && ac_dir=.
3067  $as_executable_p "$ac_dir/$ac_word" || continue
3068 ac_cv_prog_ac_ct_F90="$ac_prog"
3069 echo "$as_me:3069: found $ac_dir/$ac_word" >&5
3070 break
3071 done
4103  
3073 fi
3074 fi
3075 ac_ct_F90=$ac_cv_prog_ac_ct_F90
3076 if test -n "$ac_ct_F90"; then
3077  echo "$as_me:3077: result: $ac_ct_F90" >&5
3078 echo "${ECHO_T}$ac_ct_F90" >&6
3079 else
3080  echo "$as_me:3080: result: no" >&5
3081 echo "${ECHO_T}no" >&6
3082 fi
4104  
3084  test -n "$ac_ct_F90" && break
3085 done
4105  
3087  F90=$ac_ct_F90
3088 fi
4106  
3090 # If we don't use `.F90' as extension, the preprocessor is not run on the
3091 # input file.
3092 ac_save_ext=$ac_ext
3093 ac_ext=F90
3094 echo "$as_me:3094: checking whether we are using the GNU Fortran 90 compiler" >&5
3095 echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3096 if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3097  echo $ECHO_N "(cached) $ECHO_C" >&6
3098 else
3099  cat >conftest.$ac_ext <<_ACEOF
3100
3101 program main
3102
3103 #ifndef __GNUC__
3104       choke me
3105 #endif
3106
3107 end program main
3108
3109 _ACEOF
3110 rm -f conftest.$ac_objext
3111 if { (eval echo "$as_me:3111: \"$ac_compile\"") >&5
3112  (eval $ac_compile) 2>&5
3113  ac_status=$?
3114  echo "$as_me:3114: \$? = $ac_status" >&5
3115  (exit $ac_status); } &&
3116         { ac_try='test -s conftest.$ac_objext'
3117  { (eval echo "$as_me:3117: \"$ac_try\"") >&5
3118  (eval $ac_try) 2>&5
3119  ac_status=$?
3120  echo "$as_me:3120: \$? = $ac_status" >&5
3121  (exit $ac_status); }; }; then
3122  ac_compiler_gnu=yes
3123 else
3124  echo "$as_me: failed program was:" >&5
3125 cat conftest.$ac_ext >&5
3126 ac_compiler_gnu=no
3127 fi
3128 rm -f conftest.$ac_objext conftest.$ac_ext
3129 ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3130
3131 fi
3132 echo "$as_me:3132: result: $ac_cv_f90_compiler_gnu" >&5
3133 echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3134 ac_ext=$ac_save_ext
3135 G95=`test $ac_compiler_gnu = yes && echo yes`
3136 ac_ext=c
3137 ac_cpp='$CPP $CPPFLAGS'
3138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3141
4107   # Try to determine "good" native compiler flags if none specified on command
4108   # line
4109  
4110 < if test "$ac_test_F90FLAGS" != "set"; then
4110 > if test x"$F90FLAGS" == x ; then
4111    F90FLAGS=""
4112    case "${host_cpu}-${host_os}" in
4113  
# Line 3195 | Line 4160 | echo "$as_me:3198: checking whether ${F90-f90} accepts
4160          F90FLAGS="-O3"
4161    fi
4162  
4163 < echo "$as_me:3198: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
4163 >
4164 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
4165   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
4166   if test "${ac_guessed_f90flags+set}" = set; then
4167    echo $ECHO_N "(cached) $ECHO_C" >&6
4168   else
4169  
4170 +
4171 +
4172   ac_ext=f90
4173   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4174   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3209 | Line 4177 | if { (eval echo "$as_me:3212: \"$ac_compile\"") >&5
4177   echo 'program main' > conftest.$ac_ext
4178   echo 'end program main' >> conftest.$ac_ext
4179   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
4180 < if { (eval echo "$as_me:3212: \"$ac_compile\"") >&5
4180 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4181    (eval $ac_compile) 2>&5
4182    ac_status=$?
4183 <  echo "$as_me:3215: \$? = $ac_status" >&5
4183 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184    (exit $ac_status); }; then
4185          ac_guessed_f90flags=yes
4186   else
# Line 3225 | Line 4193 | fi
4193   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4194   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4195  
4196 +
4197   fi
4198 < echo "$as_me:3229: result: $ac_guessed_f90flags" >&5
4198 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
4199   echo "${ECHO_T}$ac_guessed_f90flags" >&6
4200   if test "$ac_guessed_f90flags" = yes; then
4201          :
# Line 3245 | Line 4214 | fi
4214  
4215   fi
4216  
3248 fi
4217  
3250 # Try to determine native compiler flags that allow us to use F90 suffix
3251 # for preprocessed f90 source.
3252
3253 if test "$ac_test_PREPFLAG" != "set"; then
3254  PREPFLAG=""
3255  case "${host_cpu}-${host_os}" in
3256
3257  *linux*) if test "$F90" = ifc; then
3258                    PREPFLAG="-fpp1 "
3259                fi;;
3260  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
3261                    PREPFLAG="-qsuffix=cpp=F90 "
3262                fi;;
3263  *darwin*)
3264        if test "$F90" = f90 -o "$F90" = xlf90; then
3265                PREPFLAG="-qsuffix=cpp=F90 "
3266        fi;;
3267  esac
3268
3269  if test -z "$PREPFLAG"; then
3270        echo ""
3271        echo "**********************************************************"
3272        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
3273        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
3274        echo "* (otherwise, an empty PREPFLAG will be used)            *"
3275        echo "**********************************************************"
3276        echo ""
3277        PREPFLAG=""
3278  fi
3279
3280  echo "$as_me:3280: checking to make sure F90 preprocessor flag works" >&5
3281 echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3282
3283  ac_ext=f90
3284 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3285 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3286 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3287
3288  ac_save_ext=$ac_ext
3289  ac_ext=F90
3290  ac_save_F90FLAGS=$F90FLAGS
3291
3292  if test "$PREPFLAG"; then
3293  F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST"
4218   fi
4219  
4220 <    cat >conftest.$ac_ext <<_ACEOF
4221 <
3298 < program main
3299 <
3300 <  integer :: i
3301 <  i = 1
3302 <
3303 < end program main
3304 <
3305 < _ACEOF
3306 < rm -f conftest.$ac_objext
3307 < if { (eval echo "$as_me:3307: \"$ac_compile\"") >&5
3308 <  (eval $ac_compile) 2>&5
3309 <  ac_status=$?
3310 <  echo "$as_me:3310: \$? = $ac_status" >&5
3311 <  (exit $ac_status); } &&
3312 <         { ac_try='test -s conftest.$ac_objext'
3313 <  { (eval echo "$as_me:3313: \"$ac_try\"") >&5
3314 <  (eval $ac_try) 2>&5
3315 <  ac_status=$?
3316 <  echo "$as_me:3316: \$? = $ac_status" >&5
3317 <  (exit $ac_status); }; }; then
3318 <  prepflagworks=1
3319 < else
3320 <  echo "$as_me: failed program was:" >&5
3321 < cat conftest.$ac_ext >&5
3322 < prepflagworks=0
3323 < fi
3324 < rm -f conftest.$ac_objext conftest.$ac_ext
3325 <
3326 <  F90FLAGS=$ac_save_F90FLAGS
3327 <  ac_ext=$ac_save_ext
3328 <  ac_ext=c
3329 < ac_cpp='$CPP $CPPFLAGS'
3330 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3331 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3332 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
3333 <
3334 <  if test "$prepflagworks" = 1; then
3335 <    echo "$as_me:3335: result: yes" >&5
3336 < echo "${ECHO_T}yes" >&6
3337 <
3338 <  else
3339 <    echo "$as_me:3339: result: no" >&5
3340 < echo "${ECHO_T}no" >&6
3341 <    { { echo "$as_me:3341: error: Can't figure out working Fortran90 preprocessor flag" >&5
3342 < echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3343 <   { (exit 1); exit 1; }; }
3344 <  fi
3345 < fi
3346 <
3347 < # Try to determine native compiler flags that allow us to use F90 suffix
3348 < # for preprocessed f90 source with -D type defines
3349 <
3350 < if test "$ac_test_PREPDEFFLAG" != "set"; then
3351 <  PREPDEFFLAG=""
3352 <  case "${host_cpu}-${host_os}" in
3353 <
3354 <  *linux*) if test "$F90" = ifc; then
3355 <                    PREPDEFFLAG=" "
3356 <                fi;;
3357 <  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
3358 <                    PREPDEFFLAG="-WF,"
3359 <                fi;;
3360 <  *darwin*)
3361 <        if test "$F90" = f90 -o "$F90" = xlf90; then
3362 <                PREPDEFFLAG="-WF,"
3363 <        fi;;
3364 <  esac
3365 <
3366 <  if test -z "$PREPDEFFLAG"; then
3367 <        echo ""
3368 <        echo "*************************************************************"
3369 <        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
3370 <        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
3371 <        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
3372 <        echo "*************************************************************"
3373 <        echo ""
3374 <        PREPDEFFLAG=" "
3375 <  fi
3376 <
3377 <  echo "$as_me:3377: checking to make sure F90 preprocessor define flag works" >&5
3378 < echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3379 <
3380 <  ac_ext=f90
3381 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3382 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3383 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3384 <
3385 <  ac_save_ext=$ac_ext
3386 <  ac_ext=F90
3387 <  ac_save_F90FLAGS=$F90FLAGS
3388 <
3389 <  if test "$PREPDEFFLAG"; then
3390 <  F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST"
3391 < fi
3392 <
3393 <    cat >conftest.$ac_ext <<_ACEOF
3394 <
3395 < program main
3396 <
3397 <  integer :: i
3398 < #ifdef TEST
3399 <  i = 1
3400 < #else
3401 <  choke me
3402 < #endif
3403 <
3404 < end program main
3405 <
3406 < _ACEOF
3407 < rm -f conftest.$ac_objext
3408 < if { (eval echo "$as_me:3408: \"$ac_compile\"") >&5
3409 <  (eval $ac_compile) 2>&5
3410 <  ac_status=$?
3411 <  echo "$as_me:3411: \$? = $ac_status" >&5
3412 <  (exit $ac_status); } &&
3413 <         { ac_try='test -s conftest.$ac_objext'
3414 <  { (eval echo "$as_me:3414: \"$ac_try\"") >&5
3415 <  (eval $ac_try) 2>&5
3416 <  ac_status=$?
3417 <  echo "$as_me:3417: \$? = $ac_status" >&5
3418 <  (exit $ac_status); }; }; then
3419 <  prepdefflagworks=1
3420 < else
3421 <  echo "$as_me: failed program was:" >&5
3422 < cat conftest.$ac_ext >&5
3423 < prepdefflagworks=0
3424 < fi
3425 < rm -f conftest.$ac_objext conftest.$ac_ext
3426 <
3427 <  F90FLAGS=$ac_save_F90FLAGS
3428 <  ac_ext=$ac_save_ext
3429 <  ac_ext=c
3430 < ac_cpp='$CPP $CPPFLAGS'
3431 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 <
3435 <  if test "$prepdefflagworks" = 1; then
3436 <    echo "$as_me:3436: result: yes" >&5
3437 < echo "${ECHO_T}yes" >&6
4220 >     ;;
4221 > esac
4222  
3439  else
3440    echo "$as_me:3440: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3442    { { echo "$as_me:3442: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3443 echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3444   { (exit 1); exit 1; }; }
3445  fi
3446 fi
3447
4223   # Find a good install program.  We prefer a C program (faster),
4224   # so one script is as good as another.  But avoid the broken or
4225   # incompatible versions:
# Line 3457 | Line 4232 | echo "$as_me:3460: checking for a BSD compatible insta
4232   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4233   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4234   # ./install, which can be erroneously created by make from ./install.sh.
4235 < echo "$as_me:3460: checking for a BSD compatible install" >&5
4236 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
4235 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4236 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4237   if test -z "$INSTALL"; then
4238   if test "${ac_cv_path_install+set}" = set; then
4239    echo $ECHO_N "(cached) $ECHO_C" >&6
4240   else
4241 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
4242 <  for ac_dir in $PATH; do
4243 <    IFS=$ac_save_IFS
4244 <    # Account for people who put trailing slashes in PATH elements.
4245 <    case $ac_dir/ in
4246 <    / | ./ | .// | /cC/* \
4247 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
4248 <    | /usr/ucb/* ) ;;
4249 <    *)
4250 <      # OSF1 and SCO ODT 3.0 have their own names for install.
4251 <      # Don't use installbsd from OSF since it installs stuff as root
4252 <      # by default.
4253 <      for ac_prog in ginstall scoinst install; do
4254 <        if $as_executable_p "$ac_dir/$ac_prog"; then
4255 <          if test $ac_prog = install &&
4256 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
4257 <            # AIX install.  It has an incompatible calling convention.
4258 <            :
4259 <          elif test $ac_prog = install &&
4260 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
4261 <            # program-specific install script used by HP pwplus--don't use.
4262 <            :
4263 <          else
4264 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
4265 <            break 2
4266 <          fi
4267 <        fi
4241 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 > for as_dir in $PATH
4243 > do
4244 >  IFS=$as_save_IFS
4245 >  test -z "$as_dir" && as_dir=.
4246 >  # Account for people who put trailing slashes in PATH elements.
4247 > case $as_dir/ in
4248 >  ./ | .// | /cC/* | \
4249 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4250 >  /usr/ucb/* ) ;;
4251 >  *)
4252 >    # OSF1 and SCO ODT 3.0 have their own names for install.
4253 >    # Don't use installbsd from OSF since it installs stuff as root
4254 >    # by default.
4255 >    for ac_prog in ginstall scoinst install; do
4256 >      for ac_exec_ext in '' $ac_executable_extensions; do
4257 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4258 >          if test $ac_prog = install &&
4259 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4260 >            # AIX install.  It has an incompatible calling convention.
4261 >            :
4262 >          elif test $ac_prog = install &&
4263 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4264 >            # program-specific install script used by HP pwplus--don't use.
4265 >            :
4266 >          else
4267 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4268 >            break 3
4269 >          fi
4270 >        fi
4271        done
4272 <      ;;
4273 <    esac
4274 <  done
4272 >    done
4273 >    ;;
4274 > esac
4275 > done
4276  
4277 +
4278   fi
4279    if test "${ac_cv_path_install+set}" = set; then
4280      INSTALL=$ac_cv_path_install
# Line 3506 | Line 4286 | echo "$as_me:3509: result: $INSTALL" >&5
4286      INSTALL=$ac_install_sh
4287    fi
4288   fi
4289 < echo "$as_me:3509: result: $INSTALL" >&5
4289 > echo "$as_me:$LINENO: result: $INSTALL" >&5
4290   echo "${ECHO_T}$INSTALL" >&6
4291  
4292   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3517 | Line 4297 | echo "$as_me:3520: checking whether ln -s works" >&5
4297  
4298   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4299  
4300 < echo "$as_me:3520: checking whether ln -s works" >&5
4300 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
4301   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4302   LN_S=$as_ln_s
4303   if test "$LN_S" = "ln -s"; then
4304 <  echo "$as_me:3524: result: yes" >&5
4304 >  echo "$as_me:$LINENO: result: yes" >&5
4305   echo "${ECHO_T}yes" >&6
4306   else
4307 <  echo "$as_me:3527: result: no, using $LN_S" >&5
4307 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4308   echo "${ECHO_T}no, using $LN_S" >&6
4309   fi
4310  
4311 < echo "$as_me:3531: checking whether ${MAKE-make} sets \${MAKE}" >&5
4312 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
4311 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4312 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4313   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
4314   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4315    echo $ECHO_N "(cached) $ECHO_C" >&6
4316   else
4317 <  cat >conftest.make <<\EOF
4317 >  cat >conftest.make <<\_ACEOF
4318   all:
4319 <        @echo 'ac_maketemp="${MAKE}"'
4320 < EOF
4319 >        @echo 'ac_maketemp="$(MAKE)"'
4320 > _ACEOF
4321   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4322   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4323   if test -n "$ac_maketemp"; then
# Line 3548 | Line 4328 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
4328   rm -f conftest.make
4329   fi
4330   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4331 <  echo "$as_me:3551: result: yes" >&5
4331 >  echo "$as_me:$LINENO: result: yes" >&5
4332   echo "${ECHO_T}yes" >&6
4333    SET_MAKE=
4334   else
4335 <  echo "$as_me:3555: result: no" >&5
4335 >  echo "$as_me:$LINENO: result: no" >&5
4336   echo "${ECHO_T}no" >&6
4337    SET_MAKE="MAKE=${MAKE-make}"
4338   fi
# Line 3560 | Line 4340 | echo "$as_me:3563: checking for $ac_word" >&5
4340   if test -n "$ac_tool_prefix"; then
4341    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4342   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4343 < echo "$as_me:3563: checking for $ac_word" >&5
4343 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4344   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4345   if test "${ac_cv_prog_RANLIB+set}" = set; then
4346    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3568 | Line 4348 | else
4348    if test -n "$RANLIB"; then
4349    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4350   else
4351 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4352 < ac_dummy="$PATH"
4353 < for ac_dir in $ac_dummy; do
4354 <  IFS=$ac_save_IFS
4355 <  test -z "$ac_dir" && ac_dir=.
4356 <  $as_executable_p "$ac_dir/$ac_word" || continue
4357 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4358 < echo "$as_me:3578: found $ac_dir/$ac_word" >&5
4359 < break
4351 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 > for as_dir in $PATH
4353 > do
4354 >  IFS=$as_save_IFS
4355 >  test -z "$as_dir" && as_dir=.
4356 >  for ac_exec_ext in '' $ac_executable_extensions; do
4357 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4358 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4359 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 >    break 2
4361 >  fi
4362   done
4363 + done
4364  
4365   fi
4366   fi
4367   RANLIB=$ac_cv_prog_RANLIB
4368   if test -n "$RANLIB"; then
4369 <  echo "$as_me:3586: result: $RANLIB" >&5
4369 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
4370   echo "${ECHO_T}$RANLIB" >&6
4371   else
4372 <  echo "$as_me:3589: result: no" >&5
4372 >  echo "$as_me:$LINENO: result: no" >&5
4373   echo "${ECHO_T}no" >&6
4374   fi
4375  
# Line 3595 | Line 4378 | echo "$as_me:3598: checking for $ac_word" >&5
4378    ac_ct_RANLIB=$RANLIB
4379    # Extract the first word of "ranlib", so it can be a program name with args.
4380   set dummy ranlib; ac_word=$2
4381 < echo "$as_me:3598: checking for $ac_word" >&5
4381 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4382   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4383   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4384    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3603 | Line 4386 | else
4386    if test -n "$ac_ct_RANLIB"; then
4387    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4388   else
4389 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4390 < ac_dummy="$PATH"
4391 < for ac_dir in $ac_dummy; do
4392 <  IFS=$ac_save_IFS
4393 <  test -z "$ac_dir" && ac_dir=.
4394 <  $as_executable_p "$ac_dir/$ac_word" || continue
4395 < ac_cv_prog_ac_ct_RANLIB="ranlib"
4396 < echo "$as_me:3613: found $ac_dir/$ac_word" >&5
4397 < break
4389 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390 > for as_dir in $PATH
4391 > do
4392 >  IFS=$as_save_IFS
4393 >  test -z "$as_dir" && as_dir=.
4394 >  for ac_exec_ext in '' $ac_executable_extensions; do
4395 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4396 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
4397 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 >    break 2
4399 >  fi
4400   done
4401 + done
4402  
4403    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4404   fi
4405   fi
4406   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4407   if test -n "$ac_ct_RANLIB"; then
4408 <  echo "$as_me:3622: result: $ac_ct_RANLIB" >&5
4408 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4409   echo "${ECHO_T}$ac_ct_RANLIB" >&6
4410   else
4411 <  echo "$as_me:3625: result: no" >&5
4411 >  echo "$as_me:$LINENO: result: no" >&5
4412   echo "${ECHO_T}no" >&6
4413   fi
4414  
# Line 3635 | Line 4421 | echo "$as_me:3638: checking for $ac_word" >&5
4421   do
4422    # Extract the first word of "$ac_prog", so it can be a program name with args.
4423   set dummy $ac_prog; ac_word=$2
4424 < echo "$as_me:3638: checking for $ac_word" >&5
4424 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4425   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4426   if test "${ac_cv_prog_YACC+set}" = set; then
4427    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3643 | Line 4429 | else
4429    if test -n "$YACC"; then
4430    ac_cv_prog_YACC="$YACC" # Let the user override the test.
4431   else
4432 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4433 < ac_dummy="$PATH"
4434 < for ac_dir in $ac_dummy; do
4435 <  IFS=$ac_save_IFS
4436 <  test -z "$ac_dir" && ac_dir=.
4437 <  $as_executable_p "$ac_dir/$ac_word" || continue
4438 < ac_cv_prog_YACC="$ac_prog"
4439 < echo "$as_me:3653: found $ac_dir/$ac_word" >&5
4440 < break
4432 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 > for as_dir in $PATH
4434 > do
4435 >  IFS=$as_save_IFS
4436 >  test -z "$as_dir" && as_dir=.
4437 >  for ac_exec_ext in '' $ac_executable_extensions; do
4438 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 >    ac_cv_prog_YACC="$ac_prog"
4440 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 >    break 2
4442 >  fi
4443   done
4444 + done
4445  
4446   fi
4447   fi
4448   YACC=$ac_cv_prog_YACC
4449   if test -n "$YACC"; then
4450 <  echo "$as_me:3661: result: $YACC" >&5
4450 >  echo "$as_me:$LINENO: result: $YACC" >&5
4451   echo "${ECHO_T}$YACC" >&6
4452   else
4453 <  echo "$as_me:3664: result: no" >&5
4453 >  echo "$as_me:$LINENO: result: no" >&5
4454   echo "${ECHO_T}no" >&6
4455   fi
4456  
# Line 3669 | Line 4458 | for ac_prog in flex lex
4458   done
4459   test -n "$YACC" || YACC="yacc"
4460  
4461 +
4462   for ac_prog in flex lex
4463   do
4464    # Extract the first word of "$ac_prog", so it can be a program name with args.
4465   set dummy $ac_prog; ac_word=$2
4466 < echo "$as_me:3676: checking for $ac_word" >&5
4466 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4467   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4468   if test "${ac_cv_prog_LEX+set}" = set; then
4469    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3681 | Line 4471 | else
4471    if test -n "$LEX"; then
4472    ac_cv_prog_LEX="$LEX" # Let the user override the test.
4473   else
4474 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4475 < ac_dummy="$PATH"
4476 < for ac_dir in $ac_dummy; do
4477 <  IFS=$ac_save_IFS
4478 <  test -z "$ac_dir" && ac_dir=.
4479 <  $as_executable_p "$ac_dir/$ac_word" || continue
4480 < ac_cv_prog_LEX="$ac_prog"
4481 < echo "$as_me:3691: found $ac_dir/$ac_word" >&5
4482 < break
4474 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 > for as_dir in $PATH
4476 > do
4477 >  IFS=$as_save_IFS
4478 >  test -z "$as_dir" && as_dir=.
4479 >  for ac_exec_ext in '' $ac_executable_extensions; do
4480 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481 >    ac_cv_prog_LEX="$ac_prog"
4482 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 >    break 2
4484 >  fi
4485   done
4486 + done
4487  
4488   fi
4489   fi
4490   LEX=$ac_cv_prog_LEX
4491   if test -n "$LEX"; then
4492 <  echo "$as_me:3699: result: $LEX" >&5
4492 >  echo "$as_me:$LINENO: result: $LEX" >&5
4493   echo "${ECHO_T}$LEX" >&6
4494   else
4495 <  echo "$as_me:3702: result: no" >&5
4495 >  echo "$as_me:$LINENO: result: no" >&5
4496   echo "${ECHO_T}no" >&6
4497   fi
4498  
# Line 3709 | Line 4502 | then
4502  
4503   if test -z "$LEXLIB"
4504   then
4505 <  echo "$as_me:3712: checking for yywrap in -lfl" >&5
4505 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4506   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4507   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4508    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3717 | Line 4510 | cat >conftest.$ac_ext <<_ACEOF
4510    ac_check_lib_save_LIBS=$LIBS
4511   LIBS="-lfl  $LIBS"
4512   cat >conftest.$ac_ext <<_ACEOF
4513 < #line 3720 "configure"
4514 < #include "confdefs.h"
4513 > #line $LINENO "configure"
4514 > /* confdefs.h.  */
4515 > _ACEOF
4516 > cat confdefs.h >>conftest.$ac_ext
4517 > cat >>conftest.$ac_ext <<_ACEOF
4518 > /* end confdefs.h.  */
4519  
4520   /* Override any gcc2 internal prototype to avoid an error.  */
4521   #ifdef __cplusplus
# Line 3736 | Line 4533 | if { (eval echo "$as_me:3739: \"$ac_link\"") >&5
4533   }
4534   _ACEOF
4535   rm -f conftest.$ac_objext conftest$ac_exeext
4536 < if { (eval echo "$as_me:3739: \"$ac_link\"") >&5
4536 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4537    (eval $ac_link) 2>&5
4538    ac_status=$?
4539 <  echo "$as_me:3742: \$? = $ac_status" >&5
4539 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540    (exit $ac_status); } &&
4541           { ac_try='test -s conftest$ac_exeext'
4542 <  { (eval echo "$as_me:3745: \"$ac_try\"") >&5
4542 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4543    (eval $ac_try) 2>&5
4544    ac_status=$?
4545 <  echo "$as_me:3748: \$? = $ac_status" >&5
4545 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546    (exit $ac_status); }; }; then
4547    ac_cv_lib_fl_yywrap=yes
4548   else
4549    echo "$as_me: failed program was:" >&5
4550 < cat conftest.$ac_ext >&5
4550 > sed 's/^/| /' conftest.$ac_ext >&5
4551 >
4552   ac_cv_lib_fl_yywrap=no
4553   fi
4554   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4555   LIBS=$ac_check_lib_save_LIBS
4556   fi
4557 < echo "$as_me:3759: result: $ac_cv_lib_fl_yywrap" >&5
4557 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4558   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4559   if test $ac_cv_lib_fl_yywrap = yes; then
4560    LEXLIB="-lfl"
4561   else
4562 <  echo "$as_me:3764: checking for yywrap in -ll" >&5
4562 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4563   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4564   if test "${ac_cv_lib_l_yywrap+set}" = set; then
4565    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3769 | Line 4567 | cat >conftest.$ac_ext <<_ACEOF
4567    ac_check_lib_save_LIBS=$LIBS
4568   LIBS="-ll  $LIBS"
4569   cat >conftest.$ac_ext <<_ACEOF
4570 < #line 3772 "configure"
4571 < #include "confdefs.h"
4570 > #line $LINENO "configure"
4571 > /* confdefs.h.  */
4572 > _ACEOF
4573 > cat confdefs.h >>conftest.$ac_ext
4574 > cat >>conftest.$ac_ext <<_ACEOF
4575 > /* end confdefs.h.  */
4576  
4577   /* Override any gcc2 internal prototype to avoid an error.  */
4578   #ifdef __cplusplus
# Line 3788 | Line 4590 | if { (eval echo "$as_me:3791: \"$ac_link\"") >&5
4590   }
4591   _ACEOF
4592   rm -f conftest.$ac_objext conftest$ac_exeext
4593 < if { (eval echo "$as_me:3791: \"$ac_link\"") >&5
4593 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4594    (eval $ac_link) 2>&5
4595    ac_status=$?
4596 <  echo "$as_me:3794: \$? = $ac_status" >&5
4596 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597    (exit $ac_status); } &&
4598           { ac_try='test -s conftest$ac_exeext'
4599 <  { (eval echo "$as_me:3797: \"$ac_try\"") >&5
4599 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600    (eval $ac_try) 2>&5
4601    ac_status=$?
4602 <  echo "$as_me:3800: \$? = $ac_status" >&5
4602 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603    (exit $ac_status); }; }; then
4604    ac_cv_lib_l_yywrap=yes
4605   else
4606    echo "$as_me: failed program was:" >&5
4607 < cat conftest.$ac_ext >&5
4607 > sed 's/^/| /' conftest.$ac_ext >&5
4608 >
4609   ac_cv_lib_l_yywrap=no
4610   fi
4611   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4612   LIBS=$ac_check_lib_save_LIBS
4613   fi
4614 < echo "$as_me:3811: result: $ac_cv_lib_l_yywrap" >&5
4614 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4615   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4616   if test $ac_cv_lib_l_yywrap = yes; then
4617    LEXLIB="-ll"
# Line 3819 | Line 4622 | if test "x$LEX" != "x:"; then
4622   fi
4623  
4624   if test "x$LEX" != "x:"; then
4625 <  echo "$as_me:3822: checking lex output file root" >&5
4625 >  echo "$as_me:$LINENO: checking lex output file root" >&5
4626   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4627   if test "${ac_cv_prog_lex_root+set}" = set; then
4628    echo $ECHO_N "(cached) $ECHO_C" >&6
4629   else
4630    # The minimal lex program is just a single line: %%.  But some broken lexes
4631   # (Solaris, I think it was) want two %% lines, so accommodate them.
4632 < echo '%%
4633 < %%' | $LEX
4632 > cat >conftest.l <<_ACEOF
4633 > %%
4634 > %%
4635 > _ACEOF
4636 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4637 >  (eval $LEX conftest.l) 2>&5
4638 >  ac_status=$?
4639 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 >  (exit $ac_status); }
4641   if test -f lex.yy.c; then
4642    ac_cv_prog_lex_root=lex.yy
4643   elif test -f lexyy.c; then
4644    ac_cv_prog_lex_root=lexyy
4645   else
4646 <  { { echo "$as_me:3836: error: cannot find output from $LEX; giving up" >&5
4646 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4647   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4648     { (exit 1); exit 1; }; }
4649   fi
4650   fi
4651 < echo "$as_me:3841: result: $ac_cv_prog_lex_root" >&5
4651 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4652   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4653 + rm -f conftest.l
4654   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4655  
4656 < echo "$as_me:3845: checking whether yytext is a pointer" >&5
4656 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4657   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4658   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4659    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3858 | Line 4669 | if { (eval echo "$as_me:3861: \"$ac_link\"") >&5
4669   `cat $LEX_OUTPUT_ROOT.c`
4670   _ACEOF
4671   rm -f conftest.$ac_objext conftest$ac_exeext
4672 < if { (eval echo "$as_me:3861: \"$ac_link\"") >&5
4672 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4673    (eval $ac_link) 2>&5
4674    ac_status=$?
4675 <  echo "$as_me:3864: \$? = $ac_status" >&5
4675 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676    (exit $ac_status); } &&
4677           { ac_try='test -s conftest$ac_exeext'
4678 <  { (eval echo "$as_me:3867: \"$ac_try\"") >&5
4678 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679    (eval $ac_try) 2>&5
4680    ac_status=$?
4681 <  echo "$as_me:3870: \$? = $ac_status" >&5
4681 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682    (exit $ac_status); }; }; then
4683    ac_cv_prog_lex_yytext_pointer=yes
4684   else
4685    echo "$as_me: failed program was:" >&5
4686 < cat conftest.$ac_ext >&5
4686 > sed 's/^/| /' conftest.$ac_ext >&5
4687 >
4688   fi
4689   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4690   LIBS=$ac_save_LIBS
4691   rm -f "${LEX_OUTPUT_ROOT}.c"
4692  
4693   fi
4694 < echo "$as_me:3882: result: $ac_cv_prog_lex_yytext_pointer" >&5
4694 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4695   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4696   if test $ac_cv_prog_lex_yytext_pointer = yes; then
4697  
4698 < cat >>confdefs.h <<\EOF
4698 > cat >>confdefs.h <<\_ACEOF
4699   #define YYTEXT_POINTER 1
4700 < EOF
4700 > _ACEOF
4701  
4702   fi
4703  
4704   fi
4705   # Extract the first word of "ar", so it can be a program name with args.
4706   set dummy ar; ac_word=$2
4707 < echo "$as_me:3895: checking for $ac_word" >&5
4707 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4708   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4709   if test "${ac_cv_prog_AR+set}" = set; then
4710    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3900 | Line 4712 | else
4712    if test -n "$AR"; then
4713    ac_cv_prog_AR="$AR" # Let the user override the test.
4714   else
4715 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4716 < ac_dummy="$PATH"
4717 < for ac_dir in $ac_dummy; do
4718 <  IFS=$ac_save_IFS
4719 <  test -z "$ac_dir" && ac_dir=.
4720 <  $as_executable_p "$ac_dir/$ac_word" || continue
4721 < ac_cv_prog_AR="ar"
4722 < echo "$as_me:3910: found $ac_dir/$ac_word" >&5
4723 < break
4715 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 > for as_dir in $PATH
4717 > do
4718 >  IFS=$as_save_IFS
4719 >  test -z "$as_dir" && as_dir=.
4720 >  for ac_exec_ext in '' $ac_executable_extensions; do
4721 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4722 >    ac_cv_prog_AR="ar"
4723 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 >    break 2
4725 >  fi
4726   done
4727 + done
4728  
4729    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
4730   fi
4731   fi
4732   AR=$ac_cv_prog_AR
4733   if test -n "$AR"; then
4734 <  echo "$as_me:3919: result: $AR" >&5
4734 >  echo "$as_me:$LINENO: result: $AR" >&5
4735   echo "${ECHO_T}$AR" >&6
4736   else
4737 <  echo "$as_me:3922: result: no" >&5
4737 >  echo "$as_me:$LINENO: result: no" >&5
4738   echo "${ECHO_T}no" >&6
4739   fi
4740  
4741   if test "$AR" = "NONE"; then
4742 <  { { echo "$as_me:3927: error: --> Can't find \`ar'!" >&5
4742 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
4743   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
4744     { (exit 1); exit 1; }; }
4745    cat >confcache <<\_ACEOF
# Line 3937 | Line 4752 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
4752   # config.status only pays attention to the cache file if you give it
4753   # the --recheck option to rerun configure.
4754   #
4755 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
4755 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
4756   # loading this file, other *unset* `ac_cv_foo' will be assigned the
4757   # following values.
4758  
# Line 3956 | Line 4771 | _ACEOF
4771        # substitution turns \\\\ into \\, and sed turns \\ into \).
4772        sed -n \
4773          "s/'/'\\\\''/g;
4774 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4774 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4775        ;;
4776      *)
4777        # `set' quotes correctly as required by POSIX, so do not add quotes.
4778        sed -n \
4779 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4779 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4780        ;;
4781      esac;
4782   } |
# Line 3972 | Line 4787 | if cmp -s $cache_file confcache; then :; else
4787       t end
4788       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4789       : end' >>confcache
4790 < if cmp -s $cache_file confcache; then :; else
4790 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
4791    if test -w $cache_file; then
4792      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4793      cat confcache >$cache_file
# Line 3989 | Line 4804 | ac_ext=f90
4804   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4805   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4806  
4807 +
4808 +
4809   ac_ext=f90
4810   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4811   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4812   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4813 < echo "$as_me:3996: checking how to get verbose linking output from $F90" >&5
4813 > echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
4814   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
4815   if test "${ac_cv_prog_f90_v+set}" = set; then
4816    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4003 | Line 4820 | end program main
4820  
4821   program main
4822  
4823 +
4824   end program main
4825  
4826   _ACEOF
4827   rm -f conftest.$ac_objext
4828 < if { (eval echo "$as_me:4010: \"$ac_compile\"") >&5
4828 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829    (eval $ac_compile) 2>&5
4830    ac_status=$?
4831 <  echo "$as_me:4013: \$? = $ac_status" >&5
4831 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832    (exit $ac_status); } &&
4833           { ac_try='test -s conftest.$ac_objext'
4834 <  { (eval echo "$as_me:4016: \"$ac_try\"") >&5
4834 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835    (eval $ac_try) 2>&5
4836    ac_status=$?
4837 <  echo "$as_me:4019: \$? = $ac_status" >&5
4837 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838    (exit $ac_status); }; }; then
4839    ac_cv_prog_f90_v=
4840   # Try some options frequently used verbose output
# Line 4030 | Line 4848 | end program main
4848  
4849   program main
4850  
4851 +
4852   end program main
4853  
4854   _ACEOF
# Line 4041 | Line 4860 | F90FLAGS="$F90FLAGS $ac_verb"
4860   ac_save_F90FLAGS=$F90FLAGS
4861   F90FLAGS="$F90FLAGS $ac_verb"
4862  
4863 < (eval echo $as_me:4044: \"$ac_link\") >&5
4863 > (eval echo $as_me:4863: \"$ac_link\") >&5
4864   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4865   echo "$ac_f90_v_output" >&5
4866   F90FLAGS=$ac_save_F90FLAGS
# Line 4073 | Line 4892 | if test -z "$ac_cv_prog_f90_v"; then
4892    done
4893   done
4894   if test -z "$ac_cv_prog_f90_v"; then
4895 <   { echo "$as_me:4076: WARNING: cannot determine how to obtain linking information from $F90" >&5
4895 >   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
4896   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
4897   fi
4898   else
4899    echo "$as_me: failed program was:" >&5
4900 < cat conftest.$ac_ext >&5
4901 < { echo "$as_me:4082: WARNING: compilation failed" >&5
4900 > sed 's/^/| /' conftest.$ac_ext >&5
4901 >
4902 > { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
4903   echo "$as_me: WARNING: compilation failed" >&2;}
4904   fi
4905   rm -f conftest.$ac_objext conftest.$ac_ext
4906  
4907   fi
4908 < echo "$as_me:4088: result: $ac_cv_prog_f90_v" >&5
4908 > echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
4909   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
4910 < echo "$as_me:4090: checking for Fortran 90 libraries" >&5
4910 > echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
4911   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
4912   if test "${ac_cv_flibs+set}" = set; then
4913    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4105 | Line 4925 | end program main
4925  
4926   program main
4927  
4928 +
4929   end program main
4930  
4931   _ACEOF
# Line 4116 | Line 4937 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4937   ac_save_F90FLAGS=$F90FLAGS
4938   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4939  
4940 < (eval echo $as_me:4119: \"$ac_link\") >&5
4940 > (eval echo $as_me:4940: \"$ac_link\") >&5
4941   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4942   echo "$ac_f90_v_output" >&5
4943   F90FLAGS=$ac_save_F90FLAGS
# Line 4269 | Line 5090 | echo "$as_me:4272: result: $ac_cv_flibs" >&5
5090   fi # test "x$F90LIBS" = "x"
5091  
5092   fi
5093 < echo "$as_me:4272: result: $ac_cv_flibs" >&5
5093 > echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
5094   echo "${ECHO_T}$ac_cv_flibs" >&6
5095   F90LIBS="$ac_cv_f90libs"
5096  
# Line 4278 | Line 5099 | echo "$as_me:4281: checking for Fortran 90 name-mangli
5099   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5100   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5101  
5102 < echo "$as_me:4281: checking for Fortran 90 name-mangling scheme" >&5
5102 > echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
5103   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
5104   if test "${ac_cv_f90_mangling+set}" = set; then
5105    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4296 | Line 5117 | if { (eval echo "$as_me:4299: \"$ac_compile\"") >&5
5117   end
5118   _ACEOF
5119   rm -f conftest.$ac_objext
5120 < if { (eval echo "$as_me:4299: \"$ac_compile\"") >&5
5120 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5121    (eval $ac_compile) 2>&5
5122    ac_status=$?
5123 <  echo "$as_me:4302: \$? = $ac_status" >&5
5123 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124    (exit $ac_status); } &&
5125           { ac_try='test -s conftest.$ac_objext'
5126 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
5126 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127    (eval $ac_try) 2>&5
5128    ac_status=$?
5129 <  echo "$as_me:4308: \$? = $ac_status" >&5
5129 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130    (exit $ac_status); }; }; then
5131    mv conftest.$ac_objext cf90_test.$ac_objext
5132  
# Line 4323 | Line 5144 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5144      for ac_underscore in "" "_"; do
5145        ac_func="$ac_foobar$ac_underscore"
5146        cat >conftest.$ac_ext <<_ACEOF
5147 < #line 4326 "configure"
5148 < #include "confdefs.h"
5147 > #line $LINENO "configure"
5148 > /* confdefs.h.  */
5149 > _ACEOF
5150 > cat confdefs.h >>conftest.$ac_ext
5151 > cat >>conftest.$ac_ext <<_ACEOF
5152 > /* end confdefs.h.  */
5153  
5154   /* Override any gcc2 internal prototype to avoid an error.  */
5155   #ifdef __cplusplus
# Line 4342 | Line 5167 | if { (eval echo "$as_me:4345: \"$ac_link\"") >&5
5167   }
5168   _ACEOF
5169   rm -f conftest.$ac_objext conftest$ac_exeext
5170 < if { (eval echo "$as_me:4345: \"$ac_link\"") >&5
5170 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5171    (eval $ac_link) 2>&5
5172    ac_status=$?
5173 <  echo "$as_me:4348: \$? = $ac_status" >&5
5173 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174    (exit $ac_status); } &&
5175           { ac_try='test -s conftest$ac_exeext'
5176 <  { (eval echo "$as_me:4351: \"$ac_try\"") >&5
5176 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5177    (eval $ac_try) 2>&5
5178    ac_status=$?
5179 <  echo "$as_me:4354: \$? = $ac_status" >&5
5179 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180    (exit $ac_status); }; }; then
5181    ac_success=yes; break 2
5182   else
5183    echo "$as_me: failed program was:" >&5
5184 < cat conftest.$ac_ext >&5
5184 > sed 's/^/| /' conftest.$ac_ext >&5
5185 >
5186   fi
5187   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5188      done
# Line 4379 | Line 5205 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
5205          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
5206  
5207          cat >conftest.$ac_ext <<_ACEOF
5208 < #line 4382 "configure"
5209 < #include "confdefs.h"
5208 > #line $LINENO "configure"
5209 > /* confdefs.h.  */
5210 > _ACEOF
5211 > cat confdefs.h >>conftest.$ac_ext
5212 > cat >>conftest.$ac_ext <<_ACEOF
5213 > /* end confdefs.h.  */
5214  
5215   /* Override any gcc2 internal prototype to avoid an error.  */
5216   #ifdef __cplusplus
# Line 4398 | Line 5228 | if { (eval echo "$as_me:4401: \"$ac_link\"") >&5
5228   }
5229   _ACEOF
5230   rm -f conftest.$ac_objext conftest$ac_exeext
5231 < if { (eval echo "$as_me:4401: \"$ac_link\"") >&5
5231 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5232    (eval $ac_link) 2>&5
5233    ac_status=$?
5234 <  echo "$as_me:4404: \$? = $ac_status" >&5
5234 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235    (exit $ac_status); } &&
5236           { ac_try='test -s conftest$ac_exeext'
5237 <  { (eval echo "$as_me:4407: \"$ac_try\"") >&5
5237 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5238    (eval $ac_try) 2>&5
5239    ac_status=$?
5240 <  echo "$as_me:4410: \$? = $ac_status" >&5
5240 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241    (exit $ac_status); }; }; then
5242    ac_success_extra=yes; break
5243   else
5244    echo "$as_me: failed program was:" >&5
5245 < cat conftest.$ac_ext >&5
5245 > sed 's/^/| /' conftest.$ac_ext >&5
5246 >
5247   fi
5248   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5249       done
# Line 4446 | Line 5277 | cat conftest.$ac_ext >&5
5277    rm -f cf90_test* conftest*
5278   else
5279    echo "$as_me: failed program was:" >&5
5280 < cat conftest.$ac_ext >&5
5280 > sed 's/^/| /' conftest.$ac_ext >&5
5281 >
5282   fi
5283   rm -f conftest.$ac_objext conftest.$ac_ext
5284   ac_ext=f90
# Line 4455 | Line 5287 | echo "$as_me:4458: result: $ac_cv_f90_mangling" >&5
5287   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5288  
5289   fi
5290 < echo "$as_me:4458: result: $ac_cv_f90_mangling" >&5
5290 > echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
5291   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
5292  
5293 +
5294 +
5295   case $ac_cv_f90_mangling in
5296    "lower case, no underscore, no extra underscore")
5297 <          cat >>confdefs.h <<\EOF
5297 >          cat >>confdefs.h <<\_ACEOF
5298   #define F90_FUNC(name,NAME) name
5299 < EOF
5299 > _ACEOF
5300  
5301 <          cat >>confdefs.h <<\EOF
5301 >          cat >>confdefs.h <<\_ACEOF
5302   #define F90_FUNC_(name,NAME) name
5303 < EOF
5303 > _ACEOF
5304   ;;
5305    "lower case, no underscore, extra underscore")
5306 <          cat >>confdefs.h <<\EOF
5306 >          cat >>confdefs.h <<\_ACEOF
5307   #define F90_FUNC(name,NAME) name
5308 < EOF
5308 > _ACEOF
5309  
5310 <          cat >>confdefs.h <<\EOF
5310 >          cat >>confdefs.h <<\_ACEOF
5311   #define F90_FUNC_(name,NAME) name ## _
5312 < EOF
5312 > _ACEOF
5313   ;;
5314    "lower case, underscore, no extra underscore")
5315 <          cat >>confdefs.h <<\EOF
5315 >          cat >>confdefs.h <<\_ACEOF
5316   #define F90_FUNC(name,NAME) name ## _
5317 < EOF
5317 > _ACEOF
5318  
5319 <          cat >>confdefs.h <<\EOF
5319 >          cat >>confdefs.h <<\_ACEOF
5320   #define F90_FUNC_(name,NAME) name ## _
5321 < EOF
5321 > _ACEOF
5322   ;;
5323    "lower case, underscore, extra underscore")
5324 <          cat >>confdefs.h <<\EOF
5324 >          cat >>confdefs.h <<\_ACEOF
5325   #define F90_FUNC(name,NAME) name ## _
5326 < EOF
5326 > _ACEOF
5327  
5328 <          cat >>confdefs.h <<\EOF
5328 >          cat >>confdefs.h <<\_ACEOF
5329   #define F90_FUNC_(name,NAME) name ## __
5330 < EOF
5330 > _ACEOF
5331   ;;
5332    "upper case, no underscore, no extra underscore")
5333 <          cat >>confdefs.h <<\EOF
5333 >          cat >>confdefs.h <<\_ACEOF
5334   #define F90_FUNC(name,NAME) NAME
5335 < EOF
5335 > _ACEOF
5336  
5337 <          cat >>confdefs.h <<\EOF
5337 >          cat >>confdefs.h <<\_ACEOF
5338   #define F90_FUNC_(name,NAME) NAME
5339 < EOF
5339 > _ACEOF
5340   ;;
5341    "upper case, no underscore, extra underscore")
5342 <          cat >>confdefs.h <<\EOF
5342 >          cat >>confdefs.h <<\_ACEOF
5343   #define F90_FUNC(name,NAME) NAME
5344 < EOF
5344 > _ACEOF
5345  
5346 <          cat >>confdefs.h <<\EOF
5346 >          cat >>confdefs.h <<\_ACEOF
5347   #define F90_FUNC_(name,NAME) NAME ## _
5348 < EOF
5348 > _ACEOF
5349   ;;
5350    "upper case, underscore, no extra underscore")
5351 <          cat >>confdefs.h <<\EOF
5351 >          cat >>confdefs.h <<\_ACEOF
5352   #define F90_FUNC(name,NAME) NAME ## _
5353 < EOF
5353 > _ACEOF
5354  
5355 <          cat >>confdefs.h <<\EOF
5355 >          cat >>confdefs.h <<\_ACEOF
5356   #define F90_FUNC_(name,NAME) NAME ## _
5357 < EOF
5357 > _ACEOF
5358   ;;
5359    "upper case, underscore, extra underscore")
5360 <          cat >>confdefs.h <<\EOF
5360 >          cat >>confdefs.h <<\_ACEOF
5361   #define F90_FUNC(name,NAME) NAME ## _
5362 < EOF
5362 > _ACEOF
5363  
5364 <          cat >>confdefs.h <<\EOF
5364 >          cat >>confdefs.h <<\_ACEOF
5365   #define F90_FUNC_(name,NAME) NAME ## __
5366 < EOF
5366 > _ACEOF
5367   ;;
5368    *)
5369 <          { echo "$as_me:4535: WARNING: unknown Fortran 90 name-mangling scheme" >&5
5369 >          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
5370   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
5371            ;;
5372   esac
5373  
5374 < echo "$as_me:4540: checking for mpi-directory" >&5
5374 >
5375 >
5376 >
5377 > echo "$as_me:$LINENO: checking for mpi-directory" >&5
5378   echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6
5379  
5380   # Check whether --with-mpi_dir or --without-mpi_dir was given.
# Line 4547 | Line 5384 | echo "$as_me:4550: result: $MPI_DIR" >&5
5384   else
5385    MPI_DIR="/usr/local"
5386   fi;
5387 < echo "$as_me:4550: result: $MPI_DIR" >&5
5387 > echo "$as_me:$LINENO: result: $MPI_DIR" >&5
5388   echo "${ECHO_T}$MPI_DIR" >&6
5389  
5390 < echo "$as_me:4553: checking for mpi-lib-directory" >&5
5390 >
5391 > echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5
5392   echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6
5393  
5394   # Check whether --with-mpi_libdir or --without-mpi_libdir was given.
# Line 4560 | Line 5398 | echo "$as_me:4563: result: $MPI_LIBDIR" >&5
5398   else
5399    MPI_LIBDIR="$MPI_DIR/lib"
5400   fi;
5401 < echo "$as_me:4563: result: $MPI_LIBDIR" >&5
5401 > echo "$as_me:$LINENO: result: $MPI_LIBDIR" >&5
5402   echo "${ECHO_T}$MPI_LIBDIR" >&6
5403  
5404 < echo "$as_me:4566: checking for mpi-inc-directory" >&5
5404 >
5405 > echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5
5406   echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6
5407  
5408   # Check whether --with-mpi_inc or --without-mpi_inc was given.
# Line 4573 | Line 5412 | echo "$as_me:4576: result: $MPI_INC" >&5
5412   else
5413    MPI_INC="$MPI_DIR/include"
5414   fi;
5415 < echo "$as_me:4576: result: $MPI_INC" >&5
5415 > echo "$as_me:$LINENO: result: $MPI_INC" >&5
5416   echo "${ECHO_T}$MPI_INC" >&6
5417  
5418 < echo "$as_me:4579: checking for MPI library" >&5
5418 >
5419 >
5420 > echo "$as_me:$LINENO: checking for MPI library" >&5
5421   echo $ECHO_N "checking for MPI library... $ECHO_C" >&6
5422   MPI_LIB=""
5423   case "$host" in
5424    *-ibm-aix*)
5425 <    echo "$as_me:4584: checking whether to use signal-based MPI library" >&5
5425 >    echo "$as_me:$LINENO: checking whether to use signal-based MPI library" >&5
5426   echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6
5427 <    echo "$as_me:4586: result: $PACX_SIGNAL" >&5
5427 >    echo "$as_me:$LINENO: result: $PACX_SIGNAL" >&5
5428   echo "${ECHO_T}$PACX_SIGNAL" >&6
5429      if test "x$PACX_SIGNAL" = "xyes" ; then
5430        if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 4593 | Line 5434 | echo "${ECHO_T}$PACX_SIGNAL" >&6
5434        elif test -f "$MPI_LIBDIR/libmpich.a" ; then
5435          MPI_LIB="-lmpich"
5436        else
5437 <        { { echo "$as_me:4596: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5437 >        { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5438   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5439     { (exit 1); exit 1; }; }
5440        fi
# Line 4601 | Line 5442 | echo "$as_me: error: neither libmpi nor libmpich found
5442        if test -f "$MPI_LIBDIR/libmpi_r.a" ; then
5443           MPI_LIB="-lmpi_r"
5444        else
5445 <         { { echo "$as_me:4604: error: libmpi_r not found; check path for MPI package..." >&5
5445 >         { { echo "$as_me:$LINENO: error: libmpi_r not found; check path for MPI package..." >&5
5446   echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;}
5447     { (exit 1); exit 1; }; }
5448        fi
5449      fi
5450 <    echo "$as_me:4609: result: found $MPI_LIB" >&5
5450 >    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5451   echo "${ECHO_T}found $MPI_LIB" >&6
5452    ;;
5453    *)                             if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 4616 | Line 5457 | echo "${ECHO_T}found $MPI_LIB" >&6
5457      elif test -f "$MPI_LIBDIR/libmpich.a" ; then
5458        MPI_LIB="-lmpich"
5459      else
5460 <      { { echo "$as_me:4619: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5460 >      { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5461   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5462     { (exit 1); exit 1; }; }
5463      fi
5464 <    echo "$as_me:4623: result: found $MPI_LIB" >&5
5464 >    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5465   echo "${ECHO_T}found $MPI_LIB" >&6
5466    ;;
5467   esac
5468  
5469 +
5470 +
5471 +
5472 +
5473 +
5474 +
5475          for ac_prog in mpif90 hf90 mpxlf90 mpf90 mpxlf95 mpxlf_r
5476   do
5477    # Extract the first word of "$ac_prog", so it can be a program name with args.
5478   set dummy $ac_prog; ac_word=$2
5479 < echo "$as_me:4632: checking for $ac_word" >&5
5479 > echo "$as_me:$LINENO: checking for $ac_word" >&5
5480   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5481   if test "${ac_cv_prog_MPIF90+set}" = set; then
5482    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4637 | Line 5484 | else
5484    if test -n "$MPIF90"; then
5485    ac_cv_prog_MPIF90="$MPIF90" # Let the user override the test.
5486   else
5487 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
5488 < ac_dummy="$PATH"
5489 < for ac_dir in $ac_dummy; do
5490 <  IFS=$ac_save_IFS
5491 <  test -z "$ac_dir" && ac_dir=.
5492 <  $as_executable_p "$ac_dir/$ac_word" || continue
5493 < ac_cv_prog_MPIF90="$ac_prog"
5494 < echo "$as_me:4647: found $ac_dir/$ac_word" >&5
5495 < break
5487 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 > for as_dir in $PATH
5489 > do
5490 >  IFS=$as_save_IFS
5491 >  test -z "$as_dir" && as_dir=.
5492 >  for ac_exec_ext in '' $ac_executable_extensions; do
5493 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 >    ac_cv_prog_MPIF90="$ac_prog"
5495 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 >    break 2
5497 >  fi
5498   done
5499 + done
5500  
5501   fi
5502   fi
5503   MPIF90=$ac_cv_prog_MPIF90
5504   if test -n "$MPIF90"; then
5505 <  echo "$as_me:4655: result: $MPIF90" >&5
5505 >  echo "$as_me:$LINENO: result: $MPIF90" >&5
5506   echo "${ECHO_T}$MPIF90" >&6
5507   else
5508 <  echo "$as_me:4658: result: no" >&5
5508 >  echo "$as_me:$LINENO: result: no" >&5
5509   echo "${ECHO_T}no" >&6
5510   fi
5511  
# Line 4666 | Line 5516 | if test x = x"$MPILIBS"; then
5516          acx_mpi_save_F90="$F90"
5517          F90="$MPIF90"
5518  
5519 +
5520 +
5521   if test x = x"$MPILIBS"; then
5522 <        echo "$as_me:4670: checking for MPI_Init" >&5
5522 >        echo "$as_me:$LINENO: checking for MPI_Init" >&5
5523   echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6
5524                          cat >conftest.$ac_ext <<_ACEOF
5525  
# Line 4678 | Line 5530 | if { (eval echo "$as_me:4681: \"$ac_link\"") >&5
5530  
5531   _ACEOF
5532   rm -f conftest.$ac_objext conftest$ac_exeext
5533 < if { (eval echo "$as_me:4681: \"$ac_link\"") >&5
5533 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5534    (eval $ac_link) 2>&5
5535    ac_status=$?
5536 <  echo "$as_me:4684: \$? = $ac_status" >&5
5536 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537    (exit $ac_status); } &&
5538           { ac_try='test -s conftest$ac_exeext'
5539 <  { (eval echo "$as_me:4687: \"$ac_try\"") >&5
5539 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5540    (eval $ac_try) 2>&5
5541    ac_status=$?
5542 <  echo "$as_me:4690: \$? = $ac_status" >&5
5542 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543    (exit $ac_status); }; }; then
5544    MPILIBS=" "
5545 <                                echo "$as_me:4693: result: yes" >&5
5545 >                                echo "$as_me:$LINENO: result: yes" >&5
5546   echo "${ECHO_T}yes" >&6
5547   else
5548    echo "$as_me: failed program was:" >&5
5549 < cat conftest.$ac_ext >&5
5550 < echo "$as_me:4698: result: no" >&5
5549 > sed 's/^/| /' conftest.$ac_ext >&5
5550 >
5551 > echo "$as_me:$LINENO: result: no" >&5
5552   echo "${ECHO_T}no" >&6
5553   fi
5554   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5555   fi
5556   if test x = x"$MPILIBS"; then
5557 <        echo "$as_me:4704: checking for MPI_Init in -lmpi" >&5
5557 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5558   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5559   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5560    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4717 | Line 5570 | if { (eval echo "$as_me:4720: \"$ac_link\"") >&5
5570  
5571   _ACEOF
5572   rm -f conftest.$ac_objext conftest$ac_exeext
5573 < if { (eval echo "$as_me:4720: \"$ac_link\"") >&5
5573 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5574    (eval $ac_link) 2>&5
5575    ac_status=$?
5576 <  echo "$as_me:4723: \$? = $ac_status" >&5
5576 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577    (exit $ac_status); } &&
5578           { ac_try='test -s conftest$ac_exeext'
5579 <  { (eval echo "$as_me:4726: \"$ac_try\"") >&5
5579 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5580    (eval $ac_try) 2>&5
5581    ac_status=$?
5582 <  echo "$as_me:4729: \$? = $ac_status" >&5
5582 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583    (exit $ac_status); }; }; then
5584    ac_cv_lib_mpi_MPI_Init=yes
5585   else
5586    echo "$as_me: failed program was:" >&5
5587 < cat conftest.$ac_ext >&5
5587 > sed 's/^/| /' conftest.$ac_ext >&5
5588 >
5589   ac_cv_lib_mpi_MPI_Init=no
5590   fi
5591   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5592   LIBS=$ac_check_lib_save_LIBS
5593   fi
5594 < echo "$as_me:4740: result: $ac_cv_lib_mpi_MPI_Init" >&5
5594 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5595   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5596   if test $ac_cv_lib_mpi_MPI_Init = yes; then
5597    MPILIBS="-lmpi"
# Line 4745 | Line 5599 | if test x = x"$MPILIBS"; then
5599  
5600   fi
5601   if test x = x"$MPILIBS"; then
5602 <        echo "$as_me:4748: checking for MPI_Init in -lmpich" >&5
5602 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
5603   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
5604   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
5605    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4761 | Line 5615 | if { (eval echo "$as_me:4764: \"$ac_link\"") >&5
5615  
5616   _ACEOF
5617   rm -f conftest.$ac_objext conftest$ac_exeext
5618 < if { (eval echo "$as_me:4764: \"$ac_link\"") >&5
5618 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5619    (eval $ac_link) 2>&5
5620    ac_status=$?
5621 <  echo "$as_me:4767: \$? = $ac_status" >&5
5621 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622    (exit $ac_status); } &&
5623           { ac_try='test -s conftest$ac_exeext'
5624 <  { (eval echo "$as_me:4770: \"$ac_try\"") >&5
5624 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625    (eval $ac_try) 2>&5
5626    ac_status=$?
5627 <  echo "$as_me:4773: \$? = $ac_status" >&5
5627 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628    (exit $ac_status); }; }; then
5629    ac_cv_lib_mpich_MPI_Init=yes
5630   else
5631    echo "$as_me: failed program was:" >&5
5632 < cat conftest.$ac_ext >&5
5632 > sed 's/^/| /' conftest.$ac_ext >&5
5633 >
5634   ac_cv_lib_mpich_MPI_Init=no
5635   fi
5636   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5637   LIBS=$ac_check_lib_save_LIBS
5638   fi
5639 < echo "$as_me:4784: result: $ac_cv_lib_mpich_MPI_Init" >&5
5639 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
5640   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
5641   if test $ac_cv_lib_mpich_MPI_Init = yes; then
5642    MPILIBS="-lmpich"
# Line 4789 | Line 5644 | F90="$acx_mpi_save_F90"
5644  
5645   fi
5646  
5647 +
5648 +
5649   F90="$acx_mpi_save_F90"
5650  
5651 +
5652 +
5653   # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
5654   if test x = x"$MPILIBS"; then
5655  
5656          :
5657   else
5658  
5659 < cat >>confdefs.h <<\EOF
5659 > cat >>confdefs.h <<\_ACEOF
5660   #define HAVE_MPI 1
5661 < EOF
5661 > _ACEOF
5662  
5663          :
5664   fi
5665  
5666 +
5667   ac_ext=c
5668   ac_cpp='$CPP $CPPFLAGS'
5669   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5670   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5671   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5672 < echo "$as_me:4812: checking how to run the C preprocessor" >&5
5672 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5673   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5674   # On Suns, sometimes $CPP names a directory.
5675   if test -n "$CPP" && test -d "$CPP"; then
# Line 4822 | Line 5682 | else
5682        # Double quotes because CPP needs to be expanded
5683      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5684      do
4825      # break 2 since there is a loop in there.
5685        ac_preproc_ok=false
5686   for ac_c_preproc_warn_flag in '' yes
5687   do
5688    # Use a header file that comes with gcc, so configuring glibc
5689    # with a fresh cross-compiler works.
5690 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5691 +  # <limits.h> exists even on freestanding compilers.
5692    # On the NeXT, cc -E runs the code through the compiler's parser,
5693    # not just through cpp. "Syntax error" is here to catch this case.
5694    cat >conftest.$ac_ext <<_ACEOF
5695 < #line 4834 "configure"
5696 < #include "confdefs.h"
5697 < #include <assert.h>
5695 > #line $LINENO "configure"
5696 > /* confdefs.h.  */
5697 > _ACEOF
5698 > cat confdefs.h >>conftest.$ac_ext
5699 > cat >>conftest.$ac_ext <<_ACEOF
5700 > /* end confdefs.h.  */
5701 > #ifdef __STDC__
5702 > # include <limits.h>
5703 > #else
5704 > # include <assert.h>
5705 > #endif
5706                       Syntax error
5707   _ACEOF
5708 < if { (eval echo "$as_me:4839: \"$ac_cpp conftest.$ac_ext\"") >&5
5708 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5709    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5710    ac_status=$?
5711 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5711 >  grep -v '^ *+' conftest.er1 >conftest.err
5712    rm -f conftest.er1
5713    cat conftest.err >&5
5714 <  echo "$as_me:4845: \$? = $ac_status" >&5
5714 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715    (exit $ac_status); } >/dev/null; then
5716    if test -s conftest.err; then
5717      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4856 | Line 5725 | else
5725    :
5726   else
5727    echo "$as_me: failed program was:" >&5
5728 <  cat conftest.$ac_ext >&5
5728 > sed 's/^/| /' conftest.$ac_ext >&5
5729 >
5730    # Broken: fails on valid input.
5731   continue
5732   fi
# Line 4865 | Line 5735 | rm -f conftest.err conftest.$ac_ext
5735    # OK, works on sane cases.  Now check whether non-existent headers
5736    # can be detected and how.
5737    cat >conftest.$ac_ext <<_ACEOF
5738 < #line 4868 "configure"
5739 < #include "confdefs.h"
5738 > #line $LINENO "configure"
5739 > /* confdefs.h.  */
5740 > _ACEOF
5741 > cat confdefs.h >>conftest.$ac_ext
5742 > cat >>conftest.$ac_ext <<_ACEOF
5743 > /* end confdefs.h.  */
5744   #include <ac_nonexistent.h>
5745   _ACEOF
5746 < if { (eval echo "$as_me:4872: \"$ac_cpp conftest.$ac_ext\"") >&5
5746 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5747    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5748    ac_status=$?
5749 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5749 >  grep -v '^ *+' conftest.er1 >conftest.err
5750    rm -f conftest.er1
5751    cat conftest.err >&5
5752 <  echo "$as_me:4878: \$? = $ac_status" >&5
5752 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753    (exit $ac_status); } >/dev/null; then
5754    if test -s conftest.err; then
5755      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4890 | Line 5764 | else
5764   continue
5765   else
5766    echo "$as_me: failed program was:" >&5
5767 <  cat conftest.$ac_ext >&5
5767 > sed 's/^/| /' conftest.$ac_ext >&5
5768 >
5769    # Passes both tests.
5770   ac_preproc_ok=:
5771   break
# Line 4901 | Line 5776 | if $ac_preproc_ok; then
5776   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5777   rm -f conftest.err conftest.$ac_ext
5778   if $ac_preproc_ok; then
5779 <  break 2
5779 >  break
5780   fi
5781  
5782      done
# Line 4912 | Line 5787 | echo "$as_me:4915: result: $CPP" >&5
5787   else
5788    ac_cv_prog_CPP=$CPP
5789   fi
5790 < echo "$as_me:4915: result: $CPP" >&5
5790 > echo "$as_me:$LINENO: result: $CPP" >&5
5791   echo "${ECHO_T}$CPP" >&6
5792   ac_preproc_ok=false
5793   for ac_c_preproc_warn_flag in '' yes
5794   do
5795    # Use a header file that comes with gcc, so configuring glibc
5796    # with a fresh cross-compiler works.
5797 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5798 +  # <limits.h> exists even on freestanding compilers.
5799    # On the NeXT, cc -E runs the code through the compiler's parser,
5800    # not just through cpp. "Syntax error" is here to catch this case.
5801    cat >conftest.$ac_ext <<_ACEOF
5802 < #line 4925 "configure"
5803 < #include "confdefs.h"
5804 < #include <assert.h>
5802 > #line $LINENO "configure"
5803 > /* confdefs.h.  */
5804 > _ACEOF
5805 > cat confdefs.h >>conftest.$ac_ext
5806 > cat >>conftest.$ac_ext <<_ACEOF
5807 > /* end confdefs.h.  */
5808 > #ifdef __STDC__
5809 > # include <limits.h>
5810 > #else
5811 > # include <assert.h>
5812 > #endif
5813                       Syntax error
5814   _ACEOF
5815 < if { (eval echo "$as_me:4930: \"$ac_cpp conftest.$ac_ext\"") >&5
5815 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5816    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5817    ac_status=$?
5818 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5818 >  grep -v '^ *+' conftest.er1 >conftest.err
5819    rm -f conftest.er1
5820    cat conftest.err >&5
5821 <  echo "$as_me:4936: \$? = $ac_status" >&5
5821 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822    (exit $ac_status); } >/dev/null; then
5823    if test -s conftest.err; then
5824      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4947 | Line 5832 | else
5832    :
5833   else
5834    echo "$as_me: failed program was:" >&5
5835 <  cat conftest.$ac_ext >&5
5835 > sed 's/^/| /' conftest.$ac_ext >&5
5836 >
5837    # Broken: fails on valid input.
5838   continue
5839   fi
# Line 4956 | Line 5842 | rm -f conftest.err conftest.$ac_ext
5842    # OK, works on sane cases.  Now check whether non-existent headers
5843    # can be detected and how.
5844    cat >conftest.$ac_ext <<_ACEOF
5845 < #line 4959 "configure"
5846 < #include "confdefs.h"
5845 > #line $LINENO "configure"
5846 > /* confdefs.h.  */
5847 > _ACEOF
5848 > cat confdefs.h >>conftest.$ac_ext
5849 > cat >>conftest.$ac_ext <<_ACEOF
5850 > /* end confdefs.h.  */
5851   #include <ac_nonexistent.h>
5852   _ACEOF
5853 < if { (eval echo "$as_me:4963: \"$ac_cpp conftest.$ac_ext\"") >&5
5853 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5854    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5855    ac_status=$?
5856 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5856 >  grep -v '^ *+' conftest.er1 >conftest.err
5857    rm -f conftest.er1
5858    cat conftest.err >&5
5859 <  echo "$as_me:4969: \$? = $ac_status" >&5
5859 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860    (exit $ac_status); } >/dev/null; then
5861    if test -s conftest.err; then
5862      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4981 | Line 5871 | else
5871   continue
5872   else
5873    echo "$as_me: failed program was:" >&5
5874 <  cat conftest.$ac_ext >&5
5874 > sed 's/^/| /' conftest.$ac_ext >&5
5875 >
5876    # Passes both tests.
5877   ac_preproc_ok=:
5878   break
# Line 4994 | Line 5885 | else
5885   if $ac_preproc_ok; then
5886    :
5887   else
5888 <  { { echo "$as_me:4997: error: C preprocessor \"$CPP\" fails sanity check" >&5
5889 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
5888 >  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5889 > See \`config.log' for more details." >&5
5890 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5891 > See \`config.log' for more details." >&2;}
5892     { (exit 1); exit 1; }; }
5893   fi
5894  
# Line 5004 | Line 5897 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5897   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5898   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5899   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5900 +
5901 +
5902 + echo "$as_me:$LINENO: checking for egrep" >&5
5903 + echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5904 + if test "${ac_cv_prog_egrep+set}" = set; then
5905 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5906 + else
5907 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5908 +    then ac_cv_prog_egrep='grep -E'
5909 +    else ac_cv_prog_egrep='egrep'
5910 +    fi
5911 + fi
5912 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5913 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5914 + EGREP=$ac_cv_prog_egrep
5915 +
5916 +
5917 + echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5918 + echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5919 + if test "${ac_cv_header_stdc+set}" = set; then
5920 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5921 + else
5922 +  cat >conftest.$ac_ext <<_ACEOF
5923 + #line $LINENO "configure"
5924 + /* confdefs.h.  */
5925 + _ACEOF
5926 + cat confdefs.h >>conftest.$ac_ext
5927 + cat >>conftest.$ac_ext <<_ACEOF
5928 + /* end confdefs.h.  */
5929 + #include <stdlib.h>
5930 + #include <stdarg.h>
5931 + #include <string.h>
5932 + #include <float.h>
5933 +
5934 + int
5935 + main ()
5936 + {
5937 +
5938 +  ;
5939 +  return 0;
5940 + }
5941 + _ACEOF
5942 + rm -f conftest.$ac_objext
5943 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5944 +  (eval $ac_compile) 2>&5
5945 +  ac_status=$?
5946 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 +  (exit $ac_status); } &&
5948 +         { ac_try='test -s conftest.$ac_objext'
5949 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 +  (eval $ac_try) 2>&5
5951 +  ac_status=$?
5952 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 +  (exit $ac_status); }; }; then
5954 +  ac_cv_header_stdc=yes
5955 + else
5956 +  echo "$as_me: failed program was:" >&5
5957 + sed 's/^/| /' conftest.$ac_ext >&5
5958 +
5959 + ac_cv_header_stdc=no
5960 + fi
5961 + rm -f conftest.$ac_objext conftest.$ac_ext
5962 +
5963 + if test $ac_cv_header_stdc = yes; then
5964 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5965 +  cat >conftest.$ac_ext <<_ACEOF
5966 + #line $LINENO "configure"
5967 + /* confdefs.h.  */
5968 + _ACEOF
5969 + cat confdefs.h >>conftest.$ac_ext
5970 + cat >>conftest.$ac_ext <<_ACEOF
5971 + /* end confdefs.h.  */
5972 + #include <string.h>
5973 +
5974 + _ACEOF
5975 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5976 +  $EGREP "memchr" >/dev/null 2>&1; then
5977 +  :
5978 + else
5979 +  ac_cv_header_stdc=no
5980 + fi
5981 + rm -f conftest*
5982 +
5983 + fi
5984 +
5985 + if test $ac_cv_header_stdc = yes; then
5986 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5987 +  cat >conftest.$ac_ext <<_ACEOF
5988 + #line $LINENO "configure"
5989 + /* confdefs.h.  */
5990 + _ACEOF
5991 + cat confdefs.h >>conftest.$ac_ext
5992 + cat >>conftest.$ac_ext <<_ACEOF
5993 + /* end confdefs.h.  */
5994 + #include <stdlib.h>
5995 +
5996 + _ACEOF
5997 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5998 +  $EGREP "free" >/dev/null 2>&1; then
5999 +  :
6000 + else
6001 +  ac_cv_header_stdc=no
6002 + fi
6003 + rm -f conftest*
6004 +
6005 + fi
6006 +
6007 + if test $ac_cv_header_stdc = yes; then
6008 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6009 +  if test "$cross_compiling" = yes; then
6010 +  :
6011 + else
6012 +  cat >conftest.$ac_ext <<_ACEOF
6013 + #line $LINENO "configure"
6014 + /* confdefs.h.  */
6015 + _ACEOF
6016 + cat confdefs.h >>conftest.$ac_ext
6017 + cat >>conftest.$ac_ext <<_ACEOF
6018 + /* end confdefs.h.  */
6019 + #include <ctype.h>
6020 + #if ((' ' & 0x0FF) == 0x020)
6021 + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6022 + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6023 + #else
6024 + # define ISLOWER(c) \
6025 +                   (('a' <= (c) && (c) <= 'i') \
6026 +                     || ('j' <= (c) && (c) <= 'r') \
6027 +                     || ('s' <= (c) && (c) <= 'z'))
6028 + # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6029 + #endif
6030 +
6031 + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6032 + int
6033 + main ()
6034 + {
6035 +  int i;
6036 +  for (i = 0; i < 256; i++)
6037 +    if (XOR (islower (i), ISLOWER (i))
6038 +        || toupper (i) != TOUPPER (i))
6039 +      exit(2);
6040 +  exit (0);
6041 + }
6042 + _ACEOF
6043 + rm -f conftest$ac_exeext
6044 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6045 +  (eval $ac_link) 2>&5
6046 +  ac_status=$?
6047 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6049 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 +  (eval $ac_try) 2>&5
6051 +  ac_status=$?
6052 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 +  (exit $ac_status); }; }; then
6054 +  :
6055 + else
6056 +  echo "$as_me: program exited with status $ac_status" >&5
6057 + echo "$as_me: failed program was:" >&5
6058 + sed 's/^/| /' conftest.$ac_ext >&5
6059 +
6060 + ( exit $ac_status )
6061 + ac_cv_header_stdc=no
6062 + fi
6063 + rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6064 + fi
6065 + fi
6066 + fi
6067 + echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6068 + echo "${ECHO_T}$ac_cv_header_stdc" >&6
6069 + if test $ac_cv_header_stdc = yes; then
6070 +
6071 + cat >>confdefs.h <<\_ACEOF
6072 + #define STDC_HEADERS 1
6073 + _ACEOF
6074 +
6075 + fi
6076 +
6077 + # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6078 +
6079 +
6080 +
6081 +
6082 +
6083 +
6084 +
6085 +
6086 +
6087 + for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6088 +                  inttypes.h stdint.h unistd.h
6089 + do
6090 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6091 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6092 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6093 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6094 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6095 + else
6096 +  cat >conftest.$ac_ext <<_ACEOF
6097 + #line $LINENO "configure"
6098 + /* confdefs.h.  */
6099 + _ACEOF
6100 + cat confdefs.h >>conftest.$ac_ext
6101 + cat >>conftest.$ac_ext <<_ACEOF
6102 + /* end confdefs.h.  */
6103 + $ac_includes_default
6104 +
6105 + #include <$ac_header>
6106 + _ACEOF
6107 + rm -f conftest.$ac_objext
6108 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109 +  (eval $ac_compile) 2>&5
6110 +  ac_status=$?
6111 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 +  (exit $ac_status); } &&
6113 +         { ac_try='test -s conftest.$ac_objext'
6114 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6115 +  (eval $ac_try) 2>&5
6116 +  ac_status=$?
6117 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 +  (exit $ac_status); }; }; then
6119 +  eval "$as_ac_Header=yes"
6120 + else
6121 +  echo "$as_me: failed program was:" >&5
6122 + sed 's/^/| /' conftest.$ac_ext >&5
6123 +
6124 + eval "$as_ac_Header=no"
6125 + fi
6126 + rm -f conftest.$ac_objext conftest.$ac_ext
6127 + fi
6128 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6129 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6130 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
6131 +  cat >>confdefs.h <<_ACEOF
6132 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6133 + _ACEOF
6134  
6135 + fi
6136 +
6137 + done
6138 +
6139 +
6140 +
6141 +
6142 +
6143   # Check whether --with-sprng_prefix or --without-sprng_prefix was given.
6144   if test "${with_sprng_prefix+set}" = set; then
6145    withval="$with_sprng_prefix"
# Line 5013 | Line 6148 | fi;
6148    sprng_prefix="/usr/local"
6149   fi;
6150  
6151 < # Check whether --with-sprng_lib_prefix or --without-sprng_lib_prefix was given.
6152 < if test "${with_sprng_lib_prefix+set}" = set; then
6153 <  withval="$with_sprng_lib_prefix"
6154 <  sprng_lib_prefix="$withval"
6151 > # Check whether --with-sprng-libdir or --without-sprng-libdir was given.
6152 > if test "${with_sprng_libdir+set}" = set; then
6153 >  withval="$with_sprng_libdir"
6154 >  sprng_libdir="$withval"
6155   else
6156 <  sprng_lib_prefix="/usr/local/lib"
6156 >  sprng_libdir="/usr/local/lib"
6157   fi;
6158  
6159 < # Check whether --with-sprng_include_prefix or --without-sprng_include_prefix was given.
6160 < if test "${with_sprng_include_prefix+set}" = set; then
6161 <  withval="$with_sprng_include_prefix"
6162 <  sprng_include_prefix="$withval"
6159 > # Check whether --with-sprng-include or --without-sprng-include was given.
6160 > if test "${with_sprng_include+set}" = set; then
6161 >  withval="$with_sprng_include"
6162 >  sprng_include="$withval"
6163   else
6164 <  sprng_include_prefix="/usr/local/include/sprng"
6164 >  sprng_include="/usr/local/include/sprng"
6165   fi;
6166  
6167 <  if test x$sprng_lib_prefix = x ; then
6168 <    sprng_lib_prefix=${sprng_prefix}/lib
6167 >  if test x$sprng_libdir = x ; then
6168 >    sprng_libdir=${sprng_prefix}/lib
6169    fi
6170  
6171 <  if test x$sprng_include_prefix = x ; then
6172 <    sprng_include_prefix=${sprng_prefix}/include
6171 >  if test x$sprng_include = x ; then
6172 >    sprng_include=${sprng_prefix}/include
6173    fi
6174  
6175 <  echo "$as_me:5040: checking for SPRNG include files in $sprng_include_prefix" >&5
6176 < echo $ECHO_N "checking for SPRNG include files in $sprng_include_prefix... $ECHO_C" >&6
6177 <  if test -f ${sprng_include_prefix}/sprng.h; then
6175 >  echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include" >&5
6176 > echo $ECHO_N "checking for SPRNG include files in $sprng_include... $ECHO_C" >&6
6177 >  if test -f ${sprng_include}/sprng.h; then
6178      have_sprngincl=yes
6179 <    echo "$as_me:5044: result: yes" >&5
6179 >    echo "$as_me:$LINENO: result: yes" >&5
6180   echo "${ECHO_T}yes" >&6
6181    else
6182      have_sprngincl=no
6183 <    echo "$as_me:5048: result: no" >&5
6183 >    echo "$as_me:$LINENO: result: no" >&5
6184   echo "${ECHO_T}no" >&6
6185 <    { { echo "$as_me:5050: error: Could not locate the SPRNG include files" >&5
6185 >    { { echo "$as_me:$LINENO: error: Could not locate the SPRNG include files" >&5
6186   echo "$as_me: error: Could not locate the SPRNG include files" >&2;}
6187     { (exit 1); exit 1; }; }
6188    fi
6189  
6190 <  echo "$as_me:5055: checking for SPRNG libraries in $sprng_lib_prefix" >&5
6191 < echo $ECHO_N "checking for SPRNG libraries in $sprng_lib_prefix... $ECHO_C" >&6
6192 <  if test -f ${sprng_lib_prefix}/libsprng.a; then
6190 >  echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_libdir" >&5
6191 > echo $ECHO_N "checking for SPRNG libraries in $sprng_libdir... $ECHO_C" >&6
6192 >  if test -f ${sprng_libdir}/libsprng.a; then
6193      have_sprnglib=yes
6194 <    echo "$as_me:5059: result: yes" >&5
6194 >    echo "$as_me:$LINENO: result: yes" >&5
6195   echo "${ECHO_T}yes" >&6
6196    else
6197      have_sprnglib=no
6198 <    echo "$as_me:5063: result: no" >&5
6198 >    echo "$as_me:$LINENO: result: no" >&5
6199   echo "${ECHO_T}no" >&6
6200 <    { { echo "$as_me:5065: error: Could not locate the SPRNG libraries" >&5
6200 >    { { echo "$as_me:$LINENO: error: Could not locate the SPRNG libraries" >&5
6201   echo "$as_me: error: Could not locate the SPRNG libraries" >&2;}
6202     { (exit 1); exit 1; }; }
6203    fi
6204  
6205 +
6206 +
6207    ac_ext=c
6208   ac_cpp='$CPP $CPPFLAGS'
6209   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5074 | Line 6211 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6211   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6212  
6213    ac_save_CPPFLAGS=$CPPFLAGS
6214 <  CPPFLAGS="${CPPFLAGS} -I${sprng_include_prefix}"
6214 >  CPPFLAGS="${CPPFLAGS} -I${sprng_include}"
6215    ac_save_LDFLAGS=$LDFLAGS
6216 <  LDFLAGS="${LDFLAGS} -L${sprng_lib_prefix} -lsprng"
6217 <  echo "$as_me:5080: checking for sprng.h" >&5
6216 >  LDFLAGS="${LDFLAGS} -L${sprng_libdir} -lsprng"
6217 >  if test "${ac_cv_header_sprng_h+set}" = set; then
6218 >  echo "$as_me:$LINENO: checking for sprng.h" >&5
6219   echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
6220   if test "${ac_cv_header_sprng_h+set}" = set; then
6221    echo $ECHO_N "(cached) $ECHO_C" >&6
6222 + fi
6223 + echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5
6224 + echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
6225   else
6226 <  cat >conftest.$ac_ext <<_ACEOF
6227 < #line 5086 "configure"
6228 < #include "confdefs.h"
6226 >  # Is the header compilable?
6227 > echo "$as_me:$LINENO: checking sprng.h usability" >&5
6228 > echo $ECHO_N "checking sprng.h usability... $ECHO_C" >&6
6229 > cat >conftest.$ac_ext <<_ACEOF
6230 > #line $LINENO "configure"
6231 > /* confdefs.h.  */
6232 > _ACEOF
6233 > cat confdefs.h >>conftest.$ac_ext
6234 > cat >>conftest.$ac_ext <<_ACEOF
6235 > /* end confdefs.h.  */
6236 > $ac_includes_default
6237   #include <sprng.h>
6238   _ACEOF
6239 < if { (eval echo "$as_me:5090: \"$ac_cpp conftest.$ac_ext\"") >&5
6239 > rm -f conftest.$ac_objext
6240 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6241 >  (eval $ac_compile) 2>&5
6242 >  ac_status=$?
6243 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 >  (exit $ac_status); } &&
6245 >         { ac_try='test -s conftest.$ac_objext'
6246 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 >  (eval $ac_try) 2>&5
6248 >  ac_status=$?
6249 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 >  (exit $ac_status); }; }; then
6251 >  ac_header_compiler=yes
6252 > else
6253 >  echo "$as_me: failed program was:" >&5
6254 > sed 's/^/| /' conftest.$ac_ext >&5
6255 >
6256 > ac_header_compiler=no
6257 > fi
6258 > rm -f conftest.$ac_objext conftest.$ac_ext
6259 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6260 > echo "${ECHO_T}$ac_header_compiler" >&6
6261 >
6262 > # Is the header present?
6263 > echo "$as_me:$LINENO: checking sprng.h presence" >&5
6264 > echo $ECHO_N "checking sprng.h presence... $ECHO_C" >&6
6265 > cat >conftest.$ac_ext <<_ACEOF
6266 > #line $LINENO "configure"
6267 > /* confdefs.h.  */
6268 > _ACEOF
6269 > cat confdefs.h >>conftest.$ac_ext
6270 > cat >>conftest.$ac_ext <<_ACEOF
6271 > /* end confdefs.h.  */
6272 > #include <sprng.h>
6273 > _ACEOF
6274 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6275    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6276    ac_status=$?
6277 <  egrep -v '^ *\+' conftest.er1 >conftest.err
6277 >  grep -v '^ *+' conftest.er1 >conftest.err
6278    rm -f conftest.er1
6279    cat conftest.err >&5
6280 <  echo "$as_me:5096: \$? = $ac_status" >&5
6280 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281    (exit $ac_status); } >/dev/null; then
6282    if test -s conftest.err; then
6283      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5104 | Line 6288 | if test -z "$ac_cpp_err"; then
6288    ac_cpp_err=yes
6289   fi
6290   if test -z "$ac_cpp_err"; then
6291 <  ac_cv_header_sprng_h=yes
6291 >  ac_header_preproc=yes
6292   else
6293    echo "$as_me: failed program was:" >&5
6294 <  cat conftest.$ac_ext >&5
6295 <  ac_cv_header_sprng_h=no
6294 > sed 's/^/| /' conftest.$ac_ext >&5
6295 >
6296 >  ac_header_preproc=no
6297   fi
6298   rm -f conftest.err conftest.$ac_ext
6299 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6300 + echo "${ECHO_T}$ac_header_preproc" >&6
6301 +
6302 + # So?  What about this header?
6303 + case $ac_header_compiler:$ac_header_preproc in
6304 +  yes:no )
6305 +    { echo "$as_me:$LINENO: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&5
6306 + echo "$as_me: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6307 +    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6308 + echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6309 +    (
6310 +      cat <<\_ASBOX
6311 + ## ------------------------------------ ##
6312 + ## Report this to bug-autoconf@gnu.org. ##
6313 + ## ------------------------------------ ##
6314 + _ASBOX
6315 +    ) |
6316 +      sed "s/^/$as_me: WARNING:     /" >&2
6317 +    ;;
6318 +  no:yes )
6319 +    { echo "$as_me:$LINENO: WARNING: sprng.h: present but cannot be compiled" >&5
6320 + echo "$as_me: WARNING: sprng.h: present but cannot be compiled" >&2;}
6321 +    { echo "$as_me:$LINENO: WARNING: sprng.h: check for missing prerequisite headers?" >&5
6322 + echo "$as_me: WARNING: sprng.h: check for missing prerequisite headers?" >&2;}
6323 +    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6324 + echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6325 +    (
6326 +      cat <<\_ASBOX
6327 + ## ------------------------------------ ##
6328 + ## Report this to bug-autoconf@gnu.org. ##
6329 + ## ------------------------------------ ##
6330 + _ASBOX
6331 +    ) |
6332 +      sed "s/^/$as_me: WARNING:     /" >&2
6333 +    ;;
6334 + esac
6335 + echo "$as_me:$LINENO: checking for sprng.h" >&5
6336 + echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
6337 + if test "${ac_cv_header_sprng_h+set}" = set; then
6338 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6339 + else
6340 +  ac_cv_header_sprng_h=$ac_header_preproc
6341   fi
6342 < echo "$as_me:5115: result: $ac_cv_header_sprng_h" >&5
6342 > echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5
6343   echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
6344 +
6345 + fi
6346   if test $ac_cv_header_sprng_h = yes; then
6347  
6348 <    echo "$as_me:5119: checking for init_rng in -lsprng" >&5
6348 >    echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
6349   echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
6350   if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
6351    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5124 | Line 6353 | cat >conftest.$ac_ext <<_ACEOF
6353    ac_check_lib_save_LIBS=$LIBS
6354   LIBS="-lsprng  $LIBS"
6355   cat >conftest.$ac_ext <<_ACEOF
6356 < #line 5127 "configure"
6357 < #include "confdefs.h"
6356 > #line $LINENO "configure"
6357 > /* confdefs.h.  */
6358 > _ACEOF
6359 > cat confdefs.h >>conftest.$ac_ext
6360 > cat >>conftest.$ac_ext <<_ACEOF
6361 > /* end confdefs.h.  */
6362  
6363   /* Override any gcc2 internal prototype to avoid an error.  */
6364   #ifdef __cplusplus
# Line 5143 | Line 6376 | if { (eval echo "$as_me:5146: \"$ac_link\"") >&5
6376   }
6377   _ACEOF
6378   rm -f conftest.$ac_objext conftest$ac_exeext
6379 < if { (eval echo "$as_me:5146: \"$ac_link\"") >&5
6379 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6380    (eval $ac_link) 2>&5
6381    ac_status=$?
6382 <  echo "$as_me:5149: \$? = $ac_status" >&5
6382 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383    (exit $ac_status); } &&
6384           { ac_try='test -s conftest$ac_exeext'
6385 <  { (eval echo "$as_me:5152: \"$ac_try\"") >&5
6385 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6386    (eval $ac_try) 2>&5
6387    ac_status=$?
6388 <  echo "$as_me:5155: \$? = $ac_status" >&5
6388 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389    (exit $ac_status); }; }; then
6390    ac_cv_lib_sprng_init_rng=yes
6391   else
6392    echo "$as_me: failed program was:" >&5
6393 < cat conftest.$ac_ext >&5
6393 > sed 's/^/| /' conftest.$ac_ext >&5
6394 >
6395   ac_cv_lib_sprng_init_rng=no
6396   fi
6397   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6398   LIBS=$ac_check_lib_save_LIBS
6399   fi
6400 < echo "$as_me:5166: result: $ac_cv_lib_sprng_init_rng" >&5
6400 > echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
6401   echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
6402   if test $ac_cv_lib_sprng_init_rng = yes; then
6403 <  SPRNG_LIBDIR="${sprng_lib_prefix}"
6404 <                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include_prefix}"
6403 >  SPRNG_LIBDIR="${sprng_libdir}"
6404 >                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include}"
6405                       HAVE_SPRNG="yes"
6406   fi
6407  
6408   fi
6409  
6410 +
6411    CPPFLAGS=$ac_save_CPPFLAGS
6412    LDFLAGS=$ac_save_LDFLAGS
6413    ac_ext=f90
# Line 5180 | Line 6415 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6415   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6416   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6417  
6418 +
6419    if test x_$HAVE_SPRNG != x_yes; then
6420 <        { { echo "$as_me:5184: error: Can't build with SPRNG" >&5
6420 >        { { echo "$as_me:$LINENO: error: Can't build with SPRNG" >&5
6421   echo "$as_me: error: Can't build with SPRNG" >&2;}
6422     { (exit 1); exit 1; }; }
6423    fi
6424  
6425 < echo "$as_me:5189: checking if MKL is wanted" >&5
6425 >
6426 >
6427 >
6428 >
6429 > echo "$as_me:$LINENO: checking if MKL is wanted" >&5
6430   echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
6431  
6432   # Check whether --with-mkl or --without-mkl was given.
6433   if test "${with_mkl+set}" = set; then
6434    withval="$with_mkl"
6435 <     echo "$as_me:5195: result: yes" >&5
6435 >     echo "$as_me:$LINENO: result: yes" >&5
6436   echo "${ECHO_T}yes" >&6
6437      for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do
6438          mkldir="$dir"
# Line 5202 | Line 6442 | echo "${ECHO_T}yes" >&6
6442          fi
6443      done
6444      if test x_$found_mkl != x_yes; then
6445 <        { { echo "$as_me:5205: error: Cannot find MKL includes" >&5
6445 >        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
6446   echo "$as_me: error: Cannot find MKL includes" >&2;}
6447     { (exit 1); exit 1; }; }
6448      else
6449          printf "MKL includes found in $mkldir/include\n";
6450      fi
6451  
6452 +
6453 +
6454    ac_ext=c
6455   ac_cpp='$CPP $CPPFLAGS'
6456   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5219 | Line 6461 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6461    CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
6462    ac_save_LDFLAGS=$LDFLAGS
6463    LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
6464 <  echo "$as_me:5222: checking for mkl.h" >&5
6464 >  if test "${ac_cv_header_mkl_h+set}" = set; then
6465 >  echo "$as_me:$LINENO: checking for mkl.h" >&5
6466   echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
6467   if test "${ac_cv_header_mkl_h+set}" = set; then
6468    echo $ECHO_N "(cached) $ECHO_C" >&6
6469 + fi
6470 + echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
6471 + echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6472   else
6473 <  cat >conftest.$ac_ext <<_ACEOF
6474 < #line 5228 "configure"
6475 < #include "confdefs.h"
6473 >  # Is the header compilable?
6474 > echo "$as_me:$LINENO: checking mkl.h usability" >&5
6475 > echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
6476 > cat >conftest.$ac_ext <<_ACEOF
6477 > #line $LINENO "configure"
6478 > /* confdefs.h.  */
6479 > _ACEOF
6480 > cat confdefs.h >>conftest.$ac_ext
6481 > cat >>conftest.$ac_ext <<_ACEOF
6482 > /* end confdefs.h.  */
6483 > $ac_includes_default
6484   #include <mkl.h>
6485   _ACEOF
6486 < if { (eval echo "$as_me:5232: \"$ac_cpp conftest.$ac_ext\"") >&5
6486 > rm -f conftest.$ac_objext
6487 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6488 >  (eval $ac_compile) 2>&5
6489 >  ac_status=$?
6490 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 >  (exit $ac_status); } &&
6492 >         { ac_try='test -s conftest.$ac_objext'
6493 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 >  (eval $ac_try) 2>&5
6495 >  ac_status=$?
6496 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 >  (exit $ac_status); }; }; then
6498 >  ac_header_compiler=yes
6499 > else
6500 >  echo "$as_me: failed program was:" >&5
6501 > sed 's/^/| /' conftest.$ac_ext >&5
6502 >
6503 > ac_header_compiler=no
6504 > fi
6505 > rm -f conftest.$ac_objext conftest.$ac_ext
6506 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6507 > echo "${ECHO_T}$ac_header_compiler" >&6
6508 >
6509 > # Is the header present?
6510 > echo "$as_me:$LINENO: checking mkl.h presence" >&5
6511 > echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
6512 > cat >conftest.$ac_ext <<_ACEOF
6513 > #line $LINENO "configure"
6514 > /* confdefs.h.  */
6515 > _ACEOF
6516 > cat confdefs.h >>conftest.$ac_ext
6517 > cat >>conftest.$ac_ext <<_ACEOF
6518 > /* end confdefs.h.  */
6519 > #include <mkl.h>
6520 > _ACEOF
6521 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6522    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6523    ac_status=$?
6524 <  egrep -v '^ *\+' conftest.er1 >conftest.err
6524 >  grep -v '^ *+' conftest.er1 >conftest.err
6525    rm -f conftest.er1
6526    cat conftest.err >&5
6527 <  echo "$as_me:5238: \$? = $ac_status" >&5
6527 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528    (exit $ac_status); } >/dev/null; then
6529    if test -s conftest.err; then
6530      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5246 | Line 6535 | if test -z "$ac_cpp_err"; then
6535    ac_cpp_err=yes
6536   fi
6537   if test -z "$ac_cpp_err"; then
6538 <  ac_cv_header_mkl_h=yes
6538 >  ac_header_preproc=yes
6539   else
6540    echo "$as_me: failed program was:" >&5
6541 <  cat conftest.$ac_ext >&5
6542 <  ac_cv_header_mkl_h=no
6541 > sed 's/^/| /' conftest.$ac_ext >&5
6542 >
6543 >  ac_header_preproc=no
6544   fi
6545   rm -f conftest.err conftest.$ac_ext
6546 < fi
6547 < echo "$as_me:5257: result: $ac_cv_header_mkl_h" >&5
6546 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6547 > echo "${ECHO_T}$ac_header_preproc" >&6
6548 >
6549 > # So?  What about this header?
6550 > case $ac_header_compiler:$ac_header_preproc in
6551 >  yes:no )
6552 >    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6553 > echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6554 >    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6555 > echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6556 >    (
6557 >      cat <<\_ASBOX
6558 > ## ------------------------------------ ##
6559 > ## Report this to bug-autoconf@gnu.org. ##
6560 > ## ------------------------------------ ##
6561 > _ASBOX
6562 >    ) |
6563 >      sed "s/^/$as_me: WARNING:     /" >&2
6564 >    ;;
6565 >  no:yes )
6566 >    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
6567 > echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
6568 >    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
6569 > echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
6570 >    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6571 > echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6572 >    (
6573 >      cat <<\_ASBOX
6574 > ## ------------------------------------ ##
6575 > ## Report this to bug-autoconf@gnu.org. ##
6576 > ## ------------------------------------ ##
6577 > _ASBOX
6578 >    ) |
6579 >      sed "s/^/$as_me: WARNING:     /" >&2
6580 >    ;;
6581 > esac
6582 > echo "$as_me:$LINENO: checking for mkl.h" >&5
6583 > echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
6584 > if test "${ac_cv_header_mkl_h+set}" = set; then
6585 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6586 > else
6587 >  ac_cv_header_mkl_h=$ac_header_preproc
6588 > fi
6589 > echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
6590   echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6591 +
6592 + fi
6593   if test $ac_cv_header_mkl_h = yes; then
6594  
6595 <    echo "$as_me:5261: checking for vslNewStream in -lmkl" >&5
6595 >    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
6596   echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
6597   if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
6598    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5266 | Line 6600 | cat >conftest.$ac_ext <<_ACEOF
6600    ac_check_lib_save_LIBS=$LIBS
6601   LIBS="-lmkl  $LIBS"
6602   cat >conftest.$ac_ext <<_ACEOF
6603 < #line 5269 "configure"
6604 < #include "confdefs.h"
6603 > #line $LINENO "configure"
6604 > /* confdefs.h.  */
6605 > _ACEOF
6606 > cat confdefs.h >>conftest.$ac_ext
6607 > cat >>conftest.$ac_ext <<_ACEOF
6608 > /* end confdefs.h.  */
6609  
6610   /* Override any gcc2 internal prototype to avoid an error.  */
6611   #ifdef __cplusplus
# Line 5285 | Line 6623 | if { (eval echo "$as_me:5288: \"$ac_link\"") >&5
6623   }
6624   _ACEOF
6625   rm -f conftest.$ac_objext conftest$ac_exeext
6626 < if { (eval echo "$as_me:5288: \"$ac_link\"") >&5
6626 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6627    (eval $ac_link) 2>&5
6628    ac_status=$?
6629 <  echo "$as_me:5291: \$? = $ac_status" >&5
6629 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630    (exit $ac_status); } &&
6631           { ac_try='test -s conftest$ac_exeext'
6632 <  { (eval echo "$as_me:5294: \"$ac_try\"") >&5
6632 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633    (eval $ac_try) 2>&5
6634    ac_status=$?
6635 <  echo "$as_me:5297: \$? = $ac_status" >&5
6635 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636    (exit $ac_status); }; }; then
6637    ac_cv_lib_mkl_vslNewStream=yes
6638   else
6639    echo "$as_me: failed program was:" >&5
6640 < cat conftest.$ac_ext >&5
6640 > sed 's/^/| /' conftest.$ac_ext >&5
6641 >
6642   ac_cv_lib_mkl_vslNewStream=no
6643   fi
6644   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6645   LIBS=$ac_check_lib_save_LIBS
6646   fi
6647 < echo "$as_me:5308: result: $ac_cv_lib_mkl_vslNewStream" >&5
6647 > echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
6648   echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
6649   if test $ac_cv_lib_mkl_vslNewStream = yes; then
6650    MKL_LIBDIR="${mkldir}/lib/32",
# Line 5313 | Line 6652 | else
6652                       HAVE_MKL="yes"
6653   fi
6654  
6655 +
6656   else
6657    MKL_INC="-I${mkldir}/include"
6658   fi
6659  
6660 +
6661    CPPFLAGS=$ac_save_CPPFLAGS
6662    LDFLAGS=$ac_save_LDFLAGS
6663    ac_ext=f90
# Line 5324 | Line 6665 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6665   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6666   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6667  
6668 +
6669    if test x_$HAVE_MKL != x_yes; then
6670 <        { { echo "$as_me:5328: error: Can't build with MKL" >&5
6670 >        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
6671   echo "$as_me: error: Can't build with MKL" >&2;}
6672     { (exit 1); exit 1; }; }
6673    fi
6674  
6675 +
6676 +
6677 +
6678 +
6679   else
6680  
6681 <    echo "$as_me:5335: result: no" >&5
6681 >    echo "$as_me:$LINENO: result: no" >&5
6682   echo "${ECHO_T}no" >&6
6683  
6684   fi;
6685  
6686 < #AC_CHECK_MPI_F90MOD
6686 >
6687 >
6688 >
6689 > # Check whether --with-mpi_f90_mods or --without-mpi_f90_mods was given.
6690 > if test "${with_mpi_f90_mods+set}" = set; then
6691 >  withval="$with_mpi_f90_mods"
6692 >  mpi_f90_mods="$withval"
6693 > else
6694 >  mpi_f90_mods="/usr/local/include/f90choice"
6695 > fi;
6696 >
6697 >  echo "$as_me:$LINENO: checking for MPI F90 modules" >&5
6698 > echo $ECHO_N "checking for MPI F90 modules... $ECHO_C" >&6
6699 >
6700 >
6701 >  ac_ext=f90
6702 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6703 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6704 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6705 >
6706 >  ac_save_F90FLAGS=$F90FLAGS
6707 >  if test "$mpi_f90_mods"; then
6708 >  F90FLAGS="${F90FLAGS} -I${mpi_f90_mods}"
6709 > fi
6710 >
6711 >    cat >conftest.$ac_ext <<_ACEOF
6712 >
6713 >
6714 > program main
6715 >
6716 > use mpi
6717 > integer :: ierr
6718 > call MPI_Init(ierr)
6719 >
6720 >
6721 > end program main
6722 >
6723 > _ACEOF
6724 > rm -f conftest.$ac_objext
6725 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6726 >  (eval $ac_compile) 2>&5
6727 >  ac_status=$?
6728 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 >  (exit $ac_status); } &&
6730 >         { ac_try='test -s conftest.$ac_objext'
6731 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 >  (eval $ac_try) 2>&5
6733 >  ac_status=$?
6734 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 >  (exit $ac_status); }; }; then
6736 >  HAVE_MPI_MOD=1
6737 > else
6738 >  echo "$as_me: failed program was:" >&5
6739 > sed 's/^/| /' conftest.$ac_ext >&5
6740 >
6741 > HAVE_MPI_MOD=0
6742 > fi
6743 > rm -f conftest.$ac_objext conftest.$ac_ext
6744 >
6745 >  F90FLAGS=$ac_save_F90FLAGS
6746 >  ac_ext=f90
6747 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6748 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6750 >
6751 >
6752 >  if test "$HAVE_MPI_MOD" = 1; then
6753 >    echo "$as_me:$LINENO: result: yes" >&5
6754 > echo "${ECHO_T}yes" >&6
6755 >
6756 > cat >>confdefs.h <<\_ACEOF
6757 > #define MPI_MOD 1
6758 > _ACEOF
6759 >
6760 >    MPI_F90_MODS="-I${mpi_f90_mods}"
6761 >
6762 >    # The library name:
6763 >    if test -z "$MPI_LIB" ; then
6764 >       MPI_LIBNAME=-lmpich
6765 >    else
6766 >       MPI_LIBNAME="$MPI_LIB"
6767 >    fi
6768 >    if test -z "$MPIMODLIBNAME" ; then
6769 >       MPIMODLIBNAME="${MPI_LIBNAME}f90"
6770 >    fi
6771  
6772 +  else
6773 +    echo "$as_me:$LINENO: result: no" >&5
6774 + echo "${ECHO_T}no" >&6
6775 +    { { echo "$as_me:$LINENO: error: Couldn't locate MPI F90 Modules" >&5
6776 + echo "$as_me: error: Couldn't locate MPI F90 Modules" >&2;}
6777 +   { (exit 1); exit 1; }; }
6778 +  fi
6779 +
6780 +
6781 +
6782 +
6783 +
6784   OBJEXT=".$OBJEXT"
6785  
6786   OOPSE=oopse
# Line 5362 | Line 6804 | SUBDIRS="libBASS libmdtools src forceFields samples ut
6804  
6805   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
6806  
6807 < SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder"
6807 > SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder staticProps"
6808  
6809 < #CFLAGS=${CFLAGS-""}
6810 < #CXXFLAGS=${CXXFLAGS-""}
6811 < #CPPFLAGS=${CPPFLAGS-""}
6812 < #FFLAGS=${FFLAGS-""}
6813 < #LDFLAGS=${LDFLAGS-""}
6814 < #OPTIMIZE=${OPTIMIZE-"-O"}
6815 < #DEBUG=${DEBUG-"-g"}
6809 > CFLAGS=${CFLAGS-""}
6810 > CXXFLAGS=${CXXFLAGS-""}
6811 > CPPFLAGS=${CPPFLAGS-""}
6812 > FFLAGS=${FFLAGS-""}
6813 > F90FLAGS=${F90FLAGS-""}
6814 > LDFLAGS=${LDFLAGS-""}
6815 > DEBUG=${DEBUG-"-g"}
6816  
6817   case $debug in
6818 <  true)
6818 >  1)
6819       CFLAGS="$DEBUG $CFLAGS"
6820       CXXFLAGS="$DEBUG $CXXFLAGS"
6821       FFLAGS="$DEBUG $FFLAGS"
6822       F90FLAGS="$DEBUG $F90FLAGS"
6823       ;;
6824    *)
5383     CFLAGS="$OPTIMIZE $CFLAGS"
5384     CXXFLAGS="$OPTIMIZE $CXXFLAGS"
5385     FFLAGS="$OPTIMIZE $FFLAGS"
5386     F90FLAGS="$OPTIMIZE $F90FLAGS"
6825       ;;
6826   esac
6827  
5390 ac_config_headers="$ac_config_headers libmdtools/config.h"
6828  
5392 ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile"
6829  
6830 +
6831 +
6832 +
6833 +
6834 +
6835 +
6836 +
6837 +
6838 +
6839 +
6840 +
6841 +
6842 +
6843 +
6844 +          ac_config_headers="$ac_config_headers libmdtools/config.h"
6845 +
6846 +                                                                                                                                                      ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile"
6847 +
6848 +
6849   cat >confcache <<\_ACEOF
6850   # This file is a shell script that caches the results of configure
6851   # tests run on this system so they can be shared between configure
# Line 5401 | Line 6856 | cat >confcache <<\_ACEOF
6856   # config.status only pays attention to the cache file if you give it
6857   # the --recheck option to rerun configure.
6858   #
6859 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
6859 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
6860   # loading this file, other *unset* `ac_cv_foo' will be assigned the
6861   # following values.
6862  
# Line 5420 | Line 6875 | _ACEOF
6875        # substitution turns \\\\ into \\, and sed turns \\ into \).
6876        sed -n \
6877          "s/'/'\\\\''/g;
6878 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6878 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6879        ;;
6880      *)
6881        # `set' quotes correctly as required by POSIX, so do not add quotes.
6882        sed -n \
6883 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6883 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6884        ;;
6885      esac;
6886   } |
# Line 5436 | Line 6891 | if cmp -s $cache_file confcache; then :; else
6891       t end
6892       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6893       : end' >>confcache
6894 < if cmp -s $cache_file confcache; then :; else
6894 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
6895    if test -w $cache_file; then
6896      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6897      cat confcache >$cache_file
# Line 5467 | Line 6922 | DEFS=-DHAVE_CONFIG_H
6922  
6923   DEFS=-DHAVE_CONFIG_H
6924  
6925 + ac_libobjs=
6926 + ac_ltlibobjs=
6927 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6928 +  # 1. Remove the extension, and $U if already installed.
6929 +  ac_i=`echo "$ac_i" |
6930 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6931 +  # 2. Add them.
6932 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6933 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6934 + done
6935 + LIBOBJS=$ac_libobjs
6936 +
6937 + LTLIBOBJS=$ac_ltlibobjs
6938 +
6939 +
6940 +
6941   : ${CONFIG_STATUS=./config.status}
6942   ac_clean_files_save=$ac_clean_files
6943   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6944 < { echo "$as_me:5473: creating $CONFIG_STATUS" >&5
6944 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6945   echo "$as_me: creating $CONFIG_STATUS" >&6;}
6946   cat >$CONFIG_STATUS <<_ACEOF
6947   #! $SHELL
6948 < # Generated automatically by configure.
6948 > # Generated by $as_me.
6949   # Run this file to recreate the current configuration.
6950   # Compiler output produced by configure, useful for debugging
6951   # configure, is in config.log if it exists.
6952  
6953   debug=false
6954 + ac_cs_recheck=false
6955 + ac_cs_silent=false
6956   SHELL=\${CONFIG_SHELL-$SHELL}
5484 ac_cs_invocation="\$0 \$@"
5485
6957   _ACEOF
6958  
6959   cat >>$CONFIG_STATUS <<\_ACEOF
6960 + ## --------------------- ##
6961 + ## M4sh Initialization.  ##
6962 + ## --------------------- ##
6963 +
6964   # Be Bourne compatible
6965   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6966    emulate sh
6967    NULLCMD=:
6968 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6969 +  # is contrary to our usage.  Disable this feature.
6970 +  alias -g '${1+"$@"}'='"$@"'
6971   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6972    set -o posix
6973   fi
6974  
6975 < # Name of the executable.
6976 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
6975 > # Support unset when possible.
6976 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6977 >  as_unset=unset
6978 > else
6979 >  as_unset=false
6980 > fi
6981  
6982 +
6983 + # Work around bugs in pre-3.0 UWIN ksh.
6984 + $as_unset ENV MAIL MAILPATH
6985 + PS1='$ '
6986 + PS2='> '
6987 + PS4='+ '
6988 +
6989 + # NLS nuisances.
6990 + for as_var in \
6991 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6992 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6993 +  LC_TELEPHONE LC_TIME
6994 + do
6995 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6996 +    eval $as_var=C; export $as_var
6997 +  else
6998 +    $as_unset $as_var
6999 +  fi
7000 + done
7001 +
7002 + # Required to use basename.
7003 + if expr a : '\(a\)' >/dev/null 2>&1; then
7004 +  as_expr=expr
7005 + else
7006 +  as_expr=false
7007 + fi
7008 +
7009 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7010 +  as_basename=basename
7011 + else
7012 +  as_basename=false
7013 + fi
7014 +
7015 +
7016 + # Name of the executable.
7017 + as_me=`$as_basename "$0" ||
7018 + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7019 +         X"$0" : 'X\(//\)$' \| \
7020 +         X"$0" : 'X\(/\)$' \| \
7021 +         .     : '\(.\)' 2>/dev/null ||
7022 + echo X/"$0" |
7023 +    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7024 +          /^X\/\(\/\/\)$/{ s//\1/; q; }
7025 +          /^X\/\(\/\).*/{ s//\1/; q; }
7026 +          s/.*/./; q'`
7027 +
7028 +
7029 + # PATH needs CR, and LINENO needs CR and PATH.
7030 + # Avoid depending upon Character Ranges.
7031 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7032 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7033 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7034 + as_cr_digits='0123456789'
7035 + as_cr_alnum=$as_cr_Letters$as_cr_digits
7036 +
7037 + # The user is always right.
7038 + if test "${PATH_SEPARATOR+set}" != set; then
7039 +  echo "#! /bin/sh" >conf$$.sh
7040 +  echo  "exit 0"   >>conf$$.sh
7041 +  chmod +x conf$$.sh
7042 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7043 +    PATH_SEPARATOR=';'
7044 +  else
7045 +    PATH_SEPARATOR=:
7046 +  fi
7047 +  rm -f conf$$.sh
7048 + fi
7049 +
7050 +
7051 +  as_lineno_1=$LINENO
7052 +  as_lineno_2=$LINENO
7053 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7054 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
7055 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
7056 +  # Find who we are.  Look in the path if we contain no path at all
7057 +  # relative or not.
7058 +  case $0 in
7059 +    *[\\/]* ) as_myself=$0 ;;
7060 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 + for as_dir in $PATH
7062 + do
7063 +  IFS=$as_save_IFS
7064 +  test -z "$as_dir" && as_dir=.
7065 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7066 + done
7067 +
7068 +       ;;
7069 +  esac
7070 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
7071 +  # in which case we are not to be found in the path.
7072 +  if test "x$as_myself" = x; then
7073 +    as_myself=$0
7074 +  fi
7075 +  if test ! -f "$as_myself"; then
7076 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7077 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7078 +   { (exit 1); exit 1; }; }
7079 +  fi
7080 +  case $CONFIG_SHELL in
7081 +  '')
7082 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7084 + do
7085 +  IFS=$as_save_IFS
7086 +  test -z "$as_dir" && as_dir=.
7087 +  for as_base in sh bash ksh sh5; do
7088 +         case $as_dir in
7089 +         /*)
7090 +           if ("$as_dir/$as_base" -c '
7091 +  as_lineno_1=$LINENO
7092 +  as_lineno_2=$LINENO
7093 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7094 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
7095 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
7096 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7097 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7098 +             CONFIG_SHELL=$as_dir/$as_base
7099 +             export CONFIG_SHELL
7100 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7101 +           fi;;
7102 +         esac
7103 +       done
7104 + done
7105 + ;;
7106 +  esac
7107 +
7108 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7109 +  # uniformly replaced by the line number.  The first 'sed' inserts a
7110 +  # line-number line before each line; the second 'sed' does the real
7111 +  # work.  The second script uses 'N' to pair each line-number line
7112 +  # with the numbered line, and appends trailing '-' during
7113 +  # substitution so that $LINENO is not a special case at line end.
7114 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7115 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
7116 +  sed '=' <$as_myself |
7117 +    sed '
7118 +      N
7119 +      s,$,-,
7120 +      : loop
7121 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7122 +      t loop
7123 +      s,-$,,
7124 +      s,^['$as_cr_digits']*\n,,
7125 +    ' >$as_me.lineno &&
7126 +  chmod +x $as_me.lineno ||
7127 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7128 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7129 +   { (exit 1); exit 1; }; }
7130 +
7131 +  # Don't try to exec as it changes $[0], causing all sort of problems
7132 +  # (the dirname of $[0] is not the place where we might find the
7133 +  # original and so on.  Autoconf is especially sensible to this).
7134 +  . ./$as_me.lineno
7135 +  # Exit status is that of the last command.
7136 +  exit
7137 + }
7138 +
7139 +
7140 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7141 +  *c*,-n*) ECHO_N= ECHO_C='
7142 + ' ECHO_T='      ' ;;
7143 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7144 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
7145 + esac
7146 +
7147   if expr a : '\(a\)' >/dev/null 2>&1; then
7148    as_expr=expr
7149   else
# Line 5521 | Line 7168 | as_executable_p="test -f"
7168   fi
7169   rm -f conf$$ conf$$.exe conf$$.file
7170  
7171 < as_executable_p="test -f"
7172 <
5526 < # Support unset when possible.
5527 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5528 <  as_unset=unset
7171 > if mkdir -p . 2>/dev/null; then
7172 >  as_mkdir_p=:
7173   else
7174 <  as_unset=false
7174 >  as_mkdir_p=false
7175   fi
7176  
7177 < # NLS nuisances.
5534 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5535 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5536 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5537 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5538 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5539 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5540 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5541 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
7177 > as_executable_p="test -f"
7178  
7179 + # Sed expression to map a string onto a valid CPP name.
7180 + as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7181 +
7182 + # Sed expression to map a string onto a valid variable name.
7183 + as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7184 +
7185 +
7186   # IFS
7187   # We need space, tab and new line, in precisely that order.
7188   as_nl='
# Line 5547 | Line 7190 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
7190   IFS="   $as_nl"
7191  
7192   # CDPATH.
7193 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
7193 > $as_unset CDPATH
7194  
7195   exec 6>&1
7196  
7197 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
7198 + # report actual input values of CONFIG_FILES etc. instead of their
7199 + # values after options handling.  Logging --version etc. is OK.
7200 + exec 5>>config.log
7201 + {
7202 +  echo
7203 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7204 + ## Running $as_me. ##
7205 + _ASBOX
7206 + } >&5
7207 + cat >&5 <<_CSEOF
7208 +
7209 + This file was extended by OOPSE $as_me 1.0, which was
7210 + generated by GNU Autoconf 2.57.  Invocation command line was
7211 +
7212 +  CONFIG_FILES    = $CONFIG_FILES
7213 +  CONFIG_HEADERS  = $CONFIG_HEADERS
7214 +  CONFIG_LINKS    = $CONFIG_LINKS
7215 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
7216 +  $ $0 $@
7217 +
7218 + _CSEOF
7219 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7220 + echo >&5
7221   _ACEOF
7222  
7223   # Files that config.status was made for.
# Line 5570 | Line 7237 | cat >>$CONFIG_STATUS <<\EOF
7237    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7238   fi
7239  
7240 < cat >>$CONFIG_STATUS <<\EOF
7240 > cat >>$CONFIG_STATUS <<\_ACEOF
7241  
7242   ac_cs_usage="\
7243   \`$as_me' instantiates files from templates according to the
# Line 5580 | Line 7247 | Usage: $0 [OPTIONS] [FILE]...
7247  
7248    -h, --help       print this help, then exit
7249    -V, --version    print version number, then exit
7250 +  -q, --quiet      do not print progress messages
7251    -d, --debug      don't remove temporary files
7252        --recheck    update $as_me by reconfiguring in the same conditions
7253    --file=FILE[:TEMPLATE]
# Line 5594 | Line 7262 | EOF
7262   $config_headers
7263  
7264   Report bugs to <bug-autoconf@gnu.org>."
7265 < EOF
7265 > _ACEOF
7266  
7267 < cat >>$CONFIG_STATUS <<EOF
7267 > cat >>$CONFIG_STATUS <<_ACEOF
7268   ac_cs_version="\\
7269   OOPSE config.status 1.0
7270 < configured by $0, generated by GNU Autoconf 2.50,
7270 > configured by $0, generated by GNU Autoconf 2.57,
7271    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7272  
7273   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 5608 | Line 7276 | EOF
7276   gives unlimited permission to copy, distribute and modify it."
7277   srcdir=$srcdir
7278   INSTALL="$INSTALL"
7279 < EOF
7279 > _ACEOF
7280  
7281 < cat >>$CONFIG_STATUS <<\EOF
7281 > cat >>$CONFIG_STATUS <<\_ACEOF
7282   # If no file are specified by the user, then we need to provide default
7283   # value.  By we need to know if files were specified by the user.
7284   ac_need_defaults=:
# Line 5620 | Line 7288 | do
7288    --*=*)
7289      ac_option=`expr "x$1" : 'x\([^=]*\)='`
7290      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7291 <    shift
5624 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5625 <    shift
7291 >    ac_shift=:
7292      ;;
7293 <  -*);;
7293 >  -*)
7294 >    ac_option=$1
7295 >    ac_optarg=$2
7296 >    ac_shift=shift
7297 >    ;;
7298    *) # This is not an option, so the user has probably given explicit
7299       # arguments.
7300 +     ac_option=$1
7301       ac_need_defaults=false;;
7302    esac
7303  
7304 <  case $1 in
7304 >  case $ac_option in
7305    # Handling of the options.
7306 < EOF
7307 < cat >>$CONFIG_STATUS <<EOF
7306 > _ACEOF
7307 > cat >>$CONFIG_STATUS <<\_ACEOF
7308    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7309 <    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5639 <    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5640 < EOF
5641 < cat >>$CONFIG_STATUS <<\EOF
7309 >    ac_cs_recheck=: ;;
7310    --version | --vers* | -V )
7311      echo "$ac_cs_version"; exit 0 ;;
7312    --he | --h)
7313      # Conflict between --help and --header
7314 <    { { echo "$as_me:5646: error: ambiguous option: $1
7314 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
7315   Try \`$0 --help' for more information." >&5
7316   echo "$as_me: error: ambiguous option: $1
7317   Try \`$0 --help' for more information." >&2;}
# Line 5653 | Line 7321 | Try \`$0 --help' for more information." >&2;}
7321    --debug | --d* | -d )
7322      debug=: ;;
7323    --file | --fil | --fi | --f )
7324 <    shift
7325 <    CONFIG_FILES="$CONFIG_FILES $1"
7324 >    $ac_shift
7325 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7326      ac_need_defaults=false;;
7327    --header | --heade | --head | --hea )
7328 <    shift
7329 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
7328 >    $ac_shift
7329 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7330      ac_need_defaults=false;;
7331 <
7332 <  # Handling of arguments.
7333 <  'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5666 <  'libBASS/Makefile' ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
5667 <  'libmdtools/Makefile' ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
5668 <  'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5669 <  'utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
5670 <  'utils/sysbuilder/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
5671 <  'forceFields/Makefile' ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
5672 <  'samples/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
5673 <  'samples/alkane/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
5674 <  'samples/argon/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
5675 <  'samples/beadLipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
5676 <  'samples/lipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
5677 <  'samples/metals/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
5678 <  'samples/water/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
5679 <  'libmdtools/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
7331 >  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7332 >  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7333 >    ac_cs_silent=: ;;
7334  
7335    # This is an error.
7336 <  -*) { { echo "$as_me:5682: error: unrecognized option: $1
7336 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7337   Try \`$0 --help' for more information." >&5
7338   echo "$as_me: error: unrecognized option: $1
7339   Try \`$0 --help' for more information." >&2;}
7340     { (exit 1); exit 1; }; } ;;
7341 <  *) { { echo "$as_me:5687: error: invalid argument: $1" >&5
7342 < echo "$as_me: error: invalid argument: $1" >&2;}
7343 <   { (exit 1); exit 1; }; };;
7341 >
7342 >  *) ac_config_targets="$ac_config_targets $1" ;;
7343 >
7344    esac
7345    shift
7346   done
7347  
7348 < exec 5>>config.log
5695 < cat >&5 << _ACEOF
7348 > ac_configure_extra_args=
7349  
7350 < ## ----------------------- ##
7351 < ## Running config.status.  ##
7352 < ## ----------------------- ##
7350 > if $ac_cs_silent; then
7351 >  exec 6>/dev/null
7352 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
7353 > fi
7354  
7355 < This file was extended by $as_me (OOPSE 1.0) 2.50, executed with
7356 <  > $ac_cs_invocation
7357 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
7355 > _ACEOF
7356 > cat >>$CONFIG_STATUS <<_ACEOF
7357 > if \$ac_cs_recheck; then
7358 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7359 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7360 > fi
7361  
7362   _ACEOF
5706 EOF
7363  
7364 < cat >>$CONFIG_STATUS <<\EOF
7364 >
7365 >
7366 >
7367 >
7368 > cat >>$CONFIG_STATUS <<\_ACEOF
7369 > for ac_config_target in $ac_config_targets
7370 > do
7371 >  case "$ac_config_target" in
7372 >  # Handling of arguments.
7373 >  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7374 >  "libBASS/Makefile" ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
7375 >  "libmdtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
7376 >  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7377 >  "utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
7378 >  "utils/sysbuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
7379 >  "forceFields/Makefile" ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
7380 >  "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
7381 >  "staticProps/Makefile" ) CONFIG_FILES="$CONFIG_FILES staticProps/Makefile" ;;
7382 >  "samples/alkane/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
7383 >  "samples/argon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
7384 >  "samples/beadLipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
7385 >  "samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
7386 >  "samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
7387 >  "samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
7388 >  "libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
7389 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7390 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7391 >   { (exit 1); exit 1; }; };;
7392 >  esac
7393 > done
7394 >
7395   # If the user did not use the arguments to specify the items to instantiate,
7396   # then the envvar interface is used.  Set only those that are not.
7397   # We use the long form for the default assignment because of an extremely
# Line 5715 | Line 7401 | fi
7401    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7402   fi
7403  
7404 + # Have a temporary directory for convenience.  Make it in the build tree
7405 + # simply because there is no reason to put it here, and in addition,
7406 + # creating and moving files from /tmp can sometimes cause problems.
7407   # Create a temporary directory, and hook for its removal unless debugging.
7408   $debug ||
7409   {
7410    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7411 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
7411 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
7412   }
7413  
7414   # Create a (secure) tmp directory for tmp files.
7415 < : ${TMPDIR=/tmp}
7415 >
7416   {
7417 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7417 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7418    test -n "$tmp" && test -d "$tmp"
7419   }  ||
7420   {
7421 <  tmp=$TMPDIR/cs$$-$RANDOM
7421 >  tmp=./confstat$$-$RANDOM
7422    (umask 077 && mkdir $tmp)
7423   } ||
7424   {
7425 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7425 >   echo "$me: cannot create a temporary directory in ." >&2
7426     { (exit 1); exit 1; }
7427   }
7428  
7429 < EOF
7429 > _ACEOF
7430  
7431 < cat >>$CONFIG_STATUS <<EOF
7431 > cat >>$CONFIG_STATUS <<_ACEOF
7432  
7433   #
7434   # CONFIG_FILES section.
# Line 5752 | Line 7441 | s,@exec_prefix@,$exec_prefix,;t t
7441    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7442     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7443   s,@SHELL@,$SHELL,;t t
7444 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7445 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7446 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7447 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7448 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7449 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7450   s,@exec_prefix@,$exec_prefix,;t t
7451   s,@prefix@,$prefix,;t t
7452   s,@program_transform_name@,$program_transform_name,;t t
# Line 5767 | Line 7462 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7462   s,@oldincludedir@,$oldincludedir,;t t
7463   s,@infodir@,$infodir,;t t
7464   s,@mandir@,$mandir,;t t
7465 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7466 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7467 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7468 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5774 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7465 > s,@build_alias@,$build_alias,;t t
7466 > s,@host_alias@,$host_alias,;t t
7467 > s,@target_alias@,$target_alias,;t t
7468 > s,@DEFS@,$DEFS,;t t
7469   s,@ECHO_C@,$ECHO_C,;t t
7470   s,@ECHO_N@,$ECHO_N,;t t
7471   s,@ECHO_T@,$ECHO_T,;t t
5778 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5779 s,@DEFS@,$DEFS,;t t
7472   s,@LIBS@,$LIBS,;t t
7473   s,@PROGNAME@,$PROGNAME,;t t
7474 < s,@DEBUG@,$DEBUG,;t t
7474 > s,@debug@,$debug,;t t
7475   s,@build@,$build,;t t
7476   s,@build_cpu@,$build_cpu,;t t
7477   s,@build_vendor@,$build_vendor,;t t
# Line 5826 | Line 7518 | s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
7518   s,@MPIF90@,$MPIF90,;t t
7519   s,@MPILIBS@,$MPILIBS,;t t
7520   s,@CPP@,$CPP,;t t
7521 + s,@EGREP@,$EGREP,;t t
7522   s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
7523   s,@SPRNG_LIB@,$SPRNG_LIB,;t t
7524   s,@SPRNG_INC@,$SPRNG_INC,;t t
# Line 5834 | Line 7527 | s,@BATEXT@,$BATEXT,;t t
7527   s,@MKL_LIB@,$MKL_LIB,;t t
7528   s,@MKL_INC@,$MKL_INC,;t t
7529   s,@HAVE_MKL@,$HAVE_MKL,;t t
7530 + s,@MPI_F90_MODS@,$MPI_F90_MODS,;t t
7531 + s,@MPIMODLIBNAME@,$MPIMODLIBNAME,;t t
7532   s,@BATEXT@,$BATEXT,;t t
7533   s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7534   s,@OOPSE@,$OOPSE,;t t
7535   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
7536   s,@SUBDIRS@,$SUBDIRS,;t t
7537   s,@FFLAGS@,$FFLAGS,;t t
7538 + s,@LIBOBJS@,$LIBOBJS,;t t
7539 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7540   CEOF
7541  
7542 < EOF
7542 > _ACEOF
7543  
7544 <  cat >>$CONFIG_STATUS <<\EOF
7544 >  cat >>$CONFIG_STATUS <<\_ACEOF
7545    # Split the substitutions into bite-sized pieces for seds with
7546    # small command number limits, like on Digital OSF/1 and HP-UX.
7547    ac_max_sed_lines=48
# Line 5883 | Line 7580 | EOF
7580    fi
7581   fi # test -n "$CONFIG_FILES"
7582  
7583 < EOF
7584 < cat >>$CONFIG_STATUS <<\EOF
7583 > _ACEOF
7584 > cat >>$CONFIG_STATUS <<\_ACEOF
7585   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7586    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7587    case $ac_file in
# Line 5898 | Line 7595 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
7595    esac
7596  
7597    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7598 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7598 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7599 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7600           X"$ac_file" : 'X\(//\)[^/]' \| \
7601           X"$ac_file" : 'X\(//\)$' \| \
7602           X"$ac_file" : 'X\(/\)' \| \
# Line 5909 | Line 7607 | echo X"$ac_file" |
7607            /^X\(\/\/\)$/{ s//\1/; q; }
7608            /^X\(\/\).*/{ s//\1/; q; }
7609            s/.*/./; q'`
7610 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7611 <    { case "$ac_dir" in
5914 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5915 <  *)                      as_incr_dir=.;;
5916 < esac
5917 < as_dummy="$ac_dir"
5918 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5919 <  case $as_mkdir_dir in
5920 <    # Skip DOS drivespec
5921 <    ?:) as_incr_dir=$as_mkdir_dir ;;
5922 <    *)
5923 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
5924 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5925 <    ;;
5926 <  esac
5927 < done; }
5928 <
5929 <    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
5930 <    # A "../" for each directory in $ac_dir_suffix.
5931 <    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
7610 >  { if $as_mkdir_p; then
7611 >    mkdir -p "$ac_dir"
7612    else
7613 <    ac_dir_suffix= ac_dots=
7614 <  fi
7613 >    as_dir="$ac_dir"
7614 >    as_dirs=
7615 >    while test ! -d "$as_dir"; do
7616 >      as_dirs="$as_dir $as_dirs"
7617 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7618 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7619 >         X"$as_dir" : 'X\(//\)[^/]' \| \
7620 >         X"$as_dir" : 'X\(//\)$' \| \
7621 >         X"$as_dir" : 'X\(/\)' \| \
7622 >         .     : '\(.\)' 2>/dev/null ||
7623 > echo X"$as_dir" |
7624 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7625 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7626 >          /^X\(\/\/\)$/{ s//\1/; q; }
7627 >          /^X\(\/\).*/{ s//\1/; q; }
7628 >          s/.*/./; q'`
7629 >    done
7630 >    test ! -n "$as_dirs" || mkdir $as_dirs
7631 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7632 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7633 >   { (exit 1); exit 1; }; }; }
7634  
7635 <  case $srcdir in
7636 <  .)  ac_srcdir=.
7637 <      if test -z "$ac_dots"; then
7638 <         ac_top_srcdir=.
7639 <      else
7640 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
7641 <      fi ;;
7642 <  [\\/]* | ?:[\\/]* )
7643 <      ac_srcdir=$srcdir$ac_dir_suffix;
7644 <      ac_top_srcdir=$srcdir ;;
7635 >  ac_builddir=.
7636 >
7637 > if test "$ac_dir" != .; then
7638 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7639 >  # A "../" for each directory in $ac_dir_suffix.
7640 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7641 > else
7642 >  ac_dir_suffix= ac_top_builddir=
7643 > fi
7644 >
7645 > case $srcdir in
7646 >  .)  # No --srcdir option.  We are building in place.
7647 >    ac_srcdir=.
7648 >    if test -z "$ac_top_builddir"; then
7649 >       ac_top_srcdir=.
7650 >    else
7651 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7652 >    fi ;;
7653 >  [\\/]* | ?:[\\/]* )  # Absolute path.
7654 >    ac_srcdir=$srcdir$ac_dir_suffix;
7655 >    ac_top_srcdir=$srcdir ;;
7656    *) # Relative path.
7657 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
7658 <    ac_top_srcdir=$ac_dots$srcdir ;;
7659 <  esac
7657 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7658 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7659 > esac
7660 > # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7661 > # absolute.
7662 > ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7663 > ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7664 > ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7665 > ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7666  
7667 +
7668    case $INSTALL in
7669    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7670 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
7670 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7671    esac
7672  
7673    if test x"$ac_file" != x-; then
7674 <    { echo "$as_me:5957: creating $ac_file" >&5
7674 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
7675   echo "$as_me: creating $ac_file" >&6;}
7676      rm -f "$ac_file"
7677    fi
7678    # Let's still pretend it is `configure' which instantiates (i.e., don't
7679    # use $as_me), people would be surprised to read:
7680 <  #    /* config.h.  Generated automatically by config.status.  */
7681 <  configure_input="Generated automatically from `echo $ac_file_in |
7682 <                                                 sed 's,.*/,,'` by configure."
7680 >  #    /* config.h.  Generated by config.status.  */
7681 >  if test x"$ac_file" = x-; then
7682 >    configure_input=
7683 >  else
7684 >    configure_input="$ac_file.  "
7685 >  fi
7686 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
7687 >                                     sed 's,.*/,,'` by configure."
7688  
7689    # First look for the input files in the build tree, otherwise in the
7690    # src tree.
# Line 5972 | Line 7694 | echo "$as_me: creating $ac_file" >&6;}
7694        -) echo $tmp/stdin ;;
7695        [\\/$]*)
7696           # Absolute (can't be DOS-style, as IFS=:)
7697 <         test -f "$f" || { { echo "$as_me:5975: error: cannot find input file: $f" >&5
7697 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7698   echo "$as_me: error: cannot find input file: $f" >&2;}
7699     { (exit 1); exit 1; }; }
7700           echo $f;;
# Line 5985 | Line 7707 | echo "$as_me: error: cannot find input file: $f" >&2;}
7707             echo $srcdir/$f
7708           else
7709             # /dev/null tree
7710 <           { { echo "$as_me:5988: error: cannot find input file: $f" >&5
7710 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7711   echo "$as_me: error: cannot find input file: $f" >&2;}
7712     { (exit 1); exit 1; }; }
7713           fi;;
7714        esac
7715      done` || { (exit 1); exit 1; }
7716 < EOF
7717 < cat >>$CONFIG_STATUS <<EOF
7716 > _ACEOF
7717 > cat >>$CONFIG_STATUS <<_ACEOF
7718    sed "$ac_vpsub
7719   $extrasub
7720 < EOF
7721 < cat >>$CONFIG_STATUS <<\EOF
7720 > _ACEOF
7721 > cat >>$CONFIG_STATUS <<\_ACEOF
7722   :t
7723   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7724   s,@configure_input@,$configure_input,;t t
7725   s,@srcdir@,$ac_srcdir,;t t
7726 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
7727   s,@top_srcdir@,$ac_top_srcdir,;t t
7728 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7729 + s,@builddir@,$ac_builddir,;t t
7730 + s,@abs_builddir@,$ac_abs_builddir,;t t
7731 + s,@top_builddir@,$ac_top_builddir,;t t
7732 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7733   s,@INSTALL@,$ac_INSTALL,;t t
7734   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7735    rm -f $tmp/stdin
# Line 6013 | Line 7741 | EOF
7741    fi
7742  
7743   done
7744 < EOF
7745 < cat >>$CONFIG_STATUS <<\EOF
7744 > _ACEOF
7745 > cat >>$CONFIG_STATUS <<\_ACEOF
7746  
7747   #
7748   # CONFIG_HEADER section.
# Line 6046 | Line 7774 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
7774    * )   ac_file_in=$ac_file.in ;;
7775    esac
7776  
7777 <  test x"$ac_file" != x- && { echo "$as_me:6049: creating $ac_file" >&5
7777 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7778   echo "$as_me: creating $ac_file" >&6;}
7779  
7780    # First look for the input files in the build tree, otherwise in the
# Line 6057 | Line 7785 | echo "$as_me: creating $ac_file" >&6;}
7785        -) echo $tmp/stdin ;;
7786        [\\/$]*)
7787           # Absolute (can't be DOS-style, as IFS=:)
7788 <         test -f "$f" || { { echo "$as_me:6060: error: cannot find input file: $f" >&5
7788 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7789   echo "$as_me: error: cannot find input file: $f" >&2;}
7790     { (exit 1); exit 1; }; }
7791           echo $f;;
# Line 6070 | Line 7798 | echo "$as_me: error: cannot find input file: $f" >&2;}
7798             echo $srcdir/$f
7799           else
7800             # /dev/null tree
7801 <           { { echo "$as_me:6073: error: cannot find input file: $f" >&5
7801 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7802   echo "$as_me: error: cannot find input file: $f" >&2;}
7803     { (exit 1); exit 1; }; }
7804           fi;;
# Line 6079 | Line 7807 | EOF
7807    # Remove the trailing spaces.
7808    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
7809  
7810 < EOF
7810 > _ACEOF
7811  
7812   # Transform confdefs.h into two sed scripts, `conftest.defines' and
7813   # `conftest.undefs', that substitutes the proper values into
# Line 6095 | Line 7823 | cat >confdef2sed.sed <<\EOF
7823   # `end' is used to avoid that the second main sed command (meant for
7824   # 0-ary CPP macros) applies to n-ary macro definitions.
7825   # See the Autoconf documentation for `clear'.
7826 < cat >confdef2sed.sed <<\EOF
7826 > cat >confdef2sed.sed <<\_ACEOF
7827   s/[\\&,]/\\&/g
7828   s,[\\$`],\\&,g
7829   t clear
7830   : clear
7831 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
7831 > s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7832   t end
7833   s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7834   : end
7835 < EOF
7835 > _ACEOF
7836   # If some macros were called several times there might be several times
7837   # the same #defines, which is useless.  Nevertheless, we may not want to
7838   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 6115 | Line 7843 | cat >>conftest.undefs <<\EOF
7843   # This sed command replaces #undef with comments.  This is necessary, for
7844   # example, in the case of _POSIX_SOURCE, which is predefined and required
7845   # on some systems where configure will not decide to define it.
7846 < cat >>conftest.undefs <<\EOF
7846 > cat >>conftest.undefs <<\_ACEOF
7847   s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7848 < EOF
7848 > _ACEOF
7849  
7850   # Break up conftest.defines because some shells have a limit on the size
7851   # of here documents, and old seds have small limits too (100 cmds).
7852   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7853 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7853 > echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7854   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7855   echo '  :' >>$CONFIG_STATUS
7856   rm -f conftest.tail
# Line 6146 | Line 7874 | echo '  fi # egrep' >>$CONFIG_STATUS
7874    mv conftest.tail conftest.defines
7875   done
7876   rm -f conftest.defines
7877 < echo '  fi # egrep' >>$CONFIG_STATUS
7877 > echo '  fi # grep' >>$CONFIG_STATUS
7878   echo >>$CONFIG_STATUS
7879  
7880   # Break up conftest.undefs because some shells have a limit on the size
# Line 6174 | Line 7902 | cat >>$CONFIG_STATUS <<\EOF
7902   done
7903   rm -f conftest.undefs
7904  
7905 < cat >>$CONFIG_STATUS <<\EOF
7905 > cat >>$CONFIG_STATUS <<\_ACEOF
7906    # Let's still pretend it is `configure' which instantiates (i.e., don't
7907    # use $as_me), people would be surprised to read:
7908 <  #    /* config.h.  Generated automatically by config.status.  */
7908 >  #    /* config.h.  Generated by config.status.  */
7909    if test x"$ac_file" = x-; then
7910 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
7910 >    echo "/* Generated by configure.  */" >$tmp/config.h
7911    else
7912 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
7912 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
7913    fi
7914    cat $tmp/in >>$tmp/config.h
7915    rm -f $tmp/in
7916    if test x"$ac_file" != x-; then
7917 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
7918 <      { echo "$as_me:6190: $ac_file is unchanged" >&5
7917 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7918 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7919   echo "$as_me: $ac_file is unchanged" >&6;}
7920      else
7921 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7921 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7922 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7923           X"$ac_file" : 'X\(//\)[^/]' \| \
7924           X"$ac_file" : 'X\(//\)$' \| \
7925           X"$ac_file" : 'X\(/\)' \| \
# Line 6201 | Line 7930 | echo X"$ac_file" |
7930            /^X\(\/\/\)$/{ s//\1/; q; }
7931            /^X\(\/\).*/{ s//\1/; q; }
7932            s/.*/./; q'`
7933 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7934 <        { case "$ac_dir" in
7935 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
7936 <  *)                      as_incr_dir=.;;
7937 < esac
7938 < as_dummy="$ac_dir"
7939 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7940 <  case $as_mkdir_dir in
7941 <    # Skip DOS drivespec
7942 <    ?:) as_incr_dir=$as_mkdir_dir ;;
7943 <    *)
7944 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
7945 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7946 <    ;;
7947 <  esac
7948 < done; }
7933 >      { if $as_mkdir_p; then
7934 >    mkdir -p "$ac_dir"
7935 >  else
7936 >    as_dir="$ac_dir"
7937 >    as_dirs=
7938 >    while test ! -d "$as_dir"; do
7939 >      as_dirs="$as_dir $as_dirs"
7940 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7941 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7942 >         X"$as_dir" : 'X\(//\)[^/]' \| \
7943 >         X"$as_dir" : 'X\(//\)$' \| \
7944 >         X"$as_dir" : 'X\(/\)' \| \
7945 >         .     : '\(.\)' 2>/dev/null ||
7946 > echo X"$as_dir" |
7947 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7948 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7949 >          /^X\(\/\/\)$/{ s//\1/; q; }
7950 >          /^X\(\/\).*/{ s//\1/; q; }
7951 >          s/.*/./; q'`
7952 >    done
7953 >    test ! -n "$as_dirs" || mkdir $as_dirs
7954 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7955 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7956 >   { (exit 1); exit 1; }; }; }
7957  
6221      fi
7958        rm -f $ac_file
7959        mv $tmp/config.h $ac_file
7960      fi
# Line 6227 | Line 7963 | EOF
7963      rm -f $tmp/config.h
7964    fi
7965   done
7966 < EOF
7966 > _ACEOF
7967  
7968 < cat >>$CONFIG_STATUS <<\EOF
7968 > cat >>$CONFIG_STATUS <<\_ACEOF
7969  
7970   { (exit 0); exit 0; }
7971 < EOF
7971 > _ACEOF
7972   chmod +x $CONFIG_STATUS
7973   ac_clean_files=$ac_clean_files_save
7974  
7975 +
7976   # configure is writing to config.log, and then calls config.status.
7977   # config.status does its own redirection, appending to config.log.
7978   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 6246 | Line 7983 | if test "$no_create" != yes; then
7983   # need to make the FD available again.
7984   if test "$no_create" != yes; then
7985    ac_cs_success=:
7986 +  ac_config_status_args=
7987 +  test "$silent" = yes &&
7988 +    ac_config_status_args="$ac_config_status_args --quiet"
7989    exec 5>/dev/null
7990 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
7990 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7991    exec 5>>config.log
7992    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7993    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines