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

Comparing trunk/OOPSE/configure (file contents):
Revision 790 by mmeineke, Mon Sep 29 21:16:11 2003 UTC vs.
Revision 791 by mmeineke, Mon Sep 29 22:05:56 2003 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by Autoconf 2.50 for OOPSE 1.0.
3 > # Generated by GNU Autoconf 2.57 for OOPSE 1.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7 > # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8   # Free Software Foundation, Inc.
9   # This configure script is free software; the Free Software Foundation
10   # gives unlimited permission to copy, distribute and modify it.
11 + ## --------------------- ##
12 + ## M4sh Initialization.  ##
13 + ## --------------------- ##
14  
15   # Be Bourne compatible
16   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17    emulate sh
18    NULLCMD=:
19 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 +  # is contrary to our usage.  Disable this feature.
21 +  alias -g '${1+"$@"}'='"$@"'
22   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23    set -o posix
24   fi
25  
26 + # Support unset when possible.
27 + if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28 +  as_unset=unset
29 + else
30 +  as_unset=false
31 + fi
32 +
33 +
34 + # Work around bugs in pre-3.0 UWIN ksh.
35 + $as_unset ENV MAIL MAILPATH
36 + PS1='$ '
37 + PS2='> '
38 + PS4='+ '
39 +
40 + # NLS nuisances.
41 + for as_var in \
42 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 +  LC_TELEPHONE LC_TIME
45 + do
46 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 +    eval $as_var=C; export $as_var
48 +  else
49 +    $as_unset $as_var
50 +  fi
51 + done
52 +
53 + # Required to use basename.
54 + if expr a : '\(a\)' >/dev/null 2>&1; then
55 +  as_expr=expr
56 + else
57 +  as_expr=false
58 + fi
59 +
60 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 +  as_basename=basename
62 + else
63 +  as_basename=false
64 + fi
65 +
66 +
67   # Name of the executable.
68 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
68 > as_me=`$as_basename "$0" ||
69 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 >         X"$0" : 'X\(//\)$' \| \
71 >         X"$0" : 'X\(/\)$' \| \
72 >         .     : '\(.\)' 2>/dev/null ||
73 > echo X/"$0" |
74 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
76 >          /^X\/\(\/\).*/{ s//\1/; q; }
77 >          s/.*/./; q'`
78  
79 +
80 + # PATH needs CR, and LINENO needs CR and PATH.
81 + # Avoid depending upon Character Ranges.
82 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 + as_cr_digits='0123456789'
86 + as_cr_alnum=$as_cr_Letters$as_cr_digits
87 +
88 + # The user is always right.
89 + if test "${PATH_SEPARATOR+set}" != set; then
90 +  echo "#! /bin/sh" >conf$$.sh
91 +  echo  "exit 0"   >>conf$$.sh
92 +  chmod +x conf$$.sh
93 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 +    PATH_SEPARATOR=';'
95 +  else
96 +    PATH_SEPARATOR=:
97 +  fi
98 +  rm -f conf$$.sh
99 + fi
100 +
101 +
102 +  as_lineno_1=$LINENO
103 +  as_lineno_2=$LINENO
104 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
106 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107 +  # Find who we are.  Look in the path if we contain no path at all
108 +  # relative or not.
109 +  case $0 in
110 +    *[\\/]* ) as_myself=$0 ;;
111 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 + for as_dir in $PATH
113 + do
114 +  IFS=$as_save_IFS
115 +  test -z "$as_dir" && as_dir=.
116 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 + done
118 +
119 +       ;;
120 +  esac
121 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
122 +  # in which case we are not to be found in the path.
123 +  if test "x$as_myself" = x; then
124 +    as_myself=$0
125 +  fi
126 +  if test ! -f "$as_myself"; then
127 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 +   { (exit 1); exit 1; }; }
129 +  fi
130 +  case $CONFIG_SHELL in
131 +  '')
132 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 + do
135 +  IFS=$as_save_IFS
136 +  test -z "$as_dir" && as_dir=.
137 +  for as_base in sh bash ksh sh5; do
138 +         case $as_dir in
139 +         /*)
140 +           if ("$as_dir/$as_base" -c '
141 +  as_lineno_1=$LINENO
142 +  as_lineno_2=$LINENO
143 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
145 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 +             CONFIG_SHELL=$as_dir/$as_base
149 +             export CONFIG_SHELL
150 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 +           fi;;
152 +         esac
153 +       done
154 + done
155 + ;;
156 +  esac
157 +
158 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 +  # uniformly replaced by the line number.  The first 'sed' inserts a
160 +  # line-number line before each line; the second 'sed' does the real
161 +  # work.  The second script uses 'N' to pair each line-number line
162 +  # with the numbered line, and appends trailing '-' during
163 +  # substitution so that $LINENO is not a special case at line end.
164 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166 +  sed '=' <$as_myself |
167 +    sed '
168 +      N
169 +      s,$,-,
170 +      : loop
171 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 +      t loop
173 +      s,-$,,
174 +      s,^['$as_cr_digits']*\n,,
175 +    ' >$as_me.lineno &&
176 +  chmod +x $as_me.lineno ||
177 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 +   { (exit 1); exit 1; }; }
179 +
180 +  # Don't try to exec as it changes $[0], causing all sort of problems
181 +  # (the dirname of $[0] is not the place where we might find the
182 +  # original and so on.  Autoconf is especially sensible to this).
183 +  . ./$as_me.lineno
184 +  # Exit status is that of the last command.
185 +  exit
186 + }
187 +
188 +
189 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 +  *c*,-n*) ECHO_N= ECHO_C='
191 + ' ECHO_T='      ' ;;
192 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 + esac
195 +
196   if expr a : '\(a\)' >/dev/null 2>&1; then
197    as_expr=expr
198   else
# Line 44 | Line 217 | as_executable_p="test -f"
217   fi
218   rm -f conf$$ conf$$.exe conf$$.file
219  
220 < as_executable_p="test -f"
221 <
49 < # Support unset when possible.
50 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 <  as_unset=unset
220 > if mkdir -p . 2>/dev/null; then
221 >  as_mkdir_p=:
222   else
223 <  as_unset=false
223 >  as_mkdir_p=false
224   fi
225  
226 < # NLS nuisances.
57 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
58 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
59 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
60 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
61 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
62 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
63 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
64 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
226 > as_executable_p="test -f"
227  
228 + # Sed expression to map a string onto a valid CPP name.
229 + as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230 +
231 + # Sed expression to map a string onto a valid variable name.
232 + as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233 +
234 +
235   # IFS
236   # We need space, tab and new line, in precisely that order.
237   as_nl='
# Line 70 | Line 239 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
239   IFS="   $as_nl"
240  
241   # CDPATH.
242 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
242 > $as_unset CDPATH
243  
244 +
245   # Name of the host.
246   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247   # so uname gets run too.
# Line 83 | Line 253 | cross_compiling=no
253   # Initializations.
254   #
255   ac_default_prefix=/usr/local
256 + ac_config_libobj_dir=.
257   cross_compiling=no
258   subdirs=
259 < MFLAGS= MAKEFLAGS=
259 > MFLAGS=
260 > MAKEFLAGS=
261   SHELL=${CONFIG_SHELL-/bin/sh}
262  
263   # Maximum number of lines to put in a shell here document.
# Line 93 | Line 265 | SHELL=${CONFIG_SHELL-/bin/sh}
265   # only ac_max_sed_lines should be used.
266   : ${ac_max_here_lines=38}
267  
268 < # Avoid depending upon Character Ranges.
269 < ac_cr_az='abcdefghijklmnopqrstuvwxyz'
270 < ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
271 < ac_cr_09='0123456789'
272 < ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
268 > # Identity of this package.
269 > PACKAGE_NAME='OOPSE'
270 > PACKAGE_TARNAME='oopse'
271 > PACKAGE_VERSION='1.0'
272 > PACKAGE_STRING='OOPSE 1.0'
273 > PACKAGE_BUGREPORT='gezelter@nd.edu'
274  
102 # Sed expression to map a string onto a valid sh and CPP variable names.
103 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
104 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
105
275   ac_unique_file="src/oopse.cpp"
276   ac_default_prefix="/usr/local"
277 + # Factoring default headers for most tests.
278 + ac_includes_default="\
279 + #include <stdio.h>
280 + #if HAVE_SYS_TYPES_H
281 + # include <sys/types.h>
282 + #endif
283 + #if HAVE_SYS_STAT_H
284 + # include <sys/stat.h>
285 + #endif
286 + #if STDC_HEADERS
287 + # include <stdlib.h>
288 + # include <stddef.h>
289 + #else
290 + # if HAVE_STDLIB_H
291 + #  include <stdlib.h>
292 + # endif
293 + #endif
294 + #if HAVE_STRING_H
295 + # if !STDC_HEADERS && HAVE_MEMORY_H
296 + #  include <memory.h>
297 + # endif
298 + # include <string.h>
299 + #endif
300 + #if HAVE_STRINGS_H
301 + # include <strings.h>
302 + #endif
303 + #if HAVE_INTTYPES_H
304 + # include <inttypes.h>
305 + #else
306 + # if HAVE_STDINT_H
307 + #  include <stdint.h>
308 + # endif
309 + #endif
310 + #if HAVE_UNISTD_H
311 + # include <unistd.h>
312 + #endif"
313  
314 + ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME DEBUG build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR F90LIBS F90_FUNC F90_FUNC_ mpi_dir MPI_LIBDIR MPI_INC MPI_LIB MPIF77 MPIF90 MPILIBS CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL MPI_F90_MODS MPIMODLIBNAME BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS'
315 + ac_subst_files=''
316 +
317   # Initialize some variables set by options.
318   ac_init_help=
319   ac_init_version=false
# Line 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 659 | Line 883 | Optional Packages:
883    --with-sprng_include_prefix=PREFIX
884                            SPRNG include directory
885    --with-mkl              Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60
886 +  --with-mpi_f90_mods=<dir>
887 +                          Location where MPI f90 modules are installed
888  
889   Some influential environment variables:
890    CC          C compiler command
# Line 678 | Line 904 | EOF
904   it to find libraries and programs with nonstandard names/locations.
905  
906   Report bugs to <gezelter@nd.edu>.
907 < EOF
907 > _ACEOF
908   fi
909  
910   if test "$ac_init_help" = "recursive"; then
911    # If there are subdirs, report their specific --help.
912    ac_popdir=`pwd`
913 <  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
914 <    cd $ac_subdir
915 <    # A "../" for each directory in /$ac_subdir.
690 <    ac_dots=`echo $ac_subdir |
691 <             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
913 >  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
914 >    test -d $ac_dir || continue
915 >    ac_builddir=.
916  
917 <    case $srcdir in
918 <    .) # No --srcdir option.  We are building in place.
919 <      ac_sub_srcdir=$srcdir ;;
920 <    [\\/]* | ?:[\\/]* ) # Absolute path.
921 <      ac_sub_srcdir=$srcdir/$ac_subdir ;;
922 <    *) # Relative path.
923 <      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
700 <    esac
917 > if test "$ac_dir" != .; then
918 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
919 >  # A "../" for each directory in $ac_dir_suffix.
920 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
921 > else
922 >  ac_dir_suffix= ac_top_builddir=
923 > fi
924  
925 + case $srcdir in
926 +  .)  # No --srcdir option.  We are building in place.
927 +    ac_srcdir=.
928 +    if test -z "$ac_top_builddir"; then
929 +       ac_top_srcdir=.
930 +    else
931 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
932 +    fi ;;
933 +  [\\/]* | ?:[\\/]* )  # Absolute path.
934 +    ac_srcdir=$srcdir$ac_dir_suffix;
935 +    ac_top_srcdir=$srcdir ;;
936 +  *) # Relative path.
937 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
938 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
939 + esac
940 + # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
941 + # absolute.
942 + ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
943 + ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
944 + ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
945 + ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
946 +
947 +    cd $ac_dir
948      # Check for guested configure; otherwise get Cygnus style configure.
949 <    if test -f $ac_sub_srcdir/configure.gnu; then
949 >    if test -f $ac_srcdir/configure.gnu; then
950        echo
951 <      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
952 <    elif test -f $ac_sub_srcdir/configure; then
951 >      $SHELL $ac_srcdir/configure.gnu  --help=recursive
952 >    elif test -f $ac_srcdir/configure; then
953        echo
954 <      $SHELL $ac_sub_srcdir/configure  --help=recursive
955 <    elif test -f $ac_sub_srcdir/configure.ac ||
956 <           test -f $ac_sub_srcdir/configure.in; then
954 >      $SHELL $ac_srcdir/configure  --help=recursive
955 >    elif test -f $ac_srcdir/configure.ac ||
956 >           test -f $ac_srcdir/configure.in; then
957        echo
958        $ac_configure --help
959      else
960 <      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
960 >      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
961      fi
962      cd $ac_popdir
963    done
# Line 719 | Line 965 | if $ac_init_version; then
965  
966   test -n "$ac_init_help" && exit 0
967   if $ac_init_version; then
968 <  cat <<\EOF
968 >  cat <<\_ACEOF
969   OOPSE configure 1.0
970 < generated by GNU Autoconf 2.50
970 > generated by GNU Autoconf 2.57
971  
972 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
972 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
973   Free Software Foundation, Inc.
974   This configure script is free software; the Free Software Foundation
975   gives unlimited permission to copy, distribute and modify it.
976 < EOF
976 > _ACEOF
977    exit 0
978   fi
979   exec 5>config.log
980 < cat >&5 <<EOF
980 > cat >&5 <<_ACEOF
981   This file contains any messages produced by compilers while
982   running configure, to aid debugging if configure makes a mistake.
983  
984   It was created by OOPSE $as_me 1.0, which was
985 < generated by GNU Autoconf 2.50.  Invocation command line was
985 > generated by GNU Autoconf 2.57.  Invocation command line was
986  
987    $ $0 $@
988  
989 < EOF
989 > _ACEOF
990   {
991   cat <<_ASUNAME
992 < ## ---------- ##
993 < ## Platform.  ##
994 < ## ---------- ##
992 > ## --------- ##
993 > ## Platform. ##
994 > ## --------- ##
995  
996   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
997   uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 764 | Line 1010 | PATH = $PATH
1010   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1011   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1012  
767 PATH = $PATH
768
1013   _ASUNAME
1014 +
1015 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 + for as_dir in $PATH
1017 + do
1018 +  IFS=$as_save_IFS
1019 +  test -z "$as_dir" && as_dir=.
1020 +  echo "PATH: $as_dir"
1021 + done
1022 +
1023   } >&5
1024  
1025 < cat >&5 <<EOF
773 < ## ------------ ##
774 < ## Core tests.  ##
775 < ## ------------ ##
1025 > cat >&5 <<_ACEOF
1026  
777 EOF
1027  
1028 + ## ----------- ##
1029 + ## Core tests. ##
1030 + ## ----------- ##
1031 +
1032 + _ACEOF
1033 +
1034 +
1035   # Keep a trace of the command line.
1036   # Strip out --no-create and --no-recursion so they do not pile up.
1037 + # Strip out --silent because we don't want to record it for future runs.
1038   # Also quote any args containing shell meta-characters.
1039 + # Make two passes to allow for proper duplicate-argument suppression.
1040   ac_configure_args=
1041 + ac_configure_args0=
1042 + ac_configure_args1=
1043   ac_sep=
1044 < for ac_arg
1044 > ac_must_keep_next=false
1045 > for ac_pass in 1 2
1046   do
1047 <  case $ac_arg in
1048 <  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1049 <  | --no-cr | --no-c) ;;
1050 <  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1051 <  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1052 <  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1053 <    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1054 <    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1055 <    ac_sep=" " ;;
1056 <  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1057 <     ac_sep=" " ;;
1058 <  esac
1059 <  # Get rid of the leading space.
1047 >  for ac_arg
1048 >  do
1049 >    case $ac_arg in
1050 >    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1051 >    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 >    | -silent | --silent | --silen | --sile | --sil)
1053 >      continue ;;
1054 >    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1055 >      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1056 >    esac
1057 >    case $ac_pass in
1058 >    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1059 >    2)
1060 >      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1061 >      if test $ac_must_keep_next = true; then
1062 >        ac_must_keep_next=false # Got value, back to normal.
1063 >      else
1064 >        case $ac_arg in
1065 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1066 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1067 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1068 >          | -with-* | --with-* | -without-* | --without-* | --x)
1069 >            case "$ac_configure_args0 " in
1070 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 >            esac
1072 >            ;;
1073 >          -* ) ac_must_keep_next=true ;;
1074 >        esac
1075 >      fi
1076 >      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077 >      # Get rid of the leading space.
1078 >      ac_sep=" "
1079 >      ;;
1080 >    esac
1081 >  done
1082   done
1083 + $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1084 + $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1085  
1086   # When interrupted or exit'd, cleanup temporary files, and complete
1087   # config.log.  We remove comments because anyway the quotes in there
1088   # would cause problems or look ugly.
1089 + # WARNING: Be sure not to use single quotes in there, as some shells,
1090 + # such as our DU 5.0 friend, will then `close' the trap.
1091   trap 'exit_status=$?
1092    # Save into config.log some information that might help in debugging.
1093 <  echo >&5
1094 <  echo "## ----------------- ##" >&5
1095 <  echo "## Cache variables.  ##" >&5
1096 <  echo "## ----------------- ##" >&5
1097 <  echo >&5
1098 <  # The following way of writing the cache mishandles newlines in values,
1093 >  {
1094 >    echo
1095 >
1096 >    cat <<\_ASBOX
1097 > ## ---------------- ##
1098 > ## Cache variables. ##
1099 > ## ---------------- ##
1100 > _ASBOX
1101 >    echo
1102 >    # The following way of writing the cache mishandles newlines in values,
1103   {
1104    (set) 2>&1 |
1105      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106      *ac_space=\ *)
1107        sed -n \
1108          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1109 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110        ;;
1111      *)
1112        sed -n \
1113 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1113 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1114        ;;
1115      esac;
1116 < } >&5
1117 <  sed "/^$/d" confdefs.h >conftest.log
1118 <  if test -s conftest.log; then
1119 <    echo >&5
1120 <    echo "## ------------ ##" >&5
1121 <    echo "## confdefs.h.  ##" >&5
1122 <    echo "## ------------ ##" >&5
1123 <    echo >&5
1124 <    cat conftest.log >&5
1125 <  fi
1126 <  (echo; echo) >&5
1127 <  test "$ac_signal" != 0 &&
1128 <    echo "$as_me: caught signal $ac_signal" >&5
1129 <  echo "$as_me: exit $exit_status" >&5
1130 <  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1116 > }
1117 >    echo
1118 >
1119 >    cat <<\_ASBOX
1120 > ## ----------------- ##
1121 > ## Output variables. ##
1122 > ## ----------------- ##
1123 > _ASBOX
1124 >    echo
1125 >    for ac_var in $ac_subst_vars
1126 >    do
1127 >      eval ac_val=$`echo $ac_var`
1128 >      echo "$ac_var='"'"'$ac_val'"'"'"
1129 >    done | sort
1130 >    echo
1131 >
1132 >    if test -n "$ac_subst_files"; then
1133 >      cat <<\_ASBOX
1134 > ## ------------- ##
1135 > ## Output files. ##
1136 > ## ------------- ##
1137 > _ASBOX
1138 >      echo
1139 >      for ac_var in $ac_subst_files
1140 >      do
1141 >        eval ac_val=$`echo $ac_var`
1142 >        echo "$ac_var='"'"'$ac_val'"'"'"
1143 >      done | sort
1144 >      echo
1145 >    fi
1146 >
1147 >    if test -s confdefs.h; then
1148 >      cat <<\_ASBOX
1149 > ## ----------- ##
1150 > ## confdefs.h. ##
1151 > ## ----------- ##
1152 > _ASBOX
1153 >      echo
1154 >      sed "/^$/d" confdefs.h | sort
1155 >      echo
1156 >    fi
1157 >    test "$ac_signal" != 0 &&
1158 >      echo "$as_me: caught signal $ac_signal"
1159 >    echo "$as_me: exit $exit_status"
1160 >  } >&5
1161 >  rm -f core core.* *.core &&
1162 >  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1163      exit $exit_status
1164       ' 0
1165   for ac_signal in 1 2 13 15; do
1166 <  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
1166 >  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167   done
1168   ac_signal=0
1169  
# Line 849 | Line 1172 | echo >confdefs.h
1172   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173   echo >confdefs.h
1174  
1175 + # Predefined preprocessor variables.
1176 +
1177 + cat >>confdefs.h <<_ACEOF
1178 + #define PACKAGE_NAME "$PACKAGE_NAME"
1179 + _ACEOF
1180 +
1181 +
1182 + cat >>confdefs.h <<_ACEOF
1183 + #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 + _ACEOF
1185 +
1186 +
1187 + cat >>confdefs.h <<_ACEOF
1188 + #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 + _ACEOF
1190 +
1191 +
1192 + cat >>confdefs.h <<_ACEOF
1193 + #define PACKAGE_STRING "$PACKAGE_STRING"
1194 + _ACEOF
1195 +
1196 +
1197 + cat >>confdefs.h <<_ACEOF
1198 + #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 + _ACEOF
1200 +
1201 +
1202   # Let the site file select an alternate cache file if it wants to.
1203   # Prefer explicitly selected file to automatically selected ones.
1204   if test -z "$CONFIG_SITE"; then
# Line 860 | Line 1210 | for ac_site_file in $CONFIG_SITE; do
1210   fi
1211   for ac_site_file in $CONFIG_SITE; do
1212    if test -r "$ac_site_file"; then
1213 <    { echo "$as_me:863: loading site script $ac_site_file" >&5
1213 >    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1214   echo "$as_me: loading site script $ac_site_file" >&6;}
1215 <    cat "$ac_site_file" >&5
1215 >    sed 's/^/| /' "$ac_site_file" >&5
1216      . "$ac_site_file"
1217    fi
1218   done
# Line 871 | Line 1221 | if test -r "$cache_file"; then
1221    # Some versions of bash will fail to source /dev/null (special
1222    # files actually), so we avoid doing that.
1223    if test -f "$cache_file"; then
1224 <    { echo "$as_me:874: loading cache $cache_file" >&5
1224 >    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1225   echo "$as_me: loading cache $cache_file" >&6;}
1226      case $cache_file in
1227        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 879 | Line 1229 | else
1229      esac
1230    fi
1231   else
1232 <  { echo "$as_me:882: creating cache $cache_file" >&5
1232 >  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1233   echo "$as_me: creating cache $cache_file" >&6;}
1234    >$cache_file
1235   fi
1236  
1237   # Check that the precious variables saved in the cache have kept the same
1238   # value.
1239 < ac_suggest_removing_cache=false
1239 > ac_cache_corrupted=false
1240   for ac_var in `(set) 2>&1 |
1241                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1242    eval ac_old_set=\$ac_cv_env_${ac_var}_set
# Line 895 | Line 1245 | for ac_var in `(set) 2>&1 |
1245    eval ac_new_val="\$ac_env_${ac_var}_value"
1246    case $ac_old_set,$ac_new_set in
1247      set,)
1248 <      { echo "$as_me:898: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249 < echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250 <      ac_suggest_removing_cache=: ;;
1248 >      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249 > echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250 >      ac_cache_corrupted=: ;;
1251      ,set)
1252 <      { echo "$as_me:902: WARNING: \`$ac_var' was not set in the previous run" >&5
1253 < echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
1254 <      ac_suggest_removing_cache=: ;;
1252 >      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1253 > echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1254 >      ac_cache_corrupted=: ;;
1255      ,);;
1256      *)
1257        if test "x$ac_old_val" != "x$ac_new_val"; then
1258 <        { echo "$as_me:908: WARNING: \`$ac_var' has changed since the previous run:" >&5
1259 < echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
1260 <        { echo "$as_me:910: WARNING:   former value:  $ac_old_val" >&5
1261 < echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
1262 <        { echo "$as_me:912: WARNING:   current value: $ac_new_val" >&5
1263 < echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
1264 <        ac_suggest_removing_cache=:
1258 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1259 > echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1260 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1261 > echo "$as_me:   former value:  $ac_old_val" >&2;}
1262 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1263 > echo "$as_me:   current value: $ac_new_val" >&2;}
1264 >        ac_cache_corrupted=:
1265        fi;;
1266    esac
1267 +  # Pass precious variables to config.status.
1268 +  if test "$ac_new_set" = set; then
1269 +    case $ac_new_val in
1270 +    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 +    *) ac_arg=$ac_var=$ac_new_val ;;
1273 +    esac
1274 +    case " $ac_configure_args " in
1275 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1276 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 +    esac
1278 +  fi
1279   done
1280 < if $ac_suggest_removing_cache; then
1281 <  { echo "$as_me:919: WARNING: changes in the environment can compromise the build" >&5
1282 < echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
1283 <  { echo "$as_me:921: WARNING: consider removing $cache_file and starting over" >&5
1284 < echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
1280 > if $ac_cache_corrupted; then
1281 >  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1282 > echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1283 >  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1284 > echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285 >   { (exit 1); exit 1; }; }
1286   fi
1287  
1288   ac_ext=c
# Line 928 | Line 1291 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing;
1291   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292   ac_compiler_gnu=$ac_cv_c_compiler_gnu
1293  
931 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
932  *c*,-n*) ECHO_N= ECHO_C='
933 ' ECHO_T='      ' ;;
934  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
935  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
936 esac
937 echo "#! $SHELL" >conftest.sh
938 echo  "exit 0"   >>conftest.sh
939 chmod +x conftest.sh
940 if { (echo "$as_me:940: PATH=\".;.\"; conftest.sh") >&5
941  (PATH=".;."; conftest.sh) 2>&5
942  ac_status=$?
943  echo "$as_me:943: \$? = $ac_status" >&5
944  (exit $ac_status); }; then
945  ac_path_separator=';'
946 else
947  ac_path_separator=:
948 fi
949 PATH_SEPARATOR="$ac_path_separator"
950 rm -f conftest.sh
1294  
1295 +
1296 +
1297 +
1298 +
1299 +
1300 +
1301 +
1302 +
1303 +
1304 +
1305 +
1306 +
1307 +
1308 +
1309 +
1310 +
1311 +
1312 +
1313 +
1314 +
1315 +
1316 +
1317 +
1318 +
1319 +
1320   ac_aux_dir=
1321   for ac_dir in ac-tools $srcdir/ac-tools; do
1322    if test -f $ac_dir/install-sh; then
# Line 966 | Line 1334 | if test -z "$ac_aux_dir"; then
1334    fi
1335   done
1336   if test -z "$ac_aux_dir"; then
1337 <  { { echo "$as_me:969: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1337 >  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1338   echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
1339     { (exit 1); exit 1; }; }
1340   fi
# Line 974 | Line 1342 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1342   ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1343   ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344  
1345 +
1346   # This file is part of Autoconf.                       -*- Autoconf -*-
1347   # Programming languages support.
1348   # Copyright 2000, 2001
# Line 1024 | Line 1393 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1393   # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably
1394   # many others).
1395  
1396 +
1397   # Table of Contents:
1398   #
1399   # 1. Language selection
# Line 1059 | Line 1429 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1429   # ACTION-IF-NOT-FOUND.
1430   # _AC_LIST_MEMBER_IF
1431  
1432 +
1433 +
1434   # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE)
1435   # -------------------------------------------------
1436   #
# Line 1089 | Line 1461 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1461   # FIXME: Get rid of this macro.
1462   # _AC_LINKER_OPTION
1463  
1464 +
1465 +
1466   ## ----------------------- ##
1467   ## 1. Language selection.  ##
1468   ## ----------------------- ##
# Line 1100 | Line 1474 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1474   # AC_LANG(Fortran 90)
1475   # -------------------
1476  
1477 +
1478 +
1479   # _AC_LANG_ABBREV(Fortran 90)
1480   # ---------------------------
1481  
1482 +
1483 +
1484   # ----------------------------- #
1485   # 1c. The Fortran 95 language.  #
1486   # ----------------------------- #
# Line 1110 | Line 1488 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1488   # AC_LANG(Fortran 95)
1489   # -------------------
1490  
1491 +
1492 +
1493   # _AC_LANG_ABBREV(Fortran 95)
1494   # ---------------------------
1495  
1496 +
1497 +
1498   ## ---------------------- ##
1499   ## 2.Producing programs.  ##
1500   ## ---------------------- ##
# Line 1124 | 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   # ------------------------ #
1523  
1524   # AC_LANG_SOURCE(Fortran 95)(BODY)
1525   # --------------------------------
1526 +
1527  
1528   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1529   # -----------------------------------------------
1530  
1531 +
1532   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1533   # --------------------------------------------
1534  
1535 +
1536 +
1537   ## -------------------------------------------- ##
1538   ## 3. Looking for Compilers and Preprocessors.  ##
1539   ## -------------------------------------------- ##
# Line 1151 | Line 1542 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1542   # 3b. The Fortran 90 compiler.  #
1543   # ----------------------------- #
1544  
1545 +
1546   # AC_LANG_PREPROC(Fortran 90)
1547   # ---------------------------
1548   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1549  
1550 +
1551 +
1552   # AC_LANG_COMPILER(Fortran 90)
1553   # ----------------------------
1554   # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be
1555   # AC_REQUIRE'able.
1556  
1557 +
1558 +
1559   # AC_PROG_F90([COMPILERS...])
1560   # ---------------------------
1561   # COMPILERS is a space separated list of Fortran 90 compilers to search
# Line 1176 | Line 1572 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1572   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1573   # AC_PROG_F90
1574  
1575 +
1576   # ----------------------------- #
1577   # 3c. The Fortran 95 compiler.  #
1578   # ----------------------------- #
1579  
1580 +
1581   # AC_LANG_PREPROC(Fortran 95)
1582   # ---------------------------
1583   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1584  
1585 +
1586 +
1587   # AC_LANG_COMPILER(Fortran 95)
1588   # ----------------------------
1589   # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be
1590   # AC_REQUIRE'able.
1591  
1592 +
1593 +
1594   # AC_PROG_F95([COMPILERS...])
1595   # ---------------------------
1596   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1202 | Line 1604 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1604   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1605   # AC_PROG_F95
1606  
1607 +
1608   ## ------------------------------- ##
1609   ## 4. Compilers' characteristics.  ##
1610   ## ------------------------------- ##
1611  
1612 +
1613   # ---------------------------------------- #
1614   # 4b. Fortan 90 compiler characteristics.  #
1615   # ---------------------------------------- #
1616  
1617 +
1618   # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v])
1619   # -------------------------------------------------
1620   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1220 | Line 1625 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1625   # space-separated items.
1626   # _AC_PROG_F90_V_OUTPUT
1627  
1628 +
1629   # _AC_PROG_F90_V
1630   # --------------
1631   #
# Line 1229 | Line 1635 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1635   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1636   # _AC_PROG_F90_V
1637  
1638 +
1639   # AC_F90_LIBRARY_LDFLAGS
1640   # ----------------------
1641   #
# Line 1256 | Line 1663 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1663   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1664   # AC_F90_LIBRARY_LDFLAGS
1665  
1666 +
1667   # _AC_F90_NAME_MANGLING
1668   # ---------------------
1669   # Test for the name mangling scheme used by the Fortran 90 compiler.
# Line 1275 | Line 1683 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1683  
1684   # The replacement is empty.
1685  
1686 +
1687 +
1688   # AC_F90_WRAPPERS
1689   # ---------------
1690   # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to
# Line 1283 | Line 1693 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1693   # scheme used by the Fortran 90 compiler.
1694   # AC_F90_WRAPPERS
1695  
1696 +
1697   # AC_F90_FUNC(NAME, [SHELLVAR = NAME])
1698   # ------------------------------------
1699   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1290 | Line 1701 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1701   # argument is not supplied, it defaults to NAME.
1702   # AC_F90_FUNC
1703  
1704 +
1705   # ---------------------------------------- #
1706   # 4c. Fortan 95 compiler characteristics.  #
1707   # ---------------------------------------- #
1708  
1709 +
1710   # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v])
1711   # -------------------------------------------------
1712   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1304 | Line 1717 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1717   # space-separated items.
1718   # _AC_PROG_F95_V_OUTPUT
1719  
1720 +
1721   # _AC_PROG_F95_V
1722   # --------------
1723   #
# Line 1313 | Line 1727 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1727   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1728   # _AC_PROG_F95_V
1729  
1730 +
1731   # AC_F95_LIBRARY_LDFLAGS
1732   # ----------------------
1733   #
# Line 1340 | Line 1755 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1755   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1756   # AC_F95_LIBRARY_LDFLAGS
1757  
1758 +
1759   # _AC_F95_NAME_MANGLING
1760   # ---------------------
1761   # Test for the name mangling scheme used by the Fortran 95 compiler.
# Line 1359 | Line 1775 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1775  
1776   # The replacement is empty.
1777  
1778 +
1779 +
1780   # AC_F95_WRAPPERS
1781   # ---------------
1782   # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to
# Line 1367 | Line 1785 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1785   # scheme used by the Fortran 95 compiler.
1786   # AC_F95_WRAPPERS
1787  
1788 +
1789   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1790   # ------------------------------------
1791   # For a Fortran subroutine of given NAME, define a shell variable
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   # what should I build?
1832  
1833   # Check whether --enable-debug or --disable-debug was given.
# Line 1385 | Line 1839 | if test "${DEBUG}"; then
1839   # set program name
1840   PROGNAME="oopse"
1841  
1842 +
1843   if test "${DEBUG}"; then
1844  
1845 < cat >>confdefs.h <<\EOF
1845 > cat >>confdefs.h <<\_ACEOF
1846   #define DEBUG 1
1847 < EOF
1847 > _ACEOF
1848  
1849    msg="$msg, debug mode"
1850   fi
1851  
1852 +
1853   # who am i
1854   # Make sure we can run config.sub.
1855   $ac_config_sub sun4 >/dev/null 2>&1 ||
1856 <  { { echo "$as_me:1400: error: cannot run $ac_config_sub" >&5
1856 >  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1857   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1858     { (exit 1); exit 1; }; }
1859  
1860 < echo "$as_me:1404: checking build system type" >&5
1860 > echo "$as_me:$LINENO: checking build system type" >&5
1861   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1862   if test "${ac_cv_build+set}" = set; then
1863    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1410 | Line 1866 | test -z "$ac_cv_build_alias" &&
1866   test -z "$ac_cv_build_alias" &&
1867    ac_cv_build_alias=`$ac_config_guess`
1868   test -z "$ac_cv_build_alias" &&
1869 <  { { echo "$as_me:1413: error: cannot guess build type; you must specify one" >&5
1869 >  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1870   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1871     { (exit 1); exit 1; }; }
1872   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1873 <  { { echo "$as_me:1417: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1874 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1873 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1874 > echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1875     { (exit 1); exit 1; }; }
1876  
1877   fi
1878 < echo "$as_me:1422: result: $ac_cv_build" >&5
1878 > echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1879   echo "${ECHO_T}$ac_cv_build" >&6
1880   build=$ac_cv_build
1881   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1882   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1883   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1884  
1885 < echo "$as_me:1429: checking host system type" >&5
1885 >
1886 > echo "$as_me:$LINENO: checking host system type" >&5
1887   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1888   if test "${ac_cv_host+set}" = set; then
1889    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1435 | Line 1892 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1892   test -z "$ac_cv_host_alias" &&
1893    ac_cv_host_alias=$ac_cv_build_alias
1894   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1895 <  { { echo "$as_me:1438: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1895 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1896   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1897     { (exit 1); exit 1; }; }
1898  
1899   fi
1900 < echo "$as_me:1443: result: $ac_cv_host" >&5
1900 > echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1901   echo "${ECHO_T}$ac_cv_host" >&6
1902   host=$ac_cv_host
1903   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1904   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1905   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1906  
1907 +
1908 +
1909   ac_ext=c
1910   ac_cpp='$CPP $CPPFLAGS'
1911   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1457 | Line 1916 | echo "$as_me:1460: checking for $ac_word" >&5
1916    do
1917      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1918   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1919 < echo "$as_me:1460: checking for $ac_word" >&5
1919 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1920   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1921   if test "${ac_cv_prog_CC+set}" = set; then
1922    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1465 | Line 1924 | else
1924    if test -n "$CC"; then
1925    ac_cv_prog_CC="$CC" # Let the user override the test.
1926   else
1927 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1928 < ac_dummy="$PATH"
1929 < for ac_dir in $ac_dummy; do
1930 <  IFS=$ac_save_IFS
1931 <  test -z "$ac_dir" && ac_dir=.
1932 <  $as_executable_p "$ac_dir/$ac_word" || continue
1933 < ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1934 < echo "$as_me:1475: found $ac_dir/$ac_word" >&5
1935 < break
1927 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 > for as_dir in $PATH
1929 > do
1930 >  IFS=$as_save_IFS
1931 >  test -z "$as_dir" && as_dir=.
1932 >  for ac_exec_ext in '' $ac_executable_extensions; do
1933 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1934 >    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1935 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 >    break 2
1937 >  fi
1938   done
1939 + done
1940  
1941   fi
1942   fi
1943   CC=$ac_cv_prog_CC
1944   if test -n "$CC"; then
1945 <  echo "$as_me:1483: result: $CC" >&5
1945 >  echo "$as_me:$LINENO: result: $CC" >&5
1946   echo "${ECHO_T}$CC" >&6
1947   else
1948 <  echo "$as_me:1486: result: no" >&5
1948 >  echo "$as_me:$LINENO: result: no" >&5
1949   echo "${ECHO_T}no" >&6
1950   fi
1951  
# Line 1496 | Line 1958 | echo "$as_me:1499: checking for $ac_word" >&5
1958   do
1959    # Extract the first word of "$ac_prog", so it can be a program name with args.
1960   set dummy $ac_prog; ac_word=$2
1961 < echo "$as_me:1499: checking for $ac_word" >&5
1961 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1962   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1963   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1964    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1504 | Line 1966 | else
1966    if test -n "$ac_ct_CC"; then
1967    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1968   else
1969 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1970 < ac_dummy="$PATH"
1971 < for ac_dir in $ac_dummy; do
1972 <  IFS=$ac_save_IFS
1973 <  test -z "$ac_dir" && ac_dir=.
1974 <  $as_executable_p "$ac_dir/$ac_word" || continue
1975 < ac_cv_prog_ac_ct_CC="$ac_prog"
1976 < echo "$as_me:1514: found $ac_dir/$ac_word" >&5
1977 < break
1969 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 > for as_dir in $PATH
1971 > do
1972 >  IFS=$as_save_IFS
1973 >  test -z "$as_dir" && as_dir=.
1974 >  for ac_exec_ext in '' $ac_executable_extensions; do
1975 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976 >    ac_cv_prog_ac_ct_CC="$ac_prog"
1977 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 >    break 2
1979 >  fi
1980   done
1981 + done
1982  
1983   fi
1984   fi
1985   ac_ct_CC=$ac_cv_prog_ac_ct_CC
1986   if test -n "$ac_ct_CC"; then
1987 <  echo "$as_me:1522: result: $ac_ct_CC" >&5
1987 >  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1988   echo "${ECHO_T}$ac_ct_CC" >&6
1989   else
1990 <  echo "$as_me:1525: result: no" >&5
1990 >  echo "$as_me:$LINENO: result: no" >&5
1991   echo "${ECHO_T}no" >&6
1992   fi
1993  
# Line 1532 | Line 1997 | test -z "$CC" && { { echo "$as_me:1535: error: no acce
1997    CC=$ac_ct_CC
1998   fi
1999  
2000 < test -z "$CC" && { { echo "$as_me:1535: error: no acceptable cc found in \$PATH" >&5
2001 < echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2000 >
2001 > test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2002 > See \`config.log' for more details." >&5
2003 > echo "$as_me: error: no acceptable C compiler found in \$PATH
2004 > See \`config.log' for more details." >&2;}
2005     { (exit 1); exit 1; }; }
2006 +
2007 + # Provide some information about the compiler.
2008 + echo "$as_me:$LINENO:" \
2009 +     "checking for C compiler version" >&5
2010 + ac_compiler=`set X $ac_compile; echo $2`
2011 + { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2012 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
2013 +  ac_status=$?
2014 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 +  (exit $ac_status); }
2016 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2017 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
2018 +  ac_status=$?
2019 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 +  (exit $ac_status); }
2021 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2022 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
2023 +  ac_status=$?
2024 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 +  (exit $ac_status); }
2026  
2027   cat >conftest.$ac_ext <<_ACEOF
2028 < #line 1540 "configure"
2029 < #include "confdefs.h"
2028 > #line $LINENO "configure"
2029 > /* confdefs.h.  */
2030 > _ACEOF
2031 > cat confdefs.h >>conftest.$ac_ext
2032 > cat >>conftest.$ac_ext <<_ACEOF
2033 > /* end confdefs.h.  */
2034  
2035   int
2036   main ()
# Line 1549 | Line 2041 | ac_clean_files="$ac_clean_files a.out a.exe"
2041   }
2042   _ACEOF
2043   ac_clean_files_save=$ac_clean_files
2044 < ac_clean_files="$ac_clean_files a.out a.exe"
2044 > ac_clean_files="$ac_clean_files a.out a.exe b.out"
2045   # Try to create an executable without -o first, disregard a.out.
2046 < # It will help us diagnose broken compiler, and finding out an intuition
2046 > # It will help us diagnose broken compilers, and finding out an intuition
2047   # of exeext.
2048 < echo "$as_me:1556: checking for C compiler default output" >&5
2048 > echo "$as_me:$LINENO: checking for C compiler default output" >&5
2049   echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2050   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2051 < if { (eval echo "$as_me:1559: \"$ac_link_default\"") >&5
2051 > if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2052    (eval $ac_link_default) 2>&5
2053    ac_status=$?
2054 <  echo "$as_me:1562: \$? = $ac_status" >&5
2054 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055    (exit $ac_status); }; then
2056 <  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
2056 >  # Find the output, starting from the most likely.  This scheme is
2057 > # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2058 > # resort.
2059 >
2060 > # Be careful to initialize this variable, since it used to be cached.
2061 > # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2062 > ac_cv_exeext=
2063 > # b.out is created by i960 compilers.
2064 > for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2065 > do
2066 >  test -f "$ac_file" || continue
2067    case $ac_file in
2068 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2069 <    a.out ) # We found the default executable, but exeext='' is most
2070 <            # certainly right.
2071 <            break;;
2072 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2073 <          export ac_cv_exeext
2074 <          break;;
2075 <    * ) break;;
2068 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2069 >        ;;
2070 >    conftest.$ac_ext )
2071 >        # This is the source file.
2072 >        ;;
2073 >    [ab].out )
2074 >        # We found the default executable, but exeext='' is most
2075 >        # certainly right.
2076 >        break;;
2077 >    *.* )
2078 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2079 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2080 >        # but it would be cool to find out if it's true.  Does anybody
2081 >        # maintain Libtool? --akim.
2082 >        export ac_cv_exeext
2083 >        break;;
2084 >    * )
2085 >        break;;
2086    esac
2087   done
2088   else
2089    echo "$as_me: failed program was:" >&5
2090 < cat conftest.$ac_ext >&5
2091 < { { echo "$as_me:1579: error: C compiler cannot create executables" >&5
2092 < echo "$as_me: error: C compiler cannot create executables" >&2;}
2090 > sed 's/^/| /' conftest.$ac_ext >&5
2091 >
2092 > { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2093 > See \`config.log' for more details." >&5
2094 > echo "$as_me: error: C compiler cannot create executables
2095 > See \`config.log' for more details." >&2;}
2096     { (exit 77); exit 77; }; }
2097   fi
2098  
2099   ac_exeext=$ac_cv_exeext
2100 < echo "$as_me:1585: result: $ac_file" >&5
2100 > echo "$as_me:$LINENO: result: $ac_file" >&5
2101   echo "${ECHO_T}$ac_file" >&6
2102  
2103   # Check the compiler produces executables we can run.  If not, either
2104   # the compiler is broken, or we cross compile.
2105 < echo "$as_me:1590: checking whether the C compiler works" >&5
2105 > echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2106   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2107   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2108   # If not cross compiling, check that we can run a simple program.
2109   if test "$cross_compiling" != yes; then
2110    if { ac_try='./$ac_file'
2111 <  { (eval echo "$as_me:1596: \"$ac_try\"") >&5
2111 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2112    (eval $ac_try) 2>&5
2113    ac_status=$?
2114 <  echo "$as_me:1599: \$? = $ac_status" >&5
2114 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115    (exit $ac_status); }; }; then
2116      cross_compiling=no
2117    else
2118      if test "$cross_compiling" = maybe; then
2119          cross_compiling=yes
2120      else
2121 <        { { echo "$as_me:1606: error: cannot run C compiled programs.
2122 < If you meant to cross compile, use \`--host'." >&5
2121 >        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2122 > If you meant to cross compile, use \`--host'.
2123 > See \`config.log' for more details." >&5
2124   echo "$as_me: error: cannot run C compiled programs.
2125 < If you meant to cross compile, use \`--host'." >&2;}
2125 > If you meant to cross compile, use \`--host'.
2126 > See \`config.log' for more details." >&2;}
2127     { (exit 1); exit 1; }; }
2128      fi
2129    fi
2130   fi
2131 < echo "$as_me:1614: result: yes" >&5
2131 > echo "$as_me:$LINENO: result: yes" >&5
2132   echo "${ECHO_T}yes" >&6
2133  
2134 < rm -f a.out a.exe conftest$ac_cv_exeext
2134 > rm -f a.out a.exe conftest$ac_cv_exeext b.out
2135   ac_clean_files=$ac_clean_files_save
2136   # Check the compiler produces executables we can run.  If not, either
2137   # the compiler is broken, or we cross compile.
2138 < echo "$as_me:1621: checking whether we are cross compiling" >&5
2138 > echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2139   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2140 < echo "$as_me:1623: result: $cross_compiling" >&5
2140 > echo "$as_me:$LINENO: result: $cross_compiling" >&5
2141   echo "${ECHO_T}$cross_compiling" >&6
2142  
2143 < echo "$as_me:1626: checking for executable suffix" >&5
2144 < echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2145 < if { (eval echo "$as_me:1628: \"$ac_link\"") >&5
2143 > echo "$as_me:$LINENO: checking for suffix of executables" >&5
2144 > echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2145 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2146    (eval $ac_link) 2>&5
2147    ac_status=$?
2148 <  echo "$as_me:1631: \$? = $ac_status" >&5
2148 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149    (exit $ac_status); }; then
2150    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2151   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2152   # work properly (i.e., refer to `conftest.exe'), while it won't with
2153   # `rm'.
2154 < for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2154 > for ac_file in conftest.exe conftest conftest.*; do
2155 >  test -f "$ac_file" || continue
2156    case $ac_file in
2157 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2157 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2158      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2159            export ac_cv_exeext
2160            break;;
# Line 1644 | Line 2162 | else
2162    esac
2163   done
2164   else
2165 <  { { echo "$as_me:1647: error: cannot compute EXEEXT: cannot compile and link" >&5
2166 < echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2165 >  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2166 > See \`config.log' for more details." >&5
2167 > echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2168 > See \`config.log' for more details." >&2;}
2169     { (exit 1); exit 1; }; }
2170   fi
2171  
2172   rm -f conftest$ac_cv_exeext
2173 < echo "$as_me:1653: result: $ac_cv_exeext" >&5
2173 > echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2174   echo "${ECHO_T}$ac_cv_exeext" >&6
2175  
2176   rm -f conftest.$ac_ext
2177   EXEEXT=$ac_cv_exeext
2178   ac_exeext=$EXEEXT
2179 < echo "$as_me:1659: checking for object suffix" >&5
2180 < echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2179 > echo "$as_me:$LINENO: checking for suffix of object files" >&5
2180 > echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2181   if test "${ac_cv_objext+set}" = set; then
2182    echo $ECHO_N "(cached) $ECHO_C" >&6
2183   else
2184    cat >conftest.$ac_ext <<_ACEOF
2185 < #line 1665 "configure"
2186 < #include "confdefs.h"
2185 > #line $LINENO "configure"
2186 > /* confdefs.h.  */
2187 > _ACEOF
2188 > cat confdefs.h >>conftest.$ac_ext
2189 > cat >>conftest.$ac_ext <<_ACEOF
2190 > /* end confdefs.h.  */
2191  
2192   int
2193   main ()
# Line 1674 | Line 2198 | if { (eval echo "$as_me:1677: \"$ac_compile\"") >&5
2198   }
2199   _ACEOF
2200   rm -f conftest.o conftest.obj
2201 < if { (eval echo "$as_me:1677: \"$ac_compile\"") >&5
2201 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2202    (eval $ac_compile) 2>&5
2203    ac_status=$?
2204 <  echo "$as_me:1680: \$? = $ac_status" >&5
2204 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205    (exit $ac_status); }; then
2206    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2207    case $ac_file in
2208 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2208 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2209      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2210         break;;
2211    esac
2212   done
2213   else
2214    echo "$as_me: failed program was:" >&5
2215 < cat conftest.$ac_ext >&5
2216 < { { echo "$as_me:1692: error: cannot compute OBJEXT: cannot compile" >&5
2217 < echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2215 > sed 's/^/| /' conftest.$ac_ext >&5
2216 >
2217 > { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2218 > See \`config.log' for more details." >&5
2219 > echo "$as_me: error: cannot compute suffix of object files: cannot compile
2220 > See \`config.log' for more details." >&2;}
2221     { (exit 1); exit 1; }; }
2222   fi
2223  
2224   rm -f conftest.$ac_cv_objext conftest.$ac_ext
2225   fi
2226 < echo "$as_me:1699: result: $ac_cv_objext" >&5
2226 > echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2227   echo "${ECHO_T}$ac_cv_objext" >&6
2228   OBJEXT=$ac_cv_objext
2229   ac_objext=$OBJEXT
2230 < echo "$as_me:1703: checking whether we are using the GNU C compiler" >&5
2230 > echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2231   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2232   if test "${ac_cv_c_compiler_gnu+set}" = set; then
2233    echo $ECHO_N "(cached) $ECHO_C" >&6
2234   else
2235    cat >conftest.$ac_ext <<_ACEOF
2236 < #line 1709 "configure"
2237 < #include "confdefs.h"
2236 > #line $LINENO "configure"
2237 > /* confdefs.h.  */
2238 > _ACEOF
2239 > cat confdefs.h >>conftest.$ac_ext
2240 > cat >>conftest.$ac_ext <<_ACEOF
2241 > /* end confdefs.h.  */
2242  
2243   int
2244   main ()
# Line 1721 | Line 2252 | if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5
2252   }
2253   _ACEOF
2254   rm -f conftest.$ac_objext
2255 < if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5
2255 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256    (eval $ac_compile) 2>&5
2257    ac_status=$?
2258 <  echo "$as_me:1727: \$? = $ac_status" >&5
2258 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259    (exit $ac_status); } &&
2260           { ac_try='test -s conftest.$ac_objext'
2261 <  { (eval echo "$as_me:1730: \"$ac_try\"") >&5
2261 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262    (eval $ac_try) 2>&5
2263    ac_status=$?
2264 <  echo "$as_me:1733: \$? = $ac_status" >&5
2264 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265    (exit $ac_status); }; }; then
2266    ac_compiler_gnu=yes
2267   else
2268    echo "$as_me: failed program was:" >&5
2269 < cat conftest.$ac_ext >&5
2269 > sed 's/^/| /' conftest.$ac_ext >&5
2270 >
2271   ac_compiler_gnu=no
2272   fi
2273   rm -f conftest.$ac_objext conftest.$ac_ext
2274   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2275  
2276   fi
2277 < echo "$as_me:1745: result: $ac_cv_c_compiler_gnu" >&5
2277 > echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2278   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2279   GCC=`test $ac_compiler_gnu = yes && echo yes`
2280   ac_test_CFLAGS=${CFLAGS+set}
2281   ac_save_CFLAGS=$CFLAGS
2282   CFLAGS="-g"
2283 < echo "$as_me:1751: checking whether $CC accepts -g" >&5
2283 > echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2284   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2285   if test "${ac_cv_prog_cc_g+set}" = set; then
2286    echo $ECHO_N "(cached) $ECHO_C" >&6
2287   else
2288    cat >conftest.$ac_ext <<_ACEOF
2289 < #line 1757 "configure"
2290 < #include "confdefs.h"
2289 > #line $LINENO "configure"
2290 > /* confdefs.h.  */
2291 > _ACEOF
2292 > cat confdefs.h >>conftest.$ac_ext
2293 > cat >>conftest.$ac_ext <<_ACEOF
2294 > /* end confdefs.h.  */
2295  
2296   int
2297   main ()
# Line 1766 | Line 2302 | if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
2302   }
2303   _ACEOF
2304   rm -f conftest.$ac_objext
2305 < if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
2305 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306    (eval $ac_compile) 2>&5
2307    ac_status=$?
2308 <  echo "$as_me:1772: \$? = $ac_status" >&5
2308 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309    (exit $ac_status); } &&
2310           { ac_try='test -s conftest.$ac_objext'
2311 <  { (eval echo "$as_me:1775: \"$ac_try\"") >&5
2311 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2312    (eval $ac_try) 2>&5
2313    ac_status=$?
2314 <  echo "$as_me:1778: \$? = $ac_status" >&5
2314 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315    (exit $ac_status); }; }; then
2316    ac_cv_prog_cc_g=yes
2317   else
2318    echo "$as_me: failed program was:" >&5
2319 < cat conftest.$ac_ext >&5
2319 > sed 's/^/| /' conftest.$ac_ext >&5
2320 >
2321   ac_cv_prog_cc_g=no
2322   fi
2323   rm -f conftest.$ac_objext conftest.$ac_ext
2324   fi
2325 < echo "$as_me:1788: result: $ac_cv_prog_cc_g" >&5
2325 > echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2326   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2327   if test "$ac_test_CFLAGS" = set; then
2328    CFLAGS=$ac_save_CFLAGS
# Line 1801 | Line 2338 | fi
2338    else
2339      CFLAGS=
2340    fi
2341 + fi
2342 + echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2343 + echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2344 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
2345 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2346 + else
2347 +  ac_cv_prog_cc_stdc=no
2348 + ac_save_CC=$CC
2349 + cat >conftest.$ac_ext <<_ACEOF
2350 + #line $LINENO "configure"
2351 + /* confdefs.h.  */
2352 + _ACEOF
2353 + cat confdefs.h >>conftest.$ac_ext
2354 + cat >>conftest.$ac_ext <<_ACEOF
2355 + /* end confdefs.h.  */
2356 + #include <stdarg.h>
2357 + #include <stdio.h>
2358 + #include <sys/types.h>
2359 + #include <sys/stat.h>
2360 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2361 + struct buf { int x; };
2362 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
2363 + static char *e (p, i)
2364 +     char **p;
2365 +     int i;
2366 + {
2367 +  return p[i];
2368 + }
2369 + static char *f (char * (*g) (char **, int), char **p, ...)
2370 + {
2371 +  char *s;
2372 +  va_list v;
2373 +  va_start (v,p);
2374 +  s = g (p, va_arg (v,int));
2375 +  va_end (v);
2376 +  return s;
2377 + }
2378 + int test (int i, double x);
2379 + struct s1 {int (*f) (int a);};
2380 + struct s2 {int (*f) (double a);};
2381 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2382 + int argc;
2383 + char **argv;
2384 + int
2385 + main ()
2386 + {
2387 + return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2388 +  ;
2389 +  return 0;
2390 + }
2391 + _ACEOF
2392 + # Don't try gcc -ansi; that turns off useful extensions and
2393 + # breaks some systems' header files.
2394 + # AIX                   -qlanglvl=ansi
2395 + # Ultrix and OSF/1      -std1
2396 + # HP-UX 10.20 and later -Ae
2397 + # HP-UX older versions  -Aa -D_HPUX_SOURCE
2398 + # SVR4                  -Xc -D__EXTENSIONS__
2399 + for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2400 + do
2401 +  CC="$ac_save_CC $ac_arg"
2402 +  rm -f conftest.$ac_objext
2403 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2404 +  (eval $ac_compile) 2>&5
2405 +  ac_status=$?
2406 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 +  (exit $ac_status); } &&
2408 +         { ac_try='test -s conftest.$ac_objext'
2409 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 +  (eval $ac_try) 2>&5
2411 +  ac_status=$?
2412 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 +  (exit $ac_status); }; }; then
2414 +  ac_cv_prog_cc_stdc=$ac_arg
2415 + break
2416 + else
2417 +  echo "$as_me: failed program was:" >&5
2418 + sed 's/^/| /' conftest.$ac_ext >&5
2419 +
2420   fi
2421 + rm -f conftest.$ac_objext
2422 + done
2423 + rm -f conftest.$ac_ext conftest.$ac_objext
2424 + CC=$ac_save_CC
2425 +
2426 + fi
2427 +
2428 + case "x$ac_cv_prog_cc_stdc" in
2429 +  x|xno)
2430 +    echo "$as_me:$LINENO: result: none needed" >&5
2431 + echo "${ECHO_T}none needed" >&6 ;;
2432 +  *)
2433 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2434 + echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2435 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
2436 + esac
2437 +
2438   # Some people use a C++ compiler to compile C.  Since we use `exit',
2439   # in C++ we need to declare it.  In case someone uses the same compiler
2440   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1812 | Line 2445 | if { (eval echo "$as_me:1815: \"$ac_compile\"") >&5
2445   #endif
2446   _ACEOF
2447   rm -f conftest.$ac_objext
2448 < if { (eval echo "$as_me:1815: \"$ac_compile\"") >&5
2448 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2449    (eval $ac_compile) 2>&5
2450    ac_status=$?
2451 <  echo "$as_me:1818: \$? = $ac_status" >&5
2451 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452    (exit $ac_status); } &&
2453           { ac_try='test -s conftest.$ac_objext'
2454 <  { (eval echo "$as_me:1821: \"$ac_try\"") >&5
2454 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455    (eval $ac_try) 2>&5
2456    ac_status=$?
2457 <  echo "$as_me:1824: \$? = $ac_status" >&5
2457 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458    (exit $ac_status); }; }; then
2459    for ac_declaration in \
2460     ''\
# Line 1833 | Line 2466 | do
2466     'void exit (int);'
2467   do
2468    cat >conftest.$ac_ext <<_ACEOF
2469 < #line 1836 "configure"
2470 < #include "confdefs.h"
2469 > #line $LINENO "configure"
2470 > /* confdefs.h.  */
2471 > _ACEOF
2472 > cat confdefs.h >>conftest.$ac_ext
2473 > cat >>conftest.$ac_ext <<_ACEOF
2474 > /* end confdefs.h.  */
2475   #include <stdlib.h>
2476   $ac_declaration
2477   int
# Line 1846 | Line 2483 | if { (eval echo "$as_me:1849: \"$ac_compile\"") >&5
2483   }
2484   _ACEOF
2485   rm -f conftest.$ac_objext
2486 < if { (eval echo "$as_me:1849: \"$ac_compile\"") >&5
2486 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487    (eval $ac_compile) 2>&5
2488    ac_status=$?
2489 <  echo "$as_me:1852: \$? = $ac_status" >&5
2489 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490    (exit $ac_status); } &&
2491           { ac_try='test -s conftest.$ac_objext'
2492 <  { (eval echo "$as_me:1855: \"$ac_try\"") >&5
2492 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493    (eval $ac_try) 2>&5
2494    ac_status=$?
2495 <  echo "$as_me:1858: \$? = $ac_status" >&5
2495 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496    (exit $ac_status); }; }; then
2497    :
2498   else
2499    echo "$as_me: failed program was:" >&5
2500 < cat conftest.$ac_ext >&5
2500 > sed 's/^/| /' conftest.$ac_ext >&5
2501 >
2502   continue
2503   fi
2504   rm -f conftest.$ac_objext conftest.$ac_ext
2505    cat >conftest.$ac_ext <<_ACEOF
2506 < #line 1868 "configure"
2507 < #include "confdefs.h"
2506 > #line $LINENO "configure"
2507 > /* confdefs.h.  */
2508 > _ACEOF
2509 > cat confdefs.h >>conftest.$ac_ext
2510 > cat >>conftest.$ac_ext <<_ACEOF
2511 > /* end confdefs.h.  */
2512   $ac_declaration
2513   int
2514   main ()
# Line 1877 | Line 2519 | if { (eval echo "$as_me:1880: \"$ac_compile\"") >&5
2519   }
2520   _ACEOF
2521   rm -f conftest.$ac_objext
2522 < if { (eval echo "$as_me:1880: \"$ac_compile\"") >&5
2522 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2523    (eval $ac_compile) 2>&5
2524    ac_status=$?
2525 <  echo "$as_me:1883: \$? = $ac_status" >&5
2525 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526    (exit $ac_status); } &&
2527           { ac_try='test -s conftest.$ac_objext'
2528 <  { (eval echo "$as_me:1886: \"$ac_try\"") >&5
2528 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529    (eval $ac_try) 2>&5
2530    ac_status=$?
2531 <  echo "$as_me:1889: \$? = $ac_status" >&5
2531 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532    (exit $ac_status); }; }; then
2533    break
2534   else
2535    echo "$as_me: failed program was:" >&5
2536 < cat conftest.$ac_ext >&5
2536 > sed 's/^/| /' conftest.$ac_ext >&5
2537 >
2538   fi
2539   rm -f conftest.$ac_objext conftest.$ac_ext
2540   done
2541 < echo '#ifdef __cplusplus' >>confdefs.h
2542 < echo $ac_declaration      >>confdefs.h
2543 < echo '#endif'             >>confdefs.h
2541 > rm -f conftest*
2542 > if test -n "$ac_declaration"; then
2543 >  echo '#ifdef __cplusplus' >>confdefs.h
2544 >  echo $ac_declaration      >>confdefs.h
2545 >  echo '#endif'             >>confdefs.h
2546 > fi
2547  
2548   else
2549    echo "$as_me: failed program was:" >&5
2550 < cat conftest.$ac_ext >&5
2550 > sed 's/^/| /' conftest.$ac_ext >&5
2551 >
2552   fi
2553   rm -f conftest.$ac_objext conftest.$ac_ext
2554   ac_ext=c
# Line 1910 | Line 2557 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
2557   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2559  
2560 +
2561 +
2562 +
2563 +
2564   # Try to determine "good" native compiler flags if none specified on command
2565   # line
2566   if test "$ac_test_CFLAGS" != "set"; then
# Line 1971 | Line 2622 | echo "$as_me:1974: checking whether ${CC-cc} accepts -
2622    if test $ac_cv_c_compiler_gnu = yes; then
2623      # -malign-double for x86 systems
2624  
2625 < echo "$as_me:1974: checking whether ${CC-cc} accepts -malign-double" >&5
2625 >
2626 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
2627   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
2628   if test "${ac_align_double+set}" = set; then
2629    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1985 | Line 2637 | echo "$as_me:1988: result: $ac_align_double" >&5
2637   rm -f conftest*
2638  
2639   fi
2640 < echo "$as_me:1988: result: $ac_align_double" >&5
2640 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
2641   echo "${ECHO_T}$ac_align_double" >&6
2642   if test "$ac_align_double" = yes; then
2643          :
# Line 1997 | Line 2649 | echo "$as_me:2000: checking whether ${CC-cc} accepts -
2649  
2650      # -fstrict-aliasing for gcc-2.95+
2651  
2652 < echo "$as_me:2000: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
2652 >
2653 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
2654   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
2655   if test "${ac_fstrict_aliasing+set}" = set; then
2656    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2011 | Line 2664 | echo "$as_me:2014: result: $ac_fstrict_aliasing" >&5
2664   rm -f conftest*
2665  
2666   fi
2667 < echo "$as_me:2014: result: $ac_fstrict_aliasing" >&5
2667 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
2668   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
2669   if test "$ac_fstrict_aliasing" = yes; then
2670          :
# Line 2028 | Line 2681 | echo "$as_me:2031: checking whether ${CC-cc} accepts -
2681                    case "${host_cpu}" in
2682            i586*)
2683  
2684 < echo "$as_me:2031: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
2684 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
2685   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
2686   if test "${ac_cpu_pentium+set}" = set; then
2687    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2042 | Line 2695 | echo "$as_me:2045: result: $ac_cpu_pentium" >&5
2695   rm -f conftest*
2696  
2697   fi
2698 < echo "$as_me:2045: result: $ac_cpu_pentium" >&5
2698 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
2699   echo "${ECHO_T}$ac_cpu_pentium" >&6
2700   if test "$ac_cpu_pentium" = yes; then
2701          :
# Line 2050 | Line 2703 | echo "$as_me:2053: checking whether ${CC-cc} accepts -
2703   else
2704          :
2705  
2706 < echo "$as_me:2053: checking whether ${CC-cc} accepts -mpentium" >&5
2706 >
2707 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
2708   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
2709   if test "${ac_pentium+set}" = set; then
2710    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2064 | Line 2718 | echo "$as_me:2067: result: $ac_pentium" >&5
2718   rm -f conftest*
2719  
2720   fi
2721 < echo "$as_me:2067: result: $ac_pentium" >&5
2721 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
2722   echo "${ECHO_T}$ac_pentium" >&6
2723   if test "$ac_pentium" = yes; then
2724          :
# Line 2079 | Line 2733 | echo "$as_me:2082: checking whether ${CC-cc} accepts -
2733                    ;;
2734            i686*)
2735  
2736 < echo "$as_me:2082: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
2736 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
2737   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
2738   if test "${ac_cpu_pentiumpro+set}" = set; then
2739    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2093 | Line 2747 | echo "$as_me:2096: result: $ac_cpu_pentiumpro" >&5
2747   rm -f conftest*
2748  
2749   fi
2750 < echo "$as_me:2096: result: $ac_cpu_pentiumpro" >&5
2750 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
2751   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
2752   if test "$ac_cpu_pentiumpro" = yes; then
2753          :
# Line 2101 | Line 2755 | echo "$as_me:2104: checking whether ${CC-cc} accepts -
2755   else
2756          :
2757  
2758 < echo "$as_me:2104: checking whether ${CC-cc} accepts -mpentiumpro" >&5
2758 >
2759 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
2760   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
2761   if test "${ac_pentiumpro+set}" = set; then
2762    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2115 | Line 2770 | echo "$as_me:2118: result: $ac_pentiumpro" >&5
2770   rm -f conftest*
2771  
2772   fi
2773 < echo "$as_me:2118: result: $ac_pentiumpro" >&5
2773 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
2774   echo "${ECHO_T}$ac_pentiumpro" >&6
2775   if test "$ac_pentiumpro" = yes; then
2776          :
# Line 2133 | Line 2788 | echo "$as_me:2136: checking whether ${CC-cc} accepts -
2788                  is60x=`echo $cputype | egrep "^600-9e?$"`
2789                  if test -n "$is60x"; then
2790  
2791 < echo "$as_me:2136: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
2791 >
2792 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
2793   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
2794   if test "${ac_m_cpu_60x+set}" = set; then
2795    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2147 | Line 2803 | echo "$as_me:2150: result: $ac_m_cpu_60x" >&5
2803   rm -f conftest*
2804  
2805   fi
2806 < echo "$as_me:2150: result: $ac_m_cpu_60x" >&5
2806 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
2807   echo "${ECHO_T}$ac_m_cpu_60x" >&6
2808   if test "$ac_m_cpu_60x" = yes; then
2809          :
# Line 2159 | Line 2815 | echo "$as_me:2162: checking whether we are using gcc 2
2815  
2816                  elif test "$cputype" = 750; then
2817  
2818 < echo "$as_me:2162: checking whether we are using gcc 2.95 or later" >&5
2818 >
2819 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
2820   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
2821   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
2822    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2173 | Line 2830 | if { ac_try='${CC-cc} -E conftest.c'
2830   #endif
2831   EOF
2832   if { ac_try='${CC-cc} -E conftest.c'
2833 <  { (eval echo "$as_me:2176: \"$ac_try\"") >&5
2833 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834    (eval $ac_try) 2>&5
2835    ac_status=$?
2836 <  echo "$as_me:2179: \$? = $ac_status" >&5
2836 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2838    ac_cv_prog_gcc_2_95=yes
2839   else
# Line 2184 | Line 2841 | echo "$as_me:2187: result: $ac_cv_prog_gcc_2_95" >&5
2841   fi
2842  
2843   fi
2844 < echo "$as_me:2187: result: $ac_cv_prog_gcc_2_95" >&5
2844 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
2845   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
2846   if test "$ac_cv_prog_gcc_2_95" = yes; then
2847          :
2848  
2849 < echo "$as_me:2192: checking whether ${CC-cc} accepts -mcpu=750" >&5
2849 >
2850 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
2851   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
2852   if test "${ac_m_cpu_750+set}" = set; then
2853    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2203 | Line 2861 | echo "$as_me:2206: result: $ac_m_cpu_750" >&5
2861   rm -f conftest*
2862  
2863   fi
2864 < echo "$as_me:2206: result: $ac_m_cpu_750" >&5
2864 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
2865   echo "${ECHO_T}$ac_m_cpu_750" >&6
2866   if test "$ac_m_cpu_750" = yes; then
2867          :
# Line 2221 | Line 2879 | echo "$as_me:2224: checking whether ${CC-cc} accepts -
2879                  fi
2880                  if test -z "$CPU_FLAGS"; then
2881  
2882 < echo "$as_me:2224: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
2882 >
2883 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
2884   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
2885   if test "${ac_m_cpu_powerpc+set}" = set; then
2886    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2235 | Line 2894 | echo "$as_me:2238: result: $ac_m_cpu_powerpc" >&5
2894   rm -f conftest*
2895  
2896   fi
2897 < echo "$as_me:2238: result: $ac_m_cpu_powerpc" >&5
2897 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
2898   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
2899   if test "$ac_m_cpu_powerpc" = yes; then
2900          :
# Line 2248 | Line 2907 | echo "$as_me:2251: checking whether ${CC-cc} accepts -
2907                  fi
2908                  if test -z "$CPU_FLAGS"; then
2909  
2910 < echo "$as_me:2251: checking whether ${CC-cc} accepts -mpowerpc" >&5
2910 >
2911 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
2912   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
2913   if test "${ac_m_powerpc+set}" = set; then
2914    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2262 | Line 2922 | echo "$as_me:2265: result: $ac_m_powerpc" >&5
2922   rm -f conftest*
2923  
2924   fi
2925 < echo "$as_me:2265: result: $ac_m_powerpc" >&5
2925 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
2926   echo "${ECHO_T}$ac_m_powerpc" >&6
2927   if test "$ac_m_powerpc" = yes; then
2928          :
# Line 2291 | Line 2951 | echo "$as_me:2294: checking whether ${CC-cc} accepts $
2951          CFLAGS="-O3"
2952    fi
2953  
2954 < echo "$as_me:2294: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
2954 >
2955 >
2956 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
2957   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
2958   if test "${ac_guessed_cflags+set}" = set; then
2959    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2305 | Line 2967 | echo "$as_me:2308: result: $ac_guessed_cflags" >&5
2967   rm -f conftest*
2968  
2969   fi
2970 < echo "$as_me:2308: result: $ac_guessed_cflags" >&5
2970 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
2971   echo "${ECHO_T}$ac_guessed_cflags" >&6
2972   if test "$ac_guessed_cflags" = yes; then
2973          :
# Line 2324 | Line 2986 | fi
2986  
2987   fi
2988  
2989 +
2990   fi
2991  
2992   ac_ext=cc
# Line 2336 | Line 2999 | echo "$as_me:2339: checking for $ac_word" >&5
2999    do
3000      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3001   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3002 < echo "$as_me:2339: checking for $ac_word" >&5
3002 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3003   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3004   if test "${ac_cv_prog_CXX+set}" = set; then
3005    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2344 | Line 3007 | else
3007    if test -n "$CXX"; then
3008    ac_cv_prog_CXX="$CXX" # Let the user override the test.
3009   else
3010 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3011 < ac_dummy="$PATH"
3012 < for ac_dir in $ac_dummy; do
3013 <  IFS=$ac_save_IFS
3014 <  test -z "$ac_dir" && ac_dir=.
3015 <  $as_executable_p "$ac_dir/$ac_word" || continue
3016 < ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3017 < echo "$as_me:2354: found $ac_dir/$ac_word" >&5
3018 < break
3010 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 > for as_dir in $PATH
3012 > do
3013 >  IFS=$as_save_IFS
3014 >  test -z "$as_dir" && as_dir=.
3015 >  for ac_exec_ext in '' $ac_executable_extensions; do
3016 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3018 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 >    break 2
3020 >  fi
3021   done
3022 + done
3023  
3024   fi
3025   fi
3026   CXX=$ac_cv_prog_CXX
3027   if test -n "$CXX"; then
3028 <  echo "$as_me:2362: result: $CXX" >&5
3028 >  echo "$as_me:$LINENO: result: $CXX" >&5
3029   echo "${ECHO_T}$CXX" >&6
3030   else
3031 <  echo "$as_me:2365: result: no" >&5
3031 >  echo "$as_me:$LINENO: result: no" >&5
3032   echo "${ECHO_T}no" >&6
3033   fi
3034  
# Line 2375 | Line 3041 | echo "$as_me:2378: checking for $ac_word" >&5
3041   do
3042    # Extract the first word of "$ac_prog", so it can be a program name with args.
3043   set dummy $ac_prog; ac_word=$2
3044 < echo "$as_me:2378: checking for $ac_word" >&5
3044 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3045   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3046   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3047    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2383 | Line 3049 | else
3049    if test -n "$ac_ct_CXX"; then
3050    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3051   else
3052 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3053 < ac_dummy="$PATH"
3054 < for ac_dir in $ac_dummy; do
3055 <  IFS=$ac_save_IFS
3056 <  test -z "$ac_dir" && ac_dir=.
3057 <  $as_executable_p "$ac_dir/$ac_word" || continue
3058 < ac_cv_prog_ac_ct_CXX="$ac_prog"
3059 < echo "$as_me:2393: found $ac_dir/$ac_word" >&5
3060 < break
3052 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 > for as_dir in $PATH
3054 > do
3055 >  IFS=$as_save_IFS
3056 >  test -z "$as_dir" && as_dir=.
3057 >  for ac_exec_ext in '' $ac_executable_extensions; do
3058 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
3060 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 >    break 2
3062 >  fi
3063   done
3064 + done
3065  
3066   fi
3067   fi
3068   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3069   if test -n "$ac_ct_CXX"; then
3070 <  echo "$as_me:2401: result: $ac_ct_CXX" >&5
3070 >  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3071   echo "${ECHO_T}$ac_ct_CXX" >&6
3072   else
3073 <  echo "$as_me:2404: result: no" >&5
3073 >  echo "$as_me:$LINENO: result: no" >&5
3074   echo "${ECHO_T}no" >&6
3075   fi
3076  
# Line 2412 | Line 3081 | echo "$as_me:2415: checking whether we are using the G
3081    CXX=$ac_ct_CXX
3082   fi
3083  
3084 < echo "$as_me:2415: checking whether we are using the GNU C++ compiler" >&5
3084 >
3085 > # Provide some information about the compiler.
3086 > echo "$as_me:$LINENO:" \
3087 >     "checking for C++ compiler version" >&5
3088 > ac_compiler=`set X $ac_compile; echo $2`
3089 > { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3090 >  (eval $ac_compiler --version </dev/null >&5) 2>&5
3091 >  ac_status=$?
3092 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 >  (exit $ac_status); }
3094 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3095 >  (eval $ac_compiler -v </dev/null >&5) 2>&5
3096 >  ac_status=$?
3097 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 >  (exit $ac_status); }
3099 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3100 >  (eval $ac_compiler -V </dev/null >&5) 2>&5
3101 >  ac_status=$?
3102 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 >  (exit $ac_status); }
3104 >
3105 > echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3106   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3107   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3108    echo $ECHO_N "(cached) $ECHO_C" >&6
3109   else
3110    cat >conftest.$ac_ext <<_ACEOF
3111 < #line 2421 "configure"
3112 < #include "confdefs.h"
3111 > #line $LINENO "configure"
3112 > /* confdefs.h.  */
3113 > _ACEOF
3114 > cat confdefs.h >>conftest.$ac_ext
3115 > cat >>conftest.$ac_ext <<_ACEOF
3116 > /* end confdefs.h.  */
3117  
3118   int
3119   main ()
# Line 2433 | Line 3127 | if { (eval echo "$as_me:2436: \"$ac_compile\"") >&5
3127   }
3128   _ACEOF
3129   rm -f conftest.$ac_objext
3130 < if { (eval echo "$as_me:2436: \"$ac_compile\"") >&5
3130 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3131    (eval $ac_compile) 2>&5
3132    ac_status=$?
3133 <  echo "$as_me:2439: \$? = $ac_status" >&5
3133 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134    (exit $ac_status); } &&
3135           { ac_try='test -s conftest.$ac_objext'
3136 <  { (eval echo "$as_me:2442: \"$ac_try\"") >&5
3136 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137    (eval $ac_try) 2>&5
3138    ac_status=$?
3139 <  echo "$as_me:2445: \$? = $ac_status" >&5
3139 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140    (exit $ac_status); }; }; then
3141    ac_compiler_gnu=yes
3142   else
3143    echo "$as_me: failed program was:" >&5
3144 < cat conftest.$ac_ext >&5
3144 > sed 's/^/| /' conftest.$ac_ext >&5
3145 >
3146   ac_compiler_gnu=no
3147   fi
3148   rm -f conftest.$ac_objext conftest.$ac_ext
3149   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3150  
3151   fi
3152 < echo "$as_me:2457: result: $ac_cv_cxx_compiler_gnu" >&5
3152 > echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3153   echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3154   GXX=`test $ac_compiler_gnu = yes && echo yes`
3155   ac_test_CXXFLAGS=${CXXFLAGS+set}
3156   ac_save_CXXFLAGS=$CXXFLAGS
3157   CXXFLAGS="-g"
3158 < echo "$as_me:2463: checking whether $CXX accepts -g" >&5
3158 > echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3159   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3160   if test "${ac_cv_prog_cxx_g+set}" = set; then
3161    echo $ECHO_N "(cached) $ECHO_C" >&6
3162   else
3163    cat >conftest.$ac_ext <<_ACEOF
3164 < #line 2469 "configure"
3165 < #include "confdefs.h"
3164 > #line $LINENO "configure"
3165 > /* confdefs.h.  */
3166 > _ACEOF
3167 > cat confdefs.h >>conftest.$ac_ext
3168 > cat >>conftest.$ac_ext <<_ACEOF
3169 > /* end confdefs.h.  */
3170  
3171   int
3172   main ()
# Line 2478 | Line 3177 | if { (eval echo "$as_me:2481: \"$ac_compile\"") >&5
3177   }
3178   _ACEOF
3179   rm -f conftest.$ac_objext
3180 < if { (eval echo "$as_me:2481: \"$ac_compile\"") >&5
3180 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3181    (eval $ac_compile) 2>&5
3182    ac_status=$?
3183 <  echo "$as_me:2484: \$? = $ac_status" >&5
3183 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184    (exit $ac_status); } &&
3185           { ac_try='test -s conftest.$ac_objext'
3186 <  { (eval echo "$as_me:2487: \"$ac_try\"") >&5
3186 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187    (eval $ac_try) 2>&5
3188    ac_status=$?
3189 <  echo "$as_me:2490: \$? = $ac_status" >&5
3189 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190    (exit $ac_status); }; }; then
3191    ac_cv_prog_cxx_g=yes
3192   else
3193    echo "$as_me: failed program was:" >&5
3194 < cat conftest.$ac_ext >&5
3194 > sed 's/^/| /' conftest.$ac_ext >&5
3195 >
3196   ac_cv_prog_cxx_g=no
3197   fi
3198   rm -f conftest.$ac_objext conftest.$ac_ext
3199   fi
3200 < echo "$as_me:2500: result: $ac_cv_prog_cxx_g" >&5
3200 > echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3201   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3202   if test "$ac_test_CXXFLAGS" = set; then
3203    CXXFLAGS=$ac_save_CXXFLAGS
# Line 2524 | Line 3224 | do
3224     'void exit (int);'
3225   do
3226    cat >conftest.$ac_ext <<_ACEOF
3227 < #line 2527 "configure"
3228 < #include "confdefs.h"
3227 > #line $LINENO "configure"
3228 > /* confdefs.h.  */
3229 > _ACEOF
3230 > cat confdefs.h >>conftest.$ac_ext
3231 > cat >>conftest.$ac_ext <<_ACEOF
3232 > /* end confdefs.h.  */
3233   #include <stdlib.h>
3234   $ac_declaration
3235   int
# Line 2537 | Line 3241 | if { (eval echo "$as_me:2540: \"$ac_compile\"") >&5
3241   }
3242   _ACEOF
3243   rm -f conftest.$ac_objext
3244 < if { (eval echo "$as_me:2540: \"$ac_compile\"") >&5
3244 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245    (eval $ac_compile) 2>&5
3246    ac_status=$?
3247 <  echo "$as_me:2543: \$? = $ac_status" >&5
3247 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248    (exit $ac_status); } &&
3249           { ac_try='test -s conftest.$ac_objext'
3250 <  { (eval echo "$as_me:2546: \"$ac_try\"") >&5
3250 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251    (eval $ac_try) 2>&5
3252    ac_status=$?
3253 <  echo "$as_me:2549: \$? = $ac_status" >&5
3253 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254    (exit $ac_status); }; }; then
3255    :
3256   else
3257    echo "$as_me: failed program was:" >&5
3258 < cat conftest.$ac_ext >&5
3258 > sed 's/^/| /' conftest.$ac_ext >&5
3259 >
3260   continue
3261   fi
3262   rm -f conftest.$ac_objext conftest.$ac_ext
3263    cat >conftest.$ac_ext <<_ACEOF
3264 < #line 2559 "configure"
3265 < #include "confdefs.h"
3264 > #line $LINENO "configure"
3265 > /* confdefs.h.  */
3266 > _ACEOF
3267 > cat confdefs.h >>conftest.$ac_ext
3268 > cat >>conftest.$ac_ext <<_ACEOF
3269 > /* end confdefs.h.  */
3270   $ac_declaration
3271   int
3272   main ()
# Line 2568 | Line 3277 | if { (eval echo "$as_me:2571: \"$ac_compile\"") >&5
3277   }
3278   _ACEOF
3279   rm -f conftest.$ac_objext
3280 < if { (eval echo "$as_me:2571: \"$ac_compile\"") >&5
3280 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281    (eval $ac_compile) 2>&5
3282    ac_status=$?
3283 <  echo "$as_me:2574: \$? = $ac_status" >&5
3283 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284    (exit $ac_status); } &&
3285           { ac_try='test -s conftest.$ac_objext'
3286 <  { (eval echo "$as_me:2577: \"$ac_try\"") >&5
3286 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287    (eval $ac_try) 2>&5
3288    ac_status=$?
3289 <  echo "$as_me:2580: \$? = $ac_status" >&5
3289 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290    (exit $ac_status); }; }; then
3291    break
3292   else
3293    echo "$as_me: failed program was:" >&5
3294 < cat conftest.$ac_ext >&5
3294 > sed 's/^/| /' conftest.$ac_ext >&5
3295 >
3296   fi
3297   rm -f conftest.$ac_objext conftest.$ac_ext
3298   done
3299 < echo '#ifdef __cplusplus' >>confdefs.h
3300 < echo $ac_declaration      >>confdefs.h
3301 < echo '#endif'             >>confdefs.h
3299 > rm -f conftest*
3300 > if test -n "$ac_declaration"; then
3301 >  echo '#ifdef __cplusplus' >>confdefs.h
3302 >  echo $ac_declaration      >>confdefs.h
3303 >  echo '#endif'             >>confdefs.h
3304 > fi
3305  
3306   ac_ext=c
3307   ac_cpp='$CPP $CPPFLAGS'
# Line 2596 | Line 3309 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3309   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311  
3312 +
3313 +
3314 +
3315 +
3316   # Try to determine "good" native compiler flags if none specified on command
3317   # line
3318   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 2648 | Line 3365 | echo "$as_me:2651: checking whether ${CXX-c++} accepts
3365    if test $ac_cv_c_compiler_gnu = yes; then
3366      # -malign-double for x86 systems
3367  
3368 < echo "$as_me:2651: checking whether ${CXX-c++} accepts -malign-double" >&5
3368 >
3369 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
3370   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
3371   if test "${ac_align_double+set}" = set; then
3372    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2662 | Line 3380 | echo "$as_me:2665: result: $ac_align_double" >&5
3380   rm -f conftest*
3381  
3382   fi
3383 < echo "$as_me:2665: result: $ac_align_double" >&5
3383 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
3384   echo "${ECHO_T}$ac_align_double" >&6
3385   if test "$ac_align_double" = yes; then
3386          :
# Line 2674 | Line 3392 | echo "$as_me:2677: checking whether ${CXX-c++} accepts
3392  
3393      # -fstrict-aliasing for gcc-2.95+
3394  
3395 < echo "$as_me:2677: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3395 >
3396 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3397   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
3398   if test "${ac_fstrict_aliasing+set}" = set; then
3399    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2688 | Line 3407 | echo "$as_me:2691: result: $ac_fstrict_aliasing" >&5
3407   rm -f conftest*
3408  
3409   fi
3410 < echo "$as_me:2691: result: $ac_fstrict_aliasing" >&5
3410 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
3411   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
3412   if test "$ac_fstrict_aliasing" = yes; then
3413          :
# Line 2705 | Line 3424 | echo "$as_me:2708: checking whether ${CC-cc} accepts -
3424                    case "${host_cpu}" in
3425            i586*)
3426  
3427 < echo "$as_me:2708: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3427 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3428   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
3429   if test "${ac_cpu_pentium+set}" = set; then
3430    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2719 | Line 3438 | echo "$as_me:2722: result: $ac_cpu_pentium" >&5
3438   rm -f conftest*
3439  
3440   fi
3441 < echo "$as_me:2722: result: $ac_cpu_pentium" >&5
3441 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
3442   echo "${ECHO_T}$ac_cpu_pentium" >&6
3443   if test "$ac_cpu_pentium" = yes; then
3444          :
# Line 2727 | Line 3446 | echo "$as_me:2730: checking whether ${CXX-c++} accepts
3446   else
3447          :
3448  
3449 < echo "$as_me:2730: checking whether ${CXX-c++} accepts -mpentium" >&5
3449 >
3450 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
3451   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
3452   if test "${ac_pentium+set}" = set; then
3453    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2741 | Line 3461 | echo "$as_me:2744: result: $ac_pentium" >&5
3461   rm -f conftest*
3462  
3463   fi
3464 < echo "$as_me:2744: result: $ac_pentium" >&5
3464 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
3465   echo "${ECHO_T}$ac_pentium" >&6
3466   if test "$ac_pentium" = yes; then
3467          :
# Line 2756 | Line 3476 | echo "$as_me:2759: checking whether ${CXX-c++} accepts
3476                    ;;
3477            i686*)
3478  
3479 < echo "$as_me:2759: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3479 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3480   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
3481   if test "${ac_cpu_pentiumpro+set}" = set; then
3482    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2770 | Line 3490 | echo "$as_me:2773: result: $ac_cpu_pentiumpro" >&5
3490   rm -f conftest*
3491  
3492   fi
3493 < echo "$as_me:2773: result: $ac_cpu_pentiumpro" >&5
3493 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
3494   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
3495   if test "$ac_cpu_pentiumpro" = yes; then
3496          :
# Line 2778 | Line 3498 | echo "$as_me:2781: checking whether ${CXX-c++} accepts
3498   else
3499          :
3500  
3501 < echo "$as_me:2781: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3501 >
3502 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3503   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
3504   if test "${ac_pentiumpro+set}" = set; then
3505    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2792 | Line 3513 | echo "$as_me:2795: result: $ac_pentiumpro" >&5
3513   rm -f conftest*
3514  
3515   fi
3516 < echo "$as_me:2795: result: $ac_pentiumpro" >&5
3516 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
3517   echo "${ECHO_T}$ac_pentiumpro" >&6
3518   if test "$ac_pentiumpro" = yes; then
3519          :
# Line 2810 | Line 3531 | echo "$as_me:2813: checking whether ${CXX-c++} accepts
3531                  is60x=`echo $cputype | egrep "^600-9e?$"`
3532                  if test -n "$is60x"; then
3533  
3534 < echo "$as_me:2813: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3534 >
3535 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3536   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
3537   if test "${ac_m_cpu_60x+set}" = set; then
3538    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2824 | Line 3546 | echo "$as_me:2827: result: $ac_m_cpu_60x" >&5
3546   rm -f conftest*
3547  
3548   fi
3549 < echo "$as_me:2827: result: $ac_m_cpu_60x" >&5
3549 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
3550   echo "${ECHO_T}$ac_m_cpu_60x" >&6
3551   if test "$ac_m_cpu_60x" = yes; then
3552          :
# Line 2836 | Line 3558 | echo "$as_me:2839: checking whether we are using gcc 2
3558  
3559                  elif test "$cputype" = 750; then
3560  
3561 < echo "$as_me:2839: checking whether we are using gcc 2.95 or later" >&5
3561 >
3562 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
3563   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
3564   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
3565    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2850 | Line 3573 | if { ac_try='${CC-cc} -E conftest.c'
3573   #endif
3574   EOF
3575   if { ac_try='${CC-cc} -E conftest.c'
3576 <  { (eval echo "$as_me:2853: \"$ac_try\"") >&5
3576 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577    (eval $ac_try) 2>&5
3578    ac_status=$?
3579 <  echo "$as_me:2856: \$? = $ac_status" >&5
3579 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3581    ac_cv_prog_gcc_2_95=yes
3582   else
# Line 2861 | Line 3584 | echo "$as_me:2864: result: $ac_cv_prog_gcc_2_95" >&5
3584   fi
3585  
3586   fi
3587 < echo "$as_me:2864: result: $ac_cv_prog_gcc_2_95" >&5
3587 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
3588   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
3589   if test "$ac_cv_prog_gcc_2_95" = yes; then
3590          :
3591  
3592 < echo "$as_me:2869: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3592 >
3593 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3594   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
3595   if test "${ac_m_cpu_750+set}" = set; then
3596    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2880 | Line 3604 | echo "$as_me:2883: result: $ac_m_cpu_750" >&5
3604   rm -f conftest*
3605  
3606   fi
3607 < echo "$as_me:2883: result: $ac_m_cpu_750" >&5
3607 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
3608   echo "${ECHO_T}$ac_m_cpu_750" >&6
3609   if test "$ac_m_cpu_750" = yes; then
3610          :
# Line 2898 | Line 3622 | echo "$as_me:2901: checking whether ${CXX-c++} accepts
3622                  fi
3623                  if test -z "$CPU_FLAGS"; then
3624  
3625 < echo "$as_me:2901: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
3625 >
3626 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
3627   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
3628   if test "${ac_m_cpu_powerpc+set}" = set; then
3629    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2912 | Line 3637 | echo "$as_me:2915: result: $ac_m_cpu_powerpc" >&5
3637   rm -f conftest*
3638  
3639   fi
3640 < echo "$as_me:2915: result: $ac_m_cpu_powerpc" >&5
3640 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
3641   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
3642   if test "$ac_m_cpu_powerpc" = yes; then
3643          :
# Line 2925 | Line 3650 | echo "$as_me:2928: checking whether ${CXX-c++} accepts
3650                  fi
3651                  if test -z "$CPU_FLAGS"; then
3652  
3653 < echo "$as_me:2928: checking whether ${CXX-c++} accepts -mpowerpc" >&5
3653 >
3654 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
3655   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
3656   if test "${ac_m_powerpc+set}" = set; then
3657    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2939 | Line 3665 | echo "$as_me:2942: result: $ac_m_powerpc" >&5
3665   rm -f conftest*
3666  
3667   fi
3668 < echo "$as_me:2942: result: $ac_m_powerpc" >&5
3668 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
3669   echo "${ECHO_T}$ac_m_powerpc" >&6
3670   if test "$ac_m_powerpc" = yes; then
3671          :
# Line 2968 | Line 3694 | echo "$as_me:2971: checking whether ${CXX-c++} accepts
3694          CXXFLAGS="-O3"
3695    fi
3696  
3697 < echo "$as_me:2971: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
3697 >
3698 >
3699 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
3700   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
3701   if test "${ac_guessed_cxxflags+set}" = set; then
3702    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2982 | Line 3710 | echo "$as_me:2985: result: $ac_guessed_cxxflags" >&5
3710   rm -f conftest*
3711  
3712   fi
3713 < echo "$as_me:2985: result: $ac_guessed_cxxflags" >&5
3713 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
3714   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
3715   if test "$ac_guessed_cxxflags" = yes; then
3716          :
# Line 3001 | Line 3729 | fi
3729  
3730   fi
3731  
3732 +
3733   fi
3734  
3735   ac_ext=f90
# Line 3012 | Line 3741 | echo "$as_me:3015: checking for $ac_word" >&5
3741    do
3742      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 < echo "$as_me:3015: checking for $ac_word" >&5
3744 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3745   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3746   if test "${ac_cv_prog_F90+set}" = set; then
3747    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3020 | Line 3749 | else
3749    if test -n "$F90"; then
3750    ac_cv_prog_F90="$F90" # Let the user override the test.
3751   else
3752 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3753 < ac_dummy="$PATH"
3754 < for ac_dir in $ac_dummy; do
3755 <  IFS=$ac_save_IFS
3756 <  test -z "$ac_dir" && ac_dir=.
3757 <  $as_executable_p "$ac_dir/$ac_word" || continue
3758 < ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3759 < echo "$as_me:3030: found $ac_dir/$ac_word" >&5
3760 < break
3752 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 > for as_dir in $PATH
3754 > do
3755 >  IFS=$as_save_IFS
3756 >  test -z "$as_dir" && as_dir=.
3757 >  for ac_exec_ext in '' $ac_executable_extensions; do
3758 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3759 >    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3760 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 >    break 2
3762 >  fi
3763   done
3764 + done
3765  
3766   fi
3767   fi
3768   F90=$ac_cv_prog_F90
3769   if test -n "$F90"; then
3770 <  echo "$as_me:3038: result: $F90" >&5
3770 >  echo "$as_me:$LINENO: result: $F90" >&5
3771   echo "${ECHO_T}$F90" >&6
3772   else
3773 <  echo "$as_me:3041: result: no" >&5
3773 >  echo "$as_me:$LINENO: result: no" >&5
3774   echo "${ECHO_T}no" >&6
3775   fi
3776  
# Line 3051 | Line 3783 | echo "$as_me:3054: checking for $ac_word" >&5
3783   do
3784    # Extract the first word of "$ac_prog", so it can be a program name with args.
3785   set dummy $ac_prog; ac_word=$2
3786 < echo "$as_me:3054: checking for $ac_word" >&5
3786 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3787   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3788   if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3789    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3059 | Line 3791 | else
3791    if test -n "$ac_ct_F90"; then
3792    ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3793   else
3794 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3795 < ac_dummy="$PATH"
3796 < for ac_dir in $ac_dummy; do
3797 <  IFS=$ac_save_IFS
3798 <  test -z "$ac_dir" && ac_dir=.
3799 <  $as_executable_p "$ac_dir/$ac_word" || continue
3800 < ac_cv_prog_ac_ct_F90="$ac_prog"
3801 < echo "$as_me:3069: found $ac_dir/$ac_word" >&5
3802 < break
3794 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 > for as_dir in $PATH
3796 > do
3797 >  IFS=$as_save_IFS
3798 >  test -z "$as_dir" && as_dir=.
3799 >  for ac_exec_ext in '' $ac_executable_extensions; do
3800 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 >    ac_cv_prog_ac_ct_F90="$ac_prog"
3802 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 >    break 2
3804 >  fi
3805   done
3806 + done
3807  
3808   fi
3809   fi
3810   ac_ct_F90=$ac_cv_prog_ac_ct_F90
3811   if test -n "$ac_ct_F90"; then
3812 <  echo "$as_me:3077: result: $ac_ct_F90" >&5
3812 >  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
3813   echo "${ECHO_T}$ac_ct_F90" >&6
3814   else
3815 <  echo "$as_me:3080: result: no" >&5
3815 >  echo "$as_me:$LINENO: result: no" >&5
3816   echo "${ECHO_T}no" >&6
3817   fi
3818  
# Line 3087 | Line 3822 | fi
3822    F90=$ac_ct_F90
3823   fi
3824  
3825 +
3826   # If we don't use `.F90' as extension, the preprocessor is not run on the
3827   # input file.
3828   ac_save_ext=$ac_ext
3829   ac_ext=F90
3830 < echo "$as_me:3094: checking whether we are using the GNU Fortran 90 compiler" >&5
3830 > echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
3831   echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3832   if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3833    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3108 | Line 3844 | if { (eval echo "$as_me:3111: \"$ac_compile\"") >&5
3844  
3845   _ACEOF
3846   rm -f conftest.$ac_objext
3847 < if { (eval echo "$as_me:3111: \"$ac_compile\"") >&5
3847 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3848    (eval $ac_compile) 2>&5
3849    ac_status=$?
3850 <  echo "$as_me:3114: \$? = $ac_status" >&5
3850 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851    (exit $ac_status); } &&
3852           { ac_try='test -s conftest.$ac_objext'
3853 <  { (eval echo "$as_me:3117: \"$ac_try\"") >&5
3853 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3854    (eval $ac_try) 2>&5
3855    ac_status=$?
3856 <  echo "$as_me:3120: \$? = $ac_status" >&5
3856 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857    (exit $ac_status); }; }; then
3858    ac_compiler_gnu=yes
3859   else
3860    echo "$as_me: failed program was:" >&5
3861 < cat conftest.$ac_ext >&5
3861 > sed 's/^/| /' conftest.$ac_ext >&5
3862 >
3863   ac_compiler_gnu=no
3864   fi
3865   rm -f conftest.$ac_objext conftest.$ac_ext
3866   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3867  
3868   fi
3869 < echo "$as_me:3132: result: $ac_cv_f90_compiler_gnu" >&5
3869 > echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3870   echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3871   ac_ext=$ac_save_ext
3872   G95=`test $ac_compiler_gnu = yes && echo yes`
# Line 3139 | Line 3876 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3876   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878  
3879 +
3880 +
3881 +
3882 +
3883   # Try to determine "good" native compiler flags if none specified on command
3884   # line
3885  
# Line 3195 | Line 3936 | echo "$as_me:3198: checking whether ${F90-f90} accepts
3936          F90FLAGS="-O3"
3937    fi
3938  
3939 < echo "$as_me:3198: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
3939 >
3940 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
3941   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
3942   if test "${ac_guessed_f90flags+set}" = set; then
3943    echo $ECHO_N "(cached) $ECHO_C" >&6
3944   else
3945  
3946 +
3947 +
3948   ac_ext=f90
3949   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3950   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3209 | Line 3953 | if { (eval echo "$as_me:3212: \"$ac_compile\"") >&5
3953   echo 'program main' > conftest.$ac_ext
3954   echo 'end program main' >> conftest.$ac_ext
3955   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
3956 < if { (eval echo "$as_me:3212: \"$ac_compile\"") >&5
3956 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3957    (eval $ac_compile) 2>&5
3958    ac_status=$?
3959 <  echo "$as_me:3215: \$? = $ac_status" >&5
3959 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960    (exit $ac_status); }; then
3961          ac_guessed_f90flags=yes
3962   else
# Line 3225 | Line 3969 | fi
3969   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3971  
3972 +
3973   fi
3974 < echo "$as_me:3229: result: $ac_guessed_f90flags" >&5
3974 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
3975   echo "${ECHO_T}$ac_guessed_f90flags" >&6
3976   if test "$ac_guessed_f90flags" = yes; then
3977          :
# Line 3245 | Line 3990 | fi
3990  
3991   fi
3992  
3993 +
3994   fi
3995  
3996 +
3997 +
3998 +
3999 +
4000   # Try to determine native compiler flags that allow us to use F90 suffix
4001   # for preprocessed f90 source.
4002  
# Line 3277 | Line 4027 | if test "$ac_test_PREPFLAG" != "set"; then
4027          PREPFLAG=""
4028    fi
4029  
4030 <  echo "$as_me:3280: checking to make sure F90 preprocessor flag works" >&5
4030 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
4031   echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
4032  
4033 +
4034    ac_ext=f90
4035   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4036   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3295 | Line 4046 | program main
4046  
4047      cat >conftest.$ac_ext <<_ACEOF
4048  
4049 +
4050   program main
4051  
4052    integer :: i
4053    i = 1
4054  
4055 +
4056   end program main
4057  
4058   _ACEOF
4059   rm -f conftest.$ac_objext
4060 < if { (eval echo "$as_me:3307: \"$ac_compile\"") >&5
4060 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4061    (eval $ac_compile) 2>&5
4062    ac_status=$?
4063 <  echo "$as_me:3310: \$? = $ac_status" >&5
4063 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064    (exit $ac_status); } &&
4065           { ac_try='test -s conftest.$ac_objext'
4066 <  { (eval echo "$as_me:3313: \"$ac_try\"") >&5
4066 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067    (eval $ac_try) 2>&5
4068    ac_status=$?
4069 <  echo "$as_me:3316: \$? = $ac_status" >&5
4069 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070    (exit $ac_status); }; }; then
4071    prepflagworks=1
4072   else
4073    echo "$as_me: failed program was:" >&5
4074 < cat conftest.$ac_ext >&5
4074 > sed 's/^/| /' conftest.$ac_ext >&5
4075 >
4076   prepflagworks=0
4077   fi
4078   rm -f conftest.$ac_objext conftest.$ac_ext
# Line 3331 | Line 4085 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087  
4088 +
4089 +
4090    if test "$prepflagworks" = 1; then
4091 <    echo "$as_me:3335: result: yes" >&5
4091 >    echo "$as_me:$LINENO: result: yes" >&5
4092   echo "${ECHO_T}yes" >&6
4093  
4094    else
4095 <    echo "$as_me:3339: result: no" >&5
4095 >    echo "$as_me:$LINENO: result: no" >&5
4096   echo "${ECHO_T}no" >&6
4097 <    { { echo "$as_me:3341: error: Can't figure out working Fortran90 preprocessor flag" >&5
4097 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
4098   echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
4099     { (exit 1); exit 1; }; }
4100    fi
4101   fi
4102  
4103 +
4104 +
4105 +
4106 +
4107   # Try to determine native compiler flags that allow us to use F90 suffix
4108   # for preprocessed f90 source with -D type defines
4109  
# Line 3374 | Line 4134 | if test "$ac_test_PREPDEFFLAG" != "set"; then
4134          PREPDEFFLAG=" "
4135    fi
4136  
4137 <  echo "$as_me:3377: checking to make sure F90 preprocessor define flag works" >&5
4137 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
4138   echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
4139  
4140 +
4141    ac_ext=f90
4142   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4143   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3392 | Line 4153 | program main
4153  
4154      cat >conftest.$ac_ext <<_ACEOF
4155  
4156 +
4157   program main
4158  
4159    integer :: i
# Line 3401 | Line 4163 | end program main
4163    choke me
4164   #endif
4165  
4166 +
4167   end program main
4168  
4169   _ACEOF
4170   rm -f conftest.$ac_objext
4171 < if { (eval echo "$as_me:3408: \"$ac_compile\"") >&5
4171 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4172    (eval $ac_compile) 2>&5
4173    ac_status=$?
4174 <  echo "$as_me:3411: \$? = $ac_status" >&5
4174 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175    (exit $ac_status); } &&
4176           { ac_try='test -s conftest.$ac_objext'
4177 <  { (eval echo "$as_me:3414: \"$ac_try\"") >&5
4177 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178    (eval $ac_try) 2>&5
4179    ac_status=$?
4180 <  echo "$as_me:3417: \$? = $ac_status" >&5
4180 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181    (exit $ac_status); }; }; then
4182    prepdefflagworks=1
4183   else
4184    echo "$as_me: failed program was:" >&5
4185 < cat conftest.$ac_ext >&5
4185 > sed 's/^/| /' conftest.$ac_ext >&5
4186 >
4187   prepdefflagworks=0
4188   fi
4189   rm -f conftest.$ac_objext conftest.$ac_ext
# Line 3432 | Line 4196 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4197   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4198  
4199 +
4200 +
4201    if test "$prepdefflagworks" = 1; then
4202 <    echo "$as_me:3436: result: yes" >&5
4202 >    echo "$as_me:$LINENO: result: yes" >&5
4203   echo "${ECHO_T}yes" >&6
4204  
4205    else
4206 <    echo "$as_me:3440: result: no" >&5
4206 >    echo "$as_me:$LINENO: result: no" >&5
4207   echo "${ECHO_T}no" >&6
4208 <    { { echo "$as_me:3442: error: Can't figure out working Fortran90 preprocessor define flag" >&5
4208 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
4209   echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
4210     { (exit 1); exit 1; }; }
4211    fi
# Line 3457 | Line 4223 | echo "$as_me:3460: checking for a BSD compatible insta
4223   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4224   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4225   # ./install, which can be erroneously created by make from ./install.sh.
4226 < echo "$as_me:3460: checking for a BSD compatible install" >&5
4227 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
4226 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4227 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4228   if test -z "$INSTALL"; then
4229   if test "${ac_cv_path_install+set}" = set; then
4230    echo $ECHO_N "(cached) $ECHO_C" >&6
4231   else
4232 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
4233 <  for ac_dir in $PATH; do
4234 <    IFS=$ac_save_IFS
4235 <    # Account for people who put trailing slashes in PATH elements.
4236 <    case $ac_dir/ in
4237 <    / | ./ | .// | /cC/* \
4238 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
4239 <    | /usr/ucb/* ) ;;
4240 <    *)
4241 <      # OSF1 and SCO ODT 3.0 have their own names for install.
4242 <      # Don't use installbsd from OSF since it installs stuff as root
4243 <      # by default.
4244 <      for ac_prog in ginstall scoinst install; do
4245 <        if $as_executable_p "$ac_dir/$ac_prog"; then
4246 <          if test $ac_prog = install &&
4247 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
4248 <            # AIX install.  It has an incompatible calling convention.
4249 <            :
4250 <          elif test $ac_prog = install &&
4251 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
4252 <            # program-specific install script used by HP pwplus--don't use.
4253 <            :
4254 <          else
4255 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
4256 <            break 2
4257 <          fi
4258 <        fi
4232 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 > for as_dir in $PATH
4234 > do
4235 >  IFS=$as_save_IFS
4236 >  test -z "$as_dir" && as_dir=.
4237 >  # Account for people who put trailing slashes in PATH elements.
4238 > case $as_dir/ in
4239 >  ./ | .// | /cC/* | \
4240 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4241 >  /usr/ucb/* ) ;;
4242 >  *)
4243 >    # OSF1 and SCO ODT 3.0 have their own names for install.
4244 >    # Don't use installbsd from OSF since it installs stuff as root
4245 >    # by default.
4246 >    for ac_prog in ginstall scoinst install; do
4247 >      for ac_exec_ext in '' $ac_executable_extensions; do
4248 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4249 >          if test $ac_prog = install &&
4250 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4251 >            # AIX install.  It has an incompatible calling convention.
4252 >            :
4253 >          elif test $ac_prog = install &&
4254 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4255 >            # program-specific install script used by HP pwplus--don't use.
4256 >            :
4257 >          else
4258 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4259 >            break 3
4260 >          fi
4261 >        fi
4262        done
4263 <      ;;
4264 <    esac
4265 <  done
4263 >    done
4264 >    ;;
4265 > esac
4266 > done
4267  
4268 +
4269   fi
4270    if test "${ac_cv_path_install+set}" = set; then
4271      INSTALL=$ac_cv_path_install
# Line 3506 | Line 4277 | echo "$as_me:3509: result: $INSTALL" >&5
4277      INSTALL=$ac_install_sh
4278    fi
4279   fi
4280 < echo "$as_me:3509: result: $INSTALL" >&5
4280 > echo "$as_me:$LINENO: result: $INSTALL" >&5
4281   echo "${ECHO_T}$INSTALL" >&6
4282  
4283   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3517 | Line 4288 | echo "$as_me:3520: checking whether ln -s works" >&5
4288  
4289   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4290  
4291 < echo "$as_me:3520: checking whether ln -s works" >&5
4291 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
4292   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4293   LN_S=$as_ln_s
4294   if test "$LN_S" = "ln -s"; then
4295 <  echo "$as_me:3524: result: yes" >&5
4295 >  echo "$as_me:$LINENO: result: yes" >&5
4296   echo "${ECHO_T}yes" >&6
4297   else
4298 <  echo "$as_me:3527: result: no, using $LN_S" >&5
4298 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4299   echo "${ECHO_T}no, using $LN_S" >&6
4300   fi
4301  
4302 < echo "$as_me:3531: checking whether ${MAKE-make} sets \${MAKE}" >&5
4303 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
4302 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4303 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4304   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
4305   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4306    echo $ECHO_N "(cached) $ECHO_C" >&6
4307   else
4308 <  cat >conftest.make <<\EOF
4308 >  cat >conftest.make <<\_ACEOF
4309   all:
4310 <        @echo 'ac_maketemp="${MAKE}"'
4311 < EOF
4310 >        @echo 'ac_maketemp="$(MAKE)"'
4311 > _ACEOF
4312   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4313   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4314   if test -n "$ac_maketemp"; then
# Line 3548 | Line 4319 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
4319   rm -f conftest.make
4320   fi
4321   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4322 <  echo "$as_me:3551: result: yes" >&5
4322 >  echo "$as_me:$LINENO: result: yes" >&5
4323   echo "${ECHO_T}yes" >&6
4324    SET_MAKE=
4325   else
4326 <  echo "$as_me:3555: result: no" >&5
4326 >  echo "$as_me:$LINENO: result: no" >&5
4327   echo "${ECHO_T}no" >&6
4328    SET_MAKE="MAKE=${MAKE-make}"
4329   fi
# Line 3560 | Line 4331 | echo "$as_me:3563: checking for $ac_word" >&5
4331   if test -n "$ac_tool_prefix"; then
4332    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4333   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4334 < echo "$as_me:3563: checking for $ac_word" >&5
4334 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4335   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4336   if test "${ac_cv_prog_RANLIB+set}" = set; then
4337    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3568 | Line 4339 | else
4339    if test -n "$RANLIB"; then
4340    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4341   else
4342 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4343 < ac_dummy="$PATH"
4344 < for ac_dir in $ac_dummy; do
4345 <  IFS=$ac_save_IFS
4346 <  test -z "$ac_dir" && ac_dir=.
4347 <  $as_executable_p "$ac_dir/$ac_word" || continue
4348 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4349 < echo "$as_me:3578: found $ac_dir/$ac_word" >&5
4350 < break
4342 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 > for as_dir in $PATH
4344 > do
4345 >  IFS=$as_save_IFS
4346 >  test -z "$as_dir" && as_dir=.
4347 >  for ac_exec_ext in '' $ac_executable_extensions; do
4348 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4350 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 >    break 2
4352 >  fi
4353   done
4354 + done
4355  
4356   fi
4357   fi
4358   RANLIB=$ac_cv_prog_RANLIB
4359   if test -n "$RANLIB"; then
4360 <  echo "$as_me:3586: result: $RANLIB" >&5
4360 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
4361   echo "${ECHO_T}$RANLIB" >&6
4362   else
4363 <  echo "$as_me:3589: result: no" >&5
4363 >  echo "$as_me:$LINENO: result: no" >&5
4364   echo "${ECHO_T}no" >&6
4365   fi
4366  
# Line 3595 | Line 4369 | echo "$as_me:3598: checking for $ac_word" >&5
4369    ac_ct_RANLIB=$RANLIB
4370    # Extract the first word of "ranlib", so it can be a program name with args.
4371   set dummy ranlib; ac_word=$2
4372 < echo "$as_me:3598: checking for $ac_word" >&5
4372 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4373   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4374   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4375    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3603 | Line 4377 | else
4377    if test -n "$ac_ct_RANLIB"; then
4378    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4379   else
4380 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4381 < ac_dummy="$PATH"
4382 < for ac_dir in $ac_dummy; do
4383 <  IFS=$ac_save_IFS
4384 <  test -z "$ac_dir" && ac_dir=.
4385 <  $as_executable_p "$ac_dir/$ac_word" || continue
4386 < ac_cv_prog_ac_ct_RANLIB="ranlib"
4387 < echo "$as_me:3613: found $ac_dir/$ac_word" >&5
4388 < break
4380 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 > for as_dir in $PATH
4382 > do
4383 >  IFS=$as_save_IFS
4384 >  test -z "$as_dir" && as_dir=.
4385 >  for ac_exec_ext in '' $ac_executable_extensions; do
4386 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
4388 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 >    break 2
4390 >  fi
4391   done
4392 + done
4393  
4394    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4395   fi
4396   fi
4397   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4398   if test -n "$ac_ct_RANLIB"; then
4399 <  echo "$as_me:3622: result: $ac_ct_RANLIB" >&5
4399 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4400   echo "${ECHO_T}$ac_ct_RANLIB" >&6
4401   else
4402 <  echo "$as_me:3625: result: no" >&5
4402 >  echo "$as_me:$LINENO: result: no" >&5
4403   echo "${ECHO_T}no" >&6
4404   fi
4405  
# Line 3635 | Line 4412 | echo "$as_me:3638: checking for $ac_word" >&5
4412   do
4413    # Extract the first word of "$ac_prog", so it can be a program name with args.
4414   set dummy $ac_prog; ac_word=$2
4415 < echo "$as_me:3638: checking for $ac_word" >&5
4415 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4416   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4417   if test "${ac_cv_prog_YACC+set}" = set; then
4418    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3643 | Line 4420 | else
4420    if test -n "$YACC"; then
4421    ac_cv_prog_YACC="$YACC" # Let the user override the test.
4422   else
4423 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4424 < ac_dummy="$PATH"
4425 < for ac_dir in $ac_dummy; do
4426 <  IFS=$ac_save_IFS
4427 <  test -z "$ac_dir" && ac_dir=.
4428 <  $as_executable_p "$ac_dir/$ac_word" || continue
4429 < ac_cv_prog_YACC="$ac_prog"
4430 < echo "$as_me:3653: found $ac_dir/$ac_word" >&5
4431 < break
4423 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 > for as_dir in $PATH
4425 > do
4426 >  IFS=$as_save_IFS
4427 >  test -z "$as_dir" && as_dir=.
4428 >  for ac_exec_ext in '' $ac_executable_extensions; do
4429 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 >    ac_cv_prog_YACC="$ac_prog"
4431 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 >    break 2
4433 >  fi
4434   done
4435 + done
4436  
4437   fi
4438   fi
4439   YACC=$ac_cv_prog_YACC
4440   if test -n "$YACC"; then
4441 <  echo "$as_me:3661: result: $YACC" >&5
4441 >  echo "$as_me:$LINENO: result: $YACC" >&5
4442   echo "${ECHO_T}$YACC" >&6
4443   else
4444 <  echo "$as_me:3664: result: no" >&5
4444 >  echo "$as_me:$LINENO: result: no" >&5
4445   echo "${ECHO_T}no" >&6
4446   fi
4447  
# Line 3669 | Line 4449 | for ac_prog in flex lex
4449   done
4450   test -n "$YACC" || YACC="yacc"
4451  
4452 +
4453   for ac_prog in flex lex
4454   do
4455    # Extract the first word of "$ac_prog", so it can be a program name with args.
4456   set dummy $ac_prog; ac_word=$2
4457 < echo "$as_me:3676: checking for $ac_word" >&5
4457 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4458   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4459   if test "${ac_cv_prog_LEX+set}" = set; then
4460    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3681 | Line 4462 | else
4462    if test -n "$LEX"; then
4463    ac_cv_prog_LEX="$LEX" # Let the user override the test.
4464   else
4465 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4466 < ac_dummy="$PATH"
4467 < for ac_dir in $ac_dummy; do
4468 <  IFS=$ac_save_IFS
4469 <  test -z "$ac_dir" && ac_dir=.
4470 <  $as_executable_p "$ac_dir/$ac_word" || continue
4471 < ac_cv_prog_LEX="$ac_prog"
4472 < echo "$as_me:3691: found $ac_dir/$ac_word" >&5
4473 < break
4465 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 > for as_dir in $PATH
4467 > do
4468 >  IFS=$as_save_IFS
4469 >  test -z "$as_dir" && as_dir=.
4470 >  for ac_exec_ext in '' $ac_executable_extensions; do
4471 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 >    ac_cv_prog_LEX="$ac_prog"
4473 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 >    break 2
4475 >  fi
4476   done
4477 + done
4478  
4479   fi
4480   fi
4481   LEX=$ac_cv_prog_LEX
4482   if test -n "$LEX"; then
4483 <  echo "$as_me:3699: result: $LEX" >&5
4483 >  echo "$as_me:$LINENO: result: $LEX" >&5
4484   echo "${ECHO_T}$LEX" >&6
4485   else
4486 <  echo "$as_me:3702: result: no" >&5
4486 >  echo "$as_me:$LINENO: result: no" >&5
4487   echo "${ECHO_T}no" >&6
4488   fi
4489  
# Line 3709 | Line 4493 | then
4493  
4494   if test -z "$LEXLIB"
4495   then
4496 <  echo "$as_me:3712: checking for yywrap in -lfl" >&5
4496 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4497   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4498   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4499    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3717 | Line 4501 | cat >conftest.$ac_ext <<_ACEOF
4501    ac_check_lib_save_LIBS=$LIBS
4502   LIBS="-lfl  $LIBS"
4503   cat >conftest.$ac_ext <<_ACEOF
4504 < #line 3720 "configure"
4505 < #include "confdefs.h"
4504 > #line $LINENO "configure"
4505 > /* confdefs.h.  */
4506 > _ACEOF
4507 > cat confdefs.h >>conftest.$ac_ext
4508 > cat >>conftest.$ac_ext <<_ACEOF
4509 > /* end confdefs.h.  */
4510  
4511   /* Override any gcc2 internal prototype to avoid an error.  */
4512   #ifdef __cplusplus
# Line 3736 | Line 4524 | if { (eval echo "$as_me:3739: \"$ac_link\"") >&5
4524   }
4525   _ACEOF
4526   rm -f conftest.$ac_objext conftest$ac_exeext
4527 < if { (eval echo "$as_me:3739: \"$ac_link\"") >&5
4527 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4528    (eval $ac_link) 2>&5
4529    ac_status=$?
4530 <  echo "$as_me:3742: \$? = $ac_status" >&5
4530 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531    (exit $ac_status); } &&
4532           { ac_try='test -s conftest$ac_exeext'
4533 <  { (eval echo "$as_me:3745: \"$ac_try\"") >&5
4533 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4534    (eval $ac_try) 2>&5
4535    ac_status=$?
4536 <  echo "$as_me:3748: \$? = $ac_status" >&5
4536 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537    (exit $ac_status); }; }; then
4538    ac_cv_lib_fl_yywrap=yes
4539   else
4540    echo "$as_me: failed program was:" >&5
4541 < cat conftest.$ac_ext >&5
4541 > sed 's/^/| /' conftest.$ac_ext >&5
4542 >
4543   ac_cv_lib_fl_yywrap=no
4544   fi
4545   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4546   LIBS=$ac_check_lib_save_LIBS
4547   fi
4548 < echo "$as_me:3759: result: $ac_cv_lib_fl_yywrap" >&5
4548 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4549   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4550   if test $ac_cv_lib_fl_yywrap = yes; then
4551    LEXLIB="-lfl"
4552   else
4553 <  echo "$as_me:3764: checking for yywrap in -ll" >&5
4553 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4554   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4555   if test "${ac_cv_lib_l_yywrap+set}" = set; then
4556    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3769 | Line 4558 | cat >conftest.$ac_ext <<_ACEOF
4558    ac_check_lib_save_LIBS=$LIBS
4559   LIBS="-ll  $LIBS"
4560   cat >conftest.$ac_ext <<_ACEOF
4561 < #line 3772 "configure"
4562 < #include "confdefs.h"
4561 > #line $LINENO "configure"
4562 > /* confdefs.h.  */
4563 > _ACEOF
4564 > cat confdefs.h >>conftest.$ac_ext
4565 > cat >>conftest.$ac_ext <<_ACEOF
4566 > /* end confdefs.h.  */
4567  
4568   /* Override any gcc2 internal prototype to avoid an error.  */
4569   #ifdef __cplusplus
# Line 3788 | Line 4581 | if { (eval echo "$as_me:3791: \"$ac_link\"") >&5
4581   }
4582   _ACEOF
4583   rm -f conftest.$ac_objext conftest$ac_exeext
4584 < if { (eval echo "$as_me:3791: \"$ac_link\"") >&5
4584 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4585    (eval $ac_link) 2>&5
4586    ac_status=$?
4587 <  echo "$as_me:3794: \$? = $ac_status" >&5
4587 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588    (exit $ac_status); } &&
4589           { ac_try='test -s conftest$ac_exeext'
4590 <  { (eval echo "$as_me:3797: \"$ac_try\"") >&5
4590 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591    (eval $ac_try) 2>&5
4592    ac_status=$?
4593 <  echo "$as_me:3800: \$? = $ac_status" >&5
4593 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594    (exit $ac_status); }; }; then
4595    ac_cv_lib_l_yywrap=yes
4596   else
4597    echo "$as_me: failed program was:" >&5
4598 < cat conftest.$ac_ext >&5
4598 > sed 's/^/| /' conftest.$ac_ext >&5
4599 >
4600   ac_cv_lib_l_yywrap=no
4601   fi
4602   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4603   LIBS=$ac_check_lib_save_LIBS
4604   fi
4605 < echo "$as_me:3811: result: $ac_cv_lib_l_yywrap" >&5
4605 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4606   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4607   if test $ac_cv_lib_l_yywrap = yes; then
4608    LEXLIB="-ll"
# Line 3819 | Line 4613 | if test "x$LEX" != "x:"; then
4613   fi
4614  
4615   if test "x$LEX" != "x:"; then
4616 <  echo "$as_me:3822: checking lex output file root" >&5
4616 >  echo "$as_me:$LINENO: checking lex output file root" >&5
4617   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4618   if test "${ac_cv_prog_lex_root+set}" = set; then
4619    echo $ECHO_N "(cached) $ECHO_C" >&6
4620   else
4621    # The minimal lex program is just a single line: %%.  But some broken lexes
4622   # (Solaris, I think it was) want two %% lines, so accommodate them.
4623 < echo '%%
4624 < %%' | $LEX
4623 > cat >conftest.l <<_ACEOF
4624 > %%
4625 > %%
4626 > _ACEOF
4627 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4628 >  (eval $LEX conftest.l) 2>&5
4629 >  ac_status=$?
4630 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 >  (exit $ac_status); }
4632   if test -f lex.yy.c; then
4633    ac_cv_prog_lex_root=lex.yy
4634   elif test -f lexyy.c; then
4635    ac_cv_prog_lex_root=lexyy
4636   else
4637 <  { { echo "$as_me:3836: error: cannot find output from $LEX; giving up" >&5
4637 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4638   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4639     { (exit 1); exit 1; }; }
4640   fi
4641   fi
4642 < echo "$as_me:3841: result: $ac_cv_prog_lex_root" >&5
4642 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4643   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4644 + rm -f conftest.l
4645   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4646  
4647 < echo "$as_me:3845: checking whether yytext is a pointer" >&5
4647 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4648   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4649   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4650    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3858 | Line 4660 | if { (eval echo "$as_me:3861: \"$ac_link\"") >&5
4660   `cat $LEX_OUTPUT_ROOT.c`
4661   _ACEOF
4662   rm -f conftest.$ac_objext conftest$ac_exeext
4663 < if { (eval echo "$as_me:3861: \"$ac_link\"") >&5
4663 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4664    (eval $ac_link) 2>&5
4665    ac_status=$?
4666 <  echo "$as_me:3864: \$? = $ac_status" >&5
4666 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667    (exit $ac_status); } &&
4668           { ac_try='test -s conftest$ac_exeext'
4669 <  { (eval echo "$as_me:3867: \"$ac_try\"") >&5
4669 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670    (eval $ac_try) 2>&5
4671    ac_status=$?
4672 <  echo "$as_me:3870: \$? = $ac_status" >&5
4672 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673    (exit $ac_status); }; }; then
4674    ac_cv_prog_lex_yytext_pointer=yes
4675   else
4676    echo "$as_me: failed program was:" >&5
4677 < cat conftest.$ac_ext >&5
4677 > sed 's/^/| /' conftest.$ac_ext >&5
4678 >
4679   fi
4680   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4681   LIBS=$ac_save_LIBS
4682   rm -f "${LEX_OUTPUT_ROOT}.c"
4683  
4684   fi
4685 < echo "$as_me:3882: result: $ac_cv_prog_lex_yytext_pointer" >&5
4685 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4686   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4687   if test $ac_cv_prog_lex_yytext_pointer = yes; then
4688  
4689 < cat >>confdefs.h <<\EOF
4689 > cat >>confdefs.h <<\_ACEOF
4690   #define YYTEXT_POINTER 1
4691 < EOF
4691 > _ACEOF
4692  
4693   fi
4694  
4695   fi
4696   # Extract the first word of "ar", so it can be a program name with args.
4697   set dummy ar; ac_word=$2
4698 < echo "$as_me:3895: checking for $ac_word" >&5
4698 > echo "$as_me:$LINENO: checking for $ac_word" >&5
4699   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4700   if test "${ac_cv_prog_AR+set}" = set; then
4701    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3900 | Line 4703 | else
4703    if test -n "$AR"; then
4704    ac_cv_prog_AR="$AR" # Let the user override the test.
4705   else
4706 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
4707 < ac_dummy="$PATH"
4708 < for ac_dir in $ac_dummy; do
4709 <  IFS=$ac_save_IFS
4710 <  test -z "$ac_dir" && ac_dir=.
4711 <  $as_executable_p "$ac_dir/$ac_word" || continue
4712 < ac_cv_prog_AR="ar"
4713 < echo "$as_me:3910: found $ac_dir/$ac_word" >&5
4714 < break
4706 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 > for as_dir in $PATH
4708 > do
4709 >  IFS=$as_save_IFS
4710 >  test -z "$as_dir" && as_dir=.
4711 >  for ac_exec_ext in '' $ac_executable_extensions; do
4712 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4713 >    ac_cv_prog_AR="ar"
4714 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 >    break 2
4716 >  fi
4717   done
4718 + done
4719  
4720    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
4721   fi
4722   fi
4723   AR=$ac_cv_prog_AR
4724   if test -n "$AR"; then
4725 <  echo "$as_me:3919: result: $AR" >&5
4725 >  echo "$as_me:$LINENO: result: $AR" >&5
4726   echo "${ECHO_T}$AR" >&6
4727   else
4728 <  echo "$as_me:3922: result: no" >&5
4728 >  echo "$as_me:$LINENO: result: no" >&5
4729   echo "${ECHO_T}no" >&6
4730   fi
4731  
4732   if test "$AR" = "NONE"; then
4733 <  { { echo "$as_me:3927: error: --> Can't find \`ar'!" >&5
4733 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
4734   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
4735     { (exit 1); exit 1; }; }
4736    cat >confcache <<\_ACEOF
# Line 3937 | Line 4743 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
4743   # config.status only pays attention to the cache file if you give it
4744   # the --recheck option to rerun configure.
4745   #
4746 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
4746 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
4747   # loading this file, other *unset* `ac_cv_foo' will be assigned the
4748   # following values.
4749  
# Line 3956 | Line 4762 | _ACEOF
4762        # substitution turns \\\\ into \\, and sed turns \\ into \).
4763        sed -n \
4764          "s/'/'\\\\''/g;
4765 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4765 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4766        ;;
4767      *)
4768        # `set' quotes correctly as required by POSIX, so do not add quotes.
4769        sed -n \
4770 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4770 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4771        ;;
4772      esac;
4773   } |
# Line 3972 | Line 4778 | if cmp -s $cache_file confcache; then :; else
4778       t end
4779       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4780       : end' >>confcache
4781 < if cmp -s $cache_file confcache; then :; else
4781 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
4782    if test -w $cache_file; then
4783      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4784      cat confcache >$cache_file
# Line 3989 | Line 4795 | ac_ext=f90
4795   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4797  
4798 +
4799 +
4800   ac_ext=f90
4801   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4802   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4803   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4804 < echo "$as_me:3996: checking how to get verbose linking output from $F90" >&5
4804 > echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
4805   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
4806   if test "${ac_cv_prog_f90_v+set}" = set; then
4807    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4003 | Line 4811 | end program main
4811  
4812   program main
4813  
4814 +
4815   end program main
4816  
4817   _ACEOF
4818   rm -f conftest.$ac_objext
4819 < if { (eval echo "$as_me:4010: \"$ac_compile\"") >&5
4819 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4820    (eval $ac_compile) 2>&5
4821    ac_status=$?
4822 <  echo "$as_me:4013: \$? = $ac_status" >&5
4822 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823    (exit $ac_status); } &&
4824           { ac_try='test -s conftest.$ac_objext'
4825 <  { (eval echo "$as_me:4016: \"$ac_try\"") >&5
4825 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826    (eval $ac_try) 2>&5
4827    ac_status=$?
4828 <  echo "$as_me:4019: \$? = $ac_status" >&5
4828 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829    (exit $ac_status); }; }; then
4830    ac_cv_prog_f90_v=
4831   # Try some options frequently used verbose output
# Line 4030 | Line 4839 | end program main
4839  
4840   program main
4841  
4842 +
4843   end program main
4844  
4845   _ACEOF
# Line 4041 | Line 4851 | F90FLAGS="$F90FLAGS $ac_verb"
4851   ac_save_F90FLAGS=$F90FLAGS
4852   F90FLAGS="$F90FLAGS $ac_verb"
4853  
4854 < (eval echo $as_me:4044: \"$ac_link\") >&5
4854 > (eval echo $as_me:4854: \"$ac_link\") >&5
4855   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4856   echo "$ac_f90_v_output" >&5
4857   F90FLAGS=$ac_save_F90FLAGS
# Line 4073 | Line 4883 | if test -z "$ac_cv_prog_f90_v"; then
4883    done
4884   done
4885   if test -z "$ac_cv_prog_f90_v"; then
4886 <   { echo "$as_me:4076: WARNING: cannot determine how to obtain linking information from $F90" >&5
4886 >   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
4887   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
4888   fi
4889   else
4890    echo "$as_me: failed program was:" >&5
4891 < cat conftest.$ac_ext >&5
4892 < { echo "$as_me:4082: WARNING: compilation failed" >&5
4891 > sed 's/^/| /' conftest.$ac_ext >&5
4892 >
4893 > { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
4894   echo "$as_me: WARNING: compilation failed" >&2;}
4895   fi
4896   rm -f conftest.$ac_objext conftest.$ac_ext
4897  
4898   fi
4899 < echo "$as_me:4088: result: $ac_cv_prog_f90_v" >&5
4899 > echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
4900   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
4901 < echo "$as_me:4090: checking for Fortran 90 libraries" >&5
4901 > echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
4902   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
4903   if test "${ac_cv_flibs+set}" = set; then
4904    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4105 | Line 4916 | end program main
4916  
4917   program main
4918  
4919 +
4920   end program main
4921  
4922   _ACEOF
# Line 4116 | Line 4928 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4928   ac_save_F90FLAGS=$F90FLAGS
4929   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4930  
4931 < (eval echo $as_me:4119: \"$ac_link\") >&5
4931 > (eval echo $as_me:4931: \"$ac_link\") >&5
4932   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4933   echo "$ac_f90_v_output" >&5
4934   F90FLAGS=$ac_save_F90FLAGS
# Line 4269 | Line 5081 | echo "$as_me:4272: result: $ac_cv_flibs" >&5
5081   fi # test "x$F90LIBS" = "x"
5082  
5083   fi
5084 < echo "$as_me:4272: result: $ac_cv_flibs" >&5
5084 > echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
5085   echo "${ECHO_T}$ac_cv_flibs" >&6
5086   F90LIBS="$ac_cv_f90libs"
5087  
# Line 4278 | Line 5090 | echo "$as_me:4281: checking for Fortran 90 name-mangli
5090   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5092  
5093 < echo "$as_me:4281: checking for Fortran 90 name-mangling scheme" >&5
5093 > echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
5094   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
5095   if test "${ac_cv_f90_mangling+set}" = set; then
5096    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4296 | Line 5108 | if { (eval echo "$as_me:4299: \"$ac_compile\"") >&5
5108   end
5109   _ACEOF
5110   rm -f conftest.$ac_objext
5111 < if { (eval echo "$as_me:4299: \"$ac_compile\"") >&5
5111 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5112    (eval $ac_compile) 2>&5
5113    ac_status=$?
5114 <  echo "$as_me:4302: \$? = $ac_status" >&5
5114 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115    (exit $ac_status); } &&
5116           { ac_try='test -s conftest.$ac_objext'
5117 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
5117 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118    (eval $ac_try) 2>&5
5119    ac_status=$?
5120 <  echo "$as_me:4308: \$? = $ac_status" >&5
5120 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121    (exit $ac_status); }; }; then
5122    mv conftest.$ac_objext cf90_test.$ac_objext
5123  
# Line 4323 | Line 5135 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135      for ac_underscore in "" "_"; do
5136        ac_func="$ac_foobar$ac_underscore"
5137        cat >conftest.$ac_ext <<_ACEOF
5138 < #line 4326 "configure"
5139 < #include "confdefs.h"
5138 > #line $LINENO "configure"
5139 > /* confdefs.h.  */
5140 > _ACEOF
5141 > cat confdefs.h >>conftest.$ac_ext
5142 > cat >>conftest.$ac_ext <<_ACEOF
5143 > /* end confdefs.h.  */
5144  
5145   /* Override any gcc2 internal prototype to avoid an error.  */
5146   #ifdef __cplusplus
# Line 4342 | Line 5158 | if { (eval echo "$as_me:4345: \"$ac_link\"") >&5
5158   }
5159   _ACEOF
5160   rm -f conftest.$ac_objext conftest$ac_exeext
5161 < if { (eval echo "$as_me:4345: \"$ac_link\"") >&5
5161 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5162    (eval $ac_link) 2>&5
5163    ac_status=$?
5164 <  echo "$as_me:4348: \$? = $ac_status" >&5
5164 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165    (exit $ac_status); } &&
5166           { ac_try='test -s conftest$ac_exeext'
5167 <  { (eval echo "$as_me:4351: \"$ac_try\"") >&5
5167 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168    (eval $ac_try) 2>&5
5169    ac_status=$?
5170 <  echo "$as_me:4354: \$? = $ac_status" >&5
5170 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171    (exit $ac_status); }; }; then
5172    ac_success=yes; break 2
5173   else
5174    echo "$as_me: failed program was:" >&5
5175 < cat conftest.$ac_ext >&5
5175 > sed 's/^/| /' conftest.$ac_ext >&5
5176 >
5177   fi
5178   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5179      done
# Line 4379 | Line 5196 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
5196          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
5197  
5198          cat >conftest.$ac_ext <<_ACEOF
5199 < #line 4382 "configure"
5200 < #include "confdefs.h"
5199 > #line $LINENO "configure"
5200 > /* confdefs.h.  */
5201 > _ACEOF
5202 > cat confdefs.h >>conftest.$ac_ext
5203 > cat >>conftest.$ac_ext <<_ACEOF
5204 > /* end confdefs.h.  */
5205  
5206   /* Override any gcc2 internal prototype to avoid an error.  */
5207   #ifdef __cplusplus
# Line 4398 | Line 5219 | if { (eval echo "$as_me:4401: \"$ac_link\"") >&5
5219   }
5220   _ACEOF
5221   rm -f conftest.$ac_objext conftest$ac_exeext
5222 < if { (eval echo "$as_me:4401: \"$ac_link\"") >&5
5222 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5223    (eval $ac_link) 2>&5
5224    ac_status=$?
5225 <  echo "$as_me:4404: \$? = $ac_status" >&5
5225 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226    (exit $ac_status); } &&
5227           { ac_try='test -s conftest$ac_exeext'
5228 <  { (eval echo "$as_me:4407: \"$ac_try\"") >&5
5228 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229    (eval $ac_try) 2>&5
5230    ac_status=$?
5231 <  echo "$as_me:4410: \$? = $ac_status" >&5
5231 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232    (exit $ac_status); }; }; then
5233    ac_success_extra=yes; break
5234   else
5235    echo "$as_me: failed program was:" >&5
5236 < cat conftest.$ac_ext >&5
5236 > sed 's/^/| /' conftest.$ac_ext >&5
5237 >
5238   fi
5239   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5240       done
# Line 4446 | Line 5268 | cat conftest.$ac_ext >&5
5268    rm -f cf90_test* conftest*
5269   else
5270    echo "$as_me: failed program was:" >&5
5271 < cat conftest.$ac_ext >&5
5271 > sed 's/^/| /' conftest.$ac_ext >&5
5272 >
5273   fi
5274   rm -f conftest.$ac_objext conftest.$ac_ext
5275   ac_ext=f90
# Line 4455 | Line 5278 | echo "$as_me:4458: result: $ac_cv_f90_mangling" >&5
5278   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5279  
5280   fi
5281 < echo "$as_me:4458: result: $ac_cv_f90_mangling" >&5
5281 > echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
5282   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
5283  
5284 +
5285 +
5286   case $ac_cv_f90_mangling in
5287    "lower case, no underscore, no extra underscore")
5288 <          cat >>confdefs.h <<\EOF
5288 >          cat >>confdefs.h <<\_ACEOF
5289   #define F90_FUNC(name,NAME) name
5290 < EOF
5290 > _ACEOF
5291  
5292 <          cat >>confdefs.h <<\EOF
5292 >          cat >>confdefs.h <<\_ACEOF
5293   #define F90_FUNC_(name,NAME) name
5294 < EOF
5294 > _ACEOF
5295   ;;
5296    "lower case, no underscore, extra underscore")
5297 <          cat >>confdefs.h <<\EOF
5297 >          cat >>confdefs.h <<\_ACEOF
5298   #define F90_FUNC(name,NAME) name
5299 < EOF
5300 <
5301 <          cat >>confdefs.h <<\EOF
5299 > _ACEOF
5300 >
5301 >          cat >>confdefs.h <<\_ACEOF
5302   #define F90_FUNC_(name,NAME) name ## _
5303 < EOF
5303 > _ACEOF
5304   ;;
5305    "lower case, underscore, no extra underscore")
5306 <          cat >>confdefs.h <<\EOF
5306 >          cat >>confdefs.h <<\_ACEOF
5307   #define F90_FUNC(name,NAME) name ## _
5308 < EOF
5308 > _ACEOF
5309  
5310 <          cat >>confdefs.h <<\EOF
5310 >          cat >>confdefs.h <<\_ACEOF
5311   #define F90_FUNC_(name,NAME) name ## _
5312 < EOF
5312 > _ACEOF
5313   ;;
5314    "lower case, underscore, extra underscore")
5315 <          cat >>confdefs.h <<\EOF
5315 >          cat >>confdefs.h <<\_ACEOF
5316   #define F90_FUNC(name,NAME) name ## _
5317 < EOF
5317 > _ACEOF
5318  
5319 <          cat >>confdefs.h <<\EOF
5319 >          cat >>confdefs.h <<\_ACEOF
5320   #define F90_FUNC_(name,NAME) name ## __
5321 < EOF
5321 > _ACEOF
5322   ;;
5323    "upper case, no underscore, no extra underscore")
5324 <          cat >>confdefs.h <<\EOF
5324 >          cat >>confdefs.h <<\_ACEOF
5325   #define F90_FUNC(name,NAME) NAME
5326 < EOF
5326 > _ACEOF
5327  
5328 <          cat >>confdefs.h <<\EOF
5328 >          cat >>confdefs.h <<\_ACEOF
5329   #define F90_FUNC_(name,NAME) NAME
5330 < EOF
5330 > _ACEOF
5331   ;;
5332    "upper case, no underscore, extra underscore")
5333 <          cat >>confdefs.h <<\EOF
5333 >          cat >>confdefs.h <<\_ACEOF
5334   #define F90_FUNC(name,NAME) NAME
5335 < EOF
5335 > _ACEOF
5336  
5337 <          cat >>confdefs.h <<\EOF
5337 >          cat >>confdefs.h <<\_ACEOF
5338   #define F90_FUNC_(name,NAME) NAME ## _
5339 < EOF
5339 > _ACEOF
5340   ;;
5341    "upper case, underscore, no extra underscore")
5342 <          cat >>confdefs.h <<\EOF
5343 < #define F90_FUNC(name,NAME) NAME ## _
5344 < EOF
5342 >          cat >>confdefs.h <<\_ACEOF
5343 > #define F90_FUNC(name,NAME) NAME ## _
5344 > _ACEOF
5345  
5346 <          cat >>confdefs.h <<\EOF
5346 >          cat >>confdefs.h <<\_ACEOF
5347   #define F90_FUNC_(name,NAME) NAME ## _
5348 < EOF
5348 > _ACEOF
5349   ;;
5350    "upper case, underscore, extra underscore")
5351 <          cat >>confdefs.h <<\EOF
5351 >          cat >>confdefs.h <<\_ACEOF
5352   #define F90_FUNC(name,NAME) NAME ## _
5353 < EOF
5353 > _ACEOF
5354  
5355 <          cat >>confdefs.h <<\EOF
5355 >          cat >>confdefs.h <<\_ACEOF
5356   #define F90_FUNC_(name,NAME) NAME ## __
5357 < EOF
5357 > _ACEOF
5358   ;;
5359    *)
5360 <          { echo "$as_me:4535: WARNING: unknown Fortran 90 name-mangling scheme" >&5
5360 >          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
5361   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
5362            ;;
5363   esac
5364  
5365 < echo "$as_me:4540: checking for mpi-directory" >&5
5365 >
5366 >
5367 >
5368 > echo "$as_me:$LINENO: checking for mpi-directory" >&5
5369   echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6
5370  
5371   # Check whether --with-mpi_dir or --without-mpi_dir was given.
# Line 4547 | Line 5375 | echo "$as_me:4550: result: $MPI_DIR" >&5
5375   else
5376    MPI_DIR="/usr/local"
5377   fi;
5378 < echo "$as_me:4550: result: $MPI_DIR" >&5
5378 > echo "$as_me:$LINENO: result: $MPI_DIR" >&5
5379   echo "${ECHO_T}$MPI_DIR" >&6
5380  
5381 < echo "$as_me:4553: checking for mpi-lib-directory" >&5
5381 >
5382 > echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5
5383   echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6
5384  
5385   # Check whether --with-mpi_libdir or --without-mpi_libdir was given.
# Line 4560 | Line 5389 | echo "$as_me:4563: result: $MPI_LIBDIR" >&5
5389   else
5390    MPI_LIBDIR="$MPI_DIR/lib"
5391   fi;
5392 < echo "$as_me:4563: result: $MPI_LIBDIR" >&5
5392 > echo "$as_me:$LINENO: result: $MPI_LIBDIR" >&5
5393   echo "${ECHO_T}$MPI_LIBDIR" >&6
5394  
5395 < echo "$as_me:4566: checking for mpi-inc-directory" >&5
5395 >
5396 > echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5
5397   echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6
5398  
5399   # Check whether --with-mpi_inc or --without-mpi_inc was given.
# Line 4573 | Line 5403 | echo "$as_me:4576: result: $MPI_INC" >&5
5403   else
5404    MPI_INC="$MPI_DIR/include"
5405   fi;
5406 < echo "$as_me:4576: result: $MPI_INC" >&5
5406 > echo "$as_me:$LINENO: result: $MPI_INC" >&5
5407   echo "${ECHO_T}$MPI_INC" >&6
5408  
5409 < echo "$as_me:4579: checking for MPI library" >&5
5409 >
5410 >
5411 > echo "$as_me:$LINENO: checking for MPI library" >&5
5412   echo $ECHO_N "checking for MPI library... $ECHO_C" >&6
5413   MPI_LIB=""
5414   case "$host" in
5415    *-ibm-aix*)
5416 <    echo "$as_me:4584: checking whether to use signal-based MPI library" >&5
5416 >    echo "$as_me:$LINENO: checking whether to use signal-based MPI library" >&5
5417   echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6
5418 <    echo "$as_me:4586: result: $PACX_SIGNAL" >&5
5418 >    echo "$as_me:$LINENO: result: $PACX_SIGNAL" >&5
5419   echo "${ECHO_T}$PACX_SIGNAL" >&6
5420      if test "x$PACX_SIGNAL" = "xyes" ; then
5421        if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 4593 | Line 5425 | echo "${ECHO_T}$PACX_SIGNAL" >&6
5425        elif test -f "$MPI_LIBDIR/libmpich.a" ; then
5426          MPI_LIB="-lmpich"
5427        else
5428 <        { { echo "$as_me:4596: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5428 >        { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5429   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5430     { (exit 1); exit 1; }; }
5431        fi
# Line 4601 | Line 5433 | echo "$as_me: error: neither libmpi nor libmpich found
5433        if test -f "$MPI_LIBDIR/libmpi_r.a" ; then
5434           MPI_LIB="-lmpi_r"
5435        else
5436 <         { { echo "$as_me:4604: error: libmpi_r not found; check path for MPI package..." >&5
5436 >         { { echo "$as_me:$LINENO: error: libmpi_r not found; check path for MPI package..." >&5
5437   echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;}
5438     { (exit 1); exit 1; }; }
5439        fi
5440      fi
5441 <    echo "$as_me:4609: result: found $MPI_LIB" >&5
5441 >    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5442   echo "${ECHO_T}found $MPI_LIB" >&6
5443    ;;
5444    *)                             if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 4616 | Line 5448 | echo "${ECHO_T}found $MPI_LIB" >&6
5448      elif test -f "$MPI_LIBDIR/libmpich.a" ; then
5449        MPI_LIB="-lmpich"
5450      else
5451 <      { { echo "$as_me:4619: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5451 >      { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5452   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5453     { (exit 1); exit 1; }; }
5454      fi
5455 <    echo "$as_me:4623: result: found $MPI_LIB" >&5
5455 >    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5456   echo "${ECHO_T}found $MPI_LIB" >&6
5457    ;;
5458   esac
5459  
5460 +
5461 +
5462 +
5463 +
5464 +
5465 +
5466          for ac_prog in mpif90 hf90 mpxlf90 mpf90 mpxlf95 mpxlf_r
5467   do
5468    # Extract the first word of "$ac_prog", so it can be a program name with args.
5469   set dummy $ac_prog; ac_word=$2
5470 < echo "$as_me:4632: checking for $ac_word" >&5
5470 > echo "$as_me:$LINENO: checking for $ac_word" >&5
5471   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5472   if test "${ac_cv_prog_MPIF90+set}" = set; then
5473    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4637 | Line 5475 | else
5475    if test -n "$MPIF90"; then
5476    ac_cv_prog_MPIF90="$MPIF90" # Let the user override the test.
5477   else
5478 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
5479 < ac_dummy="$PATH"
5480 < for ac_dir in $ac_dummy; do
5481 <  IFS=$ac_save_IFS
5482 <  test -z "$ac_dir" && ac_dir=.
5483 <  $as_executable_p "$ac_dir/$ac_word" || continue
5484 < ac_cv_prog_MPIF90="$ac_prog"
5485 < echo "$as_me:4647: found $ac_dir/$ac_word" >&5
5486 < break
5478 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 > for as_dir in $PATH
5480 > do
5481 >  IFS=$as_save_IFS
5482 >  test -z "$as_dir" && as_dir=.
5483 >  for ac_exec_ext in '' $ac_executable_extensions; do
5484 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 >    ac_cv_prog_MPIF90="$ac_prog"
5486 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 >    break 2
5488 >  fi
5489   done
5490 + done
5491  
5492   fi
5493   fi
5494   MPIF90=$ac_cv_prog_MPIF90
5495   if test -n "$MPIF90"; then
5496 <  echo "$as_me:4655: result: $MPIF90" >&5
5496 >  echo "$as_me:$LINENO: result: $MPIF90" >&5
5497   echo "${ECHO_T}$MPIF90" >&6
5498   else
5499 <  echo "$as_me:4658: result: no" >&5
5499 >  echo "$as_me:$LINENO: result: no" >&5
5500   echo "${ECHO_T}no" >&6
5501   fi
5502  
# Line 4666 | Line 5507 | if test x = x"$MPILIBS"; then
5507          acx_mpi_save_F90="$F90"
5508          F90="$MPIF90"
5509  
5510 +
5511 +
5512   if test x = x"$MPILIBS"; then
5513 <        echo "$as_me:4670: checking for MPI_Init" >&5
5513 >        echo "$as_me:$LINENO: checking for MPI_Init" >&5
5514   echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6
5515                          cat >conftest.$ac_ext <<_ACEOF
5516  
# Line 4678 | Line 5521 | if { (eval echo "$as_me:4681: \"$ac_link\"") >&5
5521  
5522   _ACEOF
5523   rm -f conftest.$ac_objext conftest$ac_exeext
5524 < if { (eval echo "$as_me:4681: \"$ac_link\"") >&5
5524 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5525    (eval $ac_link) 2>&5
5526    ac_status=$?
5527 <  echo "$as_me:4684: \$? = $ac_status" >&5
5527 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528    (exit $ac_status); } &&
5529           { ac_try='test -s conftest$ac_exeext'
5530 <  { (eval echo "$as_me:4687: \"$ac_try\"") >&5
5530 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5531    (eval $ac_try) 2>&5
5532    ac_status=$?
5533 <  echo "$as_me:4690: \$? = $ac_status" >&5
5533 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534    (exit $ac_status); }; }; then
5535    MPILIBS=" "
5536 <                                echo "$as_me:4693: result: yes" >&5
5536 >                                echo "$as_me:$LINENO: result: yes" >&5
5537   echo "${ECHO_T}yes" >&6
5538   else
5539    echo "$as_me: failed program was:" >&5
5540 < cat conftest.$ac_ext >&5
5541 < echo "$as_me:4698: result: no" >&5
5540 > sed 's/^/| /' conftest.$ac_ext >&5
5541 >
5542 > echo "$as_me:$LINENO: result: no" >&5
5543   echo "${ECHO_T}no" >&6
5544   fi
5545   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5546   fi
5547   if test x = x"$MPILIBS"; then
5548 <        echo "$as_me:4704: checking for MPI_Init in -lmpi" >&5
5548 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5549   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5550   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5551    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4717 | Line 5561 | if { (eval echo "$as_me:4720: \"$ac_link\"") >&5
5561  
5562   _ACEOF
5563   rm -f conftest.$ac_objext conftest$ac_exeext
5564 < if { (eval echo "$as_me:4720: \"$ac_link\"") >&5
5564 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5565    (eval $ac_link) 2>&5
5566    ac_status=$?
5567 <  echo "$as_me:4723: \$? = $ac_status" >&5
5567 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568    (exit $ac_status); } &&
5569           { ac_try='test -s conftest$ac_exeext'
5570 <  { (eval echo "$as_me:4726: \"$ac_try\"") >&5
5570 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571    (eval $ac_try) 2>&5
5572    ac_status=$?
5573 <  echo "$as_me:4729: \$? = $ac_status" >&5
5573 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574    (exit $ac_status); }; }; then
5575    ac_cv_lib_mpi_MPI_Init=yes
5576   else
5577    echo "$as_me: failed program was:" >&5
5578 < cat conftest.$ac_ext >&5
5578 > sed 's/^/| /' conftest.$ac_ext >&5
5579 >
5580   ac_cv_lib_mpi_MPI_Init=no
5581   fi
5582   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5583   LIBS=$ac_check_lib_save_LIBS
5584   fi
5585 < echo "$as_me:4740: result: $ac_cv_lib_mpi_MPI_Init" >&5
5585 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5586   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5587   if test $ac_cv_lib_mpi_MPI_Init = yes; then
5588    MPILIBS="-lmpi"
# Line 4745 | Line 5590 | if test x = x"$MPILIBS"; then
5590  
5591   fi
5592   if test x = x"$MPILIBS"; then
5593 <        echo "$as_me:4748: checking for MPI_Init in -lmpich" >&5
5593 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
5594   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
5595   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
5596    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4761 | Line 5606 | if { (eval echo "$as_me:4764: \"$ac_link\"") >&5
5606  
5607   _ACEOF
5608   rm -f conftest.$ac_objext conftest$ac_exeext
5609 < if { (eval echo "$as_me:4764: \"$ac_link\"") >&5
5609 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5610    (eval $ac_link) 2>&5
5611    ac_status=$?
5612 <  echo "$as_me:4767: \$? = $ac_status" >&5
5612 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613    (exit $ac_status); } &&
5614           { ac_try='test -s conftest$ac_exeext'
5615 <  { (eval echo "$as_me:4770: \"$ac_try\"") >&5
5615 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5616    (eval $ac_try) 2>&5
5617    ac_status=$?
5618 <  echo "$as_me:4773: \$? = $ac_status" >&5
5618 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619    (exit $ac_status); }; }; then
5620    ac_cv_lib_mpich_MPI_Init=yes
5621   else
5622    echo "$as_me: failed program was:" >&5
5623 < cat conftest.$ac_ext >&5
5623 > sed 's/^/| /' conftest.$ac_ext >&5
5624 >
5625   ac_cv_lib_mpich_MPI_Init=no
5626   fi
5627   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5628   LIBS=$ac_check_lib_save_LIBS
5629   fi
5630 < echo "$as_me:4784: result: $ac_cv_lib_mpich_MPI_Init" >&5
5630 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
5631   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
5632   if test $ac_cv_lib_mpich_MPI_Init = yes; then
5633    MPILIBS="-lmpich"
# Line 4789 | Line 5635 | F90="$acx_mpi_save_F90"
5635  
5636   fi
5637  
5638 +
5639 +
5640   F90="$acx_mpi_save_F90"
5641  
5642 +
5643 +
5644   # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
5645   if test x = x"$MPILIBS"; then
5646  
5647          :
5648   else
5649  
5650 < cat >>confdefs.h <<\EOF
5650 > cat >>confdefs.h <<\_ACEOF
5651   #define HAVE_MPI 1
5652 < EOF
5652 > _ACEOF
5653  
5654          :
5655   fi
5656  
5657 +
5658   ac_ext=c
5659   ac_cpp='$CPP $CPPFLAGS'
5660   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5661   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5662   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5663 < echo "$as_me:4812: checking how to run the C preprocessor" >&5
5663 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5664   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5665   # On Suns, sometimes $CPP names a directory.
5666   if test -n "$CPP" && test -d "$CPP"; then
# Line 4822 | Line 5673 | else
5673        # Double quotes because CPP needs to be expanded
5674      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5675      do
4825      # break 2 since there is a loop in there.
5676        ac_preproc_ok=false
5677   for ac_c_preproc_warn_flag in '' yes
5678   do
5679    # Use a header file that comes with gcc, so configuring glibc
5680    # with a fresh cross-compiler works.
5681 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5682 +  # <limits.h> exists even on freestanding compilers.
5683    # On the NeXT, cc -E runs the code through the compiler's parser,
5684    # not just through cpp. "Syntax error" is here to catch this case.
5685    cat >conftest.$ac_ext <<_ACEOF
5686 < #line 4834 "configure"
5687 < #include "confdefs.h"
5688 < #include <assert.h>
5686 > #line $LINENO "configure"
5687 > /* confdefs.h.  */
5688 > _ACEOF
5689 > cat confdefs.h >>conftest.$ac_ext
5690 > cat >>conftest.$ac_ext <<_ACEOF
5691 > /* end confdefs.h.  */
5692 > #ifdef __STDC__
5693 > # include <limits.h>
5694 > #else
5695 > # include <assert.h>
5696 > #endif
5697                       Syntax error
5698   _ACEOF
5699 < if { (eval echo "$as_me:4839: \"$ac_cpp conftest.$ac_ext\"") >&5
5699 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5700    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5701    ac_status=$?
5702 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5702 >  grep -v '^ *+' conftest.er1 >conftest.err
5703    rm -f conftest.er1
5704    cat conftest.err >&5
5705 <  echo "$as_me:4845: \$? = $ac_status" >&5
5705 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706    (exit $ac_status); } >/dev/null; then
5707    if test -s conftest.err; then
5708      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4856 | Line 5716 | else
5716    :
5717   else
5718    echo "$as_me: failed program was:" >&5
5719 <  cat conftest.$ac_ext >&5
5719 > sed 's/^/| /' conftest.$ac_ext >&5
5720 >
5721    # Broken: fails on valid input.
5722   continue
5723   fi
# Line 4865 | Line 5726 | rm -f conftest.err conftest.$ac_ext
5726    # OK, works on sane cases.  Now check whether non-existent headers
5727    # can be detected and how.
5728    cat >conftest.$ac_ext <<_ACEOF
5729 < #line 4868 "configure"
5730 < #include "confdefs.h"
5729 > #line $LINENO "configure"
5730 > /* confdefs.h.  */
5731 > _ACEOF
5732 > cat confdefs.h >>conftest.$ac_ext
5733 > cat >>conftest.$ac_ext <<_ACEOF
5734 > /* end confdefs.h.  */
5735   #include <ac_nonexistent.h>
5736   _ACEOF
5737 < if { (eval echo "$as_me:4872: \"$ac_cpp conftest.$ac_ext\"") >&5
5737 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5738    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5739    ac_status=$?
5740 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5740 >  grep -v '^ *+' conftest.er1 >conftest.err
5741    rm -f conftest.er1
5742    cat conftest.err >&5
5743 <  echo "$as_me:4878: \$? = $ac_status" >&5
5743 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744    (exit $ac_status); } >/dev/null; then
5745    if test -s conftest.err; then
5746      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4890 | Line 5755 | else
5755   continue
5756   else
5757    echo "$as_me: failed program was:" >&5
5758 <  cat conftest.$ac_ext >&5
5758 > sed 's/^/| /' conftest.$ac_ext >&5
5759 >
5760    # Passes both tests.
5761   ac_preproc_ok=:
5762   break
# Line 4901 | Line 5767 | if $ac_preproc_ok; then
5767   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5768   rm -f conftest.err conftest.$ac_ext
5769   if $ac_preproc_ok; then
5770 <  break 2
5770 >  break
5771   fi
5772  
5773      done
# Line 4912 | Line 5778 | echo "$as_me:4915: result: $CPP" >&5
5778   else
5779    ac_cv_prog_CPP=$CPP
5780   fi
5781 < echo "$as_me:4915: result: $CPP" >&5
5781 > echo "$as_me:$LINENO: result: $CPP" >&5
5782   echo "${ECHO_T}$CPP" >&6
5783   ac_preproc_ok=false
5784   for ac_c_preproc_warn_flag in '' yes
5785   do
5786    # Use a header file that comes with gcc, so configuring glibc
5787    # with a fresh cross-compiler works.
5788 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5789 +  # <limits.h> exists even on freestanding compilers.
5790    # On the NeXT, cc -E runs the code through the compiler's parser,
5791    # not just through cpp. "Syntax error" is here to catch this case.
5792    cat >conftest.$ac_ext <<_ACEOF
5793 < #line 4925 "configure"
5794 < #include "confdefs.h"
5795 < #include <assert.h>
5793 > #line $LINENO "configure"
5794 > /* confdefs.h.  */
5795 > _ACEOF
5796 > cat confdefs.h >>conftest.$ac_ext
5797 > cat >>conftest.$ac_ext <<_ACEOF
5798 > /* end confdefs.h.  */
5799 > #ifdef __STDC__
5800 > # include <limits.h>
5801 > #else
5802 > # include <assert.h>
5803 > #endif
5804                       Syntax error
5805   _ACEOF
5806 < if { (eval echo "$as_me:4930: \"$ac_cpp conftest.$ac_ext\"") >&5
5806 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5807    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5808    ac_status=$?
5809 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5809 >  grep -v '^ *+' conftest.er1 >conftest.err
5810    rm -f conftest.er1
5811    cat conftest.err >&5
5812 <  echo "$as_me:4936: \$? = $ac_status" >&5
5812 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813    (exit $ac_status); } >/dev/null; then
5814    if test -s conftest.err; then
5815      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4947 | Line 5823 | else
5823    :
5824   else
5825    echo "$as_me: failed program was:" >&5
5826 <  cat conftest.$ac_ext >&5
5826 > sed 's/^/| /' conftest.$ac_ext >&5
5827 >
5828    # Broken: fails on valid input.
5829   continue
5830   fi
# Line 4956 | Line 5833 | rm -f conftest.err conftest.$ac_ext
5833    # OK, works on sane cases.  Now check whether non-existent headers
5834    # can be detected and how.
5835    cat >conftest.$ac_ext <<_ACEOF
5836 < #line 4959 "configure"
5837 < #include "confdefs.h"
5836 > #line $LINENO "configure"
5837 > /* confdefs.h.  */
5838 > _ACEOF
5839 > cat confdefs.h >>conftest.$ac_ext
5840 > cat >>conftest.$ac_ext <<_ACEOF
5841 > /* end confdefs.h.  */
5842   #include <ac_nonexistent.h>
5843   _ACEOF
5844 < if { (eval echo "$as_me:4963: \"$ac_cpp conftest.$ac_ext\"") >&5
5844 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5845    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5846    ac_status=$?
5847 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5847 >  grep -v '^ *+' conftest.er1 >conftest.err
5848    rm -f conftest.er1
5849    cat conftest.err >&5
5850 <  echo "$as_me:4969: \$? = $ac_status" >&5
5850 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851    (exit $ac_status); } >/dev/null; then
5852    if test -s conftest.err; then
5853      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4981 | Line 5862 | else
5862   continue
5863   else
5864    echo "$as_me: failed program was:" >&5
5865 <  cat conftest.$ac_ext >&5
5865 > sed 's/^/| /' conftest.$ac_ext >&5
5866 >
5867    # Passes both tests.
5868   ac_preproc_ok=:
5869   break
# Line 4994 | Line 5876 | else
5876   if $ac_preproc_ok; then
5877    :
5878   else
5879 <  { { echo "$as_me:4997: error: C preprocessor \"$CPP\" fails sanity check" >&5
5880 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
5879 >  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5880 > See \`config.log' for more details." >&5
5881 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5882 > See \`config.log' for more details." >&2;}
5883     { (exit 1); exit 1; }; }
5884   fi
5885  
# Line 5004 | Line 5888 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5888   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5889   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5890   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5891 +
5892 +
5893 + echo "$as_me:$LINENO: checking for egrep" >&5
5894 + echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5895 + if test "${ac_cv_prog_egrep+set}" = set; then
5896 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5897 + else
5898 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5899 +    then ac_cv_prog_egrep='grep -E'
5900 +    else ac_cv_prog_egrep='egrep'
5901 +    fi
5902 + fi
5903 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5904 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5905 + EGREP=$ac_cv_prog_egrep
5906 +
5907 +
5908 + echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5909 + echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5910 + if test "${ac_cv_header_stdc+set}" = set; then
5911 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5912 + else
5913 +  cat >conftest.$ac_ext <<_ACEOF
5914 + #line $LINENO "configure"
5915 + /* confdefs.h.  */
5916 + _ACEOF
5917 + cat confdefs.h >>conftest.$ac_ext
5918 + cat >>conftest.$ac_ext <<_ACEOF
5919 + /* end confdefs.h.  */
5920 + #include <stdlib.h>
5921 + #include <stdarg.h>
5922 + #include <string.h>
5923 + #include <float.h>
5924 +
5925 + int
5926 + main ()
5927 + {
5928 +
5929 +  ;
5930 +  return 0;
5931 + }
5932 + _ACEOF
5933 + rm -f conftest.$ac_objext
5934 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5935 +  (eval $ac_compile) 2>&5
5936 +  ac_status=$?
5937 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 +  (exit $ac_status); } &&
5939 +         { ac_try='test -s conftest.$ac_objext'
5940 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 +  (eval $ac_try) 2>&5
5942 +  ac_status=$?
5943 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 +  (exit $ac_status); }; }; then
5945 +  ac_cv_header_stdc=yes
5946 + else
5947 +  echo "$as_me: failed program was:" >&5
5948 + sed 's/^/| /' conftest.$ac_ext >&5
5949 +
5950 + ac_cv_header_stdc=no
5951 + fi
5952 + rm -f conftest.$ac_objext conftest.$ac_ext
5953 +
5954 + if test $ac_cv_header_stdc = yes; then
5955 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5956 +  cat >conftest.$ac_ext <<_ACEOF
5957 + #line $LINENO "configure"
5958 + /* confdefs.h.  */
5959 + _ACEOF
5960 + cat confdefs.h >>conftest.$ac_ext
5961 + cat >>conftest.$ac_ext <<_ACEOF
5962 + /* end confdefs.h.  */
5963 + #include <string.h>
5964 +
5965 + _ACEOF
5966 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5967 +  $EGREP "memchr" >/dev/null 2>&1; then
5968 +  :
5969 + else
5970 +  ac_cv_header_stdc=no
5971 + fi
5972 + rm -f conftest*
5973 +
5974 + fi
5975 +
5976 + if test $ac_cv_header_stdc = yes; then
5977 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5978 +  cat >conftest.$ac_ext <<_ACEOF
5979 + #line $LINENO "configure"
5980 + /* confdefs.h.  */
5981 + _ACEOF
5982 + cat confdefs.h >>conftest.$ac_ext
5983 + cat >>conftest.$ac_ext <<_ACEOF
5984 + /* end confdefs.h.  */
5985 + #include <stdlib.h>
5986  
5987 + _ACEOF
5988 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5989 +  $EGREP "free" >/dev/null 2>&1; then
5990 +  :
5991 + else
5992 +  ac_cv_header_stdc=no
5993 + fi
5994 + rm -f conftest*
5995 +
5996 + fi
5997 +
5998 + if test $ac_cv_header_stdc = yes; then
5999 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6000 +  if test "$cross_compiling" = yes; then
6001 +  :
6002 + else
6003 +  cat >conftest.$ac_ext <<_ACEOF
6004 + #line $LINENO "configure"
6005 + /* confdefs.h.  */
6006 + _ACEOF
6007 + cat confdefs.h >>conftest.$ac_ext
6008 + cat >>conftest.$ac_ext <<_ACEOF
6009 + /* end confdefs.h.  */
6010 + #include <ctype.h>
6011 + #if ((' ' & 0x0FF) == 0x020)
6012 + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6013 + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6014 + #else
6015 + # define ISLOWER(c) \
6016 +                   (('a' <= (c) && (c) <= 'i') \
6017 +                     || ('j' <= (c) && (c) <= 'r') \
6018 +                     || ('s' <= (c) && (c) <= 'z'))
6019 + # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6020 + #endif
6021 +
6022 + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6023 + int
6024 + main ()
6025 + {
6026 +  int i;
6027 +  for (i = 0; i < 256; i++)
6028 +    if (XOR (islower (i), ISLOWER (i))
6029 +        || toupper (i) != TOUPPER (i))
6030 +      exit(2);
6031 +  exit (0);
6032 + }
6033 + _ACEOF
6034 + rm -f conftest$ac_exeext
6035 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6036 +  (eval $ac_link) 2>&5
6037 +  ac_status=$?
6038 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6040 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6041 +  (eval $ac_try) 2>&5
6042 +  ac_status=$?
6043 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 +  (exit $ac_status); }; }; then
6045 +  :
6046 + else
6047 +  echo "$as_me: program exited with status $ac_status" >&5
6048 + echo "$as_me: failed program was:" >&5
6049 + sed 's/^/| /' conftest.$ac_ext >&5
6050 +
6051 + ( exit $ac_status )
6052 + ac_cv_header_stdc=no
6053 + fi
6054 + rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6055 + fi
6056 + fi
6057 + fi
6058 + echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6059 + echo "${ECHO_T}$ac_cv_header_stdc" >&6
6060 + if test $ac_cv_header_stdc = yes; then
6061 +
6062 + cat >>confdefs.h <<\_ACEOF
6063 + #define STDC_HEADERS 1
6064 + _ACEOF
6065 +
6066 + fi
6067 +
6068 + # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6069 +
6070 +
6071 +
6072 +
6073 +
6074 +
6075 +
6076 +
6077 +
6078 + for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6079 +                  inttypes.h stdint.h unistd.h
6080 + do
6081 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6082 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6083 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6084 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6085 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6086 + else
6087 +  cat >conftest.$ac_ext <<_ACEOF
6088 + #line $LINENO "configure"
6089 + /* confdefs.h.  */
6090 + _ACEOF
6091 + cat confdefs.h >>conftest.$ac_ext
6092 + cat >>conftest.$ac_ext <<_ACEOF
6093 + /* end confdefs.h.  */
6094 + $ac_includes_default
6095 +
6096 + #include <$ac_header>
6097 + _ACEOF
6098 + rm -f conftest.$ac_objext
6099 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6100 +  (eval $ac_compile) 2>&5
6101 +  ac_status=$?
6102 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 +  (exit $ac_status); } &&
6104 +         { ac_try='test -s conftest.$ac_objext'
6105 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6106 +  (eval $ac_try) 2>&5
6107 +  ac_status=$?
6108 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 +  (exit $ac_status); }; }; then
6110 +  eval "$as_ac_Header=yes"
6111 + else
6112 +  echo "$as_me: failed program was:" >&5
6113 + sed 's/^/| /' conftest.$ac_ext >&5
6114 +
6115 + eval "$as_ac_Header=no"
6116 + fi
6117 + rm -f conftest.$ac_objext conftest.$ac_ext
6118 + fi
6119 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6120 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6121 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
6122 +  cat >>confdefs.h <<_ACEOF
6123 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6124 + _ACEOF
6125 +
6126 + fi
6127 +
6128 + done
6129 +
6130 +
6131 +
6132 +
6133 +
6134   # Check whether --with-sprng_prefix or --without-sprng_prefix was given.
6135   if test "${with_sprng_prefix+set}" = set; then
6136    withval="$with_sprng_prefix"
# Line 5037 | Line 6163 | fi;
6163      sprng_include_prefix=${sprng_prefix}/include
6164    fi
6165  
6166 <  echo "$as_me:5040: checking for SPRNG include files in $sprng_include_prefix" >&5
6166 >  echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include_prefix" >&5
6167   echo $ECHO_N "checking for SPRNG include files in $sprng_include_prefix... $ECHO_C" >&6
6168    if test -f ${sprng_include_prefix}/sprng.h; then
6169      have_sprngincl=yes
6170 <    echo "$as_me:5044: result: yes" >&5
6170 >    echo "$as_me:$LINENO: result: yes" >&5
6171   echo "${ECHO_T}yes" >&6
6172    else
6173      have_sprngincl=no
6174 <    echo "$as_me:5048: result: no" >&5
6174 >    echo "$as_me:$LINENO: result: no" >&5
6175   echo "${ECHO_T}no" >&6
6176 <    { { echo "$as_me:5050: error: Could not locate the SPRNG include files" >&5
6176 >    { { echo "$as_me:$LINENO: error: Could not locate the SPRNG include files" >&5
6177   echo "$as_me: error: Could not locate the SPRNG include files" >&2;}
6178     { (exit 1); exit 1; }; }
6179    fi
6180  
6181 <  echo "$as_me:5055: checking for SPRNG libraries in $sprng_lib_prefix" >&5
6181 >  echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_lib_prefix" >&5
6182   echo $ECHO_N "checking for SPRNG libraries in $sprng_lib_prefix... $ECHO_C" >&6
6183    if test -f ${sprng_lib_prefix}/libsprng.a; then
6184      have_sprnglib=yes
6185 <    echo "$as_me:5059: result: yes" >&5
6185 >    echo "$as_me:$LINENO: result: yes" >&5
6186   echo "${ECHO_T}yes" >&6
6187    else
6188      have_sprnglib=no
6189 <    echo "$as_me:5063: result: no" >&5
6189 >    echo "$as_me:$LINENO: result: no" >&5
6190   echo "${ECHO_T}no" >&6
6191 <    { { echo "$as_me:5065: error: Could not locate the SPRNG libraries" >&5
6191 >    { { echo "$as_me:$LINENO: error: Could not locate the SPRNG libraries" >&5
6192   echo "$as_me: error: Could not locate the SPRNG libraries" >&2;}
6193     { (exit 1); exit 1; }; }
6194    fi
6195  
6196 +
6197 +
6198    ac_ext=c
6199   ac_cpp='$CPP $CPPFLAGS'
6200   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5077 | Line 6205 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6205    CPPFLAGS="${CPPFLAGS} -I${sprng_include_prefix}"
6206    ac_save_LDFLAGS=$LDFLAGS
6207    LDFLAGS="${LDFLAGS} -L${sprng_lib_prefix} -lsprng"
6208 <  echo "$as_me:5080: checking for sprng.h" >&5
6208 >  if test "${ac_cv_header_sprng_h+set}" = set; then
6209 >  echo "$as_me:$LINENO: checking for sprng.h" >&5
6210   echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
6211   if test "${ac_cv_header_sprng_h+set}" = set; then
6212    echo $ECHO_N "(cached) $ECHO_C" >&6
6213 + fi
6214 + echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5
6215 + echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
6216   else
6217 <  cat >conftest.$ac_ext <<_ACEOF
6218 < #line 5086 "configure"
6219 < #include "confdefs.h"
6217 >  # Is the header compilable?
6218 > echo "$as_me:$LINENO: checking sprng.h usability" >&5
6219 > echo $ECHO_N "checking sprng.h usability... $ECHO_C" >&6
6220 > cat >conftest.$ac_ext <<_ACEOF
6221 > #line $LINENO "configure"
6222 > /* confdefs.h.  */
6223 > _ACEOF
6224 > cat confdefs.h >>conftest.$ac_ext
6225 > cat >>conftest.$ac_ext <<_ACEOF
6226 > /* end confdefs.h.  */
6227 > $ac_includes_default
6228   #include <sprng.h>
6229   _ACEOF
6230 < if { (eval echo "$as_me:5090: \"$ac_cpp conftest.$ac_ext\"") >&5
6230 > rm -f conftest.$ac_objext
6231 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6232 >  (eval $ac_compile) 2>&5
6233 >  ac_status=$?
6234 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 >  (exit $ac_status); } &&
6236 >         { ac_try='test -s conftest.$ac_objext'
6237 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6238 >  (eval $ac_try) 2>&5
6239 >  ac_status=$?
6240 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 >  (exit $ac_status); }; }; then
6242 >  ac_header_compiler=yes
6243 > else
6244 >  echo "$as_me: failed program was:" >&5
6245 > sed 's/^/| /' conftest.$ac_ext >&5
6246 >
6247 > ac_header_compiler=no
6248 > fi
6249 > rm -f conftest.$ac_objext conftest.$ac_ext
6250 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6251 > echo "${ECHO_T}$ac_header_compiler" >&6
6252 >
6253 > # Is the header present?
6254 > echo "$as_me:$LINENO: checking sprng.h presence" >&5
6255 > echo $ECHO_N "checking sprng.h presence... $ECHO_C" >&6
6256 > cat >conftest.$ac_ext <<_ACEOF
6257 > #line $LINENO "configure"
6258 > /* confdefs.h.  */
6259 > _ACEOF
6260 > cat confdefs.h >>conftest.$ac_ext
6261 > cat >>conftest.$ac_ext <<_ACEOF
6262 > /* end confdefs.h.  */
6263 > #include <sprng.h>
6264 > _ACEOF
6265 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6266    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6267    ac_status=$?
6268 <  egrep -v '^ *\+' conftest.er1 >conftest.err
6268 >  grep -v '^ *+' conftest.er1 >conftest.err
6269    rm -f conftest.er1
6270    cat conftest.err >&5
6271 <  echo "$as_me:5096: \$? = $ac_status" >&5
6271 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272    (exit $ac_status); } >/dev/null; then
6273    if test -s conftest.err; then
6274      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5104 | Line 6279 | if test -z "$ac_cpp_err"; then
6279    ac_cpp_err=yes
6280   fi
6281   if test -z "$ac_cpp_err"; then
6282 <  ac_cv_header_sprng_h=yes
6282 >  ac_header_preproc=yes
6283   else
6284    echo "$as_me: failed program was:" >&5
6285 <  cat conftest.$ac_ext >&5
6286 <  ac_cv_header_sprng_h=no
6285 > sed 's/^/| /' conftest.$ac_ext >&5
6286 >
6287 >  ac_header_preproc=no
6288   fi
6289   rm -f conftest.err conftest.$ac_ext
6290 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6291 + echo "${ECHO_T}$ac_header_preproc" >&6
6292 +
6293 + # So?  What about this header?
6294 + case $ac_header_compiler:$ac_header_preproc in
6295 +  yes:no )
6296 +    { echo "$as_me:$LINENO: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&5
6297 + echo "$as_me: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6298 +    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6299 + echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6300 +    (
6301 +      cat <<\_ASBOX
6302 + ## ------------------------------------ ##
6303 + ## Report this to bug-autoconf@gnu.org. ##
6304 + ## ------------------------------------ ##
6305 + _ASBOX
6306 +    ) |
6307 +      sed "s/^/$as_me: WARNING:     /" >&2
6308 +    ;;
6309 +  no:yes )
6310 +    { echo "$as_me:$LINENO: WARNING: sprng.h: present but cannot be compiled" >&5
6311 + echo "$as_me: WARNING: sprng.h: present but cannot be compiled" >&2;}
6312 +    { echo "$as_me:$LINENO: WARNING: sprng.h: check for missing prerequisite headers?" >&5
6313 + echo "$as_me: WARNING: sprng.h: check for missing prerequisite headers?" >&2;}
6314 +    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6315 + echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6316 +    (
6317 +      cat <<\_ASBOX
6318 + ## ------------------------------------ ##
6319 + ## Report this to bug-autoconf@gnu.org. ##
6320 + ## ------------------------------------ ##
6321 + _ASBOX
6322 +    ) |
6323 +      sed "s/^/$as_me: WARNING:     /" >&2
6324 +    ;;
6325 + esac
6326 + echo "$as_me:$LINENO: checking for sprng.h" >&5
6327 + echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
6328 + if test "${ac_cv_header_sprng_h+set}" = set; then
6329 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6330 + else
6331 +  ac_cv_header_sprng_h=$ac_header_preproc
6332   fi
6333 < echo "$as_me:5115: result: $ac_cv_header_sprng_h" >&5
6333 > echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5
6334   echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
6335 +
6336 + fi
6337   if test $ac_cv_header_sprng_h = yes; then
6338  
6339 <    echo "$as_me:5119: checking for init_rng in -lsprng" >&5
6339 >    echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
6340   echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
6341   if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
6342    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5124 | Line 6344 | cat >conftest.$ac_ext <<_ACEOF
6344    ac_check_lib_save_LIBS=$LIBS
6345   LIBS="-lsprng  $LIBS"
6346   cat >conftest.$ac_ext <<_ACEOF
6347 < #line 5127 "configure"
6348 < #include "confdefs.h"
6347 > #line $LINENO "configure"
6348 > /* confdefs.h.  */
6349 > _ACEOF
6350 > cat confdefs.h >>conftest.$ac_ext
6351 > cat >>conftest.$ac_ext <<_ACEOF
6352 > /* end confdefs.h.  */
6353  
6354   /* Override any gcc2 internal prototype to avoid an error.  */
6355   #ifdef __cplusplus
# Line 5143 | Line 6367 | if { (eval echo "$as_me:5146: \"$ac_link\"") >&5
6367   }
6368   _ACEOF
6369   rm -f conftest.$ac_objext conftest$ac_exeext
6370 < if { (eval echo "$as_me:5146: \"$ac_link\"") >&5
6370 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6371    (eval $ac_link) 2>&5
6372    ac_status=$?
6373 <  echo "$as_me:5149: \$? = $ac_status" >&5
6373 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374    (exit $ac_status); } &&
6375           { ac_try='test -s conftest$ac_exeext'
6376 <  { (eval echo "$as_me:5152: \"$ac_try\"") >&5
6376 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6377    (eval $ac_try) 2>&5
6378    ac_status=$?
6379 <  echo "$as_me:5155: \$? = $ac_status" >&5
6379 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380    (exit $ac_status); }; }; then
6381    ac_cv_lib_sprng_init_rng=yes
6382   else
6383    echo "$as_me: failed program was:" >&5
6384 < cat conftest.$ac_ext >&5
6384 > sed 's/^/| /' conftest.$ac_ext >&5
6385 >
6386   ac_cv_lib_sprng_init_rng=no
6387   fi
6388   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6389   LIBS=$ac_check_lib_save_LIBS
6390   fi
6391 < echo "$as_me:5166: result: $ac_cv_lib_sprng_init_rng" >&5
6391 > echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
6392   echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
6393   if test $ac_cv_lib_sprng_init_rng = yes; then
6394    SPRNG_LIBDIR="${sprng_lib_prefix}"
# Line 5173 | Line 6398 | fi
6398  
6399   fi
6400  
6401 +
6402    CPPFLAGS=$ac_save_CPPFLAGS
6403    LDFLAGS=$ac_save_LDFLAGS
6404    ac_ext=f90
# Line 5180 | Line 6406 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6406   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6407   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6408  
6409 +
6410    if test x_$HAVE_SPRNG != x_yes; then
6411 <        { { echo "$as_me:5184: error: Can't build with SPRNG" >&5
6411 >        { { echo "$as_me:$LINENO: error: Can't build with SPRNG" >&5
6412   echo "$as_me: error: Can't build with SPRNG" >&2;}
6413     { (exit 1); exit 1; }; }
6414    fi
6415  
6416 < echo "$as_me:5189: checking if MKL is wanted" >&5
6416 >
6417 >
6418 >
6419 >
6420 > echo "$as_me:$LINENO: checking if MKL is wanted" >&5
6421   echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
6422  
6423   # Check whether --with-mkl or --without-mkl was given.
6424   if test "${with_mkl+set}" = set; then
6425    withval="$with_mkl"
6426 <     echo "$as_me:5195: result: yes" >&5
6426 >     echo "$as_me:$LINENO: result: yes" >&5
6427   echo "${ECHO_T}yes" >&6
6428      for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do
6429          mkldir="$dir"
# Line 5202 | Line 6433 | echo "${ECHO_T}yes" >&6
6433          fi
6434      done
6435      if test x_$found_mkl != x_yes; then
6436 <        { { echo "$as_me:5205: error: Cannot find MKL includes" >&5
6436 >        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
6437   echo "$as_me: error: Cannot find MKL includes" >&2;}
6438     { (exit 1); exit 1; }; }
6439      else
6440          printf "MKL includes found in $mkldir/include\n";
6441      fi
6442  
6443 +
6444 +
6445    ac_ext=c
6446   ac_cpp='$CPP $CPPFLAGS'
6447   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5219 | Line 6452 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6452    CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
6453    ac_save_LDFLAGS=$LDFLAGS
6454    LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
6455 <  echo "$as_me:5222: checking for mkl.h" >&5
6455 >  if test "${ac_cv_header_mkl_h+set}" = set; then
6456 >  echo "$as_me:$LINENO: checking for mkl.h" >&5
6457   echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
6458   if test "${ac_cv_header_mkl_h+set}" = set; then
6459    echo $ECHO_N "(cached) $ECHO_C" >&6
6460 + fi
6461 + echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
6462 + echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6463   else
6464 <  cat >conftest.$ac_ext <<_ACEOF
6465 < #line 5228 "configure"
6466 < #include "confdefs.h"
6464 >  # Is the header compilable?
6465 > echo "$as_me:$LINENO: checking mkl.h usability" >&5
6466 > echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
6467 > cat >conftest.$ac_ext <<_ACEOF
6468 > #line $LINENO "configure"
6469 > /* confdefs.h.  */
6470 > _ACEOF
6471 > cat confdefs.h >>conftest.$ac_ext
6472 > cat >>conftest.$ac_ext <<_ACEOF
6473 > /* end confdefs.h.  */
6474 > $ac_includes_default
6475   #include <mkl.h>
6476   _ACEOF
6477 < if { (eval echo "$as_me:5232: \"$ac_cpp conftest.$ac_ext\"") >&5
6477 > rm -f conftest.$ac_objext
6478 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6479 >  (eval $ac_compile) 2>&5
6480 >  ac_status=$?
6481 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 >  (exit $ac_status); } &&
6483 >         { ac_try='test -s conftest.$ac_objext'
6484 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 >  (eval $ac_try) 2>&5
6486 >  ac_status=$?
6487 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 >  (exit $ac_status); }; }; then
6489 >  ac_header_compiler=yes
6490 > else
6491 >  echo "$as_me: failed program was:" >&5
6492 > sed 's/^/| /' conftest.$ac_ext >&5
6493 >
6494 > ac_header_compiler=no
6495 > fi
6496 > rm -f conftest.$ac_objext conftest.$ac_ext
6497 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6498 > echo "${ECHO_T}$ac_header_compiler" >&6
6499 >
6500 > # Is the header present?
6501 > echo "$as_me:$LINENO: checking mkl.h presence" >&5
6502 > echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
6503 > cat >conftest.$ac_ext <<_ACEOF
6504 > #line $LINENO "configure"
6505 > /* confdefs.h.  */
6506 > _ACEOF
6507 > cat confdefs.h >>conftest.$ac_ext
6508 > cat >>conftest.$ac_ext <<_ACEOF
6509 > /* end confdefs.h.  */
6510 > #include <mkl.h>
6511 > _ACEOF
6512 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6513    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6514    ac_status=$?
6515 <  egrep -v '^ *\+' conftest.er1 >conftest.err
6515 >  grep -v '^ *+' conftest.er1 >conftest.err
6516    rm -f conftest.er1
6517    cat conftest.err >&5
6518 <  echo "$as_me:5238: \$? = $ac_status" >&5
6518 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519    (exit $ac_status); } >/dev/null; then
6520    if test -s conftest.err; then
6521      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5246 | Line 6526 | if test -z "$ac_cpp_err"; then
6526    ac_cpp_err=yes
6527   fi
6528   if test -z "$ac_cpp_err"; then
6529 <  ac_cv_header_mkl_h=yes
6529 >  ac_header_preproc=yes
6530   else
6531    echo "$as_me: failed program was:" >&5
6532 <  cat conftest.$ac_ext >&5
6533 <  ac_cv_header_mkl_h=no
6532 > sed 's/^/| /' conftest.$ac_ext >&5
6533 >
6534 >  ac_header_preproc=no
6535   fi
6536   rm -f conftest.err conftest.$ac_ext
6537 < fi
6538 < echo "$as_me:5257: result: $ac_cv_header_mkl_h" >&5
6537 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6538 > echo "${ECHO_T}$ac_header_preproc" >&6
6539 >
6540 > # So?  What about this header?
6541 > case $ac_header_compiler:$ac_header_preproc in
6542 >  yes:no )
6543 >    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6544 > echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6545 >    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6546 > echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6547 >    (
6548 >      cat <<\_ASBOX
6549 > ## ------------------------------------ ##
6550 > ## Report this to bug-autoconf@gnu.org. ##
6551 > ## ------------------------------------ ##
6552 > _ASBOX
6553 >    ) |
6554 >      sed "s/^/$as_me: WARNING:     /" >&2
6555 >    ;;
6556 >  no:yes )
6557 >    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
6558 > echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
6559 >    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
6560 > echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
6561 >    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6562 > echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6563 >    (
6564 >      cat <<\_ASBOX
6565 > ## ------------------------------------ ##
6566 > ## Report this to bug-autoconf@gnu.org. ##
6567 > ## ------------------------------------ ##
6568 > _ASBOX
6569 >    ) |
6570 >      sed "s/^/$as_me: WARNING:     /" >&2
6571 >    ;;
6572 > esac
6573 > echo "$as_me:$LINENO: checking for mkl.h" >&5
6574 > echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
6575 > if test "${ac_cv_header_mkl_h+set}" = set; then
6576 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6577 > else
6578 >  ac_cv_header_mkl_h=$ac_header_preproc
6579 > fi
6580 > echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
6581   echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6582 +
6583 + fi
6584   if test $ac_cv_header_mkl_h = yes; then
6585  
6586 <    echo "$as_me:5261: checking for vslNewStream in -lmkl" >&5
6586 >    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
6587   echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
6588   if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
6589    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5266 | Line 6591 | cat >conftest.$ac_ext <<_ACEOF
6591    ac_check_lib_save_LIBS=$LIBS
6592   LIBS="-lmkl  $LIBS"
6593   cat >conftest.$ac_ext <<_ACEOF
6594 < #line 5269 "configure"
6595 < #include "confdefs.h"
6594 > #line $LINENO "configure"
6595 > /* confdefs.h.  */
6596 > _ACEOF
6597 > cat confdefs.h >>conftest.$ac_ext
6598 > cat >>conftest.$ac_ext <<_ACEOF
6599 > /* end confdefs.h.  */
6600  
6601   /* Override any gcc2 internal prototype to avoid an error.  */
6602   #ifdef __cplusplus
# Line 5285 | Line 6614 | if { (eval echo "$as_me:5288: \"$ac_link\"") >&5
6614   }
6615   _ACEOF
6616   rm -f conftest.$ac_objext conftest$ac_exeext
6617 < if { (eval echo "$as_me:5288: \"$ac_link\"") >&5
6617 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6618    (eval $ac_link) 2>&5
6619    ac_status=$?
6620 <  echo "$as_me:5291: \$? = $ac_status" >&5
6620 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621    (exit $ac_status); } &&
6622           { ac_try='test -s conftest$ac_exeext'
6623 <  { (eval echo "$as_me:5294: \"$ac_try\"") >&5
6623 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624    (eval $ac_try) 2>&5
6625    ac_status=$?
6626 <  echo "$as_me:5297: \$? = $ac_status" >&5
6626 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627    (exit $ac_status); }; }; then
6628    ac_cv_lib_mkl_vslNewStream=yes
6629   else
6630    echo "$as_me: failed program was:" >&5
6631 < cat conftest.$ac_ext >&5
6631 > sed 's/^/| /' conftest.$ac_ext >&5
6632 >
6633   ac_cv_lib_mkl_vslNewStream=no
6634   fi
6635   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6636   LIBS=$ac_check_lib_save_LIBS
6637   fi
6638 < echo "$as_me:5308: result: $ac_cv_lib_mkl_vslNewStream" >&5
6638 > echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
6639   echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
6640   if test $ac_cv_lib_mkl_vslNewStream = yes; then
6641    MKL_LIBDIR="${mkldir}/lib/32",
# Line 5313 | Line 6643 | else
6643                       HAVE_MKL="yes"
6644   fi
6645  
6646 +
6647   else
6648    MKL_INC="-I${mkldir}/include"
6649   fi
6650  
6651 +
6652    CPPFLAGS=$ac_save_CPPFLAGS
6653    LDFLAGS=$ac_save_LDFLAGS
6654    ac_ext=f90
# Line 5324 | Line 6656 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6656   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6658  
6659 +
6660    if test x_$HAVE_MKL != x_yes; then
6661 <        { { echo "$as_me:5328: error: Can't build with MKL" >&5
6661 >        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
6662   echo "$as_me: error: Can't build with MKL" >&2;}
6663     { (exit 1); exit 1; }; }
6664    fi
6665  
6666 +
6667 +
6668 +
6669 +
6670   else
6671  
6672 <    echo "$as_me:5335: result: no" >&5
6672 >    echo "$as_me:$LINENO: result: no" >&5
6673   echo "${ECHO_T}no" >&6
6674  
6675   fi;
6676  
5340 #AC_CHECK_MPI_F90MOD
6677  
6678 +
6679 +
6680 + # Check whether --with-mpi_f90_mods or --without-mpi_f90_mods was given.
6681 + if test "${with_mpi_f90_mods+set}" = set; then
6682 +  withval="$with_mpi_f90_mods"
6683 +  mpi_f90_mods="$withval"
6684 + else
6685 +  mpi_f90_mods="/usr/local/include/f90choice"
6686 + fi;
6687 +
6688 +  echo "$as_me:$LINENO: checking for MPI F90 modules" >&5
6689 + echo $ECHO_N "checking for MPI F90 modules... $ECHO_C" >&6
6690 +
6691 +
6692 +  ac_ext=f90
6693 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6694 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6695 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6696 +
6697 +  ac_save_F90FLAGS=$F90FLAGS
6698 +  if test "$mpi_f90_mods"; then
6699 +  F90FLAGS="${F90FLAGS} -I${mpi_f90_mods}"
6700 + fi
6701 +
6702 +    cat >conftest.$ac_ext <<_ACEOF
6703 +
6704 +
6705 + program main
6706 +
6707 + use mpi
6708 + integer :: ierr
6709 + call MPI_Init(ierr)
6710 +
6711 +
6712 + end program main
6713 +
6714 + _ACEOF
6715 + rm -f conftest.$ac_objext
6716 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6717 +  (eval $ac_compile) 2>&5
6718 +  ac_status=$?
6719 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 +  (exit $ac_status); } &&
6721 +         { ac_try='test -s conftest.$ac_objext'
6722 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 +  (eval $ac_try) 2>&5
6724 +  ac_status=$?
6725 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 +  (exit $ac_status); }; }; then
6727 +  HAVE_MPI_MOD=1
6728 + else
6729 +  echo "$as_me: failed program was:" >&5
6730 + sed 's/^/| /' conftest.$ac_ext >&5
6731 +
6732 + HAVE_MPI_MOD=0
6733 + fi
6734 + rm -f conftest.$ac_objext conftest.$ac_ext
6735 +
6736 +  F90FLAGS=$ac_save_F90FLAGS
6737 +  ac_ext=f90
6738 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6739 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6740 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6741 +
6742 +
6743 +  if test "$HAVE_MPI_MOD" = 1; then
6744 +    echo "$as_me:$LINENO: result: yes" >&5
6745 + echo "${ECHO_T}yes" >&6
6746 +
6747 + cat >>confdefs.h <<\_ACEOF
6748 + #define MPI_MOD 1
6749 + _ACEOF
6750 +
6751 +    MPI_F90_MODS="-I${mpi_f90_mods}"
6752 +
6753 +    # The library name:
6754 +    if test -z "$MPI_LIB" ; then
6755 +       MPI_LIBNAME=-lmpich
6756 +    else
6757 +       MPI_LIBNAME="$MPI_LIB"
6758 +    fi
6759 +    if test -z "$MPIMODLIBNAME" ; then
6760 +       MPIMODLIBNAME="${MPI_LIBNAME}f90"
6761 +    fi
6762 +
6763 +  else
6764 +    echo "$as_me:$LINENO: result: no" >&5
6765 + echo "${ECHO_T}no" >&6
6766 +    { { echo "$as_me:$LINENO: error: Couldn't locate MPI F90 Modules" >&5
6767 + echo "$as_me: error: Couldn't locate MPI F90 Modules" >&2;}
6768 +   { (exit 1); exit 1; }; }
6769 +  fi
6770 +
6771 +
6772 +
6773 +
6774 +
6775   OBJEXT=".$OBJEXT"
6776  
6777   OOPSE=oopse
# Line 5387 | Line 6820 | ac_config_headers="$ac_config_headers libmdtools/confi
6820       ;;
6821   esac
6822  
5390 ac_config_headers="$ac_config_headers libmdtools/config.h"
6823  
5392 ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile"
6824  
6825 +
6826 +
6827 +
6828 +
6829 +
6830 +
6831 +
6832 +
6833 +
6834 +
6835 +
6836 +
6837 +
6838 +
6839 +          ac_config_headers="$ac_config_headers libmdtools/config.h"
6840 +
6841 +                                                                                                                                            ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile"
6842 +
6843 +
6844   cat >confcache <<\_ACEOF
6845   # This file is a shell script that caches the results of configure
6846   # tests run on this system so they can be shared between configure
# Line 5401 | Line 6851 | cat >confcache <<\_ACEOF
6851   # config.status only pays attention to the cache file if you give it
6852   # the --recheck option to rerun configure.
6853   #
6854 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
6854 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
6855   # loading this file, other *unset* `ac_cv_foo' will be assigned the
6856   # following values.
6857  
# Line 5420 | Line 6870 | _ACEOF
6870        # substitution turns \\\\ into \\, and sed turns \\ into \).
6871        sed -n \
6872          "s/'/'\\\\''/g;
6873 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6873 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6874        ;;
6875      *)
6876        # `set' quotes correctly as required by POSIX, so do not add quotes.
6877        sed -n \
6878 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6878 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6879        ;;
6880      esac;
6881   } |
# Line 5436 | Line 6886 | if cmp -s $cache_file confcache; then :; else
6886       t end
6887       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6888       : end' >>confcache
6889 < if cmp -s $cache_file confcache; then :; else
6889 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
6890    if test -w $cache_file; then
6891      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6892      cat confcache >$cache_file
# Line 5467 | Line 6917 | DEFS=-DHAVE_CONFIG_H
6917  
6918   DEFS=-DHAVE_CONFIG_H
6919  
6920 + ac_libobjs=
6921 + ac_ltlibobjs=
6922 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6923 +  # 1. Remove the extension, and $U if already installed.
6924 +  ac_i=`echo "$ac_i" |
6925 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6926 +  # 2. Add them.
6927 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6928 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6929 + done
6930 + LIBOBJS=$ac_libobjs
6931 +
6932 + LTLIBOBJS=$ac_ltlibobjs
6933 +
6934 +
6935 +
6936   : ${CONFIG_STATUS=./config.status}
6937   ac_clean_files_save=$ac_clean_files
6938   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6939 < { echo "$as_me:5473: creating $CONFIG_STATUS" >&5
6939 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6940   echo "$as_me: creating $CONFIG_STATUS" >&6;}
6941   cat >$CONFIG_STATUS <<_ACEOF
6942   #! $SHELL
6943 < # Generated automatically by configure.
6943 > # Generated by $as_me.
6944   # Run this file to recreate the current configuration.
6945   # Compiler output produced by configure, useful for debugging
6946   # configure, is in config.log if it exists.
6947  
6948   debug=false
6949 + ac_cs_recheck=false
6950 + ac_cs_silent=false
6951   SHELL=\${CONFIG_SHELL-$SHELL}
5484 ac_cs_invocation="\$0 \$@"
5485
6952   _ACEOF
6953  
6954   cat >>$CONFIG_STATUS <<\_ACEOF
6955 + ## --------------------- ##
6956 + ## M4sh Initialization.  ##
6957 + ## --------------------- ##
6958 +
6959   # Be Bourne compatible
6960   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6961    emulate sh
6962    NULLCMD=:
6963 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6964 +  # is contrary to our usage.  Disable this feature.
6965 +  alias -g '${1+"$@"}'='"$@"'
6966   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6967    set -o posix
6968   fi
6969  
6970 + # Support unset when possible.
6971 + if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6972 +  as_unset=unset
6973 + else
6974 +  as_unset=false
6975 + fi
6976 +
6977 +
6978 + # Work around bugs in pre-3.0 UWIN ksh.
6979 + $as_unset ENV MAIL MAILPATH
6980 + PS1='$ '
6981 + PS2='> '
6982 + PS4='+ '
6983 +
6984 + # NLS nuisances.
6985 + for as_var in \
6986 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6987 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6988 +  LC_TELEPHONE LC_TIME
6989 + do
6990 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6991 +    eval $as_var=C; export $as_var
6992 +  else
6993 +    $as_unset $as_var
6994 +  fi
6995 + done
6996 +
6997 + # Required to use basename.
6998 + if expr a : '\(a\)' >/dev/null 2>&1; then
6999 +  as_expr=expr
7000 + else
7001 +  as_expr=false
7002 + fi
7003 +
7004 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7005 +  as_basename=basename
7006 + else
7007 +  as_basename=false
7008 + fi
7009 +
7010 +
7011   # Name of the executable.
7012 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
7012 > as_me=`$as_basename "$0" ||
7013 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7014 >         X"$0" : 'X\(//\)$' \| \
7015 >         X"$0" : 'X\(/\)$' \| \
7016 >         .     : '\(.\)' 2>/dev/null ||
7017 > echo X/"$0" |
7018 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7019 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
7020 >          /^X\/\(\/\).*/{ s//\1/; q; }
7021 >          s/.*/./; q'`
7022  
7023 +
7024 + # PATH needs CR, and LINENO needs CR and PATH.
7025 + # Avoid depending upon Character Ranges.
7026 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7027 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7028 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7029 + as_cr_digits='0123456789'
7030 + as_cr_alnum=$as_cr_Letters$as_cr_digits
7031 +
7032 + # The user is always right.
7033 + if test "${PATH_SEPARATOR+set}" != set; then
7034 +  echo "#! /bin/sh" >conf$$.sh
7035 +  echo  "exit 0"   >>conf$$.sh
7036 +  chmod +x conf$$.sh
7037 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7038 +    PATH_SEPARATOR=';'
7039 +  else
7040 +    PATH_SEPARATOR=:
7041 +  fi
7042 +  rm -f conf$$.sh
7043 + fi
7044 +
7045 +
7046 +  as_lineno_1=$LINENO
7047 +  as_lineno_2=$LINENO
7048 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7049 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
7050 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
7051 +  # Find who we are.  Look in the path if we contain no path at all
7052 +  # relative or not.
7053 +  case $0 in
7054 +    *[\\/]* ) as_myself=$0 ;;
7055 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 + for as_dir in $PATH
7057 + do
7058 +  IFS=$as_save_IFS
7059 +  test -z "$as_dir" && as_dir=.
7060 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7061 + done
7062 +
7063 +       ;;
7064 +  esac
7065 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
7066 +  # in which case we are not to be found in the path.
7067 +  if test "x$as_myself" = x; then
7068 +    as_myself=$0
7069 +  fi
7070 +  if test ! -f "$as_myself"; then
7071 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7072 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7073 +   { (exit 1); exit 1; }; }
7074 +  fi
7075 +  case $CONFIG_SHELL in
7076 +  '')
7077 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7079 + do
7080 +  IFS=$as_save_IFS
7081 +  test -z "$as_dir" && as_dir=.
7082 +  for as_base in sh bash ksh sh5; do
7083 +         case $as_dir in
7084 +         /*)
7085 +           if ("$as_dir/$as_base" -c '
7086 +  as_lineno_1=$LINENO
7087 +  as_lineno_2=$LINENO
7088 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7089 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
7090 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
7091 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7092 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7093 +             CONFIG_SHELL=$as_dir/$as_base
7094 +             export CONFIG_SHELL
7095 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7096 +           fi;;
7097 +         esac
7098 +       done
7099 + done
7100 + ;;
7101 +  esac
7102 +
7103 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7104 +  # uniformly replaced by the line number.  The first 'sed' inserts a
7105 +  # line-number line before each line; the second 'sed' does the real
7106 +  # work.  The second script uses 'N' to pair each line-number line
7107 +  # with the numbered line, and appends trailing '-' during
7108 +  # substitution so that $LINENO is not a special case at line end.
7109 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7110 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
7111 +  sed '=' <$as_myself |
7112 +    sed '
7113 +      N
7114 +      s,$,-,
7115 +      : loop
7116 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7117 +      t loop
7118 +      s,-$,,
7119 +      s,^['$as_cr_digits']*\n,,
7120 +    ' >$as_me.lineno &&
7121 +  chmod +x $as_me.lineno ||
7122 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7123 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7124 +   { (exit 1); exit 1; }; }
7125 +
7126 +  # Don't try to exec as it changes $[0], causing all sort of problems
7127 +  # (the dirname of $[0] is not the place where we might find the
7128 +  # original and so on.  Autoconf is especially sensible to this).
7129 +  . ./$as_me.lineno
7130 +  # Exit status is that of the last command.
7131 +  exit
7132 + }
7133 +
7134 +
7135 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7136 +  *c*,-n*) ECHO_N= ECHO_C='
7137 + ' ECHO_T='      ' ;;
7138 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7139 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
7140 + esac
7141 +
7142   if expr a : '\(a\)' >/dev/null 2>&1; then
7143    as_expr=expr
7144   else
# Line 5521 | Line 7163 | as_executable_p="test -f"
7163   fi
7164   rm -f conf$$ conf$$.exe conf$$.file
7165  
7166 < as_executable_p="test -f"
7167 <
5526 < # Support unset when possible.
5527 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5528 <  as_unset=unset
7166 > if mkdir -p . 2>/dev/null; then
7167 >  as_mkdir_p=:
7168   else
7169 <  as_unset=false
7169 >  as_mkdir_p=false
7170   fi
7171  
7172 < # NLS nuisances.
5534 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5535 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5536 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5537 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5538 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5539 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5540 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5541 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
7172 > as_executable_p="test -f"
7173  
7174 + # Sed expression to map a string onto a valid CPP name.
7175 + as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7176 +
7177 + # Sed expression to map a string onto a valid variable name.
7178 + as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7179 +
7180 +
7181   # IFS
7182   # We need space, tab and new line, in precisely that order.
7183   as_nl='
# Line 5547 | Line 7185 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
7185   IFS="   $as_nl"
7186  
7187   # CDPATH.
7188 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
7188 > $as_unset CDPATH
7189  
7190   exec 6>&1
7191  
7192 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
7193 + # report actual input values of CONFIG_FILES etc. instead of their
7194 + # values after options handling.  Logging --version etc. is OK.
7195 + exec 5>>config.log
7196 + {
7197 +  echo
7198 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7199 + ## Running $as_me. ##
7200 + _ASBOX
7201 + } >&5
7202 + cat >&5 <<_CSEOF
7203 +
7204 + This file was extended by OOPSE $as_me 1.0, which was
7205 + generated by GNU Autoconf 2.57.  Invocation command line was
7206 +
7207 +  CONFIG_FILES    = $CONFIG_FILES
7208 +  CONFIG_HEADERS  = $CONFIG_HEADERS
7209 +  CONFIG_LINKS    = $CONFIG_LINKS
7210 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
7211 +  $ $0 $@
7212 +
7213 + _CSEOF
7214 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7215 + echo >&5
7216   _ACEOF
7217  
7218   # Files that config.status was made for.
# Line 5570 | Line 7232 | cat >>$CONFIG_STATUS <<\EOF
7232    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7233   fi
7234  
7235 < cat >>$CONFIG_STATUS <<\EOF
7235 > cat >>$CONFIG_STATUS <<\_ACEOF
7236  
7237   ac_cs_usage="\
7238   \`$as_me' instantiates files from templates according to the
# Line 5580 | Line 7242 | Usage: $0 [OPTIONS] [FILE]...
7242  
7243    -h, --help       print this help, then exit
7244    -V, --version    print version number, then exit
7245 +  -q, --quiet      do not print progress messages
7246    -d, --debug      don't remove temporary files
7247        --recheck    update $as_me by reconfiguring in the same conditions
7248    --file=FILE[:TEMPLATE]
# Line 5594 | Line 7257 | EOF
7257   $config_headers
7258  
7259   Report bugs to <bug-autoconf@gnu.org>."
7260 < EOF
7260 > _ACEOF
7261  
7262 < cat >>$CONFIG_STATUS <<EOF
7262 > cat >>$CONFIG_STATUS <<_ACEOF
7263   ac_cs_version="\\
7264   OOPSE config.status 1.0
7265 < configured by $0, generated by GNU Autoconf 2.50,
7265 > configured by $0, generated by GNU Autoconf 2.57,
7266    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7267  
7268   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 5608 | Line 7271 | EOF
7271   gives unlimited permission to copy, distribute and modify it."
7272   srcdir=$srcdir
7273   INSTALL="$INSTALL"
7274 < EOF
7274 > _ACEOF
7275  
7276 < cat >>$CONFIG_STATUS <<\EOF
7276 > cat >>$CONFIG_STATUS <<\_ACEOF
7277   # If no file are specified by the user, then we need to provide default
7278   # value.  By we need to know if files were specified by the user.
7279   ac_need_defaults=:
# Line 5620 | Line 7283 | do
7283    --*=*)
7284      ac_option=`expr "x$1" : 'x\([^=]*\)='`
7285      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7286 <    shift
5624 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5625 <    shift
7286 >    ac_shift=:
7287      ;;
7288 <  -*);;
7288 >  -*)
7289 >    ac_option=$1
7290 >    ac_optarg=$2
7291 >    ac_shift=shift
7292 >    ;;
7293    *) # This is not an option, so the user has probably given explicit
7294       # arguments.
7295 +     ac_option=$1
7296       ac_need_defaults=false;;
7297    esac
7298  
7299 <  case $1 in
7299 >  case $ac_option in
7300    # Handling of the options.
7301 < EOF
7302 < cat >>$CONFIG_STATUS <<EOF
7301 > _ACEOF
7302 > cat >>$CONFIG_STATUS <<\_ACEOF
7303    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7304 <    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5639 <    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5640 < EOF
5641 < cat >>$CONFIG_STATUS <<\EOF
7304 >    ac_cs_recheck=: ;;
7305    --version | --vers* | -V )
7306      echo "$ac_cs_version"; exit 0 ;;
7307    --he | --h)
7308      # Conflict between --help and --header
7309 <    { { echo "$as_me:5646: error: ambiguous option: $1
7309 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
7310   Try \`$0 --help' for more information." >&5
7311   echo "$as_me: error: ambiguous option: $1
7312   Try \`$0 --help' for more information." >&2;}
# Line 5653 | Line 7316 | Try \`$0 --help' for more information." >&2;}
7316    --debug | --d* | -d )
7317      debug=: ;;
7318    --file | --fil | --fi | --f )
7319 <    shift
7320 <    CONFIG_FILES="$CONFIG_FILES $1"
7319 >    $ac_shift
7320 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7321      ac_need_defaults=false;;
7322    --header | --heade | --head | --hea )
7323 <    shift
7324 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
7323 >    $ac_shift
7324 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7325      ac_need_defaults=false;;
7326 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7327 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7328 +    ac_cs_silent=: ;;
7329  
5664  # Handling of arguments.
5665  'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5666  'libBASS/Makefile' ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
5667  'libmdtools/Makefile' ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
5668  'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5669  'utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
5670  'utils/sysbuilder/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
5671  'forceFields/Makefile' ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
5672  'samples/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
5673  'samples/alkane/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
5674  'samples/argon/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
5675  'samples/beadLipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
5676  'samples/lipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
5677  'samples/metals/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
5678  'samples/water/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
5679  'libmdtools/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
5680
7330    # This is an error.
7331 <  -*) { { echo "$as_me:5682: error: unrecognized option: $1
7331 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7332   Try \`$0 --help' for more information." >&5
7333   echo "$as_me: error: unrecognized option: $1
7334   Try \`$0 --help' for more information." >&2;}
7335     { (exit 1); exit 1; }; } ;;
7336 <  *) { { echo "$as_me:5687: error: invalid argument: $1" >&5
7337 < echo "$as_me: error: invalid argument: $1" >&2;}
7338 <   { (exit 1); exit 1; }; };;
7336 >
7337 >  *) ac_config_targets="$ac_config_targets $1" ;;
7338 >
7339    esac
7340    shift
7341   done
7342  
7343 < exec 5>>config.log
5695 < cat >&5 << _ACEOF
7343 > ac_configure_extra_args=
7344  
7345 < ## ----------------------- ##
7346 < ## Running config.status.  ##
7347 < ## ----------------------- ##
7345 > if $ac_cs_silent; then
7346 >  exec 6>/dev/null
7347 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
7348 > fi
7349  
7350 < This file was extended by $as_me (OOPSE 1.0) 2.50, executed with
7351 <  > $ac_cs_invocation
7352 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
7350 > _ACEOF
7351 > cat >>$CONFIG_STATUS <<_ACEOF
7352 > if \$ac_cs_recheck; then
7353 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7354 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7355 > fi
7356  
7357   _ACEOF
5706 EOF
7358  
7359 < cat >>$CONFIG_STATUS <<\EOF
7359 >
7360 >
7361 >
7362 >
7363 > cat >>$CONFIG_STATUS <<\_ACEOF
7364 > for ac_config_target in $ac_config_targets
7365 > do
7366 >  case "$ac_config_target" in
7367 >  # Handling of arguments.
7368 >  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7369 >  "libBASS/Makefile" ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
7370 >  "libmdtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
7371 >  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7372 >  "utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
7373 >  "utils/sysbuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
7374 >  "forceFields/Makefile" ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
7375 >  "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
7376 >  "samples/alkane/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
7377 >  "samples/argon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
7378 >  "samples/beadLipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
7379 >  "samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
7380 >  "samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
7381 >  "samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
7382 >  "libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
7383 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7384 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7385 >   { (exit 1); exit 1; }; };;
7386 >  esac
7387 > done
7388 >
7389   # If the user did not use the arguments to specify the items to instantiate,
7390   # then the envvar interface is used.  Set only those that are not.
7391   # We use the long form for the default assignment because of an extremely
# Line 5715 | Line 7395 | fi
7395    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7396   fi
7397  
7398 + # Have a temporary directory for convenience.  Make it in the build tree
7399 + # simply because there is no reason to put it here, and in addition,
7400 + # creating and moving files from /tmp can sometimes cause problems.
7401   # Create a temporary directory, and hook for its removal unless debugging.
7402   $debug ||
7403   {
7404    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7405 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
7405 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
7406   }
7407  
7408   # Create a (secure) tmp directory for tmp files.
7409 < : ${TMPDIR=/tmp}
7409 >
7410   {
7411 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7411 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7412    test -n "$tmp" && test -d "$tmp"
7413   }  ||
7414   {
7415 <  tmp=$TMPDIR/cs$$-$RANDOM
7415 >  tmp=./confstat$$-$RANDOM
7416    (umask 077 && mkdir $tmp)
7417   } ||
7418   {
7419 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7419 >   echo "$me: cannot create a temporary directory in ." >&2
7420     { (exit 1); exit 1; }
7421   }
7422  
7423 < EOF
7423 > _ACEOF
7424  
7425 < cat >>$CONFIG_STATUS <<EOF
7425 > cat >>$CONFIG_STATUS <<_ACEOF
7426  
7427   #
7428   # CONFIG_FILES section.
# Line 5752 | Line 7435 | s,@exec_prefix@,$exec_prefix,;t t
7435    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7436     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7437   s,@SHELL@,$SHELL,;t t
7438 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7439 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7440 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7441 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7442 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7443 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7444   s,@exec_prefix@,$exec_prefix,;t t
7445   s,@prefix@,$prefix,;t t
7446   s,@program_transform_name@,$program_transform_name,;t t
# Line 5767 | Line 7456 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7456   s,@oldincludedir@,$oldincludedir,;t t
7457   s,@infodir@,$infodir,;t t
7458   s,@mandir@,$mandir,;t t
7459 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7460 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7461 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7462 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5774 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7459 > s,@build_alias@,$build_alias,;t t
7460 > s,@host_alias@,$host_alias,;t t
7461 > s,@target_alias@,$target_alias,;t t
7462 > s,@DEFS@,$DEFS,;t t
7463   s,@ECHO_C@,$ECHO_C,;t t
7464   s,@ECHO_N@,$ECHO_N,;t t
7465   s,@ECHO_T@,$ECHO_T,;t t
5778 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5779 s,@DEFS@,$DEFS,;t t
7466   s,@LIBS@,$LIBS,;t t
7467   s,@PROGNAME@,$PROGNAME,;t t
7468   s,@DEBUG@,$DEBUG,;t t
# Line 5826 | Line 7512 | s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
7512   s,@MPIF90@,$MPIF90,;t t
7513   s,@MPILIBS@,$MPILIBS,;t t
7514   s,@CPP@,$CPP,;t t
7515 + s,@EGREP@,$EGREP,;t t
7516   s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
7517   s,@SPRNG_LIB@,$SPRNG_LIB,;t t
7518   s,@SPRNG_INC@,$SPRNG_INC,;t t
# Line 5834 | Line 7521 | s,@BATEXT@,$BATEXT,;t t
7521   s,@MKL_LIB@,$MKL_LIB,;t t
7522   s,@MKL_INC@,$MKL_INC,;t t
7523   s,@HAVE_MKL@,$HAVE_MKL,;t t
7524 + s,@MPI_F90_MODS@,$MPI_F90_MODS,;t t
7525 + s,@MPIMODLIBNAME@,$MPIMODLIBNAME,;t t
7526   s,@BATEXT@,$BATEXT,;t t
7527   s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7528   s,@OOPSE@,$OOPSE,;t t
7529   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
7530   s,@SUBDIRS@,$SUBDIRS,;t t
7531   s,@FFLAGS@,$FFLAGS,;t t
7532 + s,@LIBOBJS@,$LIBOBJS,;t t
7533 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7534   CEOF
7535  
7536 < EOF
7536 > _ACEOF
7537  
7538 <  cat >>$CONFIG_STATUS <<\EOF
7538 >  cat >>$CONFIG_STATUS <<\_ACEOF
7539    # Split the substitutions into bite-sized pieces for seds with
7540    # small command number limits, like on Digital OSF/1 and HP-UX.
7541    ac_max_sed_lines=48
# Line 5883 | Line 7574 | EOF
7574    fi
7575   fi # test -n "$CONFIG_FILES"
7576  
7577 < EOF
7578 < cat >>$CONFIG_STATUS <<\EOF
7577 > _ACEOF
7578 > cat >>$CONFIG_STATUS <<\_ACEOF
7579   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7580    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7581    case $ac_file in
# Line 5898 | Line 7589 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
7589    esac
7590  
7591    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7592 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7592 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7593 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7594           X"$ac_file" : 'X\(//\)[^/]' \| \
7595           X"$ac_file" : 'X\(//\)$' \| \
7596           X"$ac_file" : 'X\(/\)' \| \
# Line 5909 | Line 7601 | echo X"$ac_file" |
7601            /^X\(\/\/\)$/{ s//\1/; q; }
7602            /^X\(\/\).*/{ s//\1/; q; }
7603            s/.*/./; q'`
7604 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7605 <    { case "$ac_dir" in
5914 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5915 <  *)                      as_incr_dir=.;;
5916 < esac
5917 < as_dummy="$ac_dir"
5918 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5919 <  case $as_mkdir_dir in
5920 <    # Skip DOS drivespec
5921 <    ?:) as_incr_dir=$as_mkdir_dir ;;
5922 <    *)
5923 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
5924 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5925 <    ;;
5926 <  esac
5927 < done; }
5928 <
5929 <    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
5930 <    # A "../" for each directory in $ac_dir_suffix.
5931 <    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
7604 >  { if $as_mkdir_p; then
7605 >    mkdir -p "$ac_dir"
7606    else
7607 <    ac_dir_suffix= ac_dots=
7608 <  fi
7607 >    as_dir="$ac_dir"
7608 >    as_dirs=
7609 >    while test ! -d "$as_dir"; do
7610 >      as_dirs="$as_dir $as_dirs"
7611 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7612 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7613 >         X"$as_dir" : 'X\(//\)[^/]' \| \
7614 >         X"$as_dir" : 'X\(//\)$' \| \
7615 >         X"$as_dir" : 'X\(/\)' \| \
7616 >         .     : '\(.\)' 2>/dev/null ||
7617 > echo X"$as_dir" |
7618 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7619 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7620 >          /^X\(\/\/\)$/{ s//\1/; q; }
7621 >          /^X\(\/\).*/{ s//\1/; q; }
7622 >          s/.*/./; q'`
7623 >    done
7624 >    test ! -n "$as_dirs" || mkdir $as_dirs
7625 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7626 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7627 >   { (exit 1); exit 1; }; }; }
7628  
7629 <  case $srcdir in
7630 <  .)  ac_srcdir=.
7631 <      if test -z "$ac_dots"; then
7632 <         ac_top_srcdir=.
7633 <      else
7634 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
7635 <      fi ;;
7636 <  [\\/]* | ?:[\\/]* )
7637 <      ac_srcdir=$srcdir$ac_dir_suffix;
7638 <      ac_top_srcdir=$srcdir ;;
7629 >  ac_builddir=.
7630 >
7631 > if test "$ac_dir" != .; then
7632 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7633 >  # A "../" for each directory in $ac_dir_suffix.
7634 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7635 > else
7636 >  ac_dir_suffix= ac_top_builddir=
7637 > fi
7638 >
7639 > case $srcdir in
7640 >  .)  # No --srcdir option.  We are building in place.
7641 >    ac_srcdir=.
7642 >    if test -z "$ac_top_builddir"; then
7643 >       ac_top_srcdir=.
7644 >    else
7645 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7646 >    fi ;;
7647 >  [\\/]* | ?:[\\/]* )  # Absolute path.
7648 >    ac_srcdir=$srcdir$ac_dir_suffix;
7649 >    ac_top_srcdir=$srcdir ;;
7650    *) # Relative path.
7651 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
7652 <    ac_top_srcdir=$ac_dots$srcdir ;;
7653 <  esac
7651 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7652 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7653 > esac
7654 > # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7655 > # absolute.
7656 > ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7657 > ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7658 > ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7659 > ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7660  
7661 +
7662    case $INSTALL in
7663    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7664 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
7664 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7665    esac
7666  
7667    if test x"$ac_file" != x-; then
7668 <    { echo "$as_me:5957: creating $ac_file" >&5
7668 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
7669   echo "$as_me: creating $ac_file" >&6;}
7670      rm -f "$ac_file"
7671    fi
7672    # Let's still pretend it is `configure' which instantiates (i.e., don't
7673    # use $as_me), people would be surprised to read:
7674 <  #    /* config.h.  Generated automatically by config.status.  */
7675 <  configure_input="Generated automatically from `echo $ac_file_in |
7676 <                                                 sed 's,.*/,,'` by configure."
7674 >  #    /* config.h.  Generated by config.status.  */
7675 >  if test x"$ac_file" = x-; then
7676 >    configure_input=
7677 >  else
7678 >    configure_input="$ac_file.  "
7679 >  fi
7680 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
7681 >                                     sed 's,.*/,,'` by configure."
7682  
7683    # First look for the input files in the build tree, otherwise in the
7684    # src tree.
# Line 5972 | Line 7688 | echo "$as_me: creating $ac_file" >&6;}
7688        -) echo $tmp/stdin ;;
7689        [\\/$]*)
7690           # Absolute (can't be DOS-style, as IFS=:)
7691 <         test -f "$f" || { { echo "$as_me:5975: error: cannot find input file: $f" >&5
7691 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7692   echo "$as_me: error: cannot find input file: $f" >&2;}
7693     { (exit 1); exit 1; }; }
7694           echo $f;;
# Line 5985 | Line 7701 | echo "$as_me: error: cannot find input file: $f" >&2;}
7701             echo $srcdir/$f
7702           else
7703             # /dev/null tree
7704 <           { { echo "$as_me:5988: error: cannot find input file: $f" >&5
7704 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7705   echo "$as_me: error: cannot find input file: $f" >&2;}
7706     { (exit 1); exit 1; }; }
7707           fi;;
7708        esac
7709      done` || { (exit 1); exit 1; }
7710 < EOF
7711 < cat >>$CONFIG_STATUS <<EOF
7710 > _ACEOF
7711 > cat >>$CONFIG_STATUS <<_ACEOF
7712    sed "$ac_vpsub
7713   $extrasub
7714 < EOF
7715 < cat >>$CONFIG_STATUS <<\EOF
7714 > _ACEOF
7715 > cat >>$CONFIG_STATUS <<\_ACEOF
7716   :t
7717   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7718   s,@configure_input@,$configure_input,;t t
7719   s,@srcdir@,$ac_srcdir,;t t
7720 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
7721   s,@top_srcdir@,$ac_top_srcdir,;t t
7722 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7723 + s,@builddir@,$ac_builddir,;t t
7724 + s,@abs_builddir@,$ac_abs_builddir,;t t
7725 + s,@top_builddir@,$ac_top_builddir,;t t
7726 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7727   s,@INSTALL@,$ac_INSTALL,;t t
7728   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7729    rm -f $tmp/stdin
# Line 6013 | Line 7735 | EOF
7735    fi
7736  
7737   done
7738 < EOF
7739 < cat >>$CONFIG_STATUS <<\EOF
7738 > _ACEOF
7739 > cat >>$CONFIG_STATUS <<\_ACEOF
7740  
7741   #
7742   # CONFIG_HEADER section.
# Line 6046 | Line 7768 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
7768    * )   ac_file_in=$ac_file.in ;;
7769    esac
7770  
7771 <  test x"$ac_file" != x- && { echo "$as_me:6049: creating $ac_file" >&5
7771 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7772   echo "$as_me: creating $ac_file" >&6;}
7773  
7774    # First look for the input files in the build tree, otherwise in the
# Line 6057 | Line 7779 | echo "$as_me: creating $ac_file" >&6;}
7779        -) echo $tmp/stdin ;;
7780        [\\/$]*)
7781           # Absolute (can't be DOS-style, as IFS=:)
7782 <         test -f "$f" || { { echo "$as_me:6060: error: cannot find input file: $f" >&5
7782 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7783   echo "$as_me: error: cannot find input file: $f" >&2;}
7784     { (exit 1); exit 1; }; }
7785           echo $f;;
# Line 6070 | Line 7792 | echo "$as_me: error: cannot find input file: $f" >&2;}
7792             echo $srcdir/$f
7793           else
7794             # /dev/null tree
7795 <           { { echo "$as_me:6073: error: cannot find input file: $f" >&5
7795 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7796   echo "$as_me: error: cannot find input file: $f" >&2;}
7797     { (exit 1); exit 1; }; }
7798           fi;;
# Line 6079 | Line 7801 | EOF
7801    # Remove the trailing spaces.
7802    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
7803  
7804 < EOF
7804 > _ACEOF
7805  
7806   # Transform confdefs.h into two sed scripts, `conftest.defines' and
7807   # `conftest.undefs', that substitutes the proper values into
# Line 6095 | Line 7817 | cat >confdef2sed.sed <<\EOF
7817   # `end' is used to avoid that the second main sed command (meant for
7818   # 0-ary CPP macros) applies to n-ary macro definitions.
7819   # See the Autoconf documentation for `clear'.
7820 < cat >confdef2sed.sed <<\EOF
7820 > cat >confdef2sed.sed <<\_ACEOF
7821   s/[\\&,]/\\&/g
7822   s,[\\$`],\\&,g
7823   t clear
7824   : clear
7825 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
7825 > s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7826   t end
7827   s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7828   : end
7829 < EOF
7829 > _ACEOF
7830   # If some macros were called several times there might be several times
7831   # the same #defines, which is useless.  Nevertheless, we may not want to
7832   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 6115 | Line 7837 | cat >>conftest.undefs <<\EOF
7837   # This sed command replaces #undef with comments.  This is necessary, for
7838   # example, in the case of _POSIX_SOURCE, which is predefined and required
7839   # on some systems where configure will not decide to define it.
7840 < cat >>conftest.undefs <<\EOF
7840 > cat >>conftest.undefs <<\_ACEOF
7841   s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7842 < EOF
7842 > _ACEOF
7843  
7844   # Break up conftest.defines because some shells have a limit on the size
7845   # of here documents, and old seds have small limits too (100 cmds).
7846   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7847 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7847 > echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7848   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7849   echo '  :' >>$CONFIG_STATUS
7850   rm -f conftest.tail
# Line 6146 | Line 7868 | echo '  fi # egrep' >>$CONFIG_STATUS
7868    mv conftest.tail conftest.defines
7869   done
7870   rm -f conftest.defines
7871 < echo '  fi # egrep' >>$CONFIG_STATUS
7871 > echo '  fi # grep' >>$CONFIG_STATUS
7872   echo >>$CONFIG_STATUS
7873  
7874   # Break up conftest.undefs because some shells have a limit on the size
# Line 6174 | Line 7896 | cat >>$CONFIG_STATUS <<\EOF
7896   done
7897   rm -f conftest.undefs
7898  
7899 < cat >>$CONFIG_STATUS <<\EOF
7899 > cat >>$CONFIG_STATUS <<\_ACEOF
7900    # Let's still pretend it is `configure' which instantiates (i.e., don't
7901    # use $as_me), people would be surprised to read:
7902 <  #    /* config.h.  Generated automatically by config.status.  */
7902 >  #    /* config.h.  Generated by config.status.  */
7903    if test x"$ac_file" = x-; then
7904 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
7904 >    echo "/* Generated by configure.  */" >$tmp/config.h
7905    else
7906 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
7906 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
7907    fi
7908    cat $tmp/in >>$tmp/config.h
7909    rm -f $tmp/in
7910    if test x"$ac_file" != x-; then
7911 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
7912 <      { echo "$as_me:6190: $ac_file is unchanged" >&5
7911 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7912 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7913   echo "$as_me: $ac_file is unchanged" >&6;}
7914      else
7915 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7915 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7916 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7917           X"$ac_file" : 'X\(//\)[^/]' \| \
7918           X"$ac_file" : 'X\(//\)$' \| \
7919           X"$ac_file" : 'X\(/\)' \| \
# Line 6201 | Line 7924 | echo X"$ac_file" |
7924            /^X\(\/\/\)$/{ s//\1/; q; }
7925            /^X\(\/\).*/{ s//\1/; q; }
7926            s/.*/./; q'`
7927 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7928 <        { case "$ac_dir" in
7929 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
7930 <  *)                      as_incr_dir=.;;
7931 < esac
7932 < as_dummy="$ac_dir"
7933 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7934 <  case $as_mkdir_dir in
7935 <    # Skip DOS drivespec
7936 <    ?:) as_incr_dir=$as_mkdir_dir ;;
7937 <    *)
7938 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
7939 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7940 <    ;;
7941 <  esac
7942 < done; }
7927 >      { if $as_mkdir_p; then
7928 >    mkdir -p "$ac_dir"
7929 >  else
7930 >    as_dir="$ac_dir"
7931 >    as_dirs=
7932 >    while test ! -d "$as_dir"; do
7933 >      as_dirs="$as_dir $as_dirs"
7934 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7935 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7936 >         X"$as_dir" : 'X\(//\)[^/]' \| \
7937 >         X"$as_dir" : 'X\(//\)$' \| \
7938 >         X"$as_dir" : 'X\(/\)' \| \
7939 >         .     : '\(.\)' 2>/dev/null ||
7940 > echo X"$as_dir" |
7941 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7942 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7943 >          /^X\(\/\/\)$/{ s//\1/; q; }
7944 >          /^X\(\/\).*/{ s//\1/; q; }
7945 >          s/.*/./; q'`
7946 >    done
7947 >    test ! -n "$as_dirs" || mkdir $as_dirs
7948 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7949 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7950 >   { (exit 1); exit 1; }; }; }
7951  
6221      fi
7952        rm -f $ac_file
7953        mv $tmp/config.h $ac_file
7954      fi
# Line 6227 | Line 7957 | EOF
7957      rm -f $tmp/config.h
7958    fi
7959   done
7960 < EOF
7960 > _ACEOF
7961  
7962 < cat >>$CONFIG_STATUS <<\EOF
7962 > cat >>$CONFIG_STATUS <<\_ACEOF
7963  
7964   { (exit 0); exit 0; }
7965 < EOF
7965 > _ACEOF
7966   chmod +x $CONFIG_STATUS
7967   ac_clean_files=$ac_clean_files_save
7968  
7969 +
7970   # configure is writing to config.log, and then calls config.status.
7971   # config.status does its own redirection, appending to config.log.
7972   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 6246 | Line 7977 | if test "$no_create" != yes; then
7977   # need to make the FD available again.
7978   if test "$no_create" != yes; then
7979    ac_cs_success=:
7980 +  ac_config_status_args=
7981 +  test "$silent" = yes &&
7982 +    ac_config_status_args="$ac_config_status_args --quiet"
7983    exec 5>/dev/null
7984 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
7984 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7985    exec 5>>config.log
7986    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7987    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines