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 785 by gezelter, Thu Sep 25 16:42:34 2003 UTC vs.
Revision 827 by gezelter, Tue Oct 28 16:02:29 2003 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.57 for OOPSE 1.0.
3 > # Generated by Autoconf 2.50 for OOPSE 1.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 > # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
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 ## --------------------- ##
11  
12   # Be Bourne compatible
13   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14    emulate sh
15    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+"$@"}'='"$@"'
16   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17    set -o posix
18   fi
19  
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
20   # Name of the executable.
21 < 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
21 > as_me=`echo "$0" |sed 's,.*[\\/],,'`
22  
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
23   if expr a : '\(a\)' >/dev/null 2>&1; then
24    as_expr=expr
25   else
# Line 217 | Line 44 | if mkdir -p . 2>/dev/null; then
44   fi
45   rm -f conf$$ conf$$.exe conf$$.file
46  
47 < if mkdir -p . 2>/dev/null; then
48 <  as_mkdir_p=:
47 > as_executable_p="test -f"
48 >
49 > # Support unset when possible.
50 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 >  as_unset=unset
52   else
53 <  as_mkdir_p=false
53 >  as_unset=false
54   fi
55  
56 < as_executable_p="test -f"
56 > # 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; }
65  
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
66   # IFS
67   # We need space, tab and new line, in precisely that order.
68   as_nl='
# Line 239 | Line 70 | $as_unset CDPATH
70   IFS="   $as_nl"
71  
72   # CDPATH.
73 < $as_unset CDPATH
73 > $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
74  
244
75   # Name of the host.
76   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
77   # so uname gets run too.
# Line 253 | Line 83 | ac_config_libobj_dir=.
83   # Initializations.
84   #
85   ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
86   cross_compiling=no
87   subdirs=
88 < MFLAGS=
260 < MAKEFLAGS=
88 > MFLAGS= MAKEFLAGS=
89   SHELL=${CONFIG_SHELL-/bin/sh}
90  
91   # Maximum number of lines to put in a shell here document.
# Line 265 | Line 93 | SHELL=${CONFIG_SHELL-/bin/sh}
93   # only ac_max_sed_lines should be used.
94   : ${ac_max_here_lines=38}
95  
96 < # Identity of this package.
97 < PACKAGE_NAME='OOPSE'
98 < PACKAGE_TARNAME='oopse'
99 < PACKAGE_VERSION='1.0'
100 < PACKAGE_STRING='OOPSE 1.0'
273 < PACKAGE_BUGREPORT='gezelter@nd.edu'
96 > # Avoid depending upon Character Ranges.
97 > ac_cr_az='abcdefghijklmnopqrstuvwxyz'
98 > ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
99 > ac_cr_09='0123456789'
100 > ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
101  
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 +
106   ac_unique_file="src/oopse.cpp"
107   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"
108  
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
109   # Initialize some variables set by options.
110   ac_init_help=
111   ac_init_version=false
# Line 352 | Line 144 | ac_prev=
144   infodir='${prefix}/info'
145   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'
153 +
154   ac_prev=
155   for ac_option
156   do
# Line 397 | Line 196 | do
196    -disable-* | --disable-*)
197      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198      # Reject names that are not valid shell variable names.
199 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
199 >    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
200        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201     { (exit 1); exit 1; }; }
202      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 406 | Line 205 | do
205    -enable-* | --enable-*)
206      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207      # Reject names that are not valid shell variable names.
208 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
208 >    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
209        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210     { (exit 1); exit 1; }; }
211      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 484 | Line 283 | do
283      with_fp=no ;;
284  
285    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
286 <  | --no-cr | --no-c | -n)
286 >  | --no-cr | --no-c)
287      no_create=yes ;;
288  
289    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 588 | Line 387 | do
387    -with-* | --with-*)
388      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389      # Reject names that are not valid shell variable names.
390 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
390 >    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
391        { echo "$as_me: error: invalid package name: $ac_package" >&2
392     { (exit 1); exit 1; }; }
393      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 601 | Line 400 | do
400    -without-* | --without-*)
401      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402      # Reject names that are not valid shell variable names.
403 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 >    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
404        { echo "$as_me: error: invalid package name: $ac_package" >&2
405     { (exit 1); exit 1; }; }
406      ac_package=`echo $ac_package | sed 's/-/_/g'`
# Line 633 | Line 432 | Try \`$0 --help' for more information." >&2
432    *=*)
433      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
434      # Reject names that are not valid shell variable names.
435 <    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
435 >    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
436        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437     { (exit 1); exit 1; }; }
438      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
# Line 643 | Line 442 | Try \`$0 --help' for more information." >&2
442    *)
443      # FIXME: should be removed in autoconf 3.0.
444      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445 <    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
445 >    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
446        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
448      ;;
# Line 656 | Line 455 | fi
455    { echo "$as_me: error: missing argument to $ac_option" >&2
456     { (exit 1); exit 1; }; }
457   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
458  
459   # Be sure to have absolute paths.
460   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
461 <              localstatedir libdir includedir oldincludedir infodir mandir
461 >              localstatedir libdir includedir oldincludedir infodir mandir \
462 >              exec_prefix prefix
463   do
464    eval ac_val=$`echo $ac_var`
465    case $ac_val in
466      [\\/$]* | ?:[\\/]* ) ;;
467 <    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
467 >    NONE ) ;;
468 >    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
469     { (exit 1); exit 1; }; };;
470    esac
471   done
472  
473   # There might be people who depend on the old broken behavior: `$host'
474   # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
475   build=$build_alias
476   host=$host_alias
477   target=$target_alias
478  
479 < # FIXME: To remove some day.
479 > # FIXME: should be removed in autoconf 3.0.
480   if test "x$host_alias" != x; then
481    if test "x$build_alias" = x; then
482      cross_compiling=maybe
# Line 703 | Line 492 | test "$silent" = yes && exec 6>/dev/null
492  
493   test "$silent" = yes && exec 6>/dev/null
494  
706
495   # Find the source files, if location was not specified.
496   if test -z "$srcdir"; then
497    ac_srcdir_defaulted=yes
498    # Try the directory containing this script, then its parent.
499 <  ac_confdir=`(dirname "$0") 2>/dev/null ||
500 < $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
501 <         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'`
499 >  ac_prog=$0
500 >  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
501 >  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
502    srcdir=$ac_confdir
503    if test ! -r $srcdir/$ac_unique_file; then
504      srcdir=..
# Line 729 | Line 508 | if test ! -r $srcdir/$ac_unique_file; then
508   fi
509   if test ! -r $srcdir/$ac_unique_file; then
510    if test "$ac_srcdir_defaulted" = yes; then
511 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
511 >    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
512     { (exit 1); exit 1; }; }
513    else
514 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
514 >    { echo "$as_me: error: cannot find sources in $srcdir" >&2
515     { (exit 1); exit 1; }; }
516    fi
517   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; }; }
518   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
519   ac_env_build_alias_set=${build_alias+set}
520   ac_env_build_alias_value=$build_alias
# Line 799 | Line 575 | if test "$ac_init_help" = "long"; then
575   if test "$ac_init_help" = "long"; then
576    # Omit some internal or obsolete options to make the list less imposing.
577    # This message is too long to be a string in the A/UX 3.1 sh.
578 <  cat <<_ACEOF
578 >  cat <<EOF
579   \`configure' configures OOPSE 1.0 to adapt to many kinds of systems.
580  
581   Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 820 | Line 596 | _ACEOF
596    -n, --no-create         do not create output files
597        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
598  
599 < _ACEOF
599 > EOF
600  
601 <  cat <<_ACEOF
601 >  cat <<EOF
602   Installation directories:
603    --prefix=PREFIX         install architecture-independent files in PREFIX
604                            [$ac_default_prefix]
# Line 849 | Line 625 | _ACEOF
625    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
626    --infodir=DIR          info documentation [PREFIX/info]
627    --mandir=DIR           man documentation [PREFIX/man]
628 < _ACEOF
628 > EOF
629  
630 <  cat <<\_ACEOF
630 >  cat <<\EOF
631  
632   System types:
633    --build=BUILD     configure for building on BUILD [guessed]
634 <  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
635 < _ACEOF
634 >  --host=HOST       build programs to run on HOST [BUILD]
635 > EOF
636   fi
637  
638   if test -n "$ac_init_help"; then
639    case $ac_init_help in
640       short | recursive ) echo "Configuration of OOPSE 1.0:";;
641     esac
642 <  cat <<\_ACEOF
642 >  cat <<\EOF
643  
644   Optional Features:
645    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
# Line 874 | Line 650 | Optional Packages:
650   Optional Packages:
651    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
652    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
653 <  --with-mpi-dir=MPIDIR   give the path for MPI /usr/local
654 <  --with-mpi-lib-dir=dir  give the path for MPI-libraries MPI_DIR/lib
655 <  --with-mpi-inc-dir=dir  give the path for MPI-include-files MPI_DIR/include
656 <  --with-sprng-prefix=PREFIX
653 >  --with-mpi_dir=MPIDIR   give the path for MPI /usr/local
654 >  --with-mpi-libdir=dir  give the path for MPI-libraries MPI_DIR/lib
655 >  --with-mpi_inc=dir  give the path for MPI-include-files MPI_DIR/include
656 >  --with-sprng_prefix=PREFIX
657                            Prefix where SPRNG is installed
658 <  --with-sprng-lib=PREFIX  SPRNG library directory
658 >  --with-sprng-libdir=PREFIX  SPRNG library directory
659    --with-sprng-include=PREFIX
660                            SPRNG include directory
661    --with-mkl              Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60
# Line 904 | Line 680 | _ACEOF
680   it to find libraries and programs with nonstandard names/locations.
681  
682   Report bugs to <gezelter@nd.edu>.
683 < _ACEOF
683 > EOF
684   fi
685  
686   if test "$ac_init_help" = "recursive"; then
687    # If there are subdirs, report their specific --help.
688    ac_popdir=`pwd`
689 <  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
690 <    test -d $ac_dir || continue
691 <    ac_builddir=.
689 >  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
690 >    cd $ac_subdir
691 >    # A "../" for each directory in /$ac_subdir.
692 >    ac_dots=`echo $ac_subdir |
693 >             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
694  
695 < if test "$ac_dir" != .; then
696 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
697 <  # A "../" for each directory in $ac_dir_suffix.
698 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
699 < else
700 <  ac_dir_suffix= ac_top_builddir=
701 < fi
695 >    case $srcdir in
696 >    .) # No --srcdir option.  We are building in place.
697 >      ac_sub_srcdir=$srcdir ;;
698 >    [\\/]* | ?:[\\/]* ) # Absolute path.
699 >      ac_sub_srcdir=$srcdir/$ac_subdir ;;
700 >    *) # Relative path.
701 >      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
702 >    esac
703  
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
704      # Check for guested configure; otherwise get Cygnus style configure.
705 <    if test -f $ac_srcdir/configure.gnu; then
705 >    if test -f $ac_sub_srcdir/configure.gnu; then
706        echo
707 <      $SHELL $ac_srcdir/configure.gnu  --help=recursive
708 <    elif test -f $ac_srcdir/configure; then
707 >      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
708 >    elif test -f $ac_sub_srcdir/configure; then
709        echo
710 <      $SHELL $ac_srcdir/configure  --help=recursive
711 <    elif test -f $ac_srcdir/configure.ac ||
712 <           test -f $ac_srcdir/configure.in; then
710 >      $SHELL $ac_sub_srcdir/configure  --help=recursive
711 >    elif test -f $ac_sub_srcdir/configure.ac ||
712 >           test -f $ac_sub_srcdir/configure.in; then
713        echo
714        $ac_configure --help
715      else
716 <      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
716 >      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
717      fi
718      cd $ac_popdir
719    done
# Line 965 | Line 721 | if $ac_init_version; then
721  
722   test -n "$ac_init_help" && exit 0
723   if $ac_init_version; then
724 <  cat <<\_ACEOF
724 >  cat <<\EOF
725   OOPSE configure 1.0
726 < generated by GNU Autoconf 2.57
726 > generated by GNU Autoconf 2.50
727  
728 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
728 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
729   Free Software Foundation, Inc.
730   This configure script is free software; the Free Software Foundation
731   gives unlimited permission to copy, distribute and modify it.
732 < _ACEOF
732 > EOF
733    exit 0
734   fi
735   exec 5>config.log
736 < cat >&5 <<_ACEOF
736 > cat >&5 <<EOF
737   This file contains any messages produced by compilers while
738   running configure, to aid debugging if configure makes a mistake.
739  
740   It was created by OOPSE $as_me 1.0, which was
741 < generated by GNU Autoconf 2.57.  Invocation command line was
741 > generated by GNU Autoconf 2.50.  Invocation command line was
742  
743    $ $0 $@
744  
745 < _ACEOF
745 > EOF
746   {
747   cat <<_ASUNAME
748 < ## --------- ##
749 < ## Platform. ##
750 < ## --------- ##
748 > ## ---------- ##
749 > ## Platform.  ##
750 > ## ---------- ##
751  
752   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
753   uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 1010 | Line 766 | _ASUNAME
766   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
767   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
768  
769 < _ASUNAME
769 > PATH = $PATH
770  
771 < 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 <
771 > _ASUNAME
772   } >&5
773  
774 < cat >&5 <<_ACEOF
774 > cat >&5 <<EOF
775 > ## ------------ ##
776 > ## Core tests.  ##
777 > ## ------------ ##
778  
779 + EOF
780  
1028 ## ----------- ##
1029 ## Core tests. ##
1030 ## ----------- ##
1031
1032 _ACEOF
1033
1034
781   # Keep a trace of the command line.
782   # 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.
783   # Also quote any args containing shell meta-characters.
1039 # Make two passes to allow for proper duplicate-argument suppression.
784   ac_configure_args=
1041 ac_configure_args0=
1042 ac_configure_args1=
785   ac_sep=
786 < ac_must_keep_next=false
1045 < for ac_pass in 1 2
786 > for ac_arg
787   do
788 <  for ac_arg
789 <  do
790 <    case $ac_arg in
791 <    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
792 <    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
793 <    | -silent | --silent | --silen | --sile | --sil)
794 <      continue ;;
795 <    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
796 <      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
797 <    esac
798 <    case $ac_pass in
799 <    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
800 <    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
788 >  case $ac_arg in
789 >  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
790 >  | --no-cr | --no-c) ;;
791 >  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
792 >  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
793 >  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
794 >    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
795 >    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
796 >    ac_sep=" " ;;
797 >  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
798 >     ac_sep=" " ;;
799 >  esac
800 >  # Get rid of the leading space.
801   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; }
802  
803   # When interrupted or exit'd, cleanup temporary files, and complete
804   # config.log.  We remove comments because anyway the quotes in there
805   # 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.
806   trap 'exit_status=$?
807    # Save into config.log some information that might help in debugging.
808 <  {
809 <    echo
810 <
811 <    cat <<\_ASBOX
812 < ## ---------------- ##
813 < ## Cache variables. ##
1099 < ## ---------------- ##
1100 < _ASBOX
1101 <    echo
1102 <    # The following way of writing the cache mishandles newlines in values,
808 >  echo >&5
809 >  echo "## ----------------- ##" >&5
810 >  echo "## Cache variables.  ##" >&5
811 >  echo "## ----------------- ##" >&5
812 >  echo >&5
813 >  # The following way of writing the cache mishandles newlines in values,
814   {
815    (set) 2>&1 |
816      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
817      *ac_space=\ *)
818        sed -n \
819          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
820 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
820 >          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
821        ;;
822      *)
823        sed -n \
824 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
824 >        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
825        ;;
826      esac;
827 < }
828 <    echo
829 <
830 <    cat <<\_ASBOX
831 < ## ----------------- ##
832 < ## Output variables. ##
833 < ## ----------------- ##
834 < _ASBOX
835 <    echo
836 <    for ac_var in $ac_subst_vars
837 <    do
838 <      eval ac_val=$`echo $ac_var`
839 <      echo "$ac_var='"'"'$ac_val'"'"'"
840 <    done | sort
841 <    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 &&
827 > } >&5
828 >  sed "/^$/d" confdefs.h >conftest.log
829 >  if test -s conftest.log; then
830 >    echo >&5
831 >    echo "## ------------ ##" >&5
832 >    echo "## confdefs.h.  ##" >&5
833 >    echo "## ------------ ##" >&5
834 >    echo >&5
835 >    cat conftest.log >&5
836 >  fi
837 >  (echo; echo) >&5
838 >  test "$ac_signal" != 0 &&
839 >    echo "$as_me: caught signal $ac_signal" >&5
840 >  echo "$as_me: exit $exit_status" >&5
841 >  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
842      exit $exit_status
843       ' 0
844   for ac_signal in 1 2 13 15; do
845 <  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
845 >  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
846   done
847   ac_signal=0
848  
# Line 1172 | Line 851 | echo >confdefs.h
851   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
852   echo >confdefs.h
853  
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
854   # Let the site file select an alternate cache file if it wants to.
855   # Prefer explicitly selected file to automatically selected ones.
856   if test -z "$CONFIG_SITE"; then
# Line 1210 | Line 862 | for ac_site_file in $CONFIG_SITE; do
862   fi
863   for ac_site_file in $CONFIG_SITE; do
864    if test -r "$ac_site_file"; then
865 <    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
865 >    { echo "$as_me:865: loading site script $ac_site_file" >&5
866   echo "$as_me: loading site script $ac_site_file" >&6;}
867 <    sed 's/^/| /' "$ac_site_file" >&5
867 >    cat "$ac_site_file" >&5
868      . "$ac_site_file"
869    fi
870   done
# Line 1221 | Line 873 | if test -r "$cache_file"; then
873    # Some versions of bash will fail to source /dev/null (special
874    # files actually), so we avoid doing that.
875    if test -f "$cache_file"; then
876 <    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
876 >    { echo "$as_me:876: loading cache $cache_file" >&5
877   echo "$as_me: loading cache $cache_file" >&6;}
878      case $cache_file in
879        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 1229 | Line 881 | else
881      esac
882    fi
883   else
884 <  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
884 >  { echo "$as_me:884: creating cache $cache_file" >&5
885   echo "$as_me: creating cache $cache_file" >&6;}
886    >$cache_file
887   fi
888  
889   # Check that the precious variables saved in the cache have kept the same
890   # value.
891 < ac_cache_corrupted=false
891 > ac_suggest_removing_cache=false
892   for ac_var in `(set) 2>&1 |
893                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
894    eval ac_old_set=\$ac_cv_env_${ac_var}_set
# Line 1245 | Line 897 | for ac_var in `(set) 2>&1 |
897    eval ac_new_val="\$ac_env_${ac_var}_value"
898    case $ac_old_set,$ac_new_set in
899      set,)
900 <      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
901 < echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
902 <      ac_cache_corrupted=: ;;
900 >      { echo "$as_me:900: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
901 > echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
902 >      ac_suggest_removing_cache=: ;;
903      ,set)
904 <      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
905 < echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
906 <      ac_cache_corrupted=: ;;
904 >      { echo "$as_me:904: WARNING: \`$ac_var' was not set in the previous run" >&5
905 > echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
906 >      ac_suggest_removing_cache=: ;;
907      ,);;
908      *)
909        if test "x$ac_old_val" != "x$ac_new_val"; then
910 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
911 < echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
912 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
913 < echo "$as_me:   former value:  $ac_old_val" >&2;}
914 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
915 < echo "$as_me:   current value: $ac_new_val" >&2;}
916 <        ac_cache_corrupted=:
910 >        { echo "$as_me:910: WARNING: \`$ac_var' has changed since the previous run:" >&5
911 > echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
912 >        { echo "$as_me:912: WARNING:   former value:  $ac_old_val" >&5
913 > echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
914 >        { echo "$as_me:914: WARNING:   current value: $ac_new_val" >&5
915 > echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
916 >        ac_suggest_removing_cache=:
917        fi;;
918    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
919   done
920 < if $ac_cache_corrupted; then
921 <  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
922 < echo "$as_me: error: changes in the environment can compromise the build" >&2;}
923 <  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
924 < echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285 <   { (exit 1); exit 1; }; }
920 > if $ac_suggest_removing_cache; then
921 >  { echo "$as_me:921: WARNING: changes in the environment can compromise the build" >&5
922 > echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
923 >  { echo "$as_me:923: WARNING: consider removing $cache_file and starting over" >&5
924 > echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
925   fi
926  
927   ac_ext=c
# Line 1291 | Line 930 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
930   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
931   ac_compiler_gnu=$ac_cv_c_compiler_gnu
932  
933 <
934 <
935 <
936 <
937 <
938 <
939 <
940 <
941 <
942 <
943 <
944 <
945 <
946 <
947 <
948 <
949 <
950 <
951 <
952 <
1314 <
1315 <
1316 <
933 > case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
934 >  *c*,-n*) ECHO_N= ECHO_C='
935 > ' ECHO_T='      ' ;;
936 >  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
937 >  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
938 > esac
939 > echo "#! $SHELL" >conftest.sh
940 > echo  "exit 0"   >>conftest.sh
941 > chmod +x conftest.sh
942 > if { (echo "$as_me:942: PATH=\".;.\"; conftest.sh") >&5
943 >  (PATH=".;."; conftest.sh) 2>&5
944 >  ac_status=$?
945 >  echo "$as_me:945: \$? = $ac_status" >&5
946 >  (exit $ac_status); }; then
947 >  ac_path_separator=';'
948 > else
949 >  ac_path_separator=:
950 > fi
951 > PATH_SEPARATOR="$ac_path_separator"
952 > rm -f conftest.sh
953  
1318
1319
954   ac_aux_dir=
955   for ac_dir in ac-tools $srcdir/ac-tools; do
956    if test -f $ac_dir/install-sh; then
# Line 1334 | Line 968 | if test -z "$ac_aux_dir"; then
968    fi
969   done
970   if test -z "$ac_aux_dir"; then
971 <  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
971 >  { { echo "$as_me:971: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
972   echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
973     { (exit 1); exit 1; }; }
974   fi
# Line 1342 | Line 976 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
976   ac_config_sub="$SHELL $ac_aux_dir/config.sub"
977   ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
978  
1345
979   # This file is part of Autoconf.                       -*- Autoconf -*-
980   # Programming languages support.
981   # Copyright 2000, 2001
# Line 1393 | Line 1026 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1026   # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably
1027   # many others).
1028  
1396
1029   # Table of Contents:
1030   #
1031   # 1. Language selection
# Line 1429 | Line 1061 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1061   # ACTION-IF-NOT-FOUND.
1062   # _AC_LIST_MEMBER_IF
1063  
1432
1433
1064   # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE)
1065   # -------------------------------------------------
1066   #
# Line 1461 | Line 1091 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1091   # FIXME: Get rid of this macro.
1092   # _AC_LINKER_OPTION
1093  
1464
1465
1094   ## ----------------------- ##
1095   ## 1. Language selection.  ##
1096   ## ----------------------- ##
# Line 1474 | Line 1102 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1102   # AC_LANG(Fortran 90)
1103   # -------------------
1104  
1477
1478
1105   # _AC_LANG_ABBREV(Fortran 90)
1106   # ---------------------------
1107  
1482
1483
1108   # ----------------------------- #
1109   # 1c. The Fortran 95 language.  #
1110   # ----------------------------- #
# Line 1488 | Line 1112 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1112   # AC_LANG(Fortran 95)
1113   # -------------------
1114  
1491
1492
1115   # _AC_LANG_ABBREV(Fortran 95)
1116   # ---------------------------
1117  
1496
1497
1118   ## ---------------------- ##
1119   ## 2.Producing programs.  ##
1120   ## ---------------------- ##
# Line 1506 | Line 1126 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1126   # AC_LANG_SOURCE(Fortran 90)(BODY)
1127   # --------------------------------
1128  
1509
1510
1129   # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY])
1130   # -----------------------------------------------
1131  
1514
1132   # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION)
1133   # --------------------------------------------
1134  
1518
1519
1135   # ------------------------ #
1136   # 2c. Fortran 95 sources.  #
1137   # ------------------------ #
# Line 1524 | Line 1139 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1139   # AC_LANG_SOURCE(Fortran 95)(BODY)
1140   # --------------------------------
1141  
1527
1142   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1143   # -----------------------------------------------
1144  
1531
1145   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1146   # --------------------------------------------
1147  
1535
1536
1148   ## -------------------------------------------- ##
1149   ## 3. Looking for Compilers and Preprocessors.  ##
1150   ## -------------------------------------------- ##
# Line 1542 | Line 1153 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1153   # 3b. The Fortran 90 compiler.  #
1154   # ----------------------------- #
1155  
1545
1156   # AC_LANG_PREPROC(Fortran 90)
1157   # ---------------------------
1158   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1159  
1550
1551
1160   # AC_LANG_COMPILER(Fortran 90)
1161   # ----------------------------
1162   # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be
1163   # AC_REQUIRE'able.
1164  
1557
1558
1165   # AC_PROG_F90([COMPILERS...])
1166   # ---------------------------
1167   # COMPILERS is a space separated list of Fortran 90 compilers to search
# Line 1572 | Line 1178 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1178   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1179   # AC_PROG_F90
1180  
1575
1181   # ----------------------------- #
1182   # 3c. The Fortran 95 compiler.  #
1183   # ----------------------------- #
1184  
1580
1185   # AC_LANG_PREPROC(Fortran 95)
1186   # ---------------------------
1187   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1188  
1585
1586
1189   # AC_LANG_COMPILER(Fortran 95)
1190   # ----------------------------
1191   # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be
1192   # AC_REQUIRE'able.
1193  
1592
1593
1194   # AC_PROG_F95([COMPILERS...])
1195   # ---------------------------
1196   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1604 | Line 1204 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1204   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1205   # AC_PROG_F95
1206  
1607
1207   ## ------------------------------- ##
1208   ## 4. Compilers' characteristics.  ##
1209   ## ------------------------------- ##
1210  
1612
1211   # ---------------------------------------- #
1212   # 4b. Fortan 90 compiler characteristics.  #
1213   # ---------------------------------------- #
1214  
1617
1215   # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v])
1216   # -------------------------------------------------
1217   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1625 | Line 1222 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1222   # space-separated items.
1223   # _AC_PROG_F90_V_OUTPUT
1224  
1628
1225   # _AC_PROG_F90_V
1226   # --------------
1227   #
# Line 1635 | Line 1231 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1231   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1232   # _AC_PROG_F90_V
1233  
1638
1234   # AC_F90_LIBRARY_LDFLAGS
1235   # ----------------------
1236   #
# Line 1663 | Line 1258 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1258   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1259   # AC_F90_LIBRARY_LDFLAGS
1260  
1666
1261   # _AC_F90_NAME_MANGLING
1262   # ---------------------
1263   # Test for the name mangling scheme used by the Fortran 90 compiler.
# Line 1683 | Line 1277 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1277  
1278   # The replacement is empty.
1279  
1686
1687
1280   # AC_F90_WRAPPERS
1281   # ---------------
1282   # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to
# Line 1693 | Line 1285 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1285   # scheme used by the Fortran 90 compiler.
1286   # AC_F90_WRAPPERS
1287  
1696
1288   # AC_F90_FUNC(NAME, [SHELLVAR = NAME])
1289   # ------------------------------------
1290   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1701 | Line 1292 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1292   # argument is not supplied, it defaults to NAME.
1293   # AC_F90_FUNC
1294  
1704
1295   # ---------------------------------------- #
1296   # 4c. Fortan 95 compiler characteristics.  #
1297   # ---------------------------------------- #
1298  
1709
1299   # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v])
1300   # -------------------------------------------------
1301   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1717 | Line 1306 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1306   # space-separated items.
1307   # _AC_PROG_F95_V_OUTPUT
1308  
1720
1309   # _AC_PROG_F95_V
1310   # --------------
1311   #
# Line 1727 | Line 1315 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1315   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1316   # _AC_PROG_F95_V
1317  
1730
1318   # AC_F95_LIBRARY_LDFLAGS
1319   # ----------------------
1320   #
# Line 1755 | Line 1342 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1342   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1343   # AC_F95_LIBRARY_LDFLAGS
1344  
1758
1345   # _AC_F95_NAME_MANGLING
1346   # ---------------------
1347   # Test for the name mangling scheme used by the Fortran 95 compiler.
# Line 1775 | Line 1361 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1361  
1362   # The replacement is empty.
1363  
1778
1779
1364   # AC_F95_WRAPPERS
1365   # ---------------
1366   # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to
# Line 1785 | Line 1369 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1369   # scheme used by the Fortran 95 compiler.
1370   # AC_F95_WRAPPERS
1371  
1788
1372   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1373   # ------------------------------------
1374   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1793 | Line 1376 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1376   # argument is not supplied, it defaults to NAME.
1377   # AC_F95_FUNC
1378  
1379 + # set program name
1380 + PROGNAME="oopse"
1381  
1382 + # there are two ways to do debugging.  One with the --enable-debug flag
1383 + # and one using the DEBUG environment variable
1384  
1385 <
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 <
1385 > debug=0
1386   # Check whether --enable-debug or --disable-debug was given.
1387   if test "${enable_debug+set}" = set; then
1388    enableval="$enable_debug"
1389 <  DEBUG=1
1389 >  debug=1
1390   fi;
1838
1839 # set program name
1840 PROGNAME="oopse"
1841
1842
1391   if test "${DEBUG}"; then
1392  
1393 < cat >>confdefs.h <<\_ACEOF
1394 < #define DEBUG 1
1395 < _ACEOF
1393 > cat >>confdefs.h <<\EOF
1394 > #define debug 1
1395 > EOF
1396  
1397    msg="$msg, debug mode"
1398   fi
1399  
1852
1400   # who am i
1401   # Make sure we can run config.sub.
1402   $ac_config_sub sun4 >/dev/null 2>&1 ||
1403 <  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1403 >  { { echo "$as_me:1403: error: cannot run $ac_config_sub" >&5
1404   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1405     { (exit 1); exit 1; }; }
1406  
1407 < echo "$as_me:$LINENO: checking build system type" >&5
1407 > echo "$as_me:1407: checking build system type" >&5
1408   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1409   if test "${ac_cv_build+set}" = set; then
1410    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1866 | Line 1413 | test -z "$ac_cv_build_alias" &&
1413   test -z "$ac_cv_build_alias" &&
1414    ac_cv_build_alias=`$ac_config_guess`
1415   test -z "$ac_cv_build_alias" &&
1416 <  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1416 >  { { echo "$as_me:1416: error: cannot guess build type; you must specify one" >&5
1417   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1418     { (exit 1); exit 1; }; }
1419   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1420 <  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1421 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1420 >  { { echo "$as_me:1420: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1421 > echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1422     { (exit 1); exit 1; }; }
1423  
1424   fi
1425 < echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1425 > echo "$as_me:1425: result: $ac_cv_build" >&5
1426   echo "${ECHO_T}$ac_cv_build" >&6
1427   build=$ac_cv_build
1428   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1429   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1430   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1431  
1432 <
1886 < echo "$as_me:$LINENO: checking host system type" >&5
1432 > echo "$as_me:1432: checking host system type" >&5
1433   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1434   if test "${ac_cv_host+set}" = set; then
1435    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1892 | Line 1438 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1438   test -z "$ac_cv_host_alias" &&
1439    ac_cv_host_alias=$ac_cv_build_alias
1440   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1441 <  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1441 >  { { echo "$as_me:1441: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1442   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1443     { (exit 1); exit 1; }; }
1444  
1445   fi
1446 < echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1446 > echo "$as_me:1446: result: $ac_cv_host" >&5
1447   echo "${ECHO_T}$ac_cv_host" >&6
1448   host=$ac_cv_host
1449   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1450   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1451   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1452  
1907
1908
1453   ac_ext=c
1454   ac_cpp='$CPP $CPPFLAGS'
1455   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1916 | Line 1460 | echo "$as_me:$LINENO: checking for $ac_word" >&5
1460    do
1461      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1462   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1463 < echo "$as_me:$LINENO: checking for $ac_word" >&5
1463 > echo "$as_me:1463: checking for $ac_word" >&5
1464   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1465   if test "${ac_cv_prog_CC+set}" = set; then
1466    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1924 | Line 1468 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1468    if test -n "$CC"; then
1469    ac_cv_prog_CC="$CC" # Let the user override the test.
1470   else
1471 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1472 < for as_dir in $PATH
1473 < do
1474 <  IFS=$as_save_IFS
1475 <  test -z "$as_dir" && as_dir=.
1476 <  for ac_exec_ext in '' $ac_executable_extensions; do
1477 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1478 <    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1479 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 <    break 2
1937 <  fi
1471 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
1472 > ac_dummy="$PATH"
1473 > for ac_dir in $ac_dummy; do
1474 >  IFS=$ac_save_IFS
1475 >  test -z "$ac_dir" && ac_dir=.
1476 >  $as_executable_p "$ac_dir/$ac_word" || continue
1477 > ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1478 > echo "$as_me:1478: found $ac_dir/$ac_word" >&5
1479 > break
1480   done
1939 done
1481  
1482   fi
1483   fi
1484   CC=$ac_cv_prog_CC
1485   if test -n "$CC"; then
1486 <  echo "$as_me:$LINENO: result: $CC" >&5
1486 >  echo "$as_me:1486: result: $CC" >&5
1487   echo "${ECHO_T}$CC" >&6
1488   else
1489 <  echo "$as_me:$LINENO: result: no" >&5
1489 >  echo "$as_me:1489: result: no" >&5
1490   echo "${ECHO_T}no" >&6
1491   fi
1492  
# Line 1958 | Line 1499 | echo "$as_me:$LINENO: checking for $ac_word" >&5
1499   do
1500    # Extract the first word of "$ac_prog", so it can be a program name with args.
1501   set dummy $ac_prog; ac_word=$2
1502 < echo "$as_me:$LINENO: checking for $ac_word" >&5
1502 > echo "$as_me:1502: checking for $ac_word" >&5
1503   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1504   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1505    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1966 | Line 1507 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507    if test -n "$ac_ct_CC"; then
1508    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1509   else
1510 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511 < for as_dir in $PATH
1512 < do
1513 <  IFS=$as_save_IFS
1514 <  test -z "$as_dir" && as_dir=.
1515 <  for ac_exec_ext in '' $ac_executable_extensions; do
1516 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1517 <    ac_cv_prog_ac_ct_CC="$ac_prog"
1518 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 <    break 2
1979 <  fi
1980 < done
1510 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
1511 > ac_dummy="$PATH"
1512 > for ac_dir in $ac_dummy; do
1513 >  IFS=$ac_save_IFS
1514 >  test -z "$ac_dir" && ac_dir=.
1515 >  $as_executable_p "$ac_dir/$ac_word" || continue
1516 > ac_cv_prog_ac_ct_CC="$ac_prog"
1517 > echo "$as_me:1517: found $ac_dir/$ac_word" >&5
1518 > break
1519   done
1520  
1521   fi
1522   fi
1523   ac_ct_CC=$ac_cv_prog_ac_ct_CC
1524   if test -n "$ac_ct_CC"; then
1525 <  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1525 >  echo "$as_me:1525: result: $ac_ct_CC" >&5
1526   echo "${ECHO_T}$ac_ct_CC" >&6
1527   else
1528 <  echo "$as_me:$LINENO: result: no" >&5
1528 >  echo "$as_me:1528: result: no" >&5
1529   echo "${ECHO_T}no" >&6
1530   fi
1531  
# Line 1997 | Line 1535 | fi
1535    CC=$ac_ct_CC
1536   fi
1537  
1538 <
1539 < 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;}
1538 > test -z "$CC" && { { echo "$as_me:1538: error: no acceptable cc found in \$PATH" >&5
1539 > echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1540     { (exit 1); exit 1; }; }
1541  
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
1542   cat >conftest.$ac_ext <<_ACEOF
1543 < #line $LINENO "configure"
1544 < /* confdefs.h.  */
2030 < _ACEOF
2031 < cat confdefs.h >>conftest.$ac_ext
2032 < cat >>conftest.$ac_ext <<_ACEOF
2033 < /* end confdefs.h.  */
1543 > #line 1543 "configure"
1544 > #include "confdefs.h"
1545  
1546   int
1547   main ()
# Line 2041 | Line 1552 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
1552   }
1553   _ACEOF
1554   ac_clean_files_save=$ac_clean_files
1555 < ac_clean_files="$ac_clean_files a.out a.exe b.out"
1555 > ac_clean_files="$ac_clean_files a.out a.exe"
1556   # Try to create an executable without -o first, disregard a.out.
1557 < # It will help us diagnose broken compilers, and finding out an intuition
1557 > # It will help us diagnose broken compiler, and finding out an intuition
1558   # of exeext.
1559 < echo "$as_me:$LINENO: checking for C compiler default output" >&5
1559 > echo "$as_me:1559: checking for C compiler default output" >&5
1560   echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1561   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1562 < if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1562 > if { (eval echo "$as_me:1562: \"$ac_link_default\"") >&5
1563    (eval $ac_link_default) 2>&5
1564    ac_status=$?
1565 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1565 >  echo "$as_me:1565: \$? = $ac_status" >&5
1566    (exit $ac_status); }; then
1567 <  # 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
1567 >  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1568    case $ac_file in
1569 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1570 <        ;;
1571 <    conftest.$ac_ext )
1572 <        # This is the source file.
1573 <        ;;
1574 <    [ab].out )
1575 <        # We found the default executable, but exeext='' is most
1576 <        # 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;;
1569 >    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1570 >    a.out ) # We found the default executable, but exeext='' is most
1571 >            # certainly right.
1572 >            break;;
1573 >    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1574 >          export ac_cv_exeext
1575 >          break;;
1576 >    * ) break;;
1577    esac
1578   done
1579   else
1580    echo "$as_me: failed program was:" >&5
1581 < sed 's/^/| /' conftest.$ac_ext >&5
1582 <
1583 < { { 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;}
1581 > cat conftest.$ac_ext >&5
1582 > { { echo "$as_me:1582: error: C compiler cannot create executables" >&5
1583 > echo "$as_me: error: C compiler cannot create executables" >&2;}
1584     { (exit 77); exit 77; }; }
1585   fi
1586  
1587   ac_exeext=$ac_cv_exeext
1588 < echo "$as_me:$LINENO: result: $ac_file" >&5
1588 > echo "$as_me:1588: result: $ac_file" >&5
1589   echo "${ECHO_T}$ac_file" >&6
1590  
1591   # Check the compiler produces executables we can run.  If not, either
1592   # the compiler is broken, or we cross compile.
1593 < echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1593 > echo "$as_me:1593: checking whether the C compiler works" >&5
1594   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1595   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1596   # If not cross compiling, check that we can run a simple program.
1597   if test "$cross_compiling" != yes; then
1598    if { ac_try='./$ac_file'
1599 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1599 >  { (eval echo "$as_me:1599: \"$ac_try\"") >&5
1600    (eval $ac_try) 2>&5
1601    ac_status=$?
1602 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1602 >  echo "$as_me:1602: \$? = $ac_status" >&5
1603    (exit $ac_status); }; }; then
1604      cross_compiling=no
1605    else
1606      if test "$cross_compiling" = maybe; then
1607          cross_compiling=yes
1608      else
1609 <        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1610 < If you meant to cross compile, use \`--host'.
2123 < See \`config.log' for more details." >&5
1609 >        { { echo "$as_me:1609: error: cannot run C compiled programs.
1610 > If you meant to cross compile, use \`--host'." >&5
1611   echo "$as_me: error: cannot run C compiled programs.
1612 < If you meant to cross compile, use \`--host'.
2126 < See \`config.log' for more details." >&2;}
1612 > If you meant to cross compile, use \`--host'." >&2;}
1613     { (exit 1); exit 1; }; }
1614      fi
1615    fi
1616   fi
1617 < echo "$as_me:$LINENO: result: yes" >&5
1617 > echo "$as_me:1617: result: yes" >&5
1618   echo "${ECHO_T}yes" >&6
1619  
1620 < rm -f a.out a.exe conftest$ac_cv_exeext b.out
1620 > rm -f a.out a.exe conftest$ac_cv_exeext
1621   ac_clean_files=$ac_clean_files_save
1622   # Check the compiler produces executables we can run.  If not, either
1623   # the compiler is broken, or we cross compile.
1624 < echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1624 > echo "$as_me:1624: checking whether we are cross compiling" >&5
1625   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1626 < echo "$as_me:$LINENO: result: $cross_compiling" >&5
1626 > echo "$as_me:1626: result: $cross_compiling" >&5
1627   echo "${ECHO_T}$cross_compiling" >&6
1628  
1629 < echo "$as_me:$LINENO: checking for suffix of executables" >&5
1630 < echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1631 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1629 > echo "$as_me:1629: checking for executable suffix" >&5
1630 > echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1631 > if { (eval echo "$as_me:1631: \"$ac_link\"") >&5
1632    (eval $ac_link) 2>&5
1633    ac_status=$?
1634 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1634 >  echo "$as_me:1634: \$? = $ac_status" >&5
1635    (exit $ac_status); }; then
1636    # If both `conftest.exe' and `conftest' are `present' (well, observable)
1637   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1638   # work properly (i.e., refer to `conftest.exe'), while it won't with
1639   # `rm'.
1640 < for ac_file in conftest.exe conftest conftest.*; do
2155 <  test -f "$ac_file" || continue
1640 > for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1641    case $ac_file in
1642 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1642 >    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1643      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1644            export ac_cv_exeext
1645            break;;
# Line 2162 | Line 1647 | else
1647    esac
1648   done
1649   else
1650 <  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1651 < 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;}
1650 >  { { echo "$as_me:1650: error: cannot compute EXEEXT: cannot compile and link" >&5
1651 > echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1652     { (exit 1); exit 1; }; }
1653   fi
1654  
1655   rm -f conftest$ac_cv_exeext
1656 < echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1656 > echo "$as_me:1656: result: $ac_cv_exeext" >&5
1657   echo "${ECHO_T}$ac_cv_exeext" >&6
1658  
1659   rm -f conftest.$ac_ext
1660   EXEEXT=$ac_cv_exeext
1661   ac_exeext=$EXEEXT
1662 < echo "$as_me:$LINENO: checking for suffix of object files" >&5
1663 < echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1662 > echo "$as_me:1662: checking for object suffix" >&5
1663 > echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1664   if test "${ac_cv_objext+set}" = set; then
1665    echo $ECHO_N "(cached) $ECHO_C" >&6
1666   else
1667    cat >conftest.$ac_ext <<_ACEOF
1668 < #line $LINENO "configure"
1669 < /* confdefs.h.  */
2187 < _ACEOF
2188 < cat confdefs.h >>conftest.$ac_ext
2189 < cat >>conftest.$ac_ext <<_ACEOF
2190 < /* end confdefs.h.  */
1668 > #line 1668 "configure"
1669 > #include "confdefs.h"
1670  
1671   int
1672   main ()
# Line 2198 | Line 1677 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1677   }
1678   _ACEOF
1679   rm -f conftest.o conftest.obj
1680 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1680 > if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5
1681    (eval $ac_compile) 2>&5
1682    ac_status=$?
1683 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1683 >  echo "$as_me:1683: \$? = $ac_status" >&5
1684    (exit $ac_status); }; then
1685    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1686    case $ac_file in
1687 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1687 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1688      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1689         break;;
1690    esac
1691   done
1692   else
1693    echo "$as_me: failed program was:" >&5
1694 < sed 's/^/| /' conftest.$ac_ext >&5
1695 <
1696 < { { 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;}
1694 > cat conftest.$ac_ext >&5
1695 > { { echo "$as_me:1695: error: cannot compute OBJEXT: cannot compile" >&5
1696 > echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1697     { (exit 1); exit 1; }; }
1698   fi
1699  
1700   rm -f conftest.$ac_cv_objext conftest.$ac_ext
1701   fi
1702 < echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1702 > echo "$as_me:1702: result: $ac_cv_objext" >&5
1703   echo "${ECHO_T}$ac_cv_objext" >&6
1704   OBJEXT=$ac_cv_objext
1705   ac_objext=$OBJEXT
1706 < echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1706 > echo "$as_me:1706: checking whether we are using the GNU C compiler" >&5
1707   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1708   if test "${ac_cv_c_compiler_gnu+set}" = set; then
1709    echo $ECHO_N "(cached) $ECHO_C" >&6
1710   else
1711    cat >conftest.$ac_ext <<_ACEOF
1712 < #line $LINENO "configure"
1713 < /* confdefs.h.  */
2238 < _ACEOF
2239 < cat confdefs.h >>conftest.$ac_ext
2240 < cat >>conftest.$ac_ext <<_ACEOF
2241 < /* end confdefs.h.  */
1712 > #line 1712 "configure"
1713 > #include "confdefs.h"
1714  
1715   int
1716   main ()
# Line 2252 | Line 1724 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1724   }
1725   _ACEOF
1726   rm -f conftest.$ac_objext
1727 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1727 > if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5
1728    (eval $ac_compile) 2>&5
1729    ac_status=$?
1730 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1730 >  echo "$as_me:1730: \$? = $ac_status" >&5
1731    (exit $ac_status); } &&
1732           { ac_try='test -s conftest.$ac_objext'
1733 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1733 >  { (eval echo "$as_me:1733: \"$ac_try\"") >&5
1734    (eval $ac_try) 2>&5
1735    ac_status=$?
1736 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1736 >  echo "$as_me:1736: \$? = $ac_status" >&5
1737    (exit $ac_status); }; }; then
1738    ac_compiler_gnu=yes
1739   else
1740    echo "$as_me: failed program was:" >&5
1741 < sed 's/^/| /' conftest.$ac_ext >&5
2270 <
1741 > cat conftest.$ac_ext >&5
1742   ac_compiler_gnu=no
1743   fi
1744   rm -f conftest.$ac_objext conftest.$ac_ext
1745   ac_cv_c_compiler_gnu=$ac_compiler_gnu
1746  
1747   fi
1748 < echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1748 > echo "$as_me:1748: result: $ac_cv_c_compiler_gnu" >&5
1749   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1750   GCC=`test $ac_compiler_gnu = yes && echo yes`
1751   ac_test_CFLAGS=${CFLAGS+set}
1752   ac_save_CFLAGS=$CFLAGS
1753   CFLAGS="-g"
1754 < echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1754 > echo "$as_me:1754: checking whether $CC accepts -g" >&5
1755   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1756   if test "${ac_cv_prog_cc_g+set}" = set; then
1757    echo $ECHO_N "(cached) $ECHO_C" >&6
1758   else
1759    cat >conftest.$ac_ext <<_ACEOF
1760 < #line $LINENO "configure"
1761 < /* confdefs.h.  */
2291 < _ACEOF
2292 < cat confdefs.h >>conftest.$ac_ext
2293 < cat >>conftest.$ac_ext <<_ACEOF
2294 < /* end confdefs.h.  */
1760 > #line 1760 "configure"
1761 > #include "confdefs.h"
1762  
1763   int
1764   main ()
# Line 2302 | Line 1769 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1769   }
1770   _ACEOF
1771   rm -f conftest.$ac_objext
1772 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1772 > if { (eval echo "$as_me:1772: \"$ac_compile\"") >&5
1773    (eval $ac_compile) 2>&5
1774    ac_status=$?
1775 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1775 >  echo "$as_me:1775: \$? = $ac_status" >&5
1776    (exit $ac_status); } &&
1777           { ac_try='test -s conftest.$ac_objext'
1778 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1778 >  { (eval echo "$as_me:1778: \"$ac_try\"") >&5
1779    (eval $ac_try) 2>&5
1780    ac_status=$?
1781 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1781 >  echo "$as_me:1781: \$? = $ac_status" >&5
1782    (exit $ac_status); }; }; then
1783    ac_cv_prog_cc_g=yes
1784   else
1785    echo "$as_me: failed program was:" >&5
1786 < sed 's/^/| /' conftest.$ac_ext >&5
2320 <
1786 > cat conftest.$ac_ext >&5
1787   ac_cv_prog_cc_g=no
1788   fi
1789   rm -f conftest.$ac_objext conftest.$ac_ext
1790   fi
1791 < echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1791 > echo "$as_me:1791: result: $ac_cv_prog_cc_g" >&5
1792   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1793   if test "$ac_test_CFLAGS" = set; then
1794    CFLAGS=$ac_save_CFLAGS
# Line 2339 | Line 1805 | echo "$as_me:$LINENO: checking for $CC option to accep
1805      CFLAGS=
1806    fi
1807   fi
1808 < echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1809 < echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1810 < if test "${ac_cv_prog_cc_stdc+set}" = set; then
1811 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2346 < else
2347 <  ac_cv_prog_cc_stdc=no
2348 < ac_save_CC=$CC
1808 > # Some people use a C++ compiler to compile C.  Since we use `exit',
1809 > # in C++ we need to declare it.  In case someone uses the same compiler
1810 > # for both compiling C and C++ we need to have the C++ compiler decide
1811 > # the declaration of exit, since it's the most demanding environment.
1812   cat >conftest.$ac_ext <<_ACEOF
1813 < #line $LINENO "configure"
1814 < /* confdefs.h.  */
1813 > #ifndef __cplusplus
1814 >  choke me
1815 > #endif
1816   _ACEOF
1817 < cat confdefs.h >>conftest.$ac_ext
1818 < cat >>conftest.$ac_ext <<_ACEOF
1819 < /* end confdefs.h.  */
1820 < #include <stdarg.h>
1821 < #include <stdio.h>
1822 < #include <sys/types.h>
1823 < #include <sys/stat.h>
1824 < /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1825 < struct buf { int x; };
1826 < FILE * (*rcsopen) (struct buf *, struct stat *, int);
1827 < static char *e (p, i)
1828 <     char **p;
1829 <     int i;
1817 > rm -f conftest.$ac_objext
1818 > if { (eval echo "$as_me:1818: \"$ac_compile\"") >&5
1819 >  (eval $ac_compile) 2>&5
1820 >  ac_status=$?
1821 >  echo "$as_me:1821: \$? = $ac_status" >&5
1822 >  (exit $ac_status); } &&
1823 >         { ac_try='test -s conftest.$ac_objext'
1824 >  { (eval echo "$as_me:1824: \"$ac_try\"") >&5
1825 >  (eval $ac_try) 2>&5
1826 >  ac_status=$?
1827 >  echo "$as_me:1827: \$? = $ac_status" >&5
1828 >  (exit $ac_status); }; }; then
1829 >  for ac_declaration in \
1830 >   ''\
1831 >   '#include <stdlib.h>' \
1832 >   'extern "C" void std::exit (int) throw (); using std::exit;' \
1833 >   'extern "C" void std::exit (int); using std::exit;' \
1834 >   'extern "C" void exit (int) throw ();' \
1835 >   'extern "C" void exit (int);' \
1836 >   'void exit (int);'
1837 > do
1838 >  cat >conftest.$ac_ext <<_ACEOF
1839 > #line 1839 "configure"
1840 > #include "confdefs.h"
1841 > #include <stdlib.h>
1842 > $ac_declaration
1843 > int
1844 > main ()
1845   {
1846 <  return p[i];
1846 > exit (42);
1847 >  ;
1848 >  return 0;
1849   }
1850 < static char *f (char * (*g) (char **, int), char **p, ...)
1851 < {
1852 <  char *s;
1853 <  va_list v;
1854 <  va_start (v,p);
1855 <  s = g (p, va_arg (v,int));
1856 <  va_end (v);
1857 <  return s;
1858 < }
1859 < int test (int i, double x);
1860 < struct s1 {int (*f) (int a);};
1861 < struct s2 {int (*f) (double a);};
1862 < int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1863 < int argc;
1864 < char **argv;
1850 > _ACEOF
1851 > rm -f conftest.$ac_objext
1852 > if { (eval echo "$as_me:1852: \"$ac_compile\"") >&5
1853 >  (eval $ac_compile) 2>&5
1854 >  ac_status=$?
1855 >  echo "$as_me:1855: \$? = $ac_status" >&5
1856 >  (exit $ac_status); } &&
1857 >         { ac_try='test -s conftest.$ac_objext'
1858 >  { (eval echo "$as_me:1858: \"$ac_try\"") >&5
1859 >  (eval $ac_try) 2>&5
1860 >  ac_status=$?
1861 >  echo "$as_me:1861: \$? = $ac_status" >&5
1862 >  (exit $ac_status); }; }; then
1863 >  :
1864 > else
1865 >  echo "$as_me: failed program was:" >&5
1866 > cat conftest.$ac_ext >&5
1867 > continue
1868 > fi
1869 > rm -f conftest.$ac_objext conftest.$ac_ext
1870 >  cat >conftest.$ac_ext <<_ACEOF
1871 > #line 1871 "configure"
1872 > #include "confdefs.h"
1873 > $ac_declaration
1874   int
1875   main ()
1876   {
1877 < return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1877 > exit (42);
1878    ;
1879    return 0;
1880   }
1881   _ACEOF
1882 < # Don't try gcc -ansi; that turns off useful extensions and
1883 < # 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
1882 > rm -f conftest.$ac_objext
1883 > if { (eval echo "$as_me:1883: \"$ac_compile\"") >&5
1884    (eval $ac_compile) 2>&5
1885    ac_status=$?
1886 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 >  echo "$as_me:1886: \$? = $ac_status" >&5
1887    (exit $ac_status); } &&
1888           { ac_try='test -s conftest.$ac_objext'
1889 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1889 >  { (eval echo "$as_me:1889: \"$ac_try\"") >&5
1890    (eval $ac_try) 2>&5
1891    ac_status=$?
1892 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892 >  echo "$as_me:1892: \$? = $ac_status" >&5
1893    (exit $ac_status); }; }; then
1894 <  ac_cv_prog_cc_stdc=$ac_arg
2415 < break
1894 >  break
1895   else
1896    echo "$as_me: failed program was:" >&5
1897 < sed 's/^/| /' conftest.$ac_ext >&5
1897 > cat conftest.$ac_ext >&5
1898 > fi
1899 > rm -f conftest.$ac_objext conftest.$ac_ext
1900 > done
1901 > echo '#ifdef __cplusplus' >>confdefs.h
1902 > echo $ac_declaration      >>confdefs.h
1903 > echo '#endif'             >>confdefs.h
1904  
1905 + else
1906 +  echo "$as_me: failed program was:" >&5
1907 + cat conftest.$ac_ext >&5
1908   fi
1909 < rm -f conftest.$ac_objext
1909 > rm -f conftest.$ac_objext conftest.$ac_ext
1910 > ac_ext=c
1911 > ac_cpp='$CPP $CPPFLAGS'
1912 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1913 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1914 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
1915 >
1916 > ac_ext=cc
1917 > ac_cpp='$CXXCPP $CPPFLAGS'
1918 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1919 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1920 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1921 > if test -n "$ac_tool_prefix"; then
1922 >  for ac_prog in $CCC icpc icc xlC CC g++ c++
1923 >  do
1924 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1925 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1926 > echo "$as_me:1926: checking for $ac_word" >&5
1927 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928 > if test "${ac_cv_prog_CXX+set}" = set; then
1929 >  echo $ECHO_N "(cached) $ECHO_C" >&6
1930 > else
1931 >  if test -n "$CXX"; then
1932 >  ac_cv_prog_CXX="$CXX" # Let the user override the test.
1933 > else
1934 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
1935 > ac_dummy="$PATH"
1936 > for ac_dir in $ac_dummy; do
1937 >  IFS=$ac_save_IFS
1938 >  test -z "$ac_dir" && ac_dir=.
1939 >  $as_executable_p "$ac_dir/$ac_word" || continue
1940 > ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1941 > echo "$as_me:1941: found $ac_dir/$ac_word" >&5
1942 > break
1943   done
2423 rm -f conftest.$ac_ext conftest.$ac_objext
2424 CC=$ac_save_CC
1944  
1945   fi
1946 + fi
1947 + CXX=$ac_cv_prog_CXX
1948 + if test -n "$CXX"; then
1949 +  echo "$as_me:1949: result: $CXX" >&5
1950 + echo "${ECHO_T}$CXX" >&6
1951 + else
1952 +  echo "$as_me:1952: result: no" >&5
1953 + echo "${ECHO_T}no" >&6
1954 + fi
1955  
1956 < case "x$ac_cv_prog_cc_stdc" in
1957 <  x|xno)
1958 <    echo "$as_me:$LINENO: result: none needed" >&5
1959 < echo "${ECHO_T}none needed" >&6 ;;
1960 <  *)
1961 <    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1962 < echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1963 <    CC="$CC $ac_cv_prog_cc_stdc" ;;
1964 < esac
1956 >    test -n "$CXX" && break
1957 >  done
1958 > fi
1959 > if test -z "$CXX"; then
1960 >  ac_ct_CXX=$CXX
1961 >  for ac_prog in $CCC icpc icc xlC CC g++ c++
1962 > do
1963 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
1964 > set dummy $ac_prog; ac_word=$2
1965 > echo "$as_me:1965: checking for $ac_word" >&5
1966 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 > if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1968 >  echo $ECHO_N "(cached) $ECHO_C" >&6
1969 > else
1970 >  if test -n "$ac_ct_CXX"; then
1971 >  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1972 > else
1973 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
1974 > ac_dummy="$PATH"
1975 > for ac_dir in $ac_dummy; do
1976 >  IFS=$ac_save_IFS
1977 >  test -z "$ac_dir" && ac_dir=.
1978 >  $as_executable_p "$ac_dir/$ac_word" || continue
1979 > ac_cv_prog_ac_ct_CXX="$ac_prog"
1980 > echo "$as_me:1980: found $ac_dir/$ac_word" >&5
1981 > break
1982 > done
1983  
1984 < # Some people use a C++ compiler to compile C.  Since we use `exit',
1985 < # in C++ we need to declare it.  In case someone uses the same compiler
1986 < # for both compiling C and C++ we need to have the C++ compiler decide
1987 < # the declaration of exit, since it's the most demanding environment.
1988 < cat >conftest.$ac_ext <<_ACEOF
1989 < #ifndef __cplusplus
1990 <  choke me
1984 > fi
1985 > fi
1986 > ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1987 > if test -n "$ac_ct_CXX"; then
1988 >  echo "$as_me:1988: result: $ac_ct_CXX" >&5
1989 > echo "${ECHO_T}$ac_ct_CXX" >&6
1990 > else
1991 >  echo "$as_me:1991: result: no" >&5
1992 > echo "${ECHO_T}no" >&6
1993 > fi
1994 >
1995 >  test -n "$ac_ct_CXX" && break
1996 > done
1997 > test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1998 >
1999 >  CXX=$ac_ct_CXX
2000 > fi
2001 >
2002 > echo "$as_me:2002: checking whether we are using the GNU C++ compiler" >&5
2003 > echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2004 > if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2005 >  echo $ECHO_N "(cached) $ECHO_C" >&6
2006 > else
2007 >  cat >conftest.$ac_ext <<_ACEOF
2008 > #line 2008 "configure"
2009 > #include "confdefs.h"
2010 >
2011 > int
2012 > main ()
2013 > {
2014 > #ifndef __GNUC__
2015 >       choke me
2016   #endif
2017 +
2018 +  ;
2019 +  return 0;
2020 + }
2021   _ACEOF
2022   rm -f conftest.$ac_objext
2023 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2023 > if { (eval echo "$as_me:2023: \"$ac_compile\"") >&5
2024    (eval $ac_compile) 2>&5
2025    ac_status=$?
2026 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 >  echo "$as_me:2026: \$? = $ac_status" >&5
2027    (exit $ac_status); } &&
2028           { ac_try='test -s conftest.$ac_objext'
2029 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2029 >  { (eval echo "$as_me:2029: \"$ac_try\"") >&5
2030    (eval $ac_try) 2>&5
2031    ac_status=$?
2032 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 >  echo "$as_me:2032: \$? = $ac_status" >&5
2033    (exit $ac_status); }; }; then
2034 <  for ac_declaration in \
2034 >  ac_compiler_gnu=yes
2035 > else
2036 >  echo "$as_me: failed program was:" >&5
2037 > cat conftest.$ac_ext >&5
2038 > ac_compiler_gnu=no
2039 > fi
2040 > rm -f conftest.$ac_objext conftest.$ac_ext
2041 > ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2042 >
2043 > fi
2044 > echo "$as_me:2044: result: $ac_cv_cxx_compiler_gnu" >&5
2045 > echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2046 > GXX=`test $ac_compiler_gnu = yes && echo yes`
2047 > ac_test_CXXFLAGS=${CXXFLAGS+set}
2048 > ac_save_CXXFLAGS=$CXXFLAGS
2049 > CXXFLAGS="-g"
2050 > echo "$as_me:2050: checking whether $CXX accepts -g" >&5
2051 > echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2052 > if test "${ac_cv_prog_cxx_g+set}" = set; then
2053 >  echo $ECHO_N "(cached) $ECHO_C" >&6
2054 > else
2055 >  cat >conftest.$ac_ext <<_ACEOF
2056 > #line 2056 "configure"
2057 > #include "confdefs.h"
2058 >
2059 > int
2060 > main ()
2061 > {
2062 >
2063 >  ;
2064 >  return 0;
2065 > }
2066 > _ACEOF
2067 > rm -f conftest.$ac_objext
2068 > if { (eval echo "$as_me:2068: \"$ac_compile\"") >&5
2069 >  (eval $ac_compile) 2>&5
2070 >  ac_status=$?
2071 >  echo "$as_me:2071: \$? = $ac_status" >&5
2072 >  (exit $ac_status); } &&
2073 >         { ac_try='test -s conftest.$ac_objext'
2074 >  { (eval echo "$as_me:2074: \"$ac_try\"") >&5
2075 >  (eval $ac_try) 2>&5
2076 >  ac_status=$?
2077 >  echo "$as_me:2077: \$? = $ac_status" >&5
2078 >  (exit $ac_status); }; }; then
2079 >  ac_cv_prog_cxx_g=yes
2080 > else
2081 >  echo "$as_me: failed program was:" >&5
2082 > cat conftest.$ac_ext >&5
2083 > ac_cv_prog_cxx_g=no
2084 > fi
2085 > rm -f conftest.$ac_objext conftest.$ac_ext
2086 > fi
2087 > echo "$as_me:2087: result: $ac_cv_prog_cxx_g" >&5
2088 > echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2089 > if test "$ac_test_CXXFLAGS" = set; then
2090 >  CXXFLAGS=$ac_save_CXXFLAGS
2091 > elif test $ac_cv_prog_cxx_g = yes; then
2092 >  if test "$GXX" = yes; then
2093 >    CXXFLAGS="-g -O2"
2094 >  else
2095 >    CXXFLAGS="-g"
2096 >  fi
2097 > else
2098 >  if test "$GXX" = yes; then
2099 >    CXXFLAGS="-O2"
2100 >  else
2101 >    CXXFLAGS=
2102 >  fi
2103 > fi
2104 > for ac_declaration in \
2105     ''\
2106     '#include <stdlib.h>' \
2107     'extern "C" void std::exit (int) throw (); using std::exit;' \
# Line 2466 | Line 2111 | do
2111     'void exit (int);'
2112   do
2113    cat >conftest.$ac_ext <<_ACEOF
2114 < #line $LINENO "configure"
2115 < /* confdefs.h.  */
2471 < _ACEOF
2472 < cat confdefs.h >>conftest.$ac_ext
2473 < cat >>conftest.$ac_ext <<_ACEOF
2474 < /* end confdefs.h.  */
2114 > #line 2114 "configure"
2115 > #include "confdefs.h"
2116   #include <stdlib.h>
2117   $ac_declaration
2118   int
# Line 2483 | Line 2124 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2124   }
2125   _ACEOF
2126   rm -f conftest.$ac_objext
2127 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2127 > if { (eval echo "$as_me:2127: \"$ac_compile\"") >&5
2128    (eval $ac_compile) 2>&5
2129    ac_status=$?
2130 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 >  echo "$as_me:2130: \$? = $ac_status" >&5
2131    (exit $ac_status); } &&
2132           { ac_try='test -s conftest.$ac_objext'
2133 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133 >  { (eval echo "$as_me:2133: \"$ac_try\"") >&5
2134    (eval $ac_try) 2>&5
2135    ac_status=$?
2136 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 >  echo "$as_me:2136: \$? = $ac_status" >&5
2137    (exit $ac_status); }; }; then
2138    :
2139   else
2140    echo "$as_me: failed program was:" >&5
2141 < sed 's/^/| /' conftest.$ac_ext >&5
2501 <
2141 > cat conftest.$ac_ext >&5
2142   continue
2143   fi
2144   rm -f conftest.$ac_objext conftest.$ac_ext
2145    cat >conftest.$ac_ext <<_ACEOF
2146 < #line $LINENO "configure"
2147 < /* confdefs.h.  */
2508 < _ACEOF
2509 < cat confdefs.h >>conftest.$ac_ext
2510 < cat >>conftest.$ac_ext <<_ACEOF
2511 < /* end confdefs.h.  */
2146 > #line 2146 "configure"
2147 > #include "confdefs.h"
2148   $ac_declaration
2149   int
2150   main ()
# Line 2519 | Line 2155 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2155   }
2156   _ACEOF
2157   rm -f conftest.$ac_objext
2158 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2158 > if { (eval echo "$as_me:2158: \"$ac_compile\"") >&5
2159    (eval $ac_compile) 2>&5
2160    ac_status=$?
2161 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 >  echo "$as_me:2161: \$? = $ac_status" >&5
2162    (exit $ac_status); } &&
2163           { ac_try='test -s conftest.$ac_objext'
2164 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164 >  { (eval echo "$as_me:2164: \"$ac_try\"") >&5
2165    (eval $ac_try) 2>&5
2166    ac_status=$?
2167 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 >  echo "$as_me:2167: \$? = $ac_status" >&5
2168    (exit $ac_status); }; }; then
2169    break
2170   else
2171    echo "$as_me: failed program was:" >&5
2172 < sed 's/^/| /' conftest.$ac_ext >&5
2537 <
2172 > cat conftest.$ac_ext >&5
2173   fi
2174   rm -f conftest.$ac_objext conftest.$ac_ext
2175   done
2176 < rm -f conftest*
2177 < if test -n "$ac_declaration"; then
2178 <  echo '#ifdef __cplusplus' >>confdefs.h
2544 <  echo $ac_declaration      >>confdefs.h
2545 <  echo '#endif'             >>confdefs.h
2546 < fi
2176 > echo '#ifdef __cplusplus' >>confdefs.h
2177 > echo $ac_declaration      >>confdefs.h
2178 > echo '#endif'             >>confdefs.h
2179  
2180 < else
2181 <  echo "$as_me: failed program was:" >&5
2182 < sed 's/^/| /' conftest.$ac_ext >&5
2180 > ac_ext=c
2181 > ac_cpp='$CPP $CPPFLAGS'
2182 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2183 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2184 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
2185  
2186 + ac_ext=f90
2187 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2188 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2190 + if test -n "$ac_tool_prefix"; then
2191 +  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
2192 +  do
2193 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2194 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2195 + echo "$as_me:2195: checking for $ac_word" >&5
2196 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2197 + if test "${ac_cv_prog_F90+set}" = set; then
2198 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2199 + else
2200 +  if test -n "$F90"; then
2201 +  ac_cv_prog_F90="$F90" # Let the user override the test.
2202 + else
2203 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
2204 + ac_dummy="$PATH"
2205 + for ac_dir in $ac_dummy; do
2206 +  IFS=$ac_save_IFS
2207 +  test -z "$ac_dir" && ac_dir=.
2208 +  $as_executable_p "$ac_dir/$ac_word" || continue
2209 + ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
2210 + echo "$as_me:2210: found $ac_dir/$ac_word" >&5
2211 + break
2212 + done
2213 +
2214   fi
2215 + fi
2216 + F90=$ac_cv_prog_F90
2217 + if test -n "$F90"; then
2218 +  echo "$as_me:2218: result: $F90" >&5
2219 + echo "${ECHO_T}$F90" >&6
2220 + else
2221 +  echo "$as_me:2221: result: no" >&5
2222 + echo "${ECHO_T}no" >&6
2223 + fi
2224 +
2225 +    test -n "$F90" && break
2226 +  done
2227 + fi
2228 + if test -z "$F90"; then
2229 +  ac_ct_F90=$F90
2230 +  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
2231 + do
2232 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
2233 + set dummy $ac_prog; ac_word=$2
2234 + echo "$as_me:2234: checking for $ac_word" >&5
2235 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2236 + if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
2237 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2238 + else
2239 +  if test -n "$ac_ct_F90"; then
2240 +  ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
2241 + else
2242 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
2243 + ac_dummy="$PATH"
2244 + for ac_dir in $ac_dummy; do
2245 +  IFS=$ac_save_IFS
2246 +  test -z "$ac_dir" && ac_dir=.
2247 +  $as_executable_p "$ac_dir/$ac_word" || continue
2248 + ac_cv_prog_ac_ct_F90="$ac_prog"
2249 + echo "$as_me:2249: found $ac_dir/$ac_word" >&5
2250 + break
2251 + done
2252 +
2253 + fi
2254 + fi
2255 + ac_ct_F90=$ac_cv_prog_ac_ct_F90
2256 + if test -n "$ac_ct_F90"; then
2257 +  echo "$as_me:2257: result: $ac_ct_F90" >&5
2258 + echo "${ECHO_T}$ac_ct_F90" >&6
2259 + else
2260 +  echo "$as_me:2260: result: no" >&5
2261 + echo "${ECHO_T}no" >&6
2262 + fi
2263 +
2264 +  test -n "$ac_ct_F90" && break
2265 + done
2266 +
2267 +  F90=$ac_ct_F90
2268 + fi
2269 +
2270 + # If we don't use `.F90' as extension, the preprocessor is not run on the
2271 + # input file.
2272 + ac_save_ext=$ac_ext
2273 + ac_ext=F90
2274 + echo "$as_me:2274: checking whether we are using the GNU Fortran 90 compiler" >&5
2275 + echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
2276 + if test "${ac_cv_f90_compiler_gnu+set}" = set; then
2277 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2278 + else
2279 +  cat >conftest.$ac_ext <<_ACEOF
2280 +
2281 + program main
2282 +
2283 + #ifndef __GNUC__
2284 +       choke me
2285 + #endif
2286 +
2287 + end program main
2288 +
2289 + _ACEOF
2290 + rm -f conftest.$ac_objext
2291 + if { (eval echo "$as_me:2291: \"$ac_compile\"") >&5
2292 +  (eval $ac_compile) 2>&5
2293 +  ac_status=$?
2294 +  echo "$as_me:2294: \$? = $ac_status" >&5
2295 +  (exit $ac_status); } &&
2296 +         { ac_try='test -s conftest.$ac_objext'
2297 +  { (eval echo "$as_me:2297: \"$ac_try\"") >&5
2298 +  (eval $ac_try) 2>&5
2299 +  ac_status=$?
2300 +  echo "$as_me:2300: \$? = $ac_status" >&5
2301 +  (exit $ac_status); }; }; then
2302 +  ac_compiler_gnu=yes
2303 + else
2304 +  echo "$as_me: failed program was:" >&5
2305 + cat conftest.$ac_ext >&5
2306 + ac_compiler_gnu=no
2307 + fi
2308   rm -f conftest.$ac_objext conftest.$ac_ext
2309 + ac_cv_f90_compiler_gnu=$ac_compiler_gnu
2310 +
2311 + fi
2312 + echo "$as_me:2312: result: $ac_cv_f90_compiler_gnu" >&5
2313 + echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
2314 + ac_ext=$ac_save_ext
2315 + G95=`test $ac_compiler_gnu = yes && echo yes`
2316   ac_ext=c
2317   ac_cpp='$CPP $CPPFLAGS'
2318   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321  
2322 + # Try to determine native compiler flags that allow us to use F90 suffix
2323 + # for preprocessed f90 source.
2324  
2325 + if test "$ac_test_PREPFLAG" != "set"; then
2326 +  PREPFLAG=""
2327 +  case "${host_cpu}-${host_os}" in
2328  
2329 +  *linux*) if test "$F90" = ifc; then
2330 +                    PREPFLAG="-fpp1 "
2331 +                fi;;
2332 +  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
2333 +                    PREPFLAG="-qsuffix=cpp=F90 "
2334 +                fi;;
2335 +  *darwin*)
2336 +        if test "$F90" = f90 -o "$F90" = xlf90; then
2337 +                PREPFLAG="-qsuffix=cpp=F90 "
2338 +        fi;;
2339 +  esac
2340  
2341 +  if test -z "$PREPFLAG"; then
2342 +        echo ""
2343 +        echo "**********************************************************"
2344 +        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
2345 +        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
2346 +        echo "* (otherwise, an empty PREPFLAG will be used)            *"
2347 +        echo "**********************************************************"
2348 +        echo ""
2349 +        PREPFLAG=""
2350 +  fi
2351  
2352 +  echo "$as_me:2352: checking to make sure F90 preprocessor flag works" >&5
2353 + echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
2354 +
2355 +  ac_ext=f90
2356 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2357 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2359 +
2360 +  ac_save_ext=$ac_ext
2361 +  ac_ext=F90
2362 +  ac_save_F90FLAGS=$F90FLAGS
2363 +
2364 +  if test "$PREPFLAG"; then
2365 +  F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST"
2366 + fi
2367 +
2368 +    cat >conftest.$ac_ext <<_ACEOF
2369 +
2370 + program main
2371 +
2372 +  integer :: i
2373 +  i = 1
2374 +
2375 + end program main
2376 +
2377 + _ACEOF
2378 + rm -f conftest.$ac_objext
2379 + if { (eval echo "$as_me:2379: \"$ac_compile\"") >&5
2380 +  (eval $ac_compile) 2>&5
2381 +  ac_status=$?
2382 +  echo "$as_me:2382: \$? = $ac_status" >&5
2383 +  (exit $ac_status); } &&
2384 +         { ac_try='test -s conftest.$ac_objext'
2385 +  { (eval echo "$as_me:2385: \"$ac_try\"") >&5
2386 +  (eval $ac_try) 2>&5
2387 +  ac_status=$?
2388 +  echo "$as_me:2388: \$? = $ac_status" >&5
2389 +  (exit $ac_status); }; }; then
2390 +  prepflagworks=1
2391 + else
2392 +  echo "$as_me: failed program was:" >&5
2393 + cat conftest.$ac_ext >&5
2394 + prepflagworks=0
2395 + fi
2396 + rm -f conftest.$ac_objext conftest.$ac_ext
2397 +
2398 +  F90FLAGS=$ac_save_F90FLAGS
2399 +  ac_ext=$ac_save_ext
2400 +  ac_ext=c
2401 + ac_cpp='$CPP $CPPFLAGS'
2402 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
2405 +
2406 +  if test "$prepflagworks" = 1; then
2407 +    echo "$as_me:2407: result: yes" >&5
2408 + echo "${ECHO_T}yes" >&6
2409 +
2410 +  else
2411 +    echo "$as_me:2411: result: no" >&5
2412 + echo "${ECHO_T}no" >&6
2413 +    { { echo "$as_me:2413: error: Can't figure out working Fortran90 preprocessor flag" >&5
2414 + echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
2415 +   { (exit 1); exit 1; }; }
2416 +  fi
2417 + fi
2418 +
2419 + # Try to determine native compiler flags that allow us to use F90 suffix
2420 + # for preprocessed f90 source with -D type defines
2421 +
2422 + if test "$ac_test_PREPDEFFLAG" != "set"; then
2423 +  PREPDEFFLAG=""
2424 +  case "${host_cpu}-${host_os}" in
2425 +
2426 +  *linux*) if test "$F90" = ifc; then
2427 +                    PREPDEFFLAG=" "
2428 +                fi;;
2429 +  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
2430 +                    PREPDEFFLAG="-WF,"
2431 +                fi;;
2432 +  *darwin*)
2433 +        if test "$F90" = f90 -o "$F90" = xlf90; then
2434 +                PREPDEFFLAG="-WF,"
2435 +        fi;;
2436 +  esac
2437 +
2438 +  if test -z "$PREPDEFFLAG"; then
2439 +        echo ""
2440 +        echo "*************************************************************"
2441 +        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
2442 +        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
2443 +        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
2444 +        echo "*************************************************************"
2445 +        echo ""
2446 +        PREPDEFFLAG=" "
2447 +  fi
2448 +
2449 +  echo "$as_me:2449: checking to make sure F90 preprocessor define flag works" >&5
2450 + echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
2451 +
2452 +  ac_ext=f90
2453 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2454 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2456 +
2457 +  ac_save_ext=$ac_ext
2458 +  ac_ext=F90
2459 +  ac_save_F90FLAGS=$F90FLAGS
2460 +
2461 +  if test "$PREPDEFFLAG"; then
2462 +  F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST"
2463 + fi
2464 +
2465 +    cat >conftest.$ac_ext <<_ACEOF
2466 +
2467 + program main
2468 +
2469 +  integer :: i
2470 + #ifdef TEST
2471 +  i = 1
2472 + #else
2473 +  choke me
2474 + #endif
2475 +
2476 + end program main
2477 +
2478 + _ACEOF
2479 + rm -f conftest.$ac_objext
2480 + if { (eval echo "$as_me:2480: \"$ac_compile\"") >&5
2481 +  (eval $ac_compile) 2>&5
2482 +  ac_status=$?
2483 +  echo "$as_me:2483: \$? = $ac_status" >&5
2484 +  (exit $ac_status); } &&
2485 +         { ac_try='test -s conftest.$ac_objext'
2486 +  { (eval echo "$as_me:2486: \"$ac_try\"") >&5
2487 +  (eval $ac_try) 2>&5
2488 +  ac_status=$?
2489 +  echo "$as_me:2489: \$? = $ac_status" >&5
2490 +  (exit $ac_status); }; }; then
2491 +  prepdefflagworks=1
2492 + else
2493 +  echo "$as_me: failed program was:" >&5
2494 + cat conftest.$ac_ext >&5
2495 + prepdefflagworks=0
2496 + fi
2497 + rm -f conftest.$ac_objext conftest.$ac_ext
2498 +
2499 +  F90FLAGS=$ac_save_F90FLAGS
2500 +  ac_ext=$ac_save_ext
2501 +  ac_ext=c
2502 + ac_cpp='$CPP $CPPFLAGS'
2503 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2504 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2505 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
2506 +
2507 +  if test "$prepdefflagworks" = 1; then
2508 +    echo "$as_me:2508: result: yes" >&5
2509 + echo "${ECHO_T}yes" >&6
2510 +
2511 +  else
2512 +    echo "$as_me:2512: result: no" >&5
2513 + echo "${ECHO_T}no" >&6
2514 +    { { echo "$as_me:2514: error: Can't figure out working Fortran90 preprocessor define flag" >&5
2515 + echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
2516 +   { (exit 1); exit 1; }; }
2517 +  fi
2518 + fi
2519 +
2520 + case $debug in
2521 +  1)
2522 +     ;;
2523 +  *)
2524 +
2525   # Try to determine "good" native compiler flags if none specified on command
2526   # line
2527   if test "$ac_test_CFLAGS" != "set"; then
# Line 2622 | Line 2583 | if test "$ac_test_CFLAGS" != "set"; then
2583    if test $ac_cv_c_compiler_gnu = yes; then
2584      # -malign-double for x86 systems
2585  
2586 <
2626 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
2586 > echo "$as_me:2586: checking whether ${CC-cc} accepts -malign-double" >&5
2587   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
2588   if test "${ac_align_double+set}" = set; then
2589    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2637 | Line 2597 | echo "$as_me:$LINENO: result: $ac_align_double" >&5
2597   rm -f conftest*
2598  
2599   fi
2600 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
2600 > echo "$as_me:2600: result: $ac_align_double" >&5
2601   echo "${ECHO_T}$ac_align_double" >&6
2602   if test "$ac_align_double" = yes; then
2603          :
# Line 2649 | Line 2609 | fi
2609  
2610      # -fstrict-aliasing for gcc-2.95+
2611  
2612 <
2653 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
2612 > echo "$as_me:2612: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
2613   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
2614   if test "${ac_fstrict_aliasing+set}" = set; then
2615    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2664 | Line 2623 | echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&
2623   rm -f conftest*
2624  
2625   fi
2626 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
2626 > echo "$as_me:2626: result: $ac_fstrict_aliasing" >&5
2627   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
2628   if test "$ac_fstrict_aliasing" = yes; then
2629          :
# Line 2681 | Line 2640 | echo "$as_me:$LINENO: checking whether ${CC-cc} accept
2640                    case "${host_cpu}" in
2641            i586*)
2642  
2643 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
2643 > echo "$as_me:2643: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
2644   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
2645   if test "${ac_cpu_pentium+set}" = set; then
2646    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2695 | Line 2654 | echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
2654   rm -f conftest*
2655  
2656   fi
2657 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
2657 > echo "$as_me:2657: result: $ac_cpu_pentium" >&5
2658   echo "${ECHO_T}$ac_cpu_pentium" >&6
2659   if test "$ac_cpu_pentium" = yes; then
2660          :
# Line 2703 | Line 2662 | else
2662   else
2663          :
2664  
2665 <
2707 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
2665 > echo "$as_me:2665: checking whether ${CC-cc} accepts -mpentium" >&5
2666   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
2667   if test "${ac_pentium+set}" = set; then
2668    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2718 | Line 2676 | echo "$as_me:$LINENO: result: $ac_pentium" >&5
2676   rm -f conftest*
2677  
2678   fi
2679 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
2679 > echo "$as_me:2679: result: $ac_pentium" >&5
2680   echo "${ECHO_T}$ac_pentium" >&6
2681   if test "$ac_pentium" = yes; then
2682          :
# Line 2733 | Line 2691 | echo "$as_me:$LINENO: checking whether ${CC-cc} accept
2691                    ;;
2692            i686*)
2693  
2694 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
2694 > echo "$as_me:2694: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
2695   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
2696   if test "${ac_cpu_pentiumpro+set}" = set; then
2697    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2747 | Line 2705 | echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
2705   rm -f conftest*
2706  
2707   fi
2708 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
2708 > echo "$as_me:2708: result: $ac_cpu_pentiumpro" >&5
2709   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
2710   if test "$ac_cpu_pentiumpro" = yes; then
2711          :
# Line 2755 | Line 2713 | else
2713   else
2714          :
2715  
2716 <
2759 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
2716 > echo "$as_me:2716: checking whether ${CC-cc} accepts -mpentiumpro" >&5
2717   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
2718   if test "${ac_pentiumpro+set}" = set; then
2719    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2770 | Line 2727 | echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
2727   rm -f conftest*
2728  
2729   fi
2730 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
2730 > echo "$as_me:2730: result: $ac_pentiumpro" >&5
2731   echo "${ECHO_T}$ac_pentiumpro" >&6
2732   if test "$ac_pentiumpro" = yes; then
2733          :
# Line 2788 | Line 2745 | fi
2745                  is60x=`echo $cputype | egrep "^600-9e?$"`
2746                  if test -n "$is60x"; then
2747  
2748 <
2792 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
2748 > echo "$as_me:2748: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
2749   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
2750   if test "${ac_m_cpu_60x+set}" = set; then
2751    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2803 | Line 2759 | echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
2759   rm -f conftest*
2760  
2761   fi
2762 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
2762 > echo "$as_me:2762: result: $ac_m_cpu_60x" >&5
2763   echo "${ECHO_T}$ac_m_cpu_60x" >&6
2764   if test "$ac_m_cpu_60x" = yes; then
2765          :
# Line 2815 | Line 2771 | fi
2771  
2772                  elif test "$cputype" = 750; then
2773  
2774 <
2819 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
2774 > echo "$as_me:2774: checking whether we are using gcc 2.95 or later" >&5
2775   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
2776   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
2777    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2830 | Line 2785 | if { ac_try='${CC-cc} -E conftest.c'
2785   #endif
2786   EOF
2787   if { ac_try='${CC-cc} -E conftest.c'
2788 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 >  { (eval echo "$as_me:2788: \"$ac_try\"") >&5
2789    (eval $ac_try) 2>&5
2790    ac_status=$?
2791 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 >  echo "$as_me:2791: \$? = $ac_status" >&5
2792    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2793    ac_cv_prog_gcc_2_95=yes
2794   else
# Line 2841 | Line 2796 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&
2796   fi
2797  
2798   fi
2799 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
2799 > echo "$as_me:2799: result: $ac_cv_prog_gcc_2_95" >&5
2800   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
2801   if test "$ac_cv_prog_gcc_2_95" = yes; then
2802          :
2803  
2804 <
2850 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
2804 > echo "$as_me:2804: checking whether ${CC-cc} accepts -mcpu=750" >&5
2805   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
2806   if test "${ac_m_cpu_750+set}" = set; then
2807    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2861 | Line 2815 | echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
2815   rm -f conftest*
2816  
2817   fi
2818 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
2818 > echo "$as_me:2818: result: $ac_m_cpu_750" >&5
2819   echo "${ECHO_T}$ac_m_cpu_750" >&6
2820   if test "$ac_m_cpu_750" = yes; then
2821          :
# Line 2879 | Line 2833 | fi
2833                  fi
2834                  if test -z "$CPU_FLAGS"; then
2835  
2836 <
2883 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
2836 > echo "$as_me:2836: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
2837   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
2838   if test "${ac_m_cpu_powerpc+set}" = set; then
2839    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2894 | Line 2847 | echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
2847   rm -f conftest*
2848  
2849   fi
2850 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
2850 > echo "$as_me:2850: result: $ac_m_cpu_powerpc" >&5
2851   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
2852   if test "$ac_m_cpu_powerpc" = yes; then
2853          :
# Line 2907 | Line 2860 | fi
2860                  fi
2861                  if test -z "$CPU_FLAGS"; then
2862  
2863 <
2911 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
2863 > echo "$as_me:2863: checking whether ${CC-cc} accepts -mpowerpc" >&5
2864   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
2865   if test "${ac_m_powerpc+set}" = set; then
2866    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2922 | Line 2874 | echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
2874   rm -f conftest*
2875  
2876   fi
2877 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
2877 > echo "$as_me:2877: result: $ac_m_powerpc" >&5
2878   echo "${ECHO_T}$ac_m_powerpc" >&6
2879   if test "$ac_m_powerpc" = yes; then
2880          :
# Line 2951 | Line 2903 | fi
2903          CFLAGS="-O3"
2904    fi
2905  
2906 <
2955 <
2956 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
2906 > echo "$as_me:2906: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
2907   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
2908   if test "${ac_guessed_cflags+set}" = set; then
2909    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2967 | Line 2917 | echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
2917   rm -f conftest*
2918  
2919   fi
2920 < echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
2920 > echo "$as_me:2920: result: $ac_guessed_cflags" >&5
2921   echo "${ECHO_T}$ac_guessed_cflags" >&6
2922   if test "$ac_guessed_cflags" = yes; then
2923          :
# Line 2986 | Line 2936 | fi
2936  
2937   fi
2938  
2989
2939   fi
2940  
2992 ac_ext=cc
2993 ac_cpp='$CXXCPP $CPPFLAGS'
2994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2997 if test -n "$ac_tool_prefix"; then
2998  for ac_prog in $CCC icpc icc xlC g++ c++
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:$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
3006 else
3007  if test -n "$CXX"; then
3008  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3009 else
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:$LINENO: result: $CXX" >&5
3029 echo "${ECHO_T}$CXX" >&6
3030 else
3031  echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6
3033 fi
3034
3035    test -n "$CXX" && break
3036  done
3037 fi
3038 if test -z "$CXX"; then
3039  ac_ct_CXX=$CXX
3040  for ac_prog in $CCC icpc icc xlC g++ c++
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:$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
3048 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 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:$LINENO: result: $ac_ct_CXX" >&5
3071 echo "${ECHO_T}$ac_ct_CXX" >&6
3072 else
3073  echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6
3075 fi
3076
3077  test -n "$ac_ct_CXX" && break
3078 done
3079 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3080
3081  CXX=$ac_ct_CXX
3082 fi
3083
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 $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 ()
3120 {
3121 #ifndef __GNUC__
3122       choke me
3123 #endif
3124
3125  ;
3126  return 0;
3127 }
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3131  (eval $ac_compile) 2>&5
3132  ac_status=$?
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:$LINENO: \"$ac_try\"") >&5
3137  (eval $ac_try) 2>&5
3138  ac_status=$?
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 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:$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:$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 $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 ()
3173 {
3174
3175  ;
3176  return 0;
3177 }
3178 _ACEOF
3179 rm -f conftest.$ac_objext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3181  (eval $ac_compile) 2>&5
3182  ac_status=$?
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:$LINENO: \"$ac_try\"") >&5
3187  (eval $ac_try) 2>&5
3188  ac_status=$?
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 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:$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
3204 elif test $ac_cv_prog_cxx_g = yes; then
3205  if test "$GXX" = yes; then
3206    CXXFLAGS="-g -O2"
3207  else
3208    CXXFLAGS="-g"
3209  fi
3210 else
3211  if test "$GXX" = yes; then
3212    CXXFLAGS="-O2"
3213  else
3214    CXXFLAGS=
3215  fi
3216 fi
3217 for ac_declaration in \
3218   ''\
3219   '#include <stdlib.h>' \
3220   'extern "C" void std::exit (int) throw (); using std::exit;' \
3221   'extern "C" void std::exit (int); using std::exit;' \
3222   'extern "C" void exit (int) throw ();' \
3223   'extern "C" void exit (int);' \
3224   'void exit (int);'
3225 do
3226  cat >conftest.$ac_ext <<_ACEOF
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
3236 main ()
3237 {
3238 exit (42);
3239  ;
3240  return 0;
3241 }
3242 _ACEOF
3243 rm -f conftest.$ac_objext
3244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245  (eval $ac_compile) 2>&5
3246  ac_status=$?
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:$LINENO: \"$ac_try\"") >&5
3251  (eval $ac_try) 2>&5
3252  ac_status=$?
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 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 $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 ()
3273 {
3274 exit (42);
3275  ;
3276  return 0;
3277 }
3278 _ACEOF
3279 rm -f conftest.$ac_objext
3280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281  (eval $ac_compile) 2>&5
3282  ac_status=$?
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:$LINENO: \"$ac_try\"") >&5
3287  (eval $ac_try) 2>&5
3288  ac_status=$?
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 sed 's/^/| /' conftest.$ac_ext >&5
3295
3296 fi
3297 rm -f conftest.$ac_objext conftest.$ac_ext
3298 done
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'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
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
2941   # Try to determine "good" native compiler flags if none specified on command
2942   # line
2943   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 3365 | Line 2990 | if test "$ac_test_CXXFLAGS" != "set"; then
2990    if test $ac_cv_c_compiler_gnu = yes; then
2991      # -malign-double for x86 systems
2992  
2993 <
3369 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
2993 > echo "$as_me:2993: checking whether ${CXX-c++} accepts -malign-double" >&5
2994   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
2995   if test "${ac_align_double+set}" = set; then
2996    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3380 | Line 3004 | echo "$as_me:$LINENO: result: $ac_align_double" >&5
3004   rm -f conftest*
3005  
3006   fi
3007 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
3007 > echo "$as_me:3007: result: $ac_align_double" >&5
3008   echo "${ECHO_T}$ac_align_double" >&6
3009   if test "$ac_align_double" = yes; then
3010          :
# Line 3392 | Line 3016 | fi
3016  
3017      # -fstrict-aliasing for gcc-2.95+
3018  
3019 <
3396 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3019 > echo "$as_me:3019: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3020   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
3021   if test "${ac_fstrict_aliasing+set}" = set; then
3022    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3407 | Line 3030 | echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&
3030   rm -f conftest*
3031  
3032   fi
3033 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
3033 > echo "$as_me:3033: result: $ac_fstrict_aliasing" >&5
3034   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
3035   if test "$ac_fstrict_aliasing" = yes; then
3036          :
# Line 3424 | Line 3047 | echo "$as_me:$LINENO: checking whether ${CC-cc} accept
3047                    case "${host_cpu}" in
3048            i586*)
3049  
3050 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3050 > echo "$as_me:3050: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3051   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
3052   if test "${ac_cpu_pentium+set}" = set; then
3053    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3438 | Line 3061 | echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
3061   rm -f conftest*
3062  
3063   fi
3064 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
3064 > echo "$as_me:3064: result: $ac_cpu_pentium" >&5
3065   echo "${ECHO_T}$ac_cpu_pentium" >&6
3066   if test "$ac_cpu_pentium" = yes; then
3067          :
# Line 3446 | Line 3069 | else
3069   else
3070          :
3071  
3072 <
3450 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
3072 > echo "$as_me:3072: checking whether ${CXX-c++} accepts -mpentium" >&5
3073   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
3074   if test "${ac_pentium+set}" = set; then
3075    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3461 | Line 3083 | echo "$as_me:$LINENO: result: $ac_pentium" >&5
3083   rm -f conftest*
3084  
3085   fi
3086 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
3086 > echo "$as_me:3086: result: $ac_pentium" >&5
3087   echo "${ECHO_T}$ac_pentium" >&6
3088   if test "$ac_pentium" = yes; then
3089          :
# Line 3476 | Line 3098 | echo "$as_me:$LINENO: checking whether ${CXX-c++} acce
3098                    ;;
3099            i686*)
3100  
3101 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3101 > echo "$as_me:3101: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3102   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
3103   if test "${ac_cpu_pentiumpro+set}" = set; then
3104    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3490 | Line 3112 | echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
3112   rm -f conftest*
3113  
3114   fi
3115 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
3115 > echo "$as_me:3115: result: $ac_cpu_pentiumpro" >&5
3116   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
3117   if test "$ac_cpu_pentiumpro" = yes; then
3118          :
3119          CPU_FLAGS=-mcpu=pentiumpro
3120   else
3121          :
3500
3122  
3123 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3123 > echo "$as_me:3123: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3124   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
3125   if test "${ac_pentiumpro+set}" = set; then
3126    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3513 | Line 3134 | echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
3134   rm -f conftest*
3135  
3136   fi
3137 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
3137 > echo "$as_me:3137: result: $ac_pentiumpro" >&5
3138   echo "${ECHO_T}$ac_pentiumpro" >&6
3139   if test "$ac_pentiumpro" = yes; then
3140          :
# Line 3531 | Line 3152 | fi
3152                  is60x=`echo $cputype | egrep "^600-9e?$"`
3153                  if test -n "$is60x"; then
3154  
3155 <
3535 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3155 > echo "$as_me:3155: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3156   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
3157   if test "${ac_m_cpu_60x+set}" = set; then
3158    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3546 | Line 3166 | echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
3166   rm -f conftest*
3167  
3168   fi
3169 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
3169 > echo "$as_me:3169: result: $ac_m_cpu_60x" >&5
3170   echo "${ECHO_T}$ac_m_cpu_60x" >&6
3171   if test "$ac_m_cpu_60x" = yes; then
3172          :
# Line 3558 | Line 3178 | fi
3178  
3179                  elif test "$cputype" = 750; then
3180  
3181 <
3562 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
3181 > echo "$as_me:3181: checking whether we are using gcc 2.95 or later" >&5
3182   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
3183   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
3184    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3573 | Line 3192 | if { ac_try='${CC-cc} -E conftest.c'
3192   #endif
3193   EOF
3194   if { ac_try='${CC-cc} -E conftest.c'
3195 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 >  { (eval echo "$as_me:3195: \"$ac_try\"") >&5
3196    (eval $ac_try) 2>&5
3197    ac_status=$?
3198 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 >  echo "$as_me:3198: \$? = $ac_status" >&5
3199    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3200    ac_cv_prog_gcc_2_95=yes
3201   else
# Line 3584 | Line 3203 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&
3203   fi
3204  
3205   fi
3206 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
3206 > echo "$as_me:3206: result: $ac_cv_prog_gcc_2_95" >&5
3207   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
3208   if test "$ac_cv_prog_gcc_2_95" = yes; then
3209          :
3210  
3211 <
3593 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3211 > echo "$as_me:3211: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3212   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
3213   if test "${ac_m_cpu_750+set}" = set; then
3214    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3604 | Line 3222 | echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
3222   rm -f conftest*
3223  
3224   fi
3225 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
3225 > echo "$as_me:3225: result: $ac_m_cpu_750" >&5
3226   echo "${ECHO_T}$ac_m_cpu_750" >&6
3227   if test "$ac_m_cpu_750" = yes; then
3228          :
# Line 3622 | Line 3240 | fi
3240                  fi
3241                  if test -z "$CPU_FLAGS"; then
3242  
3243 <
3626 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
3243 > echo "$as_me:3243: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
3244   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
3245   if test "${ac_m_cpu_powerpc+set}" = set; then
3246    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3637 | Line 3254 | echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
3254   rm -f conftest*
3255  
3256   fi
3257 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
3257 > echo "$as_me:3257: result: $ac_m_cpu_powerpc" >&5
3258   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
3259   if test "$ac_m_cpu_powerpc" = yes; then
3260          :
# Line 3650 | Line 3267 | fi
3267                  fi
3268                  if test -z "$CPU_FLAGS"; then
3269  
3270 <
3654 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
3270 > echo "$as_me:3270: checking whether ${CXX-c++} accepts -mpowerpc" >&5
3271   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
3272   if test "${ac_m_powerpc+set}" = set; then
3273    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3665 | Line 3281 | echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
3281   rm -f conftest*
3282  
3283   fi
3284 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
3284 > echo "$as_me:3284: result: $ac_m_powerpc" >&5
3285   echo "${ECHO_T}$ac_m_powerpc" >&6
3286   if test "$ac_m_powerpc" = yes; then
3287          :
# Line 3694 | Line 3310 | fi
3310          CXXFLAGS="-O3"
3311    fi
3312  
3313 <
3698 <
3699 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
3313 > echo "$as_me:3313: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
3314   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
3315   if test "${ac_guessed_cxxflags+set}" = set; then
3316    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3710 | Line 3324 | echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&
3324   rm -f conftest*
3325  
3326   fi
3327 < echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
3327 > echo "$as_me:3327: result: $ac_guessed_cxxflags" >&5
3328   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
3329   if test "$ac_guessed_cxxflags" = yes; then
3330          :
# Line 3729 | Line 3343 | fi
3343  
3344   fi
3345  
3732
3346   fi
3347  
3735 ac_ext=f90
3736 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3737 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3739 if test -n "$ac_tool_prefix"; then
3740  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
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:$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
3748 else
3749  if test -n "$F90"; then
3750  ac_cv_prog_F90="$F90" # Let the user override the test.
3751 else
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:$LINENO: result: $F90" >&5
3771 echo "${ECHO_T}$F90" >&6
3772 else
3773  echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6
3775 fi
3776
3777    test -n "$F90" && break
3778  done
3779 fi
3780 if test -z "$F90"; then
3781  ac_ct_F90=$F90
3782  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
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:$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
3790 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 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:$LINENO: result: $ac_ct_F90" >&5
3813 echo "${ECHO_T}$ac_ct_F90" >&6
3814 else
3815  echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3817 fi
3818
3819  test -n "$ac_ct_F90" && break
3820 done
3821
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:$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
3834 else
3835  cat >conftest.$ac_ext <<_ACEOF
3836
3837 program main
3838
3839 #ifndef __GNUC__
3840       choke me
3841 #endif
3842
3843 end program main
3844
3845 _ACEOF
3846 rm -f conftest.$ac_objext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3848  (eval $ac_compile) 2>&5
3849  ac_status=$?
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:$LINENO: \"$ac_try\"") >&5
3854  (eval $ac_try) 2>&5
3855  ac_status=$?
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 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:$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`
3873 ac_ext=c
3874 ac_cpp='$CPP $CPPFLAGS'
3875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
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
3348   # Try to determine "good" native compiler flags if none specified on command
3349   # line
3350  
3351 < if test "$ac_test_F90FLAGS" != "set"; then
3351 > if test x"$F90FLAGS" = x ; then
3352    F90FLAGS=""
3353    case "${host_cpu}-${host_os}" in
3354  
# Line 3936 | Line 3401 | if test "$ac_test_F90FLAGS" != "set"; then
3401          F90FLAGS="-O3"
3402    fi
3403  
3404 <
3940 < echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
3404 > echo "$as_me:3404: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
3405   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
3406   if test "${ac_guessed_f90flags+set}" = set; then
3407    echo $ECHO_N "(cached) $ECHO_C" >&6
3408   else
3409  
3946
3947
3410   ac_ext=f90
3411   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3412   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3953 | Line 3415 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415   echo 'program main' > conftest.$ac_ext
3416   echo 'end program main' >> conftest.$ac_ext
3417   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
3418 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3418 > if { (eval echo "$as_me:3418: \"$ac_compile\"") >&5
3419    (eval $ac_compile) 2>&5
3420    ac_status=$?
3421 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 >  echo "$as_me:3421: \$? = $ac_status" >&5
3422    (exit $ac_status); }; then
3423          ac_guessed_f90flags=yes
3424   else
# Line 3969 | Line 3431 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3431   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3432   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433  
3972
3434   fi
3435 < echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
3435 > echo "$as_me:3435: result: $ac_guessed_f90flags" >&5
3436   echo "${ECHO_T}$ac_guessed_f90flags" >&6
3437   if test "$ac_guessed_f90flags" = yes; then
3438          :
# Line 3987 | Line 3448 | else
3448          echo "**********************************************************"
3449          echo ""
3450          F90FLAGS=""
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
4003 if test "$ac_test_PREPFLAG" != "set"; then
4004  PREPFLAG=""
4005  case "${host_cpu}-${host_os}" in
4006
4007  *linux*) if test "$F90" = ifc; then
4008                    PREPFLAG="-fpp1 "
4009                fi;;
4010  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
4011                    PREPFLAG="-qsuffix=cpp=F90 "
4012                fi;;
4013  *darwin*)
4014        if test "$F90" = f90 -o "$F90" = xlf90; then
4015                PREPFLAG="-qsuffix=cpp=F90 "
4016        fi;;
4017  esac
4018
4019  if test -z "$PREPFLAG"; then
4020        echo ""
4021        echo "**********************************************************"
4022        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
4023        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
4024        echo "* (otherwise, an empty PREPFLAG will be used)            *"
4025        echo "**********************************************************"
4026        echo ""
4027        PREPFLAG=""
4028  fi
4029
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'
4037 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3451  
4039  ac_save_ext=$ac_ext
4040  ac_ext=F90
4041  ac_save_F90FLAGS=$F90FLAGS
4042
4043  if test "$PREPFLAG"; then
4044  F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST"
3452   fi
3453  
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:$LINENO: \"$ac_compile\"") >&5
4061  (eval $ac_compile) 2>&5
4062  ac_status=$?
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:$LINENO: \"$ac_try\"") >&5
4067  (eval $ac_try) 2>&5
4068  ac_status=$?
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 sed 's/^/| /' conftest.$ac_ext >&5
4075
4076 prepflagworks=0
3454   fi
4078 rm -f conftest.$ac_objext conftest.$ac_ext
3455  
3456 <  F90FLAGS=$ac_save_F90FLAGS
3457 <  ac_ext=$ac_save_ext
4082 <  ac_ext=c
4083 < ac_cpp='$CPP $CPPFLAGS'
4084 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
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
3456 >     ;;
3457 > esac
3458  
4088
4089
4090  if test "$prepflagworks" = 1; then
4091    echo "$as_me:$LINENO: result: yes" >&5
4092 echo "${ECHO_T}yes" >&6
4093
4094  else
4095    echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
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
4110 if test "$ac_test_PREPDEFFLAG" != "set"; then
4111  PREPDEFFLAG=""
4112  case "${host_cpu}-${host_os}" in
4113
4114  *linux*) if test "$F90" = ifc; then
4115                    PREPDEFFLAG=" "
4116                fi;;
4117  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
4118                    PREPDEFFLAG="-WF,"
4119                fi;;
4120  *darwin*)
4121        if test "$F90" = f90 -o "$F90" = xlf90; then
4122                PREPDEFFLAG="-WF,"
4123        fi;;
4124  esac
4125
4126  if test -z "$PREPDEFFLAG"; then
4127        echo ""
4128        echo "*************************************************************"
4129        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
4130        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
4131        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
4132        echo "*************************************************************"
4133        echo ""
4134        PREPDEFFLAG=" "
4135  fi
4136
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'
4144 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4145
4146  ac_save_ext=$ac_ext
4147  ac_ext=F90
4148  ac_save_F90FLAGS=$F90FLAGS
4149
4150  if test "$PREPDEFFLAG"; then
4151  F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST"
4152 fi
4153
4154    cat >conftest.$ac_ext <<_ACEOF
4155
4156
4157 program main
4158
4159  integer :: i
4160 #ifdef TEST
4161  i = 1
4162 #else
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:$LINENO: \"$ac_compile\"") >&5
4172  (eval $ac_compile) 2>&5
4173  ac_status=$?
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:$LINENO: \"$ac_try\"") >&5
4178  (eval $ac_try) 2>&5
4179  ac_status=$?
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 sed 's/^/| /' conftest.$ac_ext >&5
4186
4187 prepdefflagworks=0
4188 fi
4189 rm -f conftest.$ac_objext conftest.$ac_ext
4190
4191  F90FLAGS=$ac_save_F90FLAGS
4192  ac_ext=$ac_save_ext
4193  ac_ext=c
4194 ac_cpp='$CPP $CPPFLAGS'
4195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
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:$LINENO: result: yes" >&5
4203 echo "${ECHO_T}yes" >&6
4204
4205  else
4206    echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
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
4212 fi
4213
3459   # Find a good install program.  We prefer a C program (faster),
3460   # so one script is as good as another.  But avoid the broken or
3461   # incompatible versions:
# Line 4223 | Line 3468 | echo "$as_me:$LINENO: checking for a BSD-compatible in
3468   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3469   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3470   # ./install, which can be erroneously created by make from ./install.sh.
3471 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3472 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3471 > echo "$as_me:3471: checking for a BSD compatible install" >&5
3472 > echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3473   if test -z "$INSTALL"; then
3474   if test "${ac_cv_path_install+set}" = set; then
3475    echo $ECHO_N "(cached) $ECHO_C" >&6
3476   else
3477 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 < for as_dir in $PATH
3479 < do
3480 <  IFS=$as_save_IFS
3481 <  test -z "$as_dir" && as_dir=.
3482 <  # Account for people who put trailing slashes in PATH elements.
3483 < case $as_dir/ in
3484 <  ./ | .// | /cC/* | \
3485 <  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3486 <  /usr/ucb/* ) ;;
3487 <  *)
3488 <    # OSF1 and SCO ODT 3.0 have their own names for install.
3489 <    # Don't use installbsd from OSF since it installs stuff as root
3490 <    # by default.
3491 <    for ac_prog in ginstall scoinst install; do
3492 <      for ac_exec_ext in '' $ac_executable_extensions; do
3493 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3494 <          if test $ac_prog = install &&
3495 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3496 <            # AIX install.  It has an incompatible calling convention.
3497 <            :
3498 <          elif test $ac_prog = install &&
3499 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3500 <            # program-specific install script used by HP pwplus--don't use.
3501 <            :
3502 <          else
3503 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4259 <            break 3
4260 <          fi
4261 <        fi
3477 >    ac_save_IFS=$IFS; IFS=$ac_path_separator
3478 >  for ac_dir in $PATH; do
3479 >    IFS=$ac_save_IFS
3480 >    # Account for people who put trailing slashes in PATH elements.
3481 >    case $ac_dir/ in
3482 >    / | ./ | .// | /cC/* \
3483 >    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
3484 >    | /usr/ucb/* ) ;;
3485 >    *)
3486 >      # OSF1 and SCO ODT 3.0 have their own names for install.
3487 >      # Don't use installbsd from OSF since it installs stuff as root
3488 >      # by default.
3489 >      for ac_prog in ginstall scoinst install; do
3490 >        if $as_executable_p "$ac_dir/$ac_prog"; then
3491 >          if test $ac_prog = install &&
3492 >            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3493 >            # AIX install.  It has an incompatible calling convention.
3494 >            :
3495 >          elif test $ac_prog = install &&
3496 >            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3497 >            # program-specific install script used by HP pwplus--don't use.
3498 >            :
3499 >          else
3500 >            ac_cv_path_install="$ac_dir/$ac_prog -c"
3501 >            break 2
3502 >          fi
3503 >        fi
3504        done
3505 <    done
3506 <    ;;
3507 < esac
4266 < done
3505 >      ;;
3506 >    esac
3507 >  done
3508  
4268
3509   fi
3510    if test "${ac_cv_path_install+set}" = set; then
3511      INSTALL=$ac_cv_path_install
# Line 4277 | Line 3517 | echo "$as_me:$LINENO: result: $INSTALL" >&5
3517      INSTALL=$ac_install_sh
3518    fi
3519   fi
3520 < echo "$as_me:$LINENO: result: $INSTALL" >&5
3520 > echo "$as_me:3520: result: $INSTALL" >&5
3521   echo "${ECHO_T}$INSTALL" >&6
3522  
3523   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 4288 | Line 3528 | echo "$as_me:$LINENO: checking whether ln -s works" >&
3528  
3529   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3530  
3531 < echo "$as_me:$LINENO: checking whether ln -s works" >&5
3531 > echo "$as_me:3531: checking whether ln -s works" >&5
3532   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3533   LN_S=$as_ln_s
3534   if test "$LN_S" = "ln -s"; then
3535 <  echo "$as_me:$LINENO: result: yes" >&5
3535 >  echo "$as_me:3535: result: yes" >&5
3536   echo "${ECHO_T}yes" >&6
3537   else
3538 <  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3538 >  echo "$as_me:3538: result: no, using $LN_S" >&5
3539   echo "${ECHO_T}no, using $LN_S" >&6
3540   fi
3541  
3542 < echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3543 < echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3542 > echo "$as_me:3542: checking whether ${MAKE-make} sets \${MAKE}" >&5
3543 > echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
3544   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
3545   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3546    echo $ECHO_N "(cached) $ECHO_C" >&6
3547   else
3548 <  cat >conftest.make <<\_ACEOF
3548 >  cat >conftest.make <<\EOF
3549   all:
3550 <        @echo 'ac_maketemp="$(MAKE)"'
3551 < _ACEOF
3550 >        @echo 'ac_maketemp="${MAKE}"'
3551 > EOF
3552   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3553   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3554   if test -n "$ac_maketemp"; then
# Line 4319 | Line 3559 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
3559   rm -f conftest.make
3560   fi
3561   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3562 <  echo "$as_me:$LINENO: result: yes" >&5
3562 >  echo "$as_me:3562: result: yes" >&5
3563   echo "${ECHO_T}yes" >&6
3564    SET_MAKE=
3565   else
3566 <  echo "$as_me:$LINENO: result: no" >&5
3566 >  echo "$as_me:3566: result: no" >&5
3567   echo "${ECHO_T}no" >&6
3568    SET_MAKE="MAKE=${MAKE-make}"
3569   fi
# Line 4331 | Line 3571 | echo "$as_me:$LINENO: checking for $ac_word" >&5
3571   if test -n "$ac_tool_prefix"; then
3572    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3573   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3574 < echo "$as_me:$LINENO: checking for $ac_word" >&5
3574 > echo "$as_me:3574: checking for $ac_word" >&5
3575   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576   if test "${ac_cv_prog_RANLIB+set}" = set; then
3577    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4339 | Line 3579 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579    if test -n "$RANLIB"; then
3580    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3581   else
3582 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 < for as_dir in $PATH
3584 < do
3585 <  IFS=$as_save_IFS
3586 <  test -z "$as_dir" && as_dir=.
3587 <  for ac_exec_ext in '' $ac_executable_extensions; do
3588 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589 <    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3590 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 <    break 2
4352 <  fi
3582 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
3583 > ac_dummy="$PATH"
3584 > for ac_dir in $ac_dummy; do
3585 >  IFS=$ac_save_IFS
3586 >  test -z "$ac_dir" && ac_dir=.
3587 >  $as_executable_p "$ac_dir/$ac_word" || continue
3588 > ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3589 > echo "$as_me:3589: found $ac_dir/$ac_word" >&5
3590 > break
3591   done
4354 done
3592  
3593   fi
3594   fi
3595   RANLIB=$ac_cv_prog_RANLIB
3596   if test -n "$RANLIB"; then
3597 <  echo "$as_me:$LINENO: result: $RANLIB" >&5
3597 >  echo "$as_me:3597: result: $RANLIB" >&5
3598   echo "${ECHO_T}$RANLIB" >&6
3599   else
3600 <  echo "$as_me:$LINENO: result: no" >&5
3600 >  echo "$as_me:3600: result: no" >&5
3601   echo "${ECHO_T}no" >&6
3602   fi
3603  
# Line 4369 | Line 3606 | echo "$as_me:$LINENO: checking for $ac_word" >&5
3606    ac_ct_RANLIB=$RANLIB
3607    # Extract the first word of "ranlib", so it can be a program name with args.
3608   set dummy ranlib; ac_word=$2
3609 < echo "$as_me:$LINENO: checking for $ac_word" >&5
3609 > echo "$as_me:3609: checking for $ac_word" >&5
3610   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3611   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3612    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4377 | Line 3614 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614    if test -n "$ac_ct_RANLIB"; then
3615    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3616   else
3617 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 < for as_dir in $PATH
3619 < do
3620 <  IFS=$as_save_IFS
3621 <  test -z "$as_dir" && as_dir=.
3622 <  for ac_exec_ext in '' $ac_executable_extensions; do
3623 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3624 <    ac_cv_prog_ac_ct_RANLIB="ranlib"
3625 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 <    break 2
4390 <  fi
3617 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
3618 > ac_dummy="$PATH"
3619 > for ac_dir in $ac_dummy; do
3620 >  IFS=$ac_save_IFS
3621 >  test -z "$ac_dir" && ac_dir=.
3622 >  $as_executable_p "$ac_dir/$ac_word" || continue
3623 > ac_cv_prog_ac_ct_RANLIB="ranlib"
3624 > echo "$as_me:3624: found $ac_dir/$ac_word" >&5
3625 > break
3626   done
4392 done
3627  
3628    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3629   fi
3630   fi
3631   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3632   if test -n "$ac_ct_RANLIB"; then
3633 <  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3633 >  echo "$as_me:3633: result: $ac_ct_RANLIB" >&5
3634   echo "${ECHO_T}$ac_ct_RANLIB" >&6
3635   else
3636 <  echo "$as_me:$LINENO: result: no" >&5
3636 >  echo "$as_me:3636: result: no" >&5
3637   echo "${ECHO_T}no" >&6
3638   fi
3639  
# Line 4412 | Line 3646 | echo "$as_me:$LINENO: checking for $ac_word" >&5
3646   do
3647    # Extract the first word of "$ac_prog", so it can be a program name with args.
3648   set dummy $ac_prog; ac_word=$2
3649 < echo "$as_me:$LINENO: checking for $ac_word" >&5
3649 > echo "$as_me:3649: checking for $ac_word" >&5
3650   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3651   if test "${ac_cv_prog_YACC+set}" = set; then
3652    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4420 | Line 3654 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654    if test -n "$YACC"; then
3655    ac_cv_prog_YACC="$YACC" # Let the user override the test.
3656   else
3657 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 < for as_dir in $PATH
3659 < do
3660 <  IFS=$as_save_IFS
3661 <  test -z "$as_dir" && as_dir=.
3662 <  for ac_exec_ext in '' $ac_executable_extensions; do
3663 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 <    ac_cv_prog_YACC="$ac_prog"
3665 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 <    break 2
4433 <  fi
3657 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
3658 > ac_dummy="$PATH"
3659 > for ac_dir in $ac_dummy; do
3660 >  IFS=$ac_save_IFS
3661 >  test -z "$ac_dir" && ac_dir=.
3662 >  $as_executable_p "$ac_dir/$ac_word" || continue
3663 > ac_cv_prog_YACC="$ac_prog"
3664 > echo "$as_me:3664: found $ac_dir/$ac_word" >&5
3665 > break
3666   done
4435 done
3667  
3668   fi
3669   fi
3670   YACC=$ac_cv_prog_YACC
3671   if test -n "$YACC"; then
3672 <  echo "$as_me:$LINENO: result: $YACC" >&5
3672 >  echo "$as_me:3672: result: $YACC" >&5
3673   echo "${ECHO_T}$YACC" >&6
3674   else
3675 <  echo "$as_me:$LINENO: result: no" >&5
3675 >  echo "$as_me:3675: result: no" >&5
3676   echo "${ECHO_T}no" >&6
3677   fi
3678  
# Line 4449 | Line 3680 | test -n "$YACC" || YACC="yacc"
3680   done
3681   test -n "$YACC" || YACC="yacc"
3682  
4452
3683   for ac_prog in flex lex
3684   do
3685    # Extract the first word of "$ac_prog", so it can be a program name with args.
3686   set dummy $ac_prog; ac_word=$2
3687 < echo "$as_me:$LINENO: checking for $ac_word" >&5
3687 > echo "$as_me:3687: checking for $ac_word" >&5
3688   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3689   if test "${ac_cv_prog_LEX+set}" = set; then
3690    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4462 | Line 3692 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692    if test -n "$LEX"; then
3693    ac_cv_prog_LEX="$LEX" # Let the user override the test.
3694   else
3695 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 < for as_dir in $PATH
3697 < do
3698 <  IFS=$as_save_IFS
3699 <  test -z "$as_dir" && as_dir=.
3700 <  for ac_exec_ext in '' $ac_executable_extensions; do
3701 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3702 <    ac_cv_prog_LEX="$ac_prog"
3703 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 <    break 2
4475 <  fi
4476 < done
3695 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
3696 > ac_dummy="$PATH"
3697 > for ac_dir in $ac_dummy; do
3698 >  IFS=$ac_save_IFS
3699 >  test -z "$ac_dir" && ac_dir=.
3700 >  $as_executable_p "$ac_dir/$ac_word" || continue
3701 > ac_cv_prog_LEX="$ac_prog"
3702 > echo "$as_me:3702: found $ac_dir/$ac_word" >&5
3703 > break
3704   done
3705  
3706   fi
3707   fi
3708   LEX=$ac_cv_prog_LEX
3709   if test -n "$LEX"; then
3710 <  echo "$as_me:$LINENO: result: $LEX" >&5
3710 >  echo "$as_me:3710: result: $LEX" >&5
3711   echo "${ECHO_T}$LEX" >&6
3712   else
3713 <  echo "$as_me:$LINENO: result: no" >&5
3713 >  echo "$as_me:3713: result: no" >&5
3714   echo "${ECHO_T}no" >&6
3715   fi
3716  
# Line 4493 | Line 3720 | then
3720  
3721   if test -z "$LEXLIB"
3722   then
3723 <  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3723 >  echo "$as_me:3723: checking for yywrap in -lfl" >&5
3724   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3725   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3726    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4501 | Line 3728 | cat >conftest.$ac_ext <<_ACEOF
3728    ac_check_lib_save_LIBS=$LIBS
3729   LIBS="-lfl  $LIBS"
3730   cat >conftest.$ac_ext <<_ACEOF
3731 < #line $LINENO "configure"
3732 < /* confdefs.h.  */
4506 < _ACEOF
4507 < cat confdefs.h >>conftest.$ac_ext
4508 < cat >>conftest.$ac_ext <<_ACEOF
4509 < /* end confdefs.h.  */
3731 > #line 3731 "configure"
3732 > #include "confdefs.h"
3733  
3734   /* Override any gcc2 internal prototype to avoid an error.  */
3735   #ifdef __cplusplus
# Line 4524 | Line 3747 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3747   }
3748   _ACEOF
3749   rm -f conftest.$ac_objext conftest$ac_exeext
3750 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3750 > if { (eval echo "$as_me:3750: \"$ac_link\"") >&5
3751    (eval $ac_link) 2>&5
3752    ac_status=$?
3753 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 >  echo "$as_me:3753: \$? = $ac_status" >&5
3754    (exit $ac_status); } &&
3755           { ac_try='test -s conftest$ac_exeext'
3756 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3756 >  { (eval echo "$as_me:3756: \"$ac_try\"") >&5
3757    (eval $ac_try) 2>&5
3758    ac_status=$?
3759 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 >  echo "$as_me:3759: \$? = $ac_status" >&5
3760    (exit $ac_status); }; }; then
3761    ac_cv_lib_fl_yywrap=yes
3762   else
3763    echo "$as_me: failed program was:" >&5
3764 < sed 's/^/| /' conftest.$ac_ext >&5
4542 <
3764 > cat conftest.$ac_ext >&5
3765   ac_cv_lib_fl_yywrap=no
3766   fi
3767   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3768   LIBS=$ac_check_lib_save_LIBS
3769   fi
3770 < echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3770 > echo "$as_me:3770: result: $ac_cv_lib_fl_yywrap" >&5
3771   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3772   if test $ac_cv_lib_fl_yywrap = yes; then
3773    LEXLIB="-lfl"
3774   else
3775 <  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3775 >  echo "$as_me:3775: checking for yywrap in -ll" >&5
3776   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3777   if test "${ac_cv_lib_l_yywrap+set}" = set; then
3778    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4558 | Line 3780 | cat >conftest.$ac_ext <<_ACEOF
3780    ac_check_lib_save_LIBS=$LIBS
3781   LIBS="-ll  $LIBS"
3782   cat >conftest.$ac_ext <<_ACEOF
3783 < #line $LINENO "configure"
3784 < /* confdefs.h.  */
4563 < _ACEOF
4564 < cat confdefs.h >>conftest.$ac_ext
4565 < cat >>conftest.$ac_ext <<_ACEOF
4566 < /* end confdefs.h.  */
3783 > #line 3783 "configure"
3784 > #include "confdefs.h"
3785  
3786   /* Override any gcc2 internal prototype to avoid an error.  */
3787   #ifdef __cplusplus
# Line 4581 | Line 3799 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3799   }
3800   _ACEOF
3801   rm -f conftest.$ac_objext conftest$ac_exeext
3802 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3802 > if { (eval echo "$as_me:3802: \"$ac_link\"") >&5
3803    (eval $ac_link) 2>&5
3804    ac_status=$?
3805 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 >  echo "$as_me:3805: \$? = $ac_status" >&5
3806    (exit $ac_status); } &&
3807           { ac_try='test -s conftest$ac_exeext'
3808 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 >  { (eval echo "$as_me:3808: \"$ac_try\"") >&5
3809    (eval $ac_try) 2>&5
3810    ac_status=$?
3811 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 >  echo "$as_me:3811: \$? = $ac_status" >&5
3812    (exit $ac_status); }; }; then
3813    ac_cv_lib_l_yywrap=yes
3814   else
3815    echo "$as_me: failed program was:" >&5
3816 < sed 's/^/| /' conftest.$ac_ext >&5
4599 <
3816 > cat conftest.$ac_ext >&5
3817   ac_cv_lib_l_yywrap=no
3818   fi
3819   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3820   LIBS=$ac_check_lib_save_LIBS
3821   fi
3822 < echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3822 > echo "$as_me:3822: result: $ac_cv_lib_l_yywrap" >&5
3823   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3824   if test $ac_cv_lib_l_yywrap = yes; then
3825    LEXLIB="-ll"
# Line 4613 | Line 3830 | if test "x$LEX" != "x:"; then
3830   fi
3831  
3832   if test "x$LEX" != "x:"; then
3833 <  echo "$as_me:$LINENO: checking lex output file root" >&5
3833 >  echo "$as_me:3833: checking lex output file root" >&5
3834   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3835   if test "${ac_cv_prog_lex_root+set}" = set; then
3836    echo $ECHO_N "(cached) $ECHO_C" >&6
3837   else
3838    # The minimal lex program is just a single line: %%.  But some broken lexes
3839   # (Solaris, I think it was) want two %% lines, so accommodate them.
3840 < cat >conftest.l <<_ACEOF
3841 < %%
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); }
3840 > echo '%%
3841 > %%' | $LEX
3842   if test -f lex.yy.c; then
3843    ac_cv_prog_lex_root=lex.yy
3844   elif test -f lexyy.c; then
3845    ac_cv_prog_lex_root=lexyy
3846   else
3847 <  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3847 >  { { echo "$as_me:3847: error: cannot find output from $LEX; giving up" >&5
3848   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3849     { (exit 1); exit 1; }; }
3850   fi
3851   fi
3852 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3852 > echo "$as_me:3852: result: $ac_cv_prog_lex_root" >&5
3853   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4644 rm -f conftest.l
3854   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3855  
3856 < echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3856 > echo "$as_me:3856: checking whether yytext is a pointer" >&5
3857   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3858   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3859    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4660 | Line 3869 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3869   `cat $LEX_OUTPUT_ROOT.c`
3870   _ACEOF
3871   rm -f conftest.$ac_objext conftest$ac_exeext
3872 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3872 > if { (eval echo "$as_me:3872: \"$ac_link\"") >&5
3873    (eval $ac_link) 2>&5
3874    ac_status=$?
3875 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 >  echo "$as_me:3875: \$? = $ac_status" >&5
3876    (exit $ac_status); } &&
3877           { ac_try='test -s conftest$ac_exeext'
3878 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 >  { (eval echo "$as_me:3878: \"$ac_try\"") >&5
3879    (eval $ac_try) 2>&5
3880    ac_status=$?
3881 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 >  echo "$as_me:3881: \$? = $ac_status" >&5
3882    (exit $ac_status); }; }; then
3883    ac_cv_prog_lex_yytext_pointer=yes
3884   else
3885    echo "$as_me: failed program was:" >&5
3886 < sed 's/^/| /' conftest.$ac_ext >&5
4678 <
3886 > cat conftest.$ac_ext >&5
3887   fi
3888   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3889   LIBS=$ac_save_LIBS
3890   rm -f "${LEX_OUTPUT_ROOT}.c"
3891  
3892   fi
3893 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3893 > echo "$as_me:3893: result: $ac_cv_prog_lex_yytext_pointer" >&5
3894   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3895   if test $ac_cv_prog_lex_yytext_pointer = yes; then
3896  
3897 < cat >>confdefs.h <<\_ACEOF
3897 > cat >>confdefs.h <<\EOF
3898   #define YYTEXT_POINTER 1
3899 < _ACEOF
3899 > EOF
3900  
3901   fi
3902  
3903   fi
3904   # Extract the first word of "ar", so it can be a program name with args.
3905   set dummy ar; ac_word=$2
3906 < echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 > echo "$as_me:3906: checking for $ac_word" >&5
3907   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908   if test "${ac_cv_prog_AR+set}" = set; then
3909    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4703 | Line 3911 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911    if test -n "$AR"; then
3912    ac_cv_prog_AR="$AR" # Let the user override the test.
3913   else
3914 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 < for as_dir in $PATH
3916 < do
3917 <  IFS=$as_save_IFS
3918 <  test -z "$as_dir" && as_dir=.
3919 <  for ac_exec_ext in '' $ac_executable_extensions; do
3920 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 <    ac_cv_prog_AR="ar"
3922 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 <    break 2
4716 <  fi
3914 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
3915 > ac_dummy="$PATH"
3916 > for ac_dir in $ac_dummy; do
3917 >  IFS=$ac_save_IFS
3918 >  test -z "$ac_dir" && ac_dir=.
3919 >  $as_executable_p "$ac_dir/$ac_word" || continue
3920 > ac_cv_prog_AR="ar"
3921 > echo "$as_me:3921: found $ac_dir/$ac_word" >&5
3922 > break
3923   done
4718 done
3924  
3925    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
3926   fi
3927   fi
3928   AR=$ac_cv_prog_AR
3929   if test -n "$AR"; then
3930 <  echo "$as_me:$LINENO: result: $AR" >&5
3930 >  echo "$as_me:3930: result: $AR" >&5
3931   echo "${ECHO_T}$AR" >&6
3932   else
3933 <  echo "$as_me:$LINENO: result: no" >&5
3933 >  echo "$as_me:3933: result: no" >&5
3934   echo "${ECHO_T}no" >&6
3935   fi
3936  
3937   if test "$AR" = "NONE"; then
3938 <  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
3938 >  { { echo "$as_me:3938: error: --> Can't find \`ar'!" >&5
3939   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
3940     { (exit 1); exit 1; }; }
3941    cat >confcache <<\_ACEOF
# Line 4743 | Line 3948 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
3948   # config.status only pays attention to the cache file if you give it
3949   # the --recheck option to rerun configure.
3950   #
3951 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
3951 > # `ac_cv_env_foo' variables (set or unset) will be overriden when
3952   # loading this file, other *unset* `ac_cv_foo' will be assigned the
3953   # following values.
3954  
# Line 4762 | Line 3967 | _ACEOF
3967        # substitution turns \\\\ into \\, and sed turns \\ into \).
3968        sed -n \
3969          "s/'/'\\\\''/g;
3970 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3970 >          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3971        ;;
3972      *)
3973        # `set' quotes correctly as required by POSIX, so do not add quotes.
3974        sed -n \
3975 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3975 >        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3976        ;;
3977      esac;
3978   } |
# Line 4778 | Line 3983 | if diff $cache_file confcache >/dev/null 2>&1; then :;
3983       t end
3984       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3985       : end' >>confcache
3986 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
3986 > if cmp -s $cache_file confcache; then :; else
3987    if test -w $cache_file; then
3988      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3989      cat confcache >$cache_file
# Line 4795 | Line 4000 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4000   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4001   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4002  
4798
4799
4003   ac_ext=f90
4004   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4005   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4006   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4007 < echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
4007 > echo "$as_me:4007: checking how to get verbose linking output from $F90" >&5
4008   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
4009   if test "${ac_cv_prog_f90_v+set}" = set; then
4010    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4811 | Line 4014 | program main
4014  
4015   program main
4016  
4814
4017   end program main
4018  
4019   _ACEOF
4020   rm -f conftest.$ac_objext
4021 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4021 > if { (eval echo "$as_me:4021: \"$ac_compile\"") >&5
4022    (eval $ac_compile) 2>&5
4023    ac_status=$?
4024 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 >  echo "$as_me:4024: \$? = $ac_status" >&5
4025    (exit $ac_status); } &&
4026           { ac_try='test -s conftest.$ac_objext'
4027 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027 >  { (eval echo "$as_me:4027: \"$ac_try\"") >&5
4028    (eval $ac_try) 2>&5
4029    ac_status=$?
4030 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 >  echo "$as_me:4030: \$? = $ac_status" >&5
4031    (exit $ac_status); }; }; then
4032    ac_cv_prog_f90_v=
4033   # Try some options frequently used verbose output
# Line 4839 | Line 4041 | program main
4041  
4042   program main
4043  
4842
4044   end program main
4045  
4046   _ACEOF
# Line 4851 | Line 4052 | F90FLAGS="$F90FLAGS $ac_verb"
4052   ac_save_F90FLAGS=$F90FLAGS
4053   F90FLAGS="$F90FLAGS $ac_verb"
4054  
4055 < (eval echo $as_me:4854: \"$ac_link\") >&5
4055 > (eval echo $as_me:4055: \"$ac_link\") >&5
4056   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4057   echo "$ac_f90_v_output" >&5
4058   F90FLAGS=$ac_save_F90FLAGS
# Line 4883 | Line 4084 | if test -z "$ac_cv_prog_f90_v"; then
4084    done
4085   done
4086   if test -z "$ac_cv_prog_f90_v"; then
4087 <   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
4087 >   { echo "$as_me:4087: WARNING: cannot determine how to obtain linking information from $F90" >&5
4088   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
4089   fi
4090   else
4091    echo "$as_me: failed program was:" >&5
4092 < sed 's/^/| /' conftest.$ac_ext >&5
4093 <
4893 < { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
4092 > cat conftest.$ac_ext >&5
4093 > { echo "$as_me:4093: WARNING: compilation failed" >&5
4094   echo "$as_me: WARNING: compilation failed" >&2;}
4095   fi
4096   rm -f conftest.$ac_objext conftest.$ac_ext
4097  
4098   fi
4099 < echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
4099 > echo "$as_me:4099: result: $ac_cv_prog_f90_v" >&5
4100   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
4101 < echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
4101 > echo "$as_me:4101: checking for Fortran 90 libraries" >&5
4102   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
4103   if test "${ac_cv_flibs+set}" = set; then
4104    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4916 | Line 4116 | program main
4116  
4117   program main
4118  
4919
4119   end program main
4120  
4121   _ACEOF
# Line 4928 | Line 4127 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4127   ac_save_F90FLAGS=$F90FLAGS
4128   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4129  
4130 < (eval echo $as_me:4931: \"$ac_link\") >&5
4130 > (eval echo $as_me:4130: \"$ac_link\") >&5
4131   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4132   echo "$ac_f90_v_output" >&5
4133   F90FLAGS=$ac_save_F90FLAGS
# Line 5081 | Line 4280 | echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
4280   fi # test "x$F90LIBS" = "x"
4281  
4282   fi
4283 < echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
4283 > echo "$as_me:4283: result: $ac_cv_flibs" >&5
4284   echo "${ECHO_T}$ac_cv_flibs" >&6
4285   F90LIBS="$ac_cv_f90libs"
4286  
# Line 5090 | Line 4289 | echo "$as_me:$LINENO: checking for Fortran 90 name-man
4289   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4291  
4292 < echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
4292 > echo "$as_me:4292: checking for Fortran 90 name-mangling scheme" >&5
4293   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
4294   if test "${ac_cv_f90_mangling+set}" = set; then
4295    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5108 | Line 4307 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4307   end
4308   _ACEOF
4309   rm -f conftest.$ac_objext
4310 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4310 > if { (eval echo "$as_me:4310: \"$ac_compile\"") >&5
4311    (eval $ac_compile) 2>&5
4312    ac_status=$?
4313 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 >  echo "$as_me:4313: \$? = $ac_status" >&5
4314    (exit $ac_status); } &&
4315           { ac_try='test -s conftest.$ac_objext'
4316 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4316 >  { (eval echo "$as_me:4316: \"$ac_try\"") >&5
4317    (eval $ac_try) 2>&5
4318    ac_status=$?
4319 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 >  echo "$as_me:4319: \$? = $ac_status" >&5
4320    (exit $ac_status); }; }; then
4321    mv conftest.$ac_objext cf90_test.$ac_objext
4322  
# Line 5135 | Line 4334 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334      for ac_underscore in "" "_"; do
4335        ac_func="$ac_foobar$ac_underscore"
4336        cat >conftest.$ac_ext <<_ACEOF
4337 < #line $LINENO "configure"
4338 < /* confdefs.h.  */
5140 < _ACEOF
5141 < cat confdefs.h >>conftest.$ac_ext
5142 < cat >>conftest.$ac_ext <<_ACEOF
5143 < /* end confdefs.h.  */
4337 > #line 4337 "configure"
4338 > #include "confdefs.h"
4339  
4340   /* Override any gcc2 internal prototype to avoid an error.  */
4341   #ifdef __cplusplus
# Line 5158 | Line 4353 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4353   }
4354   _ACEOF
4355   rm -f conftest.$ac_objext conftest$ac_exeext
4356 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4356 > if { (eval echo "$as_me:4356: \"$ac_link\"") >&5
4357    (eval $ac_link) 2>&5
4358    ac_status=$?
4359 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 >  echo "$as_me:4359: \$? = $ac_status" >&5
4360    (exit $ac_status); } &&
4361           { ac_try='test -s conftest$ac_exeext'
4362 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4362 >  { (eval echo "$as_me:4362: \"$ac_try\"") >&5
4363    (eval $ac_try) 2>&5
4364    ac_status=$?
4365 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 >  echo "$as_me:4365: \$? = $ac_status" >&5
4366    (exit $ac_status); }; }; then
4367    ac_success=yes; break 2
4368   else
4369    echo "$as_me: failed program was:" >&5
4370 < sed 's/^/| /' conftest.$ac_ext >&5
5176 <
4370 > cat conftest.$ac_ext >&5
4371   fi
4372   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4373      done
# Line 5196 | Line 4390 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
4390          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
4391  
4392          cat >conftest.$ac_ext <<_ACEOF
4393 < #line $LINENO "configure"
4394 < /* confdefs.h.  */
5201 < _ACEOF
5202 < cat confdefs.h >>conftest.$ac_ext
5203 < cat >>conftest.$ac_ext <<_ACEOF
5204 < /* end confdefs.h.  */
4393 > #line 4393 "configure"
4394 > #include "confdefs.h"
4395  
4396   /* Override any gcc2 internal prototype to avoid an error.  */
4397   #ifdef __cplusplus
# Line 5219 | Line 4409 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4409   }
4410   _ACEOF
4411   rm -f conftest.$ac_objext conftest$ac_exeext
4412 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4412 > if { (eval echo "$as_me:4412: \"$ac_link\"") >&5
4413    (eval $ac_link) 2>&5
4414    ac_status=$?
4415 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 >  echo "$as_me:4415: \$? = $ac_status" >&5
4416    (exit $ac_status); } &&
4417           { ac_try='test -s conftest$ac_exeext'
4418 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 >  { (eval echo "$as_me:4418: \"$ac_try\"") >&5
4419    (eval $ac_try) 2>&5
4420    ac_status=$?
4421 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 >  echo "$as_me:4421: \$? = $ac_status" >&5
4422    (exit $ac_status); }; }; then
4423    ac_success_extra=yes; break
4424   else
4425    echo "$as_me: failed program was:" >&5
4426 < sed 's/^/| /' conftest.$ac_ext >&5
5237 <
4426 > cat conftest.$ac_ext >&5
4427   fi
4428   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4429       done
# Line 5268 | Line 4457 | sed 's/^/| /' conftest.$ac_ext >&5
4457    rm -f cf90_test* conftest*
4458   else
4459    echo "$as_me: failed program was:" >&5
4460 < sed 's/^/| /' conftest.$ac_ext >&5
5272 <
4460 > cat conftest.$ac_ext >&5
4461   fi
4462   rm -f conftest.$ac_objext conftest.$ac_ext
4463   ac_ext=f90
# Line 5278 | Line 4466 | echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
4466   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4467  
4468   fi
4469 < echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
4469 > echo "$as_me:4469: result: $ac_cv_f90_mangling" >&5
4470   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
4471  
5284
5285
4472   case $ac_cv_f90_mangling in
4473    "lower case, no underscore, no extra underscore")
4474 <          cat >>confdefs.h <<\_ACEOF
4474 >          cat >>confdefs.h <<\EOF
4475   #define F90_FUNC(name,NAME) name
4476 < _ACEOF
4476 > EOF
4477  
4478 <          cat >>confdefs.h <<\_ACEOF
4478 >          cat >>confdefs.h <<\EOF
4479   #define F90_FUNC_(name,NAME) name
4480 < _ACEOF
4480 > EOF
4481   ;;
4482    "lower case, no underscore, extra underscore")
4483 <          cat >>confdefs.h <<\_ACEOF
4483 >          cat >>confdefs.h <<\EOF
4484   #define F90_FUNC(name,NAME) name
4485 < _ACEOF
4485 > EOF
4486  
4487 <          cat >>confdefs.h <<\_ACEOF
4487 >          cat >>confdefs.h <<\EOF
4488   #define F90_FUNC_(name,NAME) name ## _
4489 < _ACEOF
4489 > EOF
4490   ;;
4491    "lower case, underscore, no extra underscore")
4492 <          cat >>confdefs.h <<\_ACEOF
4492 >          cat >>confdefs.h <<\EOF
4493   #define F90_FUNC(name,NAME) name ## _
4494 < _ACEOF
4494 > EOF
4495  
4496 <          cat >>confdefs.h <<\_ACEOF
4496 >          cat >>confdefs.h <<\EOF
4497   #define F90_FUNC_(name,NAME) name ## _
4498 < _ACEOF
4498 > EOF
4499   ;;
4500    "lower case, underscore, extra underscore")
4501 <          cat >>confdefs.h <<\_ACEOF
4501 >          cat >>confdefs.h <<\EOF
4502   #define F90_FUNC(name,NAME) name ## _
4503 < _ACEOF
4503 > EOF
4504  
4505 <          cat >>confdefs.h <<\_ACEOF
4505 >          cat >>confdefs.h <<\EOF
4506   #define F90_FUNC_(name,NAME) name ## __
4507 < _ACEOF
4507 > EOF
4508   ;;
4509    "upper case, no underscore, no extra underscore")
4510 <          cat >>confdefs.h <<\_ACEOF
4510 >          cat >>confdefs.h <<\EOF
4511   #define F90_FUNC(name,NAME) NAME
4512 < _ACEOF
4512 > EOF
4513  
4514 <          cat >>confdefs.h <<\_ACEOF
4515 < #define F90_FUNC_(name,NAME) NAME
4516 < _ACEOF
4514 >          cat >>confdefs.h <<\EOF
4515 > #define F90_FUNC_(name,NAME) NAME
4516 > EOF
4517   ;;
4518    "upper case, no underscore, extra underscore")
4519 <          cat >>confdefs.h <<\_ACEOF
4519 >          cat >>confdefs.h <<\EOF
4520   #define F90_FUNC(name,NAME) NAME
4521 < _ACEOF
4521 > EOF
4522  
4523 <          cat >>confdefs.h <<\_ACEOF
4523 >          cat >>confdefs.h <<\EOF
4524   #define F90_FUNC_(name,NAME) NAME ## _
4525 < _ACEOF
4525 > EOF
4526   ;;
4527    "upper case, underscore, no extra underscore")
4528 <          cat >>confdefs.h <<\_ACEOF
4528 >          cat >>confdefs.h <<\EOF
4529   #define F90_FUNC(name,NAME) NAME ## _
4530 < _ACEOF
4530 > EOF
4531  
4532 <          cat >>confdefs.h <<\_ACEOF
4532 >          cat >>confdefs.h <<\EOF
4533   #define F90_FUNC_(name,NAME) NAME ## _
4534 < _ACEOF
4534 > EOF
4535   ;;
4536    "upper case, underscore, extra underscore")
4537 <          cat >>confdefs.h <<\_ACEOF
4537 >          cat >>confdefs.h <<\EOF
4538   #define F90_FUNC(name,NAME) NAME ## _
4539 < _ACEOF
4539 > EOF
4540  
4541 <          cat >>confdefs.h <<\_ACEOF
4541 >          cat >>confdefs.h <<\EOF
4542   #define F90_FUNC_(name,NAME) NAME ## __
4543 < _ACEOF
4543 > EOF
4544   ;;
4545    *)
4546 <          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4546 >          { echo "$as_me:4546: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4547   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
4548            ;;
4549   esac
4550  
4551 + echo "$as_me:4551: checking for module suffix" >&5
4552 + echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
4553 + rm -f conftest*
4554 + # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
4555 + rm -f work*
4556 + cat >conftest.f <<EOF
4557 +        module conftest
4558 +        integer n
4559 +        parameter (n=1)
4560 +        end module conftest
4561 + EOF
4562 + # SGI and absoft compilers generates module name in upper case!
4563 + testname="conftest"
4564 + modcase="lower"
4565 + if $F90 -c conftest.f > conftest.out 2>&1 ; then
4566 +    MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o`
4567 +    MOD=`echo "$MOD" | sed -e 's/conftest\.//g'`
4568 +    if test -z "$MOD" ; then
4569 +        MOD=`ls CONFTEST* 2>/dev/null \
4570 +                | grep -v CONFTEST.f | grep -v CONFTEST.o`
4571 +        MOD=`echo "$MOD" | sed -e 's/CONFTEST\.//g'`
4572 +        if test -n "$MOD" ; then
4573 +            testname="CONFTEST"
4574 +            modcase="upper"
4575 +        fi
4576 +    fi
4577 +    if test -z "$MOD" ; then
4578 +        echo "$as_me:4578: result: unknown" >&5
4579 + echo "${ECHO_T}unknown" >&6
4580 +        # Use mod if we can't figure it out
4581 +        MOD="mod"
4582 +    else
4583 +        echo "$as_me:4583: result: $MOD" >&5
4584 + echo "${ECHO_T}$MOD" >&6
4585 +    fi
4586 +    if test -s work.pcl ; then
4587 +        { echo "$as_me:4587: WARNING: Compiler generates auxillery files!" >&5
4588 + echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
4589 +    fi
4590 + else
4591 +    echo "$as_me:4591: result: unknown" >&5
4592 + echo "${ECHO_T}unknown" >&6
4593 + fi
4594 +
4595 + # Check for module include path (some use -I, some (Solaris) use -M, some
4596 + # (absoft) use -p).
4597 + # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
4598 + # specified, work.pcl and work.pc are created.  However, if you specify
4599 + # a file, it must contain a the name of a file ending in .pc .  Ugh!
4600 + # Use the module made above
4601 + echo "$as_me:4601: checking for module directory path flag" >&5
4602 + echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
4603 + madedir=0
4604 + if test ! -d conf ; then mkdir conf ; madedir=1; fi
4605 + cp $testname.$MOD conf
4606 + rm -f conftest* CONFTEST*
4607 + cat >conftest1.f <<EOF
4608 +        program main
4609 +        use conftest
4610 +        print *, n
4611 +        end
4612 + EOF
4613 + F90_WORK_FILES_ARG=""
4614 + F90MODINCSPEC=""
4615 + if $F90 -c -Iconf conftest1.f > conftest.out 2>&1 ; then
4616 +    MODDIRFLAG="-I"
4617 +    F90MODINCSPEC="-I<dir>"
4618 +    echo "$as_me:4618: result: -I" >&5
4619 + echo "${ECHO_T}-I" >&6
4620 + elif $F90 -c -Mconf conftest1.f >> conftest.out 2>&1 ; then
4621 +    MODDIRFLAG="-M"
4622 +    F90MODINCSPEC="-M<dir>"
4623 +    echo "$as_me:4623: result: -M" >&5
4624 + echo "${ECHO_T}-M" >&6
4625 + elif $F90 -c -pconf conftest1.f >> conftest.out 2>&1 ; then
4626 +    MODDIRFLAG="-p"
4627 +    F90MODINCSPEC="-p<dir>"
4628 +    echo "$as_me:4628: result: -p" >&5
4629 + echo "${ECHO_T}-p" >&6
4630 + elif test -s work.pc ; then
4631 +     cp work.pc conf/mpimod.pc
4632 +     echo "mpimod.pc" > conf/mpimod.pcl
4633 +     echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
4634 +     if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
4635 +         MODDIRFLAG='-cl,mpimod.pcl'
4636 +         echo "$as_me:4636: result: -cl,filename where filename contains a list of files and
4637 + directories" >&5
4638 + echo "${ECHO_T}-cl,filename where filename contains a list of files and
4639 + directories" >&6
4640 +         F90_WORK_FILES_ARG="-cl,mpimod.pcl"
4641 +         F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
4642  
4643 +     else
4644 +         # The version of the Intel compiler that I have refuses to let
4645 +         # you put the "work catalog" list anywhere but the current directory.
4646 +         # For example, you cannot in
4647 +         :
4648 +     fi
4649 + fi
4650 + if test -z "MODDIRFLAG" ; then
4651 +    echo "$as_me:4651: result: unknown" >&5
4652 + echo "${ECHO_T}unknown" >&6
4653 + fi
4654  
4655 + rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4656 + if test $madedir = 1 ; then rmdir conf ; fi
4657  
4658 < echo "$as_me:$LINENO: checking for mpi-directory" >&5
4658 > echo "$as_me:4658: checking for mpi-directory" >&5
4659   echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6
4660  
4661 < # Check whether --with-MPI_DIR or --without-MPI_DIR was given.
4662 < if test "${with_MPI_DIR+set}" = set; then
4663 <  withval="$with_MPI_DIR"
4661 > # Check whether --with-mpi_dir or --without-mpi_dir was given.
4662 > if test "${with_mpi_dir+set}" = set; then
4663 >  withval="$with_mpi_dir"
4664    MPI_DIR="$withval"
4665   else
4666    MPI_DIR="/usr/local"
4667   fi;
4668 < echo "$as_me:$LINENO: result: $MPI_DIR" >&5
4668 > echo "$as_me:4668: result: $MPI_DIR" >&5
4669   echo "${ECHO_T}$MPI_DIR" >&6
4670  
4671 <
5382 < echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5
4671 > echo "$as_me:4671: checking for mpi-lib-directory" >&5
4672   echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6
4673  
4674 < # Check whether --with-MPI_LIBDIR or --without-MPI_LIBDIR was given.
4675 < if test "${with_MPI_LIBDIR+set}" = set; then
4676 <  withval="$with_MPI_LIBDIR"
4674 > # Check whether --with-mpi_libdir or --without-mpi_libdir was given.
4675 > if test "${with_mpi_libdir+set}" = set; then
4676 >  withval="$with_mpi_libdir"
4677    MPI_LIBDIR="$withval"
4678   else
4679    MPI_LIBDIR="$MPI_DIR/lib"
4680   fi;
4681 < echo "$as_me:$LINENO: result: $MPI_LIBDIR" >&5
4681 > echo "$as_me:4681: result: $MPI_LIBDIR" >&5
4682   echo "${ECHO_T}$MPI_LIBDIR" >&6
4683  
4684 <
5396 < echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5
4684 > echo "$as_me:4684: checking for mpi-inc-directory" >&5
4685   echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6
4686  
4687 < # Check whether --with-MPI_INC or --without-MPI_INC was given.
4688 < if test "${with_MPI_INC+set}" = set; then
4689 <  withval="$with_MPI_INC"
4687 > # Check whether --with-mpi_inc or --without-mpi_inc was given.
4688 > if test "${with_mpi_inc+set}" = set; then
4689 >  withval="$with_mpi_inc"
4690    MPI_INC="$withval"
4691   else
4692    MPI_INC="$MPI_DIR/include"
4693   fi;
4694 < echo "$as_me:$LINENO: result: $MPI_INC" >&5
4694 > echo "$as_me:4694: result: $MPI_INC" >&5
4695   echo "${ECHO_T}$MPI_INC" >&6
4696  
4697 <
5410 <
5411 < echo "$as_me:$LINENO: checking for MPI library" >&5
4697 > echo "$as_me:4697: checking for MPI library" >&5
4698   echo $ECHO_N "checking for MPI library... $ECHO_C" >&6
4699   MPI_LIB=""
4700   case "$host" in
4701    *-ibm-aix*)
4702 <    echo "$as_me:$LINENO: checking whether to use signal-based MPI library" >&5
4702 >    echo "$as_me:4702: checking whether to use signal-based MPI library" >&5
4703   echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6
4704 <    echo "$as_me:$LINENO: result: $PACX_SIGNAL" >&5
4704 >    echo "$as_me:4704: result: $PACX_SIGNAL" >&5
4705   echo "${ECHO_T}$PACX_SIGNAL" >&6
4706      if test "x$PACX_SIGNAL" = "xyes" ; then
4707        if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 5425 | Line 4711 | echo "${ECHO_T}$PACX_SIGNAL" >&6
4711        elif test -f "$MPI_LIBDIR/libmpich.a" ; then
4712          MPI_LIB="-lmpich"
4713        else
4714 <        { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
4714 >        { { echo "$as_me:4714: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
4715   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
4716     { (exit 1); exit 1; }; }
4717        fi
# Line 5433 | Line 4719 | echo "$as_me: error: neither libmpi nor libmpich found
4719        if test -f "$MPI_LIBDIR/libmpi_r.a" ; then
4720           MPI_LIB="-lmpi_r"
4721        else
4722 <         { { echo "$as_me:$LINENO: error: libmpi_r not found; check path for MPI package..." >&5
4722 >         { { echo "$as_me:4722: error: libmpi_r not found; check path for MPI package..." >&5
4723   echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;}
4724     { (exit 1); exit 1; }; }
4725        fi
4726      fi
4727 <    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
4727 >    echo "$as_me:4727: result: found $MPI_LIB" >&5
4728   echo "${ECHO_T}found $MPI_LIB" >&6
4729    ;;
4730    *)                             if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 5448 | Line 4734 | echo "${ECHO_T}found $MPI_LIB" >&6
4734      elif test -f "$MPI_LIBDIR/libmpich.a" ; then
4735        MPI_LIB="-lmpich"
4736      else
4737 <      { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
4737 >      { { echo "$as_me:4737: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
4738   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
4739     { (exit 1); exit 1; }; }
4740      fi
4741 <    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
4741 >    echo "$as_me:4741: result: found $MPI_LIB" >&5
4742   echo "${ECHO_T}found $MPI_LIB" >&6
4743    ;;
4744   esac
4745  
5460
5461
5462
5463
5464
5465
4746          for ac_prog in mpif90 hf90 mpxlf90 mpf90 mpxlf95 mpxlf_r
4747   do
4748    # Extract the first word of "$ac_prog", so it can be a program name with args.
4749   set dummy $ac_prog; ac_word=$2
4750 < echo "$as_me:$LINENO: checking for $ac_word" >&5
4750 > echo "$as_me:4750: checking for $ac_word" >&5
4751   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4752   if test "${ac_cv_prog_MPIF90+set}" = set; then
4753    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5475 | Line 4755 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755    if test -n "$MPIF90"; then
4756    ac_cv_prog_MPIF90="$MPIF90" # Let the user override the test.
4757   else
4758 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 < for as_dir in $PATH
4760 < do
4761 <  IFS=$as_save_IFS
4762 <  test -z "$as_dir" && as_dir=.
4763 <  for ac_exec_ext in '' $ac_executable_extensions; do
4764 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4765 <    ac_cv_prog_MPIF90="$ac_prog"
4766 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 <    break 2
5488 <  fi
4758 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
4759 > ac_dummy="$PATH"
4760 > for ac_dir in $ac_dummy; do
4761 >  IFS=$ac_save_IFS
4762 >  test -z "$ac_dir" && ac_dir=.
4763 >  $as_executable_p "$ac_dir/$ac_word" || continue
4764 > ac_cv_prog_MPIF90="$ac_prog"
4765 > echo "$as_me:4765: found $ac_dir/$ac_word" >&5
4766 > break
4767   done
5490 done
4768  
4769   fi
4770   fi
4771   MPIF90=$ac_cv_prog_MPIF90
4772   if test -n "$MPIF90"; then
4773 <  echo "$as_me:$LINENO: result: $MPIF90" >&5
4773 >  echo "$as_me:4773: result: $MPIF90" >&5
4774   echo "${ECHO_T}$MPIF90" >&6
4775   else
4776 <  echo "$as_me:$LINENO: result: no" >&5
4776 >  echo "$as_me:4776: result: no" >&5
4777   echo "${ECHO_T}no" >&6
4778   fi
4779  
# Line 5507 | Line 4784 | test -n "$MPIF90" || MPIF90="$F90"
4784          acx_mpi_save_F90="$F90"
4785          F90="$MPIF90"
4786  
5510
5511
4787   if test x = x"$MPILIBS"; then
4788 <        echo "$as_me:$LINENO: checking for MPI_Init" >&5
4788 >        echo "$as_me:4788: checking for MPI_Init" >&5
4789   echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6
4790                          cat >conftest.$ac_ext <<_ACEOF
4791  
# Line 5521 | Line 4796 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4796  
4797   _ACEOF
4798   rm -f conftest.$ac_objext conftest$ac_exeext
4799 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4799 > if { (eval echo "$as_me:4799: \"$ac_link\"") >&5
4800    (eval $ac_link) 2>&5
4801    ac_status=$?
4802 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 >  echo "$as_me:4802: \$? = $ac_status" >&5
4803    (exit $ac_status); } &&
4804           { ac_try='test -s conftest$ac_exeext'
4805 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 >  { (eval echo "$as_me:4805: \"$ac_try\"") >&5
4806    (eval $ac_try) 2>&5
4807    ac_status=$?
4808 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 >  echo "$as_me:4808: \$? = $ac_status" >&5
4809    (exit $ac_status); }; }; then
4810    MPILIBS=" "
4811 <                                echo "$as_me:$LINENO: result: yes" >&5
4811 >                                echo "$as_me:4811: result: yes" >&5
4812   echo "${ECHO_T}yes" >&6
4813   else
4814    echo "$as_me: failed program was:" >&5
4815 < sed 's/^/| /' conftest.$ac_ext >&5
4816 <
5542 < echo "$as_me:$LINENO: result: no" >&5
4815 > cat conftest.$ac_ext >&5
4816 > echo "$as_me:4816: result: no" >&5
4817   echo "${ECHO_T}no" >&6
4818   fi
4819   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4820   fi
4821   if test x = x"$MPILIBS"; then
4822 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
4822 >        echo "$as_me:4822: checking for MPI_Init in -lmpi" >&5
4823   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
4824   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
4825    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5561 | Line 4835 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4835  
4836   _ACEOF
4837   rm -f conftest.$ac_objext conftest$ac_exeext
4838 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4838 > if { (eval echo "$as_me:4838: \"$ac_link\"") >&5
4839    (eval $ac_link) 2>&5
4840    ac_status=$?
4841 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 >  echo "$as_me:4841: \$? = $ac_status" >&5
4842    (exit $ac_status); } &&
4843           { ac_try='test -s conftest$ac_exeext'
4844 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 >  { (eval echo "$as_me:4844: \"$ac_try\"") >&5
4845    (eval $ac_try) 2>&5
4846    ac_status=$?
4847 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 >  echo "$as_me:4847: \$? = $ac_status" >&5
4848    (exit $ac_status); }; }; then
4849    ac_cv_lib_mpi_MPI_Init=yes
4850   else
4851    echo "$as_me: failed program was:" >&5
4852 < sed 's/^/| /' conftest.$ac_ext >&5
5579 <
4852 > cat conftest.$ac_ext >&5
4853   ac_cv_lib_mpi_MPI_Init=no
4854   fi
4855   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4856   LIBS=$ac_check_lib_save_LIBS
4857   fi
4858 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
4858 > echo "$as_me:4858: result: $ac_cv_lib_mpi_MPI_Init" >&5
4859   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
4860   if test $ac_cv_lib_mpi_MPI_Init = yes; then
4861    MPILIBS="-lmpi"
# Line 5590 | Line 4863 | if test x = x"$MPILIBS"; then
4863  
4864   fi
4865   if test x = x"$MPILIBS"; then
4866 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
4866 >        echo "$as_me:4866: checking for MPI_Init in -lmpich" >&5
4867   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
4868   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
4869    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5606 | Line 4879 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4879  
4880   _ACEOF
4881   rm -f conftest.$ac_objext conftest$ac_exeext
4882 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4882 > if { (eval echo "$as_me:4882: \"$ac_link\"") >&5
4883    (eval $ac_link) 2>&5
4884    ac_status=$?
4885 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 >  echo "$as_me:4885: \$? = $ac_status" >&5
4886    (exit $ac_status); } &&
4887           { ac_try='test -s conftest$ac_exeext'
4888 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 >  { (eval echo "$as_me:4888: \"$ac_try\"") >&5
4889    (eval $ac_try) 2>&5
4890    ac_status=$?
4891 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 >  echo "$as_me:4891: \$? = $ac_status" >&5
4892    (exit $ac_status); }; }; then
4893    ac_cv_lib_mpich_MPI_Init=yes
4894   else
4895    echo "$as_me: failed program was:" >&5
4896 < sed 's/^/| /' conftest.$ac_ext >&5
5624 <
4896 > cat conftest.$ac_ext >&5
4897   ac_cv_lib_mpich_MPI_Init=no
4898   fi
4899   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4900   LIBS=$ac_check_lib_save_LIBS
4901   fi
4902 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
4902 > echo "$as_me:4902: result: $ac_cv_lib_mpich_MPI_Init" >&5
4903   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
4904   if test $ac_cv_lib_mpich_MPI_Init = yes; then
4905    MPILIBS="-lmpich"
# Line 5635 | Line 4907 | fi
4907  
4908   fi
4909  
5638
5639
4910   F90="$acx_mpi_save_F90"
4911  
5642
5643
4912   # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
4913   if test x = x"$MPILIBS"; then
4914  
4915          :
4916   else
4917  
4918 < cat >>confdefs.h <<\_ACEOF
4918 > cat >>confdefs.h <<\EOF
4919   #define HAVE_MPI 1
4920 < _ACEOF
4920 > EOF
4921  
4922          :
4923   fi
4924  
5657
4925   ac_ext=c
4926   ac_cpp='$CPP $CPPFLAGS'
4927   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4930 < echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4930 > echo "$as_me:4930: checking how to run the C preprocessor" >&5
4931   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4932   # On Suns, sometimes $CPP names a directory.
4933   if test -n "$CPP" && test -d "$CPP"; then
# Line 5673 | Line 4940 | else
4940        # Double quotes because CPP needs to be expanded
4941      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4942      do
4943 +      # break 2 since there is a loop in there.
4944        ac_preproc_ok=false
4945   for ac_c_preproc_warn_flag in '' yes
4946   do
4947    # Use a header file that comes with gcc, so configuring glibc
4948    # 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.
4949    # On the NeXT, cc -E runs the code through the compiler's parser,
4950    # not just through cpp. "Syntax error" is here to catch this case.
4951    cat >conftest.$ac_ext <<_ACEOF
4952 < #line $LINENO "configure"
4953 < /* confdefs.h.  */
4954 < _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
4952 > #line 4952 "configure"
4953 > #include "confdefs.h"
4954 > #include <assert.h>
4955                       Syntax error
4956   _ACEOF
4957 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4957 > if { (eval echo "$as_me:4957: \"$ac_cpp conftest.$ac_ext\"") >&5
4958    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4959    ac_status=$?
4960 <  grep -v '^ *+' conftest.er1 >conftest.err
4960 >  egrep -v '^ *\+' conftest.er1 >conftest.err
4961    rm -f conftest.er1
4962    cat conftest.err >&5
4963 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 >  echo "$as_me:4963: \$? = $ac_status" >&5
4964    (exit $ac_status); } >/dev/null; then
4965    if test -s conftest.err; then
4966      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5716 | Line 4974 | sed 's/^/| /' conftest.$ac_ext >&5
4974    :
4975   else
4976    echo "$as_me: failed program was:" >&5
4977 < sed 's/^/| /' conftest.$ac_ext >&5
5720 <
4977 >  cat conftest.$ac_ext >&5
4978    # Broken: fails on valid input.
4979   continue
4980   fi
# Line 5726 | Line 4983 | rm -f conftest.err conftest.$ac_ext
4983    # OK, works on sane cases.  Now check whether non-existent headers
4984    # can be detected and how.
4985    cat >conftest.$ac_ext <<_ACEOF
4986 < #line $LINENO "configure"
4987 < /* confdefs.h.  */
5731 < _ACEOF
5732 < cat confdefs.h >>conftest.$ac_ext
5733 < cat >>conftest.$ac_ext <<_ACEOF
5734 < /* end confdefs.h.  */
4986 > #line 4986 "configure"
4987 > #include "confdefs.h"
4988   #include <ac_nonexistent.h>
4989   _ACEOF
4990 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4990 > if { (eval echo "$as_me:4990: \"$ac_cpp conftest.$ac_ext\"") >&5
4991    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4992    ac_status=$?
4993 <  grep -v '^ *+' conftest.er1 >conftest.err
4993 >  egrep -v '^ *\+' conftest.er1 >conftest.err
4994    rm -f conftest.er1
4995    cat conftest.err >&5
4996 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 >  echo "$as_me:4996: \$? = $ac_status" >&5
4997    (exit $ac_status); } >/dev/null; then
4998    if test -s conftest.err; then
4999      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5755 | Line 5008 | sed 's/^/| /' conftest.$ac_ext >&5
5008   continue
5009   else
5010    echo "$as_me: failed program was:" >&5
5011 < sed 's/^/| /' conftest.$ac_ext >&5
5759 <
5011 >  cat conftest.$ac_ext >&5
5012    # Passes both tests.
5013   ac_preproc_ok=:
5014   break
# Line 5767 | Line 5019 | if $ac_preproc_ok; then
5019   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5020   rm -f conftest.err conftest.$ac_ext
5021   if $ac_preproc_ok; then
5022 <  break
5022 >  break 2
5023   fi
5024  
5025      done
# Line 5778 | Line 5030 | echo "$as_me:$LINENO: result: $CPP" >&5
5030   else
5031    ac_cv_prog_CPP=$CPP
5032   fi
5033 < echo "$as_me:$LINENO: result: $CPP" >&5
5033 > echo "$as_me:5033: result: $CPP" >&5
5034   echo "${ECHO_T}$CPP" >&6
5035   ac_preproc_ok=false
5036   for ac_c_preproc_warn_flag in '' yes
5037   do
5038    # Use a header file that comes with gcc, so configuring glibc
5039    # 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.
5040    # On the NeXT, cc -E runs the code through the compiler's parser,
5041    # not just through cpp. "Syntax error" is here to catch this case.
5042    cat >conftest.$ac_ext <<_ACEOF
5043 < #line $LINENO "configure"
5044 < /* confdefs.h.  */
5045 < _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
5043 > #line 5043 "configure"
5044 > #include "confdefs.h"
5045 > #include <assert.h>
5046                       Syntax error
5047   _ACEOF
5048 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5048 > if { (eval echo "$as_me:5048: \"$ac_cpp conftest.$ac_ext\"") >&5
5049    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5050    ac_status=$?
5051 <  grep -v '^ *+' conftest.er1 >conftest.err
5051 >  egrep -v '^ *\+' conftest.er1 >conftest.err
5052    rm -f conftest.er1
5053    cat conftest.err >&5
5054 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 >  echo "$as_me:5054: \$? = $ac_status" >&5
5055    (exit $ac_status); } >/dev/null; then
5056    if test -s conftest.err; then
5057      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5823 | Line 5065 | sed 's/^/| /' conftest.$ac_ext >&5
5065    :
5066   else
5067    echo "$as_me: failed program was:" >&5
5068 < sed 's/^/| /' conftest.$ac_ext >&5
5827 <
5068 >  cat conftest.$ac_ext >&5
5069    # Broken: fails on valid input.
5070   continue
5071   fi
# Line 5833 | Line 5074 | rm -f conftest.err conftest.$ac_ext
5074    # OK, works on sane cases.  Now check whether non-existent headers
5075    # can be detected and how.
5076    cat >conftest.$ac_ext <<_ACEOF
5077 < #line $LINENO "configure"
5078 < /* confdefs.h.  */
5838 < _ACEOF
5839 < cat confdefs.h >>conftest.$ac_ext
5840 < cat >>conftest.$ac_ext <<_ACEOF
5841 < /* end confdefs.h.  */
5077 > #line 5077 "configure"
5078 > #include "confdefs.h"
5079   #include <ac_nonexistent.h>
5080   _ACEOF
5081 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5081 > if { (eval echo "$as_me:5081: \"$ac_cpp conftest.$ac_ext\"") >&5
5082    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5083    ac_status=$?
5084 <  grep -v '^ *+' conftest.er1 >conftest.err
5084 >  egrep -v '^ *\+' conftest.er1 >conftest.err
5085    rm -f conftest.er1
5086    cat conftest.err >&5
5087 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 >  echo "$as_me:5087: \$? = $ac_status" >&5
5088    (exit $ac_status); } >/dev/null; then
5089    if test -s conftest.err; then
5090      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5862 | Line 5099 | sed 's/^/| /' conftest.$ac_ext >&5
5099   continue
5100   else
5101    echo "$as_me: failed program was:" >&5
5102 < sed 's/^/| /' conftest.$ac_ext >&5
5866 <
5102 >  cat conftest.$ac_ext >&5
5103    # Passes both tests.
5104   ac_preproc_ok=:
5105   break
# Line 5876 | Line 5112 | else
5112   if $ac_preproc_ok; then
5113    :
5114   else
5115 <  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5116 < 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;}
5115 >  { { echo "$as_me:5115: error: C preprocessor \"$CPP\" fails sanity check" >&5
5116 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
5117     { (exit 1); exit 1; }; }
5118   fi
5119  
# Line 5889 | Line 5123 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5123   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5125  
5126 <
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.
5126 > # Check whether --with-sprng_prefix or --without-sprng_prefix was given.
5127   if test "${with_sprng_prefix+set}" = set; then
5128    withval="$with_sprng_prefix"
5129    sprng_prefix="$withval"
# Line 6139 | Line 5131 | fi;
5131    sprng_prefix="/usr/local"
5132   fi;
5133  
5134 < # Check whether --with-sprng-lib-prefix or --without-sprng-lib-prefix was given.
5135 < if test "${with_sprng_lib_prefix+set}" = set; then
5136 <  withval="$with_sprng_lib_prefix"
5137 <  sprng_lib_prefix="$withval"
5134 > # Check whether --with-sprng-libdir or --without-sprng-libdir was given.
5135 > if test "${with_sprng_libdir+set}" = set; then
5136 >  withval="$with_sprng_libdir"
5137 >  sprng_libdir="$withval"
5138   else
5139 <  sprng_lib_prefix="/usr/local/lib"
5139 >  sprng_libdir="/usr/local/lib"
5140   fi;
5141  
5142 < # Check whether --with-sprng-include-prefix or --without-sprng-include-prefix was given.
5143 < if test "${with_sprng_include_prefix+set}" = set; then
5144 <  withval="$with_sprng_include_prefix"
5145 <  sprng_include_prefix="$withval"
5142 > # Check whether --with-sprng-include or --without-sprng-include was given.
5143 > if test "${with_sprng_include+set}" = set; then
5144 >  withval="$with_sprng_include"
5145 >  sprng_include="$withval"
5146   else
5147 <  sprng_include_prefix="/usr/local/include/sprng"
5147 >  sprng_include="/usr/local/include/sprng"
5148   fi;
5149  
5150 <  if test x$sprng_lib_prefix = x ; then
5151 <    sprng_lib_prefix=${sprng_prefix}/lib
5150 >  if test x$sprng_libdir = x ; then
5151 >    sprng_libdir=${sprng_prefix}/lib
5152    fi
5153  
5154 <  if test x$sprng_include_prefix = x ; then
5155 <    sprng_include_prefix=${sprng_prefix}/include
5154 >  if test x$sprng_include = x ; then
5155 >    sprng_include=${sprng_prefix}/include
5156    fi
5157  
5158 <  echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include_prefix" >&5
5159 < echo $ECHO_N "checking for SPRNG include files in $sprng_include_prefix... $ECHO_C" >&6
5160 <  if test -f ${sprng_include_prefix}/sprng.h; then
5158 >  echo "$as_me:5158: checking for SPRNG include files in $sprng_include" >&5
5159 > echo $ECHO_N "checking for SPRNG include files in $sprng_include... $ECHO_C" >&6
5160 >  if test -f ${sprng_include}/sprng.h; then
5161      have_sprngincl=yes
5162 <    echo "$as_me:$LINENO: result: yes" >&5
5162 >    echo "$as_me:5162: result: yes" >&5
5163   echo "${ECHO_T}yes" >&6
5164    else
5165      have_sprngincl=no
5166 <    echo "$as_me:$LINENO: result: no" >&5
5166 >    echo "$as_me:5166: result: no" >&5
5167   echo "${ECHO_T}no" >&6
5168 <    { { echo "$as_me:$LINENO: error: Could not locate the SPRNG include files" >&5
5168 >    { { echo "$as_me:5168: error: Could not locate the SPRNG include files" >&5
5169   echo "$as_me: error: Could not locate the SPRNG include files" >&2;}
5170     { (exit 1); exit 1; }; }
5171    fi
5172  
5173 <  echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_lib_prefix" >&5
5174 < echo $ECHO_N "checking for SPRNG libraries in $sprng_lib_prefix... $ECHO_C" >&6
5175 <  if test -f ${sprng_lib_prefix}/libsprng.a; then
5173 >  echo "$as_me:5173: checking for SPRNG libraries in $sprng_libdir" >&5
5174 > echo $ECHO_N "checking for SPRNG libraries in $sprng_libdir... $ECHO_C" >&6
5175 >  if test -f ${sprng_libdir}/libsprng.a; then
5176      have_sprnglib=yes
5177 <    echo "$as_me:$LINENO: result: yes" >&5
5177 >    echo "$as_me:5177: result: yes" >&5
5178   echo "${ECHO_T}yes" >&6
5179    else
5180      have_sprnglib=no
5181 <    echo "$as_me:$LINENO: result: no" >&5
5181 >    echo "$as_me:5181: result: no" >&5
5182   echo "${ECHO_T}no" >&6
5183 <    { { echo "$as_me:$LINENO: error: Could not locate the SPRNG libraries" >&5
5183 >    { { echo "$as_me:5183: error: Could not locate the SPRNG libraries" >&5
5184   echo "$as_me: error: Could not locate the SPRNG libraries" >&2;}
5185     { (exit 1); exit 1; }; }
5186    fi
5187  
6196
6197
5188    ac_ext=c
5189   ac_cpp='$CPP $CPPFLAGS'
5190   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 6202 | Line 5192 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5192   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5193  
5194    ac_save_CPPFLAGS=$CPPFLAGS
5195 <  CPPFLAGS="${CPPFLAGS} -I${sprng_include_prefix}"
5195 >  CPPFLAGS="${CPPFLAGS} -I${sprng_include}"
5196    ac_save_LDFLAGS=$LDFLAGS
5197 <  LDFLAGS="${LDFLAGS} -L${sprng_lib_prefix} -lsprng"
5198 <  if test "${ac_cv_header_sprng_h+set}" = set; then
6209 <  echo "$as_me:$LINENO: checking for sprng.h" >&5
5197 >  LDFLAGS="${LDFLAGS} -L${sprng_libdir} -lsprng"
5198 >  echo "$as_me:5198: checking for sprng.h" >&5
5199   echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
5200   if test "${ac_cv_header_sprng_h+set}" = set; then
5201    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
5202   else
5203 <  # Is the header compilable?
5204 < echo "$as_me:$LINENO: checking sprng.h usability" >&5
5205 < 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
5203 >  cat >conftest.$ac_ext <<_ACEOF
5204 > #line 5204 "configure"
5205 > #include "confdefs.h"
5206   #include <sprng.h>
5207   _ACEOF
5208 < 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
5208 > if { (eval echo "$as_me:5208: \"$ac_cpp conftest.$ac_ext\"") >&5
5209    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5210    ac_status=$?
5211 <  grep -v '^ *+' conftest.er1 >conftest.err
5212 <  rm -f conftest.er1
5213 <  cat conftest.err >&5
5214 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 <  (exit $ac_status); } >/dev/null; then
5216 <  if test -s conftest.err; then
5217 <    ac_cpp_err=$ac_c_preproc_warn_flag
5218 <  else
5219 <    ac_cpp_err=
5220 <  fi
6278 < else
6279 <  ac_cpp_err=yes
6280 < fi
6281 < if test -z "$ac_cpp_err"; then
6282 <  ac_header_preproc=yes
6283 < else
6284 <  echo "$as_me: failed program was:" >&5
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
5211 >  egrep -v '^ *\+' conftest.er1 >conftest.err
5212 >  rm -f conftest.er1
5213 >  cat conftest.err >&5
5214 >  echo "$as_me:5214: \$? = $ac_status" >&5
5215 >  (exit $ac_status); } >/dev/null; then
5216 >  if test -s conftest.err; then
5217 >    ac_cpp_err=$ac_c_preproc_warn_flag
5218 >  else
5219 >    ac_cpp_err=
5220 >  fi
5221   else
5222 <  ac_cv_header_sprng_h=$ac_header_preproc
5222 >  ac_cpp_err=yes
5223   fi
5224 < echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5
5225 < echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
5226 <
5224 > if test -z "$ac_cpp_err"; then
5225 >  ac_cv_header_sprng_h=yes
5226 > else
5227 >  echo "$as_me: failed program was:" >&5
5228 >  cat conftest.$ac_ext >&5
5229 >  ac_cv_header_sprng_h=no
5230   fi
5231 + rm -f conftest.err conftest.$ac_ext
5232 + fi
5233 + echo "$as_me:5233: result: $ac_cv_header_sprng_h" >&5
5234 + echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
5235   if test $ac_cv_header_sprng_h = yes; then
5236  
5237 <    echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
5237 >    echo "$as_me:5237: checking for init_rng in -lsprng" >&5
5238   echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
5239   if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
5240    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6344 | Line 5242 | cat >conftest.$ac_ext <<_ACEOF
5242    ac_check_lib_save_LIBS=$LIBS
5243   LIBS="-lsprng  $LIBS"
5244   cat >conftest.$ac_ext <<_ACEOF
5245 < #line $LINENO "configure"
5246 < /* confdefs.h.  */
6349 < _ACEOF
6350 < cat confdefs.h >>conftest.$ac_ext
6351 < cat >>conftest.$ac_ext <<_ACEOF
6352 < /* end confdefs.h.  */
5245 > #line 5245 "configure"
5246 > #include "confdefs.h"
5247  
5248   /* Override any gcc2 internal prototype to avoid an error.  */
5249   #ifdef __cplusplus
# Line 6367 | Line 5261 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5261   }
5262   _ACEOF
5263   rm -f conftest.$ac_objext conftest$ac_exeext
5264 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5264 > if { (eval echo "$as_me:5264: \"$ac_link\"") >&5
5265    (eval $ac_link) 2>&5
5266    ac_status=$?
5267 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 >  echo "$as_me:5267: \$? = $ac_status" >&5
5268    (exit $ac_status); } &&
5269           { ac_try='test -s conftest$ac_exeext'
5270 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 >  { (eval echo "$as_me:5270: \"$ac_try\"") >&5
5271    (eval $ac_try) 2>&5
5272    ac_status=$?
5273 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 >  echo "$as_me:5273: \$? = $ac_status" >&5
5274    (exit $ac_status); }; }; then
5275    ac_cv_lib_sprng_init_rng=yes
5276   else
5277    echo "$as_me: failed program was:" >&5
5278 < sed 's/^/| /' conftest.$ac_ext >&5
6385 <
5278 > cat conftest.$ac_ext >&5
5279   ac_cv_lib_sprng_init_rng=no
5280   fi
5281   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5282   LIBS=$ac_check_lib_save_LIBS
5283   fi
5284 < echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
5284 > echo "$as_me:5284: result: $ac_cv_lib_sprng_init_rng" >&5
5285   echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
5286   if test $ac_cv_lib_sprng_init_rng = yes; then
5287 <  SPRNG_LIBDIR="${sprng_lib_prefix}"
5288 <                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include_prefix}"
5287 >  SPRNG_LIBDIR="${sprng_libdir}"
5288 >                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include}"
5289                       HAVE_SPRNG="yes"
5290   fi
5291  
5292   fi
5293  
6401
5294    CPPFLAGS=$ac_save_CPPFLAGS
5295    LDFLAGS=$ac_save_LDFLAGS
5296    ac_ext=f90
# Line 6406 | Line 5298 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5298   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5299   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5300  
6409
5301    if test x_$HAVE_SPRNG != x_yes; then
5302 <        { { echo "$as_me:$LINENO: error: Can't build with SPRNG" >&5
5302 >        { { echo "$as_me:5302: error: Can't build with SPRNG" >&5
5303   echo "$as_me: error: Can't build with SPRNG" >&2;}
5304     { (exit 1); exit 1; }; }
5305    fi
5306  
5307 <
6417 <
6418 <
6419 <
6420 < echo "$as_me:$LINENO: checking if MKL is wanted" >&5
5307 > echo "$as_me:5307: checking if MKL is wanted" >&5
5308   echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
5309  
5310   # Check whether --with-mkl or --without-mkl was given.
5311   if test "${with_mkl+set}" = set; then
5312    withval="$with_mkl"
5313 <     echo "$as_me:$LINENO: result: yes" >&5
5313 >     echo "$as_me:5313: result: yes" >&5
5314   echo "${ECHO_T}yes" >&6
5315      for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do
5316          mkldir="$dir"
# Line 6433 | Line 5320 | echo "${ECHO_T}yes" >&6
5320          fi
5321      done
5322      if test x_$found_mkl != x_yes; then
5323 <        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
5323 >        { { echo "$as_me:5323: error: Cannot find MKL includes" >&5
5324   echo "$as_me: error: Cannot find MKL includes" >&2;}
5325     { (exit 1); exit 1; }; }
5326      else
5327          printf "MKL includes found in $mkldir/include\n";
5328      fi
5329  
6443
6444
5330    ac_ext=c
5331   ac_cpp='$CPP $CPPFLAGS'
5332   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 6452 | Line 5337 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5337    CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
5338    ac_save_LDFLAGS=$LDFLAGS
5339    LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
5340 <  if test "${ac_cv_header_mkl_h+set}" = set; then
6456 <  echo "$as_me:$LINENO: checking for mkl.h" >&5
5340 >  echo "$as_me:5340: checking for mkl.h" >&5
5341   echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
5342   if test "${ac_cv_header_mkl_h+set}" = set; then
5343    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
5344   else
5345 <  # Is the header compilable?
5346 < echo "$as_me:$LINENO: checking mkl.h usability" >&5
5347 < 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
5345 >  cat >conftest.$ac_ext <<_ACEOF
5346 > #line 5346 "configure"
5347 > #include "confdefs.h"
5348   #include <mkl.h>
5349   _ACEOF
5350 < 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
5350 > if { (eval echo "$as_me:5350: \"$ac_cpp conftest.$ac_ext\"") >&5
5351    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5352    ac_status=$?
5353 <  grep -v '^ *+' conftest.er1 >conftest.err
5353 >  egrep -v '^ *\+' conftest.er1 >conftest.err
5354    rm -f conftest.er1
5355    cat conftest.err >&5
5356 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 >  echo "$as_me:5356: \$? = $ac_status" >&5
5357    (exit $ac_status); } >/dev/null; then
5358    if test -s conftest.err; then
5359      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6526 | Line 5364 | if test -z "$ac_cpp_err"; then
5364    ac_cpp_err=yes
5365   fi
5366   if test -z "$ac_cpp_err"; then
5367 <  ac_header_preproc=yes
5367 >  ac_cv_header_mkl_h=yes
5368   else
5369    echo "$as_me: failed program was:" >&5
5370 < sed 's/^/| /' conftest.$ac_ext >&5
5371 <
6534 <  ac_header_preproc=no
5370 >  cat conftest.$ac_ext >&5
5371 >  ac_cv_header_mkl_h=no
5372   fi
5373   rm -f conftest.err conftest.$ac_ext
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
5374   fi
5375 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
5375 > echo "$as_me:5375: result: $ac_cv_header_mkl_h" >&5
5376   echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6582
6583 fi
5377   if test $ac_cv_header_mkl_h = yes; then
5378  
5379 <    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
5379 >    echo "$as_me:5379: checking for vslNewStream in -lmkl" >&5
5380   echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
5381   if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
5382    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6591 | Line 5384 | cat >conftest.$ac_ext <<_ACEOF
5384    ac_check_lib_save_LIBS=$LIBS
5385   LIBS="-lmkl  $LIBS"
5386   cat >conftest.$ac_ext <<_ACEOF
5387 < #line $LINENO "configure"
5388 < /* confdefs.h.  */
6596 < _ACEOF
6597 < cat confdefs.h >>conftest.$ac_ext
6598 < cat >>conftest.$ac_ext <<_ACEOF
6599 < /* end confdefs.h.  */
5387 > #line 5387 "configure"
5388 > #include "confdefs.h"
5389  
5390   /* Override any gcc2 internal prototype to avoid an error.  */
5391   #ifdef __cplusplus
# Line 6614 | Line 5403 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5403   }
5404   _ACEOF
5405   rm -f conftest.$ac_objext conftest$ac_exeext
5406 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5406 > if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
5407    (eval $ac_link) 2>&5
5408    ac_status=$?
5409 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 >  echo "$as_me:5409: \$? = $ac_status" >&5
5410    (exit $ac_status); } &&
5411           { ac_try='test -s conftest$ac_exeext'
5412 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5412 >  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
5413    (eval $ac_try) 2>&5
5414    ac_status=$?
5415 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 >  echo "$as_me:5415: \$? = $ac_status" >&5
5416    (exit $ac_status); }; }; then
5417    ac_cv_lib_mkl_vslNewStream=yes
5418   else
5419    echo "$as_me: failed program was:" >&5
5420 < sed 's/^/| /' conftest.$ac_ext >&5
6632 <
5420 > cat conftest.$ac_ext >&5
5421   ac_cv_lib_mkl_vslNewStream=no
5422   fi
5423   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5424   LIBS=$ac_check_lib_save_LIBS
5425   fi
5426 < echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
5426 > echo "$as_me:5426: result: $ac_cv_lib_mkl_vslNewStream" >&5
5427   echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
5428   if test $ac_cv_lib_mkl_vslNewStream = yes; then
5429    MKL_LIBDIR="${mkldir}/lib/32",
# Line 6643 | Line 5431 | fi
5431                       HAVE_MKL="yes"
5432   fi
5433  
6646
5434   else
5435    MKL_INC="-I${mkldir}/include"
5436   fi
5437  
6651
5438    CPPFLAGS=$ac_save_CPPFLAGS
5439    LDFLAGS=$ac_save_LDFLAGS
5440    ac_ext=f90
# Line 6656 | Line 5442 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5442   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5443   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5444  
6659
5445    if test x_$HAVE_MKL != x_yes; then
5446 <        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
5446 >        { { echo "$as_me:5446: error: Can't build with MKL" >&5
5447   echo "$as_me: error: Can't build with MKL" >&2;}
5448     { (exit 1); exit 1; }; }
5449    fi
5450  
6666
6667
6668
6669
5451   else
5452  
5453 <    echo "$as_me:$LINENO: result: no" >&5
5453 >    echo "$as_me:5453: result: no" >&5
5454   echo "${ECHO_T}no" >&6
5455  
5456   fi;
5457  
6677
6678
6679
5458   # Check whether --with-mpi_f90_mods or --without-mpi_f90_mods was given.
5459   if test "${with_mpi_f90_mods+set}" = set; then
5460    withval="$with_mpi_f90_mods"
# Line 6685 | Line 5463 | fi;
5463    mpi_f90_mods="/usr/local/include/f90choice"
5464   fi;
5465  
5466 <  echo "$as_me:$LINENO: checking for MPI F90 modules" >&5
5466 >  echo "$as_me:5466: checking for MPI F90 modules" >&5
5467   echo $ECHO_N "checking for MPI F90 modules... $ECHO_C" >&6
5468  
6691
5469    ac_ext=f90
5470   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
5471   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5472   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5473  
5474    ac_save_F90FLAGS=$F90FLAGS
5475 +
5476    if test "$mpi_f90_mods"; then
5477 <  F90FLAGS="${F90FLAGS} -I${mpi_f90_mods}"
5477 >  F90FLAGS="${F90FLAGS} ${MODDIRFLAG}${mpi_f90_mods}"
5478   fi
5479  
5480      cat >conftest.$ac_ext <<_ACEOF
5481  
6704
5482   program main
5483  
5484   use mpi
5485   integer :: ierr
5486   call MPI_Init(ierr)
5487  
6711
5488   end program main
5489  
5490   _ACEOF
5491   rm -f conftest.$ac_objext
5492 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5492 > if { (eval echo "$as_me:5492: \"$ac_compile\"") >&5
5493    (eval $ac_compile) 2>&5
5494    ac_status=$?
5495 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 >  echo "$as_me:5495: \$? = $ac_status" >&5
5496    (exit $ac_status); } &&
5497           { ac_try='test -s conftest.$ac_objext'
5498 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5498 >  { (eval echo "$as_me:5498: \"$ac_try\"") >&5
5499    (eval $ac_try) 2>&5
5500    ac_status=$?
5501 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 >  echo "$as_me:5501: \$? = $ac_status" >&5
5502    (exit $ac_status); }; }; then
5503    HAVE_MPI_MOD=1
5504   else
5505    echo "$as_me: failed program was:" >&5
5506 < sed 's/^/| /' conftest.$ac_ext >&5
6731 <
5506 > cat conftest.$ac_ext >&5
5507   HAVE_MPI_MOD=0
5508   fi
5509   rm -f conftest.$ac_objext conftest.$ac_ext
# Line 6739 | Line 5514 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5514   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5515   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5516  
6742
5517    if test "$HAVE_MPI_MOD" = 1; then
5518 <    echo "$as_me:$LINENO: result: yes" >&5
5518 >    echo "$as_me:5518: result: yes" >&5
5519   echo "${ECHO_T}yes" >&6
5520  
5521 < cat >>confdefs.h <<\_ACEOF
5521 > cat >>confdefs.h <<\EOF
5522   #define MPI_MOD 1
5523 < _ACEOF
5523 > EOF
5524  
5525 <    MPI_F90_MODS="-I${mpi_f90_mods}"
5525 >    MPI_F90_MODS="${mpi_f90_mods}"
5526  
5527      # The library name:
5528      if test -z "$MPI_LIB" ; then
# Line 6761 | Line 5535 | _ACEOF
5535      fi
5536  
5537    else
5538 <    echo "$as_me:$LINENO: result: no" >&5
5538 >    echo "$as_me:5538: result: no" >&5
5539   echo "${ECHO_T}no" >&6
5540 <    { { echo "$as_me:$LINENO: error: Couldn't locate MPI F90 Modules" >&5
5540 >    { { echo "$as_me:5540: error: Couldn't locate MPI F90 Modules" >&5
5541   echo "$as_me: error: Couldn't locate MPI F90 Modules" >&2;}
5542     { (exit 1); exit 1; }; }
5543    fi
6770
6771
6772
5544  
6774
5545   OBJEXT=".$OBJEXT"
5546  
5547   OOPSE=oopse
# Line 6795 | Line 5565 | SUBDIRS="libBASS libmdtools src forceFields samples ut
5565  
5566   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
5567  
5568 < SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder"
5568 > SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder staticProps"
5569  
5570 < #CFLAGS=${CFLAGS-""}
5571 < #CXXFLAGS=${CXXFLAGS-""}
5572 < #CPPFLAGS=${CPPFLAGS-""}
5573 < #FFLAGS=${FFLAGS-""}
5574 < #LDFLAGS=${LDFLAGS-""}
5575 < #OPTIMIZE=${OPTIMIZE-"-O"}
5576 < #DEBUG=${DEBUG-"-g"}
5570 > CFLAGS=${CFLAGS-""}
5571 > CXXFLAGS=${CXXFLAGS-""}
5572 > CPPFLAGS=${CPPFLAGS-""}
5573 > FFLAGS=${FFLAGS-""}
5574 > F90FLAGS=${F90FLAGS-""}
5575 > LDFLAGS=${LDFLAGS-""}
5576 > DEBUG=${DEBUG-"-g"}
5577  
5578   case $debug in
5579 <  true)
6810 <     CFLAGS="$DEBUG $CFLAGS"
6811 <     CXXFLAGS="$DEBUG $CXXFLAGS"
5579 >  1)
5580       FFLAGS="$DEBUG $FFLAGS"
5581       F90FLAGS="$DEBUG $F90FLAGS"
5582       ;;
5583    *)
6816     CFLAGS="$OPTIMIZE $CFLAGS"
6817     CXXFLAGS="$OPTIMIZE $CXXFLAGS"
6818     FFLAGS="$OPTIMIZE $FFLAGS"
6819     F90FLAGS="$OPTIMIZE $F90FLAGS"
5584       ;;
5585   esac
5586  
5587 + ac_config_headers="$ac_config_headers libmdtools/config.h"
5588  
5589 + ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile"
5590  
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
5591   cat >confcache <<\_ACEOF
5592   # This file is a shell script that caches the results of configure
5593   # tests run on this system so they can be shared between configure
# Line 6851 | Line 5598 | cat >confcache <<\_ACEOF
5598   # config.status only pays attention to the cache file if you give it
5599   # the --recheck option to rerun configure.
5600   #
5601 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
5601 > # `ac_cv_env_foo' variables (set or unset) will be overriden when
5602   # loading this file, other *unset* `ac_cv_foo' will be assigned the
5603   # following values.
5604  
# Line 6870 | Line 5617 | _ACEOF
5617        # substitution turns \\\\ into \\, and sed turns \\ into \).
5618        sed -n \
5619          "s/'/'\\\\''/g;
5620 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5620 >          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5621        ;;
5622      *)
5623        # `set' quotes correctly as required by POSIX, so do not add quotes.
5624        sed -n \
5625 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5625 >        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5626        ;;
5627      esac;
5628   } |
# Line 6886 | Line 5633 | if diff $cache_file confcache >/dev/null 2>&1; then :;
5633       t end
5634       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5635       : end' >>confcache
5636 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
5636 > if cmp -s $cache_file confcache; then :; else
5637    if test -w $cache_file; then
5638      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5639      cat confcache >$cache_file
# Line 6917 | Line 5664 | ac_libobjs=
5664  
5665   DEFS=-DHAVE_CONFIG_H
5666  
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
5667   : ${CONFIG_STATUS=./config.status}
5668   ac_clean_files_save=$ac_clean_files
5669   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5670 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5670 > { echo "$as_me:5670: creating $CONFIG_STATUS" >&5
5671   echo "$as_me: creating $CONFIG_STATUS" >&6;}
5672   cat >$CONFIG_STATUS <<_ACEOF
5673   #! $SHELL
5674 < # Generated by $as_me.
5674 > # Generated automatically by configure.
5675   # Run this file to recreate the current configuration.
5676   # Compiler output produced by configure, useful for debugging
5677   # configure, is in config.log if it exists.
5678  
5679   debug=false
6949 ac_cs_recheck=false
6950 ac_cs_silent=false
5680   SHELL=\${CONFIG_SHELL-$SHELL}
5681 + ac_cs_invocation="\$0 \$@"
5682 +
5683   _ACEOF
5684  
5685   cat >>$CONFIG_STATUS <<\_ACEOF
6955 ## --------------------- ##
6956 ## M4sh Initialization.  ##
6957 ## --------------------- ##
6958
5686   # Be Bourne compatible
5687   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5688    emulate sh
5689    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+"$@"}'='"$@"'
5690   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5691    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
5692   fi
5693  
7010
5694   # Name of the executable.
5695 < 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
5695 > as_me=`echo "$0" |sed 's,.*[\\/],,'`
5696  
5697   if expr a : '\(a\)' >/dev/null 2>&1; then
5698    as_expr=expr
# Line 7163 | Line 5718 | if mkdir -p . 2>/dev/null; then
5718   fi
5719   rm -f conf$$ conf$$.exe conf$$.file
5720  
5721 < if mkdir -p . 2>/dev/null; then
5722 <  as_mkdir_p=:
5721 > as_executable_p="test -f"
5722 >
5723 > # Support unset when possible.
5724 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5725 >  as_unset=unset
5726   else
5727 <  as_mkdir_p=false
5727 >  as_unset=false
5728   fi
5729  
5730 < as_executable_p="test -f"
5730 > # NLS nuisances.
5731 > $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5732 > $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5733 > $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5734 > $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5735 > $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5736 > $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5737 > $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5738 > $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
5739  
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
5740   # IFS
5741   # We need space, tab and new line, in precisely that order.
5742   as_nl='
# Line 7185 | Line 5744 | $as_unset CDPATH
5744   IFS="   $as_nl"
5745  
5746   # CDPATH.
5747 < $as_unset CDPATH
5747 > $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
5748  
5749   exec 6>&1
5750  
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
5751   _ACEOF
5752  
5753   # Files that config.status was made for.
# Line 7232 | Line 5767 | cat >>$CONFIG_STATUS <<\_ACEOF
5767    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5768   fi
5769  
5770 < cat >>$CONFIG_STATUS <<\_ACEOF
5770 > cat >>$CONFIG_STATUS <<\EOF
5771  
5772   ac_cs_usage="\
5773   \`$as_me' instantiates files from templates according to the
# Line 7242 | Line 5777 | Usage: $0 [OPTIONS] [FILE]...
5777  
5778    -h, --help       print this help, then exit
5779    -V, --version    print version number, then exit
7245  -q, --quiet      do not print progress messages
5780    -d, --debug      don't remove temporary files
5781        --recheck    update $as_me by reconfiguring in the same conditions
5782    --file=FILE[:TEMPLATE]
# Line 7257 | Line 5791 | _ACEOF
5791   $config_headers
5792  
5793   Report bugs to <bug-autoconf@gnu.org>."
5794 < _ACEOF
5794 > EOF
5795  
5796 < cat >>$CONFIG_STATUS <<_ACEOF
5796 > cat >>$CONFIG_STATUS <<EOF
5797   ac_cs_version="\\
5798   OOPSE config.status 1.0
5799 < configured by $0, generated by GNU Autoconf 2.57,
5799 > configured by $0, generated by GNU Autoconf 2.50,
5800    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5801  
5802   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 7271 | Line 5805 | _ACEOF
5805   gives unlimited permission to copy, distribute and modify it."
5806   srcdir=$srcdir
5807   INSTALL="$INSTALL"
5808 < _ACEOF
5808 > EOF
5809  
5810 < cat >>$CONFIG_STATUS <<\_ACEOF
5810 > cat >>$CONFIG_STATUS <<\EOF
5811   # If no file are specified by the user, then we need to provide default
5812   # value.  By we need to know if files were specified by the user.
5813   ac_need_defaults=:
# Line 7283 | Line 5817 | do
5817    --*=*)
5818      ac_option=`expr "x$1" : 'x\([^=]*\)='`
5819      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5820 <    ac_shift=:
5820 >    shift
5821 >    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5822 >    shift
5823      ;;
5824 <  -*)
7289 <    ac_option=$1
7290 <    ac_optarg=$2
7291 <    ac_shift=shift
7292 <    ;;
5824 >  -*);;
5825    *) # This is not an option, so the user has probably given explicit
5826       # arguments.
7295     ac_option=$1
5827       ac_need_defaults=false;;
5828    esac
5829  
5830 <  case $ac_option in
5830 >  case $1 in
5831    # Handling of the options.
5832 < _ACEOF
5833 < cat >>$CONFIG_STATUS <<\_ACEOF
5832 > EOF
5833 > cat >>$CONFIG_STATUS <<EOF
5834    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5835 <    ac_cs_recheck=: ;;
5835 >    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5836 >    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5837 > EOF
5838 > cat >>$CONFIG_STATUS <<\EOF
5839    --version | --vers* | -V )
5840      echo "$ac_cs_version"; exit 0 ;;
5841    --he | --h)
5842      # Conflict between --help and --header
5843 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5843 >    { { echo "$as_me:5843: error: ambiguous option: $1
5844   Try \`$0 --help' for more information." >&5
5845   echo "$as_me: error: ambiguous option: $1
5846   Try \`$0 --help' for more information." >&2;}
# Line 7316 | Line 5850 | Try \`$0 --help' for more information." >&2;}
5850    --debug | --d* | -d )
5851      debug=: ;;
5852    --file | --fil | --fi | --f )
5853 <    $ac_shift
5854 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5853 >    shift
5854 >    CONFIG_FILES="$CONFIG_FILES $1"
5855      ac_need_defaults=false;;
5856    --header | --heade | --head | --hea )
5857 <    $ac_shift
5858 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5857 >    shift
5858 >    CONFIG_HEADERS="$CONFIG_HEADERS $1"
5859      ac_need_defaults=false;;
7326  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7327  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7328    ac_cs_silent=: ;;
5860  
5861 +  # Handling of arguments.
5862 +  'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5863 +  'libBASS/Makefile' ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
5864 +  'libmdtools/Makefile' ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
5865 +  'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5866 +  'utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
5867 +  'utils/sysbuilder/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
5868 +  'forceFields/Makefile' ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
5869 +  'samples/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
5870 +  'staticProps/Makefile' ) CONFIG_FILES="$CONFIG_FILES staticProps/Makefile" ;;
5871 +  'samples/alkane/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
5872 +  'samples/argon/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
5873 +  'samples/beadLipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
5874 +  'samples/lipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
5875 +  'samples/metals/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
5876 +  'samples/water/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
5877 +  'libmdtools/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
5878 +
5879    # This is an error.
5880 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5880 >  -*) { { echo "$as_me:5880: error: unrecognized option: $1
5881   Try \`$0 --help' for more information." >&5
5882   echo "$as_me: error: unrecognized option: $1
5883   Try \`$0 --help' for more information." >&2;}
5884     { (exit 1); exit 1; }; } ;;
5885 <
5886 <  *) ac_config_targets="$ac_config_targets $1" ;;
5887 <
5885 >  *) { { echo "$as_me:5885: error: invalid argument: $1" >&5
5886 > echo "$as_me: error: invalid argument: $1" >&2;}
5887 >   { (exit 1); exit 1; }; };;
5888    esac
5889    shift
5890   done
5891  
5892 < ac_configure_extra_args=
5892 > exec 5>>config.log
5893 > cat >&5 << _ACEOF
5894  
5895 < if $ac_cs_silent; then
5896 <  exec 6>/dev/null
5897 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
7348 < fi
5895 > ## ----------------------- ##
5896 > ## Running config.status.  ##
5897 > ## ----------------------- ##
5898  
5899 < _ACEOF
5900 < cat >>$CONFIG_STATUS <<_ACEOF
5901 < 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
5899 > This file was extended by $as_me (OOPSE 1.0) 2.50, executed with
5900 >  > $ac_cs_invocation
5901 > on `(hostname || uname -n) 2>/dev/null | sed 1q`
5902  
5903   _ACEOF
5904 + EOF
5905  
5906 <
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 <
5906 > cat >>$CONFIG_STATUS <<\EOF
5907   # If the user did not use the arguments to specify the items to instantiate,
5908   # then the envvar interface is used.  Set only those that are not.
5909   # We use the long form for the default assignment because of an extremely
# Line 7395 | Line 5913 | fi
5913    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5914   fi
5915  
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.
5916   # Create a temporary directory, and hook for its removal unless debugging.
5917   $debug ||
5918   {
5919    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5920 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
5920 >  trap '{ (exit $?); exit $?; }' 1 2 13 15
5921   }
5922  
5923   # Create a (secure) tmp directory for tmp files.
5924 <
5924 > : ${TMPDIR=/tmp}
5925   {
5926 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5926 >  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5927    test -n "$tmp" && test -d "$tmp"
5928   }  ||
5929   {
5930 <  tmp=./confstat$$-$RANDOM
5930 >  tmp=$TMPDIR/cs$$-$RANDOM
5931    (umask 077 && mkdir $tmp)
5932   } ||
5933   {
5934 <   echo "$me: cannot create a temporary directory in ." >&2
5934 >   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5935     { (exit 1); exit 1; }
5936   }
5937  
5938 < _ACEOF
5938 > EOF
5939  
5940 < cat >>$CONFIG_STATUS <<_ACEOF
5940 > cat >>$CONFIG_STATUS <<EOF
5941  
5942   #
5943   # CONFIG_FILES section.
# Line 7435 | Line 5950 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5950    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5951     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5952   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
5953   s,@exec_prefix@,$exec_prefix,;t t
5954   s,@prefix@,$prefix,;t t
5955   s,@program_transform_name@,$program_transform_name,;t t
# Line 7456 | Line 5965 | s,@build_alias@,$build_alias,;t t
5965   s,@oldincludedir@,$oldincludedir,;t t
5966   s,@infodir@,$infodir,;t t
5967   s,@mandir@,$mandir,;t t
5968 < s,@build_alias@,$build_alias,;t t
5969 < s,@host_alias@,$host_alias,;t t
5970 < s,@target_alias@,$target_alias,;t t
5971 < s,@DEFS@,$DEFS,;t t
5968 > s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5969 > s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5970 > s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5971 > s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5972 > s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5973   s,@ECHO_C@,$ECHO_C,;t t
5974   s,@ECHO_N@,$ECHO_N,;t t
5975   s,@ECHO_T@,$ECHO_T,;t t
5976 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5977 + s,@DEFS@,$DEFS,;t t
5978   s,@LIBS@,$LIBS,;t t
5979   s,@PROGNAME@,$PROGNAME,;t t
5980 < s,@DEBUG@,$DEBUG,;t t
5980 > s,@debug@,$debug,;t t
5981   s,@build@,$build,;t t
5982   s,@build_cpu@,$build_cpu,;t t
5983   s,@build_vendor@,$build_vendor,;t t
# Line 7504 | Line 6016 | s,@MPI_DIR@,$MPI_DIR,;t t
6016   s,@F90LIBS@,$F90LIBS,;t t
6017   s,@F90_FUNC@,$F90_FUNC,;t t
6018   s,@F90_FUNC_@,$F90_FUNC_,;t t
6019 < s,@MPI_DIR@,$MPI_DIR,;t t
6019 > s,@MOD@,$MOD,;t t
6020 > s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
6021 > s,@MODDIRFLAG@,$MODDIRFLAG,;t t
6022 > s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
6023 > s,@mpi_dir@,$mpi_dir,;t t
6024   s,@MPI_LIBDIR@,$MPI_LIBDIR,;t t
6025   s,@MPI_INC@,$MPI_INC,;t t
6026   s,@MPI_LIB@,$MPI_LIB,;t t
# Line 7512 | Line 6028 | s,@EGREP@,$EGREP,;t t
6028   s,@MPIF90@,$MPIF90,;t t
6029   s,@MPILIBS@,$MPILIBS,;t t
6030   s,@CPP@,$CPP,;t t
7515 s,@EGREP@,$EGREP,;t t
6031   s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
6032   s,@SPRNG_LIB@,$SPRNG_LIB,;t t
6033   s,@SPRNG_INC@,$SPRNG_INC,;t t
# Line 7529 | Line 6044 | s,@LIBOBJS@,$LIBOBJS,;t t
6044   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
6045   s,@SUBDIRS@,$SUBDIRS,;t t
6046   s,@FFLAGS@,$FFLAGS,;t t
7532 s,@LIBOBJS@,$LIBOBJS,;t t
7533 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6047   CEOF
6048  
6049 < _ACEOF
6049 > EOF
6050  
6051 <  cat >>$CONFIG_STATUS <<\_ACEOF
6051 >  cat >>$CONFIG_STATUS <<\EOF
6052    # Split the substitutions into bite-sized pieces for seds with
6053    # small command number limits, like on Digital OSF/1 and HP-UX.
6054    ac_max_sed_lines=48
# Line 7574 | Line 6087 | _ACEOF
6087    fi
6088   fi # test -n "$CONFIG_FILES"
6089  
6090 < _ACEOF
6091 < cat >>$CONFIG_STATUS <<\_ACEOF
6090 > EOF
6091 > cat >>$CONFIG_STATUS <<\EOF
6092   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6093    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6094    case $ac_file in
# Line 7589 | Line 6102 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
6102    esac
6103  
6104    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6105 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7593 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6105 >  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6106           X"$ac_file" : 'X\(//\)[^/]' \| \
6107           X"$ac_file" : 'X\(//\)$' \| \
6108           X"$ac_file" : 'X\(/\)' \| \
# Line 7601 | Line 6113 | echo X"$ac_file" |
6113            /^X\(\/\/\)$/{ s//\1/; q; }
6114            /^X\(\/\).*/{ s//\1/; q; }
6115            s/.*/./; q'`
6116 <  { if $as_mkdir_p; then
6117 <    mkdir -p "$ac_dir"
6116 >  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6117 >    { case "$ac_dir" in
6118 >  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6119 >  *)                      as_incr_dir=.;;
6120 > esac
6121 > as_dummy="$ac_dir"
6122 > for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6123 >  case $as_mkdir_dir in
6124 >    # Skip DOS drivespec
6125 >    ?:) as_incr_dir=$as_mkdir_dir ;;
6126 >    *)
6127 >      as_incr_dir=$as_incr_dir/$as_mkdir_dir
6128 >      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6129 >    ;;
6130 >  esac
6131 > done; }
6132 >
6133 >    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
6134 >    # A "../" for each directory in $ac_dir_suffix.
6135 >    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
6136    else
6137 <    as_dir="$ac_dir"
6138 <    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; }; }; }
6137 >    ac_dir_suffix= ac_dots=
6138 >  fi
6139  
6140 <  ac_builddir=.
6141 <
6142 < if test "$ac_dir" != .; then
6143 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6144 <  # A "../" for each directory in $ac_dir_suffix.
6145 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6146 < else
6147 <  ac_dir_suffix= ac_top_builddir=
6148 < fi
6149 <
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 ;;
6140 >  case $srcdir in
6141 >  .)  ac_srcdir=.
6142 >      if test -z "$ac_dots"; then
6143 >         ac_top_srcdir=.
6144 >      else
6145 >         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
6146 >      fi ;;
6147 >  [\\/]* | ?:[\\/]* )
6148 >      ac_srcdir=$srcdir$ac_dir_suffix;
6149 >      ac_top_srcdir=$srcdir ;;
6150    *) # Relative path.
6151 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6152 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6153 < 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`
6151 >    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
6152 >    ac_top_srcdir=$ac_dots$srcdir ;;
6153 >  esac
6154  
7661
6155    case $INSTALL in
6156    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6157 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6157 >  *) ac_INSTALL=$ac_dots$INSTALL ;;
6158    esac
6159  
6160    if test x"$ac_file" != x-; then
6161 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
6161 >    { echo "$as_me:6161: creating $ac_file" >&5
6162   echo "$as_me: creating $ac_file" >&6;}
6163      rm -f "$ac_file"
6164    fi
6165    # Let's still pretend it is `configure' which instantiates (i.e., don't
6166    # use $as_me), people would be surprised to read:
6167 <  #    /* config.h.  Generated by config.status.  */
6168 <  if test x"$ac_file" = x-; then
6169 <    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."
6167 >  #    /* config.h.  Generated automatically by config.status.  */
6168 >  configure_input="Generated automatically from `echo $ac_file_in |
6169 >                                                 sed 's,.*/,,'` by configure."
6170  
6171    # First look for the input files in the build tree, otherwise in the
6172    # src tree.
# Line 7688 | Line 6176 | echo "$as_me: creating $ac_file" >&6;}
6176        -) echo $tmp/stdin ;;
6177        [\\/$]*)
6178           # Absolute (can't be DOS-style, as IFS=:)
6179 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6179 >         test -f "$f" || { { echo "$as_me:6179: error: cannot find input file: $f" >&5
6180   echo "$as_me: error: cannot find input file: $f" >&2;}
6181     { (exit 1); exit 1; }; }
6182           echo $f;;
# Line 7701 | Line 6189 | echo "$as_me: error: cannot find input file: $f" >&2;}
6189             echo $srcdir/$f
6190           else
6191             # /dev/null tree
6192 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6192 >           { { echo "$as_me:6192: error: cannot find input file: $f" >&5
6193   echo "$as_me: error: cannot find input file: $f" >&2;}
6194     { (exit 1); exit 1; }; }
6195           fi;;
6196        esac
6197      done` || { (exit 1); exit 1; }
6198 < _ACEOF
6199 < cat >>$CONFIG_STATUS <<_ACEOF
6198 > EOF
6199 > cat >>$CONFIG_STATUS <<EOF
6200    sed "$ac_vpsub
6201   $extrasub
6202 < _ACEOF
6203 < cat >>$CONFIG_STATUS <<\_ACEOF
6202 > EOF
6203 > cat >>$CONFIG_STATUS <<\EOF
6204   :t
6205   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6206   s,@configure_input@,$configure_input,;t t
6207   s,@srcdir@,$ac_srcdir,;t t
7720 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6208   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
6209   s,@INSTALL@,$ac_INSTALL,;t t
6210   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6211    rm -f $tmp/stdin
# Line 7735 | Line 6217 | _ACEOF
6217    fi
6218  
6219   done
6220 < _ACEOF
6221 < cat >>$CONFIG_STATUS <<\_ACEOF
6220 > EOF
6221 > cat >>$CONFIG_STATUS <<\EOF
6222  
6223   #
6224   # CONFIG_HEADER section.
# Line 7768 | Line 6250 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
6250    * )   ac_file_in=$ac_file.in ;;
6251    esac
6252  
6253 <  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6253 >  test x"$ac_file" != x- && { echo "$as_me:6253: creating $ac_file" >&5
6254   echo "$as_me: creating $ac_file" >&6;}
6255  
6256    # First look for the input files in the build tree, otherwise in the
# Line 7779 | Line 6261 | echo "$as_me: creating $ac_file" >&6;}
6261        -) echo $tmp/stdin ;;
6262        [\\/$]*)
6263           # Absolute (can't be DOS-style, as IFS=:)
6264 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6264 >         test -f "$f" || { { echo "$as_me:6264: error: cannot find input file: $f" >&5
6265   echo "$as_me: error: cannot find input file: $f" >&2;}
6266     { (exit 1); exit 1; }; }
6267           echo $f;;
# Line 7792 | Line 6274 | echo "$as_me: error: cannot find input file: $f" >&2;}
6274             echo $srcdir/$f
6275           else
6276             # /dev/null tree
6277 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6277 >           { { echo "$as_me:6277: error: cannot find input file: $f" >&5
6278   echo "$as_me: error: cannot find input file: $f" >&2;}
6279     { (exit 1); exit 1; }; }
6280           fi;;
# Line 7801 | Line 6283 | _ACEOF
6283    # Remove the trailing spaces.
6284    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
6285  
6286 < _ACEOF
6286 > EOF
6287  
6288   # Transform confdefs.h into two sed scripts, `conftest.defines' and
6289   # `conftest.undefs', that substitutes the proper values into
# Line 7817 | Line 6299 | cat >confdef2sed.sed <<\_ACEOF
6299   # `end' is used to avoid that the second main sed command (meant for
6300   # 0-ary CPP macros) applies to n-ary macro definitions.
6301   # See the Autoconf documentation for `clear'.
6302 < cat >confdef2sed.sed <<\_ACEOF
6302 > cat >confdef2sed.sed <<\EOF
6303   s/[\\&,]/\\&/g
6304   s,[\\$`],\\&,g
6305   t clear
6306   : clear
6307 < s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6307 > s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
6308   t end
6309   s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6310   : end
6311 < _ACEOF
6311 > EOF
6312   # If some macros were called several times there might be several times
6313   # the same #defines, which is useless.  Nevertheless, we may not want to
6314   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 7837 | Line 6319 | cat >>conftest.undefs <<\_ACEOF
6319   # This sed command replaces #undef with comments.  This is necessary, for
6320   # example, in the case of _POSIX_SOURCE, which is predefined and required
6321   # on some systems where configure will not decide to define it.
6322 < cat >>conftest.undefs <<\_ACEOF
6322 > cat >>conftest.undefs <<\EOF
6323   s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6324 < _ACEOF
6324 > EOF
6325  
6326   # Break up conftest.defines because some shells have a limit on the size
6327   # of here documents, and old seds have small limits too (100 cmds).
6328   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6329 < echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6329 > echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6330   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6331   echo '  :' >>$CONFIG_STATUS
6332   rm -f conftest.tail
# Line 7868 | Line 6350 | echo '  fi # grep' >>$CONFIG_STATUS
6350    mv conftest.tail conftest.defines
6351   done
6352   rm -f conftest.defines
6353 < echo '  fi # grep' >>$CONFIG_STATUS
6353 > echo '  fi # egrep' >>$CONFIG_STATUS
6354   echo >>$CONFIG_STATUS
6355  
6356   # Break up conftest.undefs because some shells have a limit on the size
# Line 7896 | Line 6378 | cat >>$CONFIG_STATUS <<\_ACEOF
6378   done
6379   rm -f conftest.undefs
6380  
6381 < cat >>$CONFIG_STATUS <<\_ACEOF
6381 > cat >>$CONFIG_STATUS <<\EOF
6382    # Let's still pretend it is `configure' which instantiates (i.e., don't
6383    # use $as_me), people would be surprised to read:
6384 <  #    /* config.h.  Generated by config.status.  */
6384 >  #    /* config.h.  Generated automatically by config.status.  */
6385    if test x"$ac_file" = x-; then
6386 <    echo "/* Generated by configure.  */" >$tmp/config.h
6386 >    echo "/* Generated automatically by configure.  */" >$tmp/config.h
6387    else
6388 <    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6388 >    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
6389    fi
6390    cat $tmp/in >>$tmp/config.h
6391    rm -f $tmp/in
6392    if test x"$ac_file" != x-; then
6393 <    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6394 <      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6393 >    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
6394 >      { echo "$as_me:6394: $ac_file is unchanged" >&5
6395   echo "$as_me: $ac_file is unchanged" >&6;}
6396      else
6397 <      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7916 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6397 >      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6398           X"$ac_file" : 'X\(//\)[^/]' \| \
6399           X"$ac_file" : 'X\(//\)$' \| \
6400           X"$ac_file" : 'X\(/\)' \| \
# Line 7924 | Line 6405 | echo X"$ac_file" |
6405            /^X\(\/\/\)$/{ s//\1/; q; }
6406            /^X\(\/\).*/{ s//\1/; q; }
6407            s/.*/./; q'`
6408 <      { if $as_mkdir_p; then
6409 <    mkdir -p "$ac_dir"
6410 <  else
6411 <    as_dir="$ac_dir"
6412 <    as_dirs=
6413 <    while test ! -d "$as_dir"; do
6414 <      as_dirs="$as_dir $as_dirs"
6415 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6416 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6417 <         X"$as_dir" : 'X\(//\)[^/]' \| \
6418 <         X"$as_dir" : 'X\(//\)$' \| \
6419 <         X"$as_dir" : 'X\(/\)' \| \
6420 <         .     : '\(.\)' 2>/dev/null ||
6421 < echo X"$as_dir" |
6422 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6423 <          /^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; }; }; }
6408 >      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6409 >        { case "$ac_dir" in
6410 >  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6411 >  *)                      as_incr_dir=.;;
6412 > esac
6413 > as_dummy="$ac_dir"
6414 > for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6415 >  case $as_mkdir_dir in
6416 >    # Skip DOS drivespec
6417 >    ?:) as_incr_dir=$as_mkdir_dir ;;
6418 >    *)
6419 >      as_incr_dir=$as_incr_dir/$as_mkdir_dir
6420 >      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6421 >    ;;
6422 >  esac
6423 > done; }
6424  
6425 +      fi
6426        rm -f $ac_file
6427        mv $tmp/config.h $ac_file
6428      fi
# Line 7957 | Line 6431 | _ACEOF
6431      rm -f $tmp/config.h
6432    fi
6433   done
6434 < _ACEOF
6434 > EOF
6435  
6436 < cat >>$CONFIG_STATUS <<\_ACEOF
6436 > cat >>$CONFIG_STATUS <<\EOF
6437  
6438   { (exit 0); exit 0; }
6439 < _ACEOF
6439 > EOF
6440   chmod +x $CONFIG_STATUS
6441   ac_clean_files=$ac_clean_files_save
6442  
7969
6443   # configure is writing to config.log, and then calls config.status.
6444   # config.status does its own redirection, appending to config.log.
6445   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 7977 | Line 6450 | if test "$no_create" != yes; then
6450   # need to make the FD available again.
6451   if test "$no_create" != yes; then
6452    ac_cs_success=:
7980  ac_config_status_args=
7981  test "$silent" = yes &&
7982    ac_config_status_args="$ac_config_status_args --quiet"
6453    exec 5>/dev/null
6454 <  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6454 >  $SHELL $CONFIG_STATUS || ac_cs_success=false
6455    exec 5>>config.log
6456    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6457    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines