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

Comparing trunk/OOPSE-2.0/configure (file contents):
Revision 2080 by gezelter, Tue Feb 15 15:17:01 2005 UTC vs.
Revision 2081 by gezelter, Fri Mar 4 15:29:03 2005 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by Autoconf 2.50 for OOPSE 2.0.
3 > # Generated by GNU Autoconf 2.59 for OOPSE 2.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 < # Free Software Foundation, Inc.
7 > # Copyright (C) 2003 Free Software Foundation, Inc.
8   # This configure script is free software; the Free Software Foundation
9   # gives unlimited permission to copy, distribute and modify it.
10 + ## --------------------- ##
11 + ## M4sh Initialization.  ##
12 + ## --------------------- ##
13  
14   # Be Bourne compatible
15   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16    emulate sh
17    NULLCMD=:
18 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 +  # is contrary to our usage.  Disable this feature.
20 +  alias -g '${1+"$@"}'='"$@"'
21   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22    set -o posix
23   fi
24 + DUALCASE=1; export DUALCASE # for MKS sh
25  
26 + # Support unset when possible.
27 + if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 +    eval $as_var=C; export $as_var
48 +  else
49 +    $as_unset $as_var
50 +  fi
51 + done
52 +
53 + # Required to use basename.
54 + if expr a : '\(a\)' >/dev/null 2>&1; then
55 +  as_expr=expr
56 + else
57 +  as_expr=false
58 + fi
59 +
60 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 +  as_basename=basename
62 + else
63 +  as_basename=false
64 + fi
65 +
66 +
67   # Name of the executable.
68 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
68 > as_me=`$as_basename "$0" ||
69 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 >         X"$0" : 'X\(//\)$' \| \
71 >         X"$0" : 'X\(/\)$' \| \
72 >         .     : '\(.\)' 2>/dev/null ||
73 > echo X/"$0" |
74 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
76 >          /^X\/\(\/\).*/{ s//\1/; q; }
77 >          s/.*/./; q'`
78  
79 +
80 + # PATH needs CR, and LINENO needs CR and PATH.
81 + # Avoid depending upon Character Ranges.
82 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 + as_cr_digits='0123456789'
86 + as_cr_alnum=$as_cr_Letters$as_cr_digits
87 +
88 + # The user is always right.
89 + if test "${PATH_SEPARATOR+set}" != set; then
90 +  echo "#! /bin/sh" >conf$$.sh
91 +  echo  "exit 0"   >>conf$$.sh
92 +  chmod +x conf$$.sh
93 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 +    PATH_SEPARATOR=';'
95 +  else
96 +    PATH_SEPARATOR=:
97 +  fi
98 +  rm -f conf$$.sh
99 + fi
100 +
101 +
102 +  as_lineno_1=$LINENO
103 +  as_lineno_2=$LINENO
104 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
106 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107 +  # Find who we are.  Look in the path if we contain no path at all
108 +  # relative or not.
109 +  case $0 in
110 +    *[\\/]* ) as_myself=$0 ;;
111 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 + for as_dir in $PATH
113 + do
114 +  IFS=$as_save_IFS
115 +  test -z "$as_dir" && as_dir=.
116 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 + done
118 +
119 +       ;;
120 +  esac
121 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
122 +  # in which case we are not to be found in the path.
123 +  if test "x$as_myself" = x; then
124 +    as_myself=$0
125 +  fi
126 +  if test ! -f "$as_myself"; then
127 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 +   { (exit 1); exit 1; }; }
129 +  fi
130 +  case $CONFIG_SHELL in
131 +  '')
132 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 + do
135 +  IFS=$as_save_IFS
136 +  test -z "$as_dir" && as_dir=.
137 +  for as_base in sh bash ksh sh5; do
138 +         case $as_dir in
139 +         /*)
140 +           if ("$as_dir/$as_base" -c '
141 +  as_lineno_1=$LINENO
142 +  as_lineno_2=$LINENO
143 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
145 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 +             CONFIG_SHELL=$as_dir/$as_base
149 +             export CONFIG_SHELL
150 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 +           fi;;
152 +         esac
153 +       done
154 + done
155 + ;;
156 +  esac
157 +
158 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 +  # uniformly replaced by the line number.  The first 'sed' inserts a
160 +  # line-number line before each line; the second 'sed' does the real
161 +  # work.  The second script uses 'N' to pair each line-number line
162 +  # with the numbered line, and appends trailing '-' during
163 +  # substitution so that $LINENO is not a special case at line end.
164 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166 +  sed '=' <$as_myself |
167 +    sed '
168 +      N
169 +      s,$,-,
170 +      : loop
171 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 +      t loop
173 +      s,-$,,
174 +      s,^['$as_cr_digits']*\n,,
175 +    ' >$as_me.lineno &&
176 +  chmod +x $as_me.lineno ||
177 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 +   { (exit 1); exit 1; }; }
179 +
180 +  # Don't try to exec as it changes $[0], causing all sort of problems
181 +  # (the dirname of $[0] is not the place where we might find the
182 +  # original and so on.  Autoconf is especially sensible to this).
183 +  . ./$as_me.lineno
184 +  # Exit status is that of the last command.
185 +  exit
186 + }
187 +
188 +
189 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 +  *c*,-n*) ECHO_N= ECHO_C='
191 + ' ECHO_T='      ' ;;
192 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 + esac
195 +
196   if expr a : '\(a\)' >/dev/null 2>&1; then
197    as_expr=expr
198   else
# Line 44 | Line 217 | as_executable_p="test -f"
217   fi
218   rm -f conf$$ conf$$.exe conf$$.file
219  
220 < as_executable_p="test -f"
221 <
49 < # Support unset when possible.
50 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 <  as_unset=unset
220 > if mkdir -p . 2>/dev/null; then
221 >  as_mkdir_p=:
222   else
223 <  as_unset=false
223 >  test -d ./-p && rmdir ./-p
224 >  as_mkdir_p=false
225   fi
226  
227 < # 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; }
227 > as_executable_p="test -f"
228  
229 + # Sed expression to map a string onto a valid CPP name.
230 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 +
232 + # Sed expression to map a string onto a valid variable name.
233 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 +
235 +
236   # IFS
237   # We need space, tab and new line, in precisely that order.
238   as_nl='
# Line 70 | Line 240 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
240   IFS="   $as_nl"
241  
242   # CDPATH.
243 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
243 > $as_unset CDPATH
244  
245 +
246   # Name of the host.
247   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248   # so uname gets run too.
# Line 83 | Line 254 | cross_compiling=no
254   # Initializations.
255   #
256   ac_default_prefix=/usr/local
257 + ac_config_libobj_dir=.
258   cross_compiling=no
259   subdirs=
260 < MFLAGS= MAKEFLAGS=
260 > MFLAGS=
261 > MAKEFLAGS=
262   SHELL=${CONFIG_SHELL-/bin/sh}
263  
264   # Maximum number of lines to put in a shell here document.
# Line 93 | Line 266 | SHELL=${CONFIG_SHELL-/bin/sh}
266   # only ac_max_sed_lines should be used.
267   : ${ac_max_here_lines=38}
268  
269 < # Avoid depending upon Character Ranges.
270 < ac_cr_az='abcdefghijklmnopqrstuvwxyz'
271 < ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
272 < ac_cr_09='0123456789'
273 < ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
269 > # Identity of this package.
270 > PACKAGE_NAME='OOPSE'
271 > PACKAGE_TARNAME='oopse'
272 > PACKAGE_VERSION='2.0'
273 > PACKAGE_STRING='OOPSE 2.0'
274 > PACKAGE_BUGREPORT='gezelter@nd.edu'
275  
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
276   ac_unique_file="src/applications/oopse/oopse.cpp"
277   ac_default_prefix="/usr/local"
278 + # Factoring default headers for most tests.
279 + ac_includes_default="\
280 + #include <stdio.h>
281 + #if HAVE_SYS_TYPES_H
282 + # include <sys/types.h>
283 + #endif
284 + #if HAVE_SYS_STAT_H
285 + # include <sys/stat.h>
286 + #endif
287 + #if STDC_HEADERS
288 + # include <stdlib.h>
289 + # include <stddef.h>
290 + #else
291 + # if HAVE_STDLIB_H
292 + #  include <stdlib.h>
293 + # endif
294 + #endif
295 + #if HAVE_STRING_H
296 + # if !STDC_HEADERS && HAVE_MEMORY_H
297 + #  include <memory.h>
298 + # endif
299 + # include <string.h>
300 + #endif
301 + #if HAVE_STRINGS_H
302 + # include <strings.h>
303 + #endif
304 + #if HAVE_INTTYPES_H
305 + # include <inttypes.h>
306 + #else
307 + # if HAVE_STDINT_H
308 + #  include <stdint.h>
309 + # endif
310 + #endif
311 + #if HAVE_UNISTD_H
312 + # include <unistd.h>
313 + #endif"
314 +
315 + 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 OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316 + ac_subst_files=''
317  
318   # Initialize some variables set by options.
319   ac_init_help=
# Line 144 | Line 353 | mandir='${prefix}/man'
353   infodir='${prefix}/info'
354   mandir='${prefix}/man'
355  
147 # Identity of this package.
148 PACKAGE_NAME='OOPSE'
149 PACKAGE_TARNAME='oopse'
150 PACKAGE_VERSION='2.0'
151 PACKAGE_STRING='OOPSE 2.0'
152 PACKAGE_BUGREPORT='gezelter@nd.edu'
153
356   ac_prev=
357   for ac_option
358   do
# Line 196 | Line 398 | do
398    -disable-* | --disable-*)
399      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400      # Reject names that are not valid shell variable names.
401 <    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
401 >    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403     { (exit 1); exit 1; }; }
404      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 205 | Line 407 | do
407    -enable-* | --enable-*)
408      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409      # Reject names that are not valid shell variable names.
410 <    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
410 >    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412     { (exit 1); exit 1; }; }
413      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 283 | Line 485 | do
485      with_fp=no ;;
486  
487    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 <  | --no-cr | --no-c)
488 >  | --no-cr | --no-c | -n)
489      no_create=yes ;;
490  
491    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 387 | Line 589 | do
589    -with-* | --with-*)
590      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591      # Reject names that are not valid shell variable names.
592 <    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
592 >    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593        { echo "$as_me: error: invalid package name: $ac_package" >&2
594     { (exit 1); exit 1; }; }
595      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 400 | Line 602 | do
602    -without-* | --without-*)
603      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604      # Reject names that are not valid shell variable names.
605 <    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
605 >    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606        { echo "$as_me: error: invalid package name: $ac_package" >&2
607     { (exit 1); exit 1; }; }
608      ac_package=`echo $ac_package | sed 's/-/_/g'`
# Line 432 | Line 634 | Try \`$0 --help' for more information." >&2
634    *=*)
635      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636      # Reject names that are not valid shell variable names.
637 <    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
637 >    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639     { (exit 1); exit 1; }; }
640      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
# Line 442 | Line 644 | Try \`$0 --help' for more information." >&2
644    *)
645      # FIXME: should be removed in autoconf 3.0.
646      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 <    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
647 >    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650      ;;
# Line 457 | Line 659 | for ac_var in bindir sbindir libexecdir datadir syscon
659   fi
660  
661   # Be sure to have absolute paths.
662 + for ac_var in exec_prefix prefix
663 + do
664 +  eval ac_val=$`echo $ac_var`
665 +  case $ac_val in
666 +    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 +   { (exit 1); exit 1; }; };;
669 +  esac
670 + done
671 +
672 + # Be sure to have absolute paths.
673   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 <              localstatedir libdir includedir oldincludedir infodir mandir \
462 <              exec_prefix prefix
674 >              localstatedir libdir includedir oldincludedir infodir mandir
675   do
676    eval ac_val=$`echo $ac_var`
677    case $ac_val in
678      [\\/$]* | ?:[\\/]* ) ;;
679 <    NONE ) ;;
468 <    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
679 >    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680     { (exit 1); exit 1; }; };;
681    esac
682   done
683  
684   # There might be people who depend on the old broken behavior: `$host'
685   # used to hold the argument of --host etc.
686 + # FIXME: To remove some day.
687   build=$build_alias
688   host=$host_alias
689   target=$target_alias
690  
691 < # FIXME: should be removed in autoconf 3.0.
691 > # FIXME: To remove some day.
692   if test "x$host_alias" != x; then
693    if test "x$build_alias" = x; then
694      cross_compiling=maybe
# Line 492 | Line 704 | test "$silent" = yes && exec 6>/dev/null
704  
705   test "$silent" = yes && exec 6>/dev/null
706  
707 +
708   # Find the source files, if location was not specified.
709   if test -z "$srcdir"; then
710    ac_srcdir_defaulted=yes
711    # Try the directory containing this script, then its parent.
712 <  ac_prog=$0
713 <  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
714 <  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
712 >  ac_confdir=`(dirname "$0") 2>/dev/null ||
713 > $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 >         X"$0" : 'X\(//\)[^/]' \| \
715 >         X"$0" : 'X\(//\)$' \| \
716 >         X"$0" : 'X\(/\)' \| \
717 >         .     : '\(.\)' 2>/dev/null ||
718 > echo X"$0" |
719 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 >          /^X\(\/\/\)$/{ s//\1/; q; }
722 >          /^X\(\/\).*/{ s//\1/; q; }
723 >          s/.*/./; q'`
724    srcdir=$ac_confdir
725    if test ! -r $srcdir/$ac_unique_file; then
726      srcdir=..
# Line 508 | Line 730 | if test ! -r $srcdir/$ac_unique_file; then
730   fi
731   if test ! -r $srcdir/$ac_unique_file; then
732    if test "$ac_srcdir_defaulted" = yes; then
733 <    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
733 >    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734     { (exit 1); exit 1; }; }
735    else
736 <    { echo "$as_me: error: cannot find sources in $srcdir" >&2
736 >    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737     { (exit 1); exit 1; }; }
738    fi
739   fi
740 + (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 +  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 +   { (exit 1); exit 1; }; }
743   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744   ac_env_build_alias_set=${build_alias+set}
745   ac_env_build_alias_value=$build_alias
# Line 571 | Line 796 | if test "$ac_init_help" = "long"; then
796   if test "$ac_init_help" = "long"; then
797    # Omit some internal or obsolete options to make the list less imposing.
798    # This message is too long to be a string in the A/UX 3.1 sh.
799 <  cat <<EOF
799 >  cat <<_ACEOF
800   \`configure' configures OOPSE 2.0 to adapt to many kinds of systems.
801  
802   Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 592 | Line 817 | EOF
817    -n, --no-create         do not create output files
818        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
819  
820 < EOF
820 > _ACEOF
821  
822 <  cat <<EOF
822 >  cat <<_ACEOF
823   Installation directories:
824    --prefix=PREFIX         install architecture-independent files in PREFIX
825 <                          [$ac_default_prefix]
825 >                          [$ac_default_prefix]
826    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
827 <                          [PREFIX]
827 >                          [PREFIX]
828  
829   By default, \`make install' will install all the files in
830   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 621 | Line 846 | EOF
846    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
847    --infodir=DIR          info documentation [PREFIX/info]
848    --mandir=DIR           man documentation [PREFIX/man]
849 < EOF
849 > _ACEOF
850  
851 <  cat <<\EOF
851 >  cat <<\_ACEOF
852  
853   System types:
854    --build=BUILD     configure for building on BUILD [guessed]
855 <  --host=HOST       build programs to run on HOST [BUILD]
856 < EOF
855 >  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
856 > _ACEOF
857   fi
858  
859   if test -n "$ac_init_help"; then
860    case $ac_init_help in
861       short | recursive ) echo "Configuration of OOPSE 2.0:";;
862     esac
863 <  cat <<\EOF
863 >  cat <<\_ACEOF
864  
865   Optional Features:
866    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
# Line 651 | Line 876 | Optional Packages:
876    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
877    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
878    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
654  --with-sprng=<prefix>   compile with SPRNG installed in <prefix>
655                          [default=/usr/local]
656  --with-mkl              Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61
879  
880   Some influential environment variables:
881    CC          C compiler command
# Line 672 | Line 894 | EOF
894   it to find libraries and programs with nonstandard names/locations.
895  
896   Report bugs to <gezelter@nd.edu>.
897 < EOF
897 > _ACEOF
898   fi
899  
900   if test "$ac_init_help" = "recursive"; then
901    # If there are subdirs, report their specific --help.
902    ac_popdir=`pwd`
903 <  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
904 <    cd $ac_subdir
905 <    # A "../" for each directory in /$ac_subdir.
684 <    ac_dots=`echo $ac_subdir |
685 <             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
903 >  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
904 >    test -d $ac_dir || continue
905 >    ac_builddir=.
906  
907 <    case $srcdir in
908 <    .) # No --srcdir option.  We are building in place.
909 <      ac_sub_srcdir=$srcdir ;;
910 <    [\\/]* | ?:[\\/]* ) # Absolute path.
911 <      ac_sub_srcdir=$srcdir/$ac_subdir ;;
912 <    *) # Relative path.
913 <      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
694 <    esac
907 > if test "$ac_dir" != .; then
908 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
909 >  # A "../" for each directory in $ac_dir_suffix.
910 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
911 > else
912 >  ac_dir_suffix= ac_top_builddir=
913 > fi
914  
915 <    # Check for guested configure; otherwise get Cygnus style configure.
916 <    if test -f $ac_sub_srcdir/configure.gnu; then
917 <      echo
918 <      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
919 <    elif test -f $ac_sub_srcdir/configure; then
915 > case $srcdir in
916 >  .)  # No --srcdir option.  We are building in place.
917 >    ac_srcdir=.
918 >    if test -z "$ac_top_builddir"; then
919 >       ac_top_srcdir=.
920 >    else
921 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
922 >    fi ;;
923 >  [\\/]* | ?:[\\/]* )  # Absolute path.
924 >    ac_srcdir=$srcdir$ac_dir_suffix;
925 >    ac_top_srcdir=$srcdir ;;
926 >  *) # Relative path.
927 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
928 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
929 > esac
930 >
931 > # Do not use `cd foo && pwd` to compute absolute paths, because
932 > # the directories may not exist.
933 > case `pwd` in
934 > .) ac_abs_builddir="$ac_dir";;
935 > *)
936 >  case "$ac_dir" in
937 >  .) ac_abs_builddir=`pwd`;;
938 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
939 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
940 >  esac;;
941 > esac
942 > case $ac_abs_builddir in
943 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
944 > *)
945 >  case ${ac_top_builddir}. in
946 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
947 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
948 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
949 >  esac;;
950 > esac
951 > case $ac_abs_builddir in
952 > .) ac_abs_srcdir=$ac_srcdir;;
953 > *)
954 >  case $ac_srcdir in
955 >  .) ac_abs_srcdir=$ac_abs_builddir;;
956 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
957 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
958 >  esac;;
959 > esac
960 > case $ac_abs_builddir in
961 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
962 > *)
963 >  case $ac_top_srcdir in
964 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
965 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
966 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
967 >  esac;;
968 > esac
969 >
970 >    cd $ac_dir
971 >    # Check for guested configure; otherwise get Cygnus style configure.
972 >    if test -f $ac_srcdir/configure.gnu; then
973        echo
974 <      $SHELL $ac_sub_srcdir/configure  --help=recursive
975 <    elif test -f $ac_sub_srcdir/configure.ac ||
704 <           test -f $ac_sub_srcdir/configure.in; then
974 >      $SHELL $ac_srcdir/configure.gnu  --help=recursive
975 >    elif test -f $ac_srcdir/configure; then
976        echo
977 +      $SHELL $ac_srcdir/configure  --help=recursive
978 +    elif test -f $ac_srcdir/configure.ac ||
979 +           test -f $ac_srcdir/configure.in; then
980 +      echo
981        $ac_configure --help
982      else
983 <      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
983 >      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984      fi
985      cd $ac_popdir
986    done
# Line 713 | Line 988 | if $ac_init_version; then
988  
989   test -n "$ac_init_help" && exit 0
990   if $ac_init_version; then
991 <  cat <<\EOF
991 >  cat <<\_ACEOF
992   OOPSE configure 2.0
993 < generated by GNU Autoconf 2.50
993 > generated by GNU Autoconf 2.59
994  
995 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
721 < Free Software Foundation, Inc.
995 > Copyright (C) 2003 Free Software Foundation, Inc.
996   This configure script is free software; the Free Software Foundation
997   gives unlimited permission to copy, distribute and modify it.
998 < EOF
998 > _ACEOF
999    exit 0
1000   fi
1001   exec 5>config.log
1002 < cat >&5 <<EOF
1002 > cat >&5 <<_ACEOF
1003   This file contains any messages produced by compilers while
1004   running configure, to aid debugging if configure makes a mistake.
1005  
1006   It was created by OOPSE $as_me 2.0, which was
1007 < generated by GNU Autoconf 2.50.  Invocation command line was
1007 > generated by GNU Autoconf 2.59.  Invocation command line was
1008  
1009    $ $0 $@
1010  
1011 < EOF
1011 > _ACEOF
1012   {
1013   cat <<_ASUNAME
1014 < ## ---------- ##
1015 < ## Platform.  ##
1016 < ## ---------- ##
1014 > ## --------- ##
1015 > ## Platform. ##
1016 > ## --------- ##
1017  
1018   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1019   uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 758 | Line 1032 | PATH = $PATH
1032   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1033   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1034  
761 PATH = $PATH
762
1035   _ASUNAME
1036 +
1037 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1038 + for as_dir in $PATH
1039 + do
1040 +  IFS=$as_save_IFS
1041 +  test -z "$as_dir" && as_dir=.
1042 +  echo "PATH: $as_dir"
1043 + done
1044 +
1045   } >&5
1046  
1047 < cat >&5 <<EOF
767 < ## ------------ ##
768 < ## Core tests.  ##
769 < ## ------------ ##
1047 > cat >&5 <<_ACEOF
1048  
771 EOF
1049  
1050 + ## ----------- ##
1051 + ## Core tests. ##
1052 + ## ----------- ##
1053 +
1054 + _ACEOF
1055 +
1056 +
1057   # Keep a trace of the command line.
1058   # Strip out --no-create and --no-recursion so they do not pile up.
1059 + # Strip out --silent because we don't want to record it for future runs.
1060   # Also quote any args containing shell meta-characters.
1061 + # Make two passes to allow for proper duplicate-argument suppression.
1062   ac_configure_args=
1063 + ac_configure_args0=
1064 + ac_configure_args1=
1065   ac_sep=
1066 < for ac_arg
1066 > ac_must_keep_next=false
1067 > for ac_pass in 1 2
1068   do
1069 <  case $ac_arg in
1070 <  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1071 <  | --no-cr | --no-c) ;;
1072 <  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1073 <  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1074 <  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1075 <    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1076 <    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077 <    ac_sep=" " ;;
1078 <  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1079 <     ac_sep=" " ;;
1080 <  esac
1081 <  # Get rid of the leading space.
1069 >  for ac_arg
1070 >  do
1071 >    case $ac_arg in
1072 >    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1073 >    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1074 >    | -silent | --silent | --silen | --sile | --sil)
1075 >      continue ;;
1076 >    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1077 >      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1078 >    esac
1079 >    case $ac_pass in
1080 >    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1081 >    2)
1082 >      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1083 >      if test $ac_must_keep_next = true; then
1084 >        ac_must_keep_next=false # Got value, back to normal.
1085 >      else
1086 >        case $ac_arg in
1087 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1088 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1089 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1090 >          | -with-* | --with-* | -without-* | --without-* | --x)
1091 >            case "$ac_configure_args0 " in
1092 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1093 >            esac
1094 >            ;;
1095 >          -* ) ac_must_keep_next=true ;;
1096 >        esac
1097 >      fi
1098 >      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1099 >      # Get rid of the leading space.
1100 >      ac_sep=" "
1101 >      ;;
1102 >    esac
1103 >  done
1104   done
1105 + $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1106 + $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1107  
1108   # When interrupted or exit'd, cleanup temporary files, and complete
1109   # config.log.  We remove comments because anyway the quotes in there
1110   # would cause problems or look ugly.
1111 + # WARNING: Be sure not to use single quotes in there, as some shells,
1112 + # such as our DU 5.0 friend, will then `close' the trap.
1113   trap 'exit_status=$?
1114    # Save into config.log some information that might help in debugging.
1115 <  echo >&5
1116 <  echo "## ----------------- ##" >&5
1117 <  echo "## Cache variables.  ##" >&5
1118 <  echo "## ----------------- ##" >&5
1119 <  echo >&5
1120 <  # The following way of writing the cache mishandles newlines in values,
1115 >  {
1116 >    echo
1117 >
1118 >    cat <<\_ASBOX
1119 > ## ---------------- ##
1120 > ## Cache variables. ##
1121 > ## ---------------- ##
1122 > _ASBOX
1123 >    echo
1124 >    # The following way of writing the cache mishandles newlines in values,
1125   {
1126    (set) 2>&1 |
1127      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1128      *ac_space=\ *)
1129        sed -n \
1130 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1131 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1131 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1132        ;;
1133      *)
1134        sed -n \
1135 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1136        ;;
1137      esac;
1138 < } >&5
1139 <  sed "/^$/d" confdefs.h >conftest.log
1140 <  if test -s conftest.log; then
1141 <    echo >&5
1142 <    echo "## ------------ ##" >&5
1143 <    echo "## confdefs.h.  ##" >&5
1144 <    echo "## ------------ ##" >&5
1145 <    echo >&5
1146 <    cat conftest.log >&5
1147 <  fi
1148 <  (echo; echo) >&5
1149 <  test "$ac_signal" != 0 &&
1150 <    echo "$as_me: caught signal $ac_signal" >&5
1151 <  echo "$as_me: exit $exit_status" >&5
1152 <  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1138 > }
1139 >    echo
1140 >
1141 >    cat <<\_ASBOX
1142 > ## ----------------- ##
1143 > ## Output variables. ##
1144 > ## ----------------- ##
1145 > _ASBOX
1146 >    echo
1147 >    for ac_var in $ac_subst_vars
1148 >    do
1149 >      eval ac_val=$`echo $ac_var`
1150 >      echo "$ac_var='"'"'$ac_val'"'"'"
1151 >    done | sort
1152 >    echo
1153 >
1154 >    if test -n "$ac_subst_files"; then
1155 >      cat <<\_ASBOX
1156 > ## ------------- ##
1157 > ## Output files. ##
1158 > ## ------------- ##
1159 > _ASBOX
1160 >      echo
1161 >      for ac_var in $ac_subst_files
1162 >      do
1163 >        eval ac_val=$`echo $ac_var`
1164 >        echo "$ac_var='"'"'$ac_val'"'"'"
1165 >      done | sort
1166 >      echo
1167 >    fi
1168 >
1169 >    if test -s confdefs.h; then
1170 >      cat <<\_ASBOX
1171 > ## ----------- ##
1172 > ## confdefs.h. ##
1173 > ## ----------- ##
1174 > _ASBOX
1175 >      echo
1176 >      sed "/^$/d" confdefs.h | sort
1177 >      echo
1178 >    fi
1179 >    test "$ac_signal" != 0 &&
1180 >      echo "$as_me: caught signal $ac_signal"
1181 >    echo "$as_me: exit $exit_status"
1182 >  } >&5
1183 >  rm -f core *.core &&
1184 >  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1185      exit $exit_status
1186       ' 0
1187   for ac_signal in 1 2 13 15; do
1188 <  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
1188 >  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1189   done
1190   ac_signal=0
1191  
# Line 843 | Line 1194 | echo >confdefs.h
1194   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1195   echo >confdefs.h
1196  
1197 + # Predefined preprocessor variables.
1198 +
1199 + cat >>confdefs.h <<_ACEOF
1200 + #define PACKAGE_NAME "$PACKAGE_NAME"
1201 + _ACEOF
1202 +
1203 +
1204 + cat >>confdefs.h <<_ACEOF
1205 + #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1206 + _ACEOF
1207 +
1208 +
1209 + cat >>confdefs.h <<_ACEOF
1210 + #define PACKAGE_VERSION "$PACKAGE_VERSION"
1211 + _ACEOF
1212 +
1213 +
1214 + cat >>confdefs.h <<_ACEOF
1215 + #define PACKAGE_STRING "$PACKAGE_STRING"
1216 + _ACEOF
1217 +
1218 +
1219 + cat >>confdefs.h <<_ACEOF
1220 + #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1221 + _ACEOF
1222 +
1223 +
1224   # Let the site file select an alternate cache file if it wants to.
1225   # Prefer explicitly selected file to automatically selected ones.
1226   if test -z "$CONFIG_SITE"; then
# Line 854 | Line 1232 | for ac_site_file in $CONFIG_SITE; do
1232   fi
1233   for ac_site_file in $CONFIG_SITE; do
1234    if test -r "$ac_site_file"; then
1235 <    { echo "$as_me:857: loading site script $ac_site_file" >&5
1235 >    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1236   echo "$as_me: loading site script $ac_site_file" >&6;}
1237 <    cat "$ac_site_file" >&5
1237 >    sed 's/^/| /' "$ac_site_file" >&5
1238      . "$ac_site_file"
1239    fi
1240   done
# Line 865 | Line 1243 | if test -r "$cache_file"; then
1243    # Some versions of bash will fail to source /dev/null (special
1244    # files actually), so we avoid doing that.
1245    if test -f "$cache_file"; then
1246 <    { echo "$as_me:868: loading cache $cache_file" >&5
1246 >    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1247   echo "$as_me: loading cache $cache_file" >&6;}
1248      case $cache_file in
1249        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 873 | Line 1251 | else
1251      esac
1252    fi
1253   else
1254 <  { echo "$as_me:876: creating cache $cache_file" >&5
1254 >  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1255   echo "$as_me: creating cache $cache_file" >&6;}
1256    >$cache_file
1257   fi
1258  
1259   # Check that the precious variables saved in the cache have kept the same
1260   # value.
1261 < ac_suggest_removing_cache=false
1261 > ac_cache_corrupted=false
1262   for ac_var in `(set) 2>&1 |
1263 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1263 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1264    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1265    eval ac_new_set=\$ac_env_${ac_var}_set
1266    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1267    eval ac_new_val="\$ac_env_${ac_var}_value"
1268    case $ac_old_set,$ac_new_set in
1269      set,)
1270 <      { echo "$as_me:892: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1271 < echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1272 <      ac_suggest_removing_cache=: ;;
1270 >      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1271 > echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1272 >      ac_cache_corrupted=: ;;
1273      ,set)
1274 <      { echo "$as_me:896: WARNING: \`$ac_var' was not set in the previous run" >&5
1275 < echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
1276 <      ac_suggest_removing_cache=: ;;
1274 >      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1275 > echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1276 >      ac_cache_corrupted=: ;;
1277      ,);;
1278      *)
1279        if test "x$ac_old_val" != "x$ac_new_val"; then
1280 <        { echo "$as_me:902: WARNING: \`$ac_var' has changed since the previous run:" >&5
1281 < echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
1282 <        { echo "$as_me:904: WARNING:   former value:  $ac_old_val" >&5
1283 < echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
1284 <        { echo "$as_me:906: WARNING:   current value: $ac_new_val" >&5
1285 < echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
1286 <        ac_suggest_removing_cache=:
1280 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1281 > echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1282 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1283 > echo "$as_me:   former value:  $ac_old_val" >&2;}
1284 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1285 > echo "$as_me:   current value: $ac_new_val" >&2;}
1286 >        ac_cache_corrupted=:
1287        fi;;
1288    esac
1289 +  # Pass precious variables to config.status.
1290 +  if test "$ac_new_set" = set; then
1291 +    case $ac_new_val in
1292 +    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1293 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1294 +    *) ac_arg=$ac_var=$ac_new_val ;;
1295 +    esac
1296 +    case " $ac_configure_args " in
1297 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1298 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1299 +    esac
1300 +  fi
1301   done
1302 < if $ac_suggest_removing_cache; then
1303 <  { echo "$as_me:913: WARNING: changes in the environment can compromise the build" >&5
1304 < echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
1305 <  { echo "$as_me:915: WARNING: consider removing $cache_file and starting over" >&5
1306 < echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
1302 > if $ac_cache_corrupted; then
1303 >  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1304 > echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1305 >  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1306 > echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1307 >   { (exit 1); exit 1; }; }
1308   fi
1309  
1310   ac_ext=c
# Line 922 | Line 1313 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing;
1313   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1314   ac_compiler_gnu=$ac_cv_c_compiler_gnu
1315  
925 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
926  *c*,-n*) ECHO_N= ECHO_C='
927 ' ECHO_T='      ' ;;
928  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
929  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
930 esac
931 echo "#! $SHELL" >conftest.sh
932 echo  "exit 0"   >>conftest.sh
933 chmod +x conftest.sh
934 if { (echo "$as_me:934: PATH=\".;.\"; conftest.sh") >&5
935  (PATH=".;."; conftest.sh) 2>&5
936  ac_status=$?
937  echo "$as_me:937: \$? = $ac_status" >&5
938  (exit $ac_status); }; then
939  ac_path_separator=';'
940 else
941  ac_path_separator=:
942 fi
943 PATH_SEPARATOR="$ac_path_separator"
944 rm -f conftest.sh
1316  
1317 +
1318 +
1319 +
1320 +
1321 +
1322 +
1323 +
1324 +
1325 +
1326 +
1327 +
1328 +
1329 +
1330 +
1331 +
1332 +
1333 +
1334 +
1335 +
1336 +
1337 +
1338 +
1339 +
1340 +
1341 +
1342   ac_aux_dir=
1343   for ac_dir in ac-tools $srcdir/ac-tools; do
1344    if test -f $ac_dir/install-sh; then
# Line 960 | Line 1356 | if test -z "$ac_aux_dir"; then
1356    fi
1357   done
1358   if test -z "$ac_aux_dir"; then
1359 <  { { echo "$as_me:963: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1359 >  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1360   echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
1361     { (exit 1); exit 1; }; }
1362   fi
# Line 968 | Line 1364 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1364   ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1365   ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1366  
1367 +
1368   # This file is part of Autoconf.                       -*- Autoconf -*-
1369   # Programming languages support.
1370   # Copyright 2000, 2001
# Line 1017 | Line 1414 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1414   #
1415   # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably
1416   # many others).
1417 +
1418  
1419   # Table of Contents:
1420   #
# Line 1053 | Line 1451 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1451   # ACTION-IF-NOT-FOUND.
1452   # _AC_LIST_MEMBER_IF
1453  
1454 +
1455 +
1456   # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE)
1457   # -------------------------------------------------
1458   #
# Line 1083 | Line 1483 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1483   # FIXME: Get rid of this macro.
1484   # _AC_LINKER_OPTION
1485  
1486 +
1487 +
1488   ## ----------------------- ##
1489   ## 1. Language selection.  ##
1490   ## ----------------------- ##
# Line 1094 | Line 1496 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1496   # AC_LANG(Fortran 90)
1497   # -------------------
1498  
1499 +
1500 +
1501   # _AC_LANG_ABBREV(Fortran 90)
1502   # ---------------------------
1503  
1504 +
1505 +
1506   # ----------------------------- #
1507   # 1c. The Fortran 95 language.  #
1508   # ----------------------------- #
# Line 1104 | Line 1510 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1510   # AC_LANG(Fortran 95)
1511   # -------------------
1512  
1513 +
1514 +
1515   # _AC_LANG_ABBREV(Fortran 95)
1516   # ---------------------------
1517  
1518 +
1519 +
1520   ## ---------------------- ##
1521   ## 2.Producing programs.  ##
1522   ## ---------------------- ##
# Line 1118 | Line 1528 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1528   # AC_LANG_SOURCE(Fortran 90)(BODY)
1529   # --------------------------------
1530  
1531 +
1532 +
1533   # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY])
1534   # -----------------------------------------------
1535  
1536 +
1537   # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION)
1538   # --------------------------------------------
1539  
1540 +
1541 +
1542   # ------------------------ #
1543   # 2c. Fortran 95 sources.  #
1544   # ------------------------ #
# Line 1131 | Line 1546 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1546   # AC_LANG_SOURCE(Fortran 95)(BODY)
1547   # --------------------------------
1548  
1549 +
1550   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1551   # -----------------------------------------------
1552  
1553 +
1554   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1555   # --------------------------------------------
1556  
1557 +
1558 +
1559   ## -------------------------------------------- ##
1560   ## 3. Looking for Compilers and Preprocessors.  ##
1561   ## -------------------------------------------- ##
# Line 1145 | Line 1564 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1564   # 3b. The Fortran 90 compiler.  #
1565   # ----------------------------- #
1566  
1567 +
1568   # AC_LANG_PREPROC(Fortran 90)
1569   # ---------------------------
1570   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1571  
1572 +
1573 +
1574   # AC_LANG_COMPILER(Fortran 90)
1575   # ----------------------------
1576   # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be
1577   # AC_REQUIRE'able.
1578  
1579 +
1580 +
1581   # AC_PROG_F90([COMPILERS...])
1582   # ---------------------------
1583   # COMPILERS is a space separated list of Fortran 90 compilers to search
# Line 1170 | Line 1594 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1594   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1595   # AC_PROG_F90
1596  
1597 +
1598   # ----------------------------- #
1599   # 3c. The Fortran 95 compiler.  #
1600   # ----------------------------- #
1601  
1602 +
1603   # AC_LANG_PREPROC(Fortran 95)
1604   # ---------------------------
1605   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1606  
1607 +
1608 +
1609   # AC_LANG_COMPILER(Fortran 95)
1610   # ----------------------------
1611   # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be
1612   # AC_REQUIRE'able.
1613  
1614 +
1615 +
1616   # AC_PROG_F95([COMPILERS...])
1617   # ---------------------------
1618   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1196 | Line 1626 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1626   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1627   # AC_PROG_F95
1628  
1629 +
1630   ## ------------------------------- ##
1631   ## 4. Compilers' characteristics.  ##
1632   ## ------------------------------- ##
1633  
1634 +
1635   # ---------------------------------------- #
1636   # 4b. Fortan 90 compiler characteristics.  #
1637   # ---------------------------------------- #
1638  
1639 +
1640   # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v])
1641   # -------------------------------------------------
1642   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1214 | Line 1647 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1647   # space-separated items.
1648   # _AC_PROG_F90_V_OUTPUT
1649  
1650 +
1651   # _AC_PROG_F90_V
1652   # --------------
1653   #
# Line 1223 | Line 1657 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1657   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1658   # _AC_PROG_F90_V
1659  
1660 +
1661   # AC_F90_LIBRARY_LDFLAGS
1662   # ----------------------
1663   #
# Line 1250 | Line 1685 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1685   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1686   # AC_F90_LIBRARY_LDFLAGS
1687  
1688 +
1689   # _AC_F90_NAME_MANGLING
1690   # ---------------------
1691   # Test for the name mangling scheme used by the Fortran 90 compiler.
# Line 1269 | Line 1705 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1705  
1706   # The replacement is empty.
1707  
1708 +
1709 +
1710   # AC_F90_WRAPPERS
1711   # ---------------
1712   # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to
# Line 1277 | Line 1715 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1715   # scheme used by the Fortran 90 compiler.
1716   # AC_F90_WRAPPERS
1717  
1718 +
1719   # AC_F90_FUNC(NAME, [SHELLVAR = NAME])
1720   # ------------------------------------
1721   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1284 | Line 1723 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1723   # argument is not supplied, it defaults to NAME.
1724   # AC_F90_FUNC
1725  
1726 +
1727   # ---------------------------------------- #
1728   # 4c. Fortan 95 compiler characteristics.  #
1729   # ---------------------------------------- #
1730  
1731 +
1732   # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v])
1733   # -------------------------------------------------
1734   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1298 | Line 1739 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1739   # space-separated items.
1740   # _AC_PROG_F95_V_OUTPUT
1741  
1742 +
1743   # _AC_PROG_F95_V
1744   # --------------
1745   #
# Line 1307 | Line 1749 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1749   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1750   # _AC_PROG_F95_V
1751  
1752 +
1753   # AC_F95_LIBRARY_LDFLAGS
1754   # ----------------------
1755   #
# Line 1334 | Line 1777 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1777   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1778   # AC_F95_LIBRARY_LDFLAGS
1779  
1780 +
1781   # _AC_F95_NAME_MANGLING
1782   # ---------------------
1783   # Test for the name mangling scheme used by the Fortran 95 compiler.
# Line 1353 | Line 1797 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1797  
1798   # The replacement is empty.
1799  
1800 +
1801 +
1802   # AC_F95_WRAPPERS
1803   # ---------------
1804   # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to
# Line 1361 | Line 1807 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1807   # scheme used by the Fortran 95 compiler.
1808   # AC_F95_WRAPPERS
1809  
1810 +
1811   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1812   # ------------------------------------
1813   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1374 | Line 1821 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1821   # Figure out how the Fortran 90 compiler constructs module file names
1822   #
1823   # AC_F90_MODULE_NAMES
1824 +
1825 +
1826 +
1827 +
1828 +
1829 +
1830 +
1831 +
1832 +
1833 +
1834 +
1835 +
1836 +
1837 +
1838 +
1839 +
1840 +
1841  
1842 +
1843 +
1844 +
1845 +
1846 +
1847 +
1848 +
1849 +
1850 +
1851 +
1852 +
1853 +
1854 +
1855 +
1856 +
1857 +
1858 +
1859 +
1860 +
1861 +
1862 +
1863 +
1864 +
1865 +
1866 +
1867 +
1868 +
1869 +
1870 +
1871 +
1872 +
1873 +
1874 +
1875 +
1876 +
1877 +
1878 +
1879 +
1880 +
1881 +
1882 +
1883   # set program name
1884   PROGNAME="oopse"
1885  
1886 +
1887   # there are two ways to do debugging.  One with the --enable-debug flag
1888   # and one using the DEBUG environment variable
1889  
# Line 1389 | Line 1895 | cat >>confdefs.h <<\EOF
1895   fi;
1896   if test "${DEBUG}"; then
1897  
1898 < cat >>confdefs.h <<\EOF
1898 > cat >>confdefs.h <<\_ACEOF
1899   #define debug 1
1900 < EOF
1900 > _ACEOF
1901  
1902    msg="$msg, debug mode"
1903   fi
1904  
1905 +
1906   # who am i
1907   # Make sure we can run config.sub.
1908   $ac_config_sub sun4 >/dev/null 2>&1 ||
1909 <  { { echo "$as_me:1402: error: cannot run $ac_config_sub" >&5
1909 >  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1910   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1911     { (exit 1); exit 1; }; }
1912  
1913 < echo "$as_me:1406: checking build system type" >&5
1913 > echo "$as_me:$LINENO: checking build system type" >&5
1914   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1915   if test "${ac_cv_build+set}" = set; then
1916    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1412 | Line 1919 | test -z "$ac_cv_build_alias" &&
1919   test -z "$ac_cv_build_alias" &&
1920    ac_cv_build_alias=`$ac_config_guess`
1921   test -z "$ac_cv_build_alias" &&
1922 <  { { echo "$as_me:1415: error: cannot guess build type; you must specify one" >&5
1922 >  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1923   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1924     { (exit 1); exit 1; }; }
1925   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1926 <  { { echo "$as_me:1419: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1927 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1926 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1927 > echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1928     { (exit 1); exit 1; }; }
1929  
1930   fi
1931 < echo "$as_me:1424: result: $ac_cv_build" >&5
1931 > echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1932   echo "${ECHO_T}$ac_cv_build" >&6
1933   build=$ac_cv_build
1934   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1935   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1936   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1937  
1938 < echo "$as_me:1431: checking host system type" >&5
1938 >
1939 > echo "$as_me:$LINENO: checking host system type" >&5
1940   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1941   if test "${ac_cv_host+set}" = set; then
1942    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1437 | Line 1945 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1945   test -z "$ac_cv_host_alias" &&
1946    ac_cv_host_alias=$ac_cv_build_alias
1947   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1948 <  { { echo "$as_me:1440: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1948 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1949   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1950     { (exit 1); exit 1; }; }
1951  
1952   fi
1953 < echo "$as_me:1445: result: $ac_cv_host" >&5
1953 > echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1954   echo "${ECHO_T}$ac_cv_host" >&6
1955   host=$ac_cv_host
1956   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1957   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1958   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1959  
1960 +
1961 +
1962 +
1963 +
1964   ac_ext=c
1965   ac_cpp='$CPP $CPPFLAGS'
1966   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1459 | Line 1971 | echo "$as_me:1462: checking for $ac_word" >&5
1971    do
1972      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1973   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1974 < echo "$as_me:1462: checking for $ac_word" >&5
1974 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1975   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1976   if test "${ac_cv_prog_CC+set}" = set; then
1977    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1467 | Line 1979 | else
1979    if test -n "$CC"; then
1980    ac_cv_prog_CC="$CC" # Let the user override the test.
1981   else
1982 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1983 < ac_dummy="$PATH"
1984 < for ac_dir in $ac_dummy; do
1985 <  IFS=$ac_save_IFS
1986 <  test -z "$ac_dir" && ac_dir=.
1987 <  $as_executable_p "$ac_dir/$ac_word" || continue
1988 < ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1989 < echo "$as_me:1477: found $ac_dir/$ac_word" >&5
1990 < break
1982 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 > for as_dir in $PATH
1984 > do
1985 >  IFS=$as_save_IFS
1986 >  test -z "$as_dir" && as_dir=.
1987 >  for ac_exec_ext in '' $ac_executable_extensions; do
1988 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1989 >    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1990 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991 >    break 2
1992 >  fi
1993   done
1994 + done
1995  
1996   fi
1997   fi
1998   CC=$ac_cv_prog_CC
1999   if test -n "$CC"; then
2000 <  echo "$as_me:1485: result: $CC" >&5
2000 >  echo "$as_me:$LINENO: result: $CC" >&5
2001   echo "${ECHO_T}$CC" >&6
2002   else
2003 <  echo "$as_me:1488: result: no" >&5
2003 >  echo "$as_me:$LINENO: result: no" >&5
2004   echo "${ECHO_T}no" >&6
2005   fi
2006  
# Line 1498 | Line 2013 | echo "$as_me:1501: checking for $ac_word" >&5
2013   do
2014    # Extract the first word of "$ac_prog", so it can be a program name with args.
2015   set dummy $ac_prog; ac_word=$2
2016 < echo "$as_me:1501: checking for $ac_word" >&5
2016 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2017   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2018   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2019    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1506 | Line 2021 | else
2021    if test -n "$ac_ct_CC"; then
2022    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2023   else
2024 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2025 < ac_dummy="$PATH"
2026 < for ac_dir in $ac_dummy; do
2027 <  IFS=$ac_save_IFS
2028 <  test -z "$ac_dir" && ac_dir=.
2029 <  $as_executable_p "$ac_dir/$ac_word" || continue
2030 < ac_cv_prog_ac_ct_CC="$ac_prog"
2031 < echo "$as_me:1516: found $ac_dir/$ac_word" >&5
2032 < break
2024 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 > for as_dir in $PATH
2026 > do
2027 >  IFS=$as_save_IFS
2028 >  test -z "$as_dir" && as_dir=.
2029 >  for ac_exec_ext in '' $ac_executable_extensions; do
2030 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2031 >    ac_cv_prog_ac_ct_CC="$ac_prog"
2032 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 >    break 2
2034 >  fi
2035   done
2036 + done
2037  
2038   fi
2039   fi
2040   ac_ct_CC=$ac_cv_prog_ac_ct_CC
2041   if test -n "$ac_ct_CC"; then
2042 <  echo "$as_me:1524: result: $ac_ct_CC" >&5
2042 >  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2043   echo "${ECHO_T}$ac_ct_CC" >&6
2044   else
2045 <  echo "$as_me:1527: result: no" >&5
2045 >  echo "$as_me:$LINENO: result: no" >&5
2046   echo "${ECHO_T}no" >&6
2047   fi
2048  
# Line 1534 | Line 2052 | test -z "$CC" && { { echo "$as_me:1537: error: no acce
2052    CC=$ac_ct_CC
2053   fi
2054  
2055 < test -z "$CC" && { { echo "$as_me:1537: error: no acceptable cc found in \$PATH" >&5
2056 < echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2055 >
2056 > test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2057 > See \`config.log' for more details." >&5
2058 > echo "$as_me: error: no acceptable C compiler found in \$PATH
2059 > See \`config.log' for more details." >&2;}
2060     { (exit 1); exit 1; }; }
2061  
2062 + # Provide some information about the compiler.
2063 + echo "$as_me:$LINENO:" \
2064 +     "checking for C compiler version" >&5
2065 + ac_compiler=`set X $ac_compile; echo $2`
2066 + { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2067 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
2068 +  ac_status=$?
2069 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 +  (exit $ac_status); }
2071 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2072 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
2073 +  ac_status=$?
2074 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 +  (exit $ac_status); }
2076 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2077 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
2078 +  ac_status=$?
2079 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080 +  (exit $ac_status); }
2081 +
2082   cat >conftest.$ac_ext <<_ACEOF
2083 < #line 1542 "configure"
2084 < #include "confdefs.h"
2083 > /* confdefs.h.  */
2084 > _ACEOF
2085 > cat confdefs.h >>conftest.$ac_ext
2086 > cat >>conftest.$ac_ext <<_ACEOF
2087 > /* end confdefs.h.  */
2088  
2089   int
2090   main ()
# Line 1551 | Line 2095 | ac_clean_files="$ac_clean_files a.out a.exe"
2095   }
2096   _ACEOF
2097   ac_clean_files_save=$ac_clean_files
2098 < ac_clean_files="$ac_clean_files a.out a.exe"
2098 > ac_clean_files="$ac_clean_files a.out a.exe b.out"
2099   # Try to create an executable without -o first, disregard a.out.
2100 < # It will help us diagnose broken compiler, and finding out an intuition
2100 > # It will help us diagnose broken compilers, and finding out an intuition
2101   # of exeext.
2102 < echo "$as_me:1558: checking for C compiler default output" >&5
2103 < echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2102 > echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2103 > echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2104   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2105 < if { (eval echo "$as_me:1561: \"$ac_link_default\"") >&5
2105 > if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2106    (eval $ac_link_default) 2>&5
2107    ac_status=$?
2108 <  echo "$as_me:1564: \$? = $ac_status" >&5
2108 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109    (exit $ac_status); }; then
2110 <  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
2111 <  case $ac_file in
2112 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2113 <    a.out ) # We found the default executable, but exeext='' is most
2114 <            # certainly right.
2115 <            break;;
2116 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2117 <          export ac_cv_exeext
2118 <          break;;
2119 <    * ) break;;
2120 <  esac
2110 >  # Find the output, starting from the most likely.  This scheme is
2111 > # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2112 > # resort.
2113 >
2114 > # Be careful to initialize this variable, since it used to be cached.
2115 > # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2116 > ac_cv_exeext=
2117 > # b.out is created by i960 compilers.
2118 > for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2119 > do
2120 >  test -f "$ac_file" || continue
2121 >  case $ac_file in
2122 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2123 >        ;;
2124 >    conftest.$ac_ext )
2125 >        # This is the source file.
2126 >        ;;
2127 >    [ab].out )
2128 >        # We found the default executable, but exeext='' is most
2129 >        # certainly right.
2130 >        break;;
2131 >    *.* )
2132 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2133 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2134 >        # but it would be cool to find out if it's true.  Does anybody
2135 >        # maintain Libtool? --akim.
2136 >        export ac_cv_exeext
2137 >        break;;
2138 >    * )
2139 >        break;;
2140 >  esac
2141   done
2142   else
2143    echo "$as_me: failed program was:" >&5
2144 < cat conftest.$ac_ext >&5
2145 < { { echo "$as_me:1581: error: C compiler cannot create executables" >&5
2146 < echo "$as_me: error: C compiler cannot create executables" >&2;}
2144 > sed 's/^/| /' conftest.$ac_ext >&5
2145 >
2146 > { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2147 > See \`config.log' for more details." >&5
2148 > echo "$as_me: error: C compiler cannot create executables
2149 > See \`config.log' for more details." >&2;}
2150     { (exit 77); exit 77; }; }
2151   fi
2152  
2153   ac_exeext=$ac_cv_exeext
2154 < echo "$as_me:1587: result: $ac_file" >&5
2154 > echo "$as_me:$LINENO: result: $ac_file" >&5
2155   echo "${ECHO_T}$ac_file" >&6
2156  
2157   # Check the compiler produces executables we can run.  If not, either
2158   # the compiler is broken, or we cross compile.
2159 < echo "$as_me:1592: checking whether the C compiler works" >&5
2159 > echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2160   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2161   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2162   # If not cross compiling, check that we can run a simple program.
2163   if test "$cross_compiling" != yes; then
2164    if { ac_try='./$ac_file'
2165 <  { (eval echo "$as_me:1598: \"$ac_try\"") >&5
2165 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166    (eval $ac_try) 2>&5
2167    ac_status=$?
2168 <  echo "$as_me:1601: \$? = $ac_status" >&5
2168 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169    (exit $ac_status); }; }; then
2170      cross_compiling=no
2171    else
2172      if test "$cross_compiling" = maybe; then
2173          cross_compiling=yes
2174      else
2175 <        { { echo "$as_me:1608: error: cannot run C compiled programs.
2176 < If you meant to cross compile, use \`--host'." >&5
2175 >        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2176 > If you meant to cross compile, use \`--host'.
2177 > See \`config.log' for more details." >&5
2178   echo "$as_me: error: cannot run C compiled programs.
2179 < If you meant to cross compile, use \`--host'." >&2;}
2179 > If you meant to cross compile, use \`--host'.
2180 > See \`config.log' for more details." >&2;}
2181     { (exit 1); exit 1; }; }
2182      fi
2183    fi
2184   fi
2185 < echo "$as_me:1616: result: yes" >&5
2185 > echo "$as_me:$LINENO: result: yes" >&5
2186   echo "${ECHO_T}yes" >&6
2187  
2188 < rm -f a.out a.exe conftest$ac_cv_exeext
2188 > rm -f a.out a.exe conftest$ac_cv_exeext b.out
2189   ac_clean_files=$ac_clean_files_save
2190   # Check the compiler produces executables we can run.  If not, either
2191   # the compiler is broken, or we cross compile.
2192 < echo "$as_me:1623: checking whether we are cross compiling" >&5
2192 > echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2193   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2194 < echo "$as_me:1625: result: $cross_compiling" >&5
2194 > echo "$as_me:$LINENO: result: $cross_compiling" >&5
2195   echo "${ECHO_T}$cross_compiling" >&6
2196  
2197 < echo "$as_me:1628: checking for executable suffix" >&5
2198 < echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2199 < if { (eval echo "$as_me:1630: \"$ac_link\"") >&5
2197 > echo "$as_me:$LINENO: checking for suffix of executables" >&5
2198 > echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2199 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2200    (eval $ac_link) 2>&5
2201    ac_status=$?
2202 <  echo "$as_me:1633: \$? = $ac_status" >&5
2202 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203    (exit $ac_status); }; then
2204    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2205   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2206   # work properly (i.e., refer to `conftest.exe'), while it won't with
2207   # `rm'.
2208 < for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2208 > for ac_file in conftest.exe conftest conftest.*; do
2209 >  test -f "$ac_file" || continue
2210    case $ac_file in
2211 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2211 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2212      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2213 <          export ac_cv_exeext
2214 <          break;;
2213 >          export ac_cv_exeext
2214 >          break;;
2215      * ) break;;
2216    esac
2217   done
2218   else
2219 <  { { echo "$as_me:1649: error: cannot compute EXEEXT: cannot compile and link" >&5
2220 < echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2219 >  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2220 > See \`config.log' for more details." >&5
2221 > echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2222 > See \`config.log' for more details." >&2;}
2223     { (exit 1); exit 1; }; }
2224   fi
2225  
2226   rm -f conftest$ac_cv_exeext
2227 < echo "$as_me:1655: result: $ac_cv_exeext" >&5
2227 > echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2228   echo "${ECHO_T}$ac_cv_exeext" >&6
2229  
2230   rm -f conftest.$ac_ext
2231   EXEEXT=$ac_cv_exeext
2232   ac_exeext=$EXEEXT
2233 < echo "$as_me:1661: checking for object suffix" >&5
2234 < echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2233 > echo "$as_me:$LINENO: checking for suffix of object files" >&5
2234 > echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2235   if test "${ac_cv_objext+set}" = set; then
2236    echo $ECHO_N "(cached) $ECHO_C" >&6
2237   else
2238    cat >conftest.$ac_ext <<_ACEOF
2239 < #line 1667 "configure"
2240 < #include "confdefs.h"
2239 > /* confdefs.h.  */
2240 > _ACEOF
2241 > cat confdefs.h >>conftest.$ac_ext
2242 > cat >>conftest.$ac_ext <<_ACEOF
2243 > /* end confdefs.h.  */
2244  
2245   int
2246   main ()
# Line 1676 | Line 2251 | if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
2251   }
2252   _ACEOF
2253   rm -f conftest.o conftest.obj
2254 < if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
2254 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2255    (eval $ac_compile) 2>&5
2256    ac_status=$?
2257 <  echo "$as_me:1682: \$? = $ac_status" >&5
2257 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258    (exit $ac_status); }; then
2259    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2260    case $ac_file in
2261 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2261 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2262      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2263         break;;
2264    esac
2265   done
2266   else
2267    echo "$as_me: failed program was:" >&5
2268 < cat conftest.$ac_ext >&5
2269 < { { echo "$as_me:1694: error: cannot compute OBJEXT: cannot compile" >&5
2270 < echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2268 > sed 's/^/| /' conftest.$ac_ext >&5
2269 >
2270 > { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2271 > See \`config.log' for more details." >&5
2272 > echo "$as_me: error: cannot compute suffix of object files: cannot compile
2273 > See \`config.log' for more details." >&2;}
2274     { (exit 1); exit 1; }; }
2275   fi
2276  
2277   rm -f conftest.$ac_cv_objext conftest.$ac_ext
2278   fi
2279 < echo "$as_me:1701: result: $ac_cv_objext" >&5
2279 > echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2280   echo "${ECHO_T}$ac_cv_objext" >&6
2281   OBJEXT=$ac_cv_objext
2282   ac_objext=$OBJEXT
2283 < echo "$as_me:1705: checking whether we are using the GNU C compiler" >&5
2283 > echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2284   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2285   if test "${ac_cv_c_compiler_gnu+set}" = set; then
2286    echo $ECHO_N "(cached) $ECHO_C" >&6
2287   else
2288    cat >conftest.$ac_ext <<_ACEOF
2289 < #line 1711 "configure"
2290 < #include "confdefs.h"
2289 > /* confdefs.h.  */
2290 > _ACEOF
2291 > cat confdefs.h >>conftest.$ac_ext
2292 > cat >>conftest.$ac_ext <<_ACEOF
2293 > /* end confdefs.h.  */
2294  
2295   int
2296   main ()
# Line 1723 | Line 2304 | if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
2304   }
2305   _ACEOF
2306   rm -f conftest.$ac_objext
2307 < if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
2308 <  (eval $ac_compile) 2>&5
2307 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2308 >  (eval $ac_compile) 2>conftest.er1
2309    ac_status=$?
2310 <  echo "$as_me:1729: \$? = $ac_status" >&5
2310 >  grep -v '^ *+' conftest.er1 >conftest.err
2311 >  rm -f conftest.er1
2312 >  cat conftest.err >&5
2313 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314    (exit $ac_status); } &&
2315 <         { ac_try='test -s conftest.$ac_objext'
2316 <  { (eval echo "$as_me:1732: \"$ac_try\"") >&5
2315 >         { ac_try='test -z "$ac_c_werror_flag"
2316 >                         || test ! -s conftest.err'
2317 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318    (eval $ac_try) 2>&5
2319    ac_status=$?
2320 <  echo "$as_me:1735: \$? = $ac_status" >&5
2320 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 >  (exit $ac_status); }; } &&
2322 >         { ac_try='test -s conftest.$ac_objext'
2323 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 >  (eval $ac_try) 2>&5
2325 >  ac_status=$?
2326 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327    (exit $ac_status); }; }; then
2328    ac_compiler_gnu=yes
2329   else
2330    echo "$as_me: failed program was:" >&5
2331 < cat conftest.$ac_ext >&5
2331 > sed 's/^/| /' conftest.$ac_ext >&5
2332 >
2333   ac_compiler_gnu=no
2334   fi
2335 < rm -f conftest.$ac_objext conftest.$ac_ext
2335 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2336   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2337  
2338   fi
2339 < echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5
2339 > echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2340   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2341   GCC=`test $ac_compiler_gnu = yes && echo yes`
2342   ac_test_CFLAGS=${CFLAGS+set}
2343   ac_save_CFLAGS=$CFLAGS
2344   CFLAGS="-g"
2345 < echo "$as_me:1753: checking whether $CC accepts -g" >&5
2345 > echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2346   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2347   if test "${ac_cv_prog_cc_g+set}" = set; then
2348    echo $ECHO_N "(cached) $ECHO_C" >&6
2349   else
2350    cat >conftest.$ac_ext <<_ACEOF
2351 < #line 1759 "configure"
2352 < #include "confdefs.h"
2351 > /* confdefs.h.  */
2352 > _ACEOF
2353 > cat confdefs.h >>conftest.$ac_ext
2354 > cat >>conftest.$ac_ext <<_ACEOF
2355 > /* end confdefs.h.  */
2356  
2357   int
2358   main ()
# Line 1768 | Line 2363 | if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2363   }
2364   _ACEOF
2365   rm -f conftest.$ac_objext
2366 < if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2367 <  (eval $ac_compile) 2>&5
2366 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2367 >  (eval $ac_compile) 2>conftest.er1
2368    ac_status=$?
2369 <  echo "$as_me:1774: \$? = $ac_status" >&5
2369 >  grep -v '^ *+' conftest.er1 >conftest.err
2370 >  rm -f conftest.er1
2371 >  cat conftest.err >&5
2372 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373    (exit $ac_status); } &&
2374 <         { ac_try='test -s conftest.$ac_objext'
2375 <  { (eval echo "$as_me:1777: \"$ac_try\"") >&5
2374 >         { ac_try='test -z "$ac_c_werror_flag"
2375 >                         || test ! -s conftest.err'
2376 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377    (eval $ac_try) 2>&5
2378    ac_status=$?
2379 <  echo "$as_me:1780: \$? = $ac_status" >&5
2379 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 >  (exit $ac_status); }; } &&
2381 >         { ac_try='test -s conftest.$ac_objext'
2382 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383 >  (eval $ac_try) 2>&5
2384 >  ac_status=$?
2385 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386    (exit $ac_status); }; }; then
2387    ac_cv_prog_cc_g=yes
2388   else
2389    echo "$as_me: failed program was:" >&5
2390 < cat conftest.$ac_ext >&5
2390 > sed 's/^/| /' conftest.$ac_ext >&5
2391 >
2392   ac_cv_prog_cc_g=no
2393   fi
2394 < rm -f conftest.$ac_objext conftest.$ac_ext
2394 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2395   fi
2396 < echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5
2396 > echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2397   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2398   if test "$ac_test_CFLAGS" = set; then
2399    CFLAGS=$ac_save_CFLAGS
# Line 1804 | Line 2410 | fi
2410      CFLAGS=
2411    fi
2412   fi
2413 + echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2414 + echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2415 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
2416 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2417 + else
2418 +  ac_cv_prog_cc_stdc=no
2419 + ac_save_CC=$CC
2420 + cat >conftest.$ac_ext <<_ACEOF
2421 + /* confdefs.h.  */
2422 + _ACEOF
2423 + cat confdefs.h >>conftest.$ac_ext
2424 + cat >>conftest.$ac_ext <<_ACEOF
2425 + /* end confdefs.h.  */
2426 + #include <stdarg.h>
2427 + #include <stdio.h>
2428 + #include <sys/types.h>
2429 + #include <sys/stat.h>
2430 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2431 + struct buf { int x; };
2432 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
2433 + static char *e (p, i)
2434 +     char **p;
2435 +     int i;
2436 + {
2437 +  return p[i];
2438 + }
2439 + static char *f (char * (*g) (char **, int), char **p, ...)
2440 + {
2441 +  char *s;
2442 +  va_list v;
2443 +  va_start (v,p);
2444 +  s = g (p, va_arg (v,int));
2445 +  va_end (v);
2446 +  return s;
2447 + }
2448 +
2449 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2450 +   function prototypes and stuff, but not '\xHH' hex character constants.
2451 +   These don't provoke an error unfortunately, instead are silently treated
2452 +   as 'x'.  The following induces an error, until -std1 is added to get
2453 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2454 +   array size at least.  It's necessary to write '\x00'==0 to get something
2455 +   that's true only with -std1.  */
2456 + int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2457 +
2458 + int test (int i, double x);
2459 + struct s1 {int (*f) (int a);};
2460 + struct s2 {int (*f) (double a);};
2461 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2462 + int argc;
2463 + char **argv;
2464 + int
2465 + main ()
2466 + {
2467 + return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2468 +  ;
2469 +  return 0;
2470 + }
2471 + _ACEOF
2472 + # Don't try gcc -ansi; that turns off useful extensions and
2473 + # breaks some systems' header files.
2474 + # AIX                   -qlanglvl=ansi
2475 + # Ultrix and OSF/1      -std1
2476 + # HP-UX 10.20 and later -Ae
2477 + # HP-UX older versions  -Aa -D_HPUX_SOURCE
2478 + # SVR4                  -Xc -D__EXTENSIONS__
2479 + for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2480 + do
2481 +  CC="$ac_save_CC $ac_arg"
2482 +  rm -f conftest.$ac_objext
2483 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2484 +  (eval $ac_compile) 2>conftest.er1
2485 +  ac_status=$?
2486 +  grep -v '^ *+' conftest.er1 >conftest.err
2487 +  rm -f conftest.er1
2488 +  cat conftest.err >&5
2489 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 +  (exit $ac_status); } &&
2491 +         { ac_try='test -z "$ac_c_werror_flag"
2492 +                         || test ! -s conftest.err'
2493 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494 +  (eval $ac_try) 2>&5
2495 +  ac_status=$?
2496 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 +  (exit $ac_status); }; } &&
2498 +         { ac_try='test -s conftest.$ac_objext'
2499 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500 +  (eval $ac_try) 2>&5
2501 +  ac_status=$?
2502 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 +  (exit $ac_status); }; }; then
2504 +  ac_cv_prog_cc_stdc=$ac_arg
2505 + break
2506 + else
2507 +  echo "$as_me: failed program was:" >&5
2508 + sed 's/^/| /' conftest.$ac_ext >&5
2509 +
2510 + fi
2511 + rm -f conftest.err conftest.$ac_objext
2512 + done
2513 + rm -f conftest.$ac_ext conftest.$ac_objext
2514 + CC=$ac_save_CC
2515 +
2516 + fi
2517 +
2518 + case "x$ac_cv_prog_cc_stdc" in
2519 +  x|xno)
2520 +    echo "$as_me:$LINENO: result: none needed" >&5
2521 + echo "${ECHO_T}none needed" >&6 ;;
2522 +  *)
2523 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2524 + echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2525 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
2526 + esac
2527 +
2528   # Some people use a C++ compiler to compile C.  Since we use `exit',
2529   # in C++ we need to declare it.  In case someone uses the same compiler
2530   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1814 | Line 2535 | if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2535   #endif
2536   _ACEOF
2537   rm -f conftest.$ac_objext
2538 < if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2539 <  (eval $ac_compile) 2>&5
2538 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2539 >  (eval $ac_compile) 2>conftest.er1
2540    ac_status=$?
2541 <  echo "$as_me:1820: \$? = $ac_status" >&5
2541 >  grep -v '^ *+' conftest.er1 >conftest.err
2542 >  rm -f conftest.er1
2543 >  cat conftest.err >&5
2544 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545    (exit $ac_status); } &&
2546 <         { ac_try='test -s conftest.$ac_objext'
2547 <  { (eval echo "$as_me:1823: \"$ac_try\"") >&5
2546 >         { ac_try='test -z "$ac_c_werror_flag"
2547 >                         || test ! -s conftest.err'
2548 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2549    (eval $ac_try) 2>&5
2550    ac_status=$?
2551 <  echo "$as_me:1826: \$? = $ac_status" >&5
2551 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 >  (exit $ac_status); }; } &&
2553 >         { ac_try='test -s conftest.$ac_objext'
2554 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555 >  (eval $ac_try) 2>&5
2556 >  ac_status=$?
2557 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558    (exit $ac_status); }; }; then
2559    for ac_declaration in \
2560 <   ''\
1830 <   '#include <stdlib.h>' \
2560 >   '' \
2561     'extern "C" void std::exit (int) throw (); using std::exit;' \
2562     'extern "C" void std::exit (int); using std::exit;' \
2563     'extern "C" void exit (int) throw ();' \
# Line 1835 | Line 2565 | do
2565     'void exit (int);'
2566   do
2567    cat >conftest.$ac_ext <<_ACEOF
2568 < #line 1838 "configure"
2569 < #include "confdefs.h"
2570 < #include <stdlib.h>
2568 > /* confdefs.h.  */
2569 > _ACEOF
2570 > cat confdefs.h >>conftest.$ac_ext
2571 > cat >>conftest.$ac_ext <<_ACEOF
2572 > /* end confdefs.h.  */
2573   $ac_declaration
2574 + #include <stdlib.h>
2575   int
2576   main ()
2577   {
# Line 1848 | Line 2581 | if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2581   }
2582   _ACEOF
2583   rm -f conftest.$ac_objext
2584 < if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2585 <  (eval $ac_compile) 2>&5
2584 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2585 >  (eval $ac_compile) 2>conftest.er1
2586    ac_status=$?
2587 <  echo "$as_me:1854: \$? = $ac_status" >&5
2587 >  grep -v '^ *+' conftest.er1 >conftest.err
2588 >  rm -f conftest.er1
2589 >  cat conftest.err >&5
2590 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591    (exit $ac_status); } &&
2592 <         { ac_try='test -s conftest.$ac_objext'
2593 <  { (eval echo "$as_me:1857: \"$ac_try\"") >&5
2592 >         { ac_try='test -z "$ac_c_werror_flag"
2593 >                         || test ! -s conftest.err'
2594 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595    (eval $ac_try) 2>&5
2596    ac_status=$?
2597 <  echo "$as_me:1860: \$? = $ac_status" >&5
2597 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 >  (exit $ac_status); }; } &&
2599 >         { ac_try='test -s conftest.$ac_objext'
2600 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 >  (eval $ac_try) 2>&5
2602 >  ac_status=$?
2603 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604    (exit $ac_status); }; }; then
2605    :
2606   else
2607    echo "$as_me: failed program was:" >&5
2608 < cat conftest.$ac_ext >&5
2608 > sed 's/^/| /' conftest.$ac_ext >&5
2609 >
2610   continue
2611   fi
2612 < rm -f conftest.$ac_objext conftest.$ac_ext
2612 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2613    cat >conftest.$ac_ext <<_ACEOF
2614 < #line 1870 "configure"
2615 < #include "confdefs.h"
2614 > /* confdefs.h.  */
2615 > _ACEOF
2616 > cat confdefs.h >>conftest.$ac_ext
2617 > cat >>conftest.$ac_ext <<_ACEOF
2618 > /* end confdefs.h.  */
2619   $ac_declaration
2620   int
2621   main ()
# Line 1879 | Line 2626 | if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2626   }
2627   _ACEOF
2628   rm -f conftest.$ac_objext
2629 < if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2630 <  (eval $ac_compile) 2>&5
2629 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 >  (eval $ac_compile) 2>conftest.er1
2631    ac_status=$?
2632 <  echo "$as_me:1885: \$? = $ac_status" >&5
2632 >  grep -v '^ *+' conftest.er1 >conftest.err
2633 >  rm -f conftest.er1
2634 >  cat conftest.err >&5
2635 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636    (exit $ac_status); } &&
2637 <         { ac_try='test -s conftest.$ac_objext'
2638 <  { (eval echo "$as_me:1888: \"$ac_try\"") >&5
2637 >         { ac_try='test -z "$ac_c_werror_flag"
2638 >                         || test ! -s conftest.err'
2639 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640    (eval $ac_try) 2>&5
2641    ac_status=$?
2642 <  echo "$as_me:1891: \$? = $ac_status" >&5
2642 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 >  (exit $ac_status); }; } &&
2644 >         { ac_try='test -s conftest.$ac_objext'
2645 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 >  (eval $ac_try) 2>&5
2647 >  ac_status=$?
2648 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649    (exit $ac_status); }; }; then
2650    break
2651   else
2652    echo "$as_me: failed program was:" >&5
2653 < cat conftest.$ac_ext >&5
2653 > sed 's/^/| /' conftest.$ac_ext >&5
2654 >
2655   fi
2656 < rm -f conftest.$ac_objext conftest.$ac_ext
2656 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2657   done
2658 < echo '#ifdef __cplusplus' >>confdefs.h
2659 < echo $ac_declaration      >>confdefs.h
2660 < echo '#endif'             >>confdefs.h
2658 > rm -f conftest*
2659 > if test -n "$ac_declaration"; then
2660 >  echo '#ifdef __cplusplus' >>confdefs.h
2661 >  echo $ac_declaration      >>confdefs.h
2662 >  echo '#endif'             >>confdefs.h
2663 > fi
2664  
2665   else
2666    echo "$as_me: failed program was:" >&5
2667 < cat conftest.$ac_ext >&5
2667 > sed 's/^/| /' conftest.$ac_ext >&5
2668 >
2669   fi
2670 < rm -f conftest.$ac_objext conftest.$ac_ext
2670 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671   ac_ext=c
2672   ac_cpp='$CPP $CPPFLAGS'
2673   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2674   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2675   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2676  
2677 +
2678   ac_ext=cc
2679   ac_cpp='$CXXCPP $CPPFLAGS'
2680   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1922 | Line 2685 | echo "$as_me:1925: checking for $ac_word" >&5
2685    do
2686      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2687   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2688 < echo "$as_me:1925: checking for $ac_word" >&5
2688 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2689   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2690   if test "${ac_cv_prog_CXX+set}" = set; then
2691    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1930 | Line 2693 | else
2693    if test -n "$CXX"; then
2694    ac_cv_prog_CXX="$CXX" # Let the user override the test.
2695   else
2696 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2697 < ac_dummy="$PATH"
2698 < for ac_dir in $ac_dummy; do
2699 <  IFS=$ac_save_IFS
2700 <  test -z "$ac_dir" && ac_dir=.
2701 <  $as_executable_p "$ac_dir/$ac_word" || continue
2702 < ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2703 < echo "$as_me:1940: found $ac_dir/$ac_word" >&5
2704 < break
2696 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 > for as_dir in $PATH
2698 > do
2699 >  IFS=$as_save_IFS
2700 >  test -z "$as_dir" && as_dir=.
2701 >  for ac_exec_ext in '' $ac_executable_extensions; do
2702 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2703 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2704 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 >    break 2
2706 >  fi
2707   done
2708 + done
2709  
2710   fi
2711   fi
2712   CXX=$ac_cv_prog_CXX
2713   if test -n "$CXX"; then
2714 <  echo "$as_me:1948: result: $CXX" >&5
2714 >  echo "$as_me:$LINENO: result: $CXX" >&5
2715   echo "${ECHO_T}$CXX" >&6
2716   else
2717 <  echo "$as_me:1951: result: no" >&5
2717 >  echo "$as_me:$LINENO: result: no" >&5
2718   echo "${ECHO_T}no" >&6
2719   fi
2720  
# Line 1961 | Line 2727 | echo "$as_me:1964: checking for $ac_word" >&5
2727   do
2728    # Extract the first word of "$ac_prog", so it can be a program name with args.
2729   set dummy $ac_prog; ac_word=$2
2730 < echo "$as_me:1964: checking for $ac_word" >&5
2730 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2731   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2732   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2733    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1969 | Line 2735 | else
2735    if test -n "$ac_ct_CXX"; then
2736    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2737   else
2738 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2739 < ac_dummy="$PATH"
2740 < for ac_dir in $ac_dummy; do
2741 <  IFS=$ac_save_IFS
2742 <  test -z "$ac_dir" && ac_dir=.
2743 <  $as_executable_p "$ac_dir/$ac_word" || continue
2744 < ac_cv_prog_ac_ct_CXX="$ac_prog"
2745 < echo "$as_me:1979: found $ac_dir/$ac_word" >&5
2746 < break
2738 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 > for as_dir in $PATH
2740 > do
2741 >  IFS=$as_save_IFS
2742 >  test -z "$as_dir" && as_dir=.
2743 >  for ac_exec_ext in '' $ac_executable_extensions; do
2744 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
2746 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 >    break 2
2748 >  fi
2749   done
2750 + done
2751  
2752   fi
2753   fi
2754   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2755   if test -n "$ac_ct_CXX"; then
2756 <  echo "$as_me:1987: result: $ac_ct_CXX" >&5
2756 >  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2757   echo "${ECHO_T}$ac_ct_CXX" >&6
2758   else
2759 <  echo "$as_me:1990: result: no" >&5
2759 >  echo "$as_me:$LINENO: result: no" >&5
2760   echo "${ECHO_T}no" >&6
2761   fi
2762  
# Line 1998 | Line 2767 | echo "$as_me:2001: checking whether we are using the G
2767    CXX=$ac_ct_CXX
2768   fi
2769  
2770 < echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5
2770 >
2771 > # Provide some information about the compiler.
2772 > echo "$as_me:$LINENO:" \
2773 >     "checking for C++ compiler version" >&5
2774 > ac_compiler=`set X $ac_compile; echo $2`
2775 > { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2776 >  (eval $ac_compiler --version </dev/null >&5) 2>&5
2777 >  ac_status=$?
2778 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 >  (exit $ac_status); }
2780 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2781 >  (eval $ac_compiler -v </dev/null >&5) 2>&5
2782 >  ac_status=$?
2783 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 >  (exit $ac_status); }
2785 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2786 >  (eval $ac_compiler -V </dev/null >&5) 2>&5
2787 >  ac_status=$?
2788 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 >  (exit $ac_status); }
2790 >
2791 > echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2792   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2793   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2794    echo $ECHO_N "(cached) $ECHO_C" >&6
2795   else
2796    cat >conftest.$ac_ext <<_ACEOF
2797 < #line 2007 "configure"
2798 < #include "confdefs.h"
2797 > /* confdefs.h.  */
2798 > _ACEOF
2799 > cat confdefs.h >>conftest.$ac_ext
2800 > cat >>conftest.$ac_ext <<_ACEOF
2801 > /* end confdefs.h.  */
2802  
2803   int
2804   main ()
# Line 2019 | Line 2812 | if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2812   }
2813   _ACEOF
2814   rm -f conftest.$ac_objext
2815 < if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2816 <  (eval $ac_compile) 2>&5
2815 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2816 >  (eval $ac_compile) 2>conftest.er1
2817    ac_status=$?
2818 <  echo "$as_me:2025: \$? = $ac_status" >&5
2818 >  grep -v '^ *+' conftest.er1 >conftest.err
2819 >  rm -f conftest.er1
2820 >  cat conftest.err >&5
2821 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822    (exit $ac_status); } &&
2823 <         { ac_try='test -s conftest.$ac_objext'
2824 <  { (eval echo "$as_me:2028: \"$ac_try\"") >&5
2823 >         { ac_try='test -z "$ac_cxx_werror_flag"
2824 >                         || test ! -s conftest.err'
2825 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826    (eval $ac_try) 2>&5
2827    ac_status=$?
2828 <  echo "$as_me:2031: \$? = $ac_status" >&5
2828 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 >  (exit $ac_status); }; } &&
2830 >         { ac_try='test -s conftest.$ac_objext'
2831 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 >  (eval $ac_try) 2>&5
2833 >  ac_status=$?
2834 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835    (exit $ac_status); }; }; then
2836    ac_compiler_gnu=yes
2837   else
2838    echo "$as_me: failed program was:" >&5
2839 < cat conftest.$ac_ext >&5
2839 > sed 's/^/| /' conftest.$ac_ext >&5
2840 >
2841   ac_compiler_gnu=no
2842   fi
2843 < rm -f conftest.$ac_objext conftest.$ac_ext
2843 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2844   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2845  
2846   fi
2847 < echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5
2847 > echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2848   echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2849   GXX=`test $ac_compiler_gnu = yes && echo yes`
2850   ac_test_CXXFLAGS=${CXXFLAGS+set}
2851   ac_save_CXXFLAGS=$CXXFLAGS
2852   CXXFLAGS="-g"
2853 < echo "$as_me:2049: checking whether $CXX accepts -g" >&5
2853 > echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2854   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2855   if test "${ac_cv_prog_cxx_g+set}" = set; then
2856    echo $ECHO_N "(cached) $ECHO_C" >&6
2857   else
2858    cat >conftest.$ac_ext <<_ACEOF
2859 < #line 2055 "configure"
2860 < #include "confdefs.h"
2859 > /* confdefs.h.  */
2860 > _ACEOF
2861 > cat confdefs.h >>conftest.$ac_ext
2862 > cat >>conftest.$ac_ext <<_ACEOF
2863 > /* end confdefs.h.  */
2864  
2865   int
2866   main ()
# Line 2064 | Line 2871 | if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2871   }
2872   _ACEOF
2873   rm -f conftest.$ac_objext
2874 < if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2875 <  (eval $ac_compile) 2>&5
2874 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 >  (eval $ac_compile) 2>conftest.er1
2876    ac_status=$?
2877 <  echo "$as_me:2070: \$? = $ac_status" >&5
2877 >  grep -v '^ *+' conftest.er1 >conftest.err
2878 >  rm -f conftest.er1
2879 >  cat conftest.err >&5
2880 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881    (exit $ac_status); } &&
2882 <         { ac_try='test -s conftest.$ac_objext'
2883 <  { (eval echo "$as_me:2073: \"$ac_try\"") >&5
2882 >         { ac_try='test -z "$ac_cxx_werror_flag"
2883 >                         || test ! -s conftest.err'
2884 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885    (eval $ac_try) 2>&5
2886    ac_status=$?
2887 <  echo "$as_me:2076: \$? = $ac_status" >&5
2887 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 >  (exit $ac_status); }; } &&
2889 >         { ac_try='test -s conftest.$ac_objext'
2890 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 >  (eval $ac_try) 2>&5
2892 >  ac_status=$?
2893 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894    (exit $ac_status); }; }; then
2895    ac_cv_prog_cxx_g=yes
2896   else
2897    echo "$as_me: failed program was:" >&5
2898 < cat conftest.$ac_ext >&5
2898 > sed 's/^/| /' conftest.$ac_ext >&5
2899 >
2900   ac_cv_prog_cxx_g=no
2901   fi
2902 < rm -f conftest.$ac_objext conftest.$ac_ext
2902 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2903   fi
2904 < echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5
2904 > echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2905   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2906   if test "$ac_test_CXXFLAGS" = set; then
2907    CXXFLAGS=$ac_save_CXXFLAGS
# Line 2101 | Line 2919 | for ac_declaration in \
2919    fi
2920   fi
2921   for ac_declaration in \
2922 <   ''\
2105 <   '#include <stdlib.h>' \
2922 >   '' \
2923     'extern "C" void std::exit (int) throw (); using std::exit;' \
2924     'extern "C" void std::exit (int); using std::exit;' \
2925     'extern "C" void exit (int) throw ();' \
# Line 2110 | Line 2927 | do
2927     'void exit (int);'
2928   do
2929    cat >conftest.$ac_ext <<_ACEOF
2930 < #line 2113 "configure"
2931 < #include "confdefs.h"
2932 < #include <stdlib.h>
2930 > /* confdefs.h.  */
2931 > _ACEOF
2932 > cat confdefs.h >>conftest.$ac_ext
2933 > cat >>conftest.$ac_ext <<_ACEOF
2934 > /* end confdefs.h.  */
2935   $ac_declaration
2936 + #include <stdlib.h>
2937   int
2938   main ()
2939   {
# Line 2123 | Line 2943 | if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2943   }
2944   _ACEOF
2945   rm -f conftest.$ac_objext
2946 < if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2947 <  (eval $ac_compile) 2>&5
2946 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2947 >  (eval $ac_compile) 2>conftest.er1
2948    ac_status=$?
2949 <  echo "$as_me:2129: \$? = $ac_status" >&5
2949 >  grep -v '^ *+' conftest.er1 >conftest.err
2950 >  rm -f conftest.er1
2951 >  cat conftest.err >&5
2952 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953    (exit $ac_status); } &&
2954 <         { ac_try='test -s conftest.$ac_objext'
2955 <  { (eval echo "$as_me:2132: \"$ac_try\"") >&5
2954 >         { ac_try='test -z "$ac_cxx_werror_flag"
2955 >                         || test ! -s conftest.err'
2956 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957    (eval $ac_try) 2>&5
2958    ac_status=$?
2959 <  echo "$as_me:2135: \$? = $ac_status" >&5
2959 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 >  (exit $ac_status); }; } &&
2961 >         { ac_try='test -s conftest.$ac_objext'
2962 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 >  (eval $ac_try) 2>&5
2964 >  ac_status=$?
2965 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966    (exit $ac_status); }; }; then
2967    :
2968   else
2969    echo "$as_me: failed program was:" >&5
2970 < cat conftest.$ac_ext >&5
2970 > sed 's/^/| /' conftest.$ac_ext >&5
2971 >
2972   continue
2973   fi
2974 < rm -f conftest.$ac_objext conftest.$ac_ext
2974 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2975    cat >conftest.$ac_ext <<_ACEOF
2976 < #line 2145 "configure"
2977 < #include "confdefs.h"
2976 > /* confdefs.h.  */
2977 > _ACEOF
2978 > cat confdefs.h >>conftest.$ac_ext
2979 > cat >>conftest.$ac_ext <<_ACEOF
2980 > /* end confdefs.h.  */
2981   $ac_declaration
2982   int
2983   main ()
# Line 2154 | Line 2988 | if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
2988   }
2989   _ACEOF
2990   rm -f conftest.$ac_objext
2991 < if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
2992 <  (eval $ac_compile) 2>&5
2991 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2992 >  (eval $ac_compile) 2>conftest.er1
2993    ac_status=$?
2994 <  echo "$as_me:2160: \$? = $ac_status" >&5
2994 >  grep -v '^ *+' conftest.er1 >conftest.err
2995 >  rm -f conftest.er1
2996 >  cat conftest.err >&5
2997 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998    (exit $ac_status); } &&
2999 <         { ac_try='test -s conftest.$ac_objext'
3000 <  { (eval echo "$as_me:2163: \"$ac_try\"") >&5
2999 >         { ac_try='test -z "$ac_cxx_werror_flag"
3000 >                         || test ! -s conftest.err'
3001 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002    (eval $ac_try) 2>&5
3003    ac_status=$?
3004 <  echo "$as_me:2166: \$? = $ac_status" >&5
3004 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 >  (exit $ac_status); }; } &&
3006 >         { ac_try='test -s conftest.$ac_objext'
3007 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 >  (eval $ac_try) 2>&5
3009 >  ac_status=$?
3010 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011    (exit $ac_status); }; }; then
3012    break
3013   else
3014    echo "$as_me: failed program was:" >&5
3015 < cat conftest.$ac_ext >&5
3015 > sed 's/^/| /' conftest.$ac_ext >&5
3016 >
3017   fi
3018 < rm -f conftest.$ac_objext conftest.$ac_ext
3018 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3019   done
3020 < echo '#ifdef __cplusplus' >>confdefs.h
3021 < echo $ac_declaration      >>confdefs.h
3022 < echo '#endif'             >>confdefs.h
3020 > rm -f conftest*
3021 > if test -n "$ac_declaration"; then
3022 >  echo '#ifdef __cplusplus' >>confdefs.h
3023 >  echo $ac_declaration      >>confdefs.h
3024 >  echo '#endif'             >>confdefs.h
3025 > fi
3026  
3027   ac_ext=c
3028   ac_cpp='$CPP $CPPFLAGS'
# Line 2182 | Line 3030 | OOPSE_TEMPLATE_FLAGS=""
3030   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3032  
3033 +
3034   OOPSE_TEMPLATE_FLAGS=""
3035   if test $ac_cv_cxx_compiler_gnu = no; then
3036 <  echo "$as_me:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3036 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3037   echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6
3038    echo 'void f(){}' > conftest.cc
3039    if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then
3040 <    echo "$as_me:2191: result: yes" >&5
3040 >    echo "$as_me:$LINENO: result: yes" >&5
3041   echo "${ECHO_T}yes" >&6
3042      OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink"
3043    else
3044 <    echo "$as_me:2195: result: no" >&5
3044 >    echo "$as_me:$LINENO: result: no" >&5
3045   echo "${ECHO_T}no" >&6
3046    fi
3047    rm -f conftest*
3048 <  echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5
3048 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5
3049   echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6
3050    echo 'void f(){}' > conftest.cc
3051    if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then
3052 <    echo "$as_me:2203: result: yes" >&5
3052 >    echo "$as_me:$LINENO: result: yes" >&5
3053   echo "${ECHO_T}yes" >&6
3054      OOPSE_TEMPLATE_FLAGS="-instances=static"
3055    else
3056 <    echo "$as_me:2207: result: no" >&5
3056 >    echo "$as_me:$LINENO: result: no" >&5
3057   echo "${ECHO_T}no" >&6
3058    fi
3059    rm -f conftest*
3060 <  echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5
3060 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5
3061   echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6
3062    echo 'void f(){}' > conftest.cc
3063    if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then
3064 <    echo "$as_me:2215: result: yes" >&5
3064 >    echo "$as_me:$LINENO: result: yes" >&5
3065   echo "${ECHO_T}yes" >&6
3066      OOPSE_TEMPLATE_FLAGS="-pto"
3067    else
3068 <    echo "$as_me:2219: result: no" >&5
3068 >    echo "$as_me:$LINENO: result: no" >&5
3069   echo "${ECHO_T}no" >&6
3070    fi
3071    rm -f conftest*
3072 <  echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5
3072 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5
3073   echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6
3074    echo 'void f(){}' > conftest.cc
3075    if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then
3076 <    echo "$as_me:2227: result: yes" >&5
3076 >    echo "$as_me:$LINENO: result: yes" >&5
3077   echo "${ECHO_T}yes" >&6
3078  
3079 +
3080      EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std"
3081    else
3082 <    echo "$as_me:2232: result: no" >&5
3082 >    echo "$as_me:$LINENO: result: no" >&5
3083   echo "${ECHO_T}no" >&6
3084    fi
3085   fi
3086  
3087 +
3088 +
3089 +
3090   ac_ext=f90
3091   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3092   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2243 | Line 3096 | echo "$as_me:2246: checking for $ac_word" >&5
3096    do
3097      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3098   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3099 < echo "$as_me:2246: checking for $ac_word" >&5
3099 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3100   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3101   if test "${ac_cv_prog_F90+set}" = set; then
3102    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2251 | Line 3104 | else
3104    if test -n "$F90"; then
3105    ac_cv_prog_F90="$F90" # Let the user override the test.
3106   else
3107 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3108 < ac_dummy="$PATH"
3109 < for ac_dir in $ac_dummy; do
3110 <  IFS=$ac_save_IFS
3111 <  test -z "$ac_dir" && ac_dir=.
3112 <  $as_executable_p "$ac_dir/$ac_word" || continue
3113 < ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3114 < echo "$as_me:2261: found $ac_dir/$ac_word" >&5
3115 < break
3107 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 > for as_dir in $PATH
3109 > do
3110 >  IFS=$as_save_IFS
3111 >  test -z "$as_dir" && as_dir=.
3112 >  for ac_exec_ext in '' $ac_executable_extensions; do
3113 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 >    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3115 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 >    break 2
3117 >  fi
3118   done
3119 + done
3120  
3121   fi
3122   fi
3123   F90=$ac_cv_prog_F90
3124   if test -n "$F90"; then
3125 <  echo "$as_me:2269: result: $F90" >&5
3125 >  echo "$as_me:$LINENO: result: $F90" >&5
3126   echo "${ECHO_T}$F90" >&6
3127   else
3128 <  echo "$as_me:2272: result: no" >&5
3128 >  echo "$as_me:$LINENO: result: no" >&5
3129   echo "${ECHO_T}no" >&6
3130   fi
3131  
# Line 2282 | Line 3138 | echo "$as_me:2285: checking for $ac_word" >&5
3138   do
3139    # Extract the first word of "$ac_prog", so it can be a program name with args.
3140   set dummy $ac_prog; ac_word=$2
3141 < echo "$as_me:2285: checking for $ac_word" >&5
3141 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3142   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3143   if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3144    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2290 | Line 3146 | else
3146    if test -n "$ac_ct_F90"; then
3147    ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3148   else
3149 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3150 < ac_dummy="$PATH"
3151 < for ac_dir in $ac_dummy; do
3152 <  IFS=$ac_save_IFS
3153 <  test -z "$ac_dir" && ac_dir=.
3154 <  $as_executable_p "$ac_dir/$ac_word" || continue
3155 < ac_cv_prog_ac_ct_F90="$ac_prog"
3156 < echo "$as_me:2300: found $ac_dir/$ac_word" >&5
3157 < break
3149 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 > for as_dir in $PATH
3151 > do
3152 >  IFS=$as_save_IFS
3153 >  test -z "$as_dir" && as_dir=.
3154 >  for ac_exec_ext in '' $ac_executable_extensions; do
3155 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3156 >    ac_cv_prog_ac_ct_F90="$ac_prog"
3157 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 >    break 2
3159 >  fi
3160   done
3161 + done
3162  
3163   fi
3164   fi
3165   ac_ct_F90=$ac_cv_prog_ac_ct_F90
3166   if test -n "$ac_ct_F90"; then
3167 <  echo "$as_me:2308: result: $ac_ct_F90" >&5
3167 >  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
3168   echo "${ECHO_T}$ac_ct_F90" >&6
3169   else
3170 <  echo "$as_me:2311: result: no" >&5
3170 >  echo "$as_me:$LINENO: result: no" >&5
3171   echo "${ECHO_T}no" >&6
3172   fi
3173  
# Line 2318 | Line 3177 | fi
3177    F90=$ac_ct_F90
3178   fi
3179  
3180 +
3181   # If we don't use `.F90' as extension, the preprocessor is not run on the
3182   # input file.
3183   ac_save_ext=$ac_ext
3184   ac_ext=F90
3185 < echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5
3185 > echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
3186   echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3187   if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3188    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2339 | Line 3199 | if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3199  
3200   _ACEOF
3201   rm -f conftest.$ac_objext
3202 < if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3203 <  (eval $ac_compile) 2>&5
3202 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3203 >  (eval $ac_compile) 2>conftest.er1
3204    ac_status=$?
3205 <  echo "$as_me:2345: \$? = $ac_status" >&5
3205 >  grep -v '^ *+' conftest.er1 >conftest.err
3206 >  rm -f conftest.er1
3207 >  cat conftest.err >&5
3208 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209    (exit $ac_status); } &&
3210 <         { ac_try='test -s conftest.$ac_objext'
3211 <  { (eval echo "$as_me:2348: \"$ac_try\"") >&5
3210 >         { ac_try='test -z "$ac_f90_werror_flag"
3211 >                         || test ! -s conftest.err'
3212 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213    (eval $ac_try) 2>&5
3214    ac_status=$?
3215 <  echo "$as_me:2351: \$? = $ac_status" >&5
3215 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 >  (exit $ac_status); }; } &&
3217 >         { ac_try='test -s conftest.$ac_objext'
3218 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219 >  (eval $ac_try) 2>&5
3220 >  ac_status=$?
3221 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222    (exit $ac_status); }; }; then
3223    ac_compiler_gnu=yes
3224   else
3225    echo "$as_me: failed program was:" >&5
3226 < cat conftest.$ac_ext >&5
3226 > sed 's/^/| /' conftest.$ac_ext >&5
3227 >
3228   ac_compiler_gnu=no
3229   fi
3230 < rm -f conftest.$ac_objext conftest.$ac_ext
3230 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3231   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3232  
3233   fi
3234 < echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5
3234 > echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3235   echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3236   ac_ext=$ac_save_ext
3237   G95=`test $ac_compiler_gnu = yes && echo yes`
# Line 2370 | Line 3241 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3241   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3242   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3243  
3244 +
3245 +
3246 +
3247 +
3248   # Try to determine native compiler flags that allow us to use F90 suffix
3249   # for preprocessed f90 source.
3250  
# Line 2390 | Line 3265 | if test "$ac_test_PREPFLAG" != "set"; then
3265    esac
3266  
3267    if test -z "$PREPFLAG"; then
3268 <        { echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5
3268 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5
3269   echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;}
3270          PREPFLAG=""
3271    fi
3272  
3273 <  echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5
3273 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
3274   echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3275  
3276 +
3277    ac_ext=f90
3278   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3279   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2413 | Line 3289 | program main
3289  
3290      cat >conftest.$ac_ext <<_ACEOF
3291  
3292 +
3293   program main
3294  
3295    integer :: i
3296    i = 1
3297  
3298 +
3299   end program main
3300  
3301   _ACEOF
3302   rm -f conftest.$ac_objext
3303 < if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5
3304 <  (eval $ac_compile) 2>&5
3303 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3304 >  (eval $ac_compile) 2>conftest.er1
3305    ac_status=$?
3306 <  echo "$as_me:2428: \$? = $ac_status" >&5
3306 >  grep -v '^ *+' conftest.er1 >conftest.err
3307 >  rm -f conftest.er1
3308 >  cat conftest.err >&5
3309 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310    (exit $ac_status); } &&
3311 <         { ac_try='test -s conftest.$ac_objext'
3312 <  { (eval echo "$as_me:2431: \"$ac_try\"") >&5
3311 >         { ac_try='test -z "$ac_f90_werror_flag"
3312 >                         || test ! -s conftest.err'
3313 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314    (eval $ac_try) 2>&5
3315    ac_status=$?
3316 <  echo "$as_me:2434: \$? = $ac_status" >&5
3316 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 >  (exit $ac_status); }; } &&
3318 >         { ac_try='test -s conftest.$ac_objext'
3319 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 >  (eval $ac_try) 2>&5
3321 >  ac_status=$?
3322 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323    (exit $ac_status); }; }; then
3324    prepflagworks=1
3325   else
3326    echo "$as_me: failed program was:" >&5
3327 < cat conftest.$ac_ext >&5
3327 > sed 's/^/| /' conftest.$ac_ext >&5
3328 >
3329   prepflagworks=0
3330   fi
3331 < rm -f conftest.$ac_objext conftest.$ac_ext
3331 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3332  
3333    F90FLAGS=$ac_save_F90FLAGS
3334    ac_ext=$ac_save_ext
# Line 2449 | Line 3338 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3338   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3340  
3341 +
3342    if test "$prepflagworks" = 1; then
3343 <    echo "$as_me:2453: result: yes" >&5
3343 >    echo "$as_me:$LINENO: result: yes" >&5
3344   echo "${ECHO_T}yes" >&6
3345  
3346    else
3347 <    echo "$as_me:2457: result: no" >&5
3347 >    echo "$as_me:$LINENO: result: no" >&5
3348   echo "${ECHO_T}no" >&6
3349 <    { { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5
3349 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
3350   echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3351     { (exit 1); exit 1; }; }
3352    fi
3353   fi
3354  
3355 +
3356 +
3357 +
3358 +
3359   # Try to determine native compiler flags that allow us to use F90 suffix
3360   # for preprocessed f90 source with -D type defines
3361  
# Line 2482 | Line 3376 | if test "$ac_test_PREPDEFFLAG" != "set"; then
3376    esac
3377  
3378    if test -z "$PREPDEFFLAG"; then
3379 <        { echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3379 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3380   echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;}
3381          PREPDEFFLAG=" "
3382    fi
3383  
3384 <  echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5
3384 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
3385   echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3386  
3387 +
3388    ac_ext=f90
3389   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3390   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2505 | Line 3400 | program main
3400  
3401      cat >conftest.$ac_ext <<_ACEOF
3402  
3403 +
3404   program main
3405  
3406    integer :: i
# Line 2514 | Line 3410 | end program main
3410    choke me
3411   #endif
3412  
3413 +
3414   end program main
3415  
3416   _ACEOF
3417   rm -f conftest.$ac_objext
3418 < if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5
3419 <  (eval $ac_compile) 2>&5
3418 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3419 >  (eval $ac_compile) 2>conftest.er1
3420    ac_status=$?
3421 <  echo "$as_me:2524: \$? = $ac_status" >&5
3421 >  grep -v '^ *+' conftest.er1 >conftest.err
3422 >  rm -f conftest.er1
3423 >  cat conftest.err >&5
3424 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425    (exit $ac_status); } &&
3426 <         { ac_try='test -s conftest.$ac_objext'
3427 <  { (eval echo "$as_me:2527: \"$ac_try\"") >&5
3426 >         { ac_try='test -z "$ac_f90_werror_flag"
3427 >                         || test ! -s conftest.err'
3428 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429    (eval $ac_try) 2>&5
3430    ac_status=$?
3431 <  echo "$as_me:2530: \$? = $ac_status" >&5
3431 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 >  (exit $ac_status); }; } &&
3433 >         { ac_try='test -s conftest.$ac_objext'
3434 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 >  (eval $ac_try) 2>&5
3436 >  ac_status=$?
3437 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438    (exit $ac_status); }; }; then
3439    prepdefflagworks=1
3440   else
3441    echo "$as_me: failed program was:" >&5
3442 < cat conftest.$ac_ext >&5
3442 > sed 's/^/| /' conftest.$ac_ext >&5
3443 >
3444   prepdefflagworks=0
3445   fi
3446 < rm -f conftest.$ac_objext conftest.$ac_ext
3446 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3447  
3448    F90FLAGS=$ac_save_F90FLAGS
3449    ac_ext=$ac_save_ext
# Line 2545 | Line 3453 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3454   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455  
3456 +
3457 +
3458    if test "$prepdefflagworks" = 1; then
3459 <    echo "$as_me:2549: result: yes" >&5
3459 >    echo "$as_me:$LINENO: result: yes" >&5
3460   echo "${ECHO_T}yes" >&6
3461  
3462    else
3463 <    echo "$as_me:2553: result: no" >&5
3463 >    echo "$as_me:$LINENO: result: no" >&5
3464   echo "${ECHO_T}no" >&6
3465 <    { { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3465 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3466   echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3467     { (exit 1); exit 1; }; }
3468    fi
# Line 2563 | Line 3473 | ac_ext=f90
3473   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3475  
3476 +
3477 +
3478   ac_ext=f90
3479   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3480   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3482 < echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5
3482 > echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
3483   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
3484   if test "${ac_cv_prog_f90_v+set}" = set; then
3485    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2577 | Line 3489 | end program main
3489  
3490   program main
3491  
3492 +
3493   end program main
3494  
3495   _ACEOF
3496   rm -f conftest.$ac_objext
3497 < if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5
3498 <  (eval $ac_compile) 2>&5
3497 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3498 >  (eval $ac_compile) 2>conftest.er1
3499    ac_status=$?
3500 <  echo "$as_me:2587: \$? = $ac_status" >&5
3500 >  grep -v '^ *+' conftest.er1 >conftest.err
3501 >  rm -f conftest.er1
3502 >  cat conftest.err >&5
3503 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504    (exit $ac_status); } &&
3505 <         { ac_try='test -s conftest.$ac_objext'
3506 <  { (eval echo "$as_me:2590: \"$ac_try\"") >&5
3505 >         { ac_try='test -z "$ac_f90_werror_flag"
3506 >                         || test ! -s conftest.err'
3507 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508    (eval $ac_try) 2>&5
3509    ac_status=$?
3510 <  echo "$as_me:2593: \$? = $ac_status" >&5
3510 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 >  (exit $ac_status); }; } &&
3512 >         { ac_try='test -s conftest.$ac_objext'
3513 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514 >  (eval $ac_try) 2>&5
3515 >  ac_status=$?
3516 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517    (exit $ac_status); }; }; then
3518    ac_cv_prog_f90_v=
3519   # Try some options frequently used verbose output
# Line 2604 | Line 3527 | end program main
3527  
3528   program main
3529  
3530 +
3531   end program main
3532  
3533   _ACEOF
# Line 2615 | Line 3539 | F90FLAGS="$F90FLAGS $ac_verb"
3539   ac_save_F90FLAGS=$F90FLAGS
3540   F90FLAGS="$F90FLAGS $ac_verb"
3541  
3542 < (eval echo $as_me:2618: \"$ac_link\") >&5
3542 > (eval echo $as_me:3542: \"$ac_link\") >&5
3543   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3544   echo "$ac_f90_v_output" >&5
3545   F90FLAGS=$ac_save_F90FLAGS
# Line 2647 | Line 3571 | if test -z "$ac_cv_prog_f90_v"; then
3571    done
3572   done
3573   if test -z "$ac_cv_prog_f90_v"; then
3574 <   { echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5
3574 >   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
3575   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
3576   fi
3577   else
3578    echo "$as_me: failed program was:" >&5
3579 < cat conftest.$ac_ext >&5
3580 < { echo "$as_me:2656: WARNING: compilation failed" >&5
3579 > sed 's/^/| /' conftest.$ac_ext >&5
3580 >
3581 > { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3582   echo "$as_me: WARNING: compilation failed" >&2;}
3583   fi
3584 < rm -f conftest.$ac_objext conftest.$ac_ext
3584 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3585  
3586   fi
3587 < echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5
3587 > echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
3588   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
3589 < echo "$as_me:2664: checking for Fortran 90 libraries" >&5
3589 > echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
3590   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
3591   if test "${ac_cv_flibs+set}" = set; then
3592    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2679 | Line 3604 | end program main
3604  
3605   program main
3606  
3607 +
3608   end program main
3609  
3610   _ACEOF
# Line 2690 | Line 3616 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3616   ac_save_F90FLAGS=$F90FLAGS
3617   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3618  
3619 < (eval echo $as_me:2693: \"$ac_link\") >&5
3619 > (eval echo $as_me:3619: \"$ac_link\") >&5
3620   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3621   echo "$ac_f90_v_output" >&5
3622   F90FLAGS=$ac_save_F90FLAGS
# Line 2843 | Line 3769 | echo "$as_me:2846: result: $ac_cv_flibs" >&5
3769   fi # test "x$F90LIBS" = "x"
3770  
3771   fi
3772 < echo "$as_me:2846: result: $ac_cv_flibs" >&5
3772 > echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
3773   echo "${ECHO_T}$ac_cv_flibs" >&6
3774   F90LIBS="$ac_cv_f90libs"
3775  
# Line 2852 | Line 3778 | echo "$as_me:2855: checking for Fortran 90 name-mangli
3778   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3779   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3780  
3781 < echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5
3781 >
3782 > echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
3783   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
3784   if test "${ac_cv_f90_mangling+set}" = set; then
3785    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2870 | Line 3797 | if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
3797   end
3798   _ACEOF
3799   rm -f conftest.$ac_objext
3800 < if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
3801 <  (eval $ac_compile) 2>&5
3800 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801 >  (eval $ac_compile) 2>conftest.er1
3802    ac_status=$?
3803 <  echo "$as_me:2876: \$? = $ac_status" >&5
3803 >  grep -v '^ *+' conftest.er1 >conftest.err
3804 >  rm -f conftest.er1
3805 >  cat conftest.err >&5
3806 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807    (exit $ac_status); } &&
3808 <         { ac_try='test -s conftest.$ac_objext'
3809 <  { (eval echo "$as_me:2879: \"$ac_try\"") >&5
3808 >         { ac_try='test -z "$ac_f90_werror_flag"
3809 >                         || test ! -s conftest.err'
3810 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811    (eval $ac_try) 2>&5
3812    ac_status=$?
3813 <  echo "$as_me:2882: \$? = $ac_status" >&5
3813 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 >  (exit $ac_status); }; } &&
3815 >         { ac_try='test -s conftest.$ac_objext'
3816 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 >  (eval $ac_try) 2>&5
3818 >  ac_status=$?
3819 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820    (exit $ac_status); }; }; then
3821    mv conftest.$ac_objext cf90_test.$ac_objext
3822  
# Line 2897 | Line 3834 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834      for ac_underscore in "" "_"; do
3835        ac_func="$ac_foobar$ac_underscore"
3836        cat >conftest.$ac_ext <<_ACEOF
3837 < #line 2900 "configure"
3838 < #include "confdefs.h"
3837 > /* confdefs.h.  */
3838 > _ACEOF
3839 > cat confdefs.h >>conftest.$ac_ext
3840 > cat >>conftest.$ac_ext <<_ACEOF
3841 > /* end confdefs.h.  */
3842  
3843   /* Override any gcc2 internal prototype to avoid an error.  */
3844   #ifdef __cplusplus
# Line 2916 | Line 3856 | if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
3856   }
3857   _ACEOF
3858   rm -f conftest.$ac_objext conftest$ac_exeext
3859 < if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
3860 <  (eval $ac_link) 2>&5
3859 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3860 >  (eval $ac_link) 2>conftest.er1
3861    ac_status=$?
3862 <  echo "$as_me:2922: \$? = $ac_status" >&5
3862 >  grep -v '^ *+' conftest.er1 >conftest.err
3863 >  rm -f conftest.er1
3864 >  cat conftest.err >&5
3865 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866    (exit $ac_status); } &&
3867 <         { ac_try='test -s conftest$ac_exeext'
3868 <  { (eval echo "$as_me:2925: \"$ac_try\"") >&5
3867 >         { ac_try='test -z "$ac_c_werror_flag"
3868 >                         || test ! -s conftest.err'
3869 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870    (eval $ac_try) 2>&5
3871    ac_status=$?
3872 <  echo "$as_me:2928: \$? = $ac_status" >&5
3872 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 >  (exit $ac_status); }; } &&
3874 >         { ac_try='test -s conftest$ac_exeext'
3875 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 >  (eval $ac_try) 2>&5
3877 >  ac_status=$?
3878 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879    (exit $ac_status); }; }; then
3880    ac_success=yes; break 2
3881   else
3882    echo "$as_me: failed program was:" >&5
3883 < cat conftest.$ac_ext >&5
3883 > sed 's/^/| /' conftest.$ac_ext >&5
3884 >
3885   fi
3886 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3886 > rm -f conftest.err conftest.$ac_objext \
3887 >      conftest$ac_exeext conftest.$ac_ext
3888      done
3889    done
3890  
# Line 2953 | Line 3905 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
3905          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3906  
3907          cat >conftest.$ac_ext <<_ACEOF
3908 < #line 2956 "configure"
3909 < #include "confdefs.h"
3908 > /* confdefs.h.  */
3909 > _ACEOF
3910 > cat confdefs.h >>conftest.$ac_ext
3911 > cat >>conftest.$ac_ext <<_ACEOF
3912 > /* end confdefs.h.  */
3913  
3914   /* Override any gcc2 internal prototype to avoid an error.  */
3915   #ifdef __cplusplus
# Line 2972 | Line 3927 | if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
3927   }
3928   _ACEOF
3929   rm -f conftest.$ac_objext conftest$ac_exeext
3930 < if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
3931 <  (eval $ac_link) 2>&5
3930 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3931 >  (eval $ac_link) 2>conftest.er1
3932    ac_status=$?
3933 <  echo "$as_me:2978: \$? = $ac_status" >&5
3933 >  grep -v '^ *+' conftest.er1 >conftest.err
3934 >  rm -f conftest.er1
3935 >  cat conftest.err >&5
3936 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937    (exit $ac_status); } &&
3938 <         { ac_try='test -s conftest$ac_exeext'
3939 <  { (eval echo "$as_me:2981: \"$ac_try\"") >&5
3938 >         { ac_try='test -z "$ac_c_werror_flag"
3939 >                         || test ! -s conftest.err'
3940 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941    (eval $ac_try) 2>&5
3942    ac_status=$?
3943 <  echo "$as_me:2984: \$? = $ac_status" >&5
3943 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 >  (exit $ac_status); }; } &&
3945 >         { ac_try='test -s conftest$ac_exeext'
3946 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3947 >  (eval $ac_try) 2>&5
3948 >  ac_status=$?
3949 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950    (exit $ac_status); }; }; then
3951    ac_success_extra=yes; break
3952   else
3953    echo "$as_me: failed program was:" >&5
3954 < cat conftest.$ac_ext >&5
3954 > sed 's/^/| /' conftest.$ac_ext >&5
3955 >
3956   fi
3957 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3957 > rm -f conftest.err conftest.$ac_objext \
3958 >      conftest$ac_exeext conftest.$ac_ext
3959       done
3960  
3961       if test "$ac_success_extra" = "yes"; then
# Line 3020 | Line 3987 | cat conftest.$ac_ext >&5
3987    rm -f cf90_test* conftest*
3988   else
3989    echo "$as_me: failed program was:" >&5
3990 < cat conftest.$ac_ext >&5
3990 > sed 's/^/| /' conftest.$ac_ext >&5
3991 >
3992   fi
3993 < rm -f conftest.$ac_objext conftest.$ac_ext
3993 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3994   ac_ext=f90
3995   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3996   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3997   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3998  
3999   fi
4000 < echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5
4000 > echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
4001   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
4002  
4003 +
4004 +
4005   case $ac_cv_f90_mangling in
4006    "lower case, no underscore, no extra underscore")
4007 <          cat >>confdefs.h <<\EOF
4007 >          cat >>confdefs.h <<\_ACEOF
4008   #define F90_FUNC(name,NAME) name
4009 < EOF
4009 > _ACEOF
4010  
4011 <          cat >>confdefs.h <<\EOF
4011 >          cat >>confdefs.h <<\_ACEOF
4012   #define F90_FUNC_(name,NAME) name
4013 < EOF
4013 > _ACEOF
4014   ;;
4015    "lower case, no underscore, extra underscore")
4016 <          cat >>confdefs.h <<\EOF
4016 >          cat >>confdefs.h <<\_ACEOF
4017   #define F90_FUNC(name,NAME) name
4018 < EOF
4018 > _ACEOF
4019  
4020 <          cat >>confdefs.h <<\EOF
4020 >          cat >>confdefs.h <<\_ACEOF
4021   #define F90_FUNC_(name,NAME) name ## _
4022 < EOF
4022 > _ACEOF
4023   ;;
4024    "lower case, underscore, no extra underscore")
4025 <          cat >>confdefs.h <<\EOF
4025 >          cat >>confdefs.h <<\_ACEOF
4026   #define F90_FUNC(name,NAME) name ## _
4027 < EOF
4027 > _ACEOF
4028  
4029 <          cat >>confdefs.h <<\EOF
4029 >          cat >>confdefs.h <<\_ACEOF
4030   #define F90_FUNC_(name,NAME) name ## _
4031 < EOF
4031 > _ACEOF
4032   ;;
4033    "lower case, underscore, extra underscore")
4034 <          cat >>confdefs.h <<\EOF
4034 >          cat >>confdefs.h <<\_ACEOF
4035   #define F90_FUNC(name,NAME) name ## _
4036 < EOF
4036 > _ACEOF
4037  
4038 <          cat >>confdefs.h <<\EOF
4038 >          cat >>confdefs.h <<\_ACEOF
4039   #define F90_FUNC_(name,NAME) name ## __
4040 < EOF
4040 > _ACEOF
4041   ;;
4042    "upper case, no underscore, no extra underscore")
4043 <          cat >>confdefs.h <<\EOF
4043 >          cat >>confdefs.h <<\_ACEOF
4044   #define F90_FUNC(name,NAME) NAME
4045 < EOF
4045 > _ACEOF
4046  
4047 <          cat >>confdefs.h <<\EOF
4047 >          cat >>confdefs.h <<\_ACEOF
4048   #define F90_FUNC_(name,NAME) NAME
4049 < EOF
4049 > _ACEOF
4050   ;;
4051    "upper case, no underscore, extra underscore")
4052 <          cat >>confdefs.h <<\EOF
4052 >          cat >>confdefs.h <<\_ACEOF
4053   #define F90_FUNC(name,NAME) NAME
4054 < EOF
4054 > _ACEOF
4055  
4056 <          cat >>confdefs.h <<\EOF
4056 >          cat >>confdefs.h <<\_ACEOF
4057   #define F90_FUNC_(name,NAME) NAME ## _
4058 < EOF
4058 > _ACEOF
4059   ;;
4060    "upper case, underscore, no extra underscore")
4061 <          cat >>confdefs.h <<\EOF
4061 >          cat >>confdefs.h <<\_ACEOF
4062   #define F90_FUNC(name,NAME) NAME ## _
4063 < EOF
4063 > _ACEOF
4064  
4065 <          cat >>confdefs.h <<\EOF
4065 >          cat >>confdefs.h <<\_ACEOF
4066   #define F90_FUNC_(name,NAME) NAME ## _
4067 < EOF
4067 > _ACEOF
4068   ;;
4069    "upper case, underscore, extra underscore")
4070 <          cat >>confdefs.h <<\EOF
4070 >          cat >>confdefs.h <<\_ACEOF
4071   #define F90_FUNC(name,NAME) NAME ## _
4072 < EOF
4072 > _ACEOF
4073  
4074 <          cat >>confdefs.h <<\EOF
4074 >          cat >>confdefs.h <<\_ACEOF
4075   #define F90_FUNC_(name,NAME) NAME ## __
4076 < EOF
4076 > _ACEOF
4077   ;;
4078    *)
4079 <          { echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4079 >          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4080   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
4081            ;;
4082   esac
4083  
4084 < echo "$as_me:3114: checking for module suffix" >&5
4084 >
4085 >
4086 >
4087 >
4088 > echo "$as_me:$LINENO: checking for module suffix" >&5
4089   echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
4090   rm -f conftest*
4091   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3138 | Line 4112 | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
4112          fi
4113      fi
4114      if test -z "$MOD" ; then
4115 <        echo "$as_me:3141: result: unknown" >&5
4115 >        echo "$as_me:$LINENO: result: unknown" >&5
4116   echo "${ECHO_T}unknown" >&6
4117          # Use mod if we can't figure it out
4118          MOD="mod"
4119      else
4120 <        echo "$as_me:3146: result: $MOD" >&5
4120 >        echo "$as_me:$LINENO: result: $MOD" >&5
4121   echo "${ECHO_T}$MOD" >&6
4122      fi
4123      if test -s work.pcl ; then
4124 <        { echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5
4124 >        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
4125   echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
4126      fi
4127   else
4128 <    echo "$as_me:3154: result: unknown" >&5
4128 >    echo "$as_me:$LINENO: result: unknown" >&5
4129   echo "${ECHO_T}unknown" >&6
4130   fi
4131  
4132 +
4133 +
4134 +
4135 +
4136   # Check for module include path (some use -I, some (Solaris) use -M, some
4137   # (absoft) use -p).
4138   # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
4139   # specified, work.pcl and work.pc are created.  However, if you specify
4140   # a file, it must contain a the name of a file ending in .pc .  Ugh!
4141   # Use the module made above
4142 < echo "$as_me:3164: checking for module directory path flag" >&5
4142 > echo "$as_me:$LINENO: checking for module directory path flag" >&5
4143   echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
4144   rm -f conftest*
4145   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3195 | Line 4173 | EOF
4173     if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
4174         MODDIRFLAG="-I"
4175         F90MODINCSPEC="-I<dir>"
4176 <       echo "$as_me:3198: result: -I" >&5
4176 >       echo "$as_me:$LINENO: result: -I" >&5
4177   echo "${ECHO_T}-I" >&6
4178     elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
4179         MODDIRFLAG="-M"
4180         F90MODINCSPEC="-M<dir>"
4181 <       echo "$as_me:3203: result: -M" >&5
4181 >       echo "$as_me:$LINENO: result: -M" >&5
4182   echo "${ECHO_T}-M" >&6
4183     elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
4184         MODDIRFLAG="-p"
4185         F90MODINCSPEC="-p<dir>"
4186 <       echo "$as_me:3208: result: -p" >&5
4186 >       echo "$as_me:$LINENO: result: -p" >&5
4187   echo "${ECHO_T}-p" >&6
4188     elif test -s work.pc ; then
4189          cp work.pc conf/mpimod.pc
# Line 3213 | Line 4191 | echo "${ECHO_T}-p" >&6
4191          echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
4192          if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
4193              MODDIRFLAG='-cl,mpimod.pcl'
4194 <            echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5
4194 >            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
4195   echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
4196              F90_WORK_FILES_ARG="-cl,mpimod.pcl"
4197              F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
# Line 3226 | Line 4204 | echo "${ECHO_T}-cl,filename where filename contains a
4204          fi
4205     fi
4206     if test -z "MODDIRFLAG" ; then
4207 <       echo "$as_me:3229: result: unknown" >&5
4207 >       echo "$as_me:$LINENO: result: unknown" >&5
4208   echo "${ECHO_T}unknown" >&6
4209     fi
4210  
4211 +
4212     rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4213     if test $madedir = 1 ; then rmdir conf ; fi
4214   fi
4215  
4216 < echo "$as_me:3237: checking for Fortran 90 module file names" >&5
4216 >
4217 > echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
4218   echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6
4219   if test "${ac_cv_f90_module_names+set}" = set; then
4220    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3252 | Line 4232 | if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4232   END MODULE Bar
4233   _ACEOF
4234   rm -f conftest.$ac_objext
4235 < if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4236 <  (eval $ac_compile) 2>&5
4235 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4236 >  (eval $ac_compile) 2>conftest.er1
4237    ac_status=$?
4238 <  echo "$as_me:3258: \$? = $ac_status" >&5
4238 >  grep -v '^ *+' conftest.er1 >conftest.err
4239 >  rm -f conftest.er1
4240 >  cat conftest.err >&5
4241 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242    (exit $ac_status); } &&
4243 <         { ac_try='test -s conftest.$ac_objext'
4244 <  { (eval echo "$as_me:3261: \"$ac_try\"") >&5
4243 >         { ac_try='test -z "$ac_f90_werror_flag"
4244 >                         || test ! -s conftest.err'
4245 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246    (eval $ac_try) 2>&5
4247    ac_status=$?
4248 <  echo "$as_me:3264: \$? = $ac_status" >&5
4248 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 >  (exit $ac_status); }; } &&
4250 >         { ac_try='test -s conftest.$ac_objext'
4251 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252 >  (eval $ac_try) 2>&5
4253 >  ac_status=$?
4254 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255    (exit $ac_status); }; }; then
4256    ac_cv_f90_module_names=
4257   ac_file_list=*
# Line 3344 | Line 4334 | fi
4334            ;;
4335         # Other files - we have no idea how they are generated
4336         *)
4337 <          { echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5
4337 >          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
4338   echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
4339            ;;
4340     esac
4341   done
4342   if test "x$ac_cv_f90_module_names" = "x"; then
4343 <  { echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5
4343 >  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4344   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4345   fi
4346  
4347   else
4348    echo "$as_me: failed program was:" >&5
4349 < cat conftest.$ac_ext >&5
4349 > sed 's/^/| /' conftest.$ac_ext >&5
4350 >
4351   ac_cv_f90_module_names=
4352 < { echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5
4352 > { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4353   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4354   fi
4355 < rm -f conftest.$ac_objext conftest.$ac_ext
4355 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4356   cd ..
4357   # cleanup
4358   rm -rf conftest
# Line 3371 | Line 4362 | echo "$as_me:3374: result: $ac_cv_f90_module_names" >&
4362   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4363  
4364   fi
4365 < echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5
4365 > echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
4366   echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK
4367  
4368   # We now generate a shell script that will help us to figure out the correct
# Line 3456 | Line 4447 | ac_ext=c
4447   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4449  
4450 +
4451   ac_ext=c
4452   ac_cpp='$CPP $CPPFLAGS'
4453   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3467 | Line 4459 | echo "$as_me:3470: checking how to run the C preproces
4459   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4460   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4461   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4462 < echo "$as_me:3470: checking how to run the C preprocessor" >&5
4462 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4463   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4464   # On Suns, sometimes $CPP names a directory.
4465   if test -n "$CPP" && test -d "$CPP"; then
# Line 3480 | Line 4472 | else
4472        # Double quotes because CPP needs to be expanded
4473      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4474      do
3483      # break 2 since there is a loop in there.
4475        ac_preproc_ok=false
4476   for ac_c_preproc_warn_flag in '' yes
4477   do
4478    # Use a header file that comes with gcc, so configuring glibc
4479    # with a fresh cross-compiler works.
4480 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 +  # <limits.h> exists even on freestanding compilers.
4482    # On the NeXT, cc -E runs the code through the compiler's parser,
4483    # not just through cpp. "Syntax error" is here to catch this case.
4484    cat >conftest.$ac_ext <<_ACEOF
4485 < #line 3492 "configure"
3493 < #include "confdefs.h"
3494 < #include <assert.h>
3495 <                     Syntax error
4485 > /* confdefs.h.  */
4486   _ACEOF
4487 < if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5
4487 > cat confdefs.h >>conftest.$ac_ext
4488 > cat >>conftest.$ac_ext <<_ACEOF
4489 > /* end confdefs.h.  */
4490 > #ifdef __STDC__
4491 > # include <limits.h>
4492 > #else
4493 > # include <assert.h>
4494 > #endif
4495 >                     Syntax error
4496 > _ACEOF
4497 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4498    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4499    ac_status=$?
4500 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4500 >  grep -v '^ *+' conftest.er1 >conftest.err
4501    rm -f conftest.er1
4502    cat conftest.err >&5
4503 <  echo "$as_me:3503: \$? = $ac_status" >&5
4503 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504    (exit $ac_status); } >/dev/null; then
4505    if test -s conftest.err; then
4506      ac_cpp_err=$ac_c_preproc_warn_flag
4507 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4508    else
4509      ac_cpp_err=
4510    fi
# Line 3514 | Line 4515 | else
4515    :
4516   else
4517    echo "$as_me: failed program was:" >&5
4518 <  cat conftest.$ac_ext >&5
4518 > sed 's/^/| /' conftest.$ac_ext >&5
4519 >
4520    # Broken: fails on valid input.
4521   continue
4522   fi
# Line 3523 | Line 4525 | rm -f conftest.err conftest.$ac_ext
4525    # OK, works on sane cases.  Now check whether non-existent headers
4526    # can be detected and how.
4527    cat >conftest.$ac_ext <<_ACEOF
4528 < #line 3526 "configure"
4529 < #include "confdefs.h"
4528 > /* confdefs.h.  */
4529 > _ACEOF
4530 > cat confdefs.h >>conftest.$ac_ext
4531 > cat >>conftest.$ac_ext <<_ACEOF
4532 > /* end confdefs.h.  */
4533   #include <ac_nonexistent.h>
4534   _ACEOF
4535 < if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5
4535 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4536    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4537    ac_status=$?
4538 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4538 >  grep -v '^ *+' conftest.er1 >conftest.err
4539    rm -f conftest.er1
4540    cat conftest.err >&5
4541 <  echo "$as_me:3536: \$? = $ac_status" >&5
4541 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542    (exit $ac_status); } >/dev/null; then
4543    if test -s conftest.err; then
4544      ac_cpp_err=$ac_c_preproc_warn_flag
4545 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4546    else
4547      ac_cpp_err=
4548    fi
# Line 3548 | Line 4554 | else
4554   continue
4555   else
4556    echo "$as_me: failed program was:" >&5
4557 <  cat conftest.$ac_ext >&5
4557 > sed 's/^/| /' conftest.$ac_ext >&5
4558 >
4559    # Passes both tests.
4560   ac_preproc_ok=:
4561   break
# Line 3559 | Line 4566 | if $ac_preproc_ok; then
4566   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4567   rm -f conftest.err conftest.$ac_ext
4568   if $ac_preproc_ok; then
4569 <  break 2
4569 >  break
4570   fi
4571  
4572      done
# Line 3570 | Line 4577 | echo "$as_me:3573: result: $CPP" >&5
4577   else
4578    ac_cv_prog_CPP=$CPP
4579   fi
4580 < echo "$as_me:3573: result: $CPP" >&5
4580 > echo "$as_me:$LINENO: result: $CPP" >&5
4581   echo "${ECHO_T}$CPP" >&6
4582   ac_preproc_ok=false
4583   for ac_c_preproc_warn_flag in '' yes
4584   do
4585    # Use a header file that comes with gcc, so configuring glibc
4586    # with a fresh cross-compiler works.
4587 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4588 +  # <limits.h> exists even on freestanding compilers.
4589    # On the NeXT, cc -E runs the code through the compiler's parser,
4590    # not just through cpp. "Syntax error" is here to catch this case.
4591    cat >conftest.$ac_ext <<_ACEOF
4592 < #line 3583 "configure"
3584 < #include "confdefs.h"
3585 < #include <assert.h>
3586 <                     Syntax error
4592 > /* confdefs.h.  */
4593   _ACEOF
4594 < if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5
4594 > cat confdefs.h >>conftest.$ac_ext
4595 > cat >>conftest.$ac_ext <<_ACEOF
4596 > /* end confdefs.h.  */
4597 > #ifdef __STDC__
4598 > # include <limits.h>
4599 > #else
4600 > # include <assert.h>
4601 > #endif
4602 >                     Syntax error
4603 > _ACEOF
4604 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4605    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4606    ac_status=$?
4607 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4607 >  grep -v '^ *+' conftest.er1 >conftest.err
4608    rm -f conftest.er1
4609    cat conftest.err >&5
4610 <  echo "$as_me:3594: \$? = $ac_status" >&5
4610 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611    (exit $ac_status); } >/dev/null; then
4612    if test -s conftest.err; then
4613      ac_cpp_err=$ac_c_preproc_warn_flag
4614 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4615    else
4616      ac_cpp_err=
4617    fi
# Line 3605 | Line 4622 | else
4622    :
4623   else
4624    echo "$as_me: failed program was:" >&5
4625 <  cat conftest.$ac_ext >&5
4625 > sed 's/^/| /' conftest.$ac_ext >&5
4626 >
4627    # Broken: fails on valid input.
4628   continue
4629   fi
# Line 3614 | Line 4632 | rm -f conftest.err conftest.$ac_ext
4632    # OK, works on sane cases.  Now check whether non-existent headers
4633    # can be detected and how.
4634    cat >conftest.$ac_ext <<_ACEOF
4635 < #line 3617 "configure"
4636 < #include "confdefs.h"
4635 > /* confdefs.h.  */
4636 > _ACEOF
4637 > cat confdefs.h >>conftest.$ac_ext
4638 > cat >>conftest.$ac_ext <<_ACEOF
4639 > /* end confdefs.h.  */
4640   #include <ac_nonexistent.h>
4641   _ACEOF
4642 < if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5
4642 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4643    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4644    ac_status=$?
4645 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4645 >  grep -v '^ *+' conftest.er1 >conftest.err
4646    rm -f conftest.er1
4647    cat conftest.err >&5
4648 <  echo "$as_me:3627: \$? = $ac_status" >&5
4648 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649    (exit $ac_status); } >/dev/null; then
4650    if test -s conftest.err; then
4651      ac_cpp_err=$ac_c_preproc_warn_flag
4652 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4653    else
4654      ac_cpp_err=
4655    fi
# Line 3639 | Line 4661 | else
4661   continue
4662   else
4663    echo "$as_me: failed program was:" >&5
4664 <  cat conftest.$ac_ext >&5
4664 > sed 's/^/| /' conftest.$ac_ext >&5
4665 >
4666    # Passes both tests.
4667   ac_preproc_ok=:
4668   break
# Line 3652 | Line 4675 | else
4675   if $ac_preproc_ok; then
4676    :
4677   else
4678 <  { { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5
4679 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
4678 >  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4679 > See \`config.log' for more details." >&5
4680 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4681 > See \`config.log' for more details." >&2;}
4682     { (exit 1); exit 1; }; }
4683   fi
4684  
# Line 3663 | Line 4688 | for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/
4688   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690  
4691 < for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
4691 >
4692 > echo "$as_me:$LINENO: checking for egrep" >&5
4693 > echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4694 > if test "${ac_cv_prog_egrep+set}" = set; then
4695 >  echo $ECHO_N "(cached) $ECHO_C" >&6
4696 > else
4697 >  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4698 >    then ac_cv_prog_egrep='grep -E'
4699 >    else ac_cv_prog_egrep='egrep'
4700 >    fi
4701 > fi
4702 > echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4703 > echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4704 > EGREP=$ac_cv_prog_egrep
4705 >
4706 >
4707 > echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4708 > echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4709 > if test "${ac_cv_header_stdc+set}" = set; then
4710 >  echo $ECHO_N "(cached) $ECHO_C" >&6
4711 > else
4712 >  cat >conftest.$ac_ext <<_ACEOF
4713 > /* confdefs.h.  */
4714 > _ACEOF
4715 > cat confdefs.h >>conftest.$ac_ext
4716 > cat >>conftest.$ac_ext <<_ACEOF
4717 > /* end confdefs.h.  */
4718 > #include <stdlib.h>
4719 > #include <stdarg.h>
4720 > #include <string.h>
4721 > #include <float.h>
4722 >
4723 > int
4724 > main ()
4725 > {
4726 >
4727 >  ;
4728 >  return 0;
4729 > }
4730 > _ACEOF
4731 > rm -f conftest.$ac_objext
4732 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4733 >  (eval $ac_compile) 2>conftest.er1
4734 >  ac_status=$?
4735 >  grep -v '^ *+' conftest.er1 >conftest.err
4736 >  rm -f conftest.er1
4737 >  cat conftest.err >&5
4738 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 >  (exit $ac_status); } &&
4740 >         { ac_try='test -z "$ac_c_werror_flag"
4741 >                         || test ! -s conftest.err'
4742 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 >  (eval $ac_try) 2>&5
4744 >  ac_status=$?
4745 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 >  (exit $ac_status); }; } &&
4747 >         { ac_try='test -s conftest.$ac_objext'
4748 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 >  (eval $ac_try) 2>&5
4750 >  ac_status=$?
4751 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 >  (exit $ac_status); }; }; then
4753 >  ac_cv_header_stdc=yes
4754 > else
4755 >  echo "$as_me: failed program was:" >&5
4756 > sed 's/^/| /' conftest.$ac_ext >&5
4757 >
4758 > ac_cv_header_stdc=no
4759 > fi
4760 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4761 >
4762 > if test $ac_cv_header_stdc = yes; then
4763 >  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4764 >  cat >conftest.$ac_ext <<_ACEOF
4765 > /* confdefs.h.  */
4766 > _ACEOF
4767 > cat confdefs.h >>conftest.$ac_ext
4768 > cat >>conftest.$ac_ext <<_ACEOF
4769 > /* end confdefs.h.  */
4770 > #include <string.h>
4771 >
4772 > _ACEOF
4773 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4774 >  $EGREP "memchr" >/dev/null 2>&1; then
4775 >  :
4776 > else
4777 >  ac_cv_header_stdc=no
4778 > fi
4779 > rm -f conftest*
4780 >
4781 > fi
4782 >
4783 > if test $ac_cv_header_stdc = yes; then
4784 >  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4785 >  cat >conftest.$ac_ext <<_ACEOF
4786 > /* confdefs.h.  */
4787 > _ACEOF
4788 > cat confdefs.h >>conftest.$ac_ext
4789 > cat >>conftest.$ac_ext <<_ACEOF
4790 > /* end confdefs.h.  */
4791 > #include <stdlib.h>
4792 >
4793 > _ACEOF
4794 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4795 >  $EGREP "free" >/dev/null 2>&1; then
4796 >  :
4797 > else
4798 >  ac_cv_header_stdc=no
4799 > fi
4800 > rm -f conftest*
4801 >
4802 > fi
4803 >
4804 > if test $ac_cv_header_stdc = yes; then
4805 >  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4806 >  if test "$cross_compiling" = yes; then
4807 >  :
4808 > else
4809 >  cat >conftest.$ac_ext <<_ACEOF
4810 > /* confdefs.h.  */
4811 > _ACEOF
4812 > cat confdefs.h >>conftest.$ac_ext
4813 > cat >>conftest.$ac_ext <<_ACEOF
4814 > /* end confdefs.h.  */
4815 > #include <ctype.h>
4816 > #if ((' ' & 0x0FF) == 0x020)
4817 > # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4818 > # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4819 > #else
4820 > # define ISLOWER(c) \
4821 >                   (('a' <= (c) && (c) <= 'i') \
4822 >                     || ('j' <= (c) && (c) <= 'r') \
4823 >                     || ('s' <= (c) && (c) <= 'z'))
4824 > # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4825 > #endif
4826 >
4827 > #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4828 > int
4829 > main ()
4830 > {
4831 >  int i;
4832 >  for (i = 0; i < 256; i++)
4833 >    if (XOR (islower (i), ISLOWER (i))
4834 >        || toupper (i) != TOUPPER (i))
4835 >      exit(2);
4836 >  exit (0);
4837 > }
4838 > _ACEOF
4839 > rm -f conftest$ac_exeext
4840 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4841 >  (eval $ac_link) 2>&5
4842 >  ac_status=$?
4843 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 >  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4845 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846 >  (eval $ac_try) 2>&5
4847 >  ac_status=$?
4848 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 >  (exit $ac_status); }; }; then
4850 >  :
4851 > else
4852 >  echo "$as_me: program exited with status $ac_status" >&5
4853 > echo "$as_me: failed program was:" >&5
4854 > sed 's/^/| /' conftest.$ac_ext >&5
4855 >
4856 > ( exit $ac_status )
4857 > ac_cv_header_stdc=no
4858 > fi
4859 > rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4860 > fi
4861 > fi
4862 > fi
4863 > echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4864 > echo "${ECHO_T}$ac_cv_header_stdc" >&6
4865 > if test $ac_cv_header_stdc = yes; then
4866 >
4867 > cat >>confdefs.h <<\_ACEOF
4868 > #define STDC_HEADERS 1
4869 > _ACEOF
4870 >
4871 > fi
4872 >
4873 > # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4874 >
4875 >
4876 >
4877 >
4878 >
4879 >
4880 >
4881 >
4882 >
4883 > for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4884 >                  inttypes.h stdint.h unistd.h
4885   do
4886 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4887 < echo "$as_me:3669: checking for $ac_header" >&5
4886 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4887 > echo "$as_me:$LINENO: checking for $ac_header" >&5
4888   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4889 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4889 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4890    echo $ECHO_N "(cached) $ECHO_C" >&6
4891   else
4892    cat >conftest.$ac_ext <<_ACEOF
4893 < #line 3675 "configure"
4894 < #include "confdefs.h"
4893 > /* confdefs.h.  */
4894 > _ACEOF
4895 > cat confdefs.h >>conftest.$ac_ext
4896 > cat >>conftest.$ac_ext <<_ACEOF
4897 > /* end confdefs.h.  */
4898 > $ac_includes_default
4899 >
4900   #include <$ac_header>
4901   _ACEOF
4902 < if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5
4902 > rm -f conftest.$ac_objext
4903 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4904 >  (eval $ac_compile) 2>conftest.er1
4905 >  ac_status=$?
4906 >  grep -v '^ *+' conftest.er1 >conftest.err
4907 >  rm -f conftest.er1
4908 >  cat conftest.err >&5
4909 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 >  (exit $ac_status); } &&
4911 >         { ac_try='test -z "$ac_c_werror_flag"
4912 >                         || test ! -s conftest.err'
4913 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 >  (eval $ac_try) 2>&5
4915 >  ac_status=$?
4916 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 >  (exit $ac_status); }; } &&
4918 >         { ac_try='test -s conftest.$ac_objext'
4919 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 >  (eval $ac_try) 2>&5
4921 >  ac_status=$?
4922 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 >  (exit $ac_status); }; }; then
4924 >  eval "$as_ac_Header=yes"
4925 > else
4926 >  echo "$as_me: failed program was:" >&5
4927 > sed 's/^/| /' conftest.$ac_ext >&5
4928 >
4929 > eval "$as_ac_Header=no"
4930 > fi
4931 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4932 > fi
4933 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4934 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4935 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
4936 >  cat >>confdefs.h <<_ACEOF
4937 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4938 > _ACEOF
4939 >
4940 > fi
4941 >
4942 > done
4943 >
4944 >
4945 >
4946 >
4947 >
4948 >
4949 >
4950 >
4951 >
4952 >
4953 >
4954 > for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
4955 > do
4956 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4957 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4958 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
4959 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4960 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4961 >  echo $ECHO_N "(cached) $ECHO_C" >&6
4962 > fi
4963 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4964 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4965 > else
4966 >  # Is the header compilable?
4967 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
4968 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4969 > cat >conftest.$ac_ext <<_ACEOF
4970 > /* confdefs.h.  */
4971 > _ACEOF
4972 > cat confdefs.h >>conftest.$ac_ext
4973 > cat >>conftest.$ac_ext <<_ACEOF
4974 > /* end confdefs.h.  */
4975 > $ac_includes_default
4976 > #include <$ac_header>
4977 > _ACEOF
4978 > rm -f conftest.$ac_objext
4979 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4980 >  (eval $ac_compile) 2>conftest.er1
4981 >  ac_status=$?
4982 >  grep -v '^ *+' conftest.er1 >conftest.err
4983 >  rm -f conftest.er1
4984 >  cat conftest.err >&5
4985 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 >  (exit $ac_status); } &&
4987 >         { ac_try='test -z "$ac_c_werror_flag"
4988 >                         || test ! -s conftest.err'
4989 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 >  (eval $ac_try) 2>&5
4991 >  ac_status=$?
4992 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 >  (exit $ac_status); }; } &&
4994 >         { ac_try='test -s conftest.$ac_objext'
4995 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 >  (eval $ac_try) 2>&5
4997 >  ac_status=$?
4998 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 >  (exit $ac_status); }; }; then
5000 >  ac_header_compiler=yes
5001 > else
5002 >  echo "$as_me: failed program was:" >&5
5003 > sed 's/^/| /' conftest.$ac_ext >&5
5004 >
5005 > ac_header_compiler=no
5006 > fi
5007 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5008 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5009 > echo "${ECHO_T}$ac_header_compiler" >&6
5010 >
5011 > # Is the header present?
5012 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5013 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5014 > cat >conftest.$ac_ext <<_ACEOF
5015 > /* confdefs.h.  */
5016 > _ACEOF
5017 > cat confdefs.h >>conftest.$ac_ext
5018 > cat >>conftest.$ac_ext <<_ACEOF
5019 > /* end confdefs.h.  */
5020 > #include <$ac_header>
5021 > _ACEOF
5022 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5023    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5024    ac_status=$?
5025 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5025 >  grep -v '^ *+' conftest.er1 >conftest.err
5026    rm -f conftest.er1
5027    cat conftest.err >&5
5028 <  echo "$as_me:3685: \$? = $ac_status" >&5
5028 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029    (exit $ac_status); } >/dev/null; then
5030    if test -s conftest.err; then
5031      ac_cpp_err=$ac_c_preproc_warn_flag
5032 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5033    else
5034      ac_cpp_err=
5035    fi
# Line 3693 | Line 5037 | if test -z "$ac_cpp_err"; then
5037    ac_cpp_err=yes
5038   fi
5039   if test -z "$ac_cpp_err"; then
5040 <  eval "$ac_ac_Header=yes"
5040 >  ac_header_preproc=yes
5041   else
5042    echo "$as_me: failed program was:" >&5
5043 <  cat conftest.$ac_ext >&5
5044 <  eval "$ac_ac_Header=no"
5043 > sed 's/^/| /' conftest.$ac_ext >&5
5044 >
5045 >  ac_header_preproc=no
5046   fi
5047   rm -f conftest.err conftest.$ac_ext
5048 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5049 + echo "${ECHO_T}$ac_header_preproc" >&6
5050 +
5051 + # So?  What about this header?
5052 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5053 +  yes:no: )
5054 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5055 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5056 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5057 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5058 +    ac_header_preproc=yes
5059 +    ;;
5060 +  no:yes:* )
5061 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5062 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5063 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5064 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5065 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5066 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5067 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5068 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5069 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5070 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5071 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5072 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5073 +    (
5074 +      cat <<\_ASBOX
5075 + ## ------------------------------ ##
5076 + ## Report this to gezelter@nd.edu ##
5077 + ## ------------------------------ ##
5078 + _ASBOX
5079 +    ) |
5080 +      sed "s/^/$as_me: WARNING:     /" >&2
5081 +    ;;
5082 + esac
5083 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5084 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5085 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
5086 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5087 + else
5088 +  eval "$as_ac_Header=\$ac_header_preproc"
5089   fi
5090 < echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5091 < echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3706 < if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3707 <  cat >>confdefs.h <<EOF
3708 < #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3709 < EOF
5090 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5091 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5092  
5093   fi
5094 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
5095 +  cat >>confdefs.h <<_ACEOF
5096 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5097 + _ACEOF
5098 +
5099 + fi
5100 +
5101   done
5102  
5103 +
5104 +
5105 +
5106 +
5107 +
5108   for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5109   do
5110 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5111 < echo "$as_me:3717: checking for $ac_func" >&5
5110 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5111 > echo "$as_me:$LINENO: checking for $ac_func" >&5
5112   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5113 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
5113 > if eval "test \"\${$as_ac_var+set}\" = set"; then
5114    echo $ECHO_N "(cached) $ECHO_C" >&6
5115   else
5116    cat >conftest.$ac_ext <<_ACEOF
5117 < #line 3723 "configure"
5118 < #include "confdefs.h"
5117 > /* confdefs.h.  */
5118 > _ACEOF
5119 > cat confdefs.h >>conftest.$ac_ext
5120 > cat >>conftest.$ac_ext <<_ACEOF
5121 > /* end confdefs.h.  */
5122 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5123 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5124 > #define $ac_func innocuous_$ac_func
5125 >
5126   /* System header to define __stub macros and hopefully few prototypes,
5127 <    which can conflict with char $ac_func (); below.  */
5128 < #include <assert.h>
5127 >    which can conflict with char $ac_func (); below.
5128 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5129 >    <limits.h> exists even on freestanding compilers.  */
5130 >
5131 > #ifdef __STDC__
5132 > # include <limits.h>
5133 > #else
5134 > # include <assert.h>
5135 > #endif
5136 >
5137 > #undef $ac_func
5138 >
5139   /* Override any gcc2 internal prototype to avoid an error.  */
5140   #ifdef __cplusplus
5141   extern "C"
5142 + {
5143   #endif
5144   /* We use char because int might match the return type of a gcc2
5145     builtin and then its argument prototype would still apply.  */
5146   char $ac_func ();
3735 char (*f) ();
3736
3737 int
3738 main ()
3739 {
5147   /* The GNU C library defines this for functions which it implements
5148      to always fail with ENOSYS.  Some functions are actually named
5149      something starting with __ and the normal name is an alias.  */
5150   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5151   choke me
5152   #else
5153 < f = $ac_func;
5153 > char (*f) () = $ac_func;
5154   #endif
5155 + #ifdef __cplusplus
5156 + }
5157 + #endif
5158  
5159 + int
5160 + main ()
5161 + {
5162 + return f != $ac_func;
5163    ;
5164    return 0;
5165   }
5166   _ACEOF
5167   rm -f conftest.$ac_objext conftest$ac_exeext
5168 < if { (eval echo "$as_me:3754: \"$ac_link\"") >&5
5169 <  (eval $ac_link) 2>&5
5168 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5169 >  (eval $ac_link) 2>conftest.er1
5170    ac_status=$?
5171 <  echo "$as_me:3757: \$? = $ac_status" >&5
5171 >  grep -v '^ *+' conftest.er1 >conftest.err
5172 >  rm -f conftest.er1
5173 >  cat conftest.err >&5
5174 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175    (exit $ac_status); } &&
5176 <         { ac_try='test -s conftest$ac_exeext'
5177 <  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
5176 >         { ac_try='test -z "$ac_c_werror_flag"
5177 >                         || test ! -s conftest.err'
5178 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5179    (eval $ac_try) 2>&5
5180    ac_status=$?
5181 <  echo "$as_me:3763: \$? = $ac_status" >&5
5181 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 >  (exit $ac_status); }; } &&
5183 >         { ac_try='test -s conftest$ac_exeext'
5184 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5185 >  (eval $ac_try) 2>&5
5186 >  ac_status=$?
5187 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188    (exit $ac_status); }; }; then
5189 <  eval "$ac_ac_var=yes"
5189 >  eval "$as_ac_var=yes"
5190   else
5191    echo "$as_me: failed program was:" >&5
5192 < cat conftest.$ac_ext >&5
5193 < eval "$ac_ac_var=no"
5192 > sed 's/^/| /' conftest.$ac_ext >&5
5193 >
5194 > eval "$as_ac_var=no"
5195   fi
5196 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5196 > rm -f conftest.err conftest.$ac_objext \
5197 >      conftest$ac_exeext conftest.$ac_ext
5198   fi
5199 < echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5
5200 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5201 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
5202 <  cat >>confdefs.h <<EOF
5203 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5204 < EOF
5199 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5200 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5201 > if test `eval echo '${'$as_ac_var'}'` = yes; then
5202 >  cat >>confdefs.h <<_ACEOF
5203 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5204 > _ACEOF
5205  
5206   fi
5207   done
5208  
5209   # special check for _system_configuration because AIX <4.3.2 do not
5210   # contain the `physmem' member.
5211 < echo "$as_me:3785: checking for external symbol _system_configuration" >&5
5211 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5212   echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5213   cat >conftest.$ac_ext <<_ACEOF
5214 < #line 3788 "configure"
5215 < #include "confdefs.h"
5214 > /* confdefs.h.  */
5215 > _ACEOF
5216 > cat confdefs.h >>conftest.$ac_ext
5217 > cat >>conftest.$ac_ext <<_ACEOF
5218 > /* end confdefs.h.  */
5219   #include <sys/systemcfg.h>
5220   int
5221   main ()
# Line 3797 | Line 5226 | if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
5226   }
5227   _ACEOF
5228   rm -f conftest.$ac_objext
5229 < if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
5230 <  (eval $ac_compile) 2>&5
5229 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5230 >  (eval $ac_compile) 2>conftest.er1
5231    ac_status=$?
5232 <  echo "$as_me:3803: \$? = $ac_status" >&5
5232 >  grep -v '^ *+' conftest.er1 >conftest.err
5233 >  rm -f conftest.er1
5234 >  cat conftest.err >&5
5235 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236    (exit $ac_status); } &&
5237 <         { ac_try='test -s conftest.$ac_objext'
5238 <  { (eval echo "$as_me:3806: \"$ac_try\"") >&5
5237 >         { ac_try='test -z "$ac_c_werror_flag"
5238 >                         || test ! -s conftest.err'
5239 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240    (eval $ac_try) 2>&5
5241    ac_status=$?
5242 <  echo "$as_me:3809: \$? = $ac_status" >&5
5242 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 >  (exit $ac_status); }; } &&
5244 >         { ac_try='test -s conftest.$ac_objext'
5245 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 >  (eval $ac_try) 2>&5
5247 >  ac_status=$?
5248 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249    (exit $ac_status); }; }; then
5250 <  echo "$as_me:3811: result: yes" >&5
5250 >  echo "$as_me:$LINENO: result: yes" >&5
5251   echo "${ECHO_T}yes" >&6
5252  
5253 < cat >>confdefs.h <<\EOF
5253 > cat >>confdefs.h <<\_ACEOF
5254   #define HAVE__SYSTEM_CONFIGURATION 1
5255 < EOF
5255 > _ACEOF
5256  
5257   else
5258    echo "$as_me: failed program was:" >&5
5259 < cat conftest.$ac_ext >&5
5260 < echo "$as_me:3821: result: no" >&5
5259 > sed 's/^/| /' conftest.$ac_ext >&5
5260 >
5261 > echo "$as_me:$LINENO: result: no" >&5
5262   echo "${ECHO_T}no" >&6
5263   fi
5264 < rm -f conftest.$ac_objext conftest.$ac_ext
5264 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5265  
5266    # clean out junk possibly left behind by a previous configuration
5267    rm -f src/getopt.h
# Line 3829 | Line 5269 | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_
5269  
5270   for ac_header in getopt.h
5271   do
5272 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5273 < echo "$as_me:3833: checking for $ac_header" >&5
5272 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5273 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5274 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5275   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5276 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5276 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5277    echo $ECHO_N "(cached) $ECHO_C" >&6
5278 + fi
5279 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5280 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5281   else
5282 <  cat >conftest.$ac_ext <<_ACEOF
5283 < #line 3839 "configure"
5284 < #include "confdefs.h"
5282 >  # Is the header compilable?
5283 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5284 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5285 > cat >conftest.$ac_ext <<_ACEOF
5286 > /* confdefs.h.  */
5287 > _ACEOF
5288 > cat confdefs.h >>conftest.$ac_ext
5289 > cat >>conftest.$ac_ext <<_ACEOF
5290 > /* end confdefs.h.  */
5291 > $ac_includes_default
5292   #include <$ac_header>
5293   _ACEOF
5294 < if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5
5294 > rm -f conftest.$ac_objext
5295 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5296 >  (eval $ac_compile) 2>conftest.er1
5297 >  ac_status=$?
5298 >  grep -v '^ *+' conftest.er1 >conftest.err
5299 >  rm -f conftest.er1
5300 >  cat conftest.err >&5
5301 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 >  (exit $ac_status); } &&
5303 >         { ac_try='test -z "$ac_c_werror_flag"
5304 >                         || test ! -s conftest.err'
5305 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5306 >  (eval $ac_try) 2>&5
5307 >  ac_status=$?
5308 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 >  (exit $ac_status); }; } &&
5310 >         { ac_try='test -s conftest.$ac_objext'
5311 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5312 >  (eval $ac_try) 2>&5
5313 >  ac_status=$?
5314 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 >  (exit $ac_status); }; }; then
5316 >  ac_header_compiler=yes
5317 > else
5318 >  echo "$as_me: failed program was:" >&5
5319 > sed 's/^/| /' conftest.$ac_ext >&5
5320 >
5321 > ac_header_compiler=no
5322 > fi
5323 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5324 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5325 > echo "${ECHO_T}$ac_header_compiler" >&6
5326 >
5327 > # Is the header present?
5328 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5329 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5330 > cat >conftest.$ac_ext <<_ACEOF
5331 > /* confdefs.h.  */
5332 > _ACEOF
5333 > cat confdefs.h >>conftest.$ac_ext
5334 > cat >>conftest.$ac_ext <<_ACEOF
5335 > /* end confdefs.h.  */
5336 > #include <$ac_header>
5337 > _ACEOF
5338 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5339    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5340    ac_status=$?
5341 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5341 >  grep -v '^ *+' conftest.er1 >conftest.err
5342    rm -f conftest.er1
5343    cat conftest.err >&5
5344 <  echo "$as_me:3849: \$? = $ac_status" >&5
5344 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345    (exit $ac_status); } >/dev/null; then
5346    if test -s conftest.err; then
5347      ac_cpp_err=$ac_c_preproc_warn_flag
5348 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5349    else
5350      ac_cpp_err=
5351    fi
# Line 3857 | Line 5353 | if test -z "$ac_cpp_err"; then
5353    ac_cpp_err=yes
5354   fi
5355   if test -z "$ac_cpp_err"; then
5356 <  eval "$ac_ac_Header=yes"
5356 >  ac_header_preproc=yes
5357   else
5358    echo "$as_me: failed program was:" >&5
5359 <  cat conftest.$ac_ext >&5
5360 <  eval "$ac_ac_Header=no"
5359 > sed 's/^/| /' conftest.$ac_ext >&5
5360 >
5361 >  ac_header_preproc=no
5362   fi
5363   rm -f conftest.err conftest.$ac_ext
5364 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5365 + echo "${ECHO_T}$ac_header_preproc" >&6
5366 +
5367 + # So?  What about this header?
5368 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5369 +  yes:no: )
5370 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5371 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5372 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5373 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5374 +    ac_header_preproc=yes
5375 +    ;;
5376 +  no:yes:* )
5377 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5378 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5379 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5380 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5381 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5382 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5383 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5384 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5385 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5386 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5387 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5388 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5389 +    (
5390 +      cat <<\_ASBOX
5391 + ## ------------------------------ ##
5392 + ## Report this to gezelter@nd.edu ##
5393 + ## ------------------------------ ##
5394 + _ASBOX
5395 +    ) |
5396 +      sed "s/^/$as_me: WARNING:     /" >&2
5397 +    ;;
5398 + esac
5399 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5400 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5401 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
5402 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5403 + else
5404 +  eval "$as_ac_Header=\$ac_header_preproc"
5405   fi
5406 < echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5407 < echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3870 < if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3871 <  cat >>confdefs.h <<EOF
3872 < #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3873 < EOF
5406 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5407 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5408  
5409   fi
5410 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
5411 +  cat >>confdefs.h <<_ACEOF
5412 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5413 + _ACEOF
5414 +
5415 + fi
5416 +
5417   done
5418  
5419 +
5420   for ac_func in getopt_long
5421   do
5422 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5423 < echo "$as_me:3881: checking for $ac_func" >&5
5422 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5423 > echo "$as_me:$LINENO: checking for $ac_func" >&5
5424   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5425 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
5425 > if eval "test \"\${$as_ac_var+set}\" = set"; then
5426    echo $ECHO_N "(cached) $ECHO_C" >&6
5427   else
5428    cat >conftest.$ac_ext <<_ACEOF
5429 < #line 3887 "configure"
5430 < #include "confdefs.h"
5429 > /* confdefs.h.  */
5430 > _ACEOF
5431 > cat confdefs.h >>conftest.$ac_ext
5432 > cat >>conftest.$ac_ext <<_ACEOF
5433 > /* end confdefs.h.  */
5434 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5435 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5436 > #define $ac_func innocuous_$ac_func
5437 >
5438   /* System header to define __stub macros and hopefully few prototypes,
5439 <    which can conflict with char $ac_func (); below.  */
5440 < #include <assert.h>
5439 >    which can conflict with char $ac_func (); below.
5440 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5441 >    <limits.h> exists even on freestanding compilers.  */
5442 >
5443 > #ifdef __STDC__
5444 > # include <limits.h>
5445 > #else
5446 > # include <assert.h>
5447 > #endif
5448 >
5449 > #undef $ac_func
5450 >
5451   /* Override any gcc2 internal prototype to avoid an error.  */
5452   #ifdef __cplusplus
5453   extern "C"
5454 + {
5455   #endif
5456   /* We use char because int might match the return type of a gcc2
5457     builtin and then its argument prototype would still apply.  */
5458   char $ac_func ();
3899 char (*f) ();
3900
3901 int
3902 main ()
3903 {
5459   /* The GNU C library defines this for functions which it implements
5460      to always fail with ENOSYS.  Some functions are actually named
5461      something starting with __ and the normal name is an alias.  */
5462   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5463   choke me
5464   #else
5465 < f = $ac_func;
5465 > char (*f) () = $ac_func;
5466   #endif
5467 + #ifdef __cplusplus
5468 + }
5469 + #endif
5470  
5471 + int
5472 + main ()
5473 + {
5474 + return f != $ac_func;
5475    ;
5476    return 0;
5477   }
5478   _ACEOF
5479   rm -f conftest.$ac_objext conftest$ac_exeext
5480 < if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
5481 <  (eval $ac_link) 2>&5
5480 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5481 >  (eval $ac_link) 2>conftest.er1
5482    ac_status=$?
5483 <  echo "$as_me:3921: \$? = $ac_status" >&5
5483 >  grep -v '^ *+' conftest.er1 >conftest.err
5484 >  rm -f conftest.er1
5485 >  cat conftest.err >&5
5486 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487    (exit $ac_status); } &&
5488 <         { ac_try='test -s conftest$ac_exeext'
5489 <  { (eval echo "$as_me:3924: \"$ac_try\"") >&5
5488 >         { ac_try='test -z "$ac_c_werror_flag"
5489 >                         || test ! -s conftest.err'
5490 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5491    (eval $ac_try) 2>&5
5492    ac_status=$?
5493 <  echo "$as_me:3927: \$? = $ac_status" >&5
5493 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 >  (exit $ac_status); }; } &&
5495 >         { ac_try='test -s conftest$ac_exeext'
5496 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497 >  (eval $ac_try) 2>&5
5498 >  ac_status=$?
5499 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500    (exit $ac_status); }; }; then
5501 <  eval "$ac_ac_var=yes"
5501 >  eval "$as_ac_var=yes"
5502   else
5503    echo "$as_me: failed program was:" >&5
5504 < cat conftest.$ac_ext >&5
5505 < eval "$ac_ac_var=no"
5504 > sed 's/^/| /' conftest.$ac_ext >&5
5505 >
5506 > eval "$as_ac_var=no"
5507   fi
5508 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5508 > rm -f conftest.err conftest.$ac_objext \
5509 >      conftest$ac_exeext conftest.$ac_ext
5510   fi
5511 < echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5
5512 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5513 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
5514 <  cat >>confdefs.h <<EOF
5515 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5516 < EOF
5511 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5512 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5513 > if test `eval echo '${'$as_ac_var'}'` = yes; then
5514 >  cat >>confdefs.h <<_ACEOF
5515 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5516 > _ACEOF
5517  
5518   else
5519    # FreeBSD has a gnugetopt library for this
5520 <    echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5
5520 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5521   echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5522   if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5523    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3951 | Line 5525 | cat >conftest.$ac_ext <<_ACEOF
5525    ac_check_lib_save_LIBS=$LIBS
5526   LIBS="-lgnugetopt  $LIBS"
5527   cat >conftest.$ac_ext <<_ACEOF
5528 < #line 3954 "configure"
5529 < #include "confdefs.h"
5528 > /* confdefs.h.  */
5529 > _ACEOF
5530 > cat confdefs.h >>conftest.$ac_ext
5531 > cat >>conftest.$ac_ext <<_ACEOF
5532 > /* end confdefs.h.  */
5533  
5534   /* Override any gcc2 internal prototype to avoid an error.  */
5535   #ifdef __cplusplus
# Line 3970 | Line 5547 | if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
5547   }
5548   _ACEOF
5549   rm -f conftest.$ac_objext conftest$ac_exeext
5550 < if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
5551 <  (eval $ac_link) 2>&5
5550 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5551 >  (eval $ac_link) 2>conftest.er1
5552    ac_status=$?
5553 <  echo "$as_me:3976: \$? = $ac_status" >&5
5553 >  grep -v '^ *+' conftest.er1 >conftest.err
5554 >  rm -f conftest.er1
5555 >  cat conftest.err >&5
5556 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557    (exit $ac_status); } &&
5558 <         { ac_try='test -s conftest$ac_exeext'
5559 <  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
5558 >         { ac_try='test -z "$ac_c_werror_flag"
5559 >                         || test ! -s conftest.err'
5560 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561    (eval $ac_try) 2>&5
5562    ac_status=$?
5563 <  echo "$as_me:3982: \$? = $ac_status" >&5
5563 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 >  (exit $ac_status); }; } &&
5565 >         { ac_try='test -s conftest$ac_exeext'
5566 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 >  (eval $ac_try) 2>&5
5568 >  ac_status=$?
5569 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570    (exit $ac_status); }; }; then
5571    ac_cv_lib_gnugetopt_getopt_long=yes
5572   else
5573    echo "$as_me: failed program was:" >&5
5574 < cat conftest.$ac_ext >&5
5574 > sed 's/^/| /' conftest.$ac_ext >&5
5575 >
5576   ac_cv_lib_gnugetopt_getopt_long=no
5577   fi
5578 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5578 > rm -f conftest.err conftest.$ac_objext \
5579 >      conftest$ac_exeext conftest.$ac_ext
5580   LIBS=$ac_check_lib_save_LIBS
5581   fi
5582 < echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5582 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5583   echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5584   if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5585 <  cat >>confdefs.h <<\EOF
5585 >  cat >>confdefs.h <<\_ACEOF
5586   #define HAVE_GETOPT_LONG 1
5587 < EOF
5587 > _ACEOF
5588  
5589   else
5590    # use the GNU replacement
5591 <      LIBOBJS="$LIBOBJS getopt.$ac_objext"
5592 <      LIBOBJS="$LIBOBJS getopt1.$ac_objext"
5593 <      ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5591 >      case $LIBOBJS in
5592 >    "getopt.$ac_objext"   | \
5593 >  *" getopt.$ac_objext"   | \
5594 >    "getopt.$ac_objext "* | \
5595 >  *" getopt.$ac_objext "* ) ;;
5596 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5597 > esac
5598  
5599 +      case $LIBOBJS in
5600 +    "getopt1.$ac_objext"   | \
5601 +  *" getopt1.$ac_objext"   | \
5602 +    "getopt1.$ac_objext "* | \
5603 +  *" getopt1.$ac_objext "* ) ;;
5604 +  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5605 + esac
5606 +
5607 +                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5608 +
5609   fi
5610  
5611   fi
5612   done
5613  
5614 +
5615 +
5616   case $debug in
5617    1)
5618       ;;
5619    *)
5620  
5621 < echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5
5621 >
5622 >
5623 >
5624 >
5625 >
5626 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
5627   echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5628   if test "${ac_cv_prog_really_gcc+set}" = set; then
5629    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4027 | Line 5637 | if { ac_try='${CC-cc} -E conftest.c'
5637   #endif
5638   EOF
5639   if { ac_try='${CC-cc} -E conftest.c'
5640 <  { (eval echo "$as_me:4030: \"$ac_try\"") >&5
5640 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5641    (eval $ac_try) 2>&5
5642    ac_status=$?
5643 <  echo "$as_me:4033: \$? = $ac_status" >&5
5643 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5645    ac_cv_prog_really_gcc=yes
5646   else
# Line 4038 | Line 5648 | echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
5648   fi
5649  
5650   fi
5651 < echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
5651 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
5652   echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
5653   if test "$ac_cv_prog_really_gcc" = yes; then
5654          :
# Line 4048 | Line 5658 | fi
5658  
5659   fi
5660  
5661 +
5662   # Try to determine "good" native compiler flags if none specified on command
5663   # line
5664   if test "$ac_test_CFLAGS" != "set"; then
# Line 4100 | Line 5711 | echo "$as_me:4103: checking whether ${CC-cc} accepts -
5711    if test $ac_cv_prog_really_gcc = yes; then
5712      # -malign-double for x86 systems
5713  
5714 < echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5
5714 >
5715 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
5716   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
5717   if test "${ac_align_double+set}" = set; then
5718    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4114 | Line 5726 | echo "$as_me:4117: result: $ac_align_double" >&5
5726   rm -f conftest*
5727  
5728   fi
5729 < echo "$as_me:4117: result: $ac_align_double" >&5
5729 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
5730   echo "${ECHO_T}$ac_align_double" >&6
5731   if test "$ac_align_double" = yes; then
5732          :
# Line 4126 | Line 5738 | echo "$as_me:4129: checking whether ${CC-cc} accepts -
5738  
5739      # -fstrict-aliasing for gcc-2.95+
5740  
5741 < echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
5741 >
5742 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
5743   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
5744   if test "${ac_fstrict_aliasing+set}" = set; then
5745    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4140 | Line 5753 | echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
5753   rm -f conftest*
5754  
5755   fi
5756 < echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
5756 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
5757   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
5758   if test "$ac_fstrict_aliasing" = yes; then
5759          :
# Line 4157 | Line 5770 | echo "$as_me:4160: checking whether ${CC-cc} accepts -
5770                    case "${host_cpu}" in
5771            i586*)
5772  
5773 < echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
5773 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
5774   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
5775   if test "${ac_cpu_pentium+set}" = set; then
5776    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4171 | Line 5784 | echo "$as_me:4174: result: $ac_cpu_pentium" >&5
5784   rm -f conftest*
5785  
5786   fi
5787 < echo "$as_me:4174: result: $ac_cpu_pentium" >&5
5787 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
5788   echo "${ECHO_T}$ac_cpu_pentium" >&6
5789   if test "$ac_cpu_pentium" = yes; then
5790          :
# Line 4179 | Line 5792 | echo "$as_me:4182: checking whether ${CC-cc} accepts -
5792   else
5793          :
5794  
5795 < echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5
5795 >
5796 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
5797   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
5798   if test "${ac_pentium+set}" = set; then
5799    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4193 | Line 5807 | echo "$as_me:4196: result: $ac_pentium" >&5
5807   rm -f conftest*
5808  
5809   fi
5810 < echo "$as_me:4196: result: $ac_pentium" >&5
5810 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
5811   echo "${ECHO_T}$ac_pentium" >&6
5812   if test "$ac_pentium" = yes; then
5813          :
# Line 4208 | Line 5822 | echo "$as_me:4211: checking whether ${CC-cc} accepts -
5822                    ;;
5823            i686*)
5824  
5825 < echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
5825 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
5826   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
5827   if test "${ac_cpu_pentiumpro+set}" = set; then
5828    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4222 | Line 5836 | echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
5836   rm -f conftest*
5837  
5838   fi
5839 < echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
5839 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
5840   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
5841   if test "$ac_cpu_pentiumpro" = yes; then
5842          :
# Line 4230 | Line 5844 | echo "$as_me:4233: checking whether ${CC-cc} accepts -
5844   else
5845          :
5846  
5847 < echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5
5847 >
5848 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
5849   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
5850   if test "${ac_pentiumpro+set}" = set; then
5851    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4244 | Line 5859 | echo "$as_me:4247: result: $ac_pentiumpro" >&5
5859   rm -f conftest*
5860  
5861   fi
5862 < echo "$as_me:4247: result: $ac_pentiumpro" >&5
5862 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
5863   echo "${ECHO_T}$ac_pentiumpro" >&6
5864   if test "$ac_pentiumpro" = yes; then
5865          :
# Line 4262 | Line 5877 | echo "$as_me:4265: checking whether ${CC-cc} accepts -
5877                  is60x=`echo $cputype | egrep "^600-9e?$"`
5878                  if test -n "$is60x"; then
5879  
5880 < echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
5880 >
5881 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
5882   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
5883   if test "${ac_m_cpu_60x+set}" = set; then
5884    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4276 | Line 5892 | echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
5892   rm -f conftest*
5893  
5894   fi
5895 < echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
5895 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
5896   echo "${ECHO_T}$ac_m_cpu_60x" >&6
5897   if test "$ac_m_cpu_60x" = yes; then
5898          :
# Line 4288 | Line 5904 | echo "$as_me:4291: checking whether we are using gcc 2
5904  
5905                  elif test "$cputype" = 750; then
5906  
5907 < echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5
5907 >
5908 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
5909   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
5910   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
5911    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4302 | Line 5919 | if { ac_try='${CC-cc} -E conftest.c'
5919   #endif
5920   EOF
5921   if { ac_try='${CC-cc} -E conftest.c'
5922 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
5922 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923    (eval $ac_try) 2>&5
5924    ac_status=$?
5925 <  echo "$as_me:4308: \$? = $ac_status" >&5
5925 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5927    ac_cv_prog_gcc_2_95=yes
5928   else
# Line 4313 | Line 5930 | echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
5930   fi
5931  
5932   fi
5933 < echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
5933 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
5934   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
5935   if test "$ac_cv_prog_gcc_2_95" = yes; then
5936          :
5937  
5938 < echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5
5938 >
5939 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
5940   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
5941   if test "${ac_m_cpu_750+set}" = set; then
5942    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4332 | Line 5950 | echo "$as_me:4335: result: $ac_m_cpu_750" >&5
5950   rm -f conftest*
5951  
5952   fi
5953 < echo "$as_me:4335: result: $ac_m_cpu_750" >&5
5953 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
5954   echo "${ECHO_T}$ac_m_cpu_750" >&6
5955   if test "$ac_m_cpu_750" = yes; then
5956          :
# Line 4350 | Line 5968 | echo "$as_me:4353: checking whether ${CC-cc} accepts -
5968                  fi
5969                  if test -z "$CPU_FLAGS"; then
5970  
5971 < echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
5971 >
5972 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
5973   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
5974   if test "${ac_m_cpu_powerpc+set}" = set; then
5975    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4364 | Line 5983 | echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
5983   rm -f conftest*
5984  
5985   fi
5986 < echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
5986 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
5987   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
5988   if test "$ac_m_cpu_powerpc" = yes; then
5989          :
# Line 4377 | Line 5996 | echo "$as_me:4380: checking whether ${CC-cc} accepts -
5996                  fi
5997                  if test -z "$CPU_FLAGS"; then
5998  
5999 < echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5
5999 >
6000 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
6001   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
6002   if test "${ac_m_powerpc+set}" = set; then
6003    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4391 | Line 6011 | echo "$as_me:4394: result: $ac_m_powerpc" >&5
6011   rm -f conftest*
6012  
6013   fi
6014 < echo "$as_me:4394: result: $ac_m_powerpc" >&5
6014 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6015   echo "${ECHO_T}$ac_m_powerpc" >&6
6016   if test "$ac_m_powerpc" = yes; then
6017          :
# Line 4420 | Line 6040 | echo "$as_me:4423: checking whether ${CC-cc} accepts $
6040          CFLAGS="-O3"
6041    fi
6042  
6043 < echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6043 >
6044 >
6045 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6046   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
6047   if test "${ac_guessed_cflags+set}" = set; then
6048    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4434 | Line 6056 | echo "$as_me:4437: result: $ac_guessed_cflags" >&5
6056   rm -f conftest*
6057  
6058   fi
6059 < echo "$as_me:4437: result: $ac_guessed_cflags" >&5
6059 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
6060   echo "${ECHO_T}$ac_guessed_cflags" >&6
6061   if test "$ac_guessed_cflags" = yes; then
6062          :
# Line 4453 | Line 6075 | fi
6075  
6076   fi
6077  
6078 +
6079   fi
6080  
6081 < echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5
6081 >
6082 >
6083 >
6084 >
6085 >
6086 >
6087 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
6088   echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
6089   if test "${ac_cv_prog_really_gxx+set}" = set; then
6090    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4469 | Line 6098 | if { ac_try='${CXX-c++} -E conftest.cpp'
6098   #endif
6099   EOF
6100   if { ac_try='${CXX-c++} -E conftest.cpp'
6101 <  { (eval echo "$as_me:4472: \"$ac_try\"") >&5
6101 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102    (eval $ac_try) 2>&5
6103    ac_status=$?
6104 <  echo "$as_me:4475: \$? = $ac_status" >&5
6104 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6106    ac_cv_prog_really_gxx=yes
6107   else
# Line 4480 | Line 6109 | echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
6109   fi
6110  
6111   fi
6112 < echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
6112 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
6113   echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
6114   if test "$ac_cv_prog_really_gxx" = yes; then
6115          :
# Line 4490 | Line 6119 | fi
6119  
6120   fi
6121  
6122 +
6123   # Try to determine "good" native compiler flags if none specified on command
6124   # line
6125   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 4533 | Line 6163 | echo "$as_me:4536: checking whether ${CXX-c++} accepts
6163    if test $ac_cv_prog_really_gxx = yes; then
6164      # -malign-double for x86 systems
6165  
6166 < echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5
6166 >
6167 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
6168   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
6169   if test "${ac_align_double+set}" = set; then
6170    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4547 | Line 6178 | echo "$as_me:4550: result: $ac_align_double" >&5
6178   rm -f conftest*
6179  
6180   fi
6181 < echo "$as_me:4550: result: $ac_align_double" >&5
6181 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
6182   echo "${ECHO_T}$ac_align_double" >&6
6183   if test "$ac_align_double" = yes; then
6184          :
# Line 4559 | Line 6190 | echo "$as_me:4562: checking whether ${CXX-c++} accepts
6190  
6191      # -fstrict-aliasing for gcc-2.95+
6192  
6193 < echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6193 >
6194 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6195   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
6196   if test "${ac_fstrict_aliasing+set}" = set; then
6197    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4573 | Line 6205 | echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
6205   rm -f conftest*
6206  
6207   fi
6208 < echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
6208 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6209   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6210   if test "$ac_fstrict_aliasing" = yes; then
6211          :
# Line 4590 | Line 6222 | echo "$as_me:4593: checking whether ${CXX-c++} accepts
6222                    case "${host_cpu}" in
6223            i586*)
6224  
6225 < echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6225 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6226   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
6227   if test "${ac_cpu_pentium+set}" = set; then
6228    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4604 | Line 6236 | echo "$as_me:4607: result: $ac_cpu_pentium" >&5
6236   rm -f conftest*
6237  
6238   fi
6239 < echo "$as_me:4607: result: $ac_cpu_pentium" >&5
6239 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6240   echo "${ECHO_T}$ac_cpu_pentium" >&6
6241   if test "$ac_cpu_pentium" = yes; then
6242          :
# Line 4612 | Line 6244 | echo "$as_me:4615: checking whether ${CXX-c++} accepts
6244   else
6245          :
6246  
6247 < echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5
6247 >
6248 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
6249   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6250   if test "${ac_pentium+set}" = set; then
6251    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4626 | Line 6259 | echo "$as_me:4629: result: $ac_pentium" >&5
6259   rm -f conftest*
6260  
6261   fi
6262 < echo "$as_me:4629: result: $ac_pentium" >&5
6262 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
6263   echo "${ECHO_T}$ac_pentium" >&6
6264   if test "$ac_pentium" = yes; then
6265          :
# Line 4641 | Line 6274 | echo "$as_me:4644: checking whether ${CXX-c++} accepts
6274                    ;;
6275            i686*)
6276  
6277 < echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6277 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6278   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6279   if test "${ac_cpu_pentiumpro+set}" = set; then
6280    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4655 | Line 6288 | echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
6288   rm -f conftest*
6289  
6290   fi
6291 < echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
6291 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6292   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6293   if test "$ac_cpu_pentiumpro" = yes; then
6294          :
# Line 4663 | Line 6296 | echo "$as_me:4666: checking whether ${CXX-c++} accepts
6296   else
6297          :
6298  
6299 < echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6299 >
6300 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6301   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6302   if test "${ac_pentiumpro+set}" = set; then
6303    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4677 | Line 6311 | echo "$as_me:4680: result: $ac_pentiumpro" >&5
6311   rm -f conftest*
6312  
6313   fi
6314 < echo "$as_me:4680: result: $ac_pentiumpro" >&5
6314 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6315   echo "${ECHO_T}$ac_pentiumpro" >&6
6316   if test "$ac_pentiumpro" = yes; then
6317          :
# Line 4695 | Line 6329 | echo "$as_me:4698: checking whether ${CXX-c++} accepts
6329                  is60x=`echo $cputype | egrep "^600-9e?$"`
6330                  if test -n "$is60x"; then
6331  
6332 < echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6332 >
6333 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6334   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6335   if test "${ac_m_cpu_60x+set}" = set; then
6336    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4709 | Line 6344 | echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
6344   rm -f conftest*
6345  
6346   fi
6347 < echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
6347 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6348   echo "${ECHO_T}$ac_m_cpu_60x" >&6
6349   if test "$ac_m_cpu_60x" = yes; then
6350          :
# Line 4721 | Line 6356 | echo "$as_me:4724: checking whether we are using g++ 2
6356  
6357                  elif test "$cputype" = 750; then
6358  
6359 < echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5
6359 >
6360 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
6361   echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6362   if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6363    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4735 | Line 6371 | if { ac_try='${CXX-c++} -E conftest.cpp'
6371   #endif
6372   EOF
6373   if { ac_try='${CXX-c++} -E conftest.cpp'
6374 <  { (eval echo "$as_me:4738: \"$ac_try\"") >&5
6374 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6375    (eval $ac_try) 2>&5
6376    ac_status=$?
6377 <  echo "$as_me:4741: \$? = $ac_status" >&5
6377 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6379    ac_cv_prog_gxx_2_95=yes
6380   else
# Line 4746 | Line 6382 | echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
6382   fi
6383  
6384   fi
6385 < echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
6385 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
6386   echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6387   if test "$ac_cv_prog_gxx_2_95" = yes; then
6388          :
6389  
6390 < echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6390 >
6391 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6392   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6393   if test "${ac_m_cpu_750+set}" = set; then
6394    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4765 | Line 6402 | echo "$as_me:4768: result: $ac_m_cpu_750" >&5
6402   rm -f conftest*
6403  
6404   fi
6405 < echo "$as_me:4768: result: $ac_m_cpu_750" >&5
6405 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6406   echo "${ECHO_T}$ac_m_cpu_750" >&6
6407   if test "$ac_m_cpu_750" = yes; then
6408          :
# Line 4783 | Line 6420 | echo "$as_me:4786: checking whether ${CXX-c++} accepts
6420                  fi
6421                  if test -z "$CPU_FLAGS"; then
6422  
6423 < echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6423 >
6424 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6425   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6426   if test "${ac_m_cpu_powerpc+set}" = set; then
6427    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4797 | Line 6435 | echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
6435   rm -f conftest*
6436  
6437   fi
6438 < echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
6438 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6439   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6440   if test "$ac_m_cpu_powerpc" = yes; then
6441          :
# Line 4810 | Line 6448 | echo "$as_me:4813: checking whether ${CXX-c++} accepts
6448                  fi
6449                  if test -z "$CPU_FLAGS"; then
6450  
6451 < echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6451 >
6452 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6453   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6454   if test "${ac_m_powerpc+set}" = set; then
6455    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4824 | Line 6463 | echo "$as_me:4827: result: $ac_m_powerpc" >&5
6463   rm -f conftest*
6464  
6465   fi
6466 < echo "$as_me:4827: result: $ac_m_powerpc" >&5
6466 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6467   echo "${ECHO_T}$ac_m_powerpc" >&6
6468   if test "$ac_m_powerpc" = yes; then
6469          :
# Line 4853 | Line 6492 | echo "$as_me:4856: checking whether ${CXX-c++} accepts
6492          CXXFLAGS="-O3"
6493    fi
6494  
6495 < echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6495 >
6496 >
6497 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6498   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6499   if test "${ac_guessed_cxxflags+set}" = set; then
6500    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4867 | Line 6508 | echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
6508   rm -f conftest*
6509  
6510   fi
6511 < echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
6511 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
6512   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6513   if test "$ac_guessed_cxxflags" = yes; then
6514          :
# Line 4886 | Line 6527 | fi
6527  
6528   fi
6529  
6530 +
6531   fi
6532  
6533 +
6534 +
6535 +
6536 +
6537   # Try to determine "good" native compiler flags if none specified on command
6538   # line
6539  
# Line 4935 | Line 6581 | echo "$as_me:4938: checking whether ${F90-f90} accepts
6581          F90FLAGS="-O3"
6582    fi
6583  
6584 < echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6584 >
6585 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6586   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
6587   if test "${ac_guessed_f90flags+set}" = set; then
6588    echo $ECHO_N "(cached) $ECHO_C" >&6
6589   else
6590  
6591 +
6592 +
6593   ac_ext=f90
6594   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6595   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4949 | Line 6598 | if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
6598   echo 'program main' > conftest.$ac_ext
6599   echo 'end program main' >> conftest.$ac_ext
6600   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
6601 < if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
6601 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6602    (eval $ac_compile) 2>&5
6603    ac_status=$?
6604 <  echo "$as_me:4955: \$? = $ac_status" >&5
6604 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605    (exit $ac_status); }; then
6606          ac_guessed_f90flags=yes
6607   else
# Line 4965 | Line 6614 | fi
6614   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6615   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6616  
6617 +
6618   fi
6619 < echo "$as_me:4969: result: $ac_guessed_f90flags" >&5
6619 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
6620   echo "${ECHO_T}$ac_guessed_f90flags" >&6
6621   if test "$ac_guessed_f90flags" = yes; then
6622          :
# Line 4985 | Line 6635 | fi
6635  
6636   fi
6637  
6638 +
6639   fi
6640  
6641       ;;
# Line 5001 | Line 6652 | esac
6652   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6653   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6654   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6655 + # OS/2's system install, which has a completely different semantic
6656   # ./install, which can be erroneously created by make from ./install.sh.
6657 < echo "$as_me:5005: checking for a BSD compatible install" >&5
6658 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
6657 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6658 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6659   if test -z "$INSTALL"; then
6660   if test "${ac_cv_path_install+set}" = set; then
6661    echo $ECHO_N "(cached) $ECHO_C" >&6
6662   else
6663 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
6664 <  for ac_dir in $PATH; do
6665 <    IFS=$ac_save_IFS
6666 <    # Account for people who put trailing slashes in PATH elements.
6667 <    case $ac_dir/ in
6668 <    / | ./ | .// | /cC/* \
6669 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
6670 <    | /usr/ucb/* ) ;;
6671 <    *)
6672 <      # OSF1 and SCO ODT 3.0 have their own names for install.
6673 <      # Don't use installbsd from OSF since it installs stuff as root
6674 <      # by default.
6675 <      for ac_prog in ginstall scoinst install; do
6676 <        if $as_executable_p "$ac_dir/$ac_prog"; then
6663 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 > for as_dir in $PATH
6665 > do
6666 >  IFS=$as_save_IFS
6667 >  test -z "$as_dir" && as_dir=.
6668 >  # Account for people who put trailing slashes in PATH elements.
6669 > case $as_dir/ in
6670 >  ./ | .// | /cC/* | \
6671 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6672 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6673 >  /usr/ucb/* ) ;;
6674 >  *)
6675 >    # OSF1 and SCO ODT 3.0 have their own names for install.
6676 >    # Don't use installbsd from OSF since it installs stuff as root
6677 >    # by default.
6678 >    for ac_prog in ginstall scoinst install; do
6679 >      for ac_exec_ext in '' $ac_executable_extensions; do
6680 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6681            if test $ac_prog = install &&
6682 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
6682 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6683              # AIX install.  It has an incompatible calling convention.
6684              :
6685            elif test $ac_prog = install &&
6686 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
6686 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6687              # program-specific install script used by HP pwplus--don't use.
6688              :
6689            else
6690 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
6691 <            break 2
6690 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6691 >            break 3
6692            fi
6693          fi
6694        done
6695 <      ;;
6696 <    esac
6697 <  done
6695 >    done
6696 >    ;;
6697 > esac
6698 > done
6699  
6700 +
6701   fi
6702    if test "${ac_cv_path_install+set}" = set; then
6703      INSTALL=$ac_cv_path_install
# Line 5051 | Line 6709 | echo "$as_me:5054: result: $INSTALL" >&5
6709      INSTALL=$ac_install_sh
6710    fi
6711   fi
6712 < echo "$as_me:5054: result: $INSTALL" >&5
6712 > echo "$as_me:$LINENO: result: $INSTALL" >&5
6713   echo "${ECHO_T}$INSTALL" >&6
6714  
6715   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 5062 | Line 6720 | echo "$as_me:5065: checking whether ln -s works" >&5
6720  
6721   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6722  
6723 < echo "$as_me:5065: checking whether ln -s works" >&5
6723 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
6724   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6725   LN_S=$as_ln_s
6726   if test "$LN_S" = "ln -s"; then
6727 <  echo "$as_me:5069: result: yes" >&5
6727 >  echo "$as_me:$LINENO: result: yes" >&5
6728   echo "${ECHO_T}yes" >&6
6729   else
6730 <  echo "$as_me:5072: result: no, using $LN_S" >&5
6730 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6731   echo "${ECHO_T}no, using $LN_S" >&6
6732   fi
6733  
6734 < echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5
6735 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
6736 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
6734 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6735 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6736 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6737   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6738    echo $ECHO_N "(cached) $ECHO_C" >&6
6739   else
6740 <  cat >conftest.make <<\EOF
6740 >  cat >conftest.make <<\_ACEOF
6741   all:
6742 <        @echo 'ac_maketemp="${MAKE}"'
6743 < EOF
6742 >        @echo 'ac_maketemp="$(MAKE)"'
6743 > _ACEOF
6744   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6745   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6746   if test -n "$ac_maketemp"; then
# Line 5093 | Line 6751 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
6751   rm -f conftest.make
6752   fi
6753   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6754 <  echo "$as_me:5096: result: yes" >&5
6754 >  echo "$as_me:$LINENO: result: yes" >&5
6755   echo "${ECHO_T}yes" >&6
6756    SET_MAKE=
6757   else
6758 <  echo "$as_me:5100: result: no" >&5
6758 >  echo "$as_me:$LINENO: result: no" >&5
6759   echo "${ECHO_T}no" >&6
6760    SET_MAKE="MAKE=${MAKE-make}"
6761   fi
# Line 5105 | Line 6763 | echo "$as_me:5108: checking for $ac_word" >&5
6763   if test -n "$ac_tool_prefix"; then
6764    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6765   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6766 < echo "$as_me:5108: checking for $ac_word" >&5
6766 > echo "$as_me:$LINENO: checking for $ac_word" >&5
6767   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6768   if test "${ac_cv_prog_RANLIB+set}" = set; then
6769    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5113 | Line 6771 | else
6771    if test -n "$RANLIB"; then
6772    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6773   else
6774 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6775 < ac_dummy="$PATH"
6776 < for ac_dir in $ac_dummy; do
6777 <  IFS=$ac_save_IFS
6778 <  test -z "$ac_dir" && ac_dir=.
6779 <  $as_executable_p "$ac_dir/$ac_word" || continue
6780 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6781 < echo "$as_me:5123: found $ac_dir/$ac_word" >&5
6782 < break
6774 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 > for as_dir in $PATH
6776 > do
6777 >  IFS=$as_save_IFS
6778 >  test -z "$as_dir" && as_dir=.
6779 >  for ac_exec_ext in '' $ac_executable_extensions; do
6780 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6781 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6782 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6783 >    break 2
6784 >  fi
6785   done
6786 + done
6787  
6788   fi
6789   fi
6790   RANLIB=$ac_cv_prog_RANLIB
6791   if test -n "$RANLIB"; then
6792 <  echo "$as_me:5131: result: $RANLIB" >&5
6792 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
6793   echo "${ECHO_T}$RANLIB" >&6
6794   else
6795 <  echo "$as_me:5134: result: no" >&5
6795 >  echo "$as_me:$LINENO: result: no" >&5
6796   echo "${ECHO_T}no" >&6
6797   fi
6798  
# Line 5140 | Line 6801 | echo "$as_me:5143: checking for $ac_word" >&5
6801    ac_ct_RANLIB=$RANLIB
6802    # Extract the first word of "ranlib", so it can be a program name with args.
6803   set dummy ranlib; ac_word=$2
6804 < echo "$as_me:5143: checking for $ac_word" >&5
6804 > echo "$as_me:$LINENO: checking for $ac_word" >&5
6805   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6806   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6807    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5148 | Line 6809 | else
6809    if test -n "$ac_ct_RANLIB"; then
6810    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6811   else
6812 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6813 < ac_dummy="$PATH"
6814 < for ac_dir in $ac_dummy; do
6815 <  IFS=$ac_save_IFS
6816 <  test -z "$ac_dir" && ac_dir=.
6817 <  $as_executable_p "$ac_dir/$ac_word" || continue
6818 < ac_cv_prog_ac_ct_RANLIB="ranlib"
6819 < echo "$as_me:5158: found $ac_dir/$ac_word" >&5
6820 < break
6812 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 > for as_dir in $PATH
6814 > do
6815 >  IFS=$as_save_IFS
6816 >  test -z "$as_dir" && as_dir=.
6817 >  for ac_exec_ext in '' $ac_executable_extensions; do
6818 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
6820 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 >    break 2
6822 >  fi
6823   done
6824 + done
6825  
6826    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6827   fi
6828   fi
6829   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6830   if test -n "$ac_ct_RANLIB"; then
6831 <  echo "$as_me:5167: result: $ac_ct_RANLIB" >&5
6831 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6832   echo "${ECHO_T}$ac_ct_RANLIB" >&6
6833   else
6834 <  echo "$as_me:5170: result: no" >&5
6834 >  echo "$as_me:$LINENO: result: no" >&5
6835   echo "${ECHO_T}no" >&6
6836   fi
6837  
# Line 5180 | Line 6844 | echo "$as_me:5183: checking for $ac_word" >&5
6844   do
6845    # Extract the first word of "$ac_prog", so it can be a program name with args.
6846   set dummy $ac_prog; ac_word=$2
6847 < echo "$as_me:5183: checking for $ac_word" >&5
6847 > echo "$as_me:$LINENO: checking for $ac_word" >&5
6848   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6849   if test "${ac_cv_prog_YACC+set}" = set; then
6850    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5188 | Line 6852 | else
6852    if test -n "$YACC"; then
6853    ac_cv_prog_YACC="$YACC" # Let the user override the test.
6854   else
6855 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6856 < ac_dummy="$PATH"
6857 < for ac_dir in $ac_dummy; do
6858 <  IFS=$ac_save_IFS
6859 <  test -z "$ac_dir" && ac_dir=.
6860 <  $as_executable_p "$ac_dir/$ac_word" || continue
6861 < ac_cv_prog_YACC="$ac_prog"
6862 < echo "$as_me:5198: found $ac_dir/$ac_word" >&5
6863 < break
6855 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 > for as_dir in $PATH
6857 > do
6858 >  IFS=$as_save_IFS
6859 >  test -z "$as_dir" && as_dir=.
6860 >  for ac_exec_ext in '' $ac_executable_extensions; do
6861 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6862 >    ac_cv_prog_YACC="$ac_prog"
6863 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6864 >    break 2
6865 >  fi
6866   done
6867 + done
6868  
6869   fi
6870   fi
6871   YACC=$ac_cv_prog_YACC
6872   if test -n "$YACC"; then
6873 <  echo "$as_me:5206: result: $YACC" >&5
6873 >  echo "$as_me:$LINENO: result: $YACC" >&5
6874   echo "${ECHO_T}$YACC" >&6
6875   else
6876 <  echo "$as_me:5209: result: no" >&5
6876 >  echo "$as_me:$LINENO: result: no" >&5
6877   echo "${ECHO_T}no" >&6
6878   fi
6879  
# Line 5218 | Line 6885 | echo "$as_me:5221: checking for $ac_word" >&5
6885   do
6886    # Extract the first word of "$ac_prog", so it can be a program name with args.
6887   set dummy $ac_prog; ac_word=$2
6888 < echo "$as_me:5221: checking for $ac_word" >&5
6888 > echo "$as_me:$LINENO: checking for $ac_word" >&5
6889   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6890   if test "${ac_cv_prog_LEX+set}" = set; then
6891    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5226 | Line 6893 | else
6893    if test -n "$LEX"; then
6894    ac_cv_prog_LEX="$LEX" # Let the user override the test.
6895   else
6896 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6897 < ac_dummy="$PATH"
6898 < for ac_dir in $ac_dummy; do
6899 <  IFS=$ac_save_IFS
6900 <  test -z "$ac_dir" && ac_dir=.
6901 <  $as_executable_p "$ac_dir/$ac_word" || continue
6902 < ac_cv_prog_LEX="$ac_prog"
6903 < echo "$as_me:5236: found $ac_dir/$ac_word" >&5
6904 < break
6896 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 > for as_dir in $PATH
6898 > do
6899 >  IFS=$as_save_IFS
6900 >  test -z "$as_dir" && as_dir=.
6901 >  for ac_exec_ext in '' $ac_executable_extensions; do
6902 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 >    ac_cv_prog_LEX="$ac_prog"
6904 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 >    break 2
6906 >  fi
6907   done
6908 + done
6909  
6910   fi
6911   fi
6912   LEX=$ac_cv_prog_LEX
6913   if test -n "$LEX"; then
6914 <  echo "$as_me:5244: result: $LEX" >&5
6914 >  echo "$as_me:$LINENO: result: $LEX" >&5
6915   echo "${ECHO_T}$LEX" >&6
6916   else
6917 <  echo "$as_me:5247: result: no" >&5
6917 >  echo "$as_me:$LINENO: result: no" >&5
6918   echo "${ECHO_T}no" >&6
6919   fi
6920  
# Line 5254 | Line 6924 | then
6924  
6925   if test -z "$LEXLIB"
6926   then
6927 <  echo "$as_me:5257: checking for yywrap in -lfl" >&5
6927 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6928   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
6929   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6930    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5262 | Line 6932 | cat >conftest.$ac_ext <<_ACEOF
6932    ac_check_lib_save_LIBS=$LIBS
6933   LIBS="-lfl  $LIBS"
6934   cat >conftest.$ac_ext <<_ACEOF
6935 < #line 5265 "configure"
6936 < #include "confdefs.h"
6935 > /* confdefs.h.  */
6936 > _ACEOF
6937 > cat confdefs.h >>conftest.$ac_ext
6938 > cat >>conftest.$ac_ext <<_ACEOF
6939 > /* end confdefs.h.  */
6940  
6941   /* Override any gcc2 internal prototype to avoid an error.  */
6942   #ifdef __cplusplus
# Line 5281 | Line 6954 | if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
6954   }
6955   _ACEOF
6956   rm -f conftest.$ac_objext conftest$ac_exeext
6957 < if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
6958 <  (eval $ac_link) 2>&5
6957 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6958 >  (eval $ac_link) 2>conftest.er1
6959    ac_status=$?
6960 <  echo "$as_me:5287: \$? = $ac_status" >&5
6960 >  grep -v '^ *+' conftest.er1 >conftest.err
6961 >  rm -f conftest.er1
6962 >  cat conftest.err >&5
6963 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964    (exit $ac_status); } &&
6965 <         { ac_try='test -s conftest$ac_exeext'
6966 <  { (eval echo "$as_me:5290: \"$ac_try\"") >&5
6965 >         { ac_try='test -z "$ac_c_werror_flag"
6966 >                         || test ! -s conftest.err'
6967 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6968    (eval $ac_try) 2>&5
6969    ac_status=$?
6970 <  echo "$as_me:5293: \$? = $ac_status" >&5
6970 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 >  (exit $ac_status); }; } &&
6972 >         { ac_try='test -s conftest$ac_exeext'
6973 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6974 >  (eval $ac_try) 2>&5
6975 >  ac_status=$?
6976 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977    (exit $ac_status); }; }; then
6978    ac_cv_lib_fl_yywrap=yes
6979   else
6980    echo "$as_me: failed program was:" >&5
6981 < cat conftest.$ac_ext >&5
6981 > sed 's/^/| /' conftest.$ac_ext >&5
6982 >
6983   ac_cv_lib_fl_yywrap=no
6984   fi
6985 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6985 > rm -f conftest.err conftest.$ac_objext \
6986 >      conftest$ac_exeext conftest.$ac_ext
6987   LIBS=$ac_check_lib_save_LIBS
6988   fi
6989 < echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5
6989 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6990   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
6991   if test $ac_cv_lib_fl_yywrap = yes; then
6992    LEXLIB="-lfl"
6993   else
6994 <  echo "$as_me:5309: checking for yywrap in -ll" >&5
6994 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6995   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
6996   if test "${ac_cv_lib_l_yywrap+set}" = set; then
6997    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5314 | Line 6999 | cat >conftest.$ac_ext <<_ACEOF
6999    ac_check_lib_save_LIBS=$LIBS
7000   LIBS="-ll  $LIBS"
7001   cat >conftest.$ac_ext <<_ACEOF
7002 < #line 5317 "configure"
7003 < #include "confdefs.h"
7002 > /* confdefs.h.  */
7003 > _ACEOF
7004 > cat confdefs.h >>conftest.$ac_ext
7005 > cat >>conftest.$ac_ext <<_ACEOF
7006 > /* end confdefs.h.  */
7007  
7008   /* Override any gcc2 internal prototype to avoid an error.  */
7009   #ifdef __cplusplus
# Line 5333 | Line 7021 | if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
7021   }
7022   _ACEOF
7023   rm -f conftest.$ac_objext conftest$ac_exeext
7024 < if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
7025 <  (eval $ac_link) 2>&5
7024 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7025 >  (eval $ac_link) 2>conftest.er1
7026    ac_status=$?
7027 <  echo "$as_me:5339: \$? = $ac_status" >&5
7027 >  grep -v '^ *+' conftest.er1 >conftest.err
7028 >  rm -f conftest.er1
7029 >  cat conftest.err >&5
7030 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031    (exit $ac_status); } &&
7032 <         { ac_try='test -s conftest$ac_exeext'
7033 <  { (eval echo "$as_me:5342: \"$ac_try\"") >&5
7032 >         { ac_try='test -z "$ac_c_werror_flag"
7033 >                         || test ! -s conftest.err'
7034 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035    (eval $ac_try) 2>&5
7036    ac_status=$?
7037 <  echo "$as_me:5345: \$? = $ac_status" >&5
7037 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 >  (exit $ac_status); }; } &&
7039 >         { ac_try='test -s conftest$ac_exeext'
7040 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 >  (eval $ac_try) 2>&5
7042 >  ac_status=$?
7043 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044    (exit $ac_status); }; }; then
7045    ac_cv_lib_l_yywrap=yes
7046   else
7047    echo "$as_me: failed program was:" >&5
7048 < cat conftest.$ac_ext >&5
7048 > sed 's/^/| /' conftest.$ac_ext >&5
7049 >
7050   ac_cv_lib_l_yywrap=no
7051   fi
7052 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7052 > rm -f conftest.err conftest.$ac_objext \
7053 >      conftest$ac_exeext conftest.$ac_ext
7054   LIBS=$ac_check_lib_save_LIBS
7055   fi
7056 < echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5
7056 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
7057   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
7058   if test $ac_cv_lib_l_yywrap = yes; then
7059    LEXLIB="-ll"
# Line 5364 | Line 7064 | if test "x$LEX" != "x:"; then
7064   fi
7065  
7066   if test "x$LEX" != "x:"; then
7067 <  echo "$as_me:5367: checking lex output file root" >&5
7067 >  echo "$as_me:$LINENO: checking lex output file root" >&5
7068   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
7069   if test "${ac_cv_prog_lex_root+set}" = set; then
7070    echo $ECHO_N "(cached) $ECHO_C" >&6
7071   else
7072    # The minimal lex program is just a single line: %%.  But some broken lexes
7073   # (Solaris, I think it was) want two %% lines, so accommodate them.
7074 < echo '%%
7075 < %%' | $LEX
7074 > cat >conftest.l <<_ACEOF
7075 > %%
7076 > %%
7077 > _ACEOF
7078 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7079 >  (eval $LEX conftest.l) 2>&5
7080 >  ac_status=$?
7081 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 >  (exit $ac_status); }
7083   if test -f lex.yy.c; then
7084    ac_cv_prog_lex_root=lex.yy
7085   elif test -f lexyy.c; then
7086    ac_cv_prog_lex_root=lexyy
7087   else
7088 <  { { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5
7088 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7089   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7090     { (exit 1); exit 1; }; }
7091   fi
7092   fi
7093 < echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5
7093 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7094   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7095 + rm -f conftest.l
7096   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
7097  
7098 < echo "$as_me:5390: checking whether yytext is a pointer" >&5
7098 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7099   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7100   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
7101    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5403 | Line 7111 | if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
7111   `cat $LEX_OUTPUT_ROOT.c`
7112   _ACEOF
7113   rm -f conftest.$ac_objext conftest$ac_exeext
7114 < if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
7115 <  (eval $ac_link) 2>&5
7114 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7115 >  (eval $ac_link) 2>conftest.er1
7116    ac_status=$?
7117 <  echo "$as_me:5409: \$? = $ac_status" >&5
7117 >  grep -v '^ *+' conftest.er1 >conftest.err
7118 >  rm -f conftest.er1
7119 >  cat conftest.err >&5
7120 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121    (exit $ac_status); } &&
7122 <         { ac_try='test -s conftest$ac_exeext'
7123 <  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
7122 >         { ac_try='test -z "$ac_c_werror_flag"
7123 >                         || test ! -s conftest.err'
7124 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125    (eval $ac_try) 2>&5
7126    ac_status=$?
7127 <  echo "$as_me:5415: \$? = $ac_status" >&5
7127 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 >  (exit $ac_status); }; } &&
7129 >         { ac_try='test -s conftest$ac_exeext'
7130 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 >  (eval $ac_try) 2>&5
7132 >  ac_status=$?
7133 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134    (exit $ac_status); }; }; then
7135    ac_cv_prog_lex_yytext_pointer=yes
7136   else
7137    echo "$as_me: failed program was:" >&5
7138 < cat conftest.$ac_ext >&5
7138 > sed 's/^/| /' conftest.$ac_ext >&5
7139 >
7140   fi
7141 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7141 > rm -f conftest.err conftest.$ac_objext \
7142 >      conftest$ac_exeext conftest.$ac_ext
7143   LIBS=$ac_save_LIBS
7144   rm -f "${LEX_OUTPUT_ROOT}.c"
7145  
7146   fi
7147 < echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5
7147 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7148   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7149   if test $ac_cv_prog_lex_yytext_pointer = yes; then
7150  
7151 < cat >>confdefs.h <<\EOF
7151 > cat >>confdefs.h <<\_ACEOF
7152   #define YYTEXT_POINTER 1
7153 < EOF
7153 > _ACEOF
7154  
7155   fi
7156  
7157   fi
7158   # Extract the first word of "ar", so it can be a program name with args.
7159   set dummy ar; ac_word=$2
7160 < echo "$as_me:5440: checking for $ac_word" >&5
7160 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7161   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7162   if test "${ac_cv_prog_AR+set}" = set; then
7163    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5445 | Line 7165 | else
7165    if test -n "$AR"; then
7166    ac_cv_prog_AR="$AR" # Let the user override the test.
7167   else
7168 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7169 < ac_dummy="$PATH"
7170 < for ac_dir in $ac_dummy; do
7171 <  IFS=$ac_save_IFS
7172 <  test -z "$ac_dir" && ac_dir=.
7173 <  $as_executable_p "$ac_dir/$ac_word" || continue
7174 < ac_cv_prog_AR="ar"
7175 < echo "$as_me:5455: found $ac_dir/$ac_word" >&5
7176 < break
7168 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 > for as_dir in $PATH
7170 > do
7171 >  IFS=$as_save_IFS
7172 >  test -z "$as_dir" && as_dir=.
7173 >  for ac_exec_ext in '' $ac_executable_extensions; do
7174 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7175 >    ac_cv_prog_AR="ar"
7176 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 >    break 2
7178 >  fi
7179   done
7180 + done
7181  
7182    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
7183   fi
7184   fi
7185   AR=$ac_cv_prog_AR
7186   if test -n "$AR"; then
7187 <  echo "$as_me:5464: result: $AR" >&5
7187 >  echo "$as_me:$LINENO: result: $AR" >&5
7188   echo "${ECHO_T}$AR" >&6
7189   else
7190 <  echo "$as_me:5467: result: no" >&5
7190 >  echo "$as_me:$LINENO: result: no" >&5
7191   echo "${ECHO_T}no" >&6
7192   fi
7193  
7194   if test "$AR" = "NONE"; then
7195 <  { { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5
7195 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
7196   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7197     { (exit 1); exit 1; }; }
7198    cat >confcache <<\_ACEOF
# Line 5482 | Line 7205 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7205   # config.status only pays attention to the cache file if you give it
7206   # the --recheck option to rerun configure.
7207   #
7208 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
7208 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
7209   # loading this file, other *unset* `ac_cv_foo' will be assigned the
7210   # following values.
7211  
# Line 5500 | Line 7223 | _ACEOF
7223        # `set' does not quote correctly, so add quotes (double-quote
7224        # substitution turns \\\\ into \\, and sed turns \\ into \).
7225        sed -n \
7226 <        "s/'/'\\\\''/g;
7227 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7226 >        "s/'/'\\\\''/g;
7227 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7228        ;;
7229      *)
7230        # `set' quotes correctly as required by POSIX, so do not add quotes.
7231        sed -n \
7232 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7232 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7233        ;;
7234      esac;
7235   } |
# Line 5517 | Line 7240 | if cmp -s $cache_file confcache; then :; else
7240       t end
7241       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7242       : end' >>confcache
7243 < if cmp -s $cache_file confcache; then :; else
7243 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
7244    if test -w $cache_file; then
7245      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7246      cat confcache >$cache_file
# Line 5531 | Line 7254 | echo "$as_me:5534: checking for $ac_word" >&5
7254  
7255   # Extract the first word of "ps", so it can be a program name with args.
7256   set dummy ps; ac_word=$2
7257 < echo "$as_me:5534: checking for $ac_word" >&5
7257 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7258   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7259   if test "${ac_cv_path_PS+set}" = set; then
7260    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5541 | Line 7264 | else
7264    ac_cv_path_PS="$PS" # Let the user override the test with a path.
7265    ;;
7266    *)
7267 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7268 < ac_dummy="$PATH"
7269 < for ac_dir in $ac_dummy; do
7270 <  IFS=$ac_save_IFS
7271 <  test -z "$ac_dir" && ac_dir=.
7272 <  if $as_executable_p "$ac_dir/$ac_word"; then
7273 <   ac_cv_path_PS="$ac_dir/$ac_word"
7274 <   echo "$as_me:5551: found $ac_dir/$ac_word" >&5
7275 <   break
7276 < fi
7267 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 > for as_dir in $PATH
7269 > do
7270 >  IFS=$as_save_IFS
7271 >  test -z "$as_dir" && as_dir=.
7272 >  for ac_exec_ext in '' $ac_executable_extensions; do
7273 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7274 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
7275 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7276 >    break 2
7277 >  fi
7278   done
7279 + done
7280  
7281    ;;
7282   esac
# Line 5559 | Line 7284 | if test -n "$PS"; then
7284   PS=$ac_cv_path_PS
7285  
7286   if test -n "$PS"; then
7287 <  echo "$as_me:5562: result: $PS" >&5
7287 >  echo "$as_me:$LINENO: result: $PS" >&5
7288   echo "${ECHO_T}$PS" >&6
7289   else
7290 <  echo "$as_me:5565: result: no" >&5
7290 >  echo "$as_me:$LINENO: result: no" >&5
7291   echo "${ECHO_T}no" >&6
7292   fi
7293  
7294 < echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5
7294 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
7295   echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
7296   if test "${ac_cv_prog_ps_syntax+set}" = set; then
7297    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5588 | Line 7313 | else
7313                  if test "$ac_cv_prog_ps_ef" = yes; then
7314                          ac_cv_prog_ps_syntax=POSIX
7315                  else
7316 <                        { { echo "$as_me:5591: error: Could not determine ps syntax" >&5
7316 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7317   echo "$as_me: error: Could not determine ps syntax" >&2;}
7318     { (exit 1); exit 1; }; }
7319                  fi
7320          fi
7321  
7322   fi
7323 < echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5
7323 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7324   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7325  
7326 < cat >>confdefs.h <<EOF
7326 >
7327 > cat >>confdefs.h <<_ACEOF
7328   #define PSCOMMAND $PS
7329 < EOF
7329 > _ACEOF
7330  
7331 +
7332   if test "$ac_cv_prog_ps_syntax" = BSD; then
7333 <  cat >>confdefs.h <<\EOF
7333 >  cat >>confdefs.h <<\_ACEOF
7334   #define PSTYPE_IS_BSD 1
7335 < EOF
7335 > _ACEOF
7336  
7337   else
7338     if test "$ac_cv_prog_ps_syntax" = POSIX; then
7339 <       cat >>confdefs.h <<\EOF
7339 >       cat >>confdefs.h <<\_ACEOF
7340   #define PSTYPE_IS_POSIX 1
7341 < EOF
7341 > _ACEOF
7342  
7343     else
7344 <       { { echo "$as_me:5617: error: Unknown ps syntax type!" >&5
7344 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
7345   echo "$as_me: error: Unknown ps syntax type!" >&2;}
7346     { (exit 1); exit 1; }; }
7347     fi
7348   fi
7349  
7350 +
7351   # Check whether --with-mpi or --without-mpi was given.
7352   if test "${with_mpi+set}" = set; then
7353    withval="$with_mpi"
# Line 5638 | Line 7366 | if test "$USE_MPI" = "yes"; then
7366   fi
7367   if test "$USE_MPI" = "yes"; then
7368  
7369 +
7370   # Set variables...
7371   MPI_LIB_DIR="$MPI/lib"
7372   MPI_INC_DIR="$MPI/include"
7373  
7374 < echo "$as_me:5645: checking for mpi.h" >&5
7374 >
7375 >
7376 > echo "$as_me:$LINENO: checking for mpi.h" >&5
7377   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7378   have_mpi_h=0
7379   echo '#include <mpi.h>' > conftest.cc
7380   if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7381 <        echo "$as_me:5650: result: yes" >&5
7381 >        echo "$as_me:$LINENO: result: yes" >&5
7382   echo "${ECHO_T}yes" >&6
7383          have_mpi_h=1
7384   else
7385 <        echo "$as_me:5654: result: no! Check MPI include paths" >&5
7385 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7386   echo "${ECHO_T}no! Check MPI include paths" >&6
7387          USE_MPI="no"
7388   fi
7389   rm -f conftest*
7390   if test "$have_mpi_h" = 1; then
7391  
7392 < cat >>confdefs.h <<\EOF
7392 > cat >>confdefs.h <<\_ACEOF
7393   #define HAVE_MPI_H 1
7394 < EOF
7394 > _ACEOF
7395  
7396   fi
7397  
7398 < echo "$as_me:5667: checking whether mpif.h is usable" >&5
7398 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7399   echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7400   have_mpif_h=0
7401   rm -f conftest*
# Line 5674 | Line 7405 | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out
7405   end
7406   EOF
7407   if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
7408 <        echo "$as_me:5677: result: yes" >&5
7408 >        echo "$as_me:$LINENO: result: yes" >&5
7409   echo "${ECHO_T}yes" >&6
7410          MPI_F90_INC="$MPI_INC_DIR"
7411          have_mpif_h=1
# Line 5682 | Line 7413 | else
7413          if test -s conftest.out ; then
7414                  cat conftest.out >> config.log
7415          fi
7416 <        echo "$as_me:5685: result: no! Check MPI include paths" >&5
7416 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7417   echo "${ECHO_T}no! Check MPI include paths" >&6
7418          USE_MPI="no"
7419   fi
# Line 5690 | Line 7421 | cat >>confdefs.h <<\EOF
7421  
7422   if test "$have_mpif_h" = 1; then
7423  
7424 < cat >>confdefs.h <<\EOF
7424 > cat >>confdefs.h <<\_ACEOF
7425   #define HAVE_MPIF_H 1
7426 < EOF
7426 > _ACEOF
7427  
7428   fi
7429  
# Line 5706 | Line 7437 | if test x = x"$MPI_LIB"; then
7437   LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
7438  
7439   if test x = x"$MPI_LIB"; then
7440 <        echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5
7440 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7441   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7442   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7443    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5714 | Line 7445 | cat >conftest.$ac_ext <<_ACEOF
7445    ac_check_lib_save_LIBS=$LIBS
7446   LIBS="-lmpich  $LIBS"
7447   cat >conftest.$ac_ext <<_ACEOF
7448 < #line 5717 "configure"
7449 < #include "confdefs.h"
7448 > /* confdefs.h.  */
7449 > _ACEOF
7450 > cat confdefs.h >>conftest.$ac_ext
7451 > cat >>conftest.$ac_ext <<_ACEOF
7452 > /* end confdefs.h.  */
7453  
7454   /* Override any gcc2 internal prototype to avoid an error.  */
7455   #ifdef __cplusplus
# Line 5733 | Line 7467 | if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
7467   }
7468   _ACEOF
7469   rm -f conftest.$ac_objext conftest$ac_exeext
7470 < if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
7471 <  (eval $ac_link) 2>&5
7470 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7471 >  (eval $ac_link) 2>conftest.er1
7472    ac_status=$?
7473 <  echo "$as_me:5739: \$? = $ac_status" >&5
7473 >  grep -v '^ *+' conftest.er1 >conftest.err
7474 >  rm -f conftest.er1
7475 >  cat conftest.err >&5
7476 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477    (exit $ac_status); } &&
7478 <         { ac_try='test -s conftest$ac_exeext'
7479 <  { (eval echo "$as_me:5742: \"$ac_try\"") >&5
7478 >         { ac_try='test -z "$ac_c_werror_flag"
7479 >                         || test ! -s conftest.err'
7480 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481    (eval $ac_try) 2>&5
7482    ac_status=$?
7483 <  echo "$as_me:5745: \$? = $ac_status" >&5
7483 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 >  (exit $ac_status); }; } &&
7485 >         { ac_try='test -s conftest$ac_exeext'
7486 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 >  (eval $ac_try) 2>&5
7488 >  ac_status=$?
7489 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490    (exit $ac_status); }; }; then
7491    ac_cv_lib_mpich_MPI_Init=yes
7492   else
7493    echo "$as_me: failed program was:" >&5
7494 < cat conftest.$ac_ext >&5
7494 > sed 's/^/| /' conftest.$ac_ext >&5
7495 >
7496   ac_cv_lib_mpich_MPI_Init=no
7497   fi
7498 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7498 > rm -f conftest.err conftest.$ac_objext \
7499 >      conftest$ac_exeext conftest.$ac_ext
7500   LIBS=$ac_check_lib_save_LIBS
7501   fi
7502 < echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5
7502 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7503   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7504   if test $ac_cv_lib_mpich_MPI_Init = yes; then
7505    MPI_LIB="-lmpich"
# Line 5761 | Line 7507 | if test x = x"$MPI_LIB"; then
7507  
7508   fi
7509   if test x = x"$MPI_LIB"; then
7510 <        echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5
7510 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7511   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7512   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7513    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5769 | Line 7515 | cat >conftest.$ac_ext <<_ACEOF
7515    ac_check_lib_save_LIBS=$LIBS
7516   LIBS="-lmpi  $LIBS"
7517   cat >conftest.$ac_ext <<_ACEOF
7518 < #line 5772 "configure"
7519 < #include "confdefs.h"
7518 > /* confdefs.h.  */
7519 > _ACEOF
7520 > cat confdefs.h >>conftest.$ac_ext
7521 > cat >>conftest.$ac_ext <<_ACEOF
7522 > /* end confdefs.h.  */
7523  
7524   /* Override any gcc2 internal prototype to avoid an error.  */
7525   #ifdef __cplusplus
# Line 5788 | Line 7537 | if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
7537   }
7538   _ACEOF
7539   rm -f conftest.$ac_objext conftest$ac_exeext
7540 < if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
7541 <  (eval $ac_link) 2>&5
7540 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7541 >  (eval $ac_link) 2>conftest.er1
7542    ac_status=$?
7543 <  echo "$as_me:5794: \$? = $ac_status" >&5
7543 >  grep -v '^ *+' conftest.er1 >conftest.err
7544 >  rm -f conftest.er1
7545 >  cat conftest.err >&5
7546 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547    (exit $ac_status); } &&
7548 <         { ac_try='test -s conftest$ac_exeext'
7549 <  { (eval echo "$as_me:5797: \"$ac_try\"") >&5
7548 >         { ac_try='test -z "$ac_c_werror_flag"
7549 >                         || test ! -s conftest.err'
7550 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551    (eval $ac_try) 2>&5
7552    ac_status=$?
7553 <  echo "$as_me:5800: \$? = $ac_status" >&5
7553 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 >  (exit $ac_status); }; } &&
7555 >         { ac_try='test -s conftest$ac_exeext'
7556 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557 >  (eval $ac_try) 2>&5
7558 >  ac_status=$?
7559 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560    (exit $ac_status); }; }; then
7561    ac_cv_lib_mpi_MPI_Init=yes
7562   else
7563    echo "$as_me: failed program was:" >&5
7564 < cat conftest.$ac_ext >&5
7564 > sed 's/^/| /' conftest.$ac_ext >&5
7565 >
7566   ac_cv_lib_mpi_MPI_Init=no
7567   fi
7568 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7568 > rm -f conftest.err conftest.$ac_objext \
7569 >      conftest$ac_exeext conftest.$ac_ext
7570   LIBS=$ac_check_lib_save_LIBS
7571   fi
7572 < echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5
7572 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7573   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7574   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7575    MPI_LIB="-lmpi"
# Line 5817 | Line 7578 | if test x = x"$MPI_LIB"; then
7578   fi
7579   $as_unset ac_cv_lib_mpi_MPI_Init
7580   if test x = x"$MPI_LIB"; then
7581 <        echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5
7581 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7582   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7583   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7584    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5825 | Line 7586 | cat >conftest.$ac_ext <<_ACEOF
7586    ac_check_lib_save_LIBS=$LIBS
7587   LIBS="-lmpi "-llam" $LIBS"
7588   cat >conftest.$ac_ext <<_ACEOF
7589 < #line 5828 "configure"
7590 < #include "confdefs.h"
7589 > /* confdefs.h.  */
7590 > _ACEOF
7591 > cat confdefs.h >>conftest.$ac_ext
7592 > cat >>conftest.$ac_ext <<_ACEOF
7593 > /* end confdefs.h.  */
7594  
7595   /* Override any gcc2 internal prototype to avoid an error.  */
7596   #ifdef __cplusplus
# Line 5844 | Line 7608 | if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
7608   }
7609   _ACEOF
7610   rm -f conftest.$ac_objext conftest$ac_exeext
7611 < if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
7612 <  (eval $ac_link) 2>&5
7611 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7612 >  (eval $ac_link) 2>conftest.er1
7613    ac_status=$?
7614 <  echo "$as_me:5850: \$? = $ac_status" >&5
7614 >  grep -v '^ *+' conftest.er1 >conftest.err
7615 >  rm -f conftest.er1
7616 >  cat conftest.err >&5
7617 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618    (exit $ac_status); } &&
7619 <         { ac_try='test -s conftest$ac_exeext'
7620 <  { (eval echo "$as_me:5853: \"$ac_try\"") >&5
7619 >         { ac_try='test -z "$ac_c_werror_flag"
7620 >                         || test ! -s conftest.err'
7621 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7622    (eval $ac_try) 2>&5
7623    ac_status=$?
7624 <  echo "$as_me:5856: \$? = $ac_status" >&5
7624 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 >  (exit $ac_status); }; } &&
7626 >         { ac_try='test -s conftest$ac_exeext'
7627 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7628 >  (eval $ac_try) 2>&5
7629 >  ac_status=$?
7630 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631    (exit $ac_status); }; }; then
7632    ac_cv_lib_mpi_MPI_Init=yes
7633   else
7634    echo "$as_me: failed program was:" >&5
7635 < cat conftest.$ac_ext >&5
7635 > sed 's/^/| /' conftest.$ac_ext >&5
7636 >
7637   ac_cv_lib_mpi_MPI_Init=no
7638   fi
7639 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7639 > rm -f conftest.err conftest.$ac_objext \
7640 >      conftest$ac_exeext conftest.$ac_ext
7641   LIBS=$ac_check_lib_save_LIBS
7642   fi
7643 < echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5
7643 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7644   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7645   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7646    MPI_LIB="-lmpi -llam"
# Line 5873 | Line 7649 | if test x = x"$MPI_LIB"; then
7649   fi
7650   $as_unset ac_cv_lib_mpich_MPI_Init
7651   if test x = x"$MPI_LIB"; then
7652 <        echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5
7652 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7653   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7654   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7655    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5881 | Line 7657 | cat >conftest.$ac_ext <<_ACEOF
7657    ac_check_lib_save_LIBS=$LIBS
7658   LIBS="-lmpich "-lpmpich" $LIBS"
7659   cat >conftest.$ac_ext <<_ACEOF
7660 < #line 5884 "configure"
7661 < #include "confdefs.h"
7660 > /* confdefs.h.  */
7661 > _ACEOF
7662 > cat confdefs.h >>conftest.$ac_ext
7663 > cat >>conftest.$ac_ext <<_ACEOF
7664 > /* end confdefs.h.  */
7665  
7666   /* Override any gcc2 internal prototype to avoid an error.  */
7667   #ifdef __cplusplus
# Line 5900 | Line 7679 | if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
7679   }
7680   _ACEOF
7681   rm -f conftest.$ac_objext conftest$ac_exeext
7682 < if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
7683 <  (eval $ac_link) 2>&5
7682 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7683 >  (eval $ac_link) 2>conftest.er1
7684    ac_status=$?
7685 <  echo "$as_me:5906: \$? = $ac_status" >&5
7685 >  grep -v '^ *+' conftest.er1 >conftest.err
7686 >  rm -f conftest.er1
7687 >  cat conftest.err >&5
7688 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689    (exit $ac_status); } &&
7690 <         { ac_try='test -s conftest$ac_exeext'
7691 <  { (eval echo "$as_me:5909: \"$ac_try\"") >&5
7690 >         { ac_try='test -z "$ac_c_werror_flag"
7691 >                         || test ! -s conftest.err'
7692 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7693    (eval $ac_try) 2>&5
7694    ac_status=$?
7695 <  echo "$as_me:5912: \$? = $ac_status" >&5
7695 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 >  (exit $ac_status); }; } &&
7697 >         { ac_try='test -s conftest$ac_exeext'
7698 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7699 >  (eval $ac_try) 2>&5
7700 >  ac_status=$?
7701 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702    (exit $ac_status); }; }; then
7703    ac_cv_lib_mpich_MPI_Init=yes
7704   else
7705    echo "$as_me: failed program was:" >&5
7706 < cat conftest.$ac_ext >&5
7706 > sed 's/^/| /' conftest.$ac_ext >&5
7707 >
7708   ac_cv_lib_mpich_MPI_Init=no
7709   fi
7710 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7710 > rm -f conftest.err conftest.$ac_objext \
7711 >      conftest$ac_exeext conftest.$ac_ext
7712   LIBS=$ac_check_lib_save_LIBS
7713   fi
7714 < echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5
7714 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7715   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7716   if test $ac_cv_lib_mpich_MPI_Init = yes; then
7717    MPI_LIB="-lmpich -lpmpich"
# Line 5930 | Line 7721 | echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
7721  
7722   $as_unset ac_cv_lib_mpi_MPI_Init
7723   if test x = x"$MPI_LIB"; then
7724 < echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
7724 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7725   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7726   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7727    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5938 | Line 7729 | cat >conftest.$ac_ext <<_ACEOF
7729    ac_check_lib_save_LIBS=$LIBS
7730   LIBS="-lmpi -llam -lpthread $LIBS"
7731   cat >conftest.$ac_ext <<_ACEOF
7732 < #line 5941 "configure"
7733 < #include "confdefs.h"
7732 > /* confdefs.h.  */
7733 > _ACEOF
7734 > cat confdefs.h >>conftest.$ac_ext
7735 > cat >>conftest.$ac_ext <<_ACEOF
7736 > /* end confdefs.h.  */
7737  
7738   /* Override any gcc2 internal prototype to avoid an error.  */
7739   #ifdef __cplusplus
# Line 5957 | Line 7751 | if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
7751   }
7752   _ACEOF
7753   rm -f conftest.$ac_objext conftest$ac_exeext
7754 < if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
7755 <  (eval $ac_link) 2>&5
7754 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7755 >  (eval $ac_link) 2>conftest.er1
7756    ac_status=$?
7757 <  echo "$as_me:5963: \$? = $ac_status" >&5
7757 >  grep -v '^ *+' conftest.er1 >conftest.err
7758 >  rm -f conftest.er1
7759 >  cat conftest.err >&5
7760 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761    (exit $ac_status); } &&
7762 <         { ac_try='test -s conftest$ac_exeext'
7763 <  { (eval echo "$as_me:5966: \"$ac_try\"") >&5
7762 >         { ac_try='test -z "$ac_c_werror_flag"
7763 >                         || test ! -s conftest.err'
7764 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7765    (eval $ac_try) 2>&5
7766    ac_status=$?
7767 <  echo "$as_me:5969: \$? = $ac_status" >&5
7767 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 >  (exit $ac_status); }; } &&
7769 >         { ac_try='test -s conftest$ac_exeext'
7770 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7771 >  (eval $ac_try) 2>&5
7772 >  ac_status=$?
7773 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774    (exit $ac_status); }; }; then
7775    ac_cv_lib_mpi_MPI_Init=yes
7776   else
7777    echo "$as_me: failed program was:" >&5
7778 < cat conftest.$ac_ext >&5
7778 > sed 's/^/| /' conftest.$ac_ext >&5
7779 >
7780   ac_cv_lib_mpi_MPI_Init=no
7781   fi
7782 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7782 > rm -f conftest.err conftest.$ac_objext \
7783 >      conftest$ac_exeext conftest.$ac_ext
7784   LIBS=$ac_check_lib_save_LIBS
7785   fi
7786 < echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5
7786 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7787   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7788   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7789    MPI_LIB="-lmpi -llam -lpthread"
7790   else
7791  
7792 <             { { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
7792 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
7793   echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
7794     { (exit 1); exit 1; }; }
7795               USE_MPI="no"
# Line 5992 | Line 7798 | echo "$as_me:5995: checking for MPI Fortran library" >
7798  
7799   fi
7800  
7801 < echo "$as_me:5995: checking for MPI Fortran library" >&5
7801 >
7802 >
7803 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
7804   echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
7805   MPI_F90_LIB=""
7806   if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
# Line 6002 | Line 7810 | echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
7810   else
7811                          MPI_F90_LIB="  "
7812   fi
7813 < echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
7813 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
7814   echo "${ECHO_T}found $MPI_F90_LIB" >&6
7815  
7816 +
7817   fi
7818  
6010 # Check whether --with-sprng or --without-sprng was given.
6011 if test "${with_sprng+set}" = set; then
6012  withval="$with_sprng"
6013  with_sprng=$withval
6014 else
6015  with_sprng="/usr/local"
6016 fi;
7819  
6018 case "x$with_sprng" in
6019        xyes | "x")  USE_SPRNG=yes;;
6020        xno) USE_SPRNG=no ;;
6021        *) SPRNG="$with_sprng"; USE_SPRNG=yes ;;
6022 esac
6023 if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then
6024        SPRNG="/usr/local"
6025 fi
6026 if test "$USE_SPRNG" = "yes"; then
7820  
6028 # Set variables...
6029 SPRNG_LIB_DIR="$SPRNG/lib"
6030 SPRNG_INC_DIR="$SPRNG/include"
7821  
6032 echo "$as_me:6032: checking for sprng.h" >&5
6033 echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
6034 have_sprng_h=0
6035 echo '#include <sprng.h>' > conftest.cc
6036 if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then
6037        echo "$as_me:6037: result: yes" >&5
6038 echo "${ECHO_T}yes" >&6
6039        have_sprng_h=1
6040 else
6041        echo "$as_me:6041: result: no! Check SPRNG include path!" >&5
6042 echo "${ECHO_T}no! Check SPRNG include path!" >&6
6043        USE_SPRNG="no"
6044 fi
6045 rm -f conftest*
6046 if test "$have_sprng_h" = 1; then
7822  
7823 < cat >>confdefs.h <<\EOF
7824 < #define HAVE_SPRNG_H 1
7825 < EOF
7823 > # Check whether --enable-doxygen or --disable-doxygen was given.
7824 > if test "${enable_doxygen+set}" = set; then
7825 >  enableval="$enable_doxygen"
7826  
7827 < fi
7827 > fi;
7828 > # Check whether --enable-dot or --disable-dot was given.
7829 > if test "${enable_dot+set}" = set; then
7830 >  enableval="$enable_dot"
7831  
7832 < ac_ext=c
7833 < ac_cpp='$CPP $CPPFLAGS'
7834 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7835 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6058 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7832 > fi;
7833 > # Check whether --enable-html-docs or --disable-html-docs was given.
7834 > if test "${enable_html_docs+set}" = set; then
7835 >  enableval="$enable_html_docs"
7836  
7837 < ac_save_LDFLAGS=$LDFLAGS
7838 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
7837 > else
7838 >   enable_html_docs=yes
7839 > fi;
7840 > # Check whether --enable-latex-docs or --disable-latex-docs was given.
7841 > if test "${enable_latex_docs+set}" = set; then
7842 >  enableval="$enable_latex_docs"
7843  
7844 < echo "$as_me:6063: checking for init_rng in -lsprng" >&5
7845 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
7846 < if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
7844 > else
7845 >   enable_latex_docs=no
7846 > fi;
7847 > if test "x$enable_doxygen" = xno; then
7848 >        enable_doc=no
7849 > else
7850 >        # Extract the first word of "doxygen", so it can be a program name with args.
7851 > set dummy doxygen; ac_word=$2
7852 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7853 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7854 > if test "${ac_cv_path_DOXYGEN+set}" = set; then
7855    echo $ECHO_N "(cached) $ECHO_C" >&6
7856   else
7857 <  ac_check_lib_save_LIBS=$LIBS
7858 < LIBS="-lsprng  $LIBS"
7859 < cat >conftest.$ac_ext <<_ACEOF
7860 < #line 6071 "configure"
7861 < #include "confdefs.h"
7857 >  case $DOXYGEN in
7858 >  [\\/]* | ?:[\\/]*)
7859 >  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7860 >  ;;
7861 >  *)
7862 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 > for as_dir in $PATH
7864 > do
7865 >  IFS=$as_save_IFS
7866 >  test -z "$as_dir" && as_dir=.
7867 >  for ac_exec_ext in '' $ac_executable_extensions; do
7868 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7869 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7870 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 >    break 2
7872 >  fi
7873 > done
7874 > done
7875  
7876 < /* Override any gcc2 internal prototype to avoid an error.  */
7877 < #ifdef __cplusplus
6076 < extern "C"
6077 < #endif
6078 < /* We use char because int might match the return type of a gcc2
6079 <   builtin and then its argument prototype would still apply.  */
6080 < char init_rng ();
6081 < int
6082 < main ()
6083 < {
6084 < init_rng ();
6085 <  ;
6086 <  return 0;
6087 < }
6088 < _ACEOF
6089 < rm -f conftest.$ac_objext conftest$ac_exeext
6090 < if { (eval echo "$as_me:6090: \"$ac_link\"") >&5
6091 <  (eval $ac_link) 2>&5
6092 <  ac_status=$?
6093 <  echo "$as_me:6093: \$? = $ac_status" >&5
6094 <  (exit $ac_status); } &&
6095 <         { ac_try='test -s conftest$ac_exeext'
6096 <  { (eval echo "$as_me:6096: \"$ac_try\"") >&5
6097 <  (eval $ac_try) 2>&5
6098 <  ac_status=$?
6099 <  echo "$as_me:6099: \$? = $ac_status" >&5
6100 <  (exit $ac_status); }; }; then
6101 <  ac_cv_lib_sprng_init_rng=yes
6102 < else
6103 <  echo "$as_me: failed program was:" >&5
6104 < cat conftest.$ac_ext >&5
6105 < ac_cv_lib_sprng_init_rng=no
7876 >  ;;
7877 > esac
7878   fi
7879 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7880 < LIBS=$ac_check_lib_save_LIBS
7881 < fi
7882 < echo "$as_me:6110: result: $ac_cv_lib_sprng_init_rng" >&5
7883 < echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
6112 < if test $ac_cv_lib_sprng_init_rng = yes; then
6113 <  SPRNG_LIB="-lsprng"
7879 > DOXYGEN=$ac_cv_path_DOXYGEN
7880 >
7881 > if test -n "$DOXYGEN"; then
7882 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7883 > echo "${ECHO_T}$DOXYGEN" >&6
7884   else
7885 +  echo "$as_me:$LINENO: result: no" >&5
7886 + echo "${ECHO_T}no" >&6
7887 + fi
7888  
7889 <             { { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5
7890 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
7889 >        if test "x$DOXYGEN" = x; then
7890 >                if test "x$enable_doxygen" = xyes; then
7891 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
7892 > echo "$as_me: error: could not find doxygen" >&2;}
7893     { (exit 1); exit 1; }; }
7894 <             USE_SPRNG="no"
7894 >                fi
7895 >                enable_doc=no
7896 >        else
7897 >                enable_doc=yes
7898 >                # Extract the first word of "dot", so it can be a program name with args.
7899 > set dummy dot; ac_word=$2
7900 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7901 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7902 > if test "${ac_cv_path_DOT+set}" = set; then
7903 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7904 > else
7905 >  case $DOT in
7906 >  [\\/]* | ?:[\\/]*)
7907 >  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
7908 >  ;;
7909 >  *)
7910 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 > for as_dir in $PATH
7912 > do
7913 >  IFS=$as_save_IFS
7914 >  test -z "$as_dir" && as_dir=.
7915 >  for ac_exec_ext in '' $ac_executable_extensions; do
7916 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7917 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
7918 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7919 >    break 2
7920 >  fi
7921 > done
7922 > done
7923  
7924 +  ;;
7925 + esac
7926   fi
7927 + DOT=$ac_cv_path_DOT
7928  
7929 < if test "$USE_SPRNG" = "no"; then
7930 <  { { echo "$as_me:6124: error: No working SPRNG library found" >&5
6125 < echo "$as_me: error: No working SPRNG library found" >&2;}
6126 <   { (exit 1); exit 1; }; }
6127 < fi
6128 <
6129 < fi
6130 <
6131 < echo "$as_me:6131: checking if MKL is wanted" >&5
6132 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
6133 <
6134 < # Check whether --with-mkl or --without-mkl was given.
6135 < if test "${with_mkl+set}" = set; then
6136 <  withval="$with_mkl"
6137 <     echo "$as_me:6137: result: yes" >&5
6138 < echo "${ECHO_T}yes" >&6
6139 <    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
6140 <        mkldir="$dir"
6141 <        if test -f "$dir/include/mkl.h"; then
6142 <            found_mkl="yes";
6143 <            break;
6144 <        fi
6145 <    done
6146 <    if test x_$found_mkl != x_yes; then
6147 <        { { echo "$as_me:6147: error: Cannot find MKL includes" >&5
6148 < echo "$as_me: error: Cannot find MKL includes" >&2;}
6149 <   { (exit 1); exit 1; }; }
6150 <    else
6151 <        printf "MKL includes found in $mkldir/include\n";
6152 <    fi
6153 <
6154 <  ac_ext=c
6155 < ac_cpp='$CPP $CPPFLAGS'
6156 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6157 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6158 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
6159 <
6160 <  ac_save_CPPFLAGS=$CPPFLAGS
6161 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
6162 <  ac_save_LDFLAGS=$LDFLAGS
6163 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
6164 <  echo "$as_me:6164: checking for mkl.h" >&5
6165 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
6166 < if test "${ac_cv_header_mkl_h+set}" = set; then
6167 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6168 < else
6169 <  cat >conftest.$ac_ext <<_ACEOF
6170 < #line 6170 "configure"
6171 < #include "confdefs.h"
6172 < #include <mkl.h>
6173 < _ACEOF
6174 < if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5
6175 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6176 <  ac_status=$?
6177 <  egrep -v '^ *\+' conftest.er1 >conftest.err
6178 <  rm -f conftest.er1
6179 <  cat conftest.err >&5
6180 <  echo "$as_me:6180: \$? = $ac_status" >&5
6181 <  (exit $ac_status); } >/dev/null; then
6182 <  if test -s conftest.err; then
6183 <    ac_cpp_err=$ac_c_preproc_warn_flag
6184 <  else
6185 <    ac_cpp_err=
6186 <  fi
6187 < else
6188 <  ac_cpp_err=yes
6189 < fi
6190 < if test -z "$ac_cpp_err"; then
6191 <  ac_cv_header_mkl_h=yes
6192 < else
6193 <  echo "$as_me: failed program was:" >&5
6194 <  cat conftest.$ac_ext >&5
6195 <  ac_cv_header_mkl_h=no
6196 < fi
6197 < rm -f conftest.err conftest.$ac_ext
6198 < fi
6199 < echo "$as_me:6199: result: $ac_cv_header_mkl_h" >&5
6200 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6201 < if test $ac_cv_header_mkl_h = yes; then
6202 <
6203 <    echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5
6204 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
6205 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
6206 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6207 < else
6208 <  ac_check_lib_save_LIBS=$LIBS
6209 < LIBS="-lmkl  $LIBS"
6210 < cat >conftest.$ac_ext <<_ACEOF
6211 < #line 6211 "configure"
6212 < #include "confdefs.h"
6213 <
6214 < /* Override any gcc2 internal prototype to avoid an error.  */
6215 < #ifdef __cplusplus
6216 < extern "C"
6217 < #endif
6218 < /* We use char because int might match the return type of a gcc2
6219 <   builtin and then its argument prototype would still apply.  */
6220 < char vslNewStream ();
6221 < int
6222 < main ()
6223 < {
6224 < vslNewStream ();
6225 <  ;
6226 <  return 0;
6227 < }
6228 < _ACEOF
6229 < rm -f conftest.$ac_objext conftest$ac_exeext
6230 < if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
6231 <  (eval $ac_link) 2>&5
6232 <  ac_status=$?
6233 <  echo "$as_me:6233: \$? = $ac_status" >&5
6234 <  (exit $ac_status); } &&
6235 <         { ac_try='test -s conftest$ac_exeext'
6236 <  { (eval echo "$as_me:6236: \"$ac_try\"") >&5
6237 <  (eval $ac_try) 2>&5
6238 <  ac_status=$?
6239 <  echo "$as_me:6239: \$? = $ac_status" >&5
6240 <  (exit $ac_status); }; }; then
6241 <  ac_cv_lib_mkl_vslNewStream=yes
6242 < else
6243 <  echo "$as_me: failed program was:" >&5
6244 < cat conftest.$ac_ext >&5
6245 < ac_cv_lib_mkl_vslNewStream=no
6246 < fi
6247 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6248 < LIBS=$ac_check_lib_save_LIBS
6249 < fi
6250 < echo "$as_me:6250: result: $ac_cv_lib_mkl_vslNewStream" >&5
6251 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
6252 < if test $ac_cv_lib_mkl_vslNewStream = yes; then
6253 <  MKL_LIBDIR="${mkldir}/lib/32",
6254 <                     MKL_LIB="-lmkl -lvml -lguide",
6255 <                     HAVE_MKL="yes"
6256 < fi
6257 <
6258 < else
6259 <  MKL_INC="-I${mkldir}/include"
6260 < fi
6261 <
6262 <  CPPFLAGS=$ac_save_CPPFLAGS
6263 <  LDFLAGS=$ac_save_LDFLAGS
6264 <  ac_ext=c
6265 < ac_cpp='$CPP $CPPFLAGS'
6266 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6267 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6268 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
6269 <
6270 <  if test x_$HAVE_MKL != x_yes; then
6271 <        { { echo "$as_me:6271: error: Can't build with MKL" >&5
6272 < echo "$as_me: error: Can't build with MKL" >&2;}
6273 <   { (exit 1); exit 1; }; }
6274 <  fi
6275 <
6276 < else
6277 <
6278 <    echo "$as_me:6278: result: no" >&5
6279 < echo "${ECHO_T}no" >&6
6280 <
6281 < fi;
6282 <
6283 < # Check whether --enable-doxygen or --disable-doxygen was given.
6284 < if test "${enable_doxygen+set}" = set; then
6285 <  enableval="$enable_doxygen"
6286 <
6287 < fi;
6288 < # Check whether --enable-dot or --disable-dot was given.
6289 < if test "${enable_dot+set}" = set; then
6290 <  enableval="$enable_dot"
6291 <
6292 < fi;
6293 < # Check whether --enable-html-docs or --disable-html-docs was given.
6294 < if test "${enable_html_docs+set}" = set; then
6295 <  enableval="$enable_html_docs"
6296 <
6297 < else
6298 <   enable_html_docs=yes
6299 < fi;
6300 < # Check whether --enable-latex-docs or --disable-latex-docs was given.
6301 < if test "${enable_latex_docs+set}" = set; then
6302 <  enableval="$enable_latex_docs"
6303 <
6304 < else
6305 <   enable_latex_docs=no
6306 < fi;
6307 < if test "x$enable_doxygen" = xno; then
6308 <        enable_doc=no
6309 < else
6310 <        # Extract the first word of "doxygen", so it can be a program name with args.
6311 < set dummy doxygen; ac_word=$2
6312 < echo "$as_me:6312: checking for $ac_word" >&5
6313 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6314 < if test "${ac_cv_path_DOXYGEN+set}" = set; then
6315 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6316 < else
6317 <  case $DOXYGEN in
6318 <  [\\/]* | ?:[\\/]*)
6319 <  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
6320 <  ;;
6321 <  *)
6322 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6323 < ac_dummy="$PATH"
6324 < for ac_dir in $ac_dummy; do
6325 <  IFS=$ac_save_IFS
6326 <  test -z "$ac_dir" && ac_dir=.
6327 <  if $as_executable_p "$ac_dir/$ac_word"; then
6328 <   ac_cv_path_DOXYGEN="$ac_dir/$ac_word"
6329 <   echo "$as_me:6329: found $ac_dir/$ac_word" >&5
6330 <   break
6331 < fi
6332 < done
6333 <
6334 <  ;;
6335 < esac
6336 < fi
6337 < DOXYGEN=$ac_cv_path_DOXYGEN
6338 <
6339 < if test -n "$DOXYGEN"; then
6340 <  echo "$as_me:6340: result: $DOXYGEN" >&5
6341 < echo "${ECHO_T}$DOXYGEN" >&6
6342 < else
6343 <  echo "$as_me:6343: result: no" >&5
6344 < echo "${ECHO_T}no" >&6
6345 < fi
6346 <
6347 <        if test "x$DOXYGEN" = x; then
6348 <                if test "x$enable_doxygen" = xyes; then
6349 <                        { { echo "$as_me:6349: error: could not find doxygen" >&5
6350 < echo "$as_me: error: could not find doxygen" >&2;}
6351 <   { (exit 1); exit 1; }; }
6352 <                fi
6353 <                enable_doc=no
6354 <        else
6355 <                enable_doc=yes
6356 <                # Extract the first word of "dot", so it can be a program name with args.
6357 < set dummy dot; ac_word=$2
6358 < echo "$as_me:6358: checking for $ac_word" >&5
6359 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6360 < if test "${ac_cv_path_DOT+set}" = set; then
6361 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6362 < else
6363 <  case $DOT in
6364 <  [\\/]* | ?:[\\/]*)
6365 <  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
6366 <  ;;
6367 <  *)
6368 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6369 < ac_dummy="$PATH"
6370 < for ac_dir in $ac_dummy; do
6371 <  IFS=$ac_save_IFS
6372 <  test -z "$ac_dir" && ac_dir=.
6373 <  if $as_executable_p "$ac_dir/$ac_word"; then
6374 <   ac_cv_path_DOT="$ac_dir/$ac_word"
6375 <   echo "$as_me:6375: found $ac_dir/$ac_word" >&5
6376 <   break
6377 < fi
6378 < done
6379 <
6380 <  ;;
6381 < esac
6382 < fi
6383 < DOT=$ac_cv_path_DOT
6384 <
6385 < if test -n "$DOT"; then
6386 <  echo "$as_me:6386: result: $DOT" >&5
7929 > if test -n "$DOT"; then
7930 >  echo "$as_me:$LINENO: result: $DOT" >&5
7931   echo "${ECHO_T}$DOT" >&6
7932   else
7933 <  echo "$as_me:6389: result: no" >&5
7933 >  echo "$as_me:$LINENO: result: no" >&5
7934   echo "${ECHO_T}no" >&6
7935   fi
7936  
# Line 6399 | Line 7943 | if test x$DOT = x; then
7943    DOC=0
7944   fi
7945  
7946 +
7947   if test x$DOT = x; then
7948          if test "x$enable_dot" = xyes; then
7949 <                { { echo "$as_me:6404: error: could not find dot" >&5
7949 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
7950   echo "$as_me: error: could not find dot" >&2;}
7951     { (exit 1); exit 1; }; }
7952          fi
# Line 6410 | Line 7955 | OBJEXT=".$OBJEXT"
7955          enable_dot=yes
7956   fi
7957  
7958 +
7959 +
7960 +
7961 +
7962 +
7963 +
7964   OBJEXT=".$OBJEXT"
7965  
7966   OOPSE=oopse
# Line 6450 | Line 8001 | ac_config_headers="$ac_config_headers src/config.h"
8001       ;;
8002   esac
8003  
6453 ac_config_headers="$ac_config_headers src/config.h"
8004  
6455 ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8005  
8006 +
8007 +
8008 +
8009 +
8010 +
8011 +
8012 +
8013 +
8014 +
8015 +
8016 +
8017 +
8018 +
8019 +
8020 +
8021 +          ac_config_headers="$ac_config_headers src/config.h"
8022 +
8023 +                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8024 +
8025 +
8026   cat >confcache <<\_ACEOF
8027   # This file is a shell script that caches the results of configure
8028   # tests run on this system so they can be shared between configure
# Line 6464 | Line 8033 | cat >confcache <<\_ACEOF
8033   # config.status only pays attention to the cache file if you give it
8034   # the --recheck option to rerun configure.
8035   #
8036 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
8036 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
8037   # loading this file, other *unset* `ac_cv_foo' will be assigned the
8038   # following values.
8039  
# Line 6482 | Line 8051 | _ACEOF
8051        # `set' does not quote correctly, so add quotes (double-quote
8052        # substitution turns \\\\ into \\, and sed turns \\ into \).
8053        sed -n \
8054 <        "s/'/'\\\\''/g;
8055 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8054 >        "s/'/'\\\\''/g;
8055 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8056        ;;
8057      *)
8058        # `set' quotes correctly as required by POSIX, so do not add quotes.
8059        sed -n \
8060 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8060 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8061        ;;
8062      esac;
8063   } |
# Line 6499 | Line 8068 | if cmp -s $cache_file confcache; then :; else
8068       t end
8069       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8070       : end' >>confcache
8071 < if cmp -s $cache_file confcache; then :; else
8071 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
8072    if test -w $cache_file; then
8073      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8074      cat confcache >$cache_file
# Line 6518 | Line 8087 | if test "x$srcdir" = x.; then
8087   # trailing colons and then remove the whole line if VPATH becomes empty
8088   # (actually we leave an empty line to preserve line numbers).
8089   if test "x$srcdir" = x.; then
8090 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
8090 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8091   s/:*\$(srcdir):*/:/;
8092   s/:*\${srcdir}:*/:/;
8093   s/:*@srcdir@:*/:/;
8094 < s/^\([^=]*=[    ]*\):*/\1/;
8094 > s/^\([^=]*=[     ]*\):*/\1/;
8095   s/:*$//;
8096 < s/^[^=]*=[      ]*$//;
8096 > s/^[^=]*=[       ]*$//;
8097   }'
8098   fi
8099  
8100   DEFS=-DHAVE_CONFIG_H
8101 +
8102 + ac_libobjs=
8103 + ac_ltlibobjs=
8104 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8105 +  # 1. Remove the extension, and $U if already installed.
8106 +  ac_i=`echo "$ac_i" |
8107 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8108 +  # 2. Add them.
8109 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8110 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8111 + done
8112 + LIBOBJS=$ac_libobjs
8113 +
8114 + LTLIBOBJS=$ac_ltlibobjs
8115  
8116 +
8117 +
8118   : ${CONFIG_STATUS=./config.status}
8119   ac_clean_files_save=$ac_clean_files
8120   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8121 < { echo "$as_me:6536: creating $CONFIG_STATUS" >&5
8121 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8122   echo "$as_me: creating $CONFIG_STATUS" >&6;}
8123   cat >$CONFIG_STATUS <<_ACEOF
8124   #! $SHELL
8125 < # Generated automatically by configure.
8125 > # Generated by $as_me.
8126   # Run this file to recreate the current configuration.
8127   # Compiler output produced by configure, useful for debugging
8128   # configure, is in config.log if it exists.
8129  
8130   debug=false
8131 + ac_cs_recheck=false
8132 + ac_cs_silent=false
8133   SHELL=\${CONFIG_SHELL-$SHELL}
6547 ac_cs_invocation="\$0 \$@"
6548
8134   _ACEOF
8135  
8136   cat >>$CONFIG_STATUS <<\_ACEOF
8137 + ## --------------------- ##
8138 + ## M4sh Initialization.  ##
8139 + ## --------------------- ##
8140 +
8141   # Be Bourne compatible
8142   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8143    emulate sh
8144    NULLCMD=:
8145 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8146 +  # is contrary to our usage.  Disable this feature.
8147 +  alias -g '${1+"$@"}'='"$@"'
8148   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8149    set -o posix
8150   fi
8151 + DUALCASE=1; export DUALCASE # for MKS sh
8152  
8153 + # Support unset when possible.
8154 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8155 +  as_unset=unset
8156 + else
8157 +  as_unset=false
8158 + fi
8159 +
8160 +
8161 + # Work around bugs in pre-3.0 UWIN ksh.
8162 + $as_unset ENV MAIL MAILPATH
8163 + PS1='$ '
8164 + PS2='> '
8165 + PS4='+ '
8166 +
8167 + # NLS nuisances.
8168 + for as_var in \
8169 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8170 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8171 +  LC_TELEPHONE LC_TIME
8172 + do
8173 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8174 +    eval $as_var=C; export $as_var
8175 +  else
8176 +    $as_unset $as_var
8177 +  fi
8178 + done
8179 +
8180 + # Required to use basename.
8181 + if expr a : '\(a\)' >/dev/null 2>&1; then
8182 +  as_expr=expr
8183 + else
8184 +  as_expr=false
8185 + fi
8186 +
8187 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8188 +  as_basename=basename
8189 + else
8190 +  as_basename=false
8191 + fi
8192 +
8193 +
8194   # Name of the executable.
8195 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
8195 > as_me=`$as_basename "$0" ||
8196 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8197 >         X"$0" : 'X\(//\)$' \| \
8198 >         X"$0" : 'X\(/\)$' \| \
8199 >         .     : '\(.\)' 2>/dev/null ||
8200 > echo X/"$0" |
8201 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8202 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
8203 >          /^X\/\(\/\).*/{ s//\1/; q; }
8204 >          s/.*/./; q'`
8205  
8206 +
8207 + # PATH needs CR, and LINENO needs CR and PATH.
8208 + # Avoid depending upon Character Ranges.
8209 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8210 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8211 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8212 + as_cr_digits='0123456789'
8213 + as_cr_alnum=$as_cr_Letters$as_cr_digits
8214 +
8215 + # The user is always right.
8216 + if test "${PATH_SEPARATOR+set}" != set; then
8217 +  echo "#! /bin/sh" >conf$$.sh
8218 +  echo  "exit 0"   >>conf$$.sh
8219 +  chmod +x conf$$.sh
8220 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8221 +    PATH_SEPARATOR=';'
8222 +  else
8223 +    PATH_SEPARATOR=:
8224 +  fi
8225 +  rm -f conf$$.sh
8226 + fi
8227 +
8228 +
8229 +  as_lineno_1=$LINENO
8230 +  as_lineno_2=$LINENO
8231 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8232 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
8233 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8234 +  # Find who we are.  Look in the path if we contain no path at all
8235 +  # relative or not.
8236 +  case $0 in
8237 +    *[\\/]* ) as_myself=$0 ;;
8238 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 + for as_dir in $PATH
8240 + do
8241 +  IFS=$as_save_IFS
8242 +  test -z "$as_dir" && as_dir=.
8243 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8244 + done
8245 +
8246 +       ;;
8247 +  esac
8248 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
8249 +  # in which case we are not to be found in the path.
8250 +  if test "x$as_myself" = x; then
8251 +    as_myself=$0
8252 +  fi
8253 +  if test ! -f "$as_myself"; then
8254 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8255 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8256 +   { (exit 1); exit 1; }; }
8257 +  fi
8258 +  case $CONFIG_SHELL in
8259 +  '')
8260 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8262 + do
8263 +  IFS=$as_save_IFS
8264 +  test -z "$as_dir" && as_dir=.
8265 +  for as_base in sh bash ksh sh5; do
8266 +         case $as_dir in
8267 +         /*)
8268 +           if ("$as_dir/$as_base" -c '
8269 +  as_lineno_1=$LINENO
8270 +  as_lineno_2=$LINENO
8271 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8272 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
8273 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8274 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8275 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8276 +             CONFIG_SHELL=$as_dir/$as_base
8277 +             export CONFIG_SHELL
8278 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8279 +           fi;;
8280 +         esac
8281 +       done
8282 + done
8283 + ;;
8284 +  esac
8285 +
8286 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8287 +  # uniformly replaced by the line number.  The first 'sed' inserts a
8288 +  # line-number line before each line; the second 'sed' does the real
8289 +  # work.  The second script uses 'N' to pair each line-number line
8290 +  # with the numbered line, and appends trailing '-' during
8291 +  # substitution so that $LINENO is not a special case at line end.
8292 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8293 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8294 +  sed '=' <$as_myself |
8295 +    sed '
8296 +      N
8297 +      s,$,-,
8298 +      : loop
8299 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8300 +      t loop
8301 +      s,-$,,
8302 +      s,^['$as_cr_digits']*\n,,
8303 +    ' >$as_me.lineno &&
8304 +  chmod +x $as_me.lineno ||
8305 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8306 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8307 +   { (exit 1); exit 1; }; }
8308 +
8309 +  # Don't try to exec as it changes $[0], causing all sort of problems
8310 +  # (the dirname of $[0] is not the place where we might find the
8311 +  # original and so on.  Autoconf is especially sensible to this).
8312 +  . ./$as_me.lineno
8313 +  # Exit status is that of the last command.
8314 +  exit
8315 + }
8316 +
8317 +
8318 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8319 +  *c*,-n*) ECHO_N= ECHO_C='
8320 + ' ECHO_T='      ' ;;
8321 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8322 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8323 + esac
8324 +
8325   if expr a : '\(a\)' >/dev/null 2>&1; then
8326    as_expr=expr
8327   else
# Line 6584 | Line 8346 | as_executable_p="test -f"
8346   fi
8347   rm -f conf$$ conf$$.exe conf$$.file
8348  
8349 < as_executable_p="test -f"
8350 <
6589 < # Support unset when possible.
6590 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6591 <  as_unset=unset
8349 > if mkdir -p . 2>/dev/null; then
8350 >  as_mkdir_p=:
8351   else
8352 <  as_unset=false
8352 >  test -d ./-p && rmdir ./-p
8353 >  as_mkdir_p=false
8354   fi
8355  
8356 < # NLS nuisances.
6597 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
6598 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
6599 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
6600 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
6601 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
6602 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
6603 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
6604 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
8356 > as_executable_p="test -f"
8357  
8358 + # Sed expression to map a string onto a valid CPP name.
8359 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8360 +
8361 + # Sed expression to map a string onto a valid variable name.
8362 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8363 +
8364 +
8365   # IFS
8366   # We need space, tab and new line, in precisely that order.
8367   as_nl='
# Line 6610 | Line 8369 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
8369   IFS="   $as_nl"
8370  
8371   # CDPATH.
8372 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
8372 > $as_unset CDPATH
8373  
8374   exec 6>&1
8375  
8376 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
8377 + # report actual input values of CONFIG_FILES etc. instead of their
8378 + # values after options handling.  Logging --version etc. is OK.
8379 + exec 5>>config.log
8380 + {
8381 +  echo
8382 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8383 + ## Running $as_me. ##
8384 + _ASBOX
8385 + } >&5
8386 + cat >&5 <<_CSEOF
8387 +
8388 + This file was extended by OOPSE $as_me 2.0, which was
8389 + generated by GNU Autoconf 2.59.  Invocation command line was
8390 +
8391 +  CONFIG_FILES    = $CONFIG_FILES
8392 +  CONFIG_HEADERS  = $CONFIG_HEADERS
8393 +  CONFIG_LINKS    = $CONFIG_LINKS
8394 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
8395 +  $ $0 $@
8396 +
8397 + _CSEOF
8398 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8399 + echo >&5
8400   _ACEOF
8401  
8402   # Files that config.status was made for.
# Line 6633 | Line 8416 | cat >>$CONFIG_STATUS <<\EOF
8416    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8417   fi
8418  
8419 < cat >>$CONFIG_STATUS <<\EOF
8419 > cat >>$CONFIG_STATUS <<\_ACEOF
8420  
8421   ac_cs_usage="\
8422   \`$as_me' instantiates files from templates according to the
# Line 6643 | Line 8426 | Usage: $0 [OPTIONS] [FILE]...
8426  
8427    -h, --help       print this help, then exit
8428    -V, --version    print version number, then exit
8429 +  -q, --quiet      do not print progress messages
8430    -d, --debug      don't remove temporary files
8431        --recheck    update $as_me by reconfiguring in the same conditions
8432    --file=FILE[:TEMPLATE]
8433 <                   instantiate the configuration file FILE
8433 >                   instantiate the configuration file FILE
8434    --header=FILE[:TEMPLATE]
8435 <                   instantiate the configuration header FILE
8435 >                   instantiate the configuration header FILE
8436  
8437   Configuration files:
8438   $config_files
# Line 6660 | Line 8444 | EOF
8444   $config_links
8445  
8446   Report bugs to <bug-autoconf@gnu.org>."
8447 < EOF
8447 > _ACEOF
8448  
8449 < cat >>$CONFIG_STATUS <<EOF
8449 > cat >>$CONFIG_STATUS <<_ACEOF
8450   ac_cs_version="\\
8451   OOPSE config.status 2.0
8452 < configured by $0, generated by GNU Autoconf 2.50,
8452 > configured by $0, generated by GNU Autoconf 2.59,
8453    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8454  
8455 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6672 < Free Software Foundation, Inc.
8455 > Copyright (C) 2003 Free Software Foundation, Inc.
8456   This config.status script is free software; the Free Software Foundation
8457   gives unlimited permission to copy, distribute and modify it."
8458   srcdir=$srcdir
8459   INSTALL="$INSTALL"
8460 < EOF
8460 > _ACEOF
8461  
8462 < cat >>$CONFIG_STATUS <<\EOF
8462 > cat >>$CONFIG_STATUS <<\_ACEOF
8463   # If no file are specified by the user, then we need to provide default
8464   # value.  By we need to know if files were specified by the user.
8465   ac_need_defaults=:
# Line 6686 | Line 8469 | do
8469    --*=*)
8470      ac_option=`expr "x$1" : 'x\([^=]*\)='`
8471      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8472 <    shift
6690 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6691 <    shift
8472 >    ac_shift=:
8473      ;;
8474 <  -*);;
8474 >  -*)
8475 >    ac_option=$1
8476 >    ac_optarg=$2
8477 >    ac_shift=shift
8478 >    ;;
8479    *) # This is not an option, so the user has probably given explicit
8480       # arguments.
8481 +     ac_option=$1
8482       ac_need_defaults=false;;
8483    esac
8484  
8485 <  case $1 in
8485 >  case $ac_option in
8486    # Handling of the options.
8487 < EOF
8488 < cat >>$CONFIG_STATUS <<EOF
8487 > _ACEOF
8488 > cat >>$CONFIG_STATUS <<\_ACEOF
8489    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8490 <    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
6705 <    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
6706 < EOF
6707 < cat >>$CONFIG_STATUS <<\EOF
8490 >    ac_cs_recheck=: ;;
8491    --version | --vers* | -V )
8492      echo "$ac_cs_version"; exit 0 ;;
8493    --he | --h)
8494      # Conflict between --help and --header
8495 <    { { echo "$as_me:6712: error: ambiguous option: $1
8495 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
8496   Try \`$0 --help' for more information." >&5
8497   echo "$as_me: error: ambiguous option: $1
8498   Try \`$0 --help' for more information." >&2;}
# Line 6719 | Line 8502 | Try \`$0 --help' for more information." >&2;}
8502    --debug | --d* | -d )
8503      debug=: ;;
8504    --file | --fil | --fi | --f )
8505 <    shift
8506 <    CONFIG_FILES="$CONFIG_FILES $1"
8505 >    $ac_shift
8506 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8507      ac_need_defaults=false;;
8508    --header | --heade | --head | --hea )
8509 <    shift
8510 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
8509 >    $ac_shift
8510 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8511      ac_need_defaults=false;;
8512 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8513 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8514 +    ac_cs_silent=: ;;
8515  
6730  # Handling of arguments.
6731  'make/Makefile' ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
6732  'src/utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
6733  'src/getopt.h' ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
6734  'src/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
6735
8516    # This is an error.
8517 <  -*) { { echo "$as_me:6737: error: unrecognized option: $1
8517 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8518   Try \`$0 --help' for more information." >&5
8519   echo "$as_me: error: unrecognized option: $1
8520   Try \`$0 --help' for more information." >&2;}
8521     { (exit 1); exit 1; }; } ;;
8522 <  *) { { echo "$as_me:6742: error: invalid argument: $1" >&5
8523 < echo "$as_me: error: invalid argument: $1" >&2;}
8524 <   { (exit 1); exit 1; }; };;
8522 >
8523 >  *) ac_config_targets="$ac_config_targets $1" ;;
8524 >
8525    esac
8526    shift
8527   done
8528  
8529 < exec 5>>config.log
6750 < cat >&5 << _ACEOF
8529 > ac_configure_extra_args=
8530  
8531 < ## ----------------------- ##
8532 < ## Running config.status.  ##
8533 < ## ----------------------- ##
8531 > if $ac_cs_silent; then
8532 >  exec 6>/dev/null
8533 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
8534 > fi
8535  
8536 < This file was extended by $as_me (OOPSE 2.0) 2.50, executed with
8537 <  > $ac_cs_invocation
8538 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
8536 > _ACEOF
8537 > cat >>$CONFIG_STATUS <<_ACEOF
8538 > if \$ac_cs_recheck; then
8539 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8540 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8541 > fi
8542  
8543   _ACEOF
6761 EOF
8544  
8545 < cat >>$CONFIG_STATUS <<\EOF
8545 >
8546 >
8547 >
8548 >
8549 > cat >>$CONFIG_STATUS <<\_ACEOF
8550 > for ac_config_target in $ac_config_targets
8551 > do
8552 >  case "$ac_config_target" in
8553 >  # Handling of arguments.
8554 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8555 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
8556 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
8557 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8558 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8559 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8560 >   { (exit 1); exit 1; }; };;
8561 >  esac
8562 > done
8563 >
8564   # If the user did not use the arguments to specify the items to instantiate,
8565   # then the envvar interface is used.  Set only those that are not.
8566   # We use the long form for the default assignment because of an extremely
# Line 6771 | Line 8571 | fi
8571    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
8572   fi
8573  
8574 + # Have a temporary directory for convenience.  Make it in the build tree
8575 + # simply because there is no reason to put it here, and in addition,
8576 + # creating and moving files from /tmp can sometimes cause problems.
8577   # Create a temporary directory, and hook for its removal unless debugging.
8578   $debug ||
8579   {
8580    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8581 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
8581 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
8582   }
8583  
8584   # Create a (secure) tmp directory for tmp files.
8585 < : ${TMPDIR=/tmp}
8585 >
8586   {
8587 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
8587 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8588    test -n "$tmp" && test -d "$tmp"
8589   }  ||
8590   {
8591 <  tmp=$TMPDIR/cs$$-$RANDOM
8591 >  tmp=./confstat$$-$RANDOM
8592    (umask 077 && mkdir $tmp)
8593   } ||
8594   {
8595 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
8595 >   echo "$me: cannot create a temporary directory in ." >&2
8596     { (exit 1); exit 1; }
8597   }
8598  
8599 < EOF
8599 > _ACEOF
8600  
8601 < cat >>$CONFIG_STATUS <<EOF
8601 > cat >>$CONFIG_STATUS <<_ACEOF
8602  
8603   #
8604   # CONFIG_FILES section.
# Line 6808 | Line 8611 | s,@exec_prefix@,$exec_prefix,;t t
8611    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8612     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8613   s,@SHELL@,$SHELL,;t t
8614 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8615 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8616 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8617 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8618 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8619 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8620   s,@exec_prefix@,$exec_prefix,;t t
8621   s,@prefix@,$prefix,;t t
8622   s,@program_transform_name@,$program_transform_name,;t t
# Line 6823 | Line 8632 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8632   s,@oldincludedir@,$oldincludedir,;t t
8633   s,@infodir@,$infodir,;t t
8634   s,@mandir@,$mandir,;t t
8635 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8636 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8637 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8638 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6830 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8635 > s,@build_alias@,$build_alias,;t t
8636 > s,@host_alias@,$host_alias,;t t
8637 > s,@target_alias@,$target_alias,;t t
8638 > s,@DEFS@,$DEFS,;t t
8639   s,@ECHO_C@,$ECHO_C,;t t
8640   s,@ECHO_N@,$ECHO_N,;t t
8641   s,@ECHO_T@,$ECHO_T,;t t
6834 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6835 s,@DEFS@,$DEFS,;t t
8642   s,@LIBS@,$LIBS,;t t
8643   s,@PROGNAME@,$PROGNAME,;t t
8644   s,@debug@,$debug,;t t
# Line 6870 | Line 8676 | s,@LIBOBJS@,$LIBOBJS,;t t
8676   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
8677   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
8678   s,@CPP@,$CPP,;t t
8679 + s,@EGREP@,$EGREP,;t t
8680   s,@LIBOBJS@,$LIBOBJS,;t t
8681   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8682   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 6890 | Line 8697 | s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
8697   s,@MPI_LIB@,$MPI_LIB,;t t
8698   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
8699   s,@USE_MPI@,$USE_MPI,;t t
6893 s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
6894 s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
6895 s,@SPRNG_LIB@,$SPRNG_LIB,;t t
6896 s,@USE_SPRNG@,$USE_SPRNG,;t t
6897 s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
6898 s,@MKL_LIB@,$MKL_LIB,;t t
6899 s,@MKL_INC@,$MKL_INC,;t t
6900 s,@HAVE_MKL@,$HAVE_MKL,;t t
8700   s,@DOXYGEN@,$DOXYGEN,;t t
8701   s,@DOT@,$DOT,;t t
8702   s,@DOC@,$DOC,;t t
# Line 6910 | Line 8709 | CEOF
8709   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
8710   s,@SUBDIRS@,$SUBDIRS,;t t
8711   s,@FFLAGS@,$FFLAGS,;t t
8712 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8713   CEOF
8714  
8715 < EOF
8715 > _ACEOF
8716  
8717 <  cat >>$CONFIG_STATUS <<\EOF
8717 >  cat >>$CONFIG_STATUS <<\_ACEOF
8718    # Split the substitutions into bite-sized pieces for seds with
8719    # small command number limits, like on Digital OSF/1 and HP-UX.
8720    ac_max_sed_lines=48
# Line 6939 | Line 8739 | EOF
8739        (echo ':t
8740    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8741        if test -z "$ac_sed_cmds"; then
8742 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8742 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8743        else
8744 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8744 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8745        fi
8746        ac_sed_frag=`expr $ac_sed_frag + 1`
8747        ac_beg=$ac_end
# Line 6953 | Line 8753 | EOF
8753    fi
8754   fi # test -n "$CONFIG_FILES"
8755  
8756 < EOF
8757 < cat >>$CONFIG_STATUS <<\EOF
8756 > _ACEOF
8757 > cat >>$CONFIG_STATUS <<\_ACEOF
8758   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8759    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8760    case $ac_file in
8761    - | *:- | *:-:* ) # input from stdin
8762 <        cat >$tmp/stdin
8763 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8764 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8762 >        cat >$tmp/stdin
8763 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8764 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8765    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8766 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8766 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8767    * )   ac_file_in=$ac_file.in ;;
8768    esac
8769  
8770    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8771 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8772 <         X"$ac_file" : 'X\(//\)[^/]' \| \
8773 <         X"$ac_file" : 'X\(//\)$' \| \
8774 <         X"$ac_file" : 'X\(/\)' \| \
8775 <         .     : '\(.\)' 2>/dev/null ||
8771 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8772 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8773 >         X"$ac_file" : 'X\(//\)[^/]' \| \
8774 >         X"$ac_file" : 'X\(//\)$' \| \
8775 >         X"$ac_file" : 'X\(/\)' \| \
8776 >         .     : '\(.\)' 2>/dev/null ||
8777   echo X"$ac_file" |
8778      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8779            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8780            /^X\(\/\/\)$/{ s//\1/; q; }
8781            /^X\(\/\).*/{ s//\1/; q; }
8782            s/.*/./; q'`
8783 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
8784 <    { case "$ac_dir" in
6984 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6985 <  *)                      as_incr_dir=.;;
6986 < esac
6987 < as_dummy="$ac_dir"
6988 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6989 <  case $as_mkdir_dir in
6990 <    # Skip DOS drivespec
6991 <    ?:) as_incr_dir=$as_mkdir_dir ;;
6992 <    *)
6993 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
6994 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6995 <    ;;
6996 <  esac
6997 < done; }
6998 <
6999 <    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
7000 <    # A "../" for each directory in $ac_dir_suffix.
7001 <    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
8783 >  { if $as_mkdir_p; then
8784 >    mkdir -p "$ac_dir"
8785    else
8786 <    ac_dir_suffix= ac_dots=
8787 <  fi
8788 <
8789 <  case $srcdir in
8790 <  .)  ac_srcdir=.
8791 <      if test -z "$ac_dots"; then
8792 <         ac_top_srcdir=.
8793 <      else
8794 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
8795 <      fi ;;
8796 <  [\\/]* | ?:[\\/]* )
8797 <      ac_srcdir=$srcdir$ac_dir_suffix;
8798 <      ac_top_srcdir=$srcdir ;;
8786 >    as_dir="$ac_dir"
8787 >    as_dirs=
8788 >    while test ! -d "$as_dir"; do
8789 >      as_dirs="$as_dir $as_dirs"
8790 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8791 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8792 >         X"$as_dir" : 'X\(//\)[^/]' \| \
8793 >         X"$as_dir" : 'X\(//\)$' \| \
8794 >         X"$as_dir" : 'X\(/\)' \| \
8795 >         .     : '\(.\)' 2>/dev/null ||
8796 > echo X"$as_dir" |
8797 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8798 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8799 >          /^X\(\/\/\)$/{ s//\1/; q; }
8800 >          /^X\(\/\).*/{ s//\1/; q; }
8801 >          s/.*/./; q'`
8802 >    done
8803 >    test ! -n "$as_dirs" || mkdir $as_dirs
8804 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8805 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8806 >   { (exit 1); exit 1; }; }; }
8807 >
8808 >  ac_builddir=.
8809 >
8810 > if test "$ac_dir" != .; then
8811 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8812 >  # A "../" for each directory in $ac_dir_suffix.
8813 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8814 > else
8815 >  ac_dir_suffix= ac_top_builddir=
8816 > fi
8817 >
8818 > case $srcdir in
8819 >  .)  # No --srcdir option.  We are building in place.
8820 >    ac_srcdir=.
8821 >    if test -z "$ac_top_builddir"; then
8822 >       ac_top_srcdir=.
8823 >    else
8824 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8825 >    fi ;;
8826 >  [\\/]* | ?:[\\/]* )  # Absolute path.
8827 >    ac_srcdir=$srcdir$ac_dir_suffix;
8828 >    ac_top_srcdir=$srcdir ;;
8829    *) # Relative path.
8830 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
8831 <    ac_top_srcdir=$ac_dots$srcdir ;;
8832 <  esac
8830 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8831 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8832 > esac
8833  
8834 + # Do not use `cd foo && pwd` to compute absolute paths, because
8835 + # the directories may not exist.
8836 + case `pwd` in
8837 + .) ac_abs_builddir="$ac_dir";;
8838 + *)
8839 +  case "$ac_dir" in
8840 +  .) ac_abs_builddir=`pwd`;;
8841 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8842 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8843 +  esac;;
8844 + esac
8845 + case $ac_abs_builddir in
8846 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
8847 + *)
8848 +  case ${ac_top_builddir}. in
8849 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
8850 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8851 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8852 +  esac;;
8853 + esac
8854 + case $ac_abs_builddir in
8855 + .) ac_abs_srcdir=$ac_srcdir;;
8856 + *)
8857 +  case $ac_srcdir in
8858 +  .) ac_abs_srcdir=$ac_abs_builddir;;
8859 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8860 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8861 +  esac;;
8862 + esac
8863 + case $ac_abs_builddir in
8864 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
8865 + *)
8866 +  case $ac_top_srcdir in
8867 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8868 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8869 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8870 +  esac;;
8871 + esac
8872 +
8873 +
8874    case $INSTALL in
8875    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8876 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
8876 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8877    esac
8878  
8879    if test x"$ac_file" != x-; then
8880 <    { echo "$as_me:7027: creating $ac_file" >&5
8880 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
8881   echo "$as_me: creating $ac_file" >&6;}
8882      rm -f "$ac_file"
8883    fi
8884    # Let's still pretend it is `configure' which instantiates (i.e., don't
8885    # use $as_me), people would be surprised to read:
8886 <  #    /* config.h.  Generated automatically by config.status.  */
8887 <  configure_input="Generated automatically from `echo $ac_file_in |
8888 <                                                 sed 's,.*/,,'` by configure."
8886 >  #    /* config.h.  Generated by config.status.  */
8887 >  if test x"$ac_file" = x-; then
8888 >    configure_input=
8889 >  else
8890 >    configure_input="$ac_file.  "
8891 >  fi
8892 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
8893 >                                     sed 's,.*/,,'` by configure."
8894  
8895    # First look for the input files in the build tree, otherwise in the
8896    # src tree.
# Line 7041 | Line 8899 | echo "$as_me: creating $ac_file" >&6;}
8899        case $f in
8900        -) echo $tmp/stdin ;;
8901        [\\/$]*)
8902 <         # Absolute (can't be DOS-style, as IFS=:)
8903 <         test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5
8902 >         # Absolute (can't be DOS-style, as IFS=:)
8903 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8904   echo "$as_me: error: cannot find input file: $f" >&2;}
8905     { (exit 1); exit 1; }; }
8906 <         echo $f;;
8906 >         echo "$f";;
8907        *) # Relative
8908 <         if test -f "$f"; then
8909 <           # Build tree
8910 <           echo $f
8911 <         elif test -f "$srcdir/$f"; then
8912 <           # Source tree
8913 <           echo $srcdir/$f
8914 <         else
8915 <           # /dev/null tree
8916 <           { { echo "$as_me:7058: error: cannot find input file: $f" >&5
8908 >         if test -f "$f"; then
8909 >           # Build tree
8910 >           echo "$f"
8911 >         elif test -f "$srcdir/$f"; then
8912 >           # Source tree
8913 >           echo "$srcdir/$f"
8914 >         else
8915 >           # /dev/null tree
8916 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8917   echo "$as_me: error: cannot find input file: $f" >&2;}
8918     { (exit 1); exit 1; }; }
8919 <         fi;;
8919 >         fi;;
8920        esac
8921      done` || { (exit 1); exit 1; }
8922 < EOF
8923 < cat >>$CONFIG_STATUS <<EOF
8922 > _ACEOF
8923 > cat >>$CONFIG_STATUS <<_ACEOF
8924    sed "$ac_vpsub
8925   $extrasub
8926 < EOF
8927 < cat >>$CONFIG_STATUS <<\EOF
8926 > _ACEOF
8927 > cat >>$CONFIG_STATUS <<\_ACEOF
8928   :t
8929   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8930   s,@configure_input@,$configure_input,;t t
8931   s,@srcdir@,$ac_srcdir,;t t
8932 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
8933   s,@top_srcdir@,$ac_top_srcdir,;t t
8934 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8935 + s,@builddir@,$ac_builddir,;t t
8936 + s,@abs_builddir@,$ac_abs_builddir,;t t
8937 + s,@top_builddir@,$ac_top_builddir,;t t
8938 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8939   s,@INSTALL@,$ac_INSTALL,;t t
8940   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8941    rm -f $tmp/stdin
# Line 7083 | Line 8947 | EOF
8947    fi
8948  
8949   done
8950 < EOF
8951 < cat >>$CONFIG_STATUS <<\EOF
8950 > _ACEOF
8951 > cat >>$CONFIG_STATUS <<\_ACEOF
8952  
8953   #
8954   # CONFIG_HEADER section.
# Line 7094 | Line 8958 | ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
8958   # NAME is the cpp macro being defined and VALUE is the value it is being given.
8959   #
8960   # ac_d sets the value in "#define NAME VALUE" lines.
8961 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
8962 < ac_dB='[        ].*$,\1#\2'
8961 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
8962 > ac_dB='[         ].*$,\1#\2'
8963   ac_dC=' '
8964   ac_dD=',;t'
8965   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8966 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8966 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8967   ac_uB='$,\1#\2define\3'
8968   ac_uC=' '
8969   ac_uD=',;t'
# Line 7108 | Line 8972 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
8972    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8973    case $ac_file in
8974    - | *:- | *:-:* ) # input from stdin
8975 <        cat >$tmp/stdin
8976 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8977 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8975 >        cat >$tmp/stdin
8976 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8977 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8978    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8979 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8979 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8980    * )   ac_file_in=$ac_file.in ;;
8981    esac
8982  
8983 <  test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5
8983 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8984   echo "$as_me: creating $ac_file" >&6;}
8985  
8986    # First look for the input files in the build tree, otherwise in the
# Line 7126 | Line 8990 | echo "$as_me: creating $ac_file" >&6;}
8990        case $f in
8991        -) echo $tmp/stdin ;;
8992        [\\/$]*)
8993 <         # Absolute (can't be DOS-style, as IFS=:)
8994 <         test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5
8993 >         # Absolute (can't be DOS-style, as IFS=:)
8994 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8995   echo "$as_me: error: cannot find input file: $f" >&2;}
8996     { (exit 1); exit 1; }; }
8997 <         echo $f;;
8997 >         # Do quote $f, to prevent DOS paths from being IFS'd.
8998 >         echo "$f";;
8999        *) # Relative
9000 <         if test -f "$f"; then
9001 <           # Build tree
9002 <           echo $f
9003 <         elif test -f "$srcdir/$f"; then
9004 <           # Source tree
9005 <           echo $srcdir/$f
9006 <         else
9007 <           # /dev/null tree
9008 <           { { echo "$as_me:7143: error: cannot find input file: $f" >&5
9000 >         if test -f "$f"; then
9001 >           # Build tree
9002 >           echo "$f"
9003 >         elif test -f "$srcdir/$f"; then
9004 >           # Source tree
9005 >           echo "$srcdir/$f"
9006 >         else
9007 >           # /dev/null tree
9008 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9009   echo "$as_me: error: cannot find input file: $f" >&2;}
9010     { (exit 1); exit 1; }; }
9011 <         fi;;
9011 >         fi;;
9012        esac
9013      done` || { (exit 1); exit 1; }
9014    # Remove the trailing spaces.
9015 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
9015 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
9016  
9017 < EOF
9017 > _ACEOF
9018  
9019   # Transform confdefs.h into two sed scripts, `conftest.defines' and
9020   # `conftest.undefs', that substitutes the proper values into
# Line 7165 | Line 9030 | cat >confdef2sed.sed <<\EOF
9030   # `end' is used to avoid that the second main sed command (meant for
9031   # 0-ary CPP macros) applies to n-ary macro definitions.
9032   # See the Autoconf documentation for `clear'.
9033 < cat >confdef2sed.sed <<\EOF
9033 > cat >confdef2sed.sed <<\_ACEOF
9034   s/[\\&,]/\\&/g
9035   s,[\\$`],\\&,g
9036   t clear
9037   : clear
9038 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
9038 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9039   t end
9040 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9040 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9041   : end
9042 < EOF
9042 > _ACEOF
9043   # If some macros were called several times there might be several times
9044   # the same #defines, which is useless.  Nevertheless, we may not want to
9045   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 7185 | Line 9050 | cat >>conftest.undefs <<\EOF
9050   # This sed command replaces #undef with comments.  This is necessary, for
9051   # example, in the case of _POSIX_SOURCE, which is predefined and required
9052   # on some systems where configure will not decide to define it.
9053 < cat >>conftest.undefs <<\EOF
9054 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9055 < EOF
9053 > cat >>conftest.undefs <<\_ACEOF
9054 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9055 > _ACEOF
9056  
9057   # Break up conftest.defines because some shells have a limit on the size
9058   # of here documents, and old seds have small limits too (100 cmds).
9059   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9060 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9060 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9061   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9062   echo '  :' >>$CONFIG_STATUS
9063   rm -f conftest.tail
# Line 7201 | Line 9066 | do
9066    # Write a limited-size here document to $tmp/defines.sed.
9067    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9068    # Speed up: don't consider the non `#define' lines.
9069 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
9069 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
9070    # Work around the forget-to-reset-the-flag bug.
9071    echo 't clr' >>$CONFIG_STATUS
9072    echo ': clr' >>$CONFIG_STATUS
# Line 7216 | Line 9081 | echo '  fi # egrep' >>$CONFIG_STATUS
9081    mv conftest.tail conftest.defines
9082   done
9083   rm -f conftest.defines
9084 < echo '  fi # egrep' >>$CONFIG_STATUS
9084 > echo '  fi # grep' >>$CONFIG_STATUS
9085   echo >>$CONFIG_STATUS
9086  
9087   # Break up conftest.undefs because some shells have a limit on the size
# Line 7228 | Line 9093 | do
9093    # Write a limited-size here document to $tmp/undefs.sed.
9094    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9095    # Speed up: don't consider the non `#undef'
9096 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9096 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9097    # Work around the forget-to-reset-the-flag bug.
9098    echo 't clr' >>$CONFIG_STATUS
9099    echo ': clr' >>$CONFIG_STATUS
# Line 7244 | Line 9109 | cat >>$CONFIG_STATUS <<\EOF
9109   done
9110   rm -f conftest.undefs
9111  
9112 < cat >>$CONFIG_STATUS <<\EOF
9112 > cat >>$CONFIG_STATUS <<\_ACEOF
9113    # Let's still pretend it is `configure' which instantiates (i.e., don't
9114    # use $as_me), people would be surprised to read:
9115 <  #    /* config.h.  Generated automatically by config.status.  */
9115 >  #    /* config.h.  Generated by config.status.  */
9116    if test x"$ac_file" = x-; then
9117 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
9117 >    echo "/* Generated by configure.  */" >$tmp/config.h
9118    else
9119 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
9119 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9120    fi
9121    cat $tmp/in >>$tmp/config.h
9122    rm -f $tmp/in
9123    if test x"$ac_file" != x-; then
9124 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
9125 <      { echo "$as_me:7260: $ac_file is unchanged" >&5
9124 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9125 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9126   echo "$as_me: $ac_file is unchanged" >&6;}
9127      else
9128 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9129 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9130 <         X"$ac_file" : 'X\(//\)$' \| \
9131 <         X"$ac_file" : 'X\(/\)' \| \
9132 <         .     : '\(.\)' 2>/dev/null ||
9128 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9129 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9130 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9131 >         X"$ac_file" : 'X\(//\)$' \| \
9132 >         X"$ac_file" : 'X\(/\)' \| \
9133 >         .     : '\(.\)' 2>/dev/null ||
9134   echo X"$ac_file" |
9135      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9136            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9137            /^X\(\/\/\)$/{ s//\1/; q; }
9138            /^X\(\/\).*/{ s//\1/; q; }
9139            s/.*/./; q'`
9140 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
9141 <        { case "$ac_dir" in
9142 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9143 <  *)                      as_incr_dir=.;;
9144 < esac
9145 < as_dummy="$ac_dir"
9146 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9147 <  case $as_mkdir_dir in
9148 <    # Skip DOS drivespec
9149 <    ?:) as_incr_dir=$as_mkdir_dir ;;
9150 <    *)
9151 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
9152 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
9153 <    ;;
9154 <  esac
9155 < done; }
9140 >      { if $as_mkdir_p; then
9141 >    mkdir -p "$ac_dir"
9142 >  else
9143 >    as_dir="$ac_dir"
9144 >    as_dirs=
9145 >    while test ! -d "$as_dir"; do
9146 >      as_dirs="$as_dir $as_dirs"
9147 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9148 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9149 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9150 >         X"$as_dir" : 'X\(//\)$' \| \
9151 >         X"$as_dir" : 'X\(/\)' \| \
9152 >         .     : '\(.\)' 2>/dev/null ||
9153 > echo X"$as_dir" |
9154 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9155 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9156 >          /^X\(\/\/\)$/{ s//\1/; q; }
9157 >          /^X\(\/\).*/{ s//\1/; q; }
9158 >          s/.*/./; q'`
9159 >    done
9160 >    test ! -n "$as_dirs" || mkdir $as_dirs
9161 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9162 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9163 >   { (exit 1); exit 1; }; }; }
9164  
7291      fi
9165        rm -f $ac_file
9166        mv $tmp/config.h $ac_file
9167      fi
# Line 7297 | Line 9170 | EOF
9170      rm -f $tmp/config.h
9171    fi
9172   done
9173 < EOF
9174 < cat >>$CONFIG_STATUS <<\EOF
9173 > _ACEOF
9174 > cat >>$CONFIG_STATUS <<\_ACEOF
9175  
9176   #
9177   # CONFIG_LINKS section.
# Line 7308 | Line 9181 | for ac_file in : $CONFIG_LINKS; do test "x$ac_file" =
9181    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9182    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9183  
9184 <  { echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5
9184 >  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
9185   echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
9186  
9187    if test ! -r $srcdir/$ac_source; then
9188 <    { { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5
9189 < echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
9188 >    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
9189 > echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
9190     { (exit 1); exit 1; }; }
9191    fi
9192    rm -f $ac_dest
9193  
9194    # Make relative symlinks.
9195 <  ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9196 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
9197 <         X"$ac_dest" : 'X\(//\)$' \| \
9198 <         X"$ac_dest" : 'X\(/\)' \| \
9199 <         .     : '\(.\)' 2>/dev/null ||
9195 >  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
9196 > $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9197 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
9198 >         X"$ac_dest" : 'X\(//\)$' \| \
9199 >         X"$ac_dest" : 'X\(/\)' \| \
9200 >         .     : '\(.\)' 2>/dev/null ||
9201   echo X"$ac_dest" |
9202      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9203            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9204            /^X\(\/\/\)$/{ s//\1/; q; }
9205            /^X\(\/\).*/{ s//\1/; q; }
9206            s/.*/./; q'`
9207 <  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
9208 <    { case "$ac_dest_dir" in
9209 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9210 <  *)                      as_incr_dir=.;;
9207 >  { if $as_mkdir_p; then
9208 >    mkdir -p "$ac_dest_dir"
9209 >  else
9210 >    as_dir="$ac_dest_dir"
9211 >    as_dirs=
9212 >    while test ! -d "$as_dir"; do
9213 >      as_dirs="$as_dir $as_dirs"
9214 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9215 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9216 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9217 >         X"$as_dir" : 'X\(//\)$' \| \
9218 >         X"$as_dir" : 'X\(/\)' \| \
9219 >         .     : '\(.\)' 2>/dev/null ||
9220 > echo X"$as_dir" |
9221 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9222 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9223 >          /^X\(\/\/\)$/{ s//\1/; q; }
9224 >          /^X\(\/\).*/{ s//\1/; q; }
9225 >          s/.*/./; q'`
9226 >    done
9227 >    test ! -n "$as_dirs" || mkdir $as_dirs
9228 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
9229 > echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
9230 >   { (exit 1); exit 1; }; }; }
9231 >
9232 >  ac_builddir=.
9233 >
9234 > if test "$ac_dest_dir" != .; then
9235 >  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
9236 >  # A "../" for each directory in $ac_dir_suffix.
9237 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9238 > else
9239 >  ac_dir_suffix= ac_top_builddir=
9240 > fi
9241 >
9242 > case $srcdir in
9243 >  .)  # No --srcdir option.  We are building in place.
9244 >    ac_srcdir=.
9245 >    if test -z "$ac_top_builddir"; then
9246 >       ac_top_srcdir=.
9247 >    else
9248 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9249 >    fi ;;
9250 >  [\\/]* | ?:[\\/]* )  # Absolute path.
9251 >    ac_srcdir=$srcdir$ac_dir_suffix;
9252 >    ac_top_srcdir=$srcdir ;;
9253 >  *) # Relative path.
9254 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9255 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9256   esac
7338 as_dummy="$ac_dest_dir"
7339 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7340  case $as_mkdir_dir in
7341    # Skip DOS drivespec
7342    ?:) as_incr_dir=$as_mkdir_dir ;;
7343    *)
7344      as_incr_dir=$as_incr_dir/$as_mkdir_dir
7345      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7346    ;;
7347  esac
7348 done; }
9257  
9258 <    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
9259 <    # A "../" for each directory in $ac_dest_dir_suffix.
9260 <    ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
9261 <  else
9262 <    ac_dest_dir_suffix= ac_dots=
9263 <  fi
9258 > # Do not use `cd foo && pwd` to compute absolute paths, because
9259 > # the directories may not exist.
9260 > case `pwd` in
9261 > .) ac_abs_builddir="$ac_dest_dir";;
9262 > *)
9263 >  case "$ac_dest_dir" in
9264 >  .) ac_abs_builddir=`pwd`;;
9265 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
9266 >  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
9267 >  esac;;
9268 > esac
9269 > case $ac_abs_builddir in
9270 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
9271 > *)
9272 >  case ${ac_top_builddir}. in
9273 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
9274 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9275 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9276 >  esac;;
9277 > esac
9278 > case $ac_abs_builddir in
9279 > .) ac_abs_srcdir=$ac_srcdir;;
9280 > *)
9281 >  case $ac_srcdir in
9282 >  .) ac_abs_srcdir=$ac_abs_builddir;;
9283 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9284 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9285 >  esac;;
9286 > esac
9287 > case $ac_abs_builddir in
9288 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
9289 > *)
9290 >  case $ac_top_srcdir in
9291 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9292 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9293 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9294 >  esac;;
9295 > esac
9296  
9297 +
9298    case $srcdir in
9299    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
9300 <      *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
9300 >      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
9301    esac
9302  
9303 <  # Make a symlink if possible; otherwise try a hard link.
9303 >  # Try a symlink, then a hard link, then a copy.
9304    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
9305 <    ln $srcdir/$ac_source $ac_dest ||
9306 <    { { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
9307 < echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
9305 >    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
9306 >    cp -p $srcdir/$ac_source $ac_dest ||
9307 >    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
9308 > echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
9309     { (exit 1); exit 1; }; }
9310   done
9311 < EOF
9311 > _ACEOF
9312  
9313 < cat >>$CONFIG_STATUS <<\EOF
9313 > cat >>$CONFIG_STATUS <<\_ACEOF
9314  
9315   { (exit 0); exit 0; }
9316 < EOF
9316 > _ACEOF
9317   chmod +x $CONFIG_STATUS
9318   ac_clean_files=$ac_clean_files_save
9319  
9320 +
9321   # configure is writing to config.log, and then calls config.status.
9322   # config.status does its own redirection, appending to config.log.
9323   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 7385 | Line 9328 | if test "$no_create" != yes; then
9328   # need to make the FD available again.
9329   if test "$no_create" != yes; then
9330    ac_cs_success=:
9331 +  ac_config_status_args=
9332 +  test "$silent" = yes &&
9333 +    ac_config_status_args="$ac_config_status_args --quiet"
9334    exec 5>/dev/null
9335 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
9335 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9336    exec 5>>config.log
9337    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9338    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines