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 827 by gezelter, Tue Oct 28 16:02:29 2003 UTC vs.
Revision 838 by gezelter, Wed Oct 29 03:06:51 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_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC 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 143 | Line 351 | mandir='${prefix}/man'
351   oldincludedir='/usr/include'
352   infodir='${prefix}/info'
353   mandir='${prefix}/man'
146
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'
354  
355   ac_prev=
356   for ac_option
# 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 455 | Line 656 | fi
656    { echo "$as_me: error: missing argument to $ac_option" >&2
657     { (exit 1); exit 1; }; }
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 680 | 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.
692 <    ac_dots=`echo $ac_subdir |
693 <             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 ;;
702 <    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 721 | 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 766 | 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  
769 PATH = $PATH
770
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
775 < ## ------------ ##
776 < ## Core tests.  ##
777 < ## ------------ ##
1025 > cat >&5 <<_ACEOF
1026  
779 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 851 | 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 862 | 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:865: 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 873 | 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:876: 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 881 | Line 1229 | else
1229      esac
1230    fi
1231   else
1232 <  { echo "$as_me:884: 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 897 | 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:900: 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:904: 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:910: 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:912: WARNING:   former value:  $ac_old_val" >&5
1261 < echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
1262 <        { echo "$as_me:914: 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:921: 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:923: 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 930 | 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  
933 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
934  *c*,-n*) ECHO_N= ECHO_C='
935 ' ECHO_T='      ' ;;
936  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
937  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
938 esac
939 echo "#! $SHELL" >conftest.sh
940 echo  "exit 0"   >>conftest.sh
941 chmod +x conftest.sh
942 if { (echo "$as_me:942: PATH=\".;.\"; conftest.sh") >&5
943  (PATH=".;."; conftest.sh) 2>&5
944  ac_status=$?
945  echo "$as_me:945: \$? = $ac_status" >&5
946  (exit $ac_status); }; then
947  ac_path_separator=';'
948 else
949  ac_path_separator=:
950 fi
951 PATH_SEPARATOR="$ac_path_separator"
952 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 968 | 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:971: 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 976 | 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 1026 | 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 1061 | 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 1091 | 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 1102 | 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 1112 | 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 1126 | Line 1506 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
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 1139 | 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.  ##
# Line 1153 | 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 1178 | 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 1204 | 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 1222 | 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 1231 | 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 1258 | 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 1277 | 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 1285 | 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 1292 | 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 1306 | 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 1315 | 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 1342 | 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 1361 | 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 1369 | 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
1792   # $SHELLVAR to the Fortran 95 mangled name.  If the SHELLVAR
1793   # argument is not supplied, it defaults to NAME.
1794   # AC_F95_FUNC
1795 +
1796 +
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 +
1832 +
1833 +
1834 +
1835 +
1836 +
1837 +
1838 +
1839   # set program name
1840   PROGNAME="oopse"
1841  
1842 +
1843   # there are two ways to do debugging.  One with the --enable-debug flag
1844   # and one using the DEBUG environment variable
1845  
# Line 1390 | Line 1851 | cat >>confdefs.h <<\EOF
1851   fi;
1852   if test "${DEBUG}"; then
1853  
1854 < cat >>confdefs.h <<\EOF
1854 > cat >>confdefs.h <<\_ACEOF
1855   #define debug 1
1856 < EOF
1856 > _ACEOF
1857  
1858    msg="$msg, debug mode"
1859   fi
1860  
1861 +
1862   # who am i
1863   # Make sure we can run config.sub.
1864   $ac_config_sub sun4 >/dev/null 2>&1 ||
1865 <  { { echo "$as_me:1403: error: cannot run $ac_config_sub" >&5
1865 >  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1866   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1867     { (exit 1); exit 1; }; }
1868  
1869 < echo "$as_me:1407: checking build system type" >&5
1869 > echo "$as_me:$LINENO: checking build system type" >&5
1870   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1871   if test "${ac_cv_build+set}" = set; then
1872    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1413 | Line 1875 | test -z "$ac_cv_build_alias" &&
1875   test -z "$ac_cv_build_alias" &&
1876    ac_cv_build_alias=`$ac_config_guess`
1877   test -z "$ac_cv_build_alias" &&
1878 <  { { echo "$as_me:1416: error: cannot guess build type; you must specify one" >&5
1878 >  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1879   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1880     { (exit 1); exit 1; }; }
1881   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1882 <  { { echo "$as_me:1420: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1883 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1882 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1883 > echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1884     { (exit 1); exit 1; }; }
1885  
1886   fi
1887 < echo "$as_me:1425: result: $ac_cv_build" >&5
1887 > echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1888   echo "${ECHO_T}$ac_cv_build" >&6
1889   build=$ac_cv_build
1890   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1891   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1892   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1893  
1894 < echo "$as_me:1432: checking host system type" >&5
1894 >
1895 > echo "$as_me:$LINENO: checking host system type" >&5
1896   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1897   if test "${ac_cv_host+set}" = set; then
1898    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1438 | Line 1901 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1901   test -z "$ac_cv_host_alias" &&
1902    ac_cv_host_alias=$ac_cv_build_alias
1903   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1904 <  { { echo "$as_me:1441: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1904 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1905   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1906     { (exit 1); exit 1; }; }
1907  
1908   fi
1909 < echo "$as_me:1446: result: $ac_cv_host" >&5
1909 > echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1910   echo "${ECHO_T}$ac_cv_host" >&6
1911   host=$ac_cv_host
1912   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1913   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1914   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1915  
1916 +
1917 +
1918   ac_ext=c
1919   ac_cpp='$CPP $CPPFLAGS'
1920   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1460 | Line 1925 | echo "$as_me:1463: checking for $ac_word" >&5
1925    do
1926      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1927   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1928 < echo "$as_me:1463: checking for $ac_word" >&5
1928 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1929   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1930   if test "${ac_cv_prog_CC+set}" = set; then
1931    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1468 | Line 1933 | else
1933    if test -n "$CC"; then
1934    ac_cv_prog_CC="$CC" # Let the user override the test.
1935   else
1936 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1937 < ac_dummy="$PATH"
1938 < for ac_dir in $ac_dummy; do
1939 <  IFS=$ac_save_IFS
1940 <  test -z "$ac_dir" && ac_dir=.
1941 <  $as_executable_p "$ac_dir/$ac_word" || continue
1942 < ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1943 < echo "$as_me:1478: found $ac_dir/$ac_word" >&5
1944 < break
1936 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 > for as_dir in $PATH
1938 > do
1939 >  IFS=$as_save_IFS
1940 >  test -z "$as_dir" && as_dir=.
1941 >  for ac_exec_ext in '' $ac_executable_extensions; do
1942 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1943 >    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1944 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 >    break 2
1946 >  fi
1947   done
1948 + done
1949  
1950   fi
1951   fi
1952   CC=$ac_cv_prog_CC
1953   if test -n "$CC"; then
1954 <  echo "$as_me:1486: result: $CC" >&5
1954 >  echo "$as_me:$LINENO: result: $CC" >&5
1955   echo "${ECHO_T}$CC" >&6
1956   else
1957 <  echo "$as_me:1489: result: no" >&5
1957 >  echo "$as_me:$LINENO: result: no" >&5
1958   echo "${ECHO_T}no" >&6
1959   fi
1960  
# Line 1499 | Line 1967 | echo "$as_me:1502: checking for $ac_word" >&5
1967   do
1968    # Extract the first word of "$ac_prog", so it can be a program name with args.
1969   set dummy $ac_prog; ac_word=$2
1970 < echo "$as_me:1502: checking for $ac_word" >&5
1970 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1971   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1972   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1973    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1507 | Line 1975 | else
1975    if test -n "$ac_ct_CC"; then
1976    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1977   else
1978 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1979 < ac_dummy="$PATH"
1980 < for ac_dir in $ac_dummy; do
1981 <  IFS=$ac_save_IFS
1982 <  test -z "$ac_dir" && ac_dir=.
1983 <  $as_executable_p "$ac_dir/$ac_word" || continue
1984 < ac_cv_prog_ac_ct_CC="$ac_prog"
1985 < echo "$as_me:1517: found $ac_dir/$ac_word" >&5
1986 < break
1978 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 > for as_dir in $PATH
1980 > do
1981 >  IFS=$as_save_IFS
1982 >  test -z "$as_dir" && as_dir=.
1983 >  for ac_exec_ext in '' $ac_executable_extensions; do
1984 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985 >    ac_cv_prog_ac_ct_CC="$ac_prog"
1986 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 >    break 2
1988 >  fi
1989   done
1990 + done
1991  
1992   fi
1993   fi
1994   ac_ct_CC=$ac_cv_prog_ac_ct_CC
1995   if test -n "$ac_ct_CC"; then
1996 <  echo "$as_me:1525: result: $ac_ct_CC" >&5
1996 >  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1997   echo "${ECHO_T}$ac_ct_CC" >&6
1998   else
1999 <  echo "$as_me:1528: result: no" >&5
1999 >  echo "$as_me:$LINENO: result: no" >&5
2000   echo "${ECHO_T}no" >&6
2001   fi
2002  
# Line 1535 | Line 2006 | test -z "$CC" && { { echo "$as_me:1538: error: no acce
2006    CC=$ac_ct_CC
2007   fi
2008  
2009 < test -z "$CC" && { { echo "$as_me:1538: error: no acceptable cc found in \$PATH" >&5
2010 < echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2009 >
2010 > test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2011 > See \`config.log' for more details." >&5
2012 > echo "$as_me: error: no acceptable C compiler found in \$PATH
2013 > See \`config.log' for more details." >&2;}
2014     { (exit 1); exit 1; }; }
2015  
2016 + # Provide some information about the compiler.
2017 + echo "$as_me:$LINENO:" \
2018 +     "checking for C compiler version" >&5
2019 + ac_compiler=`set X $ac_compile; echo $2`
2020 + { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2021 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
2022 +  ac_status=$?
2023 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 +  (exit $ac_status); }
2025 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2026 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
2027 +  ac_status=$?
2028 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 +  (exit $ac_status); }
2030 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2031 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
2032 +  ac_status=$?
2033 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 +  (exit $ac_status); }
2035 +
2036   cat >conftest.$ac_ext <<_ACEOF
2037 < #line 1543 "configure"
2038 < #include "confdefs.h"
2037 > #line $LINENO "configure"
2038 > /* confdefs.h.  */
2039 > _ACEOF
2040 > cat confdefs.h >>conftest.$ac_ext
2041 > cat >>conftest.$ac_ext <<_ACEOF
2042 > /* end confdefs.h.  */
2043  
2044   int
2045   main ()
# Line 1552 | Line 2050 | ac_clean_files="$ac_clean_files a.out a.exe"
2050   }
2051   _ACEOF
2052   ac_clean_files_save=$ac_clean_files
2053 < ac_clean_files="$ac_clean_files a.out a.exe"
2053 > ac_clean_files="$ac_clean_files a.out a.exe b.out"
2054   # Try to create an executable without -o first, disregard a.out.
2055 < # It will help us diagnose broken compiler, and finding out an intuition
2055 > # It will help us diagnose broken compilers, and finding out an intuition
2056   # of exeext.
2057 < echo "$as_me:1559: checking for C compiler default output" >&5
2057 > echo "$as_me:$LINENO: checking for C compiler default output" >&5
2058   echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2059   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2060 < if { (eval echo "$as_me:1562: \"$ac_link_default\"") >&5
2060 > if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2061    (eval $ac_link_default) 2>&5
2062    ac_status=$?
2063 <  echo "$as_me:1565: \$? = $ac_status" >&5
2063 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064    (exit $ac_status); }; then
2065 <  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
2065 >  # Find the output, starting from the most likely.  This scheme is
2066 > # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2067 > # resort.
2068 >
2069 > # Be careful to initialize this variable, since it used to be cached.
2070 > # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2071 > ac_cv_exeext=
2072 > # b.out is created by i960 compilers.
2073 > for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2074 > do
2075 >  test -f "$ac_file" || continue
2076    case $ac_file in
2077 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2078 <    a.out ) # We found the default executable, but exeext='' is most
2079 <            # certainly right.
2080 <            break;;
2081 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2082 <          export ac_cv_exeext
2083 <          break;;
2084 <    * ) break;;
2077 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2078 >        ;;
2079 >    conftest.$ac_ext )
2080 >        # This is the source file.
2081 >        ;;
2082 >    [ab].out )
2083 >        # We found the default executable, but exeext='' is most
2084 >        # certainly right.
2085 >        break;;
2086 >    *.* )
2087 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2088 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2089 >        # but it would be cool to find out if it's true.  Does anybody
2090 >        # maintain Libtool? --akim.
2091 >        export ac_cv_exeext
2092 >        break;;
2093 >    * )
2094 >        break;;
2095    esac
2096   done
2097   else
2098    echo "$as_me: failed program was:" >&5
2099 < cat conftest.$ac_ext >&5
2100 < { { echo "$as_me:1582: error: C compiler cannot create executables" >&5
2101 < echo "$as_me: error: C compiler cannot create executables" >&2;}
2099 > sed 's/^/| /' conftest.$ac_ext >&5
2100 >
2101 > { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2102 > See \`config.log' for more details." >&5
2103 > echo "$as_me: error: C compiler cannot create executables
2104 > See \`config.log' for more details." >&2;}
2105     { (exit 77); exit 77; }; }
2106   fi
2107  
2108   ac_exeext=$ac_cv_exeext
2109 < echo "$as_me:1588: result: $ac_file" >&5
2109 > echo "$as_me:$LINENO: result: $ac_file" >&5
2110   echo "${ECHO_T}$ac_file" >&6
2111  
2112   # Check the compiler produces executables we can run.  If not, either
2113   # the compiler is broken, or we cross compile.
2114 < echo "$as_me:1593: checking whether the C compiler works" >&5
2114 > echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2115   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2116   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2117   # If not cross compiling, check that we can run a simple program.
2118   if test "$cross_compiling" != yes; then
2119    if { ac_try='./$ac_file'
2120 <  { (eval echo "$as_me:1599: \"$ac_try\"") >&5
2120 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121    (eval $ac_try) 2>&5
2122    ac_status=$?
2123 <  echo "$as_me:1602: \$? = $ac_status" >&5
2123 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124    (exit $ac_status); }; }; then
2125      cross_compiling=no
2126    else
2127      if test "$cross_compiling" = maybe; then
2128          cross_compiling=yes
2129      else
2130 <        { { echo "$as_me:1609: error: cannot run C compiled programs.
2131 < If you meant to cross compile, use \`--host'." >&5
2130 >        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2131 > If you meant to cross compile, use \`--host'.
2132 > See \`config.log' for more details." >&5
2133   echo "$as_me: error: cannot run C compiled programs.
2134 < If you meant to cross compile, use \`--host'." >&2;}
2134 > If you meant to cross compile, use \`--host'.
2135 > See \`config.log' for more details." >&2;}
2136     { (exit 1); exit 1; }; }
2137      fi
2138    fi
2139   fi
2140 < echo "$as_me:1617: result: yes" >&5
2140 > echo "$as_me:$LINENO: result: yes" >&5
2141   echo "${ECHO_T}yes" >&6
2142  
2143 < rm -f a.out a.exe conftest$ac_cv_exeext
2143 > rm -f a.out a.exe conftest$ac_cv_exeext b.out
2144   ac_clean_files=$ac_clean_files_save
2145   # Check the compiler produces executables we can run.  If not, either
2146   # the compiler is broken, or we cross compile.
2147 < echo "$as_me:1624: checking whether we are cross compiling" >&5
2147 > echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2148   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2149 < echo "$as_me:1626: result: $cross_compiling" >&5
2149 > echo "$as_me:$LINENO: result: $cross_compiling" >&5
2150   echo "${ECHO_T}$cross_compiling" >&6
2151  
2152 < echo "$as_me:1629: checking for executable suffix" >&5
2153 < echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2154 < if { (eval echo "$as_me:1631: \"$ac_link\"") >&5
2152 > echo "$as_me:$LINENO: checking for suffix of executables" >&5
2153 > echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2154 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2155    (eval $ac_link) 2>&5
2156    ac_status=$?
2157 <  echo "$as_me:1634: \$? = $ac_status" >&5
2157 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158    (exit $ac_status); }; then
2159    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2160   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2161   # work properly (i.e., refer to `conftest.exe'), while it won't with
2162   # `rm'.
2163 < for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2163 > for ac_file in conftest.exe conftest conftest.*; do
2164 >  test -f "$ac_file" || continue
2165    case $ac_file in
2166 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2166 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2167      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2168            export ac_cv_exeext
2169            break;;
# Line 1647 | Line 2171 | else
2171    esac
2172   done
2173   else
2174 <  { { echo "$as_me:1650: error: cannot compute EXEEXT: cannot compile and link" >&5
2175 < echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2174 >  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2175 > See \`config.log' for more details." >&5
2176 > echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2177 > See \`config.log' for more details." >&2;}
2178     { (exit 1); exit 1; }; }
2179   fi
2180  
2181   rm -f conftest$ac_cv_exeext
2182 < echo "$as_me:1656: result: $ac_cv_exeext" >&5
2182 > echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2183   echo "${ECHO_T}$ac_cv_exeext" >&6
2184  
2185   rm -f conftest.$ac_ext
2186   EXEEXT=$ac_cv_exeext
2187   ac_exeext=$EXEEXT
2188 < echo "$as_me:1662: checking for object suffix" >&5
2189 < echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2188 > echo "$as_me:$LINENO: checking for suffix of object files" >&5
2189 > echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2190   if test "${ac_cv_objext+set}" = set; then
2191    echo $ECHO_N "(cached) $ECHO_C" >&6
2192   else
2193    cat >conftest.$ac_ext <<_ACEOF
2194 < #line 1668 "configure"
2195 < #include "confdefs.h"
2194 > #line $LINENO "configure"
2195 > /* confdefs.h.  */
2196 > _ACEOF
2197 > cat confdefs.h >>conftest.$ac_ext
2198 > cat >>conftest.$ac_ext <<_ACEOF
2199 > /* end confdefs.h.  */
2200  
2201   int
2202   main ()
# Line 1677 | Line 2207 | if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5
2207   }
2208   _ACEOF
2209   rm -f conftest.o conftest.obj
2210 < if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5
2210 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2211    (eval $ac_compile) 2>&5
2212    ac_status=$?
2213 <  echo "$as_me:1683: \$? = $ac_status" >&5
2213 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214    (exit $ac_status); }; then
2215    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2216    case $ac_file in
2217 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2217 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2218      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2219         break;;
2220    esac
2221   done
2222   else
2223    echo "$as_me: failed program was:" >&5
2224 < cat conftest.$ac_ext >&5
2225 < { { echo "$as_me:1695: error: cannot compute OBJEXT: cannot compile" >&5
2226 < echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2224 > sed 's/^/| /' conftest.$ac_ext >&5
2225 >
2226 > { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2227 > See \`config.log' for more details." >&5
2228 > echo "$as_me: error: cannot compute suffix of object files: cannot compile
2229 > See \`config.log' for more details." >&2;}
2230     { (exit 1); exit 1; }; }
2231   fi
2232  
2233   rm -f conftest.$ac_cv_objext conftest.$ac_ext
2234   fi
2235 < echo "$as_me:1702: result: $ac_cv_objext" >&5
2235 > echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2236   echo "${ECHO_T}$ac_cv_objext" >&6
2237   OBJEXT=$ac_cv_objext
2238   ac_objext=$OBJEXT
2239 < echo "$as_me:1706: checking whether we are using the GNU C compiler" >&5
2239 > echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2240   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2241   if test "${ac_cv_c_compiler_gnu+set}" = set; then
2242    echo $ECHO_N "(cached) $ECHO_C" >&6
2243   else
2244    cat >conftest.$ac_ext <<_ACEOF
2245 < #line 1712 "configure"
2246 < #include "confdefs.h"
2245 > #line $LINENO "configure"
2246 > /* confdefs.h.  */
2247 > _ACEOF
2248 > cat confdefs.h >>conftest.$ac_ext
2249 > cat >>conftest.$ac_ext <<_ACEOF
2250 > /* end confdefs.h.  */
2251  
2252   int
2253   main ()
# Line 1724 | Line 2261 | if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5
2261   }
2262   _ACEOF
2263   rm -f conftest.$ac_objext
2264 < if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5
2264 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2265    (eval $ac_compile) 2>&5
2266    ac_status=$?
2267 <  echo "$as_me:1730: \$? = $ac_status" >&5
2267 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268    (exit $ac_status); } &&
2269           { ac_try='test -s conftest.$ac_objext'
2270 <  { (eval echo "$as_me:1733: \"$ac_try\"") >&5
2270 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271    (eval $ac_try) 2>&5
2272    ac_status=$?
2273 <  echo "$as_me:1736: \$? = $ac_status" >&5
2273 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274    (exit $ac_status); }; }; then
2275    ac_compiler_gnu=yes
2276   else
2277    echo "$as_me: failed program was:" >&5
2278 < cat conftest.$ac_ext >&5
2278 > sed 's/^/| /' conftest.$ac_ext >&5
2279 >
2280   ac_compiler_gnu=no
2281   fi
2282   rm -f conftest.$ac_objext conftest.$ac_ext
2283   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2284  
2285   fi
2286 < echo "$as_me:1748: result: $ac_cv_c_compiler_gnu" >&5
2286 > echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2287   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2288   GCC=`test $ac_compiler_gnu = yes && echo yes`
2289   ac_test_CFLAGS=${CFLAGS+set}
2290   ac_save_CFLAGS=$CFLAGS
2291   CFLAGS="-g"
2292 < echo "$as_me:1754: checking whether $CC accepts -g" >&5
2292 > echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2293   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2294   if test "${ac_cv_prog_cc_g+set}" = set; then
2295    echo $ECHO_N "(cached) $ECHO_C" >&6
2296   else
2297    cat >conftest.$ac_ext <<_ACEOF
2298 < #line 1760 "configure"
2299 < #include "confdefs.h"
2298 > #line $LINENO "configure"
2299 > /* confdefs.h.  */
2300 > _ACEOF
2301 > cat confdefs.h >>conftest.$ac_ext
2302 > cat >>conftest.$ac_ext <<_ACEOF
2303 > /* end confdefs.h.  */
2304  
2305   int
2306   main ()
# Line 1769 | Line 2311 | if { (eval echo "$as_me:1772: \"$ac_compile\"") >&5
2311   }
2312   _ACEOF
2313   rm -f conftest.$ac_objext
2314 < if { (eval echo "$as_me:1772: \"$ac_compile\"") >&5
2314 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2315    (eval $ac_compile) 2>&5
2316    ac_status=$?
2317 <  echo "$as_me:1775: \$? = $ac_status" >&5
2317 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318    (exit $ac_status); } &&
2319           { ac_try='test -s conftest.$ac_objext'
2320 <  { (eval echo "$as_me:1778: \"$ac_try\"") >&5
2320 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2321    (eval $ac_try) 2>&5
2322    ac_status=$?
2323 <  echo "$as_me:1781: \$? = $ac_status" >&5
2323 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324    (exit $ac_status); }; }; then
2325    ac_cv_prog_cc_g=yes
2326   else
2327    echo "$as_me: failed program was:" >&5
2328 < cat conftest.$ac_ext >&5
2328 > sed 's/^/| /' conftest.$ac_ext >&5
2329 >
2330   ac_cv_prog_cc_g=no
2331   fi
2332   rm -f conftest.$ac_objext conftest.$ac_ext
2333   fi
2334 < echo "$as_me:1791: result: $ac_cv_prog_cc_g" >&5
2334 > echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2335   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2336   if test "$ac_test_CFLAGS" = set; then
2337    CFLAGS=$ac_save_CFLAGS
# Line 1804 | Line 2347 | fi
2347    else
2348      CFLAGS=
2349    fi
2350 + fi
2351 + echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2352 + echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2353 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
2354 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2355 + else
2356 +  ac_cv_prog_cc_stdc=no
2357 + ac_save_CC=$CC
2358 + cat >conftest.$ac_ext <<_ACEOF
2359 + #line $LINENO "configure"
2360 + /* confdefs.h.  */
2361 + _ACEOF
2362 + cat confdefs.h >>conftest.$ac_ext
2363 + cat >>conftest.$ac_ext <<_ACEOF
2364 + /* end confdefs.h.  */
2365 + #include <stdarg.h>
2366 + #include <stdio.h>
2367 + #include <sys/types.h>
2368 + #include <sys/stat.h>
2369 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2370 + struct buf { int x; };
2371 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
2372 + static char *e (p, i)
2373 +     char **p;
2374 +     int i;
2375 + {
2376 +  return p[i];
2377 + }
2378 + static char *f (char * (*g) (char **, int), char **p, ...)
2379 + {
2380 +  char *s;
2381 +  va_list v;
2382 +  va_start (v,p);
2383 +  s = g (p, va_arg (v,int));
2384 +  va_end (v);
2385 +  return s;
2386 + }
2387 + int test (int i, double x);
2388 + struct s1 {int (*f) (int a);};
2389 + struct s2 {int (*f) (double a);};
2390 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2391 + int argc;
2392 + char **argv;
2393 + int
2394 + main ()
2395 + {
2396 + return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2397 +  ;
2398 +  return 0;
2399 + }
2400 + _ACEOF
2401 + # Don't try gcc -ansi; that turns off useful extensions and
2402 + # breaks some systems' header files.
2403 + # AIX                   -qlanglvl=ansi
2404 + # Ultrix and OSF/1      -std1
2405 + # HP-UX 10.20 and later -Ae
2406 + # HP-UX older versions  -Aa -D_HPUX_SOURCE
2407 + # SVR4                  -Xc -D__EXTENSIONS__
2408 + for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2409 + do
2410 +  CC="$ac_save_CC $ac_arg"
2411 +  rm -f conftest.$ac_objext
2412 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2413 +  (eval $ac_compile) 2>&5
2414 +  ac_status=$?
2415 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 +  (exit $ac_status); } &&
2417 +         { ac_try='test -s conftest.$ac_objext'
2418 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 +  (eval $ac_try) 2>&5
2420 +  ac_status=$?
2421 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 +  (exit $ac_status); }; }; then
2423 +  ac_cv_prog_cc_stdc=$ac_arg
2424 + break
2425 + else
2426 +  echo "$as_me: failed program was:" >&5
2427 + sed 's/^/| /' conftest.$ac_ext >&5
2428 +
2429   fi
2430 + rm -f conftest.$ac_objext
2431 + done
2432 + rm -f conftest.$ac_ext conftest.$ac_objext
2433 + CC=$ac_save_CC
2434 +
2435 + fi
2436 +
2437 + case "x$ac_cv_prog_cc_stdc" in
2438 +  x|xno)
2439 +    echo "$as_me:$LINENO: result: none needed" >&5
2440 + echo "${ECHO_T}none needed" >&6 ;;
2441 +  *)
2442 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2443 + echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2444 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
2445 + esac
2446 +
2447   # Some people use a C++ compiler to compile C.  Since we use `exit',
2448   # in C++ we need to declare it.  In case someone uses the same compiler
2449   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1815 | Line 2454 | if { (eval echo "$as_me:1818: \"$ac_compile\"") >&5
2454   #endif
2455   _ACEOF
2456   rm -f conftest.$ac_objext
2457 < if { (eval echo "$as_me:1818: \"$ac_compile\"") >&5
2457 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2458    (eval $ac_compile) 2>&5
2459    ac_status=$?
2460 <  echo "$as_me:1821: \$? = $ac_status" >&5
2460 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461    (exit $ac_status); } &&
2462           { ac_try='test -s conftest.$ac_objext'
2463 <  { (eval echo "$as_me:1824: \"$ac_try\"") >&5
2463 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464    (eval $ac_try) 2>&5
2465    ac_status=$?
2466 <  echo "$as_me:1827: \$? = $ac_status" >&5
2466 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467    (exit $ac_status); }; }; then
2468    for ac_declaration in \
2469     ''\
# Line 1836 | Line 2475 | do
2475     'void exit (int);'
2476   do
2477    cat >conftest.$ac_ext <<_ACEOF
2478 < #line 1839 "configure"
2479 < #include "confdefs.h"
2478 > #line $LINENO "configure"
2479 > /* confdefs.h.  */
2480 > _ACEOF
2481 > cat confdefs.h >>conftest.$ac_ext
2482 > cat >>conftest.$ac_ext <<_ACEOF
2483 > /* end confdefs.h.  */
2484   #include <stdlib.h>
2485   $ac_declaration
2486   int
# Line 1849 | Line 2492 | if { (eval echo "$as_me:1852: \"$ac_compile\"") >&5
2492   }
2493   _ACEOF
2494   rm -f conftest.$ac_objext
2495 < if { (eval echo "$as_me:1852: \"$ac_compile\"") >&5
2495 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496    (eval $ac_compile) 2>&5
2497    ac_status=$?
2498 <  echo "$as_me:1855: \$? = $ac_status" >&5
2498 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499    (exit $ac_status); } &&
2500           { ac_try='test -s conftest.$ac_objext'
2501 <  { (eval echo "$as_me:1858: \"$ac_try\"") >&5
2501 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502    (eval $ac_try) 2>&5
2503    ac_status=$?
2504 <  echo "$as_me:1861: \$? = $ac_status" >&5
2504 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505    (exit $ac_status); }; }; then
2506    :
2507   else
2508    echo "$as_me: failed program was:" >&5
2509 < cat conftest.$ac_ext >&5
2509 > sed 's/^/| /' conftest.$ac_ext >&5
2510 >
2511   continue
2512   fi
2513   rm -f conftest.$ac_objext conftest.$ac_ext
2514    cat >conftest.$ac_ext <<_ACEOF
2515 < #line 1871 "configure"
2516 < #include "confdefs.h"
2515 > #line $LINENO "configure"
2516 > /* confdefs.h.  */
2517 > _ACEOF
2518 > cat confdefs.h >>conftest.$ac_ext
2519 > cat >>conftest.$ac_ext <<_ACEOF
2520 > /* end confdefs.h.  */
2521   $ac_declaration
2522   int
2523   main ()
# Line 1880 | Line 2528 | if { (eval echo "$as_me:1883: \"$ac_compile\"") >&5
2528   }
2529   _ACEOF
2530   rm -f conftest.$ac_objext
2531 < if { (eval echo "$as_me:1883: \"$ac_compile\"") >&5
2531 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2532    (eval $ac_compile) 2>&5
2533    ac_status=$?
2534 <  echo "$as_me:1886: \$? = $ac_status" >&5
2534 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535    (exit $ac_status); } &&
2536           { ac_try='test -s conftest.$ac_objext'
2537 <  { (eval echo "$as_me:1889: \"$ac_try\"") >&5
2537 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538    (eval $ac_try) 2>&5
2539    ac_status=$?
2540 <  echo "$as_me:1892: \$? = $ac_status" >&5
2540 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541    (exit $ac_status); }; }; then
2542    break
2543   else
2544    echo "$as_me: failed program was:" >&5
2545 < cat conftest.$ac_ext >&5
2545 > sed 's/^/| /' conftest.$ac_ext >&5
2546 >
2547   fi
2548   rm -f conftest.$ac_objext conftest.$ac_ext
2549   done
2550 < echo '#ifdef __cplusplus' >>confdefs.h
2551 < echo $ac_declaration      >>confdefs.h
2552 < echo '#endif'             >>confdefs.h
2550 > rm -f conftest*
2551 > if test -n "$ac_declaration"; then
2552 >  echo '#ifdef __cplusplus' >>confdefs.h
2553 >  echo $ac_declaration      >>confdefs.h
2554 >  echo '#endif'             >>confdefs.h
2555 > fi
2556  
2557   else
2558    echo "$as_me: failed program was:" >&5
2559 < cat conftest.$ac_ext >&5
2559 > sed 's/^/| /' conftest.$ac_ext >&5
2560 >
2561   fi
2562   rm -f conftest.$ac_objext conftest.$ac_ext
2563   ac_ext=c
# Line 1923 | Line 2576 | echo "$as_me:1926: checking for $ac_word" >&5
2576    do
2577      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2578   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2579 < echo "$as_me:1926: checking for $ac_word" >&5
2579 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2580   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2581   if test "${ac_cv_prog_CXX+set}" = set; then
2582    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1931 | Line 2584 | else
2584    if test -n "$CXX"; then
2585    ac_cv_prog_CXX="$CXX" # Let the user override the test.
2586   else
2587 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2588 < ac_dummy="$PATH"
2589 < for ac_dir in $ac_dummy; do
2590 <  IFS=$ac_save_IFS
2591 <  test -z "$ac_dir" && ac_dir=.
2592 <  $as_executable_p "$ac_dir/$ac_word" || continue
2593 < ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2594 < echo "$as_me:1941: found $ac_dir/$ac_word" >&5
2595 < break
2587 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588 > for as_dir in $PATH
2589 > do
2590 >  IFS=$as_save_IFS
2591 >  test -z "$as_dir" && as_dir=.
2592 >  for ac_exec_ext in '' $ac_executable_extensions; do
2593 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2594 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2595 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 >    break 2
2597 >  fi
2598   done
2599 + done
2600  
2601   fi
2602   fi
2603   CXX=$ac_cv_prog_CXX
2604   if test -n "$CXX"; then
2605 <  echo "$as_me:1949: result: $CXX" >&5
2605 >  echo "$as_me:$LINENO: result: $CXX" >&5
2606   echo "${ECHO_T}$CXX" >&6
2607   else
2608 <  echo "$as_me:1952: result: no" >&5
2608 >  echo "$as_me:$LINENO: result: no" >&5
2609   echo "${ECHO_T}no" >&6
2610   fi
2611  
# Line 1962 | Line 2618 | echo "$as_me:1965: checking for $ac_word" >&5
2618   do
2619    # Extract the first word of "$ac_prog", so it can be a program name with args.
2620   set dummy $ac_prog; ac_word=$2
2621 < echo "$as_me:1965: checking for $ac_word" >&5
2621 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2622   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2623   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2624    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1970 | Line 2626 | else
2626    if test -n "$ac_ct_CXX"; then
2627    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2628   else
2629 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2630 < ac_dummy="$PATH"
2631 < for ac_dir in $ac_dummy; do
2632 <  IFS=$ac_save_IFS
2633 <  test -z "$ac_dir" && ac_dir=.
2634 <  $as_executable_p "$ac_dir/$ac_word" || continue
2635 < ac_cv_prog_ac_ct_CXX="$ac_prog"
2636 < echo "$as_me:1980: found $ac_dir/$ac_word" >&5
2637 < break
2629 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 > for as_dir in $PATH
2631 > do
2632 >  IFS=$as_save_IFS
2633 >  test -z "$as_dir" && as_dir=.
2634 >  for ac_exec_ext in '' $ac_executable_extensions; do
2635 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2636 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
2637 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 >    break 2
2639 >  fi
2640   done
2641 + done
2642  
2643   fi
2644   fi
2645   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2646   if test -n "$ac_ct_CXX"; then
2647 <  echo "$as_me:1988: result: $ac_ct_CXX" >&5
2647 >  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2648   echo "${ECHO_T}$ac_ct_CXX" >&6
2649   else
2650 <  echo "$as_me:1991: result: no" >&5
2650 >  echo "$as_me:$LINENO: result: no" >&5
2651   echo "${ECHO_T}no" >&6
2652   fi
2653  
# Line 1999 | Line 2658 | echo "$as_me:2002: checking whether we are using the G
2658    CXX=$ac_ct_CXX
2659   fi
2660  
2661 < echo "$as_me:2002: checking whether we are using the GNU C++ compiler" >&5
2661 >
2662 > # Provide some information about the compiler.
2663 > echo "$as_me:$LINENO:" \
2664 >     "checking for C++ compiler version" >&5
2665 > ac_compiler=`set X $ac_compile; echo $2`
2666 > { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2667 >  (eval $ac_compiler --version </dev/null >&5) 2>&5
2668 >  ac_status=$?
2669 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 >  (exit $ac_status); }
2671 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2672 >  (eval $ac_compiler -v </dev/null >&5) 2>&5
2673 >  ac_status=$?
2674 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 >  (exit $ac_status); }
2676 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2677 >  (eval $ac_compiler -V </dev/null >&5) 2>&5
2678 >  ac_status=$?
2679 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 >  (exit $ac_status); }
2681 >
2682 > echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2683   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2684   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2685    echo $ECHO_N "(cached) $ECHO_C" >&6
2686   else
2687    cat >conftest.$ac_ext <<_ACEOF
2688 < #line 2008 "configure"
2689 < #include "confdefs.h"
2688 > #line $LINENO "configure"
2689 > /* confdefs.h.  */
2690 > _ACEOF
2691 > cat confdefs.h >>conftest.$ac_ext
2692 > cat >>conftest.$ac_ext <<_ACEOF
2693 > /* end confdefs.h.  */
2694  
2695   int
2696   main ()
# Line 2020 | Line 2704 | if { (eval echo "$as_me:2023: \"$ac_compile\"") >&5
2704   }
2705   _ACEOF
2706   rm -f conftest.$ac_objext
2707 < if { (eval echo "$as_me:2023: \"$ac_compile\"") >&5
2707 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2708    (eval $ac_compile) 2>&5
2709    ac_status=$?
2710 <  echo "$as_me:2026: \$? = $ac_status" >&5
2710 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711    (exit $ac_status); } &&
2712           { ac_try='test -s conftest.$ac_objext'
2713 <  { (eval echo "$as_me:2029: \"$ac_try\"") >&5
2713 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714    (eval $ac_try) 2>&5
2715    ac_status=$?
2716 <  echo "$as_me:2032: \$? = $ac_status" >&5
2716 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717    (exit $ac_status); }; }; then
2718    ac_compiler_gnu=yes
2719   else
2720    echo "$as_me: failed program was:" >&5
2721 < cat conftest.$ac_ext >&5
2721 > sed 's/^/| /' conftest.$ac_ext >&5
2722 >
2723   ac_compiler_gnu=no
2724   fi
2725   rm -f conftest.$ac_objext conftest.$ac_ext
2726   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2727  
2728   fi
2729 < echo "$as_me:2044: result: $ac_cv_cxx_compiler_gnu" >&5
2729 > echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2730   echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2731   GXX=`test $ac_compiler_gnu = yes && echo yes`
2732   ac_test_CXXFLAGS=${CXXFLAGS+set}
2733   ac_save_CXXFLAGS=$CXXFLAGS
2734   CXXFLAGS="-g"
2735 < echo "$as_me:2050: checking whether $CXX accepts -g" >&5
2735 > echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2736   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2737   if test "${ac_cv_prog_cxx_g+set}" = set; then
2738    echo $ECHO_N "(cached) $ECHO_C" >&6
2739   else
2740    cat >conftest.$ac_ext <<_ACEOF
2741 < #line 2056 "configure"
2742 < #include "confdefs.h"
2741 > #line $LINENO "configure"
2742 > /* confdefs.h.  */
2743 > _ACEOF
2744 > cat confdefs.h >>conftest.$ac_ext
2745 > cat >>conftest.$ac_ext <<_ACEOF
2746 > /* end confdefs.h.  */
2747  
2748   int
2749   main ()
# Line 2065 | Line 2754 | if { (eval echo "$as_me:2068: \"$ac_compile\"") >&5
2754   }
2755   _ACEOF
2756   rm -f conftest.$ac_objext
2757 < if { (eval echo "$as_me:2068: \"$ac_compile\"") >&5
2757 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758    (eval $ac_compile) 2>&5
2759    ac_status=$?
2760 <  echo "$as_me:2071: \$? = $ac_status" >&5
2760 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761    (exit $ac_status); } &&
2762           { ac_try='test -s conftest.$ac_objext'
2763 <  { (eval echo "$as_me:2074: \"$ac_try\"") >&5
2763 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764    (eval $ac_try) 2>&5
2765    ac_status=$?
2766 <  echo "$as_me:2077: \$? = $ac_status" >&5
2766 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767    (exit $ac_status); }; }; then
2768    ac_cv_prog_cxx_g=yes
2769   else
2770    echo "$as_me: failed program was:" >&5
2771 < cat conftest.$ac_ext >&5
2771 > sed 's/^/| /' conftest.$ac_ext >&5
2772 >
2773   ac_cv_prog_cxx_g=no
2774   fi
2775   rm -f conftest.$ac_objext conftest.$ac_ext
2776   fi
2777 < echo "$as_me:2087: result: $ac_cv_prog_cxx_g" >&5
2777 > echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2778   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2779   if test "$ac_test_CXXFLAGS" = set; then
2780    CXXFLAGS=$ac_save_CXXFLAGS
# Line 2111 | Line 2801 | do
2801     'void exit (int);'
2802   do
2803    cat >conftest.$ac_ext <<_ACEOF
2804 < #line 2114 "configure"
2805 < #include "confdefs.h"
2804 > #line $LINENO "configure"
2805 > /* confdefs.h.  */
2806 > _ACEOF
2807 > cat confdefs.h >>conftest.$ac_ext
2808 > cat >>conftest.$ac_ext <<_ACEOF
2809 > /* end confdefs.h.  */
2810   #include <stdlib.h>
2811   $ac_declaration
2812   int
# Line 2124 | Line 2818 | if { (eval echo "$as_me:2127: \"$ac_compile\"") >&5
2818   }
2819   _ACEOF
2820   rm -f conftest.$ac_objext
2821 < if { (eval echo "$as_me:2127: \"$ac_compile\"") >&5
2821 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2822    (eval $ac_compile) 2>&5
2823    ac_status=$?
2824 <  echo "$as_me:2130: \$? = $ac_status" >&5
2824 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825    (exit $ac_status); } &&
2826           { ac_try='test -s conftest.$ac_objext'
2827 <  { (eval echo "$as_me:2133: \"$ac_try\"") >&5
2827 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2828    (eval $ac_try) 2>&5
2829    ac_status=$?
2830 <  echo "$as_me:2136: \$? = $ac_status" >&5
2830 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831    (exit $ac_status); }; }; then
2832    :
2833   else
2834    echo "$as_me: failed program was:" >&5
2835 < cat conftest.$ac_ext >&5
2835 > sed 's/^/| /' conftest.$ac_ext >&5
2836 >
2837   continue
2838   fi
2839   rm -f conftest.$ac_objext conftest.$ac_ext
2840    cat >conftest.$ac_ext <<_ACEOF
2841 < #line 2146 "configure"
2842 < #include "confdefs.h"
2841 > #line $LINENO "configure"
2842 > /* confdefs.h.  */
2843 > _ACEOF
2844 > cat confdefs.h >>conftest.$ac_ext
2845 > cat >>conftest.$ac_ext <<_ACEOF
2846 > /* end confdefs.h.  */
2847   $ac_declaration
2848   int
2849   main ()
# Line 2155 | Line 2854 | if { (eval echo "$as_me:2158: \"$ac_compile\"") >&5
2854   }
2855   _ACEOF
2856   rm -f conftest.$ac_objext
2857 < if { (eval echo "$as_me:2158: \"$ac_compile\"") >&5
2857 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858    (eval $ac_compile) 2>&5
2859    ac_status=$?
2860 <  echo "$as_me:2161: \$? = $ac_status" >&5
2860 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861    (exit $ac_status); } &&
2862           { ac_try='test -s conftest.$ac_objext'
2863 <  { (eval echo "$as_me:2164: \"$ac_try\"") >&5
2863 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2864    (eval $ac_try) 2>&5
2865    ac_status=$?
2866 <  echo "$as_me:2167: \$? = $ac_status" >&5
2866 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867    (exit $ac_status); }; }; then
2868    break
2869   else
2870    echo "$as_me: failed program was:" >&5
2871 < cat conftest.$ac_ext >&5
2871 > sed 's/^/| /' conftest.$ac_ext >&5
2872 >
2873   fi
2874   rm -f conftest.$ac_objext conftest.$ac_ext
2875   done
2876 < echo '#ifdef __cplusplus' >>confdefs.h
2877 < echo $ac_declaration      >>confdefs.h
2878 < echo '#endif'             >>confdefs.h
2876 > rm -f conftest*
2877 > if test -n "$ac_declaration"; then
2878 >  echo '#ifdef __cplusplus' >>confdefs.h
2879 >  echo $ac_declaration      >>confdefs.h
2880 >  echo '#endif'             >>confdefs.h
2881 > fi
2882  
2883   ac_ext=c
2884   ac_cpp='$CPP $CPPFLAGS'
# Line 2192 | Line 2895 | echo "$as_me:2195: checking for $ac_word" >&5
2895    do
2896      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2897   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2898 < echo "$as_me:2195: checking for $ac_word" >&5
2898 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2899   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2900   if test "${ac_cv_prog_F90+set}" = set; then
2901    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2200 | Line 2903 | else
2903    if test -n "$F90"; then
2904    ac_cv_prog_F90="$F90" # Let the user override the test.
2905   else
2906 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2907 < ac_dummy="$PATH"
2908 < for ac_dir in $ac_dummy; do
2909 <  IFS=$ac_save_IFS
2910 <  test -z "$ac_dir" && ac_dir=.
2911 <  $as_executable_p "$ac_dir/$ac_word" || continue
2912 < ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
2913 < echo "$as_me:2210: found $ac_dir/$ac_word" >&5
2914 < break
2906 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 > for as_dir in $PATH
2908 > do
2909 >  IFS=$as_save_IFS
2910 >  test -z "$as_dir" && as_dir=.
2911 >  for ac_exec_ext in '' $ac_executable_extensions; do
2912 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913 >    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
2914 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 >    break 2
2916 >  fi
2917   done
2918 + done
2919  
2920   fi
2921   fi
2922   F90=$ac_cv_prog_F90
2923   if test -n "$F90"; then
2924 <  echo "$as_me:2218: result: $F90" >&5
2924 >  echo "$as_me:$LINENO: result: $F90" >&5
2925   echo "${ECHO_T}$F90" >&6
2926   else
2927 <  echo "$as_me:2221: result: no" >&5
2927 >  echo "$as_me:$LINENO: result: no" >&5
2928   echo "${ECHO_T}no" >&6
2929   fi
2930  
# Line 2231 | Line 2937 | echo "$as_me:2234: checking for $ac_word" >&5
2937   do
2938    # Extract the first word of "$ac_prog", so it can be a program name with args.
2939   set dummy $ac_prog; ac_word=$2
2940 < echo "$as_me:2234: checking for $ac_word" >&5
2940 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2941   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2942   if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
2943    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2239 | Line 2945 | else
2945    if test -n "$ac_ct_F90"; then
2946    ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
2947   else
2948 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2949 < ac_dummy="$PATH"
2950 < for ac_dir in $ac_dummy; do
2951 <  IFS=$ac_save_IFS
2952 <  test -z "$ac_dir" && ac_dir=.
2953 <  $as_executable_p "$ac_dir/$ac_word" || continue
2954 < ac_cv_prog_ac_ct_F90="$ac_prog"
2955 < echo "$as_me:2249: found $ac_dir/$ac_word" >&5
2956 < break
2948 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 > for as_dir in $PATH
2950 > do
2951 >  IFS=$as_save_IFS
2952 >  test -z "$as_dir" && as_dir=.
2953 >  for ac_exec_ext in '' $ac_executable_extensions; do
2954 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 >    ac_cv_prog_ac_ct_F90="$ac_prog"
2956 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 >    break 2
2958 >  fi
2959   done
2960 + done
2961  
2962   fi
2963   fi
2964   ac_ct_F90=$ac_cv_prog_ac_ct_F90
2965   if test -n "$ac_ct_F90"; then
2966 <  echo "$as_me:2257: result: $ac_ct_F90" >&5
2966 >  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
2967   echo "${ECHO_T}$ac_ct_F90" >&6
2968   else
2969 <  echo "$as_me:2260: result: no" >&5
2969 >  echo "$as_me:$LINENO: result: no" >&5
2970   echo "${ECHO_T}no" >&6
2971   fi
2972  
# Line 2267 | Line 2976 | fi
2976    F90=$ac_ct_F90
2977   fi
2978  
2979 +
2980   # If we don't use `.F90' as extension, the preprocessor is not run on the
2981   # input file.
2982   ac_save_ext=$ac_ext
2983   ac_ext=F90
2984 < echo "$as_me:2274: checking whether we are using the GNU Fortran 90 compiler" >&5
2984 > echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
2985   echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
2986   if test "${ac_cv_f90_compiler_gnu+set}" = set; then
2987    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2288 | Line 2998 | if { (eval echo "$as_me:2291: \"$ac_compile\"") >&5
2998  
2999   _ACEOF
3000   rm -f conftest.$ac_objext
3001 < if { (eval echo "$as_me:2291: \"$ac_compile\"") >&5
3001 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3002    (eval $ac_compile) 2>&5
3003    ac_status=$?
3004 <  echo "$as_me:2294: \$? = $ac_status" >&5
3004 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005    (exit $ac_status); } &&
3006           { ac_try='test -s conftest.$ac_objext'
3007 <  { (eval echo "$as_me:2297: \"$ac_try\"") >&5
3007 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008    (eval $ac_try) 2>&5
3009    ac_status=$?
3010 <  echo "$as_me:2300: \$? = $ac_status" >&5
3010 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011    (exit $ac_status); }; }; then
3012    ac_compiler_gnu=yes
3013   else
3014    echo "$as_me: failed program was:" >&5
3015 < cat conftest.$ac_ext >&5
3015 > sed 's/^/| /' conftest.$ac_ext >&5
3016 >
3017   ac_compiler_gnu=no
3018   fi
3019   rm -f conftest.$ac_objext conftest.$ac_ext
3020   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3021  
3022   fi
3023 < echo "$as_me:2312: result: $ac_cv_f90_compiler_gnu" >&5
3023 > echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3024   echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3025   ac_ext=$ac_save_ext
3026   G95=`test $ac_compiler_gnu = yes && echo yes`
# Line 2319 | Line 3030 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3030   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3032  
3033 +
3034 +
3035 +
3036 +
3037   # Try to determine native compiler flags that allow us to use F90 suffix
3038   # for preprocessed f90 source.
3039  
# Line 2349 | Line 3064 | if test "$ac_test_PREPFLAG" != "set"; then
3064          PREPFLAG=""
3065    fi
3066  
3067 <  echo "$as_me:2352: checking to make sure F90 preprocessor flag works" >&5
3067 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
3068   echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3069  
3070 +
3071    ac_ext=f90
3072   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3073   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2367 | Line 3083 | program main
3083  
3084      cat >conftest.$ac_ext <<_ACEOF
3085  
3086 +
3087   program main
3088  
3089    integer :: i
3090    i = 1
3091  
3092 +
3093   end program main
3094  
3095   _ACEOF
3096   rm -f conftest.$ac_objext
3097 < if { (eval echo "$as_me:2379: \"$ac_compile\"") >&5
3097 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3098    (eval $ac_compile) 2>&5
3099    ac_status=$?
3100 <  echo "$as_me:2382: \$? = $ac_status" >&5
3100 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101    (exit $ac_status); } &&
3102           { ac_try='test -s conftest.$ac_objext'
3103 <  { (eval echo "$as_me:2385: \"$ac_try\"") >&5
3103 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3104    (eval $ac_try) 2>&5
3105    ac_status=$?
3106 <  echo "$as_me:2388: \$? = $ac_status" >&5
3106 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107    (exit $ac_status); }; }; then
3108    prepflagworks=1
3109   else
3110    echo "$as_me: failed program was:" >&5
3111 < cat conftest.$ac_ext >&5
3111 > sed 's/^/| /' conftest.$ac_ext >&5
3112 >
3113   prepflagworks=0
3114   fi
3115   rm -f conftest.$ac_objext conftest.$ac_ext
# Line 2403 | Line 3122 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3122   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3124  
3125 +
3126 +
3127    if test "$prepflagworks" = 1; then
3128 <    echo "$as_me:2407: result: yes" >&5
3128 >    echo "$as_me:$LINENO: result: yes" >&5
3129   echo "${ECHO_T}yes" >&6
3130  
3131    else
3132 <    echo "$as_me:2411: result: no" >&5
3132 >    echo "$as_me:$LINENO: result: no" >&5
3133   echo "${ECHO_T}no" >&6
3134 <    { { echo "$as_me:2413: error: Can't figure out working Fortran90 preprocessor flag" >&5
3134 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
3135   echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3136     { (exit 1); exit 1; }; }
3137    fi
3138   fi
3139  
3140 +
3141 +
3142 +
3143 +
3144   # Try to determine native compiler flags that allow us to use F90 suffix
3145   # for preprocessed f90 source with -D type defines
3146  
# Line 2446 | Line 3171 | if test "$ac_test_PREPDEFFLAG" != "set"; then
3171          PREPDEFFLAG=" "
3172    fi
3173  
3174 <  echo "$as_me:2449: checking to make sure F90 preprocessor define flag works" >&5
3174 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
3175   echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3176  
3177 +
3178    ac_ext=f90
3179   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3180   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2464 | Line 3190 | program main
3190  
3191      cat >conftest.$ac_ext <<_ACEOF
3192  
3193 +
3194   program main
3195  
3196    integer :: i
# Line 2473 | Line 3200 | end program main
3200    choke me
3201   #endif
3202  
3203 +
3204   end program main
3205  
3206   _ACEOF
3207   rm -f conftest.$ac_objext
3208 < if { (eval echo "$as_me:2480: \"$ac_compile\"") >&5
3208 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3209    (eval $ac_compile) 2>&5
3210    ac_status=$?
3211 <  echo "$as_me:2483: \$? = $ac_status" >&5
3211 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212    (exit $ac_status); } &&
3213           { ac_try='test -s conftest.$ac_objext'
3214 <  { (eval echo "$as_me:2486: \"$ac_try\"") >&5
3214 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215    (eval $ac_try) 2>&5
3216    ac_status=$?
3217 <  echo "$as_me:2489: \$? = $ac_status" >&5
3217 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218    (exit $ac_status); }; }; then
3219    prepdefflagworks=1
3220   else
3221    echo "$as_me: failed program was:" >&5
3222 < cat conftest.$ac_ext >&5
3222 > sed 's/^/| /' conftest.$ac_ext >&5
3223 >
3224   prepdefflagworks=0
3225   fi
3226   rm -f conftest.$ac_objext conftest.$ac_ext
# Line 2504 | Line 3233 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3234   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3235  
3236 +
3237 +
3238    if test "$prepdefflagworks" = 1; then
3239 <    echo "$as_me:2508: result: yes" >&5
3239 >    echo "$as_me:$LINENO: result: yes" >&5
3240   echo "${ECHO_T}yes" >&6
3241  
3242    else
3243 <    echo "$as_me:2512: result: no" >&5
3243 >    echo "$as_me:$LINENO: result: no" >&5
3244   echo "${ECHO_T}no" >&6
3245 <    { { echo "$as_me:2514: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3245 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3246   echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3247     { (exit 1); exit 1; }; }
3248    fi
3249   fi
3250  
3251 +
3252   case $debug in
3253    1)
3254       ;;
3255    *)
3256  
3257 +
3258 +
3259 +
3260   # Try to determine "good" native compiler flags if none specified on command
3261   # line
3262   if test "$ac_test_CFLAGS" != "set"; then
# Line 2583 | Line 3318 | echo "$as_me:2586: checking whether ${CC-cc} accepts -
3318    if test $ac_cv_c_compiler_gnu = yes; then
3319      # -malign-double for x86 systems
3320  
3321 < echo "$as_me:2586: checking whether ${CC-cc} accepts -malign-double" >&5
3321 >
3322 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
3323   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
3324   if test "${ac_align_double+set}" = set; then
3325    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2597 | Line 3333 | echo "$as_me:2600: result: $ac_align_double" >&5
3333   rm -f conftest*
3334  
3335   fi
3336 < echo "$as_me:2600: result: $ac_align_double" >&5
3336 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
3337   echo "${ECHO_T}$ac_align_double" >&6
3338   if test "$ac_align_double" = yes; then
3339          :
# Line 2609 | Line 3345 | echo "$as_me:2612: checking whether ${CC-cc} accepts -
3345  
3346      # -fstrict-aliasing for gcc-2.95+
3347  
3348 < echo "$as_me:2612: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
3348 >
3349 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
3350   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
3351   if test "${ac_fstrict_aliasing+set}" = set; then
3352    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2623 | Line 3360 | echo "$as_me:2626: result: $ac_fstrict_aliasing" >&5
3360   rm -f conftest*
3361  
3362   fi
3363 < echo "$as_me:2626: result: $ac_fstrict_aliasing" >&5
3363 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
3364   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
3365   if test "$ac_fstrict_aliasing" = yes; then
3366          :
# Line 2640 | Line 3377 | echo "$as_me:2643: checking whether ${CC-cc} accepts -
3377                    case "${host_cpu}" in
3378            i586*)
3379  
3380 < echo "$as_me:2643: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3380 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3381   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
3382   if test "${ac_cpu_pentium+set}" = set; then
3383    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2654 | Line 3391 | echo "$as_me:2657: result: $ac_cpu_pentium" >&5
3391   rm -f conftest*
3392  
3393   fi
3394 < echo "$as_me:2657: result: $ac_cpu_pentium" >&5
3394 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
3395   echo "${ECHO_T}$ac_cpu_pentium" >&6
3396   if test "$ac_cpu_pentium" = yes; then
3397          :
# Line 2662 | Line 3399 | echo "$as_me:2665: checking whether ${CC-cc} accepts -
3399   else
3400          :
3401  
3402 < echo "$as_me:2665: checking whether ${CC-cc} accepts -mpentium" >&5
3402 >
3403 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
3404   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
3405   if test "${ac_pentium+set}" = set; then
3406    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2676 | Line 3414 | echo "$as_me:2679: result: $ac_pentium" >&5
3414   rm -f conftest*
3415  
3416   fi
3417 < echo "$as_me:2679: result: $ac_pentium" >&5
3417 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
3418   echo "${ECHO_T}$ac_pentium" >&6
3419   if test "$ac_pentium" = yes; then
3420          :
# Line 2691 | Line 3429 | echo "$as_me:2694: checking whether ${CC-cc} accepts -
3429                    ;;
3430            i686*)
3431  
3432 < echo "$as_me:2694: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
3432 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
3433   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
3434   if test "${ac_cpu_pentiumpro+set}" = set; then
3435    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2705 | Line 3443 | echo "$as_me:2708: result: $ac_cpu_pentiumpro" >&5
3443   rm -f conftest*
3444  
3445   fi
3446 < echo "$as_me:2708: result: $ac_cpu_pentiumpro" >&5
3446 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
3447   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
3448   if test "$ac_cpu_pentiumpro" = yes; then
3449          :
# Line 2713 | Line 3451 | echo "$as_me:2716: checking whether ${CC-cc} accepts -
3451   else
3452          :
3453  
3454 < echo "$as_me:2716: checking whether ${CC-cc} accepts -mpentiumpro" >&5
3454 >
3455 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
3456   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
3457   if test "${ac_pentiumpro+set}" = set; then
3458    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2727 | Line 3466 | echo "$as_me:2730: result: $ac_pentiumpro" >&5
3466   rm -f conftest*
3467  
3468   fi
3469 < echo "$as_me:2730: result: $ac_pentiumpro" >&5
3469 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
3470   echo "${ECHO_T}$ac_pentiumpro" >&6
3471   if test "$ac_pentiumpro" = yes; then
3472          :
# Line 2745 | Line 3484 | echo "$as_me:2748: checking whether ${CC-cc} accepts -
3484                  is60x=`echo $cputype | egrep "^600-9e?$"`
3485                  if test -n "$is60x"; then
3486  
3487 < echo "$as_me:2748: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
3487 >
3488 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
3489   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
3490   if test "${ac_m_cpu_60x+set}" = set; then
3491    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2759 | Line 3499 | echo "$as_me:2762: result: $ac_m_cpu_60x" >&5
3499   rm -f conftest*
3500  
3501   fi
3502 < echo "$as_me:2762: result: $ac_m_cpu_60x" >&5
3502 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
3503   echo "${ECHO_T}$ac_m_cpu_60x" >&6
3504   if test "$ac_m_cpu_60x" = yes; then
3505          :
# Line 2771 | Line 3511 | echo "$as_me:2774: checking whether we are using gcc 2
3511  
3512                  elif test "$cputype" = 750; then
3513  
3514 < echo "$as_me:2774: checking whether we are using gcc 2.95 or later" >&5
3514 >
3515 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
3516   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
3517   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
3518    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2785 | Line 3526 | if { ac_try='${CC-cc} -E conftest.c'
3526   #endif
3527   EOF
3528   if { ac_try='${CC-cc} -E conftest.c'
3529 <  { (eval echo "$as_me:2788: \"$ac_try\"") >&5
3529 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530    (eval $ac_try) 2>&5
3531    ac_status=$?
3532 <  echo "$as_me:2791: \$? = $ac_status" >&5
3532 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3534    ac_cv_prog_gcc_2_95=yes
3535   else
# Line 2796 | Line 3537 | echo "$as_me:2799: result: $ac_cv_prog_gcc_2_95" >&5
3537   fi
3538  
3539   fi
3540 < echo "$as_me:2799: result: $ac_cv_prog_gcc_2_95" >&5
3540 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
3541   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
3542   if test "$ac_cv_prog_gcc_2_95" = yes; then
3543          :
3544  
3545 < echo "$as_me:2804: checking whether ${CC-cc} accepts -mcpu=750" >&5
3545 >
3546 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
3547   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
3548   if test "${ac_m_cpu_750+set}" = set; then
3549    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2815 | Line 3557 | echo "$as_me:2818: result: $ac_m_cpu_750" >&5
3557   rm -f conftest*
3558  
3559   fi
3560 < echo "$as_me:2818: result: $ac_m_cpu_750" >&5
3560 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
3561   echo "${ECHO_T}$ac_m_cpu_750" >&6
3562   if test "$ac_m_cpu_750" = yes; then
3563          :
# Line 2833 | Line 3575 | echo "$as_me:2836: checking whether ${CC-cc} accepts -
3575                  fi
3576                  if test -z "$CPU_FLAGS"; then
3577  
3578 < echo "$as_me:2836: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
3578 >
3579 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
3580   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
3581   if test "${ac_m_cpu_powerpc+set}" = set; then
3582    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2847 | Line 3590 | echo "$as_me:2850: result: $ac_m_cpu_powerpc" >&5
3590   rm -f conftest*
3591  
3592   fi
3593 < echo "$as_me:2850: result: $ac_m_cpu_powerpc" >&5
3593 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
3594   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
3595   if test "$ac_m_cpu_powerpc" = yes; then
3596          :
# Line 2860 | Line 3603 | echo "$as_me:2863: checking whether ${CC-cc} accepts -
3603                  fi
3604                  if test -z "$CPU_FLAGS"; then
3605  
3606 < echo "$as_me:2863: checking whether ${CC-cc} accepts -mpowerpc" >&5
3606 >
3607 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
3608   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
3609   if test "${ac_m_powerpc+set}" = set; then
3610    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2874 | Line 3618 | echo "$as_me:2877: result: $ac_m_powerpc" >&5
3618   rm -f conftest*
3619  
3620   fi
3621 < echo "$as_me:2877: result: $ac_m_powerpc" >&5
3621 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
3622   echo "${ECHO_T}$ac_m_powerpc" >&6
3623   if test "$ac_m_powerpc" = yes; then
3624          :
# Line 2903 | Line 3647 | echo "$as_me:2906: checking whether ${CC-cc} accepts $
3647          CFLAGS="-O3"
3648    fi
3649  
3650 < echo "$as_me:2906: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
3650 >
3651 >
3652 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
3653   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
3654   if test "${ac_guessed_cflags+set}" = set; then
3655    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2917 | Line 3663 | echo "$as_me:2920: result: $ac_guessed_cflags" >&5
3663   rm -f conftest*
3664  
3665   fi
3666 < echo "$as_me:2920: result: $ac_guessed_cflags" >&5
3666 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
3667   echo "${ECHO_T}$ac_guessed_cflags" >&6
3668   if test "$ac_guessed_cflags" = yes; then
3669          :
# Line 2936 | Line 3682 | fi
3682  
3683   fi
3684  
3685 +
3686   fi
3687  
3688 +
3689 +
3690 +
3691 +
3692   # Try to determine "good" native compiler flags if none specified on command
3693   # line
3694   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 2990 | Line 3741 | echo "$as_me:2993: checking whether ${CXX-c++} accepts
3741    if test $ac_cv_c_compiler_gnu = yes; then
3742      # -malign-double for x86 systems
3743  
3744 < echo "$as_me:2993: checking whether ${CXX-c++} accepts -malign-double" >&5
3744 >
3745 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
3746   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
3747   if test "${ac_align_double+set}" = set; then
3748    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3004 | Line 3756 | echo "$as_me:3007: result: $ac_align_double" >&5
3756   rm -f conftest*
3757  
3758   fi
3759 < echo "$as_me:3007: result: $ac_align_double" >&5
3759 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
3760   echo "${ECHO_T}$ac_align_double" >&6
3761   if test "$ac_align_double" = yes; then
3762          :
# Line 3016 | Line 3768 | echo "$as_me:3019: checking whether ${CXX-c++} accepts
3768  
3769      # -fstrict-aliasing for gcc-2.95+
3770  
3771 < echo "$as_me:3019: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3771 >
3772 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3773   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
3774   if test "${ac_fstrict_aliasing+set}" = set; then
3775    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3030 | Line 3783 | echo "$as_me:3033: result: $ac_fstrict_aliasing" >&5
3783   rm -f conftest*
3784  
3785   fi
3786 < echo "$as_me:3033: result: $ac_fstrict_aliasing" >&5
3786 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
3787   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
3788   if test "$ac_fstrict_aliasing" = yes; then
3789          :
# Line 3047 | Line 3800 | echo "$as_me:3050: checking whether ${CC-cc} accepts -
3800                    case "${host_cpu}" in
3801            i586*)
3802  
3803 < echo "$as_me:3050: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3803 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3804   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
3805   if test "${ac_cpu_pentium+set}" = set; then
3806    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3061 | Line 3814 | echo "$as_me:3064: result: $ac_cpu_pentium" >&5
3814   rm -f conftest*
3815  
3816   fi
3817 < echo "$as_me:3064: result: $ac_cpu_pentium" >&5
3817 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
3818   echo "${ECHO_T}$ac_cpu_pentium" >&6
3819   if test "$ac_cpu_pentium" = yes; then
3820          :
# Line 3069 | Line 3822 | echo "$as_me:3072: checking whether ${CXX-c++} accepts
3822   else
3823          :
3824  
3825 < echo "$as_me:3072: checking whether ${CXX-c++} accepts -mpentium" >&5
3825 >
3826 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
3827   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
3828   if test "${ac_pentium+set}" = set; then
3829    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3083 | Line 3837 | echo "$as_me:3086: result: $ac_pentium" >&5
3837   rm -f conftest*
3838  
3839   fi
3840 < echo "$as_me:3086: result: $ac_pentium" >&5
3840 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
3841   echo "${ECHO_T}$ac_pentium" >&6
3842   if test "$ac_pentium" = yes; then
3843          :
# Line 3098 | Line 3852 | echo "$as_me:3101: checking whether ${CXX-c++} accepts
3852                    ;;
3853            i686*)
3854  
3855 < echo "$as_me:3101: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3855 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3856   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
3857   if test "${ac_cpu_pentiumpro+set}" = set; then
3858    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3112 | Line 3866 | echo "$as_me:3115: result: $ac_cpu_pentiumpro" >&5
3866   rm -f conftest*
3867  
3868   fi
3869 < echo "$as_me:3115: result: $ac_cpu_pentiumpro" >&5
3869 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
3870   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
3871   if test "$ac_cpu_pentiumpro" = yes; then
3872          :
# Line 3120 | Line 3874 | echo "$as_me:3123: checking whether ${CXX-c++} accepts
3874   else
3875          :
3876  
3877 < echo "$as_me:3123: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3877 >
3878 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3879   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
3880   if test "${ac_pentiumpro+set}" = set; then
3881    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3134 | Line 3889 | echo "$as_me:3137: result: $ac_pentiumpro" >&5
3889   rm -f conftest*
3890  
3891   fi
3892 < echo "$as_me:3137: result: $ac_pentiumpro" >&5
3892 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
3893   echo "${ECHO_T}$ac_pentiumpro" >&6
3894   if test "$ac_pentiumpro" = yes; then
3895          :
# Line 3152 | Line 3907 | echo "$as_me:3155: checking whether ${CXX-c++} accepts
3907                  is60x=`echo $cputype | egrep "^600-9e?$"`
3908                  if test -n "$is60x"; then
3909  
3910 < echo "$as_me:3155: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3910 >
3911 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3912   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
3913   if test "${ac_m_cpu_60x+set}" = set; then
3914    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3166 | Line 3922 | echo "$as_me:3169: result: $ac_m_cpu_60x" >&5
3922   rm -f conftest*
3923  
3924   fi
3925 < echo "$as_me:3169: result: $ac_m_cpu_60x" >&5
3925 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
3926   echo "${ECHO_T}$ac_m_cpu_60x" >&6
3927   if test "$ac_m_cpu_60x" = yes; then
3928          :
# Line 3178 | Line 3934 | echo "$as_me:3181: checking whether we are using gcc 2
3934  
3935                  elif test "$cputype" = 750; then
3936  
3937 < echo "$as_me:3181: checking whether we are using gcc 2.95 or later" >&5
3937 >
3938 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
3939   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
3940   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
3941    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3192 | Line 3949 | if { ac_try='${CC-cc} -E conftest.c'
3949   #endif
3950   EOF
3951   if { ac_try='${CC-cc} -E conftest.c'
3952 <  { (eval echo "$as_me:3195: \"$ac_try\"") >&5
3952 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953    (eval $ac_try) 2>&5
3954    ac_status=$?
3955 <  echo "$as_me:3198: \$? = $ac_status" >&5
3955 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3957    ac_cv_prog_gcc_2_95=yes
3958   else
# Line 3203 | Line 3960 | echo "$as_me:3206: result: $ac_cv_prog_gcc_2_95" >&5
3960   fi
3961  
3962   fi
3963 < echo "$as_me:3206: result: $ac_cv_prog_gcc_2_95" >&5
3963 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
3964   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
3965   if test "$ac_cv_prog_gcc_2_95" = yes; then
3966          :
3967  
3968 < echo "$as_me:3211: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3968 >
3969 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3970   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
3971   if test "${ac_m_cpu_750+set}" = set; then
3972    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3222 | Line 3980 | echo "$as_me:3225: result: $ac_m_cpu_750" >&5
3980   rm -f conftest*
3981  
3982   fi
3983 < echo "$as_me:3225: result: $ac_m_cpu_750" >&5
3983 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
3984   echo "${ECHO_T}$ac_m_cpu_750" >&6
3985   if test "$ac_m_cpu_750" = yes; then
3986          :
# Line 3240 | Line 3998 | echo "$as_me:3243: checking whether ${CXX-c++} accepts
3998                  fi
3999                  if test -z "$CPU_FLAGS"; then
4000  
4001 < echo "$as_me:3243: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
4001 >
4002 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
4003   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
4004   if test "${ac_m_cpu_powerpc+set}" = set; then
4005    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3254 | Line 4013 | echo "$as_me:3257: result: $ac_m_cpu_powerpc" >&5
4013   rm -f conftest*
4014  
4015   fi
4016 < echo "$as_me:3257: result: $ac_m_cpu_powerpc" >&5
4016 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
4017   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
4018   if test "$ac_m_cpu_powerpc" = yes; then
4019          :
# Line 3267 | Line 4026 | echo "$as_me:3270: checking whether ${CXX-c++} accepts
4026                  fi
4027                  if test -z "$CPU_FLAGS"; then
4028  
4029 < echo "$as_me:3270: checking whether ${CXX-c++} accepts -mpowerpc" >&5
4029 >
4030 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
4031   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
4032   if test "${ac_m_powerpc+set}" = set; then
4033    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3281 | Line 4041 | echo "$as_me:3284: result: $ac_m_powerpc" >&5
4041   rm -f conftest*
4042  
4043   fi
4044 < echo "$as_me:3284: result: $ac_m_powerpc" >&5
4044 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
4045   echo "${ECHO_T}$ac_m_powerpc" >&6
4046   if test "$ac_m_powerpc" = yes; then
4047          :
# Line 3310 | Line 4070 | echo "$as_me:3313: checking whether ${CXX-c++} accepts
4070          CXXFLAGS="-O3"
4071    fi
4072  
4073 < echo "$as_me:3313: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
4073 >
4074 >
4075 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
4076   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
4077   if test "${ac_guessed_cxxflags+set}" = set; then
4078    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3324 | Line 4086 | echo "$as_me:3327: result: $ac_guessed_cxxflags" >&5
4086   rm -f conftest*
4087  
4088   fi
4089 < echo "$as_me:3327: result: $ac_guessed_cxxflags" >&5
4089 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
4090   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
4091   if test "$ac_guessed_cxxflags" = yes; then
4092          :
# Line 3343 | Line 4105 | fi
4105  
4106   fi
4107  
4108 +
4109   fi
4110  
4111 +
4112 +
4113 +
4114 +
4115   # Try to determine "good" native compiler flags if none specified on command
4116   # line
4117  
# Line 3401 | Line 4168 | echo "$as_me:3404: checking whether ${F90-f90} accepts
4168          F90FLAGS="-O3"
4169    fi
4170  
4171 < echo "$as_me:3404: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
4171 >
4172 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
4173   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
4174   if test "${ac_guessed_f90flags+set}" = set; then
4175    echo $ECHO_N "(cached) $ECHO_C" >&6
4176   else
4177  
4178 +
4179 +
4180   ac_ext=f90
4181   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4182   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3415 | Line 4185 | if { (eval echo "$as_me:3418: \"$ac_compile\"") >&5
4185   echo 'program main' > conftest.$ac_ext
4186   echo 'end program main' >> conftest.$ac_ext
4187   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
4188 < if { (eval echo "$as_me:3418: \"$ac_compile\"") >&5
4188 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4189    (eval $ac_compile) 2>&5
4190    ac_status=$?
4191 <  echo "$as_me:3421: \$? = $ac_status" >&5
4191 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192    (exit $ac_status); }; then
4193          ac_guessed_f90flags=yes
4194   else
# Line 3431 | Line 4201 | fi
4201   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4203  
4204 +
4205   fi
4206 < echo "$as_me:3435: result: $ac_guessed_f90flags" >&5
4206 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
4207   echo "${ECHO_T}$ac_guessed_f90flags" >&6
4208   if test "$ac_guessed_f90flags" = yes; then
4209          :
# Line 3451 | Line 4222 | fi
4222  
4223   fi
4224  
4225 +
4226   fi
4227  
4228       ;;
# Line 3468 | Line 4240 | echo "$as_me:3471: checking for a BSD compatible insta
4240   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4241   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4242   # ./install, which can be erroneously created by make from ./install.sh.
4243 < echo "$as_me:3471: checking for a BSD compatible install" >&5
4244 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
4243 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4244 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4245   if test -z "$INSTALL"; then
4246   if test "${ac_cv_path_install+set}" = set; then
4247    echo $ECHO_N "(cached) $ECHO_C" >&6
4248   else
4249 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
4250 <  for ac_dir in $PATH; do
4251 <    IFS=$ac_save_IFS
4252 <    # Account for people who put trailing slashes in PATH elements.
4253 <    case $ac_dir/ in
4254 <    / | ./ | .// | /cC/* \
4255 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
4256 <    | /usr/ucb/* ) ;;
4257 <    *)
4258 <      # OSF1 and SCO ODT 3.0 have their own names for install.
4259 <      # Don't use installbsd from OSF since it installs stuff as root
4260 <      # by default.
4261 <      for ac_prog in ginstall scoinst install; do
4262 <        if $as_executable_p "$ac_dir/$ac_prog"; then
4263 <          if test $ac_prog = install &&
4264 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
4265 <            # AIX install.  It has an incompatible calling convention.
4266 <            :
4267 <          elif test $ac_prog = install &&
4268 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
4269 <            # program-specific install script used by HP pwplus--don't use.
4270 <            :
4271 <          else
4272 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
4273 <            break 2
4274 <          fi
4275 <        fi
4249 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250 > for as_dir in $PATH
4251 > do
4252 >  IFS=$as_save_IFS
4253 >  test -z "$as_dir" && as_dir=.
4254 >  # Account for people who put trailing slashes in PATH elements.
4255 > case $as_dir/ in
4256 >  ./ | .// | /cC/* | \
4257 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4258 >  /usr/ucb/* ) ;;
4259 >  *)
4260 >    # OSF1 and SCO ODT 3.0 have their own names for install.
4261 >    # Don't use installbsd from OSF since it installs stuff as root
4262 >    # by default.
4263 >    for ac_prog in ginstall scoinst install; do
4264 >      for ac_exec_ext in '' $ac_executable_extensions; do
4265 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4266 >          if test $ac_prog = install &&
4267 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4268 >            # AIX install.  It has an incompatible calling convention.
4269 >            :
4270 >          elif test $ac_prog = install &&
4271 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4272 >            # program-specific install script used by HP pwplus--don't use.
4273 >            :
4274 >          else
4275 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4276 >            break 3
4277 >          fi
4278 >        fi
4279        done
4280 <      ;;
4281 <    esac
4282 <  done
4280 >    done
4281 >    ;;
4282 > esac
4283 > done
4284  
4285 +
4286   fi
4287    if test "${ac_cv_path_install+set}" = set; then
4288      INSTALL=$ac_cv_path_install
# Line 3517 | Line 4294 | echo "$as_me:3520: result: $INSTALL" >&5
4294      INSTALL=$ac_install_sh
4295    fi
4296   fi
4297 < echo "$as_me:3520: result: $INSTALL" >&5
4297 > echo "$as_me:$LINENO: result: $INSTALL" >&5
4298   echo "${ECHO_T}$INSTALL" >&6
4299  
4300   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3528 | Line 4305 | echo "$as_me:3531: checking whether ln -s works" >&5
4305  
4306   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4307  
4308 < echo "$as_me:3531: checking whether ln -s works" >&5
4308 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
4309   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4310   LN_S=$as_ln_s
4311   if test "$LN_S" = "ln -s"; then
4312 <  echo "$as_me:3535: result: yes" >&5
4312 >  echo "$as_me:$LINENO: result: yes" >&5
4313   echo "${ECHO_T}yes" >&6
4314   else
4315 <  echo "$as_me:3538: result: no, using $LN_S" >&5
4315 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4316   echo "${ECHO_T}no, using $LN_S" >&6
4317   fi
4318  
4319 < echo "$as_me:3542: checking whether ${MAKE-make} sets \${MAKE}" >&5
4320 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
4319 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4320 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4321   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
4322   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4323    echo $ECHO_N "(cached) $ECHO_C" >&6
4324   else
4325 <  cat >conftest.make <<\EOF
4325 >  cat >conftest.make <<\_ACEOF
4326   all:
4327 <        @echo 'ac_maketemp="${MAKE}"'
4328 < EOF
4327 >        @echo 'ac_maketemp="$(MAKE)"'
4328 > _ACEOF
4329   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4330   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4331   if test -n "$ac_maketemp"; then
# Line 3559 | Line 4336 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
4336   rm -f conftest.make
4337   fi
4338   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4339 <  echo "$as_me:3562: result: yes" >&5
4339 >  echo "$as_me:$LINENO: result: yes" >&5
4340   echo "${ECHO_T}yes" >&6
4341    SET_MAKE=
4342   else
4343 <  echo "$as_me:3566: result: no" >&5
4343 >  echo "$as_me:$LINENO: result: no" >&5
4344   echo "${ECHO_T}no" >&6
4345    SET_MAKE="MAKE=${MAKE-make}"
4346   fi
# Line 3571 | Line 4348 | echo "$as_me:3574: checking for $ac_word" >&5
4348   if test -n "$ac_tool_prefix"; then
4349    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4350   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4351 < echo "$as_me:3574: checking for $ac_word" >&5
4351 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4352   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4353   if test "${ac_cv_prog_RANLIB+set}" = set; then
4354    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3579 | Line 4356 | else
4356    if test -n "$RANLIB"; then
4357    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4358   else
4359 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4360 < ac_dummy="$PATH"
4361 < for ac_dir in $ac_dummy; do
4362 <  IFS=$ac_save_IFS
4363 <  test -z "$ac_dir" && ac_dir=.
4364 <  $as_executable_p "$ac_dir/$ac_word" || continue
4365 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4366 < echo "$as_me:3589: found $ac_dir/$ac_word" >&5
4367 < break
4359 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 > for as_dir in $PATH
4361 > do
4362 >  IFS=$as_save_IFS
4363 >  test -z "$as_dir" && as_dir=.
4364 >  for ac_exec_ext in '' $ac_executable_extensions; do
4365 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4367 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 >    break 2
4369 >  fi
4370   done
4371 + done
4372  
4373   fi
4374   fi
4375   RANLIB=$ac_cv_prog_RANLIB
4376   if test -n "$RANLIB"; then
4377 <  echo "$as_me:3597: result: $RANLIB" >&5
4377 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
4378   echo "${ECHO_T}$RANLIB" >&6
4379   else
4380 <  echo "$as_me:3600: result: no" >&5
4380 >  echo "$as_me:$LINENO: result: no" >&5
4381   echo "${ECHO_T}no" >&6
4382   fi
4383  
# Line 3606 | Line 4386 | echo "$as_me:3609: checking for $ac_word" >&5
4386    ac_ct_RANLIB=$RANLIB
4387    # Extract the first word of "ranlib", so it can be a program name with args.
4388   set dummy ranlib; ac_word=$2
4389 < echo "$as_me:3609: checking for $ac_word" >&5
4389 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4390   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4391   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4392    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3614 | Line 4394 | else
4394    if test -n "$ac_ct_RANLIB"; then
4395    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4396   else
4397 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4398 < ac_dummy="$PATH"
4399 < for ac_dir in $ac_dummy; do
4400 <  IFS=$ac_save_IFS
4401 <  test -z "$ac_dir" && ac_dir=.
4402 <  $as_executable_p "$ac_dir/$ac_word" || continue
4403 < ac_cv_prog_ac_ct_RANLIB="ranlib"
4404 < echo "$as_me:3624: found $ac_dir/$ac_word" >&5
4405 < break
4397 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 > for as_dir in $PATH
4399 > do
4400 >  IFS=$as_save_IFS
4401 >  test -z "$as_dir" && as_dir=.
4402 >  for ac_exec_ext in '' $ac_executable_extensions; do
4403 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4404 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
4405 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 >    break 2
4407 >  fi
4408   done
4409 + done
4410  
4411    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4412   fi
4413   fi
4414   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4415   if test -n "$ac_ct_RANLIB"; then
4416 <  echo "$as_me:3633: result: $ac_ct_RANLIB" >&5
4416 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4417   echo "${ECHO_T}$ac_ct_RANLIB" >&6
4418   else
4419 <  echo "$as_me:3636: result: no" >&5
4419 >  echo "$as_me:$LINENO: result: no" >&5
4420   echo "${ECHO_T}no" >&6
4421   fi
4422  
# Line 3646 | Line 4429 | echo "$as_me:3649: checking for $ac_word" >&5
4429   do
4430    # Extract the first word of "$ac_prog", so it can be a program name with args.
4431   set dummy $ac_prog; ac_word=$2
4432 < echo "$as_me:3649: checking for $ac_word" >&5
4432 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4433   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4434   if test "${ac_cv_prog_YACC+set}" = set; then
4435    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3654 | Line 4437 | else
4437    if test -n "$YACC"; then
4438    ac_cv_prog_YACC="$YACC" # Let the user override the test.
4439   else
4440 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4441 < ac_dummy="$PATH"
4442 < for ac_dir in $ac_dummy; do
4443 <  IFS=$ac_save_IFS
4444 <  test -z "$ac_dir" && ac_dir=.
4445 <  $as_executable_p "$ac_dir/$ac_word" || continue
4446 < ac_cv_prog_YACC="$ac_prog"
4447 < echo "$as_me:3664: found $ac_dir/$ac_word" >&5
4448 < break
4440 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 > for as_dir in $PATH
4442 > do
4443 >  IFS=$as_save_IFS
4444 >  test -z "$as_dir" && as_dir=.
4445 >  for ac_exec_ext in '' $ac_executable_extensions; do
4446 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 >    ac_cv_prog_YACC="$ac_prog"
4448 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 >    break 2
4450 >  fi
4451   done
4452 + done
4453  
4454   fi
4455   fi
4456   YACC=$ac_cv_prog_YACC
4457   if test -n "$YACC"; then
4458 <  echo "$as_me:3672: result: $YACC" >&5
4458 >  echo "$as_me:$LINENO: result: $YACC" >&5
4459   echo "${ECHO_T}$YACC" >&6
4460   else
4461 <  echo "$as_me:3675: result: no" >&5
4461 >  echo "$as_me:$LINENO: result: no" >&5
4462   echo "${ECHO_T}no" >&6
4463   fi
4464  
# Line 3680 | Line 4466 | for ac_prog in flex lex
4466   done
4467   test -n "$YACC" || YACC="yacc"
4468  
4469 +
4470   for ac_prog in flex lex
4471   do
4472    # Extract the first word of "$ac_prog", so it can be a program name with args.
4473   set dummy $ac_prog; ac_word=$2
4474 < echo "$as_me:3687: checking for $ac_word" >&5
4474 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4475   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4476   if test "${ac_cv_prog_LEX+set}" = set; then
4477    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3692 | Line 4479 | else
4479    if test -n "$LEX"; then
4480    ac_cv_prog_LEX="$LEX" # Let the user override the test.
4481   else
4482 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4483 < ac_dummy="$PATH"
4484 < for ac_dir in $ac_dummy; do
4485 <  IFS=$ac_save_IFS
4486 <  test -z "$ac_dir" && ac_dir=.
4487 <  $as_executable_p "$ac_dir/$ac_word" || continue
4488 < ac_cv_prog_LEX="$ac_prog"
4489 < echo "$as_me:3702: found $ac_dir/$ac_word" >&5
4490 < break
4482 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 > for as_dir in $PATH
4484 > do
4485 >  IFS=$as_save_IFS
4486 >  test -z "$as_dir" && as_dir=.
4487 >  for ac_exec_ext in '' $ac_executable_extensions; do
4488 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4489 >    ac_cv_prog_LEX="$ac_prog"
4490 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 >    break 2
4492 >  fi
4493   done
4494 + done
4495  
4496   fi
4497   fi
4498   LEX=$ac_cv_prog_LEX
4499   if test -n "$LEX"; then
4500 <  echo "$as_me:3710: result: $LEX" >&5
4500 >  echo "$as_me:$LINENO: result: $LEX" >&5
4501   echo "${ECHO_T}$LEX" >&6
4502   else
4503 <  echo "$as_me:3713: result: no" >&5
4503 >  echo "$as_me:$LINENO: result: no" >&5
4504   echo "${ECHO_T}no" >&6
4505   fi
4506  
# Line 3720 | Line 4510 | then
4510  
4511   if test -z "$LEXLIB"
4512   then
4513 <  echo "$as_me:3723: checking for yywrap in -lfl" >&5
4513 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4514   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4515   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4516    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3728 | Line 4518 | cat >conftest.$ac_ext <<_ACEOF
4518    ac_check_lib_save_LIBS=$LIBS
4519   LIBS="-lfl  $LIBS"
4520   cat >conftest.$ac_ext <<_ACEOF
4521 < #line 3731 "configure"
4522 < #include "confdefs.h"
4521 > #line $LINENO "configure"
4522 > /* confdefs.h.  */
4523 > _ACEOF
4524 > cat confdefs.h >>conftest.$ac_ext
4525 > cat >>conftest.$ac_ext <<_ACEOF
4526 > /* end confdefs.h.  */
4527  
4528   /* Override any gcc2 internal prototype to avoid an error.  */
4529   #ifdef __cplusplus
# Line 3747 | Line 4541 | if { (eval echo "$as_me:3750: \"$ac_link\"") >&5
4541   }
4542   _ACEOF
4543   rm -f conftest.$ac_objext conftest$ac_exeext
4544 < if { (eval echo "$as_me:3750: \"$ac_link\"") >&5
4544 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4545    (eval $ac_link) 2>&5
4546    ac_status=$?
4547 <  echo "$as_me:3753: \$? = $ac_status" >&5
4547 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548    (exit $ac_status); } &&
4549           { ac_try='test -s conftest$ac_exeext'
4550 <  { (eval echo "$as_me:3756: \"$ac_try\"") >&5
4550 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551    (eval $ac_try) 2>&5
4552    ac_status=$?
4553 <  echo "$as_me:3759: \$? = $ac_status" >&5
4553 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554    (exit $ac_status); }; }; then
4555    ac_cv_lib_fl_yywrap=yes
4556   else
4557    echo "$as_me: failed program was:" >&5
4558 < cat conftest.$ac_ext >&5
4558 > sed 's/^/| /' conftest.$ac_ext >&5
4559 >
4560   ac_cv_lib_fl_yywrap=no
4561   fi
4562   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4563   LIBS=$ac_check_lib_save_LIBS
4564   fi
4565 < echo "$as_me:3770: result: $ac_cv_lib_fl_yywrap" >&5
4565 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4566   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4567   if test $ac_cv_lib_fl_yywrap = yes; then
4568    LEXLIB="-lfl"
4569   else
4570 <  echo "$as_me:3775: checking for yywrap in -ll" >&5
4570 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4571   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4572   if test "${ac_cv_lib_l_yywrap+set}" = set; then
4573    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3780 | Line 4575 | cat >conftest.$ac_ext <<_ACEOF
4575    ac_check_lib_save_LIBS=$LIBS
4576   LIBS="-ll  $LIBS"
4577   cat >conftest.$ac_ext <<_ACEOF
4578 < #line 3783 "configure"
4579 < #include "confdefs.h"
4578 > #line $LINENO "configure"
4579 > /* confdefs.h.  */
4580 > _ACEOF
4581 > cat confdefs.h >>conftest.$ac_ext
4582 > cat >>conftest.$ac_ext <<_ACEOF
4583 > /* end confdefs.h.  */
4584  
4585   /* Override any gcc2 internal prototype to avoid an error.  */
4586   #ifdef __cplusplus
# Line 3799 | Line 4598 | if { (eval echo "$as_me:3802: \"$ac_link\"") >&5
4598   }
4599   _ACEOF
4600   rm -f conftest.$ac_objext conftest$ac_exeext
4601 < if { (eval echo "$as_me:3802: \"$ac_link\"") >&5
4601 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4602    (eval $ac_link) 2>&5
4603    ac_status=$?
4604 <  echo "$as_me:3805: \$? = $ac_status" >&5
4604 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605    (exit $ac_status); } &&
4606           { ac_try='test -s conftest$ac_exeext'
4607 <  { (eval echo "$as_me:3808: \"$ac_try\"") >&5
4607 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608    (eval $ac_try) 2>&5
4609    ac_status=$?
4610 <  echo "$as_me:3811: \$? = $ac_status" >&5
4610 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611    (exit $ac_status); }; }; then
4612    ac_cv_lib_l_yywrap=yes
4613   else
4614    echo "$as_me: failed program was:" >&5
4615 < cat conftest.$ac_ext >&5
4615 > sed 's/^/| /' conftest.$ac_ext >&5
4616 >
4617   ac_cv_lib_l_yywrap=no
4618   fi
4619   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4620   LIBS=$ac_check_lib_save_LIBS
4621   fi
4622 < echo "$as_me:3822: result: $ac_cv_lib_l_yywrap" >&5
4622 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4623   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4624   if test $ac_cv_lib_l_yywrap = yes; then
4625    LEXLIB="-ll"
# Line 3830 | Line 4630 | if test "x$LEX" != "x:"; then
4630   fi
4631  
4632   if test "x$LEX" != "x:"; then
4633 <  echo "$as_me:3833: checking lex output file root" >&5
4633 >  echo "$as_me:$LINENO: checking lex output file root" >&5
4634   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4635   if test "${ac_cv_prog_lex_root+set}" = set; then
4636    echo $ECHO_N "(cached) $ECHO_C" >&6
4637   else
4638    # The minimal lex program is just a single line: %%.  But some broken lexes
4639   # (Solaris, I think it was) want two %% lines, so accommodate them.
4640 < echo '%%
4641 < %%' | $LEX
4640 > cat >conftest.l <<_ACEOF
4641 > %%
4642 > %%
4643 > _ACEOF
4644 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4645 >  (eval $LEX conftest.l) 2>&5
4646 >  ac_status=$?
4647 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 >  (exit $ac_status); }
4649   if test -f lex.yy.c; then
4650    ac_cv_prog_lex_root=lex.yy
4651   elif test -f lexyy.c; then
4652    ac_cv_prog_lex_root=lexyy
4653   else
4654 <  { { echo "$as_me:3847: error: cannot find output from $LEX; giving up" >&5
4654 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4655   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4656     { (exit 1); exit 1; }; }
4657   fi
4658   fi
4659 < echo "$as_me:3852: result: $ac_cv_prog_lex_root" >&5
4659 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4660   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4661 + rm -f conftest.l
4662   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4663  
4664 < echo "$as_me:3856: checking whether yytext is a pointer" >&5
4664 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4665   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4666   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4667    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3869 | Line 4677 | if { (eval echo "$as_me:3872: \"$ac_link\"") >&5
4677   `cat $LEX_OUTPUT_ROOT.c`
4678   _ACEOF
4679   rm -f conftest.$ac_objext conftest$ac_exeext
4680 < if { (eval echo "$as_me:3872: \"$ac_link\"") >&5
4680 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4681    (eval $ac_link) 2>&5
4682    ac_status=$?
4683 <  echo "$as_me:3875: \$? = $ac_status" >&5
4683 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684    (exit $ac_status); } &&
4685           { ac_try='test -s conftest$ac_exeext'
4686 <  { (eval echo "$as_me:3878: \"$ac_try\"") >&5
4686 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4687    (eval $ac_try) 2>&5
4688    ac_status=$?
4689 <  echo "$as_me:3881: \$? = $ac_status" >&5
4689 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690    (exit $ac_status); }; }; then
4691    ac_cv_prog_lex_yytext_pointer=yes
4692   else
4693    echo "$as_me: failed program was:" >&5
4694 < cat conftest.$ac_ext >&5
4694 > sed 's/^/| /' conftest.$ac_ext >&5
4695 >
4696   fi
4697   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4698   LIBS=$ac_save_LIBS
4699   rm -f "${LEX_OUTPUT_ROOT}.c"
4700  
4701   fi
4702 < echo "$as_me:3893: result: $ac_cv_prog_lex_yytext_pointer" >&5
4702 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4703   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4704   if test $ac_cv_prog_lex_yytext_pointer = yes; then
4705  
4706 < cat >>confdefs.h <<\EOF
4706 > cat >>confdefs.h <<\_ACEOF
4707   #define YYTEXT_POINTER 1
4708 < EOF
4708 > _ACEOF
4709  
4710   fi
4711  
4712   fi
4713   # Extract the first word of "ar", so it can be a program name with args.
4714   set dummy ar; ac_word=$2
4715 < echo "$as_me:3906: checking for $ac_word" >&5
4715 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4716   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4717   if test "${ac_cv_prog_AR+set}" = set; then
4718    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3911 | Line 4720 | else
4720    if test -n "$AR"; then
4721    ac_cv_prog_AR="$AR" # Let the user override the test.
4722   else
4723 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4724 < ac_dummy="$PATH"
4725 < for ac_dir in $ac_dummy; do
4726 <  IFS=$ac_save_IFS
4727 <  test -z "$ac_dir" && ac_dir=.
4728 <  $as_executable_p "$ac_dir/$ac_word" || continue
4729 < ac_cv_prog_AR="ar"
4730 < echo "$as_me:3921: found $ac_dir/$ac_word" >&5
4731 < break
4723 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724 > for as_dir in $PATH
4725 > do
4726 >  IFS=$as_save_IFS
4727 >  test -z "$as_dir" && as_dir=.
4728 >  for ac_exec_ext in '' $ac_executable_extensions; do
4729 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4730 >    ac_cv_prog_AR="ar"
4731 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 >    break 2
4733 >  fi
4734   done
4735 + done
4736  
4737    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
4738   fi
4739   fi
4740   AR=$ac_cv_prog_AR
4741   if test -n "$AR"; then
4742 <  echo "$as_me:3930: result: $AR" >&5
4742 >  echo "$as_me:$LINENO: result: $AR" >&5
4743   echo "${ECHO_T}$AR" >&6
4744   else
4745 <  echo "$as_me:3933: result: no" >&5
4745 >  echo "$as_me:$LINENO: result: no" >&5
4746   echo "${ECHO_T}no" >&6
4747   fi
4748  
4749   if test "$AR" = "NONE"; then
4750 <  { { echo "$as_me:3938: error: --> Can't find \`ar'!" >&5
4750 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
4751   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
4752     { (exit 1); exit 1; }; }
4753    cat >confcache <<\_ACEOF
# Line 3948 | Line 4760 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
4760   # config.status only pays attention to the cache file if you give it
4761   # the --recheck option to rerun configure.
4762   #
4763 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
4763 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
4764   # loading this file, other *unset* `ac_cv_foo' will be assigned the
4765   # following values.
4766  
# Line 3967 | Line 4779 | _ACEOF
4779        # substitution turns \\\\ into \\, and sed turns \\ into \).
4780        sed -n \
4781          "s/'/'\\\\''/g;
4782 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4782 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4783        ;;
4784      *)
4785        # `set' quotes correctly as required by POSIX, so do not add quotes.
4786        sed -n \
4787 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4787 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4788        ;;
4789      esac;
4790   } |
# Line 3983 | Line 4795 | if cmp -s $cache_file confcache; then :; else
4795       t end
4796       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4797       : end' >>confcache
4798 < if cmp -s $cache_file confcache; then :; else
4798 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
4799    if test -w $cache_file; then
4800      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4801      cat confcache >$cache_file
# Line 4000 | Line 4812 | ac_ext=f90
4812   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4814  
4815 +
4816 +
4817   ac_ext=f90
4818   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4819   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4821 < echo "$as_me:4007: checking how to get verbose linking output from $F90" >&5
4821 > echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
4822   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
4823   if test "${ac_cv_prog_f90_v+set}" = set; then
4824    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4014 | Line 4828 | end program main
4828  
4829   program main
4830  
4831 +
4832   end program main
4833  
4834   _ACEOF
4835   rm -f conftest.$ac_objext
4836 < if { (eval echo "$as_me:4021: \"$ac_compile\"") >&5
4836 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4837    (eval $ac_compile) 2>&5
4838    ac_status=$?
4839 <  echo "$as_me:4024: \$? = $ac_status" >&5
4839 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840    (exit $ac_status); } &&
4841           { ac_try='test -s conftest.$ac_objext'
4842 <  { (eval echo "$as_me:4027: \"$ac_try\"") >&5
4842 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4843    (eval $ac_try) 2>&5
4844    ac_status=$?
4845 <  echo "$as_me:4030: \$? = $ac_status" >&5
4845 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846    (exit $ac_status); }; }; then
4847    ac_cv_prog_f90_v=
4848   # Try some options frequently used verbose output
# Line 4041 | Line 4856 | end program main
4856  
4857   program main
4858  
4859 +
4860   end program main
4861  
4862   _ACEOF
# Line 4052 | Line 4868 | F90FLAGS="$F90FLAGS $ac_verb"
4868   ac_save_F90FLAGS=$F90FLAGS
4869   F90FLAGS="$F90FLAGS $ac_verb"
4870  
4871 < (eval echo $as_me:4055: \"$ac_link\") >&5
4871 > (eval echo $as_me:4871: \"$ac_link\") >&5
4872   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4873   echo "$ac_f90_v_output" >&5
4874   F90FLAGS=$ac_save_F90FLAGS
# Line 4084 | Line 4900 | if test -z "$ac_cv_prog_f90_v"; then
4900    done
4901   done
4902   if test -z "$ac_cv_prog_f90_v"; then
4903 <   { echo "$as_me:4087: WARNING: cannot determine how to obtain linking information from $F90" >&5
4903 >   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
4904   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
4905   fi
4906   else
4907    echo "$as_me: failed program was:" >&5
4908 < cat conftest.$ac_ext >&5
4909 < { echo "$as_me:4093: WARNING: compilation failed" >&5
4908 > sed 's/^/| /' conftest.$ac_ext >&5
4909 >
4910 > { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
4911   echo "$as_me: WARNING: compilation failed" >&2;}
4912   fi
4913   rm -f conftest.$ac_objext conftest.$ac_ext
4914  
4915   fi
4916 < echo "$as_me:4099: result: $ac_cv_prog_f90_v" >&5
4916 > echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
4917   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
4918 < echo "$as_me:4101: checking for Fortran 90 libraries" >&5
4918 > echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
4919   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
4920   if test "${ac_cv_flibs+set}" = set; then
4921    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4116 | Line 4933 | end program main
4933  
4934   program main
4935  
4936 +
4937   end program main
4938  
4939   _ACEOF
# Line 4127 | Line 4945 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4945   ac_save_F90FLAGS=$F90FLAGS
4946   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4947  
4948 < (eval echo $as_me:4130: \"$ac_link\") >&5
4948 > (eval echo $as_me:4948: \"$ac_link\") >&5
4949   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4950   echo "$ac_f90_v_output" >&5
4951   F90FLAGS=$ac_save_F90FLAGS
# Line 4280 | Line 5098 | echo "$as_me:4283: result: $ac_cv_flibs" >&5
5098   fi # test "x$F90LIBS" = "x"
5099  
5100   fi
5101 < echo "$as_me:4283: result: $ac_cv_flibs" >&5
5101 > echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
5102   echo "${ECHO_T}$ac_cv_flibs" >&6
5103   F90LIBS="$ac_cv_f90libs"
5104  
# Line 4289 | Line 5107 | echo "$as_me:4292: checking for Fortran 90 name-mangli
5107   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5108   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5109  
5110 < echo "$as_me:4292: checking for Fortran 90 name-mangling scheme" >&5
5110 > echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
5111   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
5112   if test "${ac_cv_f90_mangling+set}" = set; then
5113    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4307 | Line 5125 | if { (eval echo "$as_me:4310: \"$ac_compile\"") >&5
5125   end
5126   _ACEOF
5127   rm -f conftest.$ac_objext
5128 < if { (eval echo "$as_me:4310: \"$ac_compile\"") >&5
5128 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5129    (eval $ac_compile) 2>&5
5130    ac_status=$?
5131 <  echo "$as_me:4313: \$? = $ac_status" >&5
5131 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132    (exit $ac_status); } &&
5133           { ac_try='test -s conftest.$ac_objext'
5134 <  { (eval echo "$as_me:4316: \"$ac_try\"") >&5
5134 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5135    (eval $ac_try) 2>&5
5136    ac_status=$?
5137 <  echo "$as_me:4319: \$? = $ac_status" >&5
5137 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138    (exit $ac_status); }; }; then
5139    mv conftest.$ac_objext cf90_test.$ac_objext
5140  
# Line 4334 | Line 5152 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5152      for ac_underscore in "" "_"; do
5153        ac_func="$ac_foobar$ac_underscore"
5154        cat >conftest.$ac_ext <<_ACEOF
5155 < #line 4337 "configure"
5156 < #include "confdefs.h"
5155 > #line $LINENO "configure"
5156 > /* confdefs.h.  */
5157 > _ACEOF
5158 > cat confdefs.h >>conftest.$ac_ext
5159 > cat >>conftest.$ac_ext <<_ACEOF
5160 > /* end confdefs.h.  */
5161  
5162   /* Override any gcc2 internal prototype to avoid an error.  */
5163   #ifdef __cplusplus
# Line 4353 | Line 5175 | if { (eval echo "$as_me:4356: \"$ac_link\"") >&5
5175   }
5176   _ACEOF
5177   rm -f conftest.$ac_objext conftest$ac_exeext
5178 < if { (eval echo "$as_me:4356: \"$ac_link\"") >&5
5178 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5179    (eval $ac_link) 2>&5
5180    ac_status=$?
5181 <  echo "$as_me:4359: \$? = $ac_status" >&5
5181 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182    (exit $ac_status); } &&
5183           { ac_try='test -s conftest$ac_exeext'
5184 <  { (eval echo "$as_me:4362: \"$ac_try\"") >&5
5184 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5185    (eval $ac_try) 2>&5
5186    ac_status=$?
5187 <  echo "$as_me:4365: \$? = $ac_status" >&5
5187 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188    (exit $ac_status); }; }; then
5189    ac_success=yes; break 2
5190   else
5191    echo "$as_me: failed program was:" >&5
5192 < cat conftest.$ac_ext >&5
5192 > sed 's/^/| /' conftest.$ac_ext >&5
5193 >
5194   fi
5195   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5196      done
# Line 4390 | Line 5213 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
5213          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
5214  
5215          cat >conftest.$ac_ext <<_ACEOF
5216 < #line 4393 "configure"
5217 < #include "confdefs.h"
5216 > #line $LINENO "configure"
5217 > /* confdefs.h.  */
5218 > _ACEOF
5219 > cat confdefs.h >>conftest.$ac_ext
5220 > cat >>conftest.$ac_ext <<_ACEOF
5221 > /* end confdefs.h.  */
5222  
5223   /* Override any gcc2 internal prototype to avoid an error.  */
5224   #ifdef __cplusplus
# Line 4409 | Line 5236 | if { (eval echo "$as_me:4412: \"$ac_link\"") >&5
5236   }
5237   _ACEOF
5238   rm -f conftest.$ac_objext conftest$ac_exeext
5239 < if { (eval echo "$as_me:4412: \"$ac_link\"") >&5
5239 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5240    (eval $ac_link) 2>&5
5241    ac_status=$?
5242 <  echo "$as_me:4415: \$? = $ac_status" >&5
5242 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243    (exit $ac_status); } &&
5244           { ac_try='test -s conftest$ac_exeext'
5245 <  { (eval echo "$as_me:4418: \"$ac_try\"") >&5
5245 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246    (eval $ac_try) 2>&5
5247    ac_status=$?
5248 <  echo "$as_me:4421: \$? = $ac_status" >&5
5248 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249    (exit $ac_status); }; }; then
5250    ac_success_extra=yes; break
5251   else
5252    echo "$as_me: failed program was:" >&5
5253 < cat conftest.$ac_ext >&5
5253 > sed 's/^/| /' conftest.$ac_ext >&5
5254 >
5255   fi
5256   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5257       done
# Line 4457 | Line 5285 | cat conftest.$ac_ext >&5
5285    rm -f cf90_test* conftest*
5286   else
5287    echo "$as_me: failed program was:" >&5
5288 < cat conftest.$ac_ext >&5
5288 > sed 's/^/| /' conftest.$ac_ext >&5
5289 >
5290   fi
5291   rm -f conftest.$ac_objext conftest.$ac_ext
5292   ac_ext=f90
# Line 4466 | Line 5295 | echo "$as_me:4469: result: $ac_cv_f90_mangling" >&5
5295   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5296  
5297   fi
5298 < echo "$as_me:4469: result: $ac_cv_f90_mangling" >&5
5298 > echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
5299   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
5300  
5301 +
5302 +
5303   case $ac_cv_f90_mangling in
5304    "lower case, no underscore, no extra underscore")
5305 <          cat >>confdefs.h <<\EOF
5305 >          cat >>confdefs.h <<\_ACEOF
5306   #define F90_FUNC(name,NAME) name
5307 < EOF
5307 > _ACEOF
5308  
5309 <          cat >>confdefs.h <<\EOF
5309 >          cat >>confdefs.h <<\_ACEOF
5310   #define F90_FUNC_(name,NAME) name
5311 < EOF
5311 > _ACEOF
5312   ;;
5313    "lower case, no underscore, extra underscore")
5314 <          cat >>confdefs.h <<\EOF
5315 < #define F90_FUNC(name,NAME) name
5316 < EOF
5314 >          cat >>confdefs.h <<\_ACEOF
5315 > #define F90_FUNC(name,NAME) name
5316 > _ACEOF
5317  
5318 <          cat >>confdefs.h <<\EOF
5318 >          cat >>confdefs.h <<\_ACEOF
5319   #define F90_FUNC_(name,NAME) name ## _
5320 < EOF
5320 > _ACEOF
5321   ;;
5322    "lower case, underscore, no extra underscore")
5323 <          cat >>confdefs.h <<\EOF
5323 >          cat >>confdefs.h <<\_ACEOF
5324   #define F90_FUNC(name,NAME) name ## _
5325 < EOF
5325 > _ACEOF
5326  
5327 <          cat >>confdefs.h <<\EOF
5327 >          cat >>confdefs.h <<\_ACEOF
5328   #define F90_FUNC_(name,NAME) name ## _
5329 < EOF
5329 > _ACEOF
5330   ;;
5331    "lower case, underscore, extra underscore")
5332 <          cat >>confdefs.h <<\EOF
5332 >          cat >>confdefs.h <<\_ACEOF
5333   #define F90_FUNC(name,NAME) name ## _
5334 < EOF
5334 > _ACEOF
5335  
5336 <          cat >>confdefs.h <<\EOF
5336 >          cat >>confdefs.h <<\_ACEOF
5337   #define F90_FUNC_(name,NAME) name ## __
5338 < EOF
5338 > _ACEOF
5339   ;;
5340    "upper case, no underscore, no extra underscore")
5341 <          cat >>confdefs.h <<\EOF
5341 >          cat >>confdefs.h <<\_ACEOF
5342   #define F90_FUNC(name,NAME) NAME
5343 < EOF
5343 > _ACEOF
5344  
5345 <          cat >>confdefs.h <<\EOF
5345 >          cat >>confdefs.h <<\_ACEOF
5346   #define F90_FUNC_(name,NAME) NAME
5347 < EOF
5347 > _ACEOF
5348   ;;
5349    "upper case, no underscore, extra underscore")
5350 <          cat >>confdefs.h <<\EOF
5350 >          cat >>confdefs.h <<\_ACEOF
5351   #define F90_FUNC(name,NAME) NAME
5352 < EOF
5352 > _ACEOF
5353  
5354 <          cat >>confdefs.h <<\EOF
5354 >          cat >>confdefs.h <<\_ACEOF
5355   #define F90_FUNC_(name,NAME) NAME ## _
5356 < EOF
5356 > _ACEOF
5357   ;;
5358    "upper case, underscore, no extra underscore")
5359 <          cat >>confdefs.h <<\EOF
5359 >          cat >>confdefs.h <<\_ACEOF
5360   #define F90_FUNC(name,NAME) NAME ## _
5361 < EOF
5361 > _ACEOF
5362  
5363 <          cat >>confdefs.h <<\EOF
5363 >          cat >>confdefs.h <<\_ACEOF
5364   #define F90_FUNC_(name,NAME) NAME ## _
5365 < EOF
5365 > _ACEOF
5366   ;;
5367    "upper case, underscore, extra underscore")
5368 <          cat >>confdefs.h <<\EOF
5368 >          cat >>confdefs.h <<\_ACEOF
5369   #define F90_FUNC(name,NAME) NAME ## _
5370 < EOF
5370 > _ACEOF
5371  
5372 <          cat >>confdefs.h <<\EOF
5372 >          cat >>confdefs.h <<\_ACEOF
5373   #define F90_FUNC_(name,NAME) NAME ## __
5374 < EOF
5374 > _ACEOF
5375   ;;
5376    *)
5377 <          { echo "$as_me:4546: WARNING: unknown Fortran 90 name-mangling scheme" >&5
5377 >          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
5378   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
5379            ;;
5380   esac
5381  
5382 < echo "$as_me:4551: checking for module suffix" >&5
5382 >
5383 >
5384 >
5385 >
5386 > echo "$as_me:$LINENO: checking for module suffix" >&5
5387   echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
5388   rm -f conftest*
5389   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
5390   rm -f work*
5391 < cat >conftest.f <<EOF
5391 > cat >conftest.f90 <<EOF
5392          module conftest
5393          integer n
5394          parameter (n=1)
# Line 4562 | Line 5397 | if $F90 -c conftest.f > conftest.out 2>&1 ; then
5397   # SGI and absoft compilers generates module name in upper case!
5398   testname="conftest"
5399   modcase="lower"
5400 < if $F90 -c conftest.f > conftest.out 2>&1 ; then
5400 > if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
5401      MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o`
5402      MOD=`echo "$MOD" | sed -e 's/conftest\.//g'`
5403      if test -z "$MOD" ; then
# Line 4575 | Line 5410 | if $F90 -c conftest.f > conftest.out 2>&1 ; then
5410          fi
5411      fi
5412      if test -z "$MOD" ; then
5413 <        echo "$as_me:4578: result: unknown" >&5
5413 >        echo "$as_me:$LINENO: result: unknown" >&5
5414   echo "${ECHO_T}unknown" >&6
5415          # Use mod if we can't figure it out
5416          MOD="mod"
5417      else
5418 <        echo "$as_me:4583: result: $MOD" >&5
5418 >        echo "$as_me:$LINENO: result: $MOD" >&5
5419   echo "${ECHO_T}$MOD" >&6
5420      fi
5421      if test -s work.pcl ; then
5422 <        { echo "$as_me:4587: WARNING: Compiler generates auxillery files!" >&5
5422 >        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
5423   echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
5424      fi
5425   else
5426 <    echo "$as_me:4591: result: unknown" >&5
5426 >    echo "$as_me:$LINENO: result: unknown" >&5
5427   echo "${ECHO_T}unknown" >&6
5428   fi
5429  
5430 +
5431 +
5432 +
5433 +
5434   # Check for module include path (some use -I, some (Solaris) use -M, some
5435   # (absoft) use -p).
5436   # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
5437   # specified, work.pcl and work.pc are created.  However, if you specify
5438   # a file, it must contain a the name of a file ending in .pc .  Ugh!
5439   # Use the module made above
5440 < echo "$as_me:4601: checking for module directory path flag" >&5
5440 > echo "$as_me:$LINENO: checking for module directory path flag" >&5
5441   echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
5442 < madedir=0
5443 < if test ! -d conf ; then mkdir conf ; madedir=1; fi
5444 < cp $testname.$MOD conf
5445 < rm -f conftest* CONFTEST*
5446 < cat >conftest1.f <<EOF
5442 > rm -f conftest*
5443 > # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
5444 > rm -f work*
5445 > cat >conftest.f90 <<EOF
5446 >        module conftest
5447 >        integer n
5448 >        parameter (n=1)
5449 >        end module conftest
5450 > EOF
5451 > # SGI and absoft compilers generates module name in upper case!
5452 > testname="conftest"
5453 > if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
5454 >   mod=`ls CONFTEST* 2>/dev/null | grep -v CONFTEST.f | grep -v CONFTEST.o`
5455 >   mod=`echo "$mod" | sed -e 's/CONFTEST\.//g'`
5456 >   if test -n "$mod" ; then
5457 >      testname="CONFTEST"
5458 >   fi
5459 >   madedir=0
5460 >   if test ! -d conf ; then mkdir conf ; madedir=1; fi
5461 >   cp $testname.$MOD conf
5462 >   rm -f conftest* CONFTEST*
5463 >   cat >conftest1.f90 <<EOF
5464          program main
5465          use conftest
5466          print *, n
5467          end
5468   EOF
5469 < F90_WORK_FILES_ARG=""
5470 < F90MODINCSPEC=""
5471 < if $F90 -c -Iconf conftest1.f > conftest.out 2>&1 ; then
5472 <    MODDIRFLAG="-I"
5473 <    F90MODINCSPEC="-I<dir>"
5474 <    echo "$as_me:4618: result: -I" >&5
5469 >   F90_WORK_FILES_ARG=""
5470 >   F90MODINCSPEC=""
5471 >   if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
5472 >       MODDIRFLAG="-I"
5473 >       F90MODINCSPEC="-I<dir>"
5474 >       echo "$as_me:$LINENO: result: -I" >&5
5475   echo "${ECHO_T}-I" >&6
5476 < elif $F90 -c -Mconf conftest1.f >> conftest.out 2>&1 ; then
5477 <    MODDIRFLAG="-M"
5478 <    F90MODINCSPEC="-M<dir>"
5479 <    echo "$as_me:4623: result: -M" >&5
5476 >   elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
5477 >       MODDIRFLAG="-M"
5478 >       F90MODINCSPEC="-M<dir>"
5479 >       echo "$as_me:$LINENO: result: -M" >&5
5480   echo "${ECHO_T}-M" >&6
5481 < elif $F90 -c -pconf conftest1.f >> conftest.out 2>&1 ; then
5482 <    MODDIRFLAG="-p"
5483 <    F90MODINCSPEC="-p<dir>"
5484 <    echo "$as_me:4628: result: -p" >&5
5481 >   elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
5482 >       MODDIRFLAG="-p"
5483 >       F90MODINCSPEC="-p<dir>"
5484 >       echo "$as_me:$LINENO: result: -p" >&5
5485   echo "${ECHO_T}-p" >&6
5486 < elif test -s work.pc ; then
5487 <     cp work.pc conf/mpimod.pc
5488 <     echo "mpimod.pc" > conf/mpimod.pcl
5489 <     echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
5490 <     if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
5491 <         MODDIRFLAG='-cl,mpimod.pcl'
5492 <         echo "$as_me:4636: result: -cl,filename where filename contains a list of files and
5493 < directories" >&5
5494 < echo "${ECHO_T}-cl,filename where filename contains a list of files and
5495 < directories" >&6
5496 <         F90_WORK_FILES_ARG="-cl,mpimod.pcl"
5497 <         F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
5498 <
5499 <     else
5500 <         # The version of the Intel compiler that I have refuses to let
4645 <         # you put the "work catalog" list anywhere but the current directory.
4646 <         # For example, you cannot in
5486 >   elif test -s work.pc ; then
5487 >        cp work.pc conf/mpimod.pc
5488 >        echo "mpimod.pc" > conf/mpimod.pcl
5489 >        echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
5490 >        if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
5491 >            MODDIRFLAG='-cl,mpimod.pcl'
5492 >            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
5493 > echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
5494 >            F90_WORK_FILES_ARG="-cl,mpimod.pcl"
5495 >            F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
5496 >
5497 >        else
5498 >            # The version of the Intel compiler that I have refuses to let
5499 >            # you put the "work catalog" list anywhere but the current
5500 >            # directory. For example, you cannot in
5501           :
5502 <     fi
5503 < fi
5504 < if test -z "MODDIRFLAG" ; then
5505 <    echo "$as_me:4651: result: unknown" >&5
5502 >        fi
5503 >   fi
5504 >   if test -z "MODDIRFLAG" ; then
5505 >       echo "$as_me:$LINENO: result: unknown" >&5
5506   echo "${ECHO_T}unknown" >&6
5507 +   fi
5508 +
5509 +
5510 +   rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
5511 +   if test $madedir = 1 ; then rmdir conf ; fi
5512   fi
5513  
4655 rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4656 if test $madedir = 1 ; then rmdir conf ; fi
5514  
5515 < echo "$as_me:4658: checking for mpi-directory" >&5
5515 >
5516 > echo "$as_me:$LINENO: checking for mpi-directory" >&5
5517   echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6
5518  
5519   # Check whether --with-mpi_dir or --without-mpi_dir was given.
# Line 4665 | Line 5523 | echo "$as_me:4668: result: $MPI_DIR" >&5
5523   else
5524    MPI_DIR="/usr/local"
5525   fi;
5526 < echo "$as_me:4668: result: $MPI_DIR" >&5
5526 > echo "$as_me:$LINENO: result: $MPI_DIR" >&5
5527   echo "${ECHO_T}$MPI_DIR" >&6
5528  
5529 < echo "$as_me:4671: checking for mpi-lib-directory" >&5
5529 >
5530 > echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5
5531   echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6
5532  
5533   # Check whether --with-mpi_libdir or --without-mpi_libdir was given.
# Line 4678 | Line 5537 | echo "$as_me:4681: result: $MPI_LIBDIR" >&5
5537   else
5538    MPI_LIBDIR="$MPI_DIR/lib"
5539   fi;
5540 < echo "$as_me:4681: result: $MPI_LIBDIR" >&5
5540 > echo "$as_me:$LINENO: result: $MPI_LIBDIR" >&5
5541   echo "${ECHO_T}$MPI_LIBDIR" >&6
5542  
5543 < echo "$as_me:4684: checking for mpi-inc-directory" >&5
5543 >
5544 > echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5
5545   echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6
5546  
5547   # Check whether --with-mpi_inc or --without-mpi_inc was given.
# Line 4691 | Line 5551 | echo "$as_me:4694: result: $MPI_INC" >&5
5551   else
5552    MPI_INC="$MPI_DIR/include"
5553   fi;
5554 < echo "$as_me:4694: result: $MPI_INC" >&5
5554 > echo "$as_me:$LINENO: result: $MPI_INC" >&5
5555   echo "${ECHO_T}$MPI_INC" >&6
5556  
5557 < echo "$as_me:4697: checking for MPI library" >&5
5557 >
5558 >
5559 > echo "$as_me:$LINENO: checking for MPI library" >&5
5560   echo $ECHO_N "checking for MPI library... $ECHO_C" >&6
5561   MPI_LIB=""
5562   case "$host" in
5563    *-ibm-aix*)
5564 <    echo "$as_me:4702: checking whether to use signal-based MPI library" >&5
5564 >    echo "$as_me:$LINENO: checking whether to use signal-based MPI library" >&5
5565   echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6
5566 <    echo "$as_me:4704: result: $PACX_SIGNAL" >&5
5566 >    echo "$as_me:$LINENO: result: $PACX_SIGNAL" >&5
5567   echo "${ECHO_T}$PACX_SIGNAL" >&6
5568      if test "x$PACX_SIGNAL" = "xyes" ; then
5569        if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 4711 | Line 5573 | echo "${ECHO_T}$PACX_SIGNAL" >&6
5573        elif test -f "$MPI_LIBDIR/libmpich.a" ; then
5574          MPI_LIB="-lmpich"
5575        else
5576 <        { { echo "$as_me:4714: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5576 >        { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5577   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5578     { (exit 1); exit 1; }; }
5579        fi
# Line 4719 | Line 5581 | echo "$as_me: error: neither libmpi nor libmpich found
5581        if test -f "$MPI_LIBDIR/libmpi_r.a" ; then
5582           MPI_LIB="-lmpi_r"
5583        else
5584 <         { { echo "$as_me:4722: error: libmpi_r not found; check path for MPI package..." >&5
5584 >         { { echo "$as_me:$LINENO: error: libmpi_r not found; check path for MPI package..." >&5
5585   echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;}
5586     { (exit 1); exit 1; }; }
5587        fi
5588      fi
5589 <    echo "$as_me:4727: result: found $MPI_LIB" >&5
5589 >    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5590   echo "${ECHO_T}found $MPI_LIB" >&6
5591    ;;
5592    *)                             if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 4734 | Line 5596 | echo "${ECHO_T}found $MPI_LIB" >&6
5596      elif test -f "$MPI_LIBDIR/libmpich.a" ; then
5597        MPI_LIB="-lmpich"
5598      else
5599 <      { { echo "$as_me:4737: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5599 >      { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5600   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5601     { (exit 1); exit 1; }; }
5602      fi
5603 <    echo "$as_me:4741: result: found $MPI_LIB" >&5
5603 >    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5604   echo "${ECHO_T}found $MPI_LIB" >&6
5605    ;;
5606   esac
5607  
5608 +
5609 +
5610 +
5611 +
5612 +
5613 +
5614          for ac_prog in mpif90 hf90 mpxlf90 mpf90 mpxlf95 mpxlf_r
5615   do
5616    # Extract the first word of "$ac_prog", so it can be a program name with args.
5617   set dummy $ac_prog; ac_word=$2
5618 < echo "$as_me:4750: checking for $ac_word" >&5
5618 > echo "$as_me:$LINENO: checking for $ac_word" >&5
5619   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5620   if test "${ac_cv_prog_MPIF90+set}" = set; then
5621    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4755 | Line 5623 | else
5623    if test -n "$MPIF90"; then
5624    ac_cv_prog_MPIF90="$MPIF90" # Let the user override the test.
5625   else
5626 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
5627 < ac_dummy="$PATH"
5628 < for ac_dir in $ac_dummy; do
5629 <  IFS=$ac_save_IFS
5630 <  test -z "$ac_dir" && ac_dir=.
5631 <  $as_executable_p "$ac_dir/$ac_word" || continue
5632 < ac_cv_prog_MPIF90="$ac_prog"
5633 < echo "$as_me:4765: found $ac_dir/$ac_word" >&5
5634 < break
5626 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 > for as_dir in $PATH
5628 > do
5629 >  IFS=$as_save_IFS
5630 >  test -z "$as_dir" && as_dir=.
5631 >  for ac_exec_ext in '' $ac_executable_extensions; do
5632 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633 >    ac_cv_prog_MPIF90="$ac_prog"
5634 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 >    break 2
5636 >  fi
5637   done
5638 + done
5639  
5640   fi
5641   fi
5642   MPIF90=$ac_cv_prog_MPIF90
5643   if test -n "$MPIF90"; then
5644 <  echo "$as_me:4773: result: $MPIF90" >&5
5644 >  echo "$as_me:$LINENO: result: $MPIF90" >&5
5645   echo "${ECHO_T}$MPIF90" >&6
5646   else
5647 <  echo "$as_me:4776: result: no" >&5
5647 >  echo "$as_me:$LINENO: result: no" >&5
5648   echo "${ECHO_T}no" >&6
5649   fi
5650  
# Line 4784 | Line 5655 | if test x = x"$MPILIBS"; then
5655          acx_mpi_save_F90="$F90"
5656          F90="$MPIF90"
5657  
5658 +
5659 +
5660   if test x = x"$MPILIBS"; then
5661 <        echo "$as_me:4788: checking for MPI_Init" >&5
5661 >        echo "$as_me:$LINENO: checking for MPI_Init" >&5
5662   echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6
5663                          cat >conftest.$ac_ext <<_ACEOF
5664  
# Line 4796 | Line 5669 | if { (eval echo "$as_me:4799: \"$ac_link\"") >&5
5669  
5670   _ACEOF
5671   rm -f conftest.$ac_objext conftest$ac_exeext
5672 < if { (eval echo "$as_me:4799: \"$ac_link\"") >&5
5672 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5673    (eval $ac_link) 2>&5
5674    ac_status=$?
5675 <  echo "$as_me:4802: \$? = $ac_status" >&5
5675 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676    (exit $ac_status); } &&
5677           { ac_try='test -s conftest$ac_exeext'
5678 <  { (eval echo "$as_me:4805: \"$ac_try\"") >&5
5678 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679    (eval $ac_try) 2>&5
5680    ac_status=$?
5681 <  echo "$as_me:4808: \$? = $ac_status" >&5
5681 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682    (exit $ac_status); }; }; then
5683    MPILIBS=" "
5684 <                                echo "$as_me:4811: result: yes" >&5
5684 >                                echo "$as_me:$LINENO: result: yes" >&5
5685   echo "${ECHO_T}yes" >&6
5686   else
5687    echo "$as_me: failed program was:" >&5
5688 < cat conftest.$ac_ext >&5
5689 < echo "$as_me:4816: result: no" >&5
5688 > sed 's/^/| /' conftest.$ac_ext >&5
5689 >
5690 > echo "$as_me:$LINENO: result: no" >&5
5691   echo "${ECHO_T}no" >&6
5692   fi
5693   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5694   fi
5695   if test x = x"$MPILIBS"; then
5696 <        echo "$as_me:4822: checking for MPI_Init in -lmpi" >&5
5696 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5697   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5698   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5699    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4835 | Line 5709 | if { (eval echo "$as_me:4838: \"$ac_link\"") >&5
5709  
5710   _ACEOF
5711   rm -f conftest.$ac_objext conftest$ac_exeext
5712 < if { (eval echo "$as_me:4838: \"$ac_link\"") >&5
5712 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5713    (eval $ac_link) 2>&5
5714    ac_status=$?
5715 <  echo "$as_me:4841: \$? = $ac_status" >&5
5715 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716    (exit $ac_status); } &&
5717           { ac_try='test -s conftest$ac_exeext'
5718 <  { (eval echo "$as_me:4844: \"$ac_try\"") >&5
5718 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719    (eval $ac_try) 2>&5
5720    ac_status=$?
5721 <  echo "$as_me:4847: \$? = $ac_status" >&5
5721 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722    (exit $ac_status); }; }; then
5723    ac_cv_lib_mpi_MPI_Init=yes
5724   else
5725    echo "$as_me: failed program was:" >&5
5726 < cat conftest.$ac_ext >&5
5726 > sed 's/^/| /' conftest.$ac_ext >&5
5727 >
5728   ac_cv_lib_mpi_MPI_Init=no
5729   fi
5730   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5731   LIBS=$ac_check_lib_save_LIBS
5732   fi
5733 < echo "$as_me:4858: result: $ac_cv_lib_mpi_MPI_Init" >&5
5733 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5734   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5735   if test $ac_cv_lib_mpi_MPI_Init = yes; then
5736    MPILIBS="-lmpi"
# Line 4863 | Line 5738 | if test x = x"$MPILIBS"; then
5738  
5739   fi
5740   if test x = x"$MPILIBS"; then
5741 <        echo "$as_me:4866: checking for MPI_Init in -lmpich" >&5
5741 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
5742   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
5743   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
5744    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4879 | Line 5754 | if { (eval echo "$as_me:4882: \"$ac_link\"") >&5
5754  
5755   _ACEOF
5756   rm -f conftest.$ac_objext conftest$ac_exeext
5757 < if { (eval echo "$as_me:4882: \"$ac_link\"") >&5
5757 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5758    (eval $ac_link) 2>&5
5759    ac_status=$?
5760 <  echo "$as_me:4885: \$? = $ac_status" >&5
5760 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761    (exit $ac_status); } &&
5762           { ac_try='test -s conftest$ac_exeext'
5763 <  { (eval echo "$as_me:4888: \"$ac_try\"") >&5
5763 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5764    (eval $ac_try) 2>&5
5765    ac_status=$?
5766 <  echo "$as_me:4891: \$? = $ac_status" >&5
5766 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767    (exit $ac_status); }; }; then
5768    ac_cv_lib_mpich_MPI_Init=yes
5769   else
5770    echo "$as_me: failed program was:" >&5
5771 < cat conftest.$ac_ext >&5
5771 > sed 's/^/| /' conftest.$ac_ext >&5
5772 >
5773   ac_cv_lib_mpich_MPI_Init=no
5774   fi
5775   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5776   LIBS=$ac_check_lib_save_LIBS
5777   fi
5778 < echo "$as_me:4902: result: $ac_cv_lib_mpich_MPI_Init" >&5
5778 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
5779   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
5780   if test $ac_cv_lib_mpich_MPI_Init = yes; then
5781    MPILIBS="-lmpich"
# Line 4907 | Line 5783 | F90="$acx_mpi_save_F90"
5783  
5784   fi
5785  
5786 +
5787 +
5788   F90="$acx_mpi_save_F90"
5789  
5790 +
5791 +
5792   # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
5793   if test x = x"$MPILIBS"; then
5794  
5795          :
5796   else
5797  
5798 < cat >>confdefs.h <<\EOF
5798 > cat >>confdefs.h <<\_ACEOF
5799   #define HAVE_MPI 1
5800 < EOF
5800 > _ACEOF
5801  
5802          :
5803   fi
5804  
5805 +
5806   ac_ext=c
5807   ac_cpp='$CPP $CPPFLAGS'
5808   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5809   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5810   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5811 < echo "$as_me:4930: checking how to run the C preprocessor" >&5
5811 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5812   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5813   # On Suns, sometimes $CPP names a directory.
5814   if test -n "$CPP" && test -d "$CPP"; then
# Line 4940 | Line 5821 | else
5821        # Double quotes because CPP needs to be expanded
5822      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5823      do
4943      # break 2 since there is a loop in there.
5824        ac_preproc_ok=false
5825   for ac_c_preproc_warn_flag in '' yes
5826   do
5827    # Use a header file that comes with gcc, so configuring glibc
5828    # with a fresh cross-compiler works.
5829 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5830 +  # <limits.h> exists even on freestanding compilers.
5831    # On the NeXT, cc -E runs the code through the compiler's parser,
5832    # not just through cpp. "Syntax error" is here to catch this case.
5833    cat >conftest.$ac_ext <<_ACEOF
5834 < #line 4952 "configure"
5835 < #include "confdefs.h"
5836 < #include <assert.h>
5834 > #line $LINENO "configure"
5835 > /* confdefs.h.  */
5836 > _ACEOF
5837 > cat confdefs.h >>conftest.$ac_ext
5838 > cat >>conftest.$ac_ext <<_ACEOF
5839 > /* end confdefs.h.  */
5840 > #ifdef __STDC__
5841 > # include <limits.h>
5842 > #else
5843 > # include <assert.h>
5844 > #endif
5845                       Syntax error
5846   _ACEOF
5847 < if { (eval echo "$as_me:4957: \"$ac_cpp conftest.$ac_ext\"") >&5
5847 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5848    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5849    ac_status=$?
5850 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5850 >  grep -v '^ *+' conftest.er1 >conftest.err
5851    rm -f conftest.er1
5852    cat conftest.err >&5
5853 <  echo "$as_me:4963: \$? = $ac_status" >&5
5853 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854    (exit $ac_status); } >/dev/null; then
5855    if test -s conftest.err; then
5856      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4974 | Line 5864 | else
5864    :
5865   else
5866    echo "$as_me: failed program was:" >&5
5867 <  cat conftest.$ac_ext >&5
5867 > sed 's/^/| /' conftest.$ac_ext >&5
5868 >
5869    # Broken: fails on valid input.
5870   continue
5871   fi
# Line 4983 | Line 5874 | rm -f conftest.err conftest.$ac_ext
5874    # OK, works on sane cases.  Now check whether non-existent headers
5875    # can be detected and how.
5876    cat >conftest.$ac_ext <<_ACEOF
5877 < #line 4986 "configure"
5878 < #include "confdefs.h"
5877 > #line $LINENO "configure"
5878 > /* confdefs.h.  */
5879 > _ACEOF
5880 > cat confdefs.h >>conftest.$ac_ext
5881 > cat >>conftest.$ac_ext <<_ACEOF
5882 > /* end confdefs.h.  */
5883   #include <ac_nonexistent.h>
5884   _ACEOF
5885 < if { (eval echo "$as_me:4990: \"$ac_cpp conftest.$ac_ext\"") >&5
5885 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5886    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5887    ac_status=$?
5888 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5888 >  grep -v '^ *+' conftest.er1 >conftest.err
5889    rm -f conftest.er1
5890    cat conftest.err >&5
5891 <  echo "$as_me:4996: \$? = $ac_status" >&5
5891 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892    (exit $ac_status); } >/dev/null; then
5893    if test -s conftest.err; then
5894      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5008 | Line 5903 | else
5903   continue
5904   else
5905    echo "$as_me: failed program was:" >&5
5906 <  cat conftest.$ac_ext >&5
5906 > sed 's/^/| /' conftest.$ac_ext >&5
5907 >
5908    # Passes both tests.
5909   ac_preproc_ok=:
5910   break
# Line 5019 | Line 5915 | if $ac_preproc_ok; then
5915   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5916   rm -f conftest.err conftest.$ac_ext
5917   if $ac_preproc_ok; then
5918 <  break 2
5918 >  break
5919   fi
5920  
5921      done
# Line 5030 | Line 5926 | echo "$as_me:5033: result: $CPP" >&5
5926   else
5927    ac_cv_prog_CPP=$CPP
5928   fi
5929 < echo "$as_me:5033: result: $CPP" >&5
5929 > echo "$as_me:$LINENO: result: $CPP" >&5
5930   echo "${ECHO_T}$CPP" >&6
5931   ac_preproc_ok=false
5932   for ac_c_preproc_warn_flag in '' yes
5933   do
5934    # Use a header file that comes with gcc, so configuring glibc
5935    # with a fresh cross-compiler works.
5936 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5937 +  # <limits.h> exists even on freestanding compilers.
5938    # On the NeXT, cc -E runs the code through the compiler's parser,
5939    # not just through cpp. "Syntax error" is here to catch this case.
5940    cat >conftest.$ac_ext <<_ACEOF
5941 < #line 5043 "configure"
5942 < #include "confdefs.h"
5943 < #include <assert.h>
5941 > #line $LINENO "configure"
5942 > /* confdefs.h.  */
5943 > _ACEOF
5944 > cat confdefs.h >>conftest.$ac_ext
5945 > cat >>conftest.$ac_ext <<_ACEOF
5946 > /* end confdefs.h.  */
5947 > #ifdef __STDC__
5948 > # include <limits.h>
5949 > #else
5950 > # include <assert.h>
5951 > #endif
5952                       Syntax error
5953   _ACEOF
5954 < if { (eval echo "$as_me:5048: \"$ac_cpp conftest.$ac_ext\"") >&5
5954 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5955    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5956    ac_status=$?
5957 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5957 >  grep -v '^ *+' conftest.er1 >conftest.err
5958    rm -f conftest.er1
5959    cat conftest.err >&5
5960 <  echo "$as_me:5054: \$? = $ac_status" >&5
5960 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961    (exit $ac_status); } >/dev/null; then
5962    if test -s conftest.err; then
5963      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5065 | Line 5971 | else
5971    :
5972   else
5973    echo "$as_me: failed program was:" >&5
5974 <  cat conftest.$ac_ext >&5
5974 > sed 's/^/| /' conftest.$ac_ext >&5
5975 >
5976    # Broken: fails on valid input.
5977   continue
5978   fi
# Line 5074 | Line 5981 | rm -f conftest.err conftest.$ac_ext
5981    # OK, works on sane cases.  Now check whether non-existent headers
5982    # can be detected and how.
5983    cat >conftest.$ac_ext <<_ACEOF
5984 < #line 5077 "configure"
5985 < #include "confdefs.h"
5984 > #line $LINENO "configure"
5985 > /* confdefs.h.  */
5986 > _ACEOF
5987 > cat confdefs.h >>conftest.$ac_ext
5988 > cat >>conftest.$ac_ext <<_ACEOF
5989 > /* end confdefs.h.  */
5990   #include <ac_nonexistent.h>
5991   _ACEOF
5992 < if { (eval echo "$as_me:5081: \"$ac_cpp conftest.$ac_ext\"") >&5
5992 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5993    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5994    ac_status=$?
5995 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5995 >  grep -v '^ *+' conftest.er1 >conftest.err
5996    rm -f conftest.er1
5997    cat conftest.err >&5
5998 <  echo "$as_me:5087: \$? = $ac_status" >&5
5998 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999    (exit $ac_status); } >/dev/null; then
6000    if test -s conftest.err; then
6001      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5099 | Line 6010 | else
6010   continue
6011   else
6012    echo "$as_me: failed program was:" >&5
6013 <  cat conftest.$ac_ext >&5
6013 > sed 's/^/| /' conftest.$ac_ext >&5
6014 >
6015    # Passes both tests.
6016   ac_preproc_ok=:
6017   break
# Line 5112 | Line 6024 | else
6024   if $ac_preproc_ok; then
6025    :
6026   else
6027 <  { { echo "$as_me:5115: error: C preprocessor \"$CPP\" fails sanity check" >&5
6028 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
6027 >  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6028 > See \`config.log' for more details." >&5
6029 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6030 > See \`config.log' for more details." >&2;}
6031     { (exit 1); exit 1; }; }
6032   fi
6033  
# Line 5123 | Line 6037 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6037   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6038   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6039  
6040 +
6041 + echo "$as_me:$LINENO: checking for egrep" >&5
6042 + echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6043 + if test "${ac_cv_prog_egrep+set}" = set; then
6044 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6045 + else
6046 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6047 +    then ac_cv_prog_egrep='grep -E'
6048 +    else ac_cv_prog_egrep='egrep'
6049 +    fi
6050 + fi
6051 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6052 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6053 + EGREP=$ac_cv_prog_egrep
6054 +
6055 +
6056 + echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6057 + echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6058 + if test "${ac_cv_header_stdc+set}" = set; then
6059 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6060 + else
6061 +  cat >conftest.$ac_ext <<_ACEOF
6062 + #line $LINENO "configure"
6063 + /* confdefs.h.  */
6064 + _ACEOF
6065 + cat confdefs.h >>conftest.$ac_ext
6066 + cat >>conftest.$ac_ext <<_ACEOF
6067 + /* end confdefs.h.  */
6068 + #include <stdlib.h>
6069 + #include <stdarg.h>
6070 + #include <string.h>
6071 + #include <float.h>
6072 +
6073 + int
6074 + main ()
6075 + {
6076 +
6077 +  ;
6078 +  return 0;
6079 + }
6080 + _ACEOF
6081 + rm -f conftest.$ac_objext
6082 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6083 +  (eval $ac_compile) 2>&5
6084 +  ac_status=$?
6085 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 +  (exit $ac_status); } &&
6087 +         { ac_try='test -s conftest.$ac_objext'
6088 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6089 +  (eval $ac_try) 2>&5
6090 +  ac_status=$?
6091 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 +  (exit $ac_status); }; }; then
6093 +  ac_cv_header_stdc=yes
6094 + else
6095 +  echo "$as_me: failed program was:" >&5
6096 + sed 's/^/| /' conftest.$ac_ext >&5
6097 +
6098 + ac_cv_header_stdc=no
6099 + fi
6100 + rm -f conftest.$ac_objext conftest.$ac_ext
6101 +
6102 + if test $ac_cv_header_stdc = yes; then
6103 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6104 +  cat >conftest.$ac_ext <<_ACEOF
6105 + #line $LINENO "configure"
6106 + /* confdefs.h.  */
6107 + _ACEOF
6108 + cat confdefs.h >>conftest.$ac_ext
6109 + cat >>conftest.$ac_ext <<_ACEOF
6110 + /* end confdefs.h.  */
6111 + #include <string.h>
6112 +
6113 + _ACEOF
6114 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6115 +  $EGREP "memchr" >/dev/null 2>&1; then
6116 +  :
6117 + else
6118 +  ac_cv_header_stdc=no
6119 + fi
6120 + rm -f conftest*
6121 +
6122 + fi
6123 +
6124 + if test $ac_cv_header_stdc = yes; then
6125 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6126 +  cat >conftest.$ac_ext <<_ACEOF
6127 + #line $LINENO "configure"
6128 + /* confdefs.h.  */
6129 + _ACEOF
6130 + cat confdefs.h >>conftest.$ac_ext
6131 + cat >>conftest.$ac_ext <<_ACEOF
6132 + /* end confdefs.h.  */
6133 + #include <stdlib.h>
6134 +
6135 + _ACEOF
6136 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6137 +  $EGREP "free" >/dev/null 2>&1; then
6138 +  :
6139 + else
6140 +  ac_cv_header_stdc=no
6141 + fi
6142 + rm -f conftest*
6143 +
6144 + fi
6145 +
6146 + if test $ac_cv_header_stdc = yes; then
6147 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6148 +  if test "$cross_compiling" = yes; then
6149 +  :
6150 + else
6151 +  cat >conftest.$ac_ext <<_ACEOF
6152 + #line $LINENO "configure"
6153 + /* confdefs.h.  */
6154 + _ACEOF
6155 + cat confdefs.h >>conftest.$ac_ext
6156 + cat >>conftest.$ac_ext <<_ACEOF
6157 + /* end confdefs.h.  */
6158 + #include <ctype.h>
6159 + #if ((' ' & 0x0FF) == 0x020)
6160 + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6161 + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6162 + #else
6163 + # define ISLOWER(c) \
6164 +                   (('a' <= (c) && (c) <= 'i') \
6165 +                     || ('j' <= (c) && (c) <= 'r') \
6166 +                     || ('s' <= (c) && (c) <= 'z'))
6167 + # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6168 + #endif
6169 +
6170 + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6171 + int
6172 + main ()
6173 + {
6174 +  int i;
6175 +  for (i = 0; i < 256; i++)
6176 +    if (XOR (islower (i), ISLOWER (i))
6177 +        || toupper (i) != TOUPPER (i))
6178 +      exit(2);
6179 +  exit (0);
6180 + }
6181 + _ACEOF
6182 + rm -f conftest$ac_exeext
6183 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6184 +  (eval $ac_link) 2>&5
6185 +  ac_status=$?
6186 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6188 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 +  (eval $ac_try) 2>&5
6190 +  ac_status=$?
6191 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 +  (exit $ac_status); }; }; then
6193 +  :
6194 + else
6195 +  echo "$as_me: program exited with status $ac_status" >&5
6196 + echo "$as_me: failed program was:" >&5
6197 + sed 's/^/| /' conftest.$ac_ext >&5
6198 +
6199 + ( exit $ac_status )
6200 + ac_cv_header_stdc=no
6201 + fi
6202 + rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6203 + fi
6204 + fi
6205 + fi
6206 + echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6207 + echo "${ECHO_T}$ac_cv_header_stdc" >&6
6208 + if test $ac_cv_header_stdc = yes; then
6209 +
6210 + cat >>confdefs.h <<\_ACEOF
6211 + #define STDC_HEADERS 1
6212 + _ACEOF
6213 +
6214 + fi
6215 +
6216 + # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6217 +
6218 +
6219 +
6220 +
6221 +
6222 +
6223 +
6224 +
6225 +
6226 + for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6227 +                  inttypes.h stdint.h unistd.h
6228 + do
6229 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6230 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6231 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6232 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6233 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6234 + else
6235 +  cat >conftest.$ac_ext <<_ACEOF
6236 + #line $LINENO "configure"
6237 + /* confdefs.h.  */
6238 + _ACEOF
6239 + cat confdefs.h >>conftest.$ac_ext
6240 + cat >>conftest.$ac_ext <<_ACEOF
6241 + /* end confdefs.h.  */
6242 + $ac_includes_default
6243 +
6244 + #include <$ac_header>
6245 + _ACEOF
6246 + rm -f conftest.$ac_objext
6247 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6248 +  (eval $ac_compile) 2>&5
6249 +  ac_status=$?
6250 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 +  (exit $ac_status); } &&
6252 +         { ac_try='test -s conftest.$ac_objext'
6253 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6254 +  (eval $ac_try) 2>&5
6255 +  ac_status=$?
6256 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 +  (exit $ac_status); }; }; then
6258 +  eval "$as_ac_Header=yes"
6259 + else
6260 +  echo "$as_me: failed program was:" >&5
6261 + sed 's/^/| /' conftest.$ac_ext >&5
6262 +
6263 + eval "$as_ac_Header=no"
6264 + fi
6265 + rm -f conftest.$ac_objext conftest.$ac_ext
6266 + fi
6267 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6268 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6269 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
6270 +  cat >>confdefs.h <<_ACEOF
6271 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6272 + _ACEOF
6273 +
6274 + fi
6275 +
6276 + done
6277 +
6278 +
6279 +
6280 +
6281 +
6282   # Check whether --with-sprng_prefix or --without-sprng_prefix was given.
6283   if test "${with_sprng_prefix+set}" = set; then
6284    withval="$with_sprng_prefix"
# Line 5155 | Line 6311 | fi;
6311      sprng_include=${sprng_prefix}/include
6312    fi
6313  
6314 <  echo "$as_me:5158: checking for SPRNG include files in $sprng_include" >&5
6314 >  echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include" >&5
6315   echo $ECHO_N "checking for SPRNG include files in $sprng_include... $ECHO_C" >&6
6316    if test -f ${sprng_include}/sprng.h; then
6317      have_sprngincl=yes
6318 <    echo "$as_me:5162: result: yes" >&5
6318 >    echo "$as_me:$LINENO: result: yes" >&5
6319   echo "${ECHO_T}yes" >&6
6320    else
6321      have_sprngincl=no
6322 <    echo "$as_me:5166: result: no" >&5
6322 >    echo "$as_me:$LINENO: result: no" >&5
6323   echo "${ECHO_T}no" >&6
6324 <    { { echo "$as_me:5168: error: Could not locate the SPRNG include files" >&5
6324 >    { { echo "$as_me:$LINENO: error: Could not locate the SPRNG include files" >&5
6325   echo "$as_me: error: Could not locate the SPRNG include files" >&2;}
6326     { (exit 1); exit 1; }; }
6327    fi
6328  
6329 <  echo "$as_me:5173: checking for SPRNG libraries in $sprng_libdir" >&5
6329 >  echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_libdir" >&5
6330   echo $ECHO_N "checking for SPRNG libraries in $sprng_libdir... $ECHO_C" >&6
6331    if test -f ${sprng_libdir}/libsprng.a; then
6332      have_sprnglib=yes
6333 <    echo "$as_me:5177: result: yes" >&5
6333 >    echo "$as_me:$LINENO: result: yes" >&5
6334   echo "${ECHO_T}yes" >&6
6335    else
6336      have_sprnglib=no
6337 <    echo "$as_me:5181: result: no" >&5
6337 >    echo "$as_me:$LINENO: result: no" >&5
6338   echo "${ECHO_T}no" >&6
6339 <    { { echo "$as_me:5183: error: Could not locate the SPRNG libraries" >&5
6339 >    { { echo "$as_me:$LINENO: error: Could not locate the SPRNG libraries" >&5
6340   echo "$as_me: error: Could not locate the SPRNG libraries" >&2;}
6341     { (exit 1); exit 1; }; }
6342    fi
6343  
6344 +
6345 +
6346    ac_ext=c
6347   ac_cpp='$CPP $CPPFLAGS'
6348   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5195 | Line 6353 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6353    CPPFLAGS="${CPPFLAGS} -I${sprng_include}"
6354    ac_save_LDFLAGS=$LDFLAGS
6355    LDFLAGS="${LDFLAGS} -L${sprng_libdir} -lsprng"
6356 <  echo "$as_me:5198: checking for sprng.h" >&5
6356 >  if test "${ac_cv_header_sprng_h+set}" = set; then
6357 >  echo "$as_me:$LINENO: checking for sprng.h" >&5
6358   echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
6359   if test "${ac_cv_header_sprng_h+set}" = set; then
6360    echo $ECHO_N "(cached) $ECHO_C" >&6
6361 + fi
6362 + echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5
6363 + echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
6364   else
6365 <  cat >conftest.$ac_ext <<_ACEOF
6366 < #line 5204 "configure"
6367 < #include "confdefs.h"
6365 >  # Is the header compilable?
6366 > echo "$as_me:$LINENO: checking sprng.h usability" >&5
6367 > echo $ECHO_N "checking sprng.h usability... $ECHO_C" >&6
6368 > cat >conftest.$ac_ext <<_ACEOF
6369 > #line $LINENO "configure"
6370 > /* confdefs.h.  */
6371 > _ACEOF
6372 > cat confdefs.h >>conftest.$ac_ext
6373 > cat >>conftest.$ac_ext <<_ACEOF
6374 > /* end confdefs.h.  */
6375 > $ac_includes_default
6376   #include <sprng.h>
6377   _ACEOF
6378 < if { (eval echo "$as_me:5208: \"$ac_cpp conftest.$ac_ext\"") >&5
6378 > rm -f conftest.$ac_objext
6379 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6380 >  (eval $ac_compile) 2>&5
6381 >  ac_status=$?
6382 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 >  (exit $ac_status); } &&
6384 >         { ac_try='test -s conftest.$ac_objext'
6385 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6386 >  (eval $ac_try) 2>&5
6387 >  ac_status=$?
6388 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 >  (exit $ac_status); }; }; then
6390 >  ac_header_compiler=yes
6391 > else
6392 >  echo "$as_me: failed program was:" >&5
6393 > sed 's/^/| /' conftest.$ac_ext >&5
6394 >
6395 > ac_header_compiler=no
6396 > fi
6397 > rm -f conftest.$ac_objext conftest.$ac_ext
6398 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6399 > echo "${ECHO_T}$ac_header_compiler" >&6
6400 >
6401 > # Is the header present?
6402 > echo "$as_me:$LINENO: checking sprng.h presence" >&5
6403 > echo $ECHO_N "checking sprng.h presence... $ECHO_C" >&6
6404 > cat >conftest.$ac_ext <<_ACEOF
6405 > #line $LINENO "configure"
6406 > /* confdefs.h.  */
6407 > _ACEOF
6408 > cat confdefs.h >>conftest.$ac_ext
6409 > cat >>conftest.$ac_ext <<_ACEOF
6410 > /* end confdefs.h.  */
6411 > #include <sprng.h>
6412 > _ACEOF
6413 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6414    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6415    ac_status=$?
6416 <  egrep -v '^ *\+' conftest.er1 >conftest.err
6416 >  grep -v '^ *+' conftest.er1 >conftest.err
6417    rm -f conftest.er1
6418    cat conftest.err >&5
6419 <  echo "$as_me:5214: \$? = $ac_status" >&5
6419 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420    (exit $ac_status); } >/dev/null; then
6421    if test -s conftest.err; then
6422      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5222 | Line 6427 | if test -z "$ac_cpp_err"; then
6427    ac_cpp_err=yes
6428   fi
6429   if test -z "$ac_cpp_err"; then
6430 <  ac_cv_header_sprng_h=yes
6430 >  ac_header_preproc=yes
6431   else
6432    echo "$as_me: failed program was:" >&5
6433 <  cat conftest.$ac_ext >&5
6434 <  ac_cv_header_sprng_h=no
6433 > sed 's/^/| /' conftest.$ac_ext >&5
6434 >
6435 >  ac_header_preproc=no
6436   fi
6437   rm -f conftest.err conftest.$ac_ext
6438 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6439 + echo "${ECHO_T}$ac_header_preproc" >&6
6440 +
6441 + # So?  What about this header?
6442 + case $ac_header_compiler:$ac_header_preproc in
6443 +  yes:no )
6444 +    { echo "$as_me:$LINENO: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&5
6445 + echo "$as_me: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6446 +    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6447 + echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6448 +    (
6449 +      cat <<\_ASBOX
6450 + ## ------------------------------------ ##
6451 + ## Report this to bug-autoconf@gnu.org. ##
6452 + ## ------------------------------------ ##
6453 + _ASBOX
6454 +    ) |
6455 +      sed "s/^/$as_me: WARNING:     /" >&2
6456 +    ;;
6457 +  no:yes )
6458 +    { echo "$as_me:$LINENO: WARNING: sprng.h: present but cannot be compiled" >&5
6459 + echo "$as_me: WARNING: sprng.h: present but cannot be compiled" >&2;}
6460 +    { echo "$as_me:$LINENO: WARNING: sprng.h: check for missing prerequisite headers?" >&5
6461 + echo "$as_me: WARNING: sprng.h: check for missing prerequisite headers?" >&2;}
6462 +    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6463 + echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6464 +    (
6465 +      cat <<\_ASBOX
6466 + ## ------------------------------------ ##
6467 + ## Report this to bug-autoconf@gnu.org. ##
6468 + ## ------------------------------------ ##
6469 + _ASBOX
6470 +    ) |
6471 +      sed "s/^/$as_me: WARNING:     /" >&2
6472 +    ;;
6473 + esac
6474 + echo "$as_me:$LINENO: checking for sprng.h" >&5
6475 + echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
6476 + if test "${ac_cv_header_sprng_h+set}" = set; then
6477 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6478 + else
6479 +  ac_cv_header_sprng_h=$ac_header_preproc
6480   fi
6481 < echo "$as_me:5233: result: $ac_cv_header_sprng_h" >&5
6481 > echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5
6482   echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
6483 +
6484 + fi
6485   if test $ac_cv_header_sprng_h = yes; then
6486  
6487 <    echo "$as_me:5237: checking for init_rng in -lsprng" >&5
6487 >    echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
6488   echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
6489   if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
6490    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5242 | Line 6492 | cat >conftest.$ac_ext <<_ACEOF
6492    ac_check_lib_save_LIBS=$LIBS
6493   LIBS="-lsprng  $LIBS"
6494   cat >conftest.$ac_ext <<_ACEOF
6495 < #line 5245 "configure"
6496 < #include "confdefs.h"
6495 > #line $LINENO "configure"
6496 > /* confdefs.h.  */
6497 > _ACEOF
6498 > cat confdefs.h >>conftest.$ac_ext
6499 > cat >>conftest.$ac_ext <<_ACEOF
6500 > /* end confdefs.h.  */
6501  
6502   /* Override any gcc2 internal prototype to avoid an error.  */
6503   #ifdef __cplusplus
# Line 5261 | Line 6515 | if { (eval echo "$as_me:5264: \"$ac_link\"") >&5
6515   }
6516   _ACEOF
6517   rm -f conftest.$ac_objext conftest$ac_exeext
6518 < if { (eval echo "$as_me:5264: \"$ac_link\"") >&5
6518 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6519    (eval $ac_link) 2>&5
6520    ac_status=$?
6521 <  echo "$as_me:5267: \$? = $ac_status" >&5
6521 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522    (exit $ac_status); } &&
6523           { ac_try='test -s conftest$ac_exeext'
6524 <  { (eval echo "$as_me:5270: \"$ac_try\"") >&5
6524 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525    (eval $ac_try) 2>&5
6526    ac_status=$?
6527 <  echo "$as_me:5273: \$? = $ac_status" >&5
6527 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528    (exit $ac_status); }; }; then
6529    ac_cv_lib_sprng_init_rng=yes
6530   else
6531    echo "$as_me: failed program was:" >&5
6532 < cat conftest.$ac_ext >&5
6532 > sed 's/^/| /' conftest.$ac_ext >&5
6533 >
6534   ac_cv_lib_sprng_init_rng=no
6535   fi
6536   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6537   LIBS=$ac_check_lib_save_LIBS
6538   fi
6539 < echo "$as_me:5284: result: $ac_cv_lib_sprng_init_rng" >&5
6539 > echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
6540   echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
6541   if test $ac_cv_lib_sprng_init_rng = yes; then
6542    SPRNG_LIBDIR="${sprng_libdir}"
# Line 5291 | Line 6546 | fi
6546  
6547   fi
6548  
6549 +
6550    CPPFLAGS=$ac_save_CPPFLAGS
6551    LDFLAGS=$ac_save_LDFLAGS
6552    ac_ext=f90
# Line 5298 | Line 6554 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6554   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6555   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6556  
6557 +
6558    if test x_$HAVE_SPRNG != x_yes; then
6559 <        { { echo "$as_me:5302: error: Can't build with SPRNG" >&5
6559 >        { { echo "$as_me:$LINENO: error: Can't build with SPRNG" >&5
6560   echo "$as_me: error: Can't build with SPRNG" >&2;}
6561     { (exit 1); exit 1; }; }
6562    fi
6563  
6564 < echo "$as_me:5307: checking if MKL is wanted" >&5
6564 >
6565 >
6566 >
6567 >
6568 > echo "$as_me:$LINENO: checking if MKL is wanted" >&5
6569   echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
6570  
6571   # Check whether --with-mkl or --without-mkl was given.
6572   if test "${with_mkl+set}" = set; then
6573    withval="$with_mkl"
6574 <     echo "$as_me:5313: result: yes" >&5
6574 >     echo "$as_me:$LINENO: result: yes" >&5
6575   echo "${ECHO_T}yes" >&6
6576      for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do
6577          mkldir="$dir"
# Line 5320 | Line 6581 | echo "${ECHO_T}yes" >&6
6581          fi
6582      done
6583      if test x_$found_mkl != x_yes; then
6584 <        { { echo "$as_me:5323: error: Cannot find MKL includes" >&5
6584 >        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
6585   echo "$as_me: error: Cannot find MKL includes" >&2;}
6586     { (exit 1); exit 1; }; }
6587      else
6588          printf "MKL includes found in $mkldir/include\n";
6589      fi
6590  
6591 +
6592 +
6593    ac_ext=c
6594   ac_cpp='$CPP $CPPFLAGS'
6595   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5337 | Line 6600 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6600    CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
6601    ac_save_LDFLAGS=$LDFLAGS
6602    LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
6603 <  echo "$as_me:5340: checking for mkl.h" >&5
6603 >  if test "${ac_cv_header_mkl_h+set}" = set; then
6604 >  echo "$as_me:$LINENO: checking for mkl.h" >&5
6605   echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
6606   if test "${ac_cv_header_mkl_h+set}" = set; then
6607    echo $ECHO_N "(cached) $ECHO_C" >&6
6608 + fi
6609 + echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
6610 + echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6611   else
6612 <  cat >conftest.$ac_ext <<_ACEOF
6613 < #line 5346 "configure"
6614 < #include "confdefs.h"
6612 >  # Is the header compilable?
6613 > echo "$as_me:$LINENO: checking mkl.h usability" >&5
6614 > echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
6615 > cat >conftest.$ac_ext <<_ACEOF
6616 > #line $LINENO "configure"
6617 > /* confdefs.h.  */
6618 > _ACEOF
6619 > cat confdefs.h >>conftest.$ac_ext
6620 > cat >>conftest.$ac_ext <<_ACEOF
6621 > /* end confdefs.h.  */
6622 > $ac_includes_default
6623   #include <mkl.h>
6624   _ACEOF
6625 < if { (eval echo "$as_me:5350: \"$ac_cpp conftest.$ac_ext\"") >&5
6625 > rm -f conftest.$ac_objext
6626 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6627 >  (eval $ac_compile) 2>&5
6628 >  ac_status=$?
6629 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 >  (exit $ac_status); } &&
6631 >         { ac_try='test -s conftest.$ac_objext'
6632 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 >  (eval $ac_try) 2>&5
6634 >  ac_status=$?
6635 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 >  (exit $ac_status); }; }; then
6637 >  ac_header_compiler=yes
6638 > else
6639 >  echo "$as_me: failed program was:" >&5
6640 > sed 's/^/| /' conftest.$ac_ext >&5
6641 >
6642 > ac_header_compiler=no
6643 > fi
6644 > rm -f conftest.$ac_objext conftest.$ac_ext
6645 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6646 > echo "${ECHO_T}$ac_header_compiler" >&6
6647 >
6648 > # Is the header present?
6649 > echo "$as_me:$LINENO: checking mkl.h presence" >&5
6650 > echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
6651 > cat >conftest.$ac_ext <<_ACEOF
6652 > #line $LINENO "configure"
6653 > /* confdefs.h.  */
6654 > _ACEOF
6655 > cat confdefs.h >>conftest.$ac_ext
6656 > cat >>conftest.$ac_ext <<_ACEOF
6657 > /* end confdefs.h.  */
6658 > #include <mkl.h>
6659 > _ACEOF
6660 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6661    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6662    ac_status=$?
6663 <  egrep -v '^ *\+' conftest.er1 >conftest.err
6663 >  grep -v '^ *+' conftest.er1 >conftest.err
6664    rm -f conftest.er1
6665    cat conftest.err >&5
6666 <  echo "$as_me:5356: \$? = $ac_status" >&5
6666 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667    (exit $ac_status); } >/dev/null; then
6668    if test -s conftest.err; then
6669      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5364 | Line 6674 | if test -z "$ac_cpp_err"; then
6674    ac_cpp_err=yes
6675   fi
6676   if test -z "$ac_cpp_err"; then
6677 <  ac_cv_header_mkl_h=yes
6677 >  ac_header_preproc=yes
6678   else
6679    echo "$as_me: failed program was:" >&5
6680 <  cat conftest.$ac_ext >&5
6681 <  ac_cv_header_mkl_h=no
6680 > sed 's/^/| /' conftest.$ac_ext >&5
6681 >
6682 >  ac_header_preproc=no
6683   fi
6684   rm -f conftest.err conftest.$ac_ext
6685 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6686 + echo "${ECHO_T}$ac_header_preproc" >&6
6687 +
6688 + # So?  What about this header?
6689 + case $ac_header_compiler:$ac_header_preproc in
6690 +  yes:no )
6691 +    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6692 + echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6693 +    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6694 + echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6695 +    (
6696 +      cat <<\_ASBOX
6697 + ## ------------------------------------ ##
6698 + ## Report this to bug-autoconf@gnu.org. ##
6699 + ## ------------------------------------ ##
6700 + _ASBOX
6701 +    ) |
6702 +      sed "s/^/$as_me: WARNING:     /" >&2
6703 +    ;;
6704 +  no:yes )
6705 +    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
6706 + echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
6707 +    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
6708 + echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
6709 +    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6710 + echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6711 +    (
6712 +      cat <<\_ASBOX
6713 + ## ------------------------------------ ##
6714 + ## Report this to bug-autoconf@gnu.org. ##
6715 + ## ------------------------------------ ##
6716 + _ASBOX
6717 +    ) |
6718 +      sed "s/^/$as_me: WARNING:     /" >&2
6719 +    ;;
6720 + esac
6721 + echo "$as_me:$LINENO: checking for mkl.h" >&5
6722 + echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
6723 + if test "${ac_cv_header_mkl_h+set}" = set; then
6724 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6725 + else
6726 +  ac_cv_header_mkl_h=$ac_header_preproc
6727   fi
6728 < echo "$as_me:5375: result: $ac_cv_header_mkl_h" >&5
6728 > echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
6729   echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6730 +
6731 + fi
6732   if test $ac_cv_header_mkl_h = yes; then
6733  
6734 <    echo "$as_me:5379: checking for vslNewStream in -lmkl" >&5
6734 >    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
6735   echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
6736   if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
6737    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5384 | Line 6739 | cat >conftest.$ac_ext <<_ACEOF
6739    ac_check_lib_save_LIBS=$LIBS
6740   LIBS="-lmkl  $LIBS"
6741   cat >conftest.$ac_ext <<_ACEOF
6742 < #line 5387 "configure"
6743 < #include "confdefs.h"
6742 > #line $LINENO "configure"
6743 > /* confdefs.h.  */
6744 > _ACEOF
6745 > cat confdefs.h >>conftest.$ac_ext
6746 > cat >>conftest.$ac_ext <<_ACEOF
6747 > /* end confdefs.h.  */
6748  
6749   /* Override any gcc2 internal prototype to avoid an error.  */
6750   #ifdef __cplusplus
# Line 5403 | Line 6762 | if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
6762   }
6763   _ACEOF
6764   rm -f conftest.$ac_objext conftest$ac_exeext
6765 < if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
6765 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6766    (eval $ac_link) 2>&5
6767    ac_status=$?
6768 <  echo "$as_me:5409: \$? = $ac_status" >&5
6768 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769    (exit $ac_status); } &&
6770           { ac_try='test -s conftest$ac_exeext'
6771 <  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
6771 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772    (eval $ac_try) 2>&5
6773    ac_status=$?
6774 <  echo "$as_me:5415: \$? = $ac_status" >&5
6774 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775    (exit $ac_status); }; }; then
6776    ac_cv_lib_mkl_vslNewStream=yes
6777   else
6778    echo "$as_me: failed program was:" >&5
6779 < cat conftest.$ac_ext >&5
6779 > sed 's/^/| /' conftest.$ac_ext >&5
6780 >
6781   ac_cv_lib_mkl_vslNewStream=no
6782   fi
6783   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6784   LIBS=$ac_check_lib_save_LIBS
6785   fi
6786 < echo "$as_me:5426: result: $ac_cv_lib_mkl_vslNewStream" >&5
6786 > echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
6787   echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
6788   if test $ac_cv_lib_mkl_vslNewStream = yes; then
6789    MKL_LIBDIR="${mkldir}/lib/32",
# Line 5431 | Line 6791 | else
6791                       HAVE_MKL="yes"
6792   fi
6793  
6794 +
6795   else
6796    MKL_INC="-I${mkldir}/include"
6797   fi
6798  
6799 +
6800    CPPFLAGS=$ac_save_CPPFLAGS
6801    LDFLAGS=$ac_save_LDFLAGS
6802    ac_ext=f90
# Line 5442 | Line 6804 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6804   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6805   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6806  
6807 +
6808    if test x_$HAVE_MKL != x_yes; then
6809 <        { { echo "$as_me:5446: error: Can't build with MKL" >&5
6809 >        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
6810   echo "$as_me: error: Can't build with MKL" >&2;}
6811     { (exit 1); exit 1; }; }
6812    fi
6813  
6814 +
6815 +
6816 +
6817 +
6818   else
6819  
6820 <    echo "$as_me:5453: result: no" >&5
6820 >    echo "$as_me:$LINENO: result: no" >&5
6821   echo "${ECHO_T}no" >&6
6822  
6823   fi;
6824  
6825 +
6826 +
6827 +
6828 +
6829   # Check whether --with-mpi_f90_mods or --without-mpi_f90_mods was given.
6830   if test "${with_mpi_f90_mods+set}" = set; then
6831    withval="$with_mpi_f90_mods"
# Line 5463 | Line 6834 | fi;
6834    mpi_f90_mods="/usr/local/include/f90choice"
6835   fi;
6836  
6837 <  echo "$as_me:5466: checking for MPI F90 modules" >&5
6837 >  echo "$as_me:$LINENO: checking for MPI F90 modules" >&5
6838   echo $ECHO_N "checking for MPI F90 modules... $ECHO_C" >&6
6839  
6840 +
6841    ac_ext=f90
6842   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6843   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 5479 | Line 6851 | program main
6851  
6852      cat >conftest.$ac_ext <<_ACEOF
6853  
6854 +
6855   program main
6856  
6857   use mpi
6858   integer :: ierr
6859   call MPI_Init(ierr)
6860  
6861 +
6862   end program main
6863  
6864   _ACEOF
6865   rm -f conftest.$ac_objext
6866 < if { (eval echo "$as_me:5492: \"$ac_compile\"") >&5
6866 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6867    (eval $ac_compile) 2>&5
6868    ac_status=$?
6869 <  echo "$as_me:5495: \$? = $ac_status" >&5
6869 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870    (exit $ac_status); } &&
6871           { ac_try='test -s conftest.$ac_objext'
6872 <  { (eval echo "$as_me:5498: \"$ac_try\"") >&5
6872 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873    (eval $ac_try) 2>&5
6874    ac_status=$?
6875 <  echo "$as_me:5501: \$? = $ac_status" >&5
6875 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876    (exit $ac_status); }; }; then
6877    HAVE_MPI_MOD=1
6878   else
6879    echo "$as_me: failed program was:" >&5
6880 < cat conftest.$ac_ext >&5
6880 > sed 's/^/| /' conftest.$ac_ext >&5
6881 >
6882   HAVE_MPI_MOD=0
6883   fi
6884   rm -f conftest.$ac_objext conftest.$ac_ext
# Line 5514 | Line 6889 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6889   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6890   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6891  
6892 +
6893    if test "$HAVE_MPI_MOD" = 1; then
6894 <    echo "$as_me:5518: result: yes" >&5
6894 >    echo "$as_me:$LINENO: result: yes" >&5
6895   echo "${ECHO_T}yes" >&6
6896  
6897 < cat >>confdefs.h <<\EOF
6897 > cat >>confdefs.h <<\_ACEOF
6898   #define MPI_MOD 1
6899 < EOF
6899 > _ACEOF
6900  
6901      MPI_F90_MODS="${mpi_f90_mods}"
6902  
# Line 5535 | Line 6911 | EOF
6911      fi
6912  
6913    else
6914 <    echo "$as_me:5538: result: no" >&5
6914 >    echo "$as_me:$LINENO: result: no" >&5
6915   echo "${ECHO_T}no" >&6
6916 <    { { echo "$as_me:5540: error: Couldn't locate MPI F90 Modules" >&5
6916 >    { { echo "$as_me:$LINENO: error: Couldn't locate MPI F90 Modules" >&5
6917   echo "$as_me: error: Couldn't locate MPI F90 Modules" >&2;}
6918     { (exit 1); exit 1; }; }
6919    fi
6920  
6921 +
6922 +
6923 +
6924 +
6925   OBJEXT=".$OBJEXT"
6926  
6927   OOPSE=oopse
# Line 5584 | Line 6964 | ac_config_headers="$ac_config_headers libmdtools/confi
6964       ;;
6965   esac
6966  
5587 ac_config_headers="$ac_config_headers libmdtools/config.h"
6967  
5589 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"
6968  
6969 +
6970 +
6971 +
6972 +
6973 +
6974 +
6975 +
6976 +
6977 +
6978 +
6979 +
6980 +
6981 +
6982 +
6983 +          ac_config_headers="$ac_config_headers libmdtools/config.h"
6984 +
6985 +                                                                                                                                                      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"
6986 +
6987 +
6988   cat >confcache <<\_ACEOF
6989   # This file is a shell script that caches the results of configure
6990   # tests run on this system so they can be shared between configure
# Line 5598 | Line 6995 | cat >confcache <<\_ACEOF
6995   # config.status only pays attention to the cache file if you give it
6996   # the --recheck option to rerun configure.
6997   #
6998 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
6998 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
6999   # loading this file, other *unset* `ac_cv_foo' will be assigned the
7000   # following values.
7001  
# Line 5617 | Line 7014 | _ACEOF
7014        # substitution turns \\\\ into \\, and sed turns \\ into \).
7015        sed -n \
7016          "s/'/'\\\\''/g;
7017 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7017 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7018        ;;
7019      *)
7020        # `set' quotes correctly as required by POSIX, so do not add quotes.
7021        sed -n \
7022 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7022 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7023        ;;
7024      esac;
7025   } |
# Line 5633 | Line 7030 | if cmp -s $cache_file confcache; then :; else
7030       t end
7031       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7032       : end' >>confcache
7033 < if cmp -s $cache_file confcache; then :; else
7033 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
7034    if test -w $cache_file; then
7035      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7036      cat confcache >$cache_file
# Line 5664 | Line 7061 | DEFS=-DHAVE_CONFIG_H
7061  
7062   DEFS=-DHAVE_CONFIG_H
7063  
7064 + ac_libobjs=
7065 + ac_ltlibobjs=
7066 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7067 +  # 1. Remove the extension, and $U if already installed.
7068 +  ac_i=`echo "$ac_i" |
7069 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7070 +  # 2. Add them.
7071 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7072 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7073 + done
7074 + LIBOBJS=$ac_libobjs
7075 +
7076 + LTLIBOBJS=$ac_ltlibobjs
7077 +
7078 +
7079 +
7080   : ${CONFIG_STATUS=./config.status}
7081   ac_clean_files_save=$ac_clean_files
7082   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7083 < { echo "$as_me:5670: creating $CONFIG_STATUS" >&5
7083 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7084   echo "$as_me: creating $CONFIG_STATUS" >&6;}
7085   cat >$CONFIG_STATUS <<_ACEOF
7086   #! $SHELL
7087 < # Generated automatically by configure.
7087 > # Generated by $as_me.
7088   # Run this file to recreate the current configuration.
7089   # Compiler output produced by configure, useful for debugging
7090   # configure, is in config.log if it exists.
7091  
7092   debug=false
7093 + ac_cs_recheck=false
7094 + ac_cs_silent=false
7095   SHELL=\${CONFIG_SHELL-$SHELL}
5681 ac_cs_invocation="\$0 \$@"
5682
7096   _ACEOF
7097  
7098   cat >>$CONFIG_STATUS <<\_ACEOF
7099 + ## --------------------- ##
7100 + ## M4sh Initialization.  ##
7101 + ## --------------------- ##
7102 +
7103   # Be Bourne compatible
7104   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7105    emulate sh
7106    NULLCMD=:
7107 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7108 +  # is contrary to our usage.  Disable this feature.
7109 +  alias -g '${1+"$@"}'='"$@"'
7110   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7111    set -o posix
7112   fi
7113  
7114 + # Support unset when possible.
7115 + if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
7116 +  as_unset=unset
7117 + else
7118 +  as_unset=false
7119 + fi
7120 +
7121 +
7122 + # Work around bugs in pre-3.0 UWIN ksh.
7123 + $as_unset ENV MAIL MAILPATH
7124 + PS1='$ '
7125 + PS2='> '
7126 + PS4='+ '
7127 +
7128 + # NLS nuisances.
7129 + for as_var in \
7130 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7131 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7132 +  LC_TELEPHONE LC_TIME
7133 + do
7134 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
7135 +    eval $as_var=C; export $as_var
7136 +  else
7137 +    $as_unset $as_var
7138 +  fi
7139 + done
7140 +
7141 + # Required to use basename.
7142 + if expr a : '\(a\)' >/dev/null 2>&1; then
7143 +  as_expr=expr
7144 + else
7145 +  as_expr=false
7146 + fi
7147 +
7148 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7149 +  as_basename=basename
7150 + else
7151 +  as_basename=false
7152 + fi
7153 +
7154 +
7155   # Name of the executable.
7156 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
7156 > as_me=`$as_basename "$0" ||
7157 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7158 >         X"$0" : 'X\(//\)$' \| \
7159 >         X"$0" : 'X\(/\)$' \| \
7160 >         .     : '\(.\)' 2>/dev/null ||
7161 > echo X/"$0" |
7162 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7163 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
7164 >          /^X\/\(\/\).*/{ s//\1/; q; }
7165 >          s/.*/./; q'`
7166  
7167 +
7168 + # PATH needs CR, and LINENO needs CR and PATH.
7169 + # Avoid depending upon Character Ranges.
7170 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7171 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7172 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7173 + as_cr_digits='0123456789'
7174 + as_cr_alnum=$as_cr_Letters$as_cr_digits
7175 +
7176 + # The user is always right.
7177 + if test "${PATH_SEPARATOR+set}" != set; then
7178 +  echo "#! /bin/sh" >conf$$.sh
7179 +  echo  "exit 0"   >>conf$$.sh
7180 +  chmod +x conf$$.sh
7181 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7182 +    PATH_SEPARATOR=';'
7183 +  else
7184 +    PATH_SEPARATOR=:
7185 +  fi
7186 +  rm -f conf$$.sh
7187 + fi
7188 +
7189 +
7190 +  as_lineno_1=$LINENO
7191 +  as_lineno_2=$LINENO
7192 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7193 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
7194 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
7195 +  # Find who we are.  Look in the path if we contain no path at all
7196 +  # relative or not.
7197 +  case $0 in
7198 +    *[\\/]* ) as_myself=$0 ;;
7199 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 + for as_dir in $PATH
7201 + do
7202 +  IFS=$as_save_IFS
7203 +  test -z "$as_dir" && as_dir=.
7204 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7205 + done
7206 +
7207 +       ;;
7208 +  esac
7209 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
7210 +  # in which case we are not to be found in the path.
7211 +  if test "x$as_myself" = x; then
7212 +    as_myself=$0
7213 +  fi
7214 +  if test ! -f "$as_myself"; then
7215 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7216 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7217 +   { (exit 1); exit 1; }; }
7218 +  fi
7219 +  case $CONFIG_SHELL in
7220 +  '')
7221 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7223 + do
7224 +  IFS=$as_save_IFS
7225 +  test -z "$as_dir" && as_dir=.
7226 +  for as_base in sh bash ksh sh5; do
7227 +         case $as_dir in
7228 +         /*)
7229 +           if ("$as_dir/$as_base" -c '
7230 +  as_lineno_1=$LINENO
7231 +  as_lineno_2=$LINENO
7232 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7233 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
7234 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
7235 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7236 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7237 +             CONFIG_SHELL=$as_dir/$as_base
7238 +             export CONFIG_SHELL
7239 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7240 +           fi;;
7241 +         esac
7242 +       done
7243 + done
7244 + ;;
7245 +  esac
7246 +
7247 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7248 +  # uniformly replaced by the line number.  The first 'sed' inserts a
7249 +  # line-number line before each line; the second 'sed' does the real
7250 +  # work.  The second script uses 'N' to pair each line-number line
7251 +  # with the numbered line, and appends trailing '-' during
7252 +  # substitution so that $LINENO is not a special case at line end.
7253 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7254 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
7255 +  sed '=' <$as_myself |
7256 +    sed '
7257 +      N
7258 +      s,$,-,
7259 +      : loop
7260 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7261 +      t loop
7262 +      s,-$,,
7263 +      s,^['$as_cr_digits']*\n,,
7264 +    ' >$as_me.lineno &&
7265 +  chmod +x $as_me.lineno ||
7266 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7267 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7268 +   { (exit 1); exit 1; }; }
7269 +
7270 +  # Don't try to exec as it changes $[0], causing all sort of problems
7271 +  # (the dirname of $[0] is not the place where we might find the
7272 +  # original and so on.  Autoconf is especially sensible to this).
7273 +  . ./$as_me.lineno
7274 +  # Exit status is that of the last command.
7275 +  exit
7276 + }
7277 +
7278 +
7279 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7280 +  *c*,-n*) ECHO_N= ECHO_C='
7281 + ' ECHO_T='      ' ;;
7282 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7283 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
7284 + esac
7285 +
7286   if expr a : '\(a\)' >/dev/null 2>&1; then
7287    as_expr=expr
7288   else
# Line 5718 | Line 7307 | as_executable_p="test -f"
7307   fi
7308   rm -f conf$$ conf$$.exe conf$$.file
7309  
7310 < as_executable_p="test -f"
7311 <
5723 < # Support unset when possible.
5724 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5725 <  as_unset=unset
7310 > if mkdir -p . 2>/dev/null; then
7311 >  as_mkdir_p=:
7312   else
7313 <  as_unset=false
7313 >  as_mkdir_p=false
7314   fi
7315  
7316 < # NLS nuisances.
5731 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5732 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5733 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5734 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5735 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5736 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5737 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5738 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
7316 > as_executable_p="test -f"
7317  
7318 + # Sed expression to map a string onto a valid CPP name.
7319 + as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7320 +
7321 + # Sed expression to map a string onto a valid variable name.
7322 + as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7323 +
7324 +
7325   # IFS
7326   # We need space, tab and new line, in precisely that order.
7327   as_nl='
# Line 5744 | Line 7329 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
7329   IFS="   $as_nl"
7330  
7331   # CDPATH.
7332 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
7332 > $as_unset CDPATH
7333  
7334   exec 6>&1
7335  
7336 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
7337 + # report actual input values of CONFIG_FILES etc. instead of their
7338 + # values after options handling.  Logging --version etc. is OK.
7339 + exec 5>>config.log
7340 + {
7341 +  echo
7342 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7343 + ## Running $as_me. ##
7344 + _ASBOX
7345 + } >&5
7346 + cat >&5 <<_CSEOF
7347 +
7348 + This file was extended by OOPSE $as_me 1.0, which was
7349 + generated by GNU Autoconf 2.57.  Invocation command line was
7350 +
7351 +  CONFIG_FILES    = $CONFIG_FILES
7352 +  CONFIG_HEADERS  = $CONFIG_HEADERS
7353 +  CONFIG_LINKS    = $CONFIG_LINKS
7354 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
7355 +  $ $0 $@
7356 +
7357 + _CSEOF
7358 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7359 + echo >&5
7360   _ACEOF
7361  
7362   # Files that config.status was made for.
# Line 5767 | Line 7376 | cat >>$CONFIG_STATUS <<\EOF
7376    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7377   fi
7378  
7379 < cat >>$CONFIG_STATUS <<\EOF
7379 > cat >>$CONFIG_STATUS <<\_ACEOF
7380  
7381   ac_cs_usage="\
7382   \`$as_me' instantiates files from templates according to the
# Line 5777 | Line 7386 | Usage: $0 [OPTIONS] [FILE]...
7386  
7387    -h, --help       print this help, then exit
7388    -V, --version    print version number, then exit
7389 +  -q, --quiet      do not print progress messages
7390    -d, --debug      don't remove temporary files
7391        --recheck    update $as_me by reconfiguring in the same conditions
7392    --file=FILE[:TEMPLATE]
# Line 5791 | Line 7401 | EOF
7401   $config_headers
7402  
7403   Report bugs to <bug-autoconf@gnu.org>."
7404 < EOF
7404 > _ACEOF
7405  
7406 < cat >>$CONFIG_STATUS <<EOF
7406 > cat >>$CONFIG_STATUS <<_ACEOF
7407   ac_cs_version="\\
7408   OOPSE config.status 1.0
7409 < configured by $0, generated by GNU Autoconf 2.50,
7409 > configured by $0, generated by GNU Autoconf 2.57,
7410    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7411  
7412   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 5805 | Line 7415 | EOF
7415   gives unlimited permission to copy, distribute and modify it."
7416   srcdir=$srcdir
7417   INSTALL="$INSTALL"
7418 < EOF
7418 > _ACEOF
7419  
7420 < cat >>$CONFIG_STATUS <<\EOF
7420 > cat >>$CONFIG_STATUS <<\_ACEOF
7421   # If no file are specified by the user, then we need to provide default
7422   # value.  By we need to know if files were specified by the user.
7423   ac_need_defaults=:
# Line 5817 | Line 7427 | do
7427    --*=*)
7428      ac_option=`expr "x$1" : 'x\([^=]*\)='`
7429      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7430 <    shift
5821 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5822 <    shift
7430 >    ac_shift=:
7431      ;;
7432 <  -*);;
7432 >  -*)
7433 >    ac_option=$1
7434 >    ac_optarg=$2
7435 >    ac_shift=shift
7436 >    ;;
7437    *) # This is not an option, so the user has probably given explicit
7438       # arguments.
7439 +     ac_option=$1
7440       ac_need_defaults=false;;
7441    esac
7442  
7443 <  case $1 in
7443 >  case $ac_option in
7444    # Handling of the options.
7445 < EOF
7446 < cat >>$CONFIG_STATUS <<EOF
7445 > _ACEOF
7446 > cat >>$CONFIG_STATUS <<\_ACEOF
7447    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7448 <    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5836 <    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5837 < EOF
5838 < cat >>$CONFIG_STATUS <<\EOF
7448 >    ac_cs_recheck=: ;;
7449    --version | --vers* | -V )
7450      echo "$ac_cs_version"; exit 0 ;;
7451    --he | --h)
7452      # Conflict between --help and --header
7453 <    { { echo "$as_me:5843: error: ambiguous option: $1
7453 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
7454   Try \`$0 --help' for more information." >&5
7455   echo "$as_me: error: ambiguous option: $1
7456   Try \`$0 --help' for more information." >&2;}
# Line 5850 | Line 7460 | Try \`$0 --help' for more information." >&2;}
7460    --debug | --d* | -d )
7461      debug=: ;;
7462    --file | --fil | --fi | --f )
7463 <    shift
7464 <    CONFIG_FILES="$CONFIG_FILES $1"
7463 >    $ac_shift
7464 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7465      ac_need_defaults=false;;
7466    --header | --heade | --head | --hea )
7467 <    shift
7468 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
7467 >    $ac_shift
7468 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7469      ac_need_defaults=false;;
7470 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7471 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7472 +    ac_cs_silent=: ;;
7473  
5861  # Handling of arguments.
5862  'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5863  'libBASS/Makefile' ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
5864  'libmdtools/Makefile' ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
5865  'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5866  'utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
5867  'utils/sysbuilder/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
5868  'forceFields/Makefile' ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
5869  'samples/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
5870  'staticProps/Makefile' ) CONFIG_FILES="$CONFIG_FILES staticProps/Makefile" ;;
5871  'samples/alkane/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
5872  'samples/argon/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
5873  'samples/beadLipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
5874  'samples/lipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
5875  'samples/metals/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
5876  'samples/water/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
5877  'libmdtools/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
5878
7474    # This is an error.
7475 <  -*) { { echo "$as_me:5880: error: unrecognized option: $1
7475 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7476   Try \`$0 --help' for more information." >&5
7477   echo "$as_me: error: unrecognized option: $1
7478   Try \`$0 --help' for more information." >&2;}
7479     { (exit 1); exit 1; }; } ;;
7480 <  *) { { echo "$as_me:5885: error: invalid argument: $1" >&5
7481 < echo "$as_me: error: invalid argument: $1" >&2;}
7482 <   { (exit 1); exit 1; }; };;
7480 >
7481 >  *) ac_config_targets="$ac_config_targets $1" ;;
7482 >
7483    esac
7484    shift
7485   done
7486  
7487 < exec 5>>config.log
5893 < cat >&5 << _ACEOF
7487 > ac_configure_extra_args=
7488  
7489 < ## ----------------------- ##
7490 < ## Running config.status.  ##
7491 < ## ----------------------- ##
7489 > if $ac_cs_silent; then
7490 >  exec 6>/dev/null
7491 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
7492 > fi
7493  
7494 < This file was extended by $as_me (OOPSE 1.0) 2.50, executed with
7495 <  > $ac_cs_invocation
7496 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
7494 > _ACEOF
7495 > cat >>$CONFIG_STATUS <<_ACEOF
7496 > if \$ac_cs_recheck; then
7497 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7498 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7499 > fi
7500  
7501   _ACEOF
7502 < EOF
7502 >
7503  
7504 < cat >>$CONFIG_STATUS <<\EOF
7504 >
7505 >
7506 >
7507 > cat >>$CONFIG_STATUS <<\_ACEOF
7508 > for ac_config_target in $ac_config_targets
7509 > do
7510 >  case "$ac_config_target" in
7511 >  # Handling of arguments.
7512 >  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7513 >  "libBASS/Makefile" ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
7514 >  "libmdtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
7515 >  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7516 >  "utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
7517 >  "utils/sysbuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
7518 >  "forceFields/Makefile" ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
7519 >  "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
7520 >  "staticProps/Makefile" ) CONFIG_FILES="$CONFIG_FILES staticProps/Makefile" ;;
7521 >  "samples/alkane/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
7522 >  "samples/argon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
7523 >  "samples/beadLipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
7524 >  "samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
7525 >  "samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
7526 >  "samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
7527 >  "libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
7528 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7529 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7530 >   { (exit 1); exit 1; }; };;
7531 >  esac
7532 > done
7533 >
7534   # If the user did not use the arguments to specify the items to instantiate,
7535   # then the envvar interface is used.  Set only those that are not.
7536   # We use the long form for the default assignment because of an extremely
# Line 5913 | Line 7540 | fi
7540    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7541   fi
7542  
7543 + # Have a temporary directory for convenience.  Make it in the build tree
7544 + # simply because there is no reason to put it here, and in addition,
7545 + # creating and moving files from /tmp can sometimes cause problems.
7546   # Create a temporary directory, and hook for its removal unless debugging.
7547   $debug ||
7548   {
7549    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7550 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
7550 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
7551   }
7552  
7553   # Create a (secure) tmp directory for tmp files.
7554 < : ${TMPDIR=/tmp}
7554 >
7555   {
7556 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7556 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7557    test -n "$tmp" && test -d "$tmp"
7558   }  ||
7559   {
7560 <  tmp=$TMPDIR/cs$$-$RANDOM
7560 >  tmp=./confstat$$-$RANDOM
7561    (umask 077 && mkdir $tmp)
7562   } ||
7563   {
7564 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7564 >   echo "$me: cannot create a temporary directory in ." >&2
7565     { (exit 1); exit 1; }
7566   }
7567  
7568 < EOF
7568 > _ACEOF
7569  
7570 < cat >>$CONFIG_STATUS <<EOF
7570 > cat >>$CONFIG_STATUS <<_ACEOF
7571  
7572   #
7573   # CONFIG_FILES section.
# Line 5950 | Line 7580 | s,@exec_prefix@,$exec_prefix,;t t
7580    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7581     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7582   s,@SHELL@,$SHELL,;t t
7583 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7584 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7585 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7586 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7587 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7588 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7589   s,@exec_prefix@,$exec_prefix,;t t
7590   s,@prefix@,$prefix,;t t
7591   s,@program_transform_name@,$program_transform_name,;t t
# Line 5965 | Line 7601 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7601   s,@oldincludedir@,$oldincludedir,;t t
7602   s,@infodir@,$infodir,;t t
7603   s,@mandir@,$mandir,;t t
7604 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7605 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7606 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7607 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5972 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7604 > s,@build_alias@,$build_alias,;t t
7605 > s,@host_alias@,$host_alias,;t t
7606 > s,@target_alias@,$target_alias,;t t
7607 > s,@DEFS@,$DEFS,;t t
7608   s,@ECHO_C@,$ECHO_C,;t t
7609   s,@ECHO_N@,$ECHO_N,;t t
7610   s,@ECHO_T@,$ECHO_T,;t t
5976 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5977 s,@DEFS@,$DEFS,;t t
7611   s,@LIBS@,$LIBS,;t t
7612   s,@PROGNAME@,$PROGNAME,;t t
7613   s,@debug@,$debug,;t t
# Line 6028 | Line 7661 | s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
7661   s,@MPIF90@,$MPIF90,;t t
7662   s,@MPILIBS@,$MPILIBS,;t t
7663   s,@CPP@,$CPP,;t t
7664 + s,@EGREP@,$EGREP,;t t
7665   s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
7666   s,@SPRNG_LIB@,$SPRNG_LIB,;t t
7667   s,@SPRNG_INC@,$SPRNG_INC,;t t
# Line 6044 | Line 7678 | CEOF
7678   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
7679   s,@SUBDIRS@,$SUBDIRS,;t t
7680   s,@FFLAGS@,$FFLAGS,;t t
7681 + s,@LIBOBJS@,$LIBOBJS,;t t
7682 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7683   CEOF
7684  
7685 < EOF
7685 > _ACEOF
7686  
7687 <  cat >>$CONFIG_STATUS <<\EOF
7687 >  cat >>$CONFIG_STATUS <<\_ACEOF
7688    # Split the substitutions into bite-sized pieces for seds with
7689    # small command number limits, like on Digital OSF/1 and HP-UX.
7690    ac_max_sed_lines=48
# Line 6087 | Line 7723 | EOF
7723    fi
7724   fi # test -n "$CONFIG_FILES"
7725  
7726 < EOF
7727 < cat >>$CONFIG_STATUS <<\EOF
7726 > _ACEOF
7727 > cat >>$CONFIG_STATUS <<\_ACEOF
7728   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7729    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7730    case $ac_file in
# Line 6102 | Line 7738 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
7738    esac
7739  
7740    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7741 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7741 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7742 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7743           X"$ac_file" : 'X\(//\)[^/]' \| \
7744           X"$ac_file" : 'X\(//\)$' \| \
7745           X"$ac_file" : 'X\(/\)' \| \
# Line 6113 | Line 7750 | echo X"$ac_file" |
7750            /^X\(\/\/\)$/{ s//\1/; q; }
7751            /^X\(\/\).*/{ s//\1/; q; }
7752            s/.*/./; q'`
7753 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7754 <    { case "$ac_dir" in
6118 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6119 <  *)                      as_incr_dir=.;;
6120 < esac
6121 < as_dummy="$ac_dir"
6122 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6123 <  case $as_mkdir_dir in
6124 <    # Skip DOS drivespec
6125 <    ?:) as_incr_dir=$as_mkdir_dir ;;
6126 <    *)
6127 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
6128 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6129 <    ;;
6130 <  esac
6131 < done; }
6132 <
6133 <    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
6134 <    # A "../" for each directory in $ac_dir_suffix.
6135 <    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
7753 >  { if $as_mkdir_p; then
7754 >    mkdir -p "$ac_dir"
7755    else
7756 <    ac_dir_suffix= ac_dots=
7757 <  fi
7756 >    as_dir="$ac_dir"
7757 >    as_dirs=
7758 >    while test ! -d "$as_dir"; do
7759 >      as_dirs="$as_dir $as_dirs"
7760 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7761 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7762 >         X"$as_dir" : 'X\(//\)[^/]' \| \
7763 >         X"$as_dir" : 'X\(//\)$' \| \
7764 >         X"$as_dir" : 'X\(/\)' \| \
7765 >         .     : '\(.\)' 2>/dev/null ||
7766 > echo X"$as_dir" |
7767 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7768 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7769 >          /^X\(\/\/\)$/{ s//\1/; q; }
7770 >          /^X\(\/\).*/{ s//\1/; q; }
7771 >          s/.*/./; q'`
7772 >    done
7773 >    test ! -n "$as_dirs" || mkdir $as_dirs
7774 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7775 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7776 >   { (exit 1); exit 1; }; }; }
7777  
7778 <  case $srcdir in
7779 <  .)  ac_srcdir=.
7780 <      if test -z "$ac_dots"; then
7781 <         ac_top_srcdir=.
7782 <      else
7783 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
7784 <      fi ;;
7785 <  [\\/]* | ?:[\\/]* )
7786 <      ac_srcdir=$srcdir$ac_dir_suffix;
7787 <      ac_top_srcdir=$srcdir ;;
7778 >  ac_builddir=.
7779 >
7780 > if test "$ac_dir" != .; then
7781 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7782 >  # A "../" for each directory in $ac_dir_suffix.
7783 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7784 > else
7785 >  ac_dir_suffix= ac_top_builddir=
7786 > fi
7787 >
7788 > case $srcdir in
7789 >  .)  # No --srcdir option.  We are building in place.
7790 >    ac_srcdir=.
7791 >    if test -z "$ac_top_builddir"; then
7792 >       ac_top_srcdir=.
7793 >    else
7794 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7795 >    fi ;;
7796 >  [\\/]* | ?:[\\/]* )  # Absolute path.
7797 >    ac_srcdir=$srcdir$ac_dir_suffix;
7798 >    ac_top_srcdir=$srcdir ;;
7799    *) # Relative path.
7800 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
7801 <    ac_top_srcdir=$ac_dots$srcdir ;;
7802 <  esac
7800 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7801 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7802 > esac
7803 > # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7804 > # absolute.
7805 > ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7806 > ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7807 > ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7808 > ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7809  
7810 +
7811    case $INSTALL in
7812    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7813 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
7813 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7814    esac
7815  
7816    if test x"$ac_file" != x-; then
7817 <    { echo "$as_me:6161: creating $ac_file" >&5
7817 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
7818   echo "$as_me: creating $ac_file" >&6;}
7819      rm -f "$ac_file"
7820    fi
7821    # Let's still pretend it is `configure' which instantiates (i.e., don't
7822    # use $as_me), people would be surprised to read:
7823 <  #    /* config.h.  Generated automatically by config.status.  */
7824 <  configure_input="Generated automatically from `echo $ac_file_in |
7825 <                                                 sed 's,.*/,,'` by configure."
7823 >  #    /* config.h.  Generated by config.status.  */
7824 >  if test x"$ac_file" = x-; then
7825 >    configure_input=
7826 >  else
7827 >    configure_input="$ac_file.  "
7828 >  fi
7829 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
7830 >                                     sed 's,.*/,,'` by configure."
7831  
7832    # First look for the input files in the build tree, otherwise in the
7833    # src tree.
# Line 6176 | Line 7837 | echo "$as_me: creating $ac_file" >&6;}
7837        -) echo $tmp/stdin ;;
7838        [\\/$]*)
7839           # Absolute (can't be DOS-style, as IFS=:)
7840 <         test -f "$f" || { { echo "$as_me:6179: error: cannot find input file: $f" >&5
7840 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7841   echo "$as_me: error: cannot find input file: $f" >&2;}
7842     { (exit 1); exit 1; }; }
7843           echo $f;;
# Line 6189 | Line 7850 | echo "$as_me: error: cannot find input file: $f" >&2;}
7850             echo $srcdir/$f
7851           else
7852             # /dev/null tree
7853 <           { { echo "$as_me:6192: error: cannot find input file: $f" >&5
7853 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7854   echo "$as_me: error: cannot find input file: $f" >&2;}
7855     { (exit 1); exit 1; }; }
7856           fi;;
7857        esac
7858      done` || { (exit 1); exit 1; }
7859 < EOF
7860 < cat >>$CONFIG_STATUS <<EOF
7859 > _ACEOF
7860 > cat >>$CONFIG_STATUS <<_ACEOF
7861    sed "$ac_vpsub
7862   $extrasub
7863 < EOF
7864 < cat >>$CONFIG_STATUS <<\EOF
7863 > _ACEOF
7864 > cat >>$CONFIG_STATUS <<\_ACEOF
7865   :t
7866   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7867   s,@configure_input@,$configure_input,;t t
7868   s,@srcdir@,$ac_srcdir,;t t
7869 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
7870   s,@top_srcdir@,$ac_top_srcdir,;t t
7871 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7872 + s,@builddir@,$ac_builddir,;t t
7873 + s,@abs_builddir@,$ac_abs_builddir,;t t
7874 + s,@top_builddir@,$ac_top_builddir,;t t
7875 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7876   s,@INSTALL@,$ac_INSTALL,;t t
7877   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7878    rm -f $tmp/stdin
# Line 6217 | Line 7884 | EOF
7884    fi
7885  
7886   done
7887 < EOF
7888 < cat >>$CONFIG_STATUS <<\EOF
7887 > _ACEOF
7888 > cat >>$CONFIG_STATUS <<\_ACEOF
7889  
7890   #
7891   # CONFIG_HEADER section.
# Line 6250 | Line 7917 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
7917    * )   ac_file_in=$ac_file.in ;;
7918    esac
7919  
7920 <  test x"$ac_file" != x- && { echo "$as_me:6253: creating $ac_file" >&5
7920 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7921   echo "$as_me: creating $ac_file" >&6;}
7922  
7923    # First look for the input files in the build tree, otherwise in the
# Line 6261 | Line 7928 | echo "$as_me: creating $ac_file" >&6;}
7928        -) echo $tmp/stdin ;;
7929        [\\/$]*)
7930           # Absolute (can't be DOS-style, as IFS=:)
7931 <         test -f "$f" || { { echo "$as_me:6264: error: cannot find input file: $f" >&5
7931 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7932   echo "$as_me: error: cannot find input file: $f" >&2;}
7933     { (exit 1); exit 1; }; }
7934           echo $f;;
# Line 6274 | Line 7941 | echo "$as_me: error: cannot find input file: $f" >&2;}
7941             echo $srcdir/$f
7942           else
7943             # /dev/null tree
7944 <           { { echo "$as_me:6277: error: cannot find input file: $f" >&5
7944 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7945   echo "$as_me: error: cannot find input file: $f" >&2;}
7946     { (exit 1); exit 1; }; }
7947           fi;;
# Line 6283 | Line 7950 | EOF
7950    # Remove the trailing spaces.
7951    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
7952  
7953 < EOF
7953 > _ACEOF
7954  
7955   # Transform confdefs.h into two sed scripts, `conftest.defines' and
7956   # `conftest.undefs', that substitutes the proper values into
# Line 6299 | Line 7966 | cat >confdef2sed.sed <<\EOF
7966   # `end' is used to avoid that the second main sed command (meant for
7967   # 0-ary CPP macros) applies to n-ary macro definitions.
7968   # See the Autoconf documentation for `clear'.
7969 < cat >confdef2sed.sed <<\EOF
7969 > cat >confdef2sed.sed <<\_ACEOF
7970   s/[\\&,]/\\&/g
7971   s,[\\$`],\\&,g
7972   t clear
7973   : clear
7974 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
7974 > s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7975   t end
7976   s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7977   : end
7978 < EOF
7978 > _ACEOF
7979   # If some macros were called several times there might be several times
7980   # the same #defines, which is useless.  Nevertheless, we may not want to
7981   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 6319 | Line 7986 | cat >>conftest.undefs <<\EOF
7986   # This sed command replaces #undef with comments.  This is necessary, for
7987   # example, in the case of _POSIX_SOURCE, which is predefined and required
7988   # on some systems where configure will not decide to define it.
7989 < cat >>conftest.undefs <<\EOF
7989 > cat >>conftest.undefs <<\_ACEOF
7990   s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7991 < EOF
7991 > _ACEOF
7992  
7993   # Break up conftest.defines because some shells have a limit on the size
7994   # of here documents, and old seds have small limits too (100 cmds).
7995   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7996 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7996 > echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7997   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7998   echo '  :' >>$CONFIG_STATUS
7999   rm -f conftest.tail
# Line 6350 | Line 8017 | echo '  fi # egrep' >>$CONFIG_STATUS
8017    mv conftest.tail conftest.defines
8018   done
8019   rm -f conftest.defines
8020 < echo '  fi # egrep' >>$CONFIG_STATUS
8020 > echo '  fi # grep' >>$CONFIG_STATUS
8021   echo >>$CONFIG_STATUS
8022  
8023   # Break up conftest.undefs because some shells have a limit on the size
# Line 6378 | Line 8045 | cat >>$CONFIG_STATUS <<\EOF
8045   done
8046   rm -f conftest.undefs
8047  
8048 < cat >>$CONFIG_STATUS <<\EOF
8048 > cat >>$CONFIG_STATUS <<\_ACEOF
8049    # Let's still pretend it is `configure' which instantiates (i.e., don't
8050    # use $as_me), people would be surprised to read:
8051 <  #    /* config.h.  Generated automatically by config.status.  */
8051 >  #    /* config.h.  Generated by config.status.  */
8052    if test x"$ac_file" = x-; then
8053 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
8053 >    echo "/* Generated by configure.  */" >$tmp/config.h
8054    else
8055 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
8055 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
8056    fi
8057    cat $tmp/in >>$tmp/config.h
8058    rm -f $tmp/in
8059    if test x"$ac_file" != x-; then
8060 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
8061 <      { echo "$as_me:6394: $ac_file is unchanged" >&5
8060 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8061 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8062   echo "$as_me: $ac_file is unchanged" >&6;}
8063      else
8064 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8064 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8065 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8066           X"$ac_file" : 'X\(//\)[^/]' \| \
8067           X"$ac_file" : 'X\(//\)$' \| \
8068           X"$ac_file" : 'X\(/\)' \| \
# Line 6405 | Line 8073 | echo X"$ac_file" |
8073            /^X\(\/\/\)$/{ s//\1/; q; }
8074            /^X\(\/\).*/{ s//\1/; q; }
8075            s/.*/./; q'`
8076 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
8077 <        { case "$ac_dir" in
8078 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
8079 <  *)                      as_incr_dir=.;;
8080 < esac
8081 < as_dummy="$ac_dir"
8082 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8083 <  case $as_mkdir_dir in
8084 <    # Skip DOS drivespec
8085 <    ?:) as_incr_dir=$as_mkdir_dir ;;
8086 <    *)
8087 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
8088 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
8089 <    ;;
8090 <  esac
8091 < done; }
8076 >      { if $as_mkdir_p; then
8077 >    mkdir -p "$ac_dir"
8078 >  else
8079 >    as_dir="$ac_dir"
8080 >    as_dirs=
8081 >    while test ! -d "$as_dir"; do
8082 >      as_dirs="$as_dir $as_dirs"
8083 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8084 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8085 >         X"$as_dir" : 'X\(//\)[^/]' \| \
8086 >         X"$as_dir" : 'X\(//\)$' \| \
8087 >         X"$as_dir" : 'X\(/\)' \| \
8088 >         .     : '\(.\)' 2>/dev/null ||
8089 > echo X"$as_dir" |
8090 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8091 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8092 >          /^X\(\/\/\)$/{ s//\1/; q; }
8093 >          /^X\(\/\).*/{ s//\1/; q; }
8094 >          s/.*/./; q'`
8095 >    done
8096 >    test ! -n "$as_dirs" || mkdir $as_dirs
8097 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8098 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8099 >   { (exit 1); exit 1; }; }; }
8100  
6425      fi
8101        rm -f $ac_file
8102        mv $tmp/config.h $ac_file
8103      fi
# Line 6431 | Line 8106 | EOF
8106      rm -f $tmp/config.h
8107    fi
8108   done
8109 < EOF
8109 > _ACEOF
8110  
8111 < cat >>$CONFIG_STATUS <<\EOF
8111 > cat >>$CONFIG_STATUS <<\_ACEOF
8112  
8113   { (exit 0); exit 0; }
8114 < EOF
8114 > _ACEOF
8115   chmod +x $CONFIG_STATUS
8116   ac_clean_files=$ac_clean_files_save
8117  
8118 +
8119   # configure is writing to config.log, and then calls config.status.
8120   # config.status does its own redirection, appending to config.log.
8121   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 6450 | Line 8126 | if test "$no_create" != yes; then
8126   # need to make the FD available again.
8127   if test "$no_create" != yes; then
8128    ac_cs_success=:
8129 +  ac_config_status_args=
8130 +  test "$silent" = yes &&
8131 +    ac_config_status_args="$ac_config_status_args --quiet"
8132    exec 5>/dev/null
8133 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
8133 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8134    exec 5>>config.log
8135    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8136    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines